not-bulma 2.0.17 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-bulma",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "description": "not-* family UI components on Bulma CSS Framework",
5
5
  "main": "src/index.js",
6
6
  "svelte": "src/index.js",
@@ -18,6 +18,7 @@
18
18
  centered = false,
19
19
  right = false,
20
20
  joined = true,
21
+ size = "",
21
22
  } = $props();
22
23
 
23
24
  if (!values.every((itm) => Object.hasOwn(itm, "id"))) {
@@ -41,7 +42,7 @@
41
42
  <div
42
43
  class="buttons {centered ? 'is-centered' : ''} {right
43
44
  ? 'is-right'
44
- : ''} {classes}"
45
+ : ''} {classes} {size ? 'are-' + size : ''}"
45
46
  >
46
47
  {#each values as item (item.id)}
47
48
  <UILink {...item} />
@@ -9,8 +9,6 @@
9
9
  import UITitle from "../various/ui.title.svelte";
10
10
  import UIButtonsRow from "../button/ui.buttons.row.svelte";
11
11
 
12
-
13
-
14
12
  /**
15
13
  * @typedef {Object} Props
16
14
  * @property {string} [buttonsPosition]
@@ -39,10 +37,10 @@
39
37
  title = "Modal window",
40
38
  subtitle = "",
41
39
  classes = "",
42
- overlayClasses = "",
40
+ overlayClasses = "modal-selector",
43
41
  buttonsClasses = "",
44
42
  WAITING_TEXT = "Обработка",
45
- children
43
+ children,
46
44
  } = $props();
47
45
  </script>
48
46
 
@@ -30,7 +30,7 @@
30
30
  {/snippet}
31
31
 
32
32
  <div class="loader-wrapper">
33
- {@render children()}
33
+ {@render children?.()}
34
34
  {#if showWhenSizeIs.includes(size) && loading}
35
35
  <div class={`${size}loader is-active ${classes}`}>
36
36
  {#if loaderContent}
@@ -1,6 +1,6 @@
1
1
  .modal-selector.box {
2
2
  margin: 5vh auto auto auto;
3
- max-height: 90vh;
3
+ max-height: 100vh;
4
4
 
5
5
  &.fullscreen {
6
6
  width: 100vw;