@budibase/bbui 2.29.25 → 2.29.26

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "2.29.25",
4
+ "version": "2.29.26",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.js",
7
7
  "module": "dist/bbui.es.js",
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@adobe/spectrum-css-workflow-icons": "1.2.1",
38
- "@budibase/shared-core": "2.29.25",
39
- "@budibase/string-templates": "2.29.25",
38
+ "@budibase/shared-core": "2.29.26",
39
+ "@budibase/string-templates": "2.29.26",
40
40
  "@spectrum-css/accordion": "3.0.24",
41
41
  "@spectrum-css/actionbutton": "1.0.1",
42
42
  "@spectrum-css/actiongroup": "1.0.1",
@@ -103,5 +103,5 @@
103
103
  }
104
104
  }
105
105
  },
106
- "gitHead": "37355491d0c91b5b9e0826e77a2265f27dba33f8"
106
+ "gitHead": "ad792906287ae2fd32fe1c24369d9a25dbdebd64"
107
107
  }
@@ -36,9 +36,11 @@
36
36
  <use xlink:href="#spectrum-icon-18-{icon}" />
37
37
  </svg>
38
38
  <div class="spectrum-InLineAlert-header">{header}</div>
39
- {#each split as splitMsg}
40
- <div class="spectrum-InLineAlert-content">{splitMsg}</div>
41
- {/each}
39
+ <slot>
40
+ {#each split as splitMsg}
41
+ <div class="spectrum-InLineAlert-content">{splitMsg}</div>
42
+ {/each}
43
+ </slot>
42
44
  {#if onConfirm}
43
45
  <div class="spectrum-InLineAlert-footer button">
44
46
  <Button {cta} secondary={cta ? false : true} on:click={onConfirm}
@@ -30,7 +30,7 @@
30
30
  class:custom={!!color}
31
31
  class:square
32
32
  class:hoverable
33
- style={`--color: ${color};`}
33
+ style={`--color: ${color ?? "var(--spectrum-global-color-gray-400)"};`}
34
34
  class:spectrum-StatusLight--celery={celery}
35
35
  class:spectrum-StatusLight--yellow={yellow}
36
36
  class:spectrum-StatusLight--fuchsia={fuchsia}
@@ -61,13 +61,17 @@
61
61
  min-height: 0;
62
62
  padding-top: 0;
63
63
  padding-bottom: 0;
64
- transition: color ease-out 130ms;
65
64
  }
66
65
  .spectrum-StatusLight.withText::before {
67
66
  margin-right: 10px;
68
67
  }
68
+
69
+ .spectrum-StatusLight::before {
70
+ transition: background-color ease-out 160ms;
71
+ }
72
+
69
73
  .custom::before {
70
- background: var(--color) !important;
74
+ background-color: var(--color) !important;
71
75
  }
72
76
  .square::before {
73
77
  width: 14px;
@@ -79,4 +83,14 @@
79
83
  cursor: pointer;
80
84
  color: var(--spectrum-global-color-gray-900);
81
85
  }
86
+
87
+ .spectrum-StatusLight--sizeXS::before {
88
+ width: 10px;
89
+ height: 10px;
90
+ border-radius: 2px;
91
+ }
92
+
93
+ .spectrum-StatusLight--disabled::before {
94
+ background-color: var(--spectrum-global-color-gray-400) !important;
95
+ }
82
96
  </style>