@eightshift/ui-components 8.4.0 → 8.5.0-beta.1
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 +8 -0
- package/dist/{Autocomplete-Dqkum3dO.js → Autocomplete-DWofaS1k.js} +3 -3
- package/dist/{Button-DHgs_rCq.js → Button-DcI8gSfH.js} +5 -5
- package/dist/{Dialog-CldDJ_4u.js → Dialog-CSqjSLlO.js} +119 -47
- package/dist/{Disclosure-BHNgL5Is.js → Disclosure-CkaUMe7J.js} +5 -5
- package/dist/{FocusScope-CUuL5wjz.js → FocusScope-DLpr7Rq0.js} +1 -1
- package/dist/{ListBox-CZXso3mJ.js → ListBox-D8_U8eBS.js} +8 -8
- package/dist/{NumberFormatter-Bwdv413k.js → NumberFormatter-BbOYa3Kg.js} +0 -34
- package/dist/{RadioGroup-BTByPMrl.js → RadioGroup-BZkgf6tl.js} +8 -8
- package/dist/{SearchField-DkX1vqMN.js → SearchField-N1nXzeWK.js} +5 -5
- package/dist/{Slider-Dw-JjfLx.js → Slider-Dryu0gH7.js} +7 -7
- package/dist/{VisuallyHidden-ZZwHZDro.js → VisuallyHidden-2DfCzdKo.js} +1 -1
- package/dist/animation-COu1iBGW.js +65 -0
- package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
- 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-ldR_tlvk.js → button-Bp6Gvutm.js} +5 -5
- package/dist/{checkbox-DDyLJRY8.js → checkbox-DfZDR444.js} +7 -7
- package/dist/{color-swatch-DmhdOhe4.js → color-swatch-CEYPwPsn.js} +6 -5
- package/dist/components/animated-visibility/animated-visibility.js +1 -1
- 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 +2 -2
- package/dist/components/draggable/draggable.js +1 -1
- package/dist/components/draggable-list/draggable-list-item.js +1 -1
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/index.js +14 -14
- 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 +1 -1
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/notice/notice.js +1 -1
- package/dist/components/number-picker/number-picker.js +1 -1
- package/dist/components/option-select/option-select.js +2 -2
- package/dist/components/placeholders/file-picker-shell.js +1 -1
- 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 +1 -1
- package/dist/components/repeater/repeater-item.js +1 -1
- package/dist/components/repeater/repeater.js +1 -1
- package/dist/components/responsive/mini-responsive.js +2 -2
- package/dist/components/responsive/responsive-legacy.js +5 -5
- package/dist/components/responsive/responsive.js +3 -3
- package/dist/components/responsive-preview/responsive-preview.js +1 -1
- package/dist/components/select/async-multi-select.js +10 -10
- package/dist/components/select/async-select.js +10 -10
- package/dist/components/select/multi-select.js +11 -11
- package/dist/components/select/shared.js +1 -1
- package/dist/components/select/single-select.js +11 -11
- package/dist/components/slider/column-config-slider.js +4 -4
- package/dist/components/slider/slider.js +5 -5
- package/dist/components/smart-image/smart-image.js +2 -2
- 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/{draggable-oS68xcYX.js → draggable-CE4MJU75.js} +248 -85
- package/dist/{filterDOMProps-CgeMQsGa.js → filterDOMProps-BV6v3Ytq.js} +2 -1
- package/dist/getMetaValue-Cpc6U0mQ.js +18 -0
- package/dist/{gradient-editor-DP8ioFX1.js → gradient-editor-Cdr-8Rgz.js} +8 -8
- package/dist/icons/icon.d.ts +2 -2
- package/dist/icons/icon.js +6 -10
- package/dist/index.js +14 -14
- package/dist/{input-field-C-XvZeCZ.js → input-field-msAE2llt.js} +5 -5
- package/dist/keyboard-DwWaJveG.js +205 -0
- package/dist/{link-input-DdwuqoMg.js → link-input-wXPvMs_J.js} +32 -22
- package/dist/{modal-DZco5MDu.js → modal-hRIfHOS5.js} +82 -34
- package/dist/{number-picker-XqKW0BNi.js → number-picker-CBvcBF-r.js} +5 -5
- package/dist/{react-O71mlJXS.js → react-c-t8odpE.js} +6723 -5493
- package/dist/{shared-YXMIX2ka.js → shared-s7XUBOVx.js} +12 -12
- package/dist/{solid-color-picker-D5LEdmDM.js → solid-color-picker-CDrcphjC.js} +10 -10
- package/dist/{switch-Bo6nmed_.js → switch-bqIILR_c.js} +6 -6
- package/dist/{tabs-DE-qb7Kt.js → tabs-oYIgL_0S.js} +11 -11
- package/dist/{textSelection-C17LWYmO.js → textSelection-BYhA9uWK.js} +1 -1
- package/dist/{toggle-button-Cb4yCEua.js → toggle-button-BrQCdMsy.js} +6 -6
- package/dist/{tooltip-CT-vzIdz.js → tooltip-C80k6UfC.js} +5 -5
- package/dist/{useButton-V65TBDGM.js → useButton-BO_4n6_e.js} +3 -3
- package/dist/{useCollection-DqUS7tjk.js → useCollection-BVUc8URe.js} +17 -7
- package/dist/{useEvent-C9zwSNzZ.js → useEvent-5yhOs2HC.js} +1 -1
- package/dist/{useFilter-C75IzdIZ.js → useFilter-Yp-QyW1S.js} +1 -1
- package/dist/{useFocusRing-JidySWlU.js → useFocusRing-DxPoGWMJ.js} +1 -1
- package/dist/{useFormReset-Sp8-miDa.js → useFormReset-DFy_BhX1.js} +1 -1
- package/dist/{useFormValidation-CpmQEh8J.js → useFormValidation-CZPIMeNw.js} +1 -1
- package/dist/{useHover-CaY3sRjL.js → useHover-DgudzTcf.js} +54 -90
- package/dist/{useListState-CzB3v6M9.js → useListState-DTn91yqB.js} +1 -1
- package/dist/{useNumberFieldState-DC3XY3DQ.js → useNumberFieldState-D-Bsp98Z.js} +10 -10
- package/dist/{useNumberFormatter-DbAt_fC_.js → useNumberFormatter-DNUGdm93.js} +1 -1
- package/dist/{useOverlayTriggerState-BKmSTK_5.js → useOverlayTriggerState-uzs8mam6.js} +2 -2
- package/dist/{usePress-CUCWcP-m.js → usePress-BpGYwCwy.js} +3 -18
- package/dist/{useTextField-C3QIkMON.js → useTextField-C9dxy3po.js} +5 -5
- package/dist/{useToggle-bbGRUbo4.js → useToggle-CudcGIyz.js} +5 -5
- package/dist/{useToggleState-D_rLMrVW.js → useToggleState-CYfSFy4b.js} +1 -1
- package/package.json +29 -21
- package/dist/animation-COc9P6ap.js +0 -60
- package/dist/keyboard-Cdqi5ZQQ.js +0 -55
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-DWofaS1k.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-BVUc8URe.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DcI8gSfH.js";
|
|
6
|
+
import { O as $53e61d82d8b8611d$export$8b251419efc915eb, d as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CSqjSLlO.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C9dxy3po.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-s7XUBOVx.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-D8_U8eBS.js";
|
|
10
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-N1nXzeWK.js";
|
|
11
11
|
import { t as $c73d3f3d5ec90946$export$bc3384a35de93d66 } from "../../useAsyncList-CjKVLGN0.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
@@ -203,7 +203,7 @@ var AsyncSelect = (props) => {
|
|
|
203
203
|
subtitleClassName: "es:line-clamp-1"
|
|
204
204
|
});
|
|
205
205
|
} }), jsxs("div", {
|
|
206
|
-
className: clsx("es:absolute es:
|
|
206
|
+
className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
|
|
207
207
|
"aria-hidden": "true",
|
|
208
208
|
children: [!customDropdownArrow ? cloneElement(dropdownCaret, { className: "es:w-4 es:stroke-[1.2] es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200" }) : null, customDropdownArrow ? jsx("div", {
|
|
209
209
|
"aria-hidden": "true",
|
|
@@ -231,7 +231,7 @@ var AsyncSelect = (props) => {
|
|
|
231
231
|
}), jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
232
232
|
slot: "clear",
|
|
233
233
|
"aria-label": __("Clear", "eightshift-ui-components"),
|
|
234
|
-
className: clsx("es:absolute es:right-3 es:
|
|
234
|
+
className: clsx("es:absolute es:right-3 es:inset-y-0 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:any-focus:outline-hidden es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300", "es:peer-placeholder-shown:opacity-0"),
|
|
235
235
|
children: clearAlt
|
|
236
236
|
})]
|
|
237
237
|
}),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-DWofaS1k.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-BVUc8URe.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-
|
|
11
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DcI8gSfH.js";
|
|
6
|
+
import { O as $53e61d82d8b8611d$export$8b251419efc915eb, d as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CSqjSLlO.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C9dxy3po.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-s7XUBOVx.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-D8_U8eBS.js";
|
|
10
|
+
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-Yp-QyW1S.js";
|
|
11
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-N1nXzeWK.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
14
14
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
@@ -192,7 +192,7 @@ var MultiSelect = (props) => {
|
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
194
|
}), jsxs("div", {
|
|
195
|
-
className: clsx("es:absolute es:
|
|
195
|
+
className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
|
|
196
196
|
"aria-hidden": "true",
|
|
197
197
|
children: [!customDropdownArrow ? cloneElement(dropdownCaret, { className: "es:w-4 es:stroke-[1.2] es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200" }) : null, customDropdownArrow ? jsx("div", {
|
|
198
198
|
"aria-hidden": "true",
|
|
@@ -262,7 +262,7 @@ var MultiSelect = (props) => {
|
|
|
262
262
|
}), jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
263
263
|
slot: "clear",
|
|
264
264
|
"aria-label": __("Clear", "eightshift-ui-components"),
|
|
265
|
-
className: clsx("es:absolute es:right-3 es:
|
|
265
|
+
className: clsx("es:absolute es:right-3 es:inset-y-0 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:any-focus:outline-hidden es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300", "es:peer-placeholder-shown:opacity-0"),
|
|
266
266
|
children: clearAlt
|
|
267
267
|
})]
|
|
268
268
|
}), jsx($928221da08ecbc62$export$41f133550aa26f48, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getValue, c as isStringValue, i as getOptionKey, l as moveArrayItem, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase } from "../../shared-
|
|
1
|
+
import { a as getValue, c as isStringValue, i as getOptionKey, l as moveArrayItem, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, s as isSelectOption, t as OptionItemBase } from "../../shared-s7XUBOVx.js";
|
|
2
2
|
export { OptionItemBase, SelectClearButton, getGroupedOptions, getOptionKey, getValue, isPrimitive, isSelectOption, isStringValue, moveArrayItem };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-
|
|
3
|
-
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-
|
|
2
|
+
import { t as $4b38b5b75ecc6208$export$2f2b9559550c7bbc } from "../../Autocomplete-DWofaS1k.js";
|
|
3
|
+
import { y as $42ceafc619f9c3ba$export$fb8073518f34e6ec } from "../../useCollection-BVUc8URe.js";
|
|
4
4
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-
|
|
6
|
-
import {
|
|
7
|
-
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-
|
|
8
|
-
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-
|
|
9
|
-
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-
|
|
10
|
-
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-
|
|
11
|
-
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-
|
|
5
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../../Button-DcI8gSfH.js";
|
|
6
|
+
import { O as $53e61d82d8b8611d$export$8b251419efc915eb, d as $542a13ca2fa5b484$export$5b6b19405a83ff9d } from "../../Dialog-CSqjSLlO.js";
|
|
7
|
+
import { r as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../../useTextField-C9dxy3po.js";
|
|
8
|
+
import { c as isStringValue, d as $c8bb816105474884$export$ef9b1a59e592288f, i as getOptionKey, n as SelectClearButton, o as isPrimitive, r as getGroupedOptions, t as OptionItemBase, u as $c8bb816105474884$export$e288731fd71264f0 } from "../../shared-s7XUBOVx.js";
|
|
9
|
+
import { a as $928221da08ecbc62$export$dca12b0bb56e4fc, t as $928221da08ecbc62$export$41f133550aa26f48 } from "../../ListBox-D8_U8eBS.js";
|
|
10
|
+
import { t as $ef182bb9912241d8$export$3274cf84b703fff } from "../../useFilter-Yp-QyW1S.js";
|
|
11
|
+
import { t as $29a5029ff43c9612$export$b94867ecbd698f21 } from "../../SearchField-N1nXzeWK.js";
|
|
12
12
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
13
13
|
import { BaseControl } from "../base-control/base-control.js";
|
|
14
14
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
@@ -161,7 +161,7 @@ var Select = (props) => {
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
}), jsxs("div", {
|
|
164
|
-
className: clsx("es:absolute es:
|
|
164
|
+
className: clsx("es:absolute es:inset-y-0 es:right-3 es:my-auto es:flex es:items-center", disabled ? "es:text-secondary-300" : "es:text-secondary-500"),
|
|
165
165
|
"aria-hidden": "true",
|
|
166
166
|
children: [!customDropdownArrow ? cloneElement(dropdownCaret, { className: "es:w-4 es:stroke-[1.2] es:group-aria-expanded:-scale-y-100 es:transition-transform es:duration-200" }) : null, customDropdownArrow ? jsx("div", {
|
|
167
167
|
"aria-hidden": "true",
|
|
@@ -190,7 +190,7 @@ var Select = (props) => {
|
|
|
190
190
|
}), jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
191
191
|
slot: "clear",
|
|
192
192
|
"aria-label": __("Clear", "eightshift-ui-components"),
|
|
193
|
-
className: clsx("es:absolute es:right-3 es:
|
|
193
|
+
className: clsx("es:absolute es:right-3 es:inset-y-0 es:my-auto es:border-none es:bg-transparent", "es:flex es:size-7 es:items-center es:justify-center es:rounded-3xl es:text-sm es:text-surface-700 es:transition es:hover:bg-accent-50 es:hover:text-accent-800 es:any-focus:outline-hidden es:focus:ring-2 es:focus:ring-accent-500/50 es:disabled:text-secondary-300", "es:peer-placeholder-shown:opacity-0"),
|
|
194
194
|
children: clearAlt
|
|
195
195
|
})]
|
|
196
196
|
}), jsx($928221da08ecbc62$export$41f133550aa26f48, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
3
|
-
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-
|
|
3
|
+
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-Dryu0gH7.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { t as sprintf } from "../../sprintf-xJRAt4p0.js";
|
|
6
6
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
7
7
|
import { chevronLeft } from "../../icons/ui-icons/chevron-left.js";
|
|
8
8
|
import { chevronRight } from "../../icons/ui-icons/chevron-right.js";
|
|
9
|
-
import { n as AnimatePresence, t as motion } from "../../react-
|
|
9
|
+
import { n as AnimatePresence, t as motion } from "../../react-c-t8odpE.js";
|
|
10
10
|
import { getColumnConfigOutputText } from "./utils.js";
|
|
11
11
|
import "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -114,10 +114,10 @@ var ColumnConfigSlider = (props) => {
|
|
|
114
114
|
index,
|
|
115
115
|
"aria-label": thumbLabels[index],
|
|
116
116
|
isDisabled: index === 0 && disableOffset || index === 1 && disableWidth,
|
|
117
|
-
className: clsx("es:static! es:row-span-1 es:row-start-1 es:h-full es:w-1 es:rounded-md es:transition es:duration-300", "es:origin-center", "es:hover:ring-[0.25px] es:focus-visible:ring-[0.5px] es:dragging:ring-[1px] es:ring-accent-500", "es:transform-none!", "es:dragging:
|
|
117
|
+
className: clsx("es:static! es:row-span-1 es:row-start-1 es:h-full es:w-1 es:rounded-md es:transition es:duration-300", "es:origin-center", "es:hover:ring-[0.25px] es:focus-visible:ring-[0.5px] es:dragging:ring-[1px] es:ring-accent-500", "es:transform-none!", "es:dragging:bg-accent-600 es:disabled:bg-secondary-400", "es:focus-visible:outline-2 es:outline-offset-2 es:outline-accent-500/40", "es:bg-accent-500", "es:hover:ring-accent-600", "es:dragging:bg-accent-600 es:dragging:ring-accent-600", !disabled && "es:hover:not-dragging:cursor-grab", index === 0 && disableOffset && "es:hidden", index === 1 && disableWidth && "es:hidden", index === 0 && startValue === 1 && "es:justify-self-start", index === 0 && startValue > 1 && "es:justify-self-center", index === 1 && endValue < columns && "es:justify-self-center", index === 1 && endValue === columns && "es:justify-self-end", !flat && !disabled && "es:shadow-xs es:shadow-black/5"),
|
|
118
118
|
style: { gridColumn },
|
|
119
119
|
children: jsx(AnimatePresence, { children: index === state.focusedThumb ? jsxs(motion.div, {
|
|
120
|
-
className: clsx("es:absolute es:bottom-12 es:w-fit es:min-w-5 es:h-6 es:text-nowrap es:-translate-x-1/2", "es:bg-surface-50/80 es:text-surface-700", "es:backdrop-blur-xs", "es:text-12 es:leading-none", "es:py-1 es:px-2 es:rounded-lg", "es:text-center", "es:line-clamp-1", "es:flex es:items-center es:justify-center es:gap-1", "es:shadow", showOuterAsGutter && "es:icon:size-2 es:icon:stroke-3"),
|
|
120
|
+
className: clsx("es:absolute es:bottom-12 es:w-fit es:min-w-5 es:h-6 es:text-nowrap es:-translate-x-1/2", "es:bg-surface-50/80 es:text-surface-700", "es:backdrop-blur-xs", "es:text-12 es:leading-none", "es:py-1 es:px-2 es:rounded-lg", "es:text-center", "es:line-clamp-1", "es:flex es:items-center es:justify-center es:gap-1", "es:shadow-sm", showOuterAsGutter && "es:icon:size-2 es:icon:stroke-3"),
|
|
121
121
|
initial: {
|
|
122
122
|
y: 2,
|
|
123
123
|
opacity: 0,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
3
|
-
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-
|
|
4
|
-
import { t as NumberPicker } from "../../number-picker-
|
|
3
|
+
import { i as $806e559d0c2c64a0$export$472062a354075cee, o as $806e559d0c2c64a0$export$a590f758a961cb5b, r as $806e559d0c2c64a0$export$2c1b491743890dec, t as $806e559d0c2c64a0$export$105594979f116971 } from "../../Slider-Dryu0gH7.js";
|
|
4
|
+
import { t as NumberPicker } from "../../number-picker-CBvcBF-r.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
6
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
7
7
|
import { HStack } from "../layout/hstack.js";
|
|
8
|
-
import { n as AnimatePresence, t as motion } from "../../react-
|
|
8
|
+
import { n as AnimatePresence, t as motion } from "../../react-c-t8odpE.js";
|
|
9
9
|
import { generateGridTemplate, generateMarkers } from "./utils.js";
|
|
10
10
|
import { useState } from "react";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -135,13 +135,13 @@ var Slider = (props) => {
|
|
|
135
135
|
onHoverStart: () => setHoveredThumbs((previous) => [...previous, index]),
|
|
136
136
|
onHoverEnd: () => setHoveredThumbs((previous) => previous.filter((entry) => entry !== index)),
|
|
137
137
|
"aria-label": thumbLabels?.[index],
|
|
138
|
-
className: clsx(!vertical && ["es:h-10 es:w-0.75", "es:row-1"], vertical && ["es:w-10 es:h-0.75", "es:col-1"], "es:z-20", "es:static! es:rounded-md es:transition es:duration-300", "es:origin-center", "es:hover:ring-[0.25px] es:focus-visible:ring-[0.5px] es:dragging:ring-[1px] es:ring-accent-500", "es:transform-none!", "es:dragging:
|
|
138
|
+
className: clsx(!vertical && ["es:h-10 es:w-0.75", "es:row-1"], vertical && ["es:w-10 es:h-0.75", "es:col-1"], "es:z-20", "es:static! es:rounded-md es:transition es:duration-300", "es:origin-center", "es:hover:ring-[0.25px] es:focus-visible:ring-[0.5px] es:dragging:ring-[1px] es:ring-accent-500", "es:transform-none!", "es:dragging:bg-accent-600 es:disabled:bg-secondary-400", "es:focus-visible:outline-2 es:outline-offset-2 es:outline-accent-500/40", "es:bg-accent-500", "es:hover:ring-accent-600", "es:dragging:bg-accent-600 es:dragging:ring-accent-600", !disabled && "es:hover:not-dragging:cursor-grab", "es:justify-self-center", !flat && !disabled && "es:shadow-xs es:shadow-black/5"),
|
|
139
139
|
style: {
|
|
140
140
|
gridColumn: vertical ? void 0 : markerIndices[index],
|
|
141
141
|
gridRow: vertical ? markerIndices[index] : void 0
|
|
142
142
|
},
|
|
143
143
|
children: [thumbContent ? thumbContent(index) : null, jsx(AnimatePresence, { children: state.focusedThumb === index || hoveredThumbs.includes(index) ? jsx(motion.div, {
|
|
144
|
-
className: clsx("es:absolute es:text-nowrap es:w-fit es:min-w-5 es:h-6", !vertical && "es:bottom-12 es:-translate-x-1/2", vertical && "es:left-12 es:-translate-y-1/2", "es:bg-surface-50/80 es:text-surface-700", "es:backdrop-blur-xs", "es:text-12 es:leading-none", "es:py-1 es:px-2 es:rounded-lg", "es:text-center", "es:line-clamp-1", "es:flex es:items-center es:justify-center es:gap-1", "es:shadow", "es:icon:size-2 es:icon:stroke-3"),
|
|
144
|
+
className: clsx("es:absolute es:text-nowrap es:w-fit es:min-w-5 es:h-6", !vertical && "es:bottom-12 es:-translate-x-1/2", vertical && "es:left-12 es:-translate-y-1/2", "es:bg-surface-50/80 es:text-surface-700", "es:backdrop-blur-xs", "es:text-12 es:leading-none", "es:py-1 es:px-2 es:rounded-lg", "es:text-center", "es:line-clamp-1", "es:flex es:items-center es:justify-center es:gap-1", "es:shadow-sm", "es:icon:size-2 es:icon:stroke-3"),
|
|
145
145
|
initial: {
|
|
146
146
|
y: 2,
|
|
147
147
|
opacity: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as DecorativeTooltip } from "../../tooltip-
|
|
2
|
+
import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
|
|
3
3
|
import { cyrb64Hash } from "../../utilities/hash.js";
|
|
4
4
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
5
5
|
import { imageError } from "../../icons/ui-icons/image-error.js";
|
|
@@ -77,7 +77,7 @@ var SmartImage = (props) => {
|
|
|
77
77
|
const workerRef = useRef(null);
|
|
78
78
|
const lastAnalysisNotificationKeyRef = useRef(null);
|
|
79
79
|
useEffect(() => {
|
|
80
|
-
workerRef.current = new Worker(new URL(
|
|
80
|
+
workerRef.current = new Worker(new URL(new URL("../../assets/image-analysis-worker-CBOB71mx.js", import.meta.url).href, "" + import.meta.url), { type: "module" });
|
|
81
81
|
return () => {
|
|
82
82
|
workerRef.current?.terminate();
|
|
83
83
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../../tabs-
|
|
1
|
+
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../../tabs-oYIgL_0S.js";
|
|
2
2
|
export { Tab, TabList, TabPanel, Tabs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Switch } from "../../switch-
|
|
1
|
+
import { t as Switch } from "../../switch-bqIILR_c.js";
|
|
2
2
|
export { Switch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
3
|
-
import { t as Switch } from "../../switch-
|
|
3
|
+
import { t as Switch } from "../../switch-bqIILR_c.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
1
|
+
import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
|
|
2
2
|
export { ToggleButton };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Tooltip, t as DecorativeTooltip } from "../../tooltip-
|
|
1
|
+
import { n as Tooltip, t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
|
|
2
2
|
export { DecorativeTooltip, Tooltip };
|