@eightshift/ui-components 8.5.0-beta.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 +3 -1
- package/dist/{button-Bp6Gvutm.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/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 +1 -1
- 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 +1 -1
- 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 +4 -4
- 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-Cdr-8Rgz.js → gradient-editor-D2zB_7Wi.js} +6 -6
- 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-wXPvMs_J.js → link-input-XaVrI3wP.js} +26 -26
- package/dist/{modal-hRIfHOS5.js → modal-BXSwfGkf.js} +5 -5
- package/dist/{number-picker-CBvcBF-r.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-oYIgL_0S.js → tabs-ORp17BEr.js} +25 -25
- package/dist/{toggle-button-BrQCdMsy.js → toggle-button-B0nKYFlk.js} +15 -15
- package/dist/{tooltip-C80k6UfC.js → tooltip-Dxr7aiIX.js} +1 -1
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ 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
4
|
import { n as $a3e16eab0ea4036c$export$feabaa331e1d464c, t as $a3e16eab0ea4036c$export$74a362b31437ec83 } from "../../Disclosure-CkaUMe7J.js";
|
|
5
|
-
import { t as Button } from "../../button-
|
|
5
|
+
import { t as Button } from "../../button-CCtgOh0o.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";
|
|
@@ -36,7 +36,7 @@ var Expandable = (props) => {
|
|
|
36
36
|
className: clsx("es:text-sm", !standalone && "es:group", _noFocusHandling && "", className),
|
|
37
37
|
...other,
|
|
38
38
|
children: [jsxs("div", {
|
|
39
|
-
className: clsx("es:flex es:items-center es:gap-1 es:
|
|
39
|
+
className: clsx("es:flex es:items-center es:gap-1 es:py-1 es:pr-1.25 es:pl-2.5", standalone && "es:rounded-xl", !standalone && "es:rounded-md es:group-first:rounded-t-xl es:group-after-current:rounded-t-xl", "es:inset-ring", "es:inset-shadow-xs", isOpen && "es:bg-surface-100 es:inset-shadow-surface-100/30 es:inset-ring-surface-300/75", isOpen && "es:rounded-t-xl es:rounded-b-md", !isOpen && "es:bg-white es:bg-linear-to-b es:from-secondary-100/5 es:from-25% es:to-secondary-300/10 es:inset-shadow-secondary-200/50 es:inset-ring-secondary-300/45", !isOpen && !standalone && "es:rounded-b-md es:group-last:rounded-b-xl es:group-before-current:rounded-b-xl", !flat && "es:shadow-xs es:shadow-black/5", "es:transition-plus es:duration-200 es:motion-ease-spring-bouncy", headerClassName),
|
|
40
40
|
...headerProps,
|
|
41
41
|
children: [
|
|
42
42
|
jsx(RichLabel, {
|
|
@@ -48,14 +48,14 @@ var Expandable = (props) => {
|
|
|
48
48
|
}),
|
|
49
49
|
actions && !keepActionsOnExpand ? jsx(AnimatedVisibility, {
|
|
50
50
|
visible: !isOpen,
|
|
51
|
-
className: "es:flex es:
|
|
51
|
+
className: "es:flex es:shrink-0 es:gap-1",
|
|
52
52
|
transition: "scaleFade",
|
|
53
53
|
decreaseBounce: true,
|
|
54
54
|
noInitial: true,
|
|
55
55
|
children: actions
|
|
56
56
|
}) : null,
|
|
57
57
|
actions && keepActionsOnExpand ? jsx("div", {
|
|
58
|
-
className: "es:flex es:
|
|
58
|
+
className: "es:flex es:shrink-0 es:gap-1",
|
|
59
59
|
children: actions
|
|
60
60
|
}) : null,
|
|
61
61
|
customOpenButton ? customOpenButton({
|
|
@@ -71,12 +71,12 @@ var Expandable = (props) => {
|
|
|
71
71
|
onPress: toggleOpen,
|
|
72
72
|
tooltip: isOpen ? __("Close", "eightshift-ui-components") : __("Open", "eightshift-ui-components"),
|
|
73
73
|
disabled,
|
|
74
|
-
className: clsx("es:
|
|
74
|
+
className: clsx("es:duration-400 es:ease-spring-bouncier es:icon:transition-plus", isOpen && "es:icon:-scale-y-100 es:icon:text-surface-600", !isOpen && "es:icon:text-secondary-500"),
|
|
75
75
|
size: "small"
|
|
76
76
|
}) : null
|
|
77
77
|
]
|
|
78
78
|
}), jsx($a3e16eab0ea4036c$export$feabaa331e1d464c, {
|
|
79
|
-
className: clsx("es:h-(--disclosure-panel-height)", "es
|
|
79
|
+
className: clsx("es:h-(--disclosure-panel-height)", "es:-translate-y-2 es:opacity-0", !isOpen && "es:rounded-t-xl", isOpen && "es:mb-1 es:translate-y-1 es:rounded-t-md es:opacity-100 es:*:motion-preset-fade-sm es:*:motion-delay-75", "es:origin-top", "es:rounded-b-xl es:bg-white es:inset-ring es:inset-ring-surface-200", "es:inset-shadow-sm es:inset-shadow-accent-600/5", !flat && "es:shadow-xs es:shadow-black/5", "es:transition-plus-h", contentClassName),
|
|
80
80
|
children: jsx("div", {
|
|
81
81
|
className: clsx("es:flex es:flex-col es:gap-2.5 es:px-3 es:py-3.5", contentWrapClassName),
|
|
82
82
|
children
|
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-XaVrI3wP.js";
|
|
3
|
+
import { t as Checkbox } from "../checkbox-d1lNvf65.js";
|
|
4
|
+
import { t as SolidColorPicker } from "../solid-color-picker-1QabIOpX.js";
|
|
5
|
+
import { t as ColorSwatch } from "../color-swatch-BstCWUIZ.js";
|
|
6
|
+
import { i as Tabs, n as TabList, r as TabPanel, t as Tab } from "../tabs-ORp17BEr.js";
|
|
7
|
+
import { n as Tooltip, t as DecorativeTooltip } from "../tooltip-Dxr7aiIX.js";
|
|
8
|
+
import { t as Modal } from "../modal-BXSwfGkf.js";
|
|
9
|
+
import { t as NumberPicker } from "../number-picker-DLLqEAsq.js";
|
|
10
|
+
import { t as Switch } from "../switch-CfgDFjqQ.js";
|
|
11
|
+
import { t as InputField } from "../input-field-DVNpRfYE.js";
|
|
12
|
+
import { t as ToggleButton } from "../toggle-button-B0nKYFlk.js";
|
|
13
|
+
import { n as ButtonGroup, t as Button } from "../button-CCtgOh0o.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";
|
|
@@ -33,7 +33,7 @@ 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-D2zB_7Wi.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-DVNpRfYE.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-1.5
|
|
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-XaVrI3wP.js";
|
|
2
2
|
export { LinkInput };
|
|
@@ -98,22 +98,22 @@ var MatrixAlign = (props) => {
|
|
|
98
98
|
},
|
|
99
99
|
wrapperClassName: "es:from-surface-300/30 es:to-surface-300/30 es:p-0.5",
|
|
100
100
|
children: [jsx("div", {
|
|
101
|
-
className: "es:bg-accent-50/60 es:inset-ring es:inset-ring-accent-800/3
|
|
101
|
+
className: "es:rounded-t-xl es:rounded-b-md es:bg-accent-50/60 es:inset-ring es:inset-ring-accent-800/3",
|
|
102
102
|
children: jsx($fe21c36db05242bb$export$a98f0dcb43a68a25, {
|
|
103
103
|
"aria-label": isStringValue(tooltip) ? tooltip : __("Position", "eightshift-ui-components"),
|
|
104
104
|
value,
|
|
105
105
|
onChange,
|
|
106
106
|
orientation: "horizontal",
|
|
107
|
-
className: clsx("es:
|
|
107
|
+
className: clsx("es:mx-auto es:grid es:w-fit es:gap-1", size === "2x2" && "es:grid-cols-2 es:p-5", size === "3x3" && "es:grid-cols-3 es:p-3"),
|
|
108
108
|
children: sizeOptions.map(({ value: itemValue, label: itemLabel }) => jsx($fe21c36db05242bb$export$d7b12c4107be0d61, {
|
|
109
109
|
"aria-label": itemLabel,
|
|
110
110
|
autoFocus: itemValue === value,
|
|
111
111
|
value: itemValue,
|
|
112
|
-
className: ({ isSelected }) => clsx("es:size-6 es:rounded-sm es:transition-plus es:ease-spring-bouncy es:
|
|
112
|
+
className: ({ isSelected }) => clsx("es:size-6 es:rounded-sm es:inset-ring es:transition-plus es:ease-spring-bouncy es:pressed:scale-90", isSelected && "es:rounded-xl es:bg-accent-500 es:bg-linear-to-b es:from-accent-700/5 es:from-25% es:to-accent-700/30 es:shadow-xs es:inset-shadow-sm es:shadow-black/10 es:inset-shadow-accent-50/25 es:inset-ring-accent-700", !isSelected && "es:bg-surface-300 es:inset-ring-surface-400/20 es:hover:rounded-md es:hover:bg-surface-400 es:focus-visible:rounded-lg es:pressed:rounded-xl")
|
|
113
113
|
}, itemValue))
|
|
114
114
|
})
|
|
115
115
|
}), jsx("div", {
|
|
116
|
-
className: "es:
|
|
116
|
+
className: "es:pt-1.5 es:pb-1 es:text-center es:text-12 es:text-surface-600",
|
|
117
117
|
children: currentItemLabel
|
|
118
118
|
})]
|
|
119
119
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as clsx } from "../../clsx-DQoRUQAf.js";
|
|
2
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-
|
|
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 { dummySpacer } from "../../icons/ui-icons/dummy-spacer.js";
|
|
@@ -133,7 +133,7 @@ var MenuSection = (props) => {
|
|
|
133
133
|
* @see {@link Menu} for usage example.
|
|
134
134
|
*/
|
|
135
135
|
var MenuSeparator = ({ className }) => {
|
|
136
|
-
return jsx($e28ab3efe3e87743$export$1ff3c3f08ae963c0, { className: clsx("es:my-1.5 es:w-fill es:
|
|
136
|
+
return jsx($e28ab3efe3e87743$export$1ff3c3f08ae963c0, { className: clsx("es:-mx-1.5 es:my-1.5 es:h-px es:w-fill es:rounded-full es:bg-surface-500/15", className) });
|
|
137
137
|
};
|
|
138
138
|
/**
|
|
139
139
|
* A menu item.
|
|
@@ -156,7 +156,7 @@ var MenuItem = (props) => {
|
|
|
156
156
|
...other,
|
|
157
157
|
"aria-label": ariaLabel,
|
|
158
158
|
isDisabled: disabled,
|
|
159
|
-
className: clsx("es:flex es:min-
|
|
159
|
+
className: clsx("es:flex es:min-h-10 es:min-w-44 es:items-center es:gap-1.5", "es:rounded-xl es:px-3 es:py-1 es:text-sm es:transition es:select-none", "es:any-focus:outline-hidden", "es:icon:shrink-0", !disabled && "es:inset-ring-0", !disabled && "es:focus-visible:inset-ring", !disabled && !(danger || primary) && "es:hover:bg-surface-600/5 es:focus-visible:bg-secondary-950/5 es:focus-visible:inset-ring-secondary-950/10 es:contrast-more:focus-visible:bg-accent-800", !disabled && danger && "es:hover:bg-red-500/5 es:hover:text-red-900 es:focus-visible:bg-red-600/5 es:focus-visible:text-red-950 es:focus-visible:inset-ring-red-600/30 es:contrast-more:focus-visible:bg-red-800", !disabled && primary && "es:hover:bg-accent-600/6 es:hover:text-accent-900 es:focus-visible:bg-accent-600/5 es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-600/20 es:contrast-more:focus-visible:bg-accent-700", !disabled && "es:contrast-more:focus-visible:text-white! es:contrast-more:focus-visible:icon:text-white!", disabled ? "es:text-surface-400" : "es:text-surface-700", className),
|
|
160
160
|
onAction: onClick,
|
|
161
161
|
onClick: onClickNative,
|
|
162
162
|
children: [
|
|
@@ -168,7 +168,7 @@ var MenuItem = (props) => {
|
|
|
168
168
|
noColor: true
|
|
169
169
|
}),
|
|
170
170
|
shortcut ? jsx("div", {
|
|
171
|
-
className: "es:ml-auto es:pl-2 es:text-[0.6875rem] es:tracking-tight es:text-surface-400 es:contrast-more:text-current
|
|
171
|
+
className: "es:ml-auto es:shrink-0 es:pl-2 es:text-[0.6875rem] es:tracking-tight es:text-surface-400 es:contrast-more:text-current",
|
|
172
172
|
children: shortcut
|
|
173
173
|
}) : null,
|
|
174
174
|
endIcon ? jsx("div", {
|
|
@@ -229,7 +229,7 @@ var MenuSectionHeader = (props) => {
|
|
|
229
229
|
if (hidden) return null;
|
|
230
230
|
return jsx($49319ee1285aa241$export$2ce376c2cc3355c8, {
|
|
231
231
|
...other,
|
|
232
|
-
className: clsx("es:mx-1 es:
|
|
232
|
+
className: clsx("es:mx-1 es:flex es:min-w-44 es:items-center es:gap-1.5 es:px-1 es:pt-1.5 es:pb-2 es:font-variation-[\"wdth\"_76,\"wght\"_325,\"ROND\"_100] es:first:pt-2", "es:text-13 es:select-none", "es:icon:shrink-0", "es:text-surface-500", className),
|
|
233
233
|
isDisabled: true,
|
|
234
234
|
children
|
|
235
235
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Modal } from "../../modal-
|
|
1
|
+
import { t as Modal } from "../../modal-BXSwfGkf.js";
|
|
2
2
|
export { Modal };
|
|
@@ -71,18 +71,18 @@ var Notice = (props) => {
|
|
|
71
71
|
}
|
|
72
72
|
}[type];
|
|
73
73
|
return jsxs("div", {
|
|
74
|
-
className: clsx("es:grid es:grid-cols-[auto_1fr] es:grid-rows-[auto_auto]", "es:rounded-xl", "es:bg-white", "es:inset-ring", "es:bg-linear-to-b es:from-35%", "es:inset-shadow-sm", flat ? "es:shadow-2xs" : "es:shadow-sm", currentStyle.className, "es:icon:shrink-0", "es:selection:p-2", currentStyle.selectionClassName, icon || currentStyle.icon ? "es:gap-x-2 es:py-3 es:pl-2.5
|
|
74
|
+
className: clsx("es:grid es:grid-cols-[auto_1fr] es:grid-rows-[auto_auto]", "es:rounded-xl", "es:bg-white", "es:inset-ring", "es:bg-linear-to-b es:from-35%", "es:inset-shadow-sm", flat ? "es:shadow-2xs" : "es:shadow-sm", currentStyle.className, "es:icon:shrink-0", "es:selection:p-2", currentStyle.selectionClassName, icon || currentStyle.icon ? "es:gap-x-2 es:py-3 es:pr-3 es:pl-2.5" : "es:px-3.5 es:py-3", className),
|
|
75
75
|
children: [
|
|
76
76
|
(icon || currentStyle.icon) && jsx("div", {
|
|
77
77
|
className: clsx("es:col-span-1 es:col-start-1 es:row-span-2 es:row-start-1 es:shrink-0 es:icon:size-6", alignIconToTitle ? "es:self-baseline" : "es:self-center-safe", currentStyle.iconColorClassName),
|
|
78
78
|
children: icon ?? currentStyle.icon
|
|
79
79
|
}),
|
|
80
80
|
label && jsx("span", {
|
|
81
|
-
className: clsx("es:col-span-2 es:col-start-2 es:text-
|
|
81
|
+
className: clsx("es:col-span-2 es:col-start-2 es:text-14 es:text-balance", subtitle ? "es:self-end" : "es:row-span-2 es:self-center-safe", "es:font-variation-[\"wdth\"_78,\"wght\"_325,\"ROND\"_100]", currentStyle.textColorClassName),
|
|
82
82
|
children: label
|
|
83
83
|
}),
|
|
84
84
|
subtitle && jsx("span", {
|
|
85
|
-
className: clsx("es:col-span-2 es:col-start-2 es:
|
|
85
|
+
className: clsx("es:col-span-2 es:col-start-2 es:pt-0.75 es:text-xs es:text-balance", "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-DLLqEAsq.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-B0nKYFlk.js";
|
|
2
|
+
import { n as ButtonGroup } from "../../button-CCtgOh0o.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";
|
|
@@ -69,9 +69,9 @@ var OptionsPanelHeader = ({ children, sticky, title, className, actions, level =
|
|
|
69
69
|
return jsxs("div", {
|
|
70
70
|
className: clsx("es:space-y-2.5", limitWidth && "es:max-w-2xl", sticky && "es:sticky es:top-0 es:z-10 es:bg-white", className),
|
|
71
71
|
children: [jsxs("div", {
|
|
72
|
-
className: "es:flex es:flex-wrap es:items-center es:justify-between es:gap-x-8 es:gap-y-4
|
|
72
|
+
className: "es:mb-10 es:flex es:flex-wrap es:items-center es:justify-between es:gap-x-8 es:gap-y-4",
|
|
73
73
|
children: [jsx($2ec61d1d4f780267$export$a8a3e93435678ff9, {
|
|
74
|
-
className: "es:text-2xl es:text-surface-800 es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100]
|
|
74
|
+
className: "es:m-0! es:text-2xl es:text-surface-800 es:font-variation-[\"wdth\"_100,\"wght\"_450,\"ROND\"_100]",
|
|
75
75
|
level,
|
|
76
76
|
children: title
|
|
77
77
|
}), jsx("div", {
|
|
@@ -95,18 +95,18 @@ var OptionsPanelHeader = ({ children, sticky, title, className, actions, level =
|
|
|
95
95
|
var OptionsPanelIntro = ({ icon, title, subtitle, className, iconClassName, level = 3, flat, hidden }) => {
|
|
96
96
|
if (hidden) return null;
|
|
97
97
|
return jsxs("div", {
|
|
98
|
-
className: clsx("es:relative es:overflow-clip", "es:
|
|
98
|
+
className: clsx("es:relative es:overflow-clip", "es:max-w-lg es:rounded-2xl es:px-6 es:py-5", "es:bg-surface-100 es:inset-ring es:inset-ring-surface-600/5", !flat && "es:shadow-xs es:shadow-black/5", className),
|
|
99
99
|
children: [
|
|
100
100
|
jsx($2ec61d1d4f780267$export$a8a3e93435678ff9, {
|
|
101
|
-
className: "es:
|
|
101
|
+
className: "es:my-0! es:text-3xl es:text-accent-900 es:font-variation-[\"wdth\"_50,\"wght\"_325,\"slnt\"_-4,\"ROND\"_100]",
|
|
102
102
|
level,
|
|
103
103
|
children: title
|
|
104
104
|
}),
|
|
105
105
|
subtitle && jsx("p", {
|
|
106
|
-
className: "es:
|
|
106
|
+
className: "es:my-0! es:mt-0.75 es:text-13 es:text-surface-500 es:font-variation-[\"wdth\"_95,\"wght\"_275]",
|
|
107
107
|
children: subtitle
|
|
108
108
|
}),
|
|
109
|
-
icon && cloneElement(icon, { className: clsx("es:absolute es:-top-2 es:right-2.5 es:rotate-12 es:text-surface-500/10
|
|
109
|
+
icon && cloneElement(icon, { className: clsx("es:absolute es:-top-2 es:right-2.5 es:size-18 es:rotate-12 es:text-surface-500/10", iconClassName) })
|
|
110
110
|
]
|
|
111
111
|
});
|
|
112
112
|
};
|
|
@@ -40,37 +40,37 @@ var FilePickerShell = (props) => {
|
|
|
40
40
|
const { url, type = "file", icon = file, children, className, noUrlContent, hidden, ...rest } = props;
|
|
41
41
|
if (hidden) return null;
|
|
42
42
|
if (!url) return noUrlContent ? jsx("div", {
|
|
43
|
-
className: clsx("es:grid es:auto-cols-fr es:grid-flow-col es:gap-2 es:p-px
|
|
43
|
+
className: clsx("es:grid es:w-full es:auto-cols-fr es:grid-flow-col es:gap-2 es:p-px"),
|
|
44
44
|
children: noUrlContent
|
|
45
45
|
}) : null;
|
|
46
46
|
if (type !== "image") return jsxs("div", {
|
|
47
47
|
...rest,
|
|
48
|
-
className: clsx("es:
|
|
48
|
+
className: clsx("es:group es:relative es:isolate es:flex es:flex-col es:justify-between es:gap-2 es:overflow-clip es:rounded-2xl es:border es:border-surface-200 es:bg-surface-50 es:p-2", className),
|
|
49
49
|
children: [type === "file" ? jsxs("div", {
|
|
50
|
-
className: "es:
|
|
50
|
+
className: "es:flex es:grow es:flex-col es:items-center-safe es:justify-center es:gap-2 es:rounded-xl es:bg-white/50 es:px-2 es:py-4 es:font-mono es:text-sm es:text-surface-700 es:inset-ring es:inset-ring-surface-100 es:icon:size-6 es:icon:text-surface-500",
|
|
51
51
|
children: [icon, jsx("span", {
|
|
52
52
|
className: "es:line-clamp-1",
|
|
53
53
|
children: truncateMiddle(url, 34)
|
|
54
54
|
})]
|
|
55
55
|
}) : null, children && !isRenderFunction(children) ? jsx("div", {
|
|
56
|
-
className: "es:flex es:items-center-safe es:gap-0.75
|
|
56
|
+
className: "es-button-group-h es:flex es:items-center-safe es:gap-0.75",
|
|
57
57
|
children
|
|
58
58
|
}) : null]
|
|
59
59
|
});
|
|
60
60
|
return jsx(TypedSmartImage, {
|
|
61
61
|
src: url,
|
|
62
62
|
alt: "",
|
|
63
|
-
className: ({ hasAnalysed, isTransparent, transparencyInfo, isDark, hasError }) => clsx(hasAnalysed && isTransparent && url && "es:p-4", hasAnalysed && isTransparent && isDark && "es:
|
|
63
|
+
className: ({ hasAnalysed, isTransparent, transparencyInfo, isDark, hasError }) => clsx(hasAnalysed && isTransparent && url && "es:p-4", hasAnalysed && isTransparent && isDark && "es:mx-auto es:object-contain", hasAnalysed && isTransparent && !isDark && "es:mx-auto es:object-contain", hasAnalysed && isTransparent && (transparencyInfo?.left || transparencyInfo?.right) && "es:w-full!", hasAnalysed && isTransparent && (transparencyInfo?.top || transparencyInfo?.bottom) && "es:h-full!", hasAnalysed && !isTransparent && "es:aspect-3-2 es:w-full! es:object-cover", hasAnalysed && "es:h-fill! es:grow es:rounded-xl", hasError && "es:rounded-xl"),
|
|
64
64
|
children: ({ image, dominantColors, isDark, hasAnalysed, isTransparent, hasError, errorBadge }) => {
|
|
65
65
|
const dominantDisplayColor = dominantColors?.find((color) => (color.saturation ?? 0) > .25) || dominantColors?.[0];
|
|
66
66
|
return jsxs("div", {
|
|
67
|
-
className: clsx("es:
|
|
67
|
+
className: clsx("es:relative es:isolate es:grid es:aspect-3-2 es:grid-cols-1 es:flex-col es:justify-between es:gap-y-2 es:overflow-clip es:rounded-2xl es:border es:transition", !hasError && hasAnalysed ? "es:border-secondary-200" : "es:border-secondary-200/0", !hasError && hasAnalysed && !isTransparent && "es:group es:grid-rows-1", (hasAnalysed && isTransparent || hasError) && "es:h-fit es:grid-rows-[minmax(0,1fr)_auto] es:p-2", !hasError && !hasAnalysed && "es:shimmer-dark es:bg-surface-100", hasError && "es:border-surface-100 es:bg-surface-50", className),
|
|
68
68
|
style: !hasError && hasAnalysed && isTransparent ? { backgroundColor: `color-mix(in srgb, ${dominantDisplayColor?.color || "#ffffff"} ${dominantDisplayColor?.isDark ? 5 : 25}%, ${dominantDisplayColor?.isDark ? "#ffffff" : "#000000"})` } : {},
|
|
69
69
|
children: [
|
|
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:
|
|
73
|
+
className: clsx("es:flex es:items-center-safe es:gap-0.75", "es-button-group-h", !hasError && !isTransparent && "es:absolute es:inset-x-2 es:bottom-2 es:translate-y-[125%] es:transition-transform es:ease-spring-smooth es:group-hover:translate-y-0 es:has-focus-visible:translate-y-0 es:has-aria-expanded:translate-y-0"),
|
|
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:[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-
|
|
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-ease-spring-snappy/scale es:motion-delay-300/blur" : "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:[animation-fill-mode:forwards] es:icon:size-7", !hasUrl ? "es:motion-preset-fade-sm es:motion-scale-in-90
|
|
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
2
|
import { d as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../../Dialog-CSqjSLlO.js";
|
|
3
3
|
import { o as $4fcfe18fac72dabd$export$746d02f47f4d381 } from "../../useOverlayTriggerState-uzs8mam6.js";
|
|
4
|
-
import { t as Button } from "../../button-
|
|
4
|
+
import { t as Button } from "../../button-CCtgOh0o.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -59,7 +59,7 @@ var Popover = (props) => {
|
|
|
59
59
|
offset,
|
|
60
60
|
crossOffset,
|
|
61
61
|
containerPadding,
|
|
62
|
-
className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:rounded-2xl es:bg-linear-to-br es:from-surface-50/90 es:to-surface-50/90 es:inset-ring es:inset-ring-surface-500/15 es:
|
|
62
|
+
className: ({ isEntering, isExiting }) => clsx("es:font-sans", "es:rounded-2xl es:bg-linear-to-br es:from-surface-50/90 es:to-surface-50/90 es:shadow-xl es:inset-ring es:inset-ring-surface-500/15 es:outline-hidden", "es:backdrop-blur-xl es:backdrop-brightness-110 es:backdrop-saturate-115", "es:inset-shadow-sm es:inset-shadow-white/30", "es:placement-top:origin-bottom-left es:placement-bottom:origin-top-left", "es:placement-left:origin-right es:placement-right:origin-left", "es:motion-ease-spring-bouncy", isEntering && "es:motion-duration-300 es:*:pointer-events-none", "es:placement-top:origin-bottom-left es:placement-bottom:origin-top-left", isEntering && "es:motion-opacity-in-0 es:motion-scale-x-in-95 es:motion-scale-y-in-90", isEntering && "es:placement-top:motion-translate-y-in-[0.25rem] es:placement-bottom:motion-translate-y-in-[-0.25rem]", isExiting && "es:motion-opacity-out-0 es:motion-scale-x-out-95 es:motion-scale-y-out-90 es:motion-duration-200", isExiting && "es:placement-top:motion-translate-y-out-[0.25rem] es:placement-bottom:motion-translate-y-out-[-0.25rem]", wrapperClassName),
|
|
63
63
|
style,
|
|
64
64
|
...popoverProps,
|
|
65
65
|
children: [showArrow && jsx($4fcfe18fac72dabd$export$746d02f47f4d381, {
|
|
@@ -68,7 +68,7 @@ var Popover = (props) => {
|
|
|
68
68
|
width: 12,
|
|
69
69
|
height: 12,
|
|
70
70
|
viewBox: "0 0 12 12",
|
|
71
|
-
className: clsx("es:block es:fill-surface-50 es:stroke-
|
|
71
|
+
className: clsx("es:block es:fill-surface-50 es:stroke-surface-500/10 es:stroke-1", "es:group-placement-top:-translate-y-px", "es:group-placement-bottom:translate-y-px es:group-placement-bottom:rotate-180", "es:group-placement-left:-translate-x-px es:group-placement-left:-rotate-90", "es:group-placement-right:translate-x-px es:group-placement-right:rotate-90"),
|
|
72
72
|
children: jsx("path", { d: "M0 0 L6 6 L12 0" })
|
|
73
73
|
})
|
|
74
74
|
}), jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
@@ -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-CCtgOh0o.js";
|
|
3
3
|
import { RichLabel } from "../rich-label/rich-label.js";
|
|
4
4
|
import { s as isString } from "../../es-dash-DPtJSRjw.js";
|
|
5
5
|
import { t as __ } from "../../build-module-BISCoQjQ.js";
|
|
@@ -10,8 +10,8 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
10
10
|
//#region lib/components/radio/radio.tsx
|
|
11
11
|
var radioClasses = cva([
|
|
12
12
|
"es:size-5 es:shrink-0",
|
|
13
|
-
"es:grid es:
|
|
14
|
-
"es:*:
|
|
13
|
+
"es:grid es:grid-cols-1 es:grid-rows-1 es:place-items-center",
|
|
14
|
+
"es:*:col-start-1 es:*:row-start-1",
|
|
15
15
|
"es:rounded-full",
|
|
16
16
|
"es:transition-plus es:duration-300 es:ease-spring-smooth",
|
|
17
17
|
"es:inset-ring",
|
|
@@ -21,7 +21,7 @@ var radioClasses = cva([
|
|
|
21
21
|
variants: {
|
|
22
22
|
disabled: {
|
|
23
23
|
true: "es:cursor-not-allowed",
|
|
24
|
-
false: "es:
|
|
24
|
+
false: "es:bg-linear-to-b es:from-25% es:inset-shadow-xs"
|
|
25
25
|
},
|
|
26
26
|
flat: {
|
|
27
27
|
true: null,
|
|
@@ -53,7 +53,7 @@ var radioClasses = cva([
|
|
|
53
53
|
checked: true,
|
|
54
54
|
disabled: false,
|
|
55
55
|
class: [
|
|
56
|
-
"es:bg-accent-600 es:inset-ring-accent-800/5
|
|
56
|
+
"es:bg-accent-600 es:text-white es:inset-ring-accent-800/5",
|
|
57
57
|
"es:from-accent-50/10 es:to-accent-50/2",
|
|
58
58
|
"es:inset-shadow-accent-50/35",
|
|
59
59
|
"es:group-focus-visible:inset-ring-accent-950"
|
|
@@ -62,12 +62,12 @@ var radioClasses = cva([
|
|
|
62
62
|
{
|
|
63
63
|
checked: true,
|
|
64
64
|
disabled: true,
|
|
65
|
-
class: ["es:bg-secondary-400 es:inset-ring-secondary-400
|
|
65
|
+
class: ["es:bg-secondary-400 es:text-white es:inset-ring-secondary-400"]
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
checked: false,
|
|
69
69
|
disabled: true,
|
|
70
|
-
class: ["es:bg-white es:
|
|
70
|
+
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"]
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
defaultVariants: {
|
|
@@ -76,7 +76,7 @@ var radioClasses = cva([
|
|
|
76
76
|
disabled: false
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
|
-
var radioContainerClass = cva("es:flex es:
|
|
79
|
+
var radioContainerClass = cva("es:flex es:items-center-safe es:gap-2", {
|
|
80
80
|
variants: {
|
|
81
81
|
design: {
|
|
82
82
|
default: "es:py-1.5",
|
|
@@ -99,17 +99,17 @@ var radioContainerClass = cva("es:flex es:gap-2 es:items-center-safe", {
|
|
|
99
99
|
compoundVariants: [
|
|
100
100
|
{
|
|
101
101
|
design: ["segmented", "segmentedHorizontal"],
|
|
102
|
-
class: ["es:
|
|
102
|
+
class: ["es:min-h-13 es:w-fill es:px-3 es:py-2 es:inset-ring", "es:transition-plus es:duration-300"]
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
checked: false,
|
|
106
106
|
design: ["segmented", "segmentedHorizontal"],
|
|
107
|
-
class: ["es:bg-white es:bg-linear-to-b es:from-secondary-50/75 es:to-secondary-100/50 es:
|
|
107
|
+
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:rounded-md es:hover:rounded-18"]
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
checked: true,
|
|
111
111
|
design: ["segmented", "segmentedHorizontal"],
|
|
112
|
-
class: "es:bg-surface-100 es:text-accent-900 es:inset-ring-accent-600/10
|
|
112
|
+
class: "es:rounded-3xl es:bg-surface-100 es:text-accent-900 es:inset-ring-accent-600/10"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
design: "segmented",
|
|
@@ -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-CCtgOh0o.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";
|
|
@@ -32,7 +32,7 @@ var RepeaterItem = (props) => {
|
|
|
32
32
|
label: isOutOfBounds ? __("Release to delete", "eightshift-ui-components") : label,
|
|
33
33
|
subtitle: isOutOfBounds ? null : subtitle,
|
|
34
34
|
labelClassName: clsx(className, isDragged && "es:cursor-grabbing", !isDragged && !isItemOpen && "es:cursor-grab"),
|
|
35
|
-
headerClassName: clsx("es:transition-plus", !isItemOpen && !isDragged && "es:not-group-first:not-group-before-current:rounded-t-md es:not-group-last:not-group-after-current:rounded-b-md", !isItemOpen && isOutOfBounds && "es:
|
|
35
|
+
headerClassName: clsx("es:transition-plus", !isItemOpen && !isDragged && "es:not-group-first:not-group-before-current:rounded-t-md es:not-group-last:not-group-after-current:rounded-b-md", !isItemOpen && isOutOfBounds && "es:bg-red-50! es:text-red-900! es:inset-ring-red-200! es:[&_button]:invisible es:[&_svg_path]:stroke-red-600", isDragged && "es:rounded-2xl! es:bg-surface-50! es:inset-ring-surface-100"),
|
|
36
36
|
open: allOpen,
|
|
37
37
|
disabled: expandDisabled,
|
|
38
38
|
onOpenChange: (open) => {
|
|
@@ -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-CCtgOh0o.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";
|
|
@@ -73,7 +73,7 @@ var Repeater = (props) => {
|
|
|
73
73
|
disabled: openItems[index]
|
|
74
74
|
})), [items, openItems]);
|
|
75
75
|
const renderList = useCallback(({ children: listChildren, props: listProps }) => jsx("ul", {
|
|
76
|
-
className: clsx("es:
|
|
76
|
+
className: clsx("es:m-0! es:flex es:w-full es:list-none es:flex-col es:gap-0.75", className),
|
|
77
77
|
...listProps,
|
|
78
78
|
children: listChildren
|
|
79
79
|
}), [className]);
|
|
@@ -84,7 +84,7 @@ var Repeater = (props) => {
|
|
|
84
84
|
onAfterItemRemove?.(item);
|
|
85
85
|
};
|
|
86
86
|
return jsx("li", {
|
|
87
|
-
className: "es:group es:w-full es:list-none es:any-focus:outline-hidden
|
|
87
|
+
className: "es:group es:m-0! es:w-full es:list-none es:any-focus:outline-hidden",
|
|
88
88
|
...rest,
|
|
89
89
|
children: jsx(RepeaterContext.Provider, {
|
|
90
90
|
value: {
|