@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,11 +1,11 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-DQoRUQAf.js";
|
|
2
2
|
import { h as $c4867b2f328c2698$export$e5c5a5f917a5871c, l as $03e8ab2d84d7657a$export$4338b53315abf666, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
|
|
3
|
-
import { U as $23f2114a1b82827e$export$e58f029f0fbfdb29, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, z as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useHover-
|
|
3
|
+
import { U as $23f2114a1b82827e$export$e58f029f0fbfdb29, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, z as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useHover-DgudzTcf.js";
|
|
4
4
|
import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
|
|
5
|
-
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-
|
|
6
|
-
import { a as $6c0095e7e99364f2$export$c17561cb55d4db30, n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-
|
|
7
|
-
import { i as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-
|
|
8
|
-
import { n as Tooltip } from "./tooltip-
|
|
5
|
+
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BV6v3Ytq.js";
|
|
6
|
+
import { a as $6c0095e7e99364f2$export$c17561cb55d4db30, n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-DcI8gSfH.js";
|
|
7
|
+
import { i as $535772f9d2c1f38d$export$c5251b9e124bf29 } from "./FocusScope-DLpr7Rq0.js";
|
|
8
|
+
import { n as Tooltip } from "./tooltip-C80k6UfC.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";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "./components/animated-visibility/animated-visibility.js";
|
|
3
3
|
import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, d as $4064df0d6f9620e1$export$c9058316764c140e, l as $03e8ab2d84d7657a$export$4338b53315abf666, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
|
|
4
|
-
import { t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-
|
|
5
|
-
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-
|
|
6
|
-
import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-
|
|
4
|
+
import { t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-DgudzTcf.js";
|
|
5
|
+
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BV6v3Ytq.js";
|
|
6
|
+
import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-DxPoGWMJ.js";
|
|
7
7
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "./Label-C4bJkVti.js";
|
|
8
|
-
import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-
|
|
9
|
-
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$a763b9476acd3eb, r as $fd2148440a13ec26$export$dad6ae84456c676a } from "./useFormValidation-
|
|
8
|
+
import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-2DfCzdKo.js";
|
|
9
|
+
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$a763b9476acd3eb, r as $fd2148440a13ec26$export$dad6ae84456c676a } from "./useFormValidation-CZPIMeNw.js";
|
|
10
10
|
import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BWMVEpwR.js";
|
|
11
|
-
import { t as $876b6f32ca5a04c3$export$cbe85ee05b554577 } from "./useToggle-
|
|
12
|
-
import { t as $fd3c5e01e837dc20$export$8042c6c013fd5226 } from "./useToggleState-
|
|
11
|
+
import { t as $876b6f32ca5a04c3$export$cbe85ee05b554577 } from "./useToggle-CudcGIyz.js";
|
|
12
|
+
import { t as $fd3c5e01e837dc20$export$8042c6c013fd5226 } from "./useToggleState-CYfSFy4b.js";
|
|
13
13
|
import { RichLabel } from "./components/rich-label/rich-label.js";
|
|
14
14
|
import { t as cva } from "./dist-DpXluZqJ.js";
|
|
15
15
|
import { check } from "./icons/ui-icons/check.js";
|
|
@@ -2,8 +2,8 @@ import { t as clsx } from "./clsx-DQoRUQAf.js";
|
|
|
2
2
|
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
|
|
3
3
|
import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
|
|
4
4
|
import { n as $b27c684a33948c64$export$2f817fcdc4b89ae0, r as $a747a10fe70a57da$export$c17fa47878dc55b6, t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CTCqjYu4.js";
|
|
5
|
-
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-
|
|
6
|
-
import { t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-
|
|
5
|
+
import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-BV6v3Ytq.js";
|
|
6
|
+
import { t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-BbOYa3Kg.js";
|
|
7
7
|
import { n as $240e9101ba2842f5$export$b6268554fba451f, t as $240e9101ba2842f5$export$7d15b64cf5a3a4c4 } from "./number-BeC0ySe4.js";
|
|
8
8
|
import { t as __ } from "./build-module-BISCoQjQ.js";
|
|
9
9
|
import $3ARPR$react, { createContext, forwardRef, useMemo } from "react";
|
|
@@ -2029,9 +2029,10 @@ var $890783418b00a858$var$RGBColor = class $890783418b00a858$var$RGBColor extend
|
|
|
2029
2029
|
}
|
|
2030
2030
|
const match = value.match(/^rgba?\((.*)\)$/);
|
|
2031
2031
|
if (match?.[1]) {
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2032
|
+
const parts = match[1].split(",").map((value) => value.trim());
|
|
2033
|
+
if (parts.some((part) => part === "" || !Number.isFinite(Number(part)))) return void 0;
|
|
2034
|
+
colors = parts.map((part, i) => {
|
|
2035
|
+
return $240e9101ba2842f5$export$7d15b64cf5a3a4c4(Number(part), 0, i < 3 ? 255 : 1);
|
|
2035
2036
|
});
|
|
2036
2037
|
}
|
|
2037
2038
|
if (colors[0] === void 0 || colors[1] === void 0 || colors[2] === void 0) return void 0;
|
|
@@ -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-spring-snappy es:motion-ease-linear/opacity", !decreaseBounce && "es:motion-ease-spring-bouncy es:motion-ease-linear/opacity", "es:fill-mode
|
|
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-spring-snappy es:motion-ease-linear/opacity", !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);
|
|
@@ -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-Bp6Gvutm.js";
|
|
2
2
|
export { Button, ButtonGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Checkbox } from "../../checkbox-
|
|
1
|
+
import { t as Checkbox } from "../../checkbox-DfZDR444.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-CEYPwPsn.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-CEYPwPsn.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-Cdr-8Rgz.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-CDrcphjC.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-bqIILR_c.js";
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
|
|
5
|
+
import { n as ButtonGroup } from "../../button-Bp6Gvutm.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
|
-
import { n as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "../../Disclosure-
|
|
3
|
-
import { t as Switch } from "../../switch-
|
|
4
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { n as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "../../Disclosure-CkaUMe7J.js";
|
|
3
|
+
import { t as Switch } from "../../switch-bqIILR_c.js";
|
|
4
|
+
import { t as Button } from "../../button-Bp6Gvutm.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,7 +65,7 @@ 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:pl-4 es:pr-3 es:min-h-12", !(closable || onUseChange) && "es:
|
|
68
|
+
labelContainerClassName: clsx((closable || onUseChange) && "es:pl-4 es:pr-3 es:min-h-12", !(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, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../../Dialog-
|
|
3
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../../Dialog-CSqjSLlO.js";
|
|
3
|
+
import { t as Button } from "../../button-Bp6Gvutm.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";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Draggable } from "../../draggable-
|
|
1
|
+
import { t as Draggable } from "../../draggable-CE4MJU75.js";
|
|
2
2
|
export { Draggable };
|
|
@@ -50,7 +50,7 @@ var DraggableListItem = (props) => {
|
|
|
50
50
|
var DraggableListItemHandle = (props) => {
|
|
51
51
|
const { className, children, ...rest } = props;
|
|
52
52
|
return jsx("button", {
|
|
53
|
-
className: className ?? "es:relative es:h-6 es:w-2 es:items-center es:justify-center es:self-center es:rounded es:border es:border-secondary-300 es:bg-secondary-50 es:transition es:after:absolute es:after:inset-0 es:after:m-auto es:after:h-4 es:after:w-px es:after:bg-secondary-200 es:after:transition es:after:content-[\"\"] es:hover:border-accent-500 es:hover:bg-accent-400 es:hover:after:bg-accent-500",
|
|
53
|
+
className: className ?? "es:relative es:h-6 es:w-2 es:items-center es:justify-center es:self-center es:rounded-sm es:border es:border-secondary-300 es:bg-secondary-50 es:transition es:after:absolute es:after:inset-0 es:after:m-auto es:after:h-4 es:after:w-px es:after:bg-secondary-200 es:after:transition es:after:content-[\"\"] es:hover:border-accent-500 es:hover:bg-accent-400 es:hover:after:bg-accent-500",
|
|
54
54
|
...rest,
|
|
55
55
|
"data-movable-handle": true,
|
|
56
56
|
tabIndex: -1,
|
|
@@ -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
3
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
4
|
-
import { n as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "../../Disclosure-
|
|
5
|
-
import { t as Button } from "../../button-
|
|
4
|
+
import { n as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "../../Disclosure-CkaUMe7J.js";
|
|
5
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
6
6
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
7
7
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
8
8
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
package/dist/components/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AnimatedVisibility } from "./animated-visibility/animated-visibility.js";
|
|
2
|
-
import { t as LinkInput } from "../link-input-
|
|
3
|
-
import { t as Checkbox } from "../checkbox-
|
|
4
|
-
import { t as SolidColorPicker } from "../solid-color-picker-
|
|
5
|
-
import { t as ColorSwatch } from "../color-swatch-
|
|
6
|
-
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../tabs-
|
|
7
|
-
import { n as Tooltip, t as DecorativeTooltip } from "../tooltip-
|
|
8
|
-
import { t as Modal } from "../modal-
|
|
9
|
-
import { t as NumberPicker } from "../number-picker-
|
|
10
|
-
import { t as Switch } from "../switch-
|
|
11
|
-
import { t as InputField } from "../input-field-
|
|
12
|
-
import { t as ToggleButton } from "../toggle-button-
|
|
13
|
-
import { n as ButtonGroup, t as Button } from "../button-
|
|
2
|
+
import { t as LinkInput } from "../link-input-wXPvMs_J.js";
|
|
3
|
+
import { t as Checkbox } from "../checkbox-DfZDR444.js";
|
|
4
|
+
import { t as SolidColorPicker } from "../solid-color-picker-CDrcphjC.js";
|
|
5
|
+
import { t as ColorSwatch } from "../color-swatch-CEYPwPsn.js";
|
|
6
|
+
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../tabs-oYIgL_0S.js";
|
|
7
|
+
import { n as Tooltip, t as DecorativeTooltip } from "../tooltip-C80k6UfC.js";
|
|
8
|
+
import { t as Modal } from "../modal-hRIfHOS5.js";
|
|
9
|
+
import { t as NumberPicker } from "../number-picker-CBvcBF-r.js";
|
|
10
|
+
import { t as Switch } from "../switch-bqIILR_c.js";
|
|
11
|
+
import { t as InputField } from "../input-field-msAE2llt.js";
|
|
12
|
+
import { t as ToggleButton } from "../toggle-button-BrQCdMsy.js";
|
|
13
|
+
import { n as ButtonGroup, t as Button } from "../button-Bp6Gvutm.js";
|
|
14
14
|
import { RichLabel } from "./rich-label/rich-label.js";
|
|
15
15
|
import { BaseControl } from "./base-control/base-control.js";
|
|
16
16
|
import { BreakpointPreview } from "./breakpoint-preview/breakpoint-preview.js";
|
|
@@ -28,12 +28,12 @@ import { ContextualHelp } from "./contextual-help/contextual-help.js";
|
|
|
28
28
|
import { DraggableList } from "./draggable-list/draggable-list.js";
|
|
29
29
|
import { DraggableListItem, DraggableListItemHandle } from "./draggable-list/draggable-list-item.js";
|
|
30
30
|
import { DraggableContext } from "./draggable/draggable-context.js";
|
|
31
|
-
import { t as Draggable } from "../draggable-
|
|
31
|
+
import { t as Draggable } from "../draggable-CE4MJU75.js";
|
|
32
32
|
import { DraggableHandle } from "./draggable/draggable-handle.js";
|
|
33
33
|
import { SmartImage } from "./smart-image/smart-image.js";
|
|
34
34
|
import { FilePickerShell } from "./placeholders/file-picker-shell.js";
|
|
35
35
|
import { FilePlaceholder } from "./placeholders/file-placeholder.js";
|
|
36
|
-
import { t as GradientEditor } from "../gradient-editor-
|
|
36
|
+
import { t as GradientEditor } from "../gradient-editor-Cdr-8Rgz.js";
|
|
37
37
|
import { MatrixAlign } from "./matrix-align/matrix-align.js";
|
|
38
38
|
import { RadioButton, RadioButtonGroup } from "./radio/radio.js";
|
|
39
39
|
import { OptionSelect } from "./option-select/option-select.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as InputField } from "../../input-field-
|
|
1
|
+
import { t as InputField } from "../../input-field-msAE2llt.js";
|
|
2
2
|
export { InputField };
|
|
@@ -17,7 +17,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
17
17
|
var VStack = ({ children, noWrap, className, hidden, as }) => {
|
|
18
18
|
if (hidden) return null;
|
|
19
19
|
return jsx(as ?? "div", {
|
|
20
|
-
className: clsx("es:flex es:flex-col es:gap-
|
|
20
|
+
className: clsx("es:flex es:flex-col es:gap-1.5 ", !noWrap && "es:flex-wrap", className),
|
|
21
21
|
children
|
|
22
22
|
});
|
|
23
23
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as LinkInput } from "../../link-input-
|
|
1
|
+
import { t as LinkInput } from "../../link-input-wXPvMs_J.js";
|
|
2
2
|
export { LinkInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { n as $fe21c36db05242bb$export$d7b12c4107be0d61, t as $fe21c36db05242bb$export$a98f0dcb43a68a25 } from "../../RadioGroup-
|
|
2
|
+
import { n as $fe21c36db05242bb$export$d7b12c4107be0d61, t as $fe21c36db05242bb$export$a98f0dcb43a68a25 } from "../../RadioGroup-BZkgf6tl.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { f as upperFirst, t as camelCase } from "../../es-dash-DPtJSRjw.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { E as $e28ab3efe3e87743$export$1ff3c3f08ae963c0, a as $49319ee1285aa241$export$27d2ad3c5815583e, c as $49319ee1285aa241$export$d9b273488cd8ce6f, l as $49319ee1285aa241$export$ecabc99eeffab7ca, o as $49319ee1285aa241$export$2ce376c2cc3355c8, s as $49319ee1285aa241$export$4b1545b4f2016d26 } from "../../Dialog-CSqjSLlO.js";
|
|
3
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
4
4
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
6
6
|
import { dummySpacer } from "../../icons/ui-icons/dummy-spacer.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Modal } from "../../modal-
|
|
1
|
+
import { t as Modal } from "../../modal-hRIfHOS5.js";
|
|
2
2
|
export { Modal };
|
|
@@ -82,7 +82,7 @@ var Notice = (props) => {
|
|
|
82
82
|
children: label
|
|
83
83
|
}),
|
|
84
84
|
subtitle && jsx("span", {
|
|
85
|
-
className: clsx("es:col-span-2 es:col-start-2 es:text-balance es:text-xs es:
|
|
85
|
+
className: clsx("es:col-span-2 es:col-start-2 es:text-balance es:text-xs es:pt-0.75", "es:font-variation-[\"wdth\"_90,\"wght\"_350,\"slnt\"_-1]", currentStyle.subtitleColorClassName, label ? "es:self-start" : "es:row-span-2 es:self-center-safe"),
|
|
86
86
|
children: subtitle
|
|
87
87
|
})
|
|
88
88
|
]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as NumberPicker } from "../../number-picker-
|
|
1
|
+
import { t as NumberPicker } from "../../number-picker-CBvcBF-r.js";
|
|
2
2
|
export { NumberPicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
2
|
-
import { n as ButtonGroup } from "../../button-
|
|
1
|
+
import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
|
|
2
|
+
import { n as ButtonGroup } from "../../button-Bp6Gvutm.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";
|
|
@@ -70,7 +70,7 @@ var FilePickerShell = (props) => {
|
|
|
70
70
|
!hasError ? image : null,
|
|
71
71
|
hasError ? errorBadge : null,
|
|
72
72
|
children ? jsx("div", {
|
|
73
|
-
className: clsx("es:flex es:items-center-safe es:gap-0.75", "es-button-group-h", !hasError && !isTransparent && "es:absolute es:bottom-2 es:
|
|
73
|
+
className: clsx("es:flex es:items-center-safe es:gap-0.75", "es-button-group-h", !hasError && !isTransparent && "es:absolute es:bottom-2 es:inset-x-2 es:translate-y-[125%] es:group-hover:translate-y-0 es:has-aria-expanded:translate-y-0 es:has-focus-visible:translate-y-0 es:transition-transform es:ease-spring-smooth"),
|
|
74
74
|
children: isRenderFunction(children) ? children({
|
|
75
75
|
dominantColors,
|
|
76
76
|
isDark,
|
|
@@ -40,11 +40,11 @@ var ImagePlaceholder = (props) => {
|
|
|
40
40
|
video: "es:w-full es:aspect-video"
|
|
41
41
|
}[size], className),
|
|
42
42
|
children: [!noImage && jsx("img", {
|
|
43
|
-
className: clsx("es:size-full! es:select-none es:fill-mode
|
|
43
|
+
className: clsx("es:size-full! es:select-none es:[animation-fill-mode:forwards]", imageMode === "cover" && "es:object-cover", imageMode === "contain" && "es:object-contain", imageMode === "fill" && "es:object-fill", hasUrl ? "es:motion-preset-fade-sm es:motion-scale-in-125 es:motion-blur-in-xs es:motion-delay-300/blur es:motion-ease-spring-snappy/scale" : "es:hidden"),
|
|
44
44
|
src: url,
|
|
45
45
|
alt
|
|
46
46
|
}), jsx("div", {
|
|
47
|
-
className: clsx("es:place-self-center es:justify-self-center es:transition es:fill-mode
|
|
47
|
+
className: clsx("es:place-self-center es:justify-self-center es:transition es:[animation-fill-mode:forwards] es:icon:size-7", !hasUrl ? "es:motion-preset-fade-sm es:motion-scale-in-90 es:motion-ease-spring-snappy/scale" : "es:invisible"),
|
|
48
48
|
children: image
|
|
49
49
|
})]
|
|
50
50
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import {
|
|
3
|
-
import { o as $4fcfe18fac72dabd$export$746d02f47f4d381 } from "../../useOverlayTriggerState-
|
|
4
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { d as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../../Dialog-CSqjSLlO.js";
|
|
3
|
+
import { o as $4fcfe18fac72dabd$export$746d02f47f4d381 } from "../../useOverlayTriggerState-uzs8mam6.js";
|
|
4
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
|
+
import { s as isString } from "../../es-dash-DPtJSRjw.js";
|
|
4
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
5
6
|
import { TriggeredPopover } from "../popover/popover.js";
|
|
6
7
|
import { HStack } from "../layout/hstack.js";
|
|
@@ -27,11 +28,12 @@ var PromptPopover = (props) => {
|
|
|
27
28
|
if (hidden) return null;
|
|
28
29
|
const typeClassName = typeClassNames[type];
|
|
29
30
|
const StackComponent = verticalActions ? VStack : HStack;
|
|
31
|
+
const triggerAriaLabel = isString(tooltip) ? tooltip : void 0;
|
|
30
32
|
return jsx(TypedTriggeredPopover, {
|
|
31
33
|
className: "es:w-60! es:p-3!",
|
|
32
34
|
triggerButtonIcon,
|
|
33
35
|
triggerButtonProps: {
|
|
34
|
-
"aria-label":
|
|
36
|
+
"aria-label": triggerAriaLabel,
|
|
35
37
|
tooltip,
|
|
36
38
|
className: typeClassName,
|
|
37
39
|
...triggerButtonProps
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
3
|
import { n as $43a3b93638fe5db9$export$b04be29aa201d4f5 } from "../../Label-C4bJkVti.js";
|
|
4
|
-
import { n as $fe21c36db05242bb$export$d7b12c4107be0d61, t as $fe21c36db05242bb$export$a98f0dcb43a68a25 } from "../../RadioGroup-
|
|
4
|
+
import { n as $fe21c36db05242bb$export$d7b12c4107be0d61, t as $fe21c36db05242bb$export$a98f0dcb43a68a25 } from "../../RadioGroup-BZkgf6tl.js";
|
|
5
5
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { t as cva } from "../../dist-DpXluZqJ.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
|
-
import { t as Button } from "../../button-
|
|
2
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
3
3
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
4
4
|
import { copy } from "../../icons/ui-icons/copy.js";
|
|
5
5
|
import { dropdownCaretAlt } from "../../icons/ui-icons/dropdown-caret-alt.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
3
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
4
4
|
import { BaseControl } from "../base-control/base-control.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
6
6
|
import { add } from "../../icons/ui-icons/add.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
2
|
import { t as $efe09c6d1c304b50$export$5f1af8db9871e1d6 } from "../../Text-CA2_mHEB.js";
|
|
3
|
-
import { t as DecorativeTooltip } from "../../tooltip-
|
|
4
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
3
|
+
import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
|
|
4
|
+
import { n as ButtonGroup, t as Button } from "../../button-Bp6Gvutm.js";
|
|
5
5
|
import { BaseControl } from "../base-control/base-control.js";
|
|
6
6
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
7
7
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
@@ -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 DecorativeTooltip } from "../../tooltip-
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { t as Button } from "../../button-
|
|
3
|
+
import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
|
|
5
|
+
import { t as Button } from "../../button-Bp6Gvutm.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
8
8
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
@@ -118,7 +118,7 @@ var ResponsiveLegacy = (props) => {
|
|
|
118
118
|
]
|
|
119
119
|
}),
|
|
120
120
|
children: jsx("div", {
|
|
121
|
-
className: "es:flex es:size-7 es:items-center es:justify-center es:rounded es:border es:border-accent-500/10 es:bg-accent-50 es:p-0.5 es:text-accent-800 es:shadow-sm es:shadow-accent-600/25 es:icon:size-5",
|
|
121
|
+
className: "es:flex es:size-7 es:items-center es:justify-center es:rounded-sm es:border es:border-accent-500/10 es:bg-accent-50 es:p-0.5 es:text-accent-800 es:shadow-sm es:shadow-accent-600/25 es:icon:size-5",
|
|
122
122
|
children: jsx(Icon, {
|
|
123
123
|
icon: `screen${upperFirst(defaultBreakpoint)}`,
|
|
124
124
|
fallback: play
|
|
@@ -242,7 +242,7 @@ var ResponsiveLegacy = (props) => {
|
|
|
242
242
|
]
|
|
243
243
|
}),
|
|
244
244
|
children: jsx("div", {
|
|
245
|
-
className: clsx("es:flex es:size-7 es:items-center es:justify-center es:rounded es:border es:p-0.5 es:shadow-sm es:transition-colors es:icon:size-5", getBreakpointValue(breakpoint) === inheritValue ? "es:border-secondary-200 es:bg-secondary-50 es:text-secondary-700" : "es:border-secondary-100 es:bg-white es:text-secondary-500"),
|
|
245
|
+
className: clsx("es:flex es:size-7 es:items-center es:justify-center es:rounded-sm es:border es:p-0.5 es:shadow-sm es:transition-colors es:icon:size-5", getBreakpointValue(breakpoint) === inheritValue ? "es:border-secondary-200 es:bg-secondary-50 es:text-secondary-700" : "es:border-secondary-100 es:bg-white es:text-secondary-500"),
|
|
246
246
|
children: jsx(Icon, { icon: `screen${upperFirst(breakpoint)}` })
|
|
247
247
|
})
|
|
248
248
|
}),
|
|
@@ -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 DecorativeTooltip } from "../../tooltip-
|
|
4
|
-
import { t as ToggleButton } from "../../toggle-button-
|
|
5
|
-
import { n as ButtonGroup, t as Button } from "../../button-
|
|
3
|
+
import { t as DecorativeTooltip } from "../../tooltip-C80k6UfC.js";
|
|
4
|
+
import { t as ToggleButton } from "../../toggle-button-BrQCdMsy.js";
|
|
5
|
+
import { n as ButtonGroup, t as Button } from "../../button-Bp6Gvutm.js";
|
|
6
6
|
import { BaseControl } from "../base-control/base-control.js";
|
|
7
7
|
import { f as upperFirst } from "../../es-dash-DPtJSRjw.js";
|
|
8
8
|
import { BreakpointPreview } from "../breakpoint-preview/breakpoint-preview.js";
|
|
@@ -73,7 +73,7 @@ var ResponsivePreview = (props) => {
|
|
|
73
73
|
icon: previewResponsive,
|
|
74
74
|
label: __("Breakpoint preview", "eightshift-ui-components")
|
|
75
75
|
}), jsx("span", {
|
|
76
|
-
className: "es:ml-auto es:select-none es:rounded es:bg-secondary-100 es:px-1 es:py-0.5 es:text-xs es:text-secondary-500",
|
|
76
|
+
className: "es:ml-auto es:select-none es:rounded-sm es:bg-secondary-100 es:px-1 es:py-0.5 es:text-xs es:text-secondary-500",
|
|
77
77
|
children: isDesktopFirst ? __("Desktop-first", "eightshift-ui-components") : __("Mobile-first", "eightshift-ui-components")
|
|
78
78
|
})]
|
|
79
79
|
}),
|
|
@@ -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";
|
|
@@ -243,7 +243,7 @@ var AsyncMultiSelect = (props) => {
|
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
}), jsxs("div", {
|
|
246
|
-
className: clsx("es:absolute es:
|
|
246
|
+
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"),
|
|
247
247
|
"aria-hidden": "true",
|
|
248
248
|
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", {
|
|
249
249
|
"aria-hidden": "true",
|
|
@@ -315,7 +315,7 @@ var AsyncMultiSelect = (props) => {
|
|
|
315
315
|
}), jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
316
316
|
slot: "clear",
|
|
317
317
|
"aria-label": __("Clear", "eightshift-ui-components"),
|
|
318
|
-
className: clsx("es:absolute es:right-3 es:
|
|
318
|
+
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"),
|
|
319
319
|
children: clearAlt
|
|
320
320
|
})]
|
|
321
321
|
}),
|