@eightshift/ui-components 8.4.1 → 8.5.0
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/README.md +11 -1
- package/dist/assets/fonts-manifest.json +66 -0
- package/dist/assets/style-admin-no-fonts.css +2 -0
- package/dist/assets/style-admin.css +1 -1
- package/dist/assets/style-editor-no-fonts.css +2 -0
- package/dist/assets/style-editor.css +1 -1
- package/dist/assets/style-no-fonts.css +2 -0
- package/dist/assets/style.css +1 -1
- package/dist/{button-NgEJ1eT2.js → button-CCtgOh0o.js} +57 -57
- package/dist/{checkbox-DfZDR444.js → checkbox-d1lNvf65.js} +6 -6
- package/dist/{color-swatch-CEYPwPsn.js → color-swatch-BstCWUIZ.js} +1 -1
- package/dist/components/animated-visibility/animated-visibility.js +1 -1
- package/dist/components/base-control/base-control.js +2 -2
- package/dist/components/base-control/container.js +8 -8
- package/dist/components/breakpoint-preview/breakpoint-preview.js +15 -15
- package/dist/components/button/button.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/color-pickers/color-picker.js +1 -1
- package/dist/components/color-pickers/color-swatch.js +1 -1
- package/dist/components/color-pickers/gradient-editor.js +1 -1
- package/dist/components/color-pickers/solid-color-picker.js +1 -1
- package/dist/components/component-toggle/component-toggle.js +3 -3
- package/dist/components/container-panel/container-panel.js +4 -4
- package/dist/components/contextual-help/contextual-help.js +3 -3
- package/dist/components/draggable/draggable-handle.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.js +2 -2
- package/dist/components/draggable-list/draggable-list.js +2 -2
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/index.js +13 -13
- package/dist/components/input-field/input-field.js +1 -1
- package/dist/components/layout/vstack.js +1 -1
- package/dist/components/link-input/link-input.js +1 -1
- package/dist/components/matrix-align/matrix-align.js +4 -4
- package/dist/components/menu/menu.js +5 -5
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/notice/notice.js +3 -3
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.js +2 -2
- package/dist/components/options-panel/options-panel.js +6 -6
- package/dist/components/placeholders/file-picker-shell.js +7 -7
- package/dist/components/placeholders/image-placeholder.js +2 -2
- package/dist/components/popover/popover.js +3 -3
- package/dist/components/prompt-popover/prompt-popover.js +4 -2
- package/dist/components/radio/radio.js +10 -10
- package/dist/components/repeater/repeater-item.js +2 -2
- package/dist/components/repeater/repeater.js +3 -3
- package/dist/components/responsive/mini-responsive.js +18 -18
- package/dist/components/responsive/responsive-legacy.js +6 -6
- package/dist/components/responsive/responsive.js +17 -17
- package/dist/components/responsive-preview/responsive-preview.js +2 -2
- package/dist/components/rich-label/rich-label.js +6 -6
- package/dist/components/select/async-multi-select.js +16 -16
- package/dist/components/select/async-select.js +13 -13
- package/dist/components/select/multi-select.js +18 -18
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/single-select.js +15 -15
- package/dist/components/select/styles.js +6 -6
- package/dist/components/slider/column-config-slider.js +10 -10
- package/dist/components/slider/slider.js +9 -9
- package/dist/components/smart-image/smart-image.js +3 -3
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/toggle/switch.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle-button/toggle-button.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/{gradient-editor-CO1iXPM9.js → gradient-editor-D2zB_7Wi.js} +9 -9
- package/dist/icons/spinner.js +1 -1
- package/dist/index.js +13 -13
- package/dist/{input-field-msAE2llt.js → input-field-DVNpRfYE.js} +5 -5
- package/dist/{link-input-D1BWznvA.js → link-input-XaVrI3wP.js} +26 -26
- package/dist/{modal-DPHjb2V4.js → modal-BXSwfGkf.js} +5 -5
- package/dist/{number-picker-Dqwxp_2B.js → number-picker-DLLqEAsq.js} +13 -13
- package/dist/{shared-s7XUBOVx.js → shared-CsO_if0Q.js} +6 -6
- package/dist/{solid-color-picker-CDrcphjC.js → solid-color-picker-1QabIOpX.js} +4 -4
- package/dist/{switch-bqIILR_c.js → switch-CfgDFjqQ.js} +4 -4
- package/dist/{tabs-DvGKX3V7.js → tabs-ORp17BEr.js} +26 -26
- package/dist/{toggle-button-g3dLI2F1.js → toggle-button-B0nKYFlk.js} +15 -15
- package/dist/{tooltip-Dd1nNj0_.js → tooltip-Dxr7aiIX.js} +1 -1
- package/package.json +14 -6
|
@@ -5,7 +5,7 @@ import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R
|
|
|
5
5
|
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BV6v3Ytq.js";
|
|
6
6
|
import { a as $6c0095e7e99364f2$export$c17561cb55d4db30, n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-DcI8gSfH.js";
|
|
7
7
|
import { i as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-DLpr7Rq0.js";
|
|
8
|
-
import { n as Tooltip } from "./tooltip-
|
|
8
|
+
import { n as Tooltip } from "./tooltip-Dxr7aiIX.js";
|
|
9
9
|
import { t as __ } from "./build-module-BISCoQjQ.js";
|
|
10
10
|
import { t as cva } from "./dist-DpXluZqJ.js";
|
|
11
11
|
import $3ARPR$react, { createContext, forwardRef, useRef, useState } from "react";
|
|
@@ -83,7 +83,7 @@ var $db7105decd081705$export$4c260019440d418f = forwardRef(function Toolbar(prop
|
|
|
83
83
|
var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
84
84
|
"es:font-variation-[\"wdth\"_82,\"wght\"_325,\"ROND\"_100,\"GRAD\"_0] es:hover:font-variation-[\"wdth\"_82,\"wght\"_325,\"ROND\"_100,\"GRAD\"_70]",
|
|
85
85
|
"es:flex es:items-center es:justify-center",
|
|
86
|
-
"es:transition-plus es:duration-300 es:ease-spring-smooth
|
|
86
|
+
"es:text-13 es:transition-plus es:duration-300 es:ease-spring-smooth",
|
|
87
87
|
"es:any-focus:outline-hidden",
|
|
88
88
|
"es:focus-visible:ring-2",
|
|
89
89
|
"es:text-box-trim",
|
|
@@ -139,15 +139,15 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
139
139
|
disabled: false,
|
|
140
140
|
class: [
|
|
141
141
|
"es:text-black",
|
|
142
|
-
!pending && "es:bg-linear-to-b es:from-black/2 es:
|
|
143
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-400/0 es:
|
|
142
|
+
!pending && "es:bg-white es:bg-linear-to-b es:from-black/2 es:from-25% es:to-black/4",
|
|
143
|
+
pending && "es:shimmer-animation es:bg-surface-100 es:-bg-linear-75 es:from-accent-400/0 es:from-35% es:via-accent-400/25 es:via-50% es:to-accent-400/0 es:to-65%",
|
|
144
144
|
"es:inset-ring",
|
|
145
145
|
pending ? "es:inset-ring-accent-600/20" : "es:inset-ring-secondary-800/20",
|
|
146
146
|
"es:inset-shadow-sm es:inset-shadow-white/75",
|
|
147
147
|
!flat && "es:shadow-xs es:shadow-black/5",
|
|
148
|
-
"es:hover:bg-surface-100 es:hover:text-accent-900 es:hover:inset-
|
|
149
|
-
"es:pressed:bg-surface-100 es:pressed:text-accent-950 es:pressed:inset-
|
|
150
|
-
"es:focus-visible:
|
|
148
|
+
"es:hover:bg-surface-100 es:hover:text-accent-900 es:hover:inset-shadow-white/10 es:hover:inset-ring-surface-300",
|
|
149
|
+
"es:pressed:bg-surface-100 es:pressed:text-accent-950 es:pressed:inset-shadow-white/10 es:pressed:inset-ring-surface-300",
|
|
150
|
+
"es:focus-visible:bg-accent-50 es:focus-visible:text-accent-950 es:focus-visible:ring-accent-500/30 es:focus-visible:inset-shadow-accent-300/10 es:focus-visible:inset-ring-accent-500"
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
153
|
{
|
|
@@ -155,11 +155,11 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
155
155
|
disabled: false,
|
|
156
156
|
class: [
|
|
157
157
|
"es:text-black",
|
|
158
|
-
!pending && "es:bg-secondary-50 es:bg-radial-[at_50%_5%] es:from-
|
|
159
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-400/0 es:
|
|
160
|
-
"es:hover:bg-surface-100 es:hover:
|
|
161
|
-
"es:pressed:bg-surface-100 es:pressed:text-accent-950 es:pressed:inset-
|
|
162
|
-
"es:focus-visible:
|
|
158
|
+
!pending && "es:bg-secondary-50 es:bg-radial-[at_50%_5%] es:from-surface-500/6 es:from-50% es:to-surface-500/12",
|
|
159
|
+
pending && "es:shimmer-animation es:bg-surface-100 es:-bg-linear-75 es:from-accent-400/0 es:from-35% es:via-accent-400/25 es:via-50% es:to-accent-400/0 es:to-65%",
|
|
160
|
+
"es:hover:bg-surface-100 es:hover:from-accent-600/4 es:hover:to-accent-600/10 es:hover:text-accent-900 es:hover:inset-shadow-white/10 es:hover:inset-ring-surface-300",
|
|
161
|
+
"es:pressed:bg-surface-100 es:pressed:text-accent-950 es:pressed:inset-shadow-white/10 es:pressed:inset-ring-surface-300",
|
|
162
|
+
"es:focus-visible:bg-accent-50 es:focus-visible:text-accent-950 es:focus-visible:inset-ring es:focus-visible:ring-accent-500/30 es:focus-visible:inset-shadow-accent-300/10 es:focus-visible:inset-ring-accent-500"
|
|
163
163
|
]
|
|
164
164
|
},
|
|
165
165
|
{
|
|
@@ -167,11 +167,11 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
167
167
|
disabled: false,
|
|
168
168
|
class: [
|
|
169
169
|
"es:text-accent-600",
|
|
170
|
-
!pending && "es:bg-surface-50 es:bg-radial-[at_50%_5%] es:from-
|
|
171
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-400/5 es:
|
|
172
|
-
"es:hover:
|
|
173
|
-
"
|
|
174
|
-
"es:focus-visible:
|
|
170
|
+
!pending && "es:bg-surface-50 es:bg-radial-[at_50%_5%] es:from-accent-900/2 es:from-50% es:to-accent-900/5",
|
|
171
|
+
pending && "es:shimmer-animation es:bg-surface-100 es:-bg-linear-75 es:from-accent-400/5 es:from-35% es:via-accent-400/25 es:via-50% es:to-accent-400/5 es:to-65%",
|
|
172
|
+
"es:hover:from-accent-600/4 es:hover:to-accent-600/10 es:hover:text-accent-900 es:hover:inset-shadow-white/10 es:hover:inset-ring-surface-300",
|
|
173
|
+
"es:pressed:from-accent-700/10 es:pressed:to-accent-700/20 es:pressed:text-accent-950",
|
|
174
|
+
"es:focus-visible:bg-accent-50 es:focus-visible:text-accent-950 es:focus-visible:inset-ring es:focus-visible:ring-accent-500/30 es:focus-visible:inset-shadow-accent-300/10 es:focus-visible:inset-ring-accent-500"
|
|
175
175
|
]
|
|
176
176
|
},
|
|
177
177
|
{
|
|
@@ -179,11 +179,11 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
179
179
|
disabled: false,
|
|
180
180
|
class: [
|
|
181
181
|
"es:text-red-600",
|
|
182
|
-
!pending && "es:bg-white es:bg-radial-[at_50%_5%] es:from-
|
|
183
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-red-500/0 es:
|
|
184
|
-
"es:hover:
|
|
185
|
-
"
|
|
186
|
-
"es:focus-visible:
|
|
182
|
+
!pending && "es:bg-white es:bg-radial-[at_50%_5%] es:from-secondary-500/8 es:from-50% es:to-secondary-500/14",
|
|
183
|
+
pending && "es:shimmer-animation es:bg-red-50 es:-bg-linear-75 es:from-red-500/0 es:from-35% es:via-red-500/30 es:via-50% es:to-red-500/0 es:to-65%",
|
|
184
|
+
"es:hover:from-red-600/4 es:hover:to-red-600/10 es:hover:inset-shadow-white/10 es:hover:inset-ring-surface-300",
|
|
185
|
+
"es:pressed:from-red-600/5 es:pressed:to-red-600/15 es:pressed:text-red-700",
|
|
186
|
+
"es:focus-visible:bg-red-50 es:focus-visible:text-red-700 es:focus-visible:inset-ring es:focus-visible:ring-red-500/30 es:focus-visible:inset-shadow-red-300/10 es:focus-visible:inset-ring-red-700"
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
{
|
|
@@ -195,30 +195,30 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
195
195
|
type: "selected",
|
|
196
196
|
disabled: false,
|
|
197
197
|
class: [
|
|
198
|
-
"es:text-white es:text-shadow-
|
|
199
|
-
!pending && "es:bg-linear-to-b es:from-accent-800/10 es:
|
|
200
|
-
pending && "es:bg-accent-600 es:
|
|
198
|
+
"es:text-white es:text-shadow-accent-900/30 es:text-shadow-xs",
|
|
199
|
+
!pending && "es:bg-accent-500 es:bg-linear-to-b es:from-accent-800/10 es:from-30% es:to-accent-800/30",
|
|
200
|
+
pending && "es:shimmer-animation es:bg-accent-600 es:bg-linear-to-r es:from-accent-50/0 es:from-35% es:via-accent-50/35 es:via-50% es:to-accent-50/0 es:to-65%",
|
|
201
201
|
"es:inset-ring es:inset-ring-accent-600",
|
|
202
202
|
"es:inset-shadow-sm es:inset-shadow-accent-50/25",
|
|
203
203
|
!flat && "es:shadow-xs es:shadow-accent-900/30",
|
|
204
204
|
"es:hover:from-accent-800/20 es:hover:to-accent-800/40",
|
|
205
205
|
"es:pressed:from-accent-800/30 es:pressed:to-accent-800/50",
|
|
206
|
-
"es:focus-visible:
|
|
206
|
+
"es:focus-visible:bg-accent-600 es:focus-visible:ring-accent-500/30 es:focus-visible:inset-ring-accent-700"
|
|
207
207
|
]
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
type: "danger",
|
|
211
211
|
disabled: false,
|
|
212
212
|
class: [
|
|
213
|
-
"es:text-white es:text-shadow-
|
|
214
|
-
!pending && "es:bg-linear-to-b es:from-red-800/10 es:
|
|
215
|
-
pending && "es:bg-red-600 es:
|
|
213
|
+
"es:text-white es:text-shadow-red-900/30 es:text-shadow-xs",
|
|
214
|
+
!pending && "es:bg-red-500 es:bg-linear-to-b es:from-red-800/10 es:from-30% es:to-red-800/30",
|
|
215
|
+
pending && "es:shimmer-animation es:bg-red-600 es:bg-linear-to-r es:from-red-50/0 es:from-35% es:via-red-50/35 es:via-50% es:to-red-50/0 es:to-65%",
|
|
216
216
|
"es:inset-ring es:inset-ring-red-700",
|
|
217
217
|
"es:inset-shadow-sm es:inset-shadow-red-50/25",
|
|
218
218
|
!flat && "es:shadow-xs es:shadow-red-900/30",
|
|
219
219
|
"es:hover:from-red-800/20 es:hover:to-red-800/40",
|
|
220
220
|
"es:pressed:from-red-800/30 es:pressed:to-red-800/50",
|
|
221
|
-
"es:focus-visible:
|
|
221
|
+
"es:focus-visible:bg-red-600 es:focus-visible:ring-red-500/30 es:focus-visible:inset-ring-red-900"
|
|
222
222
|
]
|
|
223
223
|
},
|
|
224
224
|
{
|
|
@@ -226,7 +226,7 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
226
226
|
disabled: false,
|
|
227
227
|
class: [
|
|
228
228
|
!pending && "es:bg-linear-to-br es:from-surface-200/0 es:to-surface-200/0 es:text-secondary-700",
|
|
229
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-600/0 es:
|
|
229
|
+
pending && "es:shimmer-animation es:bg-surface-50 es:-bg-linear-75 es:from-accent-600/0 es:from-35% es:via-accent-600/15 es:via-50% es:to-accent-600/0 es:to-65% es:text-accent-900 es:inset-ring es:inset-ring-accent-600/5",
|
|
230
230
|
"es:hover:from-surface-200/30 es:hover:to-surface-200/50 es:hover:text-accent-950",
|
|
231
231
|
"es:pressed:from-accent-600/5 es:pressed:to-accent-600/15 es:pressed:text-accent-900",
|
|
232
232
|
"es:focus-visible:bg-accent-50 es:focus-visible:text-accent-950 es:focus-visible:inset-ring es:focus-visible:ring-accent-500/30 es:focus-visible:inset-shadow-accent-300/10 es:focus-visible:inset-ring-accent-500"
|
|
@@ -237,8 +237,8 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
237
237
|
disabled: false,
|
|
238
238
|
class: [
|
|
239
239
|
!pending && "es:bg-linear-to-br es:from-surface-200/0 es:to-surface-200/0 es:text-red-700",
|
|
240
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-red-600/0 es:
|
|
241
|
-
"es:hover:from-red-500/4 es:hover:to-red-500/7
|
|
240
|
+
pending && "es:shimmer-animation es:bg-secondary-50 es:-bg-linear-75 es:from-red-600/0 es:from-35% es:via-red-600/10 es:via-50% es:to-red-600/0 es:to-65% es:text-red-700 es:inset-ring es:inset-ring-red-600/10",
|
|
241
|
+
"es:hover:from-red-500/4 es:hover:to-red-500/7",
|
|
242
242
|
"es:pressed:from-red-500/10 es:pressed:to-red-500/15 es:pressed:text-red-700",
|
|
243
243
|
"es:focus-visible:bg-red-50 es:focus-visible:text-red-950 es:focus-visible:inset-ring es:focus-visible:ring-red-500/30 es:focus-visible:inset-shadow-red-300/10 es:focus-visible:inset-ring-red-500"
|
|
244
244
|
]
|
|
@@ -248,8 +248,8 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
248
248
|
disabled: false,
|
|
249
249
|
class: [
|
|
250
250
|
!pending && "es:bg-linear-to-br es:from-surface-200/0 es:to-surface-200/0 es:text-accent-600",
|
|
251
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-600/0 es:
|
|
252
|
-
"es:hover:from-accent-500/5 es:hover:to-accent-500/15
|
|
251
|
+
pending && "es:shimmer-animation es:bg-surface-50 es:-bg-linear-75 es:from-accent-600/0 es:from-35% es:via-accent-600/15 es:via-50% es:to-accent-600/0 es:to-65% es:text-accent-700 es:inset-ring es:inset-ring-accent-600/15",
|
|
252
|
+
"es:hover:from-accent-500/5 es:hover:to-accent-500/15",
|
|
253
253
|
"es:pressed:from-accent-500/10 es:pressed:to-accent-500/20 es:pressed:text-accent-700",
|
|
254
254
|
"es:focus-visible:bg-accent-50 es:focus-visible:text-accent-950 es:focus-visible:inset-ring es:focus-visible:ring-accent-500/30 es:focus-visible:inset-shadow-accent-300/10 es:focus-visible:inset-ring-accent-500"
|
|
255
255
|
]
|
|
@@ -259,7 +259,7 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
259
259
|
disabled: false,
|
|
260
260
|
class: [
|
|
261
261
|
!pending && "es:bg-white es:bg-linear-to-br es:from-surface-200/0 es:to-surface-200/0 es:text-secondary-700",
|
|
262
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-600/0 es:
|
|
262
|
+
pending && "es:shimmer-animation es:bg-surface-50 es:-bg-linear-75 es:from-accent-600/0 es:from-35% es:via-accent-600/15 es:via-50% es:to-accent-600/0 es:to-65% es:text-accent-900 es:inset-ring es:inset-ring-accent-600/5",
|
|
263
263
|
"es:inset-ring es:inset-ring-secondary-700/12",
|
|
264
264
|
"es:hover:from-surface-200/30 es:hover:to-surface-200/50 es:hover:text-accent-950 es:hover:inset-ring-accent-950/6",
|
|
265
265
|
"es:pressed:from-accent-600/5 es:pressed:to-accent-600/15 es:pressed:text-accent-900",
|
|
@@ -271,7 +271,7 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
271
271
|
disabled: false,
|
|
272
272
|
class: [
|
|
273
273
|
!pending && "es:bg-white es:bg-linear-to-br es:from-surface-200/0 es:to-surface-200/0 es:text-red-700",
|
|
274
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-red-600/0 es:
|
|
274
|
+
pending && "es:shimmer-animation es:bg-secondary-50 es:-bg-linear-75 es:from-red-600/0 es:from-35% es:via-red-600/10 es:via-50% es:to-red-600/0 es:to-65% es:text-red-700 es:inset-ring es:inset-ring-red-600/10",
|
|
275
275
|
"es:inset-ring es:inset-ring-red-800/12",
|
|
276
276
|
"es:hover:from-red-500/4 es:hover:to-red-500/7 es:hover:inset-ring-red-700/6",
|
|
277
277
|
"es:pressed:from-red-500/10 es:pressed:to-red-500/15 es:pressed:text-red-700",
|
|
@@ -283,7 +283,7 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
283
283
|
disabled: false,
|
|
284
284
|
class: [
|
|
285
285
|
!pending && "es:bg-white es:bg-linear-to-br es:from-surface-200/0 es:to-surface-200/0 es:text-accent-600",
|
|
286
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-600/0 es:
|
|
286
|
+
pending && "es:shimmer-animation es:bg-surface-50 es:-bg-linear-75 es:from-accent-600/0 es:from-35% es:via-accent-600/15 es:via-50% es:to-accent-600/0 es:to-65% es:text-accent-700 es:inset-ring es:inset-ring-accent-600/15",
|
|
287
287
|
"es:inset-ring es:inset-ring-accent-800/12",
|
|
288
288
|
"es:hover:from-accent-500/5 es:hover:to-accent-500/15 es:hover:inset-ring-accent-600/6",
|
|
289
289
|
"es:pressed:from-accent-500/10 es:pressed:to-accent-500/20 es:pressed:text-accent-700",
|
|
@@ -304,64 +304,64 @@ var createComponentClasses = ({ className, flat, pending }) => cva([
|
|
|
304
304
|
type: "glass",
|
|
305
305
|
disabled: false,
|
|
306
306
|
class: [
|
|
307
|
-
"es:backdrop-
|
|
307
|
+
"es:backdrop-brightness-120 es:backdrop-contrast-95 es:backdrop-saturate-120",
|
|
308
308
|
!pending && "es:bg-radial-[at_50%_75%] es:from-white/25 es:to-white/0",
|
|
309
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-500/0 es:
|
|
309
|
+
pending && "es:shimmer-animation es:bg-white/15 es:-bg-linear-75 es:from-accent-500/0 es:from-35% es:via-accent-500/20 es:via-50% es:to-accent-500/0 es:to-65% es:text-accent-700",
|
|
310
310
|
"es:hover:from-white/35 es:hover:to-white/15",
|
|
311
311
|
"es:text-white",
|
|
312
312
|
"es:inset-shadow-sm es:inset-shadow-white/40",
|
|
313
|
-
!flat && "es:shadow-
|
|
313
|
+
!flat && "es:shadow-xs es:shadow-black/15",
|
|
314
314
|
"es:inset-ring es:inset-ring-white/5",
|
|
315
|
-
"es:text-shadow-
|
|
316
|
-
"es:focus-visible:
|
|
315
|
+
"es:text-shadow-black/15 es:text-shadow-xs",
|
|
316
|
+
"es:focus-visible:bg-accent-300/30 es:focus-visible:ring-accent-500/30 es:focus-visible:inset-ring-accent-700/50"
|
|
317
317
|
]
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
320
|
type: "glassDark",
|
|
321
321
|
disabled: false,
|
|
322
322
|
class: [
|
|
323
|
-
"es:backdrop-
|
|
323
|
+
"es:backdrop-brightness-75 es:backdrop-contrast-95 es:backdrop-saturate-115",
|
|
324
324
|
!pending && "es:bg-radial-[at_50%_75%] es:from-black/40 es:to-black/20",
|
|
325
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-50/0 es:
|
|
325
|
+
pending && "es:shimmer-animation es:bg-accent-950/10 es:-bg-linear-75 es:from-accent-50/0 es:from-35% es:via-accent-50/20 es:via-50% es:to-accent-50/0 es:to-65%",
|
|
326
326
|
"es:hover:from-black/50 es:hover:to-black/35",
|
|
327
327
|
"es:text-white",
|
|
328
328
|
"es:inset-shadow-sm es:inset-shadow-white/20",
|
|
329
329
|
!flat && "es:shadow-xs es:shadow-black/15",
|
|
330
330
|
"es:inset-ring es:inset-ring-black/20",
|
|
331
|
-
"es:text-shadow-
|
|
332
|
-
"es:focus-visible:
|
|
331
|
+
"es:text-shadow-black/15 es:text-shadow-xs es:focus-visible:text-shadow-accent-950/15",
|
|
332
|
+
"es:focus-visible:bg-accent-300/30 es:focus-visible:ring-accent-500/30 es:focus-visible:inset-ring-accent-700/50"
|
|
333
333
|
]
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
type: "dangerGlass",
|
|
337
337
|
disabled: false,
|
|
338
338
|
class: [
|
|
339
|
-
"es:backdrop-
|
|
340
|
-
!pending && "es:bg-radial-[at_50%_75%] es:from-red-500/30 es:to-red-500/10
|
|
341
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-red-400/0 es:
|
|
339
|
+
"es:backdrop-brightness-75 es:backdrop-contrast-95 es:backdrop-saturate-125",
|
|
340
|
+
!pending && "es:bg-red-600/25 es:bg-radial-[at_50%_75%] es:from-red-500/30 es:to-red-500/10",
|
|
341
|
+
pending && "es:shimmer-animation es:bg-red-700/25 es:-bg-linear-75 es:from-red-400/0 es:from-35% es:via-red-500/35 es:via-50% es:to-red-400/5 es:to-65%",
|
|
342
342
|
"es:hover:from-red-400/30 es:hover:to-red-400/25",
|
|
343
343
|
"es:text-red-50",
|
|
344
344
|
"es:inset-shadow-sm es:inset-shadow-red-300/40",
|
|
345
345
|
!flat && "es:shadow-xs es:shadow-black/15",
|
|
346
346
|
"es:inset-ring es:inset-ring-red-200/5",
|
|
347
|
-
"es:text-shadow-
|
|
348
|
-
"es:focus-visible:
|
|
347
|
+
"es:text-shadow-red-950/15 es:text-shadow-xs",
|
|
348
|
+
"es:focus-visible:bg-red-700/30 es:focus-visible:ring-red-500/30 es:focus-visible:inset-ring-red-700/50"
|
|
349
349
|
]
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
type: "selectedGlass",
|
|
353
353
|
disabled: false,
|
|
354
354
|
class: [
|
|
355
|
-
"es:backdrop-
|
|
356
|
-
!pending && "es:bg-radial-[at_50%_75%] es:from-accent-500/30 es:to-accent-500/5
|
|
357
|
-
pending && "es:shimmer-animation es:-bg-linear-75 es:from-accent-400/0 es:
|
|
355
|
+
"es:backdrop-brightness-120 es:backdrop-contrast-95 es:backdrop-saturate-120",
|
|
356
|
+
!pending && "es:bg-accent-600/10 es:bg-radial-[at_50%_75%] es:from-accent-500/30 es:to-accent-500/5",
|
|
357
|
+
pending && "es:shimmer-animation es:bg-accent-700/25 es:-bg-linear-75 es:from-accent-400/0 es:from-35% es:via-accent-400/50 es:via-50% es:to-accent-400/0 es:to-65%",
|
|
358
358
|
"es:hover:from-accent-400/30 es:hover:to-accent-400/25",
|
|
359
359
|
"es:text-accent-50/95",
|
|
360
360
|
"es:inset-shadow-sm es:inset-shadow-accent-200/40",
|
|
361
361
|
!flat && "es:shadow-xs es:shadow-black/15",
|
|
362
362
|
"es:inset-ring es:inset-ring-accent-200/5",
|
|
363
|
-
"es:text-shadow-
|
|
364
|
-
"es:focus-visible:
|
|
363
|
+
"es:text-shadow-accent-950/15 es:text-shadow-xs",
|
|
364
|
+
"es:focus-visible:bg-accent-600/30 es:focus-visible:ring-accent-500/30 es:focus-visible:inset-ring-accent-700/50"
|
|
365
365
|
]
|
|
366
366
|
},
|
|
367
367
|
{
|
|
@@ -181,8 +181,8 @@ var $ed8ccb2e23e76301$export$6e7a18c0548f3129 = forwardRef(function CheckboxButt
|
|
|
181
181
|
//#region lib/components/checkbox/checkbox.tsx
|
|
182
182
|
var checkboxClasses = cva([
|
|
183
183
|
"es:size-5 es:shrink-0",
|
|
184
|
-
"es:grid es:
|
|
185
|
-
"es:*:
|
|
184
|
+
"es:grid es:grid-cols-1 es:grid-rows-1 es:place-items-center",
|
|
185
|
+
"es:*:col-start-1 es:*:row-start-1",
|
|
186
186
|
"es:rounded-sm",
|
|
187
187
|
"es:transition-plus es:duration-300 es:ease-spring-smooth",
|
|
188
188
|
"es:inset-ring",
|
|
@@ -192,7 +192,7 @@ var checkboxClasses = cva([
|
|
|
192
192
|
variants: {
|
|
193
193
|
disabled: {
|
|
194
194
|
true: "es:cursor-not-allowed",
|
|
195
|
-
false: "es:
|
|
195
|
+
false: "es:bg-linear-to-b es:from-25% es:inset-shadow-xs"
|
|
196
196
|
},
|
|
197
197
|
flat: {
|
|
198
198
|
true: null,
|
|
@@ -232,7 +232,7 @@ var checkboxClasses = cva([
|
|
|
232
232
|
active: true,
|
|
233
233
|
disabled: false,
|
|
234
234
|
class: [
|
|
235
|
-
"es:bg-accent-600 es:inset-ring-accent-800/5
|
|
235
|
+
"es:bg-accent-600 es:text-white es:inset-ring-accent-800/5",
|
|
236
236
|
"es:from-accent-50/10 es:to-accent-50/2",
|
|
237
237
|
"es:inset-shadow-accent-50/35",
|
|
238
238
|
"es:group-focus-visible:inset-ring-accent-950"
|
|
@@ -241,12 +241,12 @@ var checkboxClasses = cva([
|
|
|
241
241
|
{
|
|
242
242
|
active: true,
|
|
243
243
|
disabled: true,
|
|
244
|
-
class: ["es:bg-secondary-400 es:inset-ring-secondary-400
|
|
244
|
+
class: ["es:bg-secondary-400 es:text-white es:inset-ring-secondary-400"]
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
active: false,
|
|
248
248
|
disabled: true,
|
|
249
|
-
class: ["es:bg-white es:
|
|
249
|
+
class: ["es:bg-white es:text-secondary-50 es:inset-ring-secondary-300", "es:bg-linear-to-b es:from-secondary-800/0 es:to-secondary-800/3"]
|
|
250
250
|
}
|
|
251
251
|
],
|
|
252
252
|
defaultVariants: {
|
|
@@ -2569,7 +2569,7 @@ var ColorSwatch = (props) => {
|
|
|
2569
2569
|
return jsx(TypedReactAriaColorSwatch, {
|
|
2570
2570
|
...rest,
|
|
2571
2571
|
style: { background: hasVisibleColor ? backgroundGradient : void 0 },
|
|
2572
|
-
className: () => clsx("es:size-6 es:rounded-5 es:
|
|
2572
|
+
className: () => clsx("es:size-6 es:rounded-5 es:border es:border-secondary-300 es:transition-[border-radius] es:in-aria-expanded:rounded-2xl", !hasVisibleColor && "es:bg-white", !flat && "es:shadow-sm", className),
|
|
2573
2573
|
colorName: !hasVisibleColor ? __("No color", "eightshift-ui-components") : colorName,
|
|
2574
2574
|
color: color ?? void 0,
|
|
2575
2575
|
children: !hasVisibleColor && jsx("div", { className: "es:m-auto es:h-full es:w-px es:rotate-45 es:rounded-md es:bg-red-500" })
|
|
@@ -69,7 +69,7 @@ var AnimatedVisibility = (props) => {
|
|
|
69
69
|
if (noInitial && visible) queueMicrotask(() => setCanAnimate(false));
|
|
70
70
|
}, [noInitial, visible]);
|
|
71
71
|
return jsx(Fragment$1, { children: isVisibleInner && jsx("div", {
|
|
72
|
-
className: clsx(!noEnterAnimation && visible && noInitial && visible && canAnimate && transitions[transition].inClassName, !noEnterAnimation && visible && !noInitial && transitions[transition].inClassName, !noExitAnimation && !visible && transitions[transition].outClassName, "es:motion-duration-300", decreaseBounce && "es:motion-ease-
|
|
72
|
+
className: clsx(!noEnterAnimation && visible && noInitial && visible && canAnimate && transitions[transition].inClassName, !noEnterAnimation && visible && !noInitial && transitions[transition].inClassName, !noExitAnimation && !visible && transitions[transition].outClassName, "es:motion-duration-300", decreaseBounce && "es:motion-ease-linear/opacity es:motion-ease-spring-snappy", !decreaseBounce && "es:motion-ease-spring-bouncy es:motion-ease-linear/opacity", "es:[animation-fill-mode:forwards]", className),
|
|
73
73
|
onAnimationEnd: () => {
|
|
74
74
|
if (visible === false) setIsVisibleInner(false);
|
|
75
75
|
if (!canAnimate) setCanAnimate(true);
|
|
@@ -39,7 +39,7 @@ var BaseControl = (props) => {
|
|
|
39
39
|
noColor: true
|
|
40
40
|
}),
|
|
41
41
|
inline && actions && jsx("div", {
|
|
42
|
-
className: "es:
|
|
42
|
+
className: "es:mr-auto es:ml-1 es:flex es:items-center es:gap-1",
|
|
43
43
|
children: actions
|
|
44
44
|
}),
|
|
45
45
|
inline && jsx("div", {
|
|
@@ -58,7 +58,7 @@ var BaseControl = (props) => {
|
|
|
58
58
|
}),
|
|
59
59
|
!inline && !hasMultipleChildren && children,
|
|
60
60
|
help && jsx($efe09c6d1c304b50$export$5f1af8db9871e1d6, {
|
|
61
|
-
className: clsx("es:inline-block es:text-sm es:text-secondary-500 es:
|
|
61
|
+
className: clsx("es:mt-1.5 es:inline-block es:text-sm es:text-secondary-500 es:font-variation-[\"wdth\"_66,\"wght\"_325,\"slnt\"_-4]", !noHelpInset && "es:pl-1"),
|
|
62
62
|
slot: "description",
|
|
63
63
|
children: help
|
|
64
64
|
})
|
|
@@ -5,11 +5,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
//#region lib/components/base-control/container.tsx
|
|
6
6
|
var containerClasses = cva("es:inset-ring", {
|
|
7
7
|
variants: {
|
|
8
|
-
elevated: { true: "es:
|
|
8
|
+
elevated: { true: "es:shadow-sm es:inset-shadow-sm es:shadow-black/5" },
|
|
9
9
|
primary: { true: "es:rounded-full" },
|
|
10
10
|
compact: {
|
|
11
|
-
false: "es:
|
|
12
|
-
true: "es:
|
|
11
|
+
false: "es:min-h-13 es:py-2",
|
|
12
|
+
true: "es:min-h-9 es:py-1"
|
|
13
13
|
},
|
|
14
14
|
centered: { true: "es:flex es:items-center" },
|
|
15
15
|
lessSpaceStart: {
|
|
@@ -80,22 +80,22 @@ var containerClasses = cva("es:inset-ring", {
|
|
|
80
80
|
{
|
|
81
81
|
accent: false,
|
|
82
82
|
elevated: false,
|
|
83
|
-
class: ["es:bg-white es:bg-linear-to-b es:from-secondary-50/75 es:to-secondary-100/50 es:
|
|
83
|
+
class: ["es:bg-white es:bg-linear-to-b es:from-secondary-50/75 es:from-25% es:to-secondary-100/50 es:inset-ring-secondary-200/50", "es:inset-shadow-sm es:inset-shadow-white/30"]
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
accent: true,
|
|
87
87
|
elevated: false,
|
|
88
|
-
class: "es:bg-surface-100/80 es:inset-ring-surface-200
|
|
88
|
+
class: "es:bg-surface-100/80 es:text-accent-900 es:inset-ring-surface-200"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
accent: false,
|
|
92
92
|
elevated: true,
|
|
93
|
-
class: "es:bg-secondary-100 es:inset-
|
|
93
|
+
class: "es:bg-secondary-100 es:inset-shadow-white/50 es:inset-ring-secondary-200"
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
accent: true,
|
|
97
97
|
elevated: true,
|
|
98
|
-
class: ["es:bg-surface-100 es:bg-linear-to-r es:from-accent-400/10 es:to-accent-400/12", "
|
|
98
|
+
class: ["es:bg-surface-100 es:bg-linear-to-r es:from-accent-400/10 es:to-accent-400/12", "es:text-accent-900 es:inset-shadow-white/50 es:inset-ring-accent-600/10"]
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
defaultVariants: {
|
|
@@ -157,7 +157,7 @@ var ContainerGroupBase = (props, ref) => {
|
|
|
157
157
|
return jsxs("div", {
|
|
158
158
|
className: wrapClassName,
|
|
159
159
|
children: [jsx("span", {
|
|
160
|
-
className: "es:
|
|
160
|
+
className: "es:mb-1 es:ml-2 es:inline-block es:text-12 es:text-surface-600 es:font-variation-[\"wdth\"_108,\"wght\"_300,\"ROND\"_100]",
|
|
161
161
|
children: label
|
|
162
162
|
}), inner]
|
|
163
163
|
});
|
|
@@ -89,9 +89,9 @@ var BreakpointPreview = (props) => {
|
|
|
89
89
|
children: jsxs("div", {
|
|
90
90
|
className: "es:flex es:gap-0.5 es:text-secondary-300",
|
|
91
91
|
children: [
|
|
92
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
93
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
94
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
|
|
92
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
93
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
94
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" })
|
|
95
95
|
]
|
|
96
96
|
})
|
|
97
97
|
}), jsx("div", { className: "es:row-start-2 es:size-px es:justify-self-end" })] }) : null,
|
|
@@ -103,29 +103,29 @@ var BreakpointPreview = (props) => {
|
|
|
103
103
|
className: "es:row-start-1 es:flex es:min-w-28 es:items-center es:gap-1 es:font-mono es:font-medium es:text-secondary-400",
|
|
104
104
|
children: [
|
|
105
105
|
blockDotsStart ? jsxs("div", {
|
|
106
|
-
className: clsx("es:flex es:gap-0.5", active ? activeTextColor : "text-secondary-300"),
|
|
106
|
+
className: clsx("es:flex es:gap-0.5", active ? activeTextColor : "es:text-secondary-300"),
|
|
107
107
|
children: [
|
|
108
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
109
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
110
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
|
|
108
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
109
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
110
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" })
|
|
111
111
|
]
|
|
112
112
|
}) : null,
|
|
113
113
|
width ? jsx("span", { children: width }) : null,
|
|
114
|
-
jsx("div", { className: clsx("es:grow es:rounded", active ? "es:h-0.5" : "es:h-px es:bg-secondary-300", active && activeBgColor) }),
|
|
114
|
+
jsx("div", { className: clsx("es:grow es:rounded-sm", active ? "es:h-0.5" : "es:h-px es:bg-secondary-300", active && activeBgColor) }),
|
|
115
115
|
widthEnd ? jsx("span", { children: widthEnd }) : null,
|
|
116
116
|
blockDotsEnd ? jsxs("div", {
|
|
117
117
|
className: clsx("es:flex es:gap-0.5", active ? activeTextColor : "es:text-secondary-300"),
|
|
118
118
|
children: [
|
|
119
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
120
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
121
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
|
|
119
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
120
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
121
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" })
|
|
122
122
|
]
|
|
123
123
|
}) : null
|
|
124
124
|
]
|
|
125
125
|
}), jsxs("div", {
|
|
126
126
|
className: "es:row-start-2 es:flex es:w-full es:min-w-28 es:flex-col es:items-start es:gap-1",
|
|
127
127
|
children: [jsx("span", {
|
|
128
|
-
className: clsx("es:rounded es:px-1 es:py-0.5", hasActive && active && "es:text-white", hasActive && active && activeBgColor, hasActive && !active && "es:bg-secondary-200 es:text-secondary-500", !hasActive && "es:bg-secondary-600 es:text-white", alignEnd && "es:ml-auto"),
|
|
128
|
+
className: clsx("es:rounded-sm es:px-1 es:py-0.5", hasActive && active && "es:text-white", hasActive && active && activeBgColor, hasActive && !active && "es:bg-secondary-200 es:text-secondary-500", !hasActive && "es:bg-secondary-600 es:text-white", alignEnd && "es:ml-auto"),
|
|
129
129
|
children: upperFirst(breakpoint)
|
|
130
130
|
}), value ? jsx("span", {
|
|
131
131
|
className: clsx("es:-mt-0.5 es:px-1", "es:text-secondary-400", alignEnd && "es:ml-auto"),
|
|
@@ -138,9 +138,9 @@ var BreakpointPreview = (props) => {
|
|
|
138
138
|
children: jsxs("div", {
|
|
139
139
|
className: "es:flex es:gap-0.5 es:text-secondary-300",
|
|
140
140
|
children: [
|
|
141
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
142
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" }),
|
|
143
|
-
jsx("div", { className: "es:size-0.5 es:rounded es:bg-current" })
|
|
141
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
142
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" }),
|
|
143
|
+
jsx("div", { className: "es:size-0.5 es:rounded-sm es:bg-current" })
|
|
144
144
|
]
|
|
145
145
|
})
|
|
146
146
|
}), jsx("div", { className: "es:row-start-2 es:size-px" })] }) : null
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
1
|
+
import { n as ButtonGroup, t as Button } from "../../button-CCtgOh0o.js";
|
|
2
2
|
export { Button, ButtonGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Checkbox } from "../../checkbox-
|
|
1
|
+
import { t as Checkbox } from "../../checkbox-d1lNvf65.js";
|
|
2
2
|
export { Checkbox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as ColorSwatch } from "../../color-swatch-
|
|
2
|
+
import { t as ColorSwatch } from "../../color-swatch-BstCWUIZ.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ColorSwatch } from "../../color-swatch-
|
|
1
|
+
import { t as ColorSwatch } from "../../color-swatch-BstCWUIZ.js";
|
|
2
2
|
export { ColorSwatch };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as GradientEditor } from "../../gradient-editor-
|
|
1
|
+
import { t as GradientEditor } from "../../gradient-editor-D2zB_7Wi.js";
|
|
2
2
|
export { GradientEditor };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SolidColorPicker } from "../../solid-color-picker-
|
|
1
|
+
import { t as SolidColorPicker } from "../../solid-color-picker-1QabIOpX.js";
|
|
2
2
|
export { SolidColorPicker };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as Switch } from "../../switch-
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { n as ButtonGroup } from "../../button-
|
|
3
|
+
import { t as Switch } from "../../switch-CfgDFjqQ.js";
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-B0nKYFlk.js";
|
|
5
|
+
import { n as ButtonGroup } from "../../button-CCtgOh0o.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
8
8
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { n as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "../../Disclosure-CkaUMe7J.js";
|
|
3
|
-
import { t as Switch } from "../../switch-
|
|
4
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Switch } from "../../switch-CfgDFjqQ.js";
|
|
4
|
+
import { t as Button } from "../../button-CCtgOh0o.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
6
|
import { chevronDown } from "../../icons/ui-icons/chevron-down.js";
|
|
7
7
|
import { HStack } from "../layout/hstack.js";
|
|
@@ -65,11 +65,11 @@ var ContainerPanel = (props) => {
|
|
|
65
65
|
}) : null
|
|
66
66
|
})] }),
|
|
67
67
|
className: clsx(topBorder && "es:border-t es:border-t-secondary-200", !closable && use === void 0 && "es:space-y-2", justClosable && open && "es:pb-4", justUse && use && "es:pb-4", useAndClosable && use && open && "es:pb-4", !justClosable && !justUse && !useAndClosable && "es:pb-4", !closable && !onUseChange && use === void 0 && "es:px-4", className),
|
|
68
|
-
labelContainerClassName: clsx((closable || onUseChange) && "es:
|
|
68
|
+
labelContainerClassName: clsx((closable || onUseChange) && "es:min-h-12 es:pr-3 es:pl-4", !(closable || onUseChange) && "es:my-3", (closable || onUseChange) && "es:mb-0!", "es:pb-0!"),
|
|
69
69
|
controlContainerClassName: "es:px-4",
|
|
70
70
|
labelClassName: clsx(!noLabelInset && "es:px-1", accentLabel && "es:text-accent-800 es:any-icon:text-accent-700", accentIcon && "es:any-icon:text-accent-700", !accentLabel && "es:text-surface-700"),
|
|
71
71
|
children: [!shouldUseDisclosure ? children : null, shouldUseDisclosure ? jsx($a3e16eab0ea4036c$export$feabaa331e1d464c, {
|
|
72
|
-
className: clsx("es:h-(--disclosure-panel-height) es:overflow-hidden", "es
|
|
72
|
+
className: clsx("es:h-(--disclosure-panel-height) es:overflow-hidden", "es:-translate-y-2 es:opacity-0", isExpanded && "es:translate-y-0 es:opacity-100", "es:transition-plus-h"),
|
|
73
73
|
children: jsx("div", {
|
|
74
74
|
className: "es:space-y-2 es:px-4",
|
|
75
75
|
children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../../Dialog-CSqjSLlO.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Button } from "../../button-CCtgOh0o.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
6
6
|
import { clear } from "../../icons/ui-icons/clear.js";
|
|
@@ -57,14 +57,14 @@ var ContextualHelp = (props) => {
|
|
|
57
57
|
"aria-label": typeAriaLabels?.[type] || typeAriaLabels.help,
|
|
58
58
|
type: "simple",
|
|
59
59
|
size: "small",
|
|
60
|
-
className: "es:
|
|
60
|
+
className: "es:size-6! es:rounded-full! es:p-0! es:icon:size-4!",
|
|
61
61
|
...triggerButtonProps,
|
|
62
62
|
children: triggerButtonLabel
|
|
63
63
|
}), jsxs(Popover, {
|
|
64
64
|
placement: "bottom start",
|
|
65
65
|
offset: 8,
|
|
66
66
|
crossOffset: -8,
|
|
67
|
-
className: clsx("es:
|
|
67
|
+
className: clsx("es:flex es:max-w-56! es:flex-col es:gap-2 es:p-3.5", className),
|
|
68
68
|
style,
|
|
69
69
|
showArrow: true,
|
|
70
70
|
...rest,
|
|
@@ -19,7 +19,7 @@ var DraggableHandle = (props) => {
|
|
|
19
19
|
const { className, children, ...rest } = props;
|
|
20
20
|
const { handleRef, status } = useContext(DraggableContext);
|
|
21
21
|
return jsx("div", {
|
|
22
|
-
className: clsx("es:flex es:h-5 es:w-4 es:items-center es:justify-center es:rounded-sm es:
|
|
22
|
+
className: clsx("es:flex es:h-5 es:w-4 es:items-center es:justify-center es:rounded-sm es:bg-surface-50 es:text-surface-500/80 es:inset-ring es:inset-ring-surface-400/10 es:transition-plus es:hover:rounded-md", "es:shadow-2xs es:shadow-surface-900/2", "es:icon:size-4 es:icon:shrink-0", "es:active:rounded-xl es:active:bg-surface-100 es:active:text-accent-500 es:active:inset-ring-accent-500/30", "es:any-focus:outline-hidden", status !== "dragging" && "es:focus:ring-2 es:focus:ring-accent-500/30 es:focus:inset-ring-accent-500", "es:hover:text-accent-700", status === "dragging" && "es:border-accent-600! es:bg-accent-500! es:text-white! es:shadow-sm es:ring-3 es:shadow-black/5 es:ring-accent-500/50", className),
|
|
23
23
|
ref: handleRef,
|
|
24
24
|
...rest,
|
|
25
25
|
children: children ?? reorderGrabberV
|