mainbase-ui 3.36.0 → 3.37.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 +9 -16
- package/dist/cjs/components/accordion/accordion.cjs +2 -1
- package/dist/cjs/components/alert/alert.cjs +7 -6
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +8 -8
- package/dist/cjs/components/avatar/avatar.cjs +16 -16
- package/dist/cjs/components/bleed/bleed.cjs +5 -4
- package/dist/cjs/components/breadcrumb/breadcrumb.cjs +3 -2
- package/dist/cjs/components/button/button-group.cjs +5 -4
- package/dist/cjs/components/button/button.cjs +16 -16
- package/dist/cjs/components/button/close-button.cjs +2 -1
- package/dist/cjs/components/button/icon-button.cjs +4 -3
- package/dist/cjs/components/carousel/carousel.cjs +13 -8
- package/dist/cjs/components/checkbox/checkbox.cjs +13 -12
- package/dist/cjs/components/checkbox-card/checkbox-card.cjs +6 -5
- package/dist/cjs/components/checkmark/checkmark.cjs +7 -7
- package/dist/cjs/components/circle/index.cjs +4 -3
- package/dist/cjs/components/client-only/client-only.cjs +5 -4
- package/dist/cjs/components/clipboard/clipboard.cjs +6 -5
- package/dist/cjs/components/code-block/code-block-adapter-provider.cjs +2 -1
- package/dist/cjs/components/code-block/code-block.cjs +43 -45
- package/dist/cjs/components/color-picker/color-picker.cjs +24 -13
- package/dist/cjs/components/color-swatch/index.cjs +9 -9
- package/dist/cjs/components/combobox/combobox.cjs +4 -3
- package/dist/cjs/components/date-picker/date-picker.cjs +39 -25
- package/dist/cjs/components/dialog/dialog.cjs +4 -3
- package/dist/cjs/components/drawer/drawer.cjs +4 -3
- package/dist/cjs/components/editable/editable.cjs +4 -3
- package/dist/cjs/components/field/field.cjs +7 -7
- package/dist/cjs/components/file-upload/file-upload.cjs +21 -13
- package/dist/cjs/components/flex/flex.cjs +4 -3
- package/dist/cjs/components/float/float.cjs +5 -5
- package/dist/cjs/components/floating-panel/floating-panel.cjs +2 -1
- package/dist/cjs/components/grid/grid-item.cjs +5 -5
- package/dist/cjs/components/grid/grid.cjs +4 -3
- package/dist/cjs/components/group/group.cjs +11 -11
- package/dist/cjs/components/highlight/highlight.cjs +5 -4
- package/dist/cjs/components/hover-card/hover-card.cjs +2 -1
- package/dist/cjs/components/icon/create-icon.cjs +7 -6
- package/dist/cjs/components/icon/icon.cjs +2 -2
- package/dist/cjs/components/icons.cjs +90 -75
- package/dist/cjs/components/image/image.cjs +4 -4
- package/dist/cjs/components/input-addon/input-addon.cjs +4 -3
- package/dist/cjs/components/input-group/input-group.cjs +20 -17
- package/dist/cjs/components/link/link-box.cjs +6 -6
- package/dist/cjs/components/listbox/listbox.cjs +2 -1
- package/dist/cjs/components/loader/loader.cjs +12 -4
- package/dist/cjs/components/menu/menu.cjs +3 -2
- package/dist/cjs/components/native-select/native-select.cjs +15 -13
- package/dist/cjs/components/number-input/number-input.cjs +7 -3
- package/dist/cjs/components/pagination/pagination.cjs +12 -11
- package/dist/cjs/components/popover/popover.cjs +2 -1
- package/dist/cjs/components/qr-code/qr-code.cjs +2 -1
- package/dist/cjs/components/radio-card/radio-card.cjs +10 -10
- package/dist/cjs/components/radio-group/radio-group.cjs +5 -4
- package/dist/cjs/components/radiomark/radiomark.cjs +4 -4
- package/dist/cjs/components/rating-group/rating-group.cjs +15 -12
- package/dist/cjs/components/scroll-area/scroll-area.cjs +2 -1
- package/dist/cjs/components/segment-group/segment-group.cjs +11 -8
- package/dist/cjs/components/select/select.cjs +4 -3
- package/dist/cjs/components/separator/separator.cjs +4 -4
- package/dist/cjs/components/show/show.cjs +3 -2
- package/dist/cjs/components/simple-grid/simple-grid.cjs +4 -4
- package/dist/cjs/components/skeleton/skeleton.cjs +6 -5
- package/dist/cjs/components/skip-nav/skip-nav-content.cjs +4 -3
- package/dist/cjs/components/skip-nav/skip-nav-link.cjs +4 -3
- package/dist/cjs/components/slider/slider.cjs +10 -6
- package/dist/cjs/components/splitter/splitter.cjs +5 -1
- package/dist/cjs/components/square/index.cjs +4 -3
- package/dist/cjs/components/stack/get-separator-style.cjs +0 -2
- package/dist/cjs/components/stack/h-stack.cjs +4 -3
- package/dist/cjs/components/stack/stack.cjs +17 -14
- package/dist/cjs/components/stack/v-stack.cjs +4 -3
- package/dist/cjs/components/stat/stat.cjs +8 -7
- package/dist/cjs/components/steps/steps.cjs +10 -9
- package/dist/cjs/components/switch/switch.cjs +10 -10
- package/dist/cjs/components/table/table.cjs +6 -6
- package/dist/cjs/components/tag/tag.cjs +2 -1
- package/dist/cjs/components/tags-input/tags-input.cjs +10 -3
- package/dist/cjs/components/theme.cjs +4 -4
- package/dist/cjs/components/toast/toast.cjs +5 -4
- package/dist/cjs/components/tooltip/tooltip.cjs +2 -1
- package/dist/cjs/components/tree-view/tree-view.cjs +20 -13
- package/dist/cjs/components/wrap/wrap.cjs +6 -6
- package/dist/cjs/hooks/index.cjs +5 -5
- package/dist/cjs/hooks/use-overlay.cjs +3 -3
- package/dist/cjs/index.cjs +21 -21
- package/dist/cjs/merge-props.cjs +0 -2
- package/dist/cjs/styled-system/breakpoints.cjs +0 -2
- package/dist/cjs/styled-system/calc.cjs +0 -2
- package/dist/cjs/styled-system/conditions.cjs +0 -2
- package/dist/cjs/styled-system/create-recipe-context.cjs +6 -6
- package/dist/cjs/styled-system/create-slot-recipe-context.cjs +12 -12
- package/dist/cjs/styled-system/css.cjs +1 -3
- package/dist/cjs/styled-system/cva.cjs +0 -2
- package/dist/cjs/styled-system/factory.cjs +19 -13
- package/dist/cjs/styled-system/merge-config.cjs +1 -3
- package/dist/cjs/styled-system/normalize.cjs +0 -2
- package/dist/cjs/styled-system/preflight.cjs +0 -2
- package/dist/cjs/styled-system/provider.cjs +6 -1
- package/dist/cjs/styled-system/recipe-props.cjs +2 -1
- package/dist/cjs/styled-system/references.cjs +0 -2
- package/dist/cjs/styled-system/serialize.cjs +1 -3
- package/dist/cjs/styled-system/sort-at-rules.cjs +0 -2
- package/dist/cjs/styled-system/sva.cjs +0 -2
- package/dist/cjs/styled-system/system.cjs +1 -3
- package/dist/cjs/styled-system/token-dictionary.cjs +2 -4
- package/dist/cjs/styled-system/token-middleware.cjs +0 -2
- package/dist/cjs/styled-system/use-resolved-props.cjs +0 -1
- package/dist/cjs/styled-system/utility.cjs +1 -3
- package/dist/cjs/theme/recipes/number-input.cjs +0 -2
- package/dist/cjs/theme/recipes/pin-input.cjs +0 -2
- package/dist/esm/components/accordion/accordion.js +2 -1
- package/dist/esm/components/alert/alert.js +4 -3
- package/dist/esm/components/aspect-ratio/aspect-ratio.js +5 -5
- package/dist/esm/components/avatar/avatar.js +11 -11
- package/dist/esm/components/bleed/bleed.js +3 -2
- package/dist/esm/components/breadcrumb/breadcrumb.js +3 -2
- package/dist/esm/components/button/button-group.js +2 -1
- package/dist/esm/components/button/button.js +13 -13
- package/dist/esm/components/button/close-button.js +2 -1
- package/dist/esm/components/button/icon-button.js +2 -1
- package/dist/esm/components/carousel/carousel.js +10 -5
- package/dist/esm/components/checkbox/checkbox.js +11 -10
- package/dist/esm/components/checkbox-card/checkbox-card.js +3 -2
- package/dist/esm/components/checkmark/checkmark.js +5 -5
- package/dist/esm/components/circle/index.js +2 -1
- package/dist/esm/components/client-only/client-only.js +2 -1
- package/dist/esm/components/clipboard/clipboard.js +4 -3
- package/dist/esm/components/code-block/code-block-adapter-provider.js +2 -1
- package/dist/esm/components/code-block/code-block.js +29 -31
- package/dist/esm/components/color-picker/color-picker.js +19 -8
- package/dist/esm/components/color-swatch/index.js +7 -7
- package/dist/esm/components/combobox/combobox.js +4 -3
- package/dist/esm/components/date-picker/date-picker.js +37 -23
- package/dist/esm/components/dialog/dialog.js +2 -1
- package/dist/esm/components/drawer/drawer.js +2 -1
- package/dist/esm/components/editable/editable.js +2 -1
- package/dist/esm/components/field/field.js +5 -5
- package/dist/esm/components/file-upload/file-upload.js +17 -9
- package/dist/esm/components/flex/flex.js +2 -1
- package/dist/esm/components/float/float.js +2 -2
- package/dist/esm/components/floating-panel/floating-panel.js +2 -1
- package/dist/esm/components/grid/grid-item.js +2 -2
- package/dist/esm/components/grid/grid.js +2 -1
- package/dist/esm/components/group/group.js +5 -5
- package/dist/esm/components/highlight/highlight.js +4 -3
- package/dist/esm/components/hover-card/hover-card.js +2 -1
- package/dist/esm/components/icon/create-icon.js +5 -4
- package/dist/esm/components/icon/icon.js +2 -2
- package/dist/esm/components/icons.js +90 -75
- package/dist/esm/components/image/image.js +2 -2
- package/dist/esm/components/input-addon/input-addon.js +2 -1
- package/dist/esm/components/input-group/input-group.js +17 -14
- package/dist/esm/components/link/link-box.js +3 -3
- package/dist/esm/components/listbox/listbox.js +2 -1
- package/dist/esm/components/loader/loader.js +12 -4
- package/dist/esm/components/menu/menu.js +3 -2
- package/dist/esm/components/native-select/native-select.js +13 -11
- package/dist/esm/components/number-input/number-input.js +7 -3
- package/dist/esm/components/pagination/pagination.js +9 -8
- package/dist/esm/components/popover/popover.js +2 -1
- package/dist/esm/components/qr-code/qr-code.js +2 -1
- package/dist/esm/components/radio-card/radio-card.js +7 -7
- package/dist/esm/components/radio-group/radio-group.js +3 -2
- package/dist/esm/components/radiomark/radiomark.js +2 -2
- package/dist/esm/components/rating-group/rating-group.js +11 -8
- package/dist/esm/components/scroll-area/scroll-area.js +2 -1
- package/dist/esm/components/segment-group/segment-group.js +9 -6
- package/dist/esm/components/select/select.js +4 -3
- package/dist/esm/components/separator/separator.js +2 -2
- package/dist/esm/components/show/show.js +2 -1
- package/dist/esm/components/simple-grid/simple-grid.js +2 -2
- package/dist/esm/components/skeleton/skeleton.js +6 -5
- package/dist/esm/components/skip-nav/skip-nav-content.js +2 -1
- package/dist/esm/components/skip-nav/skip-nav-link.js +2 -1
- package/dist/esm/components/slider/slider.js +8 -4
- package/dist/esm/components/splitter/splitter.js +5 -1
- package/dist/esm/components/square/index.js +2 -1
- package/dist/esm/components/stack/get-separator-style.js +0 -2
- package/dist/esm/components/stack/h-stack.js +2 -1
- package/dist/esm/components/stack/stack.js +9 -6
- package/dist/esm/components/stack/v-stack.js +2 -1
- package/dist/esm/components/stat/stat.js +5 -4
- package/dist/esm/components/steps/steps.js +8 -7
- package/dist/esm/components/switch/switch.js +7 -7
- package/dist/esm/components/table/table.js +3 -3
- package/dist/esm/components/tag/tag.js +2 -1
- package/dist/esm/components/tags-input/tags-input.js +10 -3
- package/dist/esm/components/theme.js +2 -2
- package/dist/esm/components/toast/toast.js +3 -2
- package/dist/esm/components/tooltip/tooltip.js +2 -1
- package/dist/esm/components/tree-view/tree-view.js +20 -13
- package/dist/esm/components/wrap/wrap.js +3 -3
- package/dist/esm/hooks/index.js +1 -1
- package/dist/esm/hooks/use-overlay.js +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/merge-props.js +0 -2
- package/dist/esm/styled-system/breakpoints.js +0 -2
- package/dist/esm/styled-system/calc.js +0 -2
- package/dist/esm/styled-system/conditions.js +0 -2
- package/dist/esm/styled-system/create-recipe-context.js +2 -2
- package/dist/esm/styled-system/create-slot-recipe-context.js +5 -5
- package/dist/esm/styled-system/css.js +1 -3
- package/dist/esm/styled-system/cva.js +0 -2
- package/dist/esm/styled-system/factory.js +19 -13
- package/dist/esm/styled-system/merge-config.js +1 -3
- package/dist/esm/styled-system/normalize.js +0 -2
- package/dist/esm/styled-system/preflight.js +0 -2
- package/dist/esm/styled-system/provider.js +6 -1
- package/dist/esm/styled-system/recipe-props.js +2 -1
- package/dist/esm/styled-system/references.js +0 -2
- package/dist/esm/styled-system/serialize.js +1 -3
- package/dist/esm/styled-system/sort-at-rules.js +0 -2
- package/dist/esm/styled-system/sva.js +0 -2
- package/dist/esm/styled-system/system.js +1 -3
- package/dist/esm/styled-system/token-dictionary.js +2 -4
- package/dist/esm/styled-system/token-middleware.js +0 -2
- package/dist/esm/styled-system/use-resolved-props.js +0 -1
- package/dist/esm/styled-system/utility.js +1 -3
- package/dist/esm/theme/recipes/number-input.js +0 -2
- package/dist/esm/theme/recipes/pin-input.js +0 -2
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { forwardRef, useMemo } from 'react';
|
|
3
4
|
import { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';
|
|
4
5
|
import { mainbase } from '../../styled-system/factory.js';
|
|
5
6
|
import { cx } from '../../utils/cx.js';
|
|
6
|
-
import '../../utils/unit.js';
|
|
7
7
|
|
|
8
8
|
const {
|
|
9
9
|
StylesProvider,
|
|
@@ -29,7 +29,7 @@ const TableRoot = forwardRef(
|
|
|
29
29
|
"& caption": styles.caption
|
|
30
30
|
};
|
|
31
31
|
}, [styles, native]);
|
|
32
|
-
return /* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(
|
|
33
33
|
mainbase.table,
|
|
34
34
|
{
|
|
35
35
|
ref,
|
|
@@ -37,7 +37,7 @@ const TableRoot = forwardRef(
|
|
|
37
37
|
css: [rootCss, props.css],
|
|
38
38
|
className: cx(classNames?.["root"], props.className)
|
|
39
39
|
}
|
|
40
|
-
)));
|
|
40
|
+
) }) });
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
43
|
const TableRootPropsProvider = PropsProvider;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';
|
|
3
4
|
import { CloseIcon } from '../icons.js';
|
|
4
5
|
|
|
@@ -17,7 +18,7 @@ const TagLabel = withContext(
|
|
|
17
18
|
"span",
|
|
18
19
|
"label"
|
|
19
20
|
);
|
|
20
|
-
const TagCloseTrigger = withContext("button", "closeTrigger", { defaultProps: { children: /* @__PURE__ */
|
|
21
|
+
const TagCloseTrigger = withContext("button", "closeTrigger", { defaultProps: { children: /* @__PURE__ */ jsx(CloseIcon, {}) } });
|
|
21
22
|
const TagStartElement = withContext("span", "startElement");
|
|
22
23
|
const TagEndElement = withContext(
|
|
23
24
|
"span",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
3
|
import { TagsInput, useTagsInputContext } from '@ark-ui/react/tags-input';
|
|
3
4
|
import { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';
|
|
4
5
|
import { For } from '../for/for.js';
|
|
@@ -28,17 +29,23 @@ const TagsInputItem = withContext(
|
|
|
28
29
|
const TagsInputItemText = withContext(TagsInput.ItemText, "itemText", { forwardAsChild: true });
|
|
29
30
|
const TagsInputItemDeleteTrigger = withContext(TagsInput.ItemDeleteTrigger, "itemDeleteTrigger", {
|
|
30
31
|
forwardAsChild: true,
|
|
31
|
-
defaultProps: { children: /* @__PURE__ */
|
|
32
|
+
defaultProps: { children: /* @__PURE__ */ jsx(CloseIcon, {}) }
|
|
32
33
|
});
|
|
33
34
|
const TagsInputItemPreview = withContext(TagsInput.ItemPreview, "itemPreview", { forwardAsChild: true });
|
|
34
35
|
const TagsInputItemInput = withContext(TagsInput.ItemInput, "itemInput", { forwardAsChild: true });
|
|
35
36
|
const TagsInputClearTrigger = withContext(TagsInput.ClearTrigger, "clearTrigger", {
|
|
36
37
|
forwardAsChild: true,
|
|
37
|
-
defaultProps: { children: /* @__PURE__ */
|
|
38
|
+
defaultProps: { children: /* @__PURE__ */ jsx(CloseIcon, {}) }
|
|
38
39
|
});
|
|
39
40
|
const TagsInputItems = (props) => {
|
|
40
41
|
const api = useTagsInputContext();
|
|
41
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ jsx(For, { each: api.value, children: (item, index) => /* @__PURE__ */ jsxs(TagsInputItem, { index, value: item, ...props, children: [
|
|
43
|
+
/* @__PURE__ */ jsxs(TagsInputItemPreview, { children: [
|
|
44
|
+
/* @__PURE__ */ jsx(TagsInputItemText, { children: item }),
|
|
45
|
+
/* @__PURE__ */ jsx(TagsInputItemDeleteTrigger, {})
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ jsx(TagsInputItemInput, {})
|
|
48
|
+
] }, index) });
|
|
42
49
|
};
|
|
43
50
|
const TagsInputContext = TagsInput.Context;
|
|
44
51
|
const TagsInputHiddenInput = TagsInput.HiddenInput;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { forwardRef } from 'react';
|
|
3
4
|
import { mainbase } from '../styled-system/factory.js';
|
|
4
5
|
import { cx } from '../utils/cx.js';
|
|
5
|
-
import '../utils/unit.js';
|
|
6
6
|
|
|
7
7
|
const Theme = forwardRef(
|
|
8
8
|
function Theme2(props, ref) {
|
|
@@ -13,7 +13,7 @@ const Theme = forwardRef(
|
|
|
13
13
|
hasBackground = true,
|
|
14
14
|
...rest
|
|
15
15
|
} = props;
|
|
16
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ jsx(
|
|
17
17
|
mainbase.div,
|
|
18
18
|
{
|
|
19
19
|
color: "fg",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { Toaster as Toaster$1, Toast, useToastContext } from '@ark-ui/react/toast';
|
|
3
4
|
export { createToaster } from '@ark-ui/react/toast';
|
|
4
5
|
import { forwardRef } from 'react';
|
|
@@ -24,7 +25,7 @@ const ToastRoot = withProvider(
|
|
|
24
25
|
const ToastCloseTrigger = withContext(Toast.CloseTrigger, "closeTrigger", {
|
|
25
26
|
forwardAsChild: true,
|
|
26
27
|
defaultProps: {
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
+
children: /* @__PURE__ */ jsx(CloseIcon, {})
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
31
|
const ToastTitle = withContext(
|
|
@@ -46,7 +47,7 @@ const ToastIndicator = forwardRef(
|
|
|
46
47
|
const styles = useToastStyles();
|
|
47
48
|
const Component = iconMap[api.type];
|
|
48
49
|
if (!Component) return null;
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ jsx(
|
|
50
51
|
Component,
|
|
51
52
|
{
|
|
52
53
|
ref,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { Tooltip } from '@ark-ui/react/tooltip';
|
|
3
4
|
import { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';
|
|
4
5
|
|
|
@@ -26,7 +27,7 @@ const TooltipArrowTip = withContext(Tooltip.ArrowTip, "arrowTip", { forwardAsChi
|
|
|
26
27
|
const TooltipArrow = withContext(
|
|
27
28
|
Tooltip.Arrow,
|
|
28
29
|
"arrow",
|
|
29
|
-
{ forwardAsChild: true, defaultProps: { children: /* @__PURE__ */
|
|
30
|
+
{ forwardAsChild: true, defaultProps: { children: /* @__PURE__ */ jsx(TooltipArrowTip, {}) } }
|
|
30
31
|
);
|
|
31
32
|
const TooltipContext = Tooltip.Context;
|
|
32
33
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
3
|
import { TreeView, useTreeViewContext } from '@ark-ui/react';
|
|
3
4
|
import { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';
|
|
4
5
|
|
|
@@ -47,24 +48,30 @@ const TreeViewNodeCheckbox = withContext(TreeView.NodeCheckbox, "nodeCheckbox",
|
|
|
47
48
|
function TreeViewNode(props) {
|
|
48
49
|
const { render, indentGuide, branchProps, branchContentProps } = props;
|
|
49
50
|
const tree = useTreeViewContext();
|
|
50
|
-
const renderNode = (node, indexPath) => /* @__PURE__ */
|
|
51
|
+
const renderNode = (node, indexPath) => /* @__PURE__ */ jsx(
|
|
51
52
|
TreeView.NodeProvider,
|
|
52
53
|
{
|
|
53
|
-
key: indexPath.join("."),
|
|
54
54
|
node,
|
|
55
|
-
indexPath
|
|
55
|
+
indexPath,
|
|
56
|
+
children: /* @__PURE__ */ jsx(TreeView.NodeContext, { children: (nodeState) => {
|
|
57
|
+
if (nodeState.isBranch) {
|
|
58
|
+
return /* @__PURE__ */ jsxs(TreeViewBranch, { ...branchProps, children: [
|
|
59
|
+
render({ node, indexPath, nodeState }),
|
|
60
|
+
/* @__PURE__ */ jsxs(TreeViewBranchContent, { ...branchContentProps, children: [
|
|
61
|
+
indentGuide,
|
|
62
|
+
tree.collection.getNodeChildren(node).map(
|
|
63
|
+
(child, index) => renderNode(child, [...indexPath, index])
|
|
64
|
+
)
|
|
65
|
+
] })
|
|
66
|
+
] });
|
|
67
|
+
} else {
|
|
68
|
+
return render({ node, indexPath, nodeState });
|
|
69
|
+
}
|
|
70
|
+
} })
|
|
56
71
|
},
|
|
57
|
-
|
|
58
|
-
if (nodeState.isBranch) {
|
|
59
|
-
return /* @__PURE__ */ React.createElement(TreeViewBranch, { ...branchProps }, render({ node, indexPath, nodeState }), /* @__PURE__ */ React.createElement(TreeViewBranchContent, { ...branchContentProps }, indentGuide, tree.collection.getNodeChildren(node).map(
|
|
60
|
-
(child, index) => renderNode(child, [...indexPath, index])
|
|
61
|
-
)));
|
|
62
|
-
} else {
|
|
63
|
-
return render({ node, indexPath, nodeState });
|
|
64
|
-
}
|
|
65
|
-
})
|
|
72
|
+
indexPath.join(".")
|
|
66
73
|
);
|
|
67
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ jsx(Fragment, { children: tree.collection.getNodeChildren(tree.collection.rootNode).map((node, index) => renderNode(node, [index])) });
|
|
68
75
|
}
|
|
69
76
|
|
|
70
77
|
export { TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndentGuide, TreeViewBranchIndicator, TreeViewBranchText, TreeViewBranchTrigger, TreeViewItem, TreeViewItemIndicator, TreeViewItemText, TreeViewLabel, TreeViewNode, TreeViewNodeCheckbox, TreeViewPropsProvider, TreeViewRoot, TreeViewRootProvider, TreeViewTree, useTreeViewStyles };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { forwardRef } from 'react';
|
|
3
4
|
import { defineStyle } from '../../styled-system/config.js';
|
|
4
5
|
import { mainbase } from '../../styled-system/factory.js';
|
|
5
6
|
import { cx } from '../../utils/cx.js';
|
|
6
|
-
import '../../utils/unit.js';
|
|
7
7
|
|
|
8
8
|
const Wrap = forwardRef(
|
|
9
9
|
function Wrap2(props, ref) {
|
|
10
10
|
const { gap = "0.5rem", justify, direction, align, ...rest } = props;
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
12
|
mainbase.div,
|
|
13
13
|
{
|
|
14
14
|
ref,
|
|
@@ -32,7 +32,7 @@ const itemStyle = defineStyle({
|
|
|
32
32
|
const WrapItem = forwardRef(
|
|
33
33
|
function WrapItem2(props, ref) {
|
|
34
34
|
const { css, ...rest } = props;
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
36
|
mainbase.div,
|
|
37
37
|
{
|
|
38
38
|
ref,
|
package/dist/esm/hooks/index.js
CHANGED
|
@@ -5,10 +5,10 @@ export { useControllableProp, useControllableState } from './use-controllable-st
|
|
|
5
5
|
export { useDisclosure } from './use-disclosure.js';
|
|
6
6
|
export { useElementRect } from './use-element-rect.js';
|
|
7
7
|
export { useForceUpdate } from './use-force-update.js';
|
|
8
|
-
export { useListCollection } from '@ark-ui/react/collection';
|
|
9
8
|
export { useLiveRef } from './use-live-ref.js';
|
|
10
9
|
export { useMediaQuery } from './use-media-query.js';
|
|
11
10
|
export { createOverlay } from './use-overlay.js';
|
|
12
11
|
export { usePrevious } from './use-previous.js';
|
|
13
12
|
export { useSafeLayoutEffect } from './use-safe-layout-effect.js';
|
|
14
13
|
export { useUpdateEffect } from './use-update-effect.js';
|
|
14
|
+
export { useListCollection } from '@ark-ui/react/collection';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { omit } from '../utils/omit.js';
|
|
3
|
-
import '../utils/unit.js';
|
|
4
4
|
|
|
5
5
|
const shallowEqualEntries = (a, b) => {
|
|
6
6
|
if (a.length !== b.length) return false;
|
|
@@ -129,7 +129,7 @@ function createOverlay(Component, options) {
|
|
|
129
129
|
setMounted(true);
|
|
130
130
|
}, []);
|
|
131
131
|
const open2 = mounted ? props.open ?? false : false;
|
|
132
|
-
return /* @__PURE__ */
|
|
132
|
+
return /* @__PURE__ */ jsx(Component, { ...props, open: open2 });
|
|
133
133
|
}
|
|
134
134
|
function Viewport() {
|
|
135
135
|
const overlays = React.useSyncExternalStore(
|
|
@@ -137,7 +137,7 @@ function createOverlay(Component, options) {
|
|
|
137
137
|
getSnapshotForStore,
|
|
138
138
|
getSnapshotForStore
|
|
139
139
|
);
|
|
140
|
-
return /* @__PURE__ */
|
|
140
|
+
return /* @__PURE__ */ jsx(Fragment, { children: overlays.map(({ id, props }) => /* @__PURE__ */ jsx(OverlayViewportItem, { ...props }, id)) });
|
|
141
141
|
}
|
|
142
142
|
return {
|
|
143
143
|
Viewport,
|
package/dist/esm/index.js
CHANGED
|
@@ -293,7 +293,6 @@ export { useControllableProp, useControllableState } from './hooks/use-controlla
|
|
|
293
293
|
export { useDisclosure } from './hooks/use-disclosure.js';
|
|
294
294
|
export { useElementRect } from './hooks/use-element-rect.js';
|
|
295
295
|
export { useForceUpdate } from './hooks/use-force-update.js';
|
|
296
|
-
export { createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useListCollection } from '@ark-ui/react/collection';
|
|
297
296
|
export { useLiveRef } from './hooks/use-live-ref.js';
|
|
298
297
|
export { useMediaQuery } from './hooks/use-media-query.js';
|
|
299
298
|
export { createOverlay } from './hooks/use-overlay.js';
|
|
@@ -315,6 +314,7 @@ export { createSystem, isValidSystem } from './styled-system/system.js';
|
|
|
315
314
|
export { useRecipe } from './styled-system/use-recipe.js';
|
|
316
315
|
export { useSlotRecipe } from './styled-system/use-slot-recipe.js';
|
|
317
316
|
export { useToken } from './styled-system/use-token.js';
|
|
317
|
+
export { createFileTreeCollection, createGridCollection, createListCollection, createTreeCollection, useListCollection } from '@ark-ui/react/collection';
|
|
318
318
|
export { createToaster } from '@ark-ui/react/toast';
|
|
319
319
|
export { mergeConfigs } from './styled-system/merge-config.js';
|
|
320
320
|
export { useDownload } from '@ark-ui/react/download-trigger';
|
package/dist/esm/merge-props.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { useMemo, forwardRef } from 'react';
|
|
3
4
|
import { createContext } from '../create-context.js';
|
|
4
5
|
import { mergeProps } from '../merge-props.js';
|
|
5
6
|
import { cx } from '../utils/cx.js';
|
|
6
|
-
import '../utils/unit.js';
|
|
7
7
|
import { upperFirst, getElementTypeDisplayName } from './display-name.js';
|
|
8
8
|
import { EMPTY_STYLES } from './empty.js';
|
|
9
9
|
import { mainbase } from './factory.js';
|
|
@@ -46,7 +46,7 @@ function createRecipeContext(options) {
|
|
|
46
46
|
[inProps, propsContext]
|
|
47
47
|
);
|
|
48
48
|
const { styles, className, props: localProps } = useRecipeResult(props);
|
|
49
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
50
|
SuperComponent,
|
|
51
51
|
{
|
|
52
52
|
...localProps,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { forwardRef, useMemo } from 'react';
|
|
3
4
|
import { createContext } from '../create-context.js';
|
|
4
5
|
import { mergeProps } from '../merge-props.js';
|
|
5
6
|
import { cx } from '../utils/cx.js';
|
|
6
|
-
import '../utils/unit.js';
|
|
7
7
|
import { upperFirst, getElementTypeDisplayName, inferRootProviderDisplayName, inferSlotRecipeComponentDisplayName } from './display-name.js';
|
|
8
8
|
import { EMPTY_SLOT_STYLES } from './empty.js';
|
|
9
9
|
import { mainbase } from './factory.js';
|
|
@@ -63,7 +63,7 @@ const createSlotRecipeContext = (options) => {
|
|
|
63
63
|
[propsContext, inProps]
|
|
64
64
|
);
|
|
65
65
|
const { styles, classNames, props: rootProps } = useRecipeResult(props);
|
|
66
|
-
return /* @__PURE__ */
|
|
66
|
+
return /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(Component, { ...rootProps }) }) });
|
|
67
67
|
};
|
|
68
68
|
StyledComponent.displayName = displayNameOverride ?? inferredDisplayName ?? innerName;
|
|
69
69
|
return StyledComponent;
|
|
@@ -88,7 +88,7 @@ const createSlotRecipeContext = (options) => {
|
|
|
88
88
|
);
|
|
89
89
|
const { styles, props: rootProps, classNames } = useRecipeResult(props);
|
|
90
90
|
const className = classNames[slot];
|
|
91
|
-
const element = /* @__PURE__ */
|
|
91
|
+
const element = /* @__PURE__ */ jsx(StylesProvider, { value: styles, children: /* @__PURE__ */ jsx(ClassNamesProvider, { value: classNames, children: /* @__PURE__ */ jsx(
|
|
92
92
|
SuperComponent,
|
|
93
93
|
{
|
|
94
94
|
ref,
|
|
@@ -96,7 +96,7 @@ const createSlotRecipeContext = (options) => {
|
|
|
96
96
|
css: [styles[slot], props.css],
|
|
97
97
|
className: cx(props.className, className)
|
|
98
98
|
}
|
|
99
|
-
)));
|
|
99
|
+
) }) });
|
|
100
100
|
return wrapElement?.(element, props) ?? element;
|
|
101
101
|
});
|
|
102
102
|
StyledComponent.displayName = displayNameOverride ?? inferredDisplayName ?? getElementTypeDisplayName(Component);
|
|
@@ -111,7 +111,7 @@ const createSlotRecipeContext = (options) => {
|
|
|
111
111
|
const styles = useStyles();
|
|
112
112
|
const classNames = useClassNames();
|
|
113
113
|
const className = classNames?.[slot];
|
|
114
|
-
return /* @__PURE__ */
|
|
114
|
+
return /* @__PURE__ */ jsx(
|
|
115
115
|
SuperComponent,
|
|
116
116
|
{
|
|
117
117
|
...restProps,
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { compact } from '../utils/compact.js';
|
|
2
2
|
import { isString, isObject } from '../utils/is.js';
|
|
3
|
-
import { walkObject } from '../utils/walk-object.js';
|
|
4
3
|
import { memo } from '../utils/memo.js';
|
|
5
4
|
import { mergeWith } from '../utils/merge.js';
|
|
6
|
-
import '
|
|
7
|
-
import '../utils/unit.js';
|
|
5
|
+
import { walkObject } from '../utils/walk-object.js';
|
|
8
6
|
import { EMPTY_OBJECT, createEmptyObject } from './singleton.js';
|
|
9
7
|
import { sortAtRules } from './sort-at-rules.js';
|
|
10
8
|
|
|
@@ -4,10 +4,8 @@ import { mapEntries } from '../utils/entries.js';
|
|
|
4
4
|
import { memo } from '../utils/memo.js';
|
|
5
5
|
import { mergeWith } from '../utils/merge.js';
|
|
6
6
|
import { omit } from '../utils/omit.js';
|
|
7
|
-
import 'react';
|
|
8
7
|
import { splitProps } from '../utils/split-props.js';
|
|
9
8
|
import { uniq } from '../utils/uniq.js';
|
|
10
|
-
import '../utils/unit.js';
|
|
11
9
|
import { createCssFn } from './css.js';
|
|
12
10
|
import { EMPTY_OBJECT } from './singleton.js';
|
|
13
11
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import emotionIsPropValid from '@emotion/is-prop-valid';
|
|
3
4
|
import { withEmotionCache, ThemeContext } from '@emotion/react';
|
|
4
5
|
import { serializeStyles } from '@emotion/serialize';
|
|
@@ -12,7 +13,6 @@ import { cx } from '../utils/cx.js';
|
|
|
12
13
|
import { interopDefault } from '../utils/interop.js';
|
|
13
14
|
import { getElementRef } from '../utils/ref.js';
|
|
14
15
|
import { uniq } from '../utils/uniq.js';
|
|
15
|
-
import '../utils/unit.js';
|
|
16
16
|
import { useMainbaseContext } from './provider.js';
|
|
17
17
|
import { useResolvedProps, isHtmlProp } from './use-resolved-props.js';
|
|
18
18
|
|
|
@@ -43,7 +43,7 @@ const Insertion = ({ cache: cache2, serialized, isStringTag }) => {
|
|
|
43
43
|
serializedNames = cx(serializedNames, next.name);
|
|
44
44
|
next = next.next;
|
|
45
45
|
}
|
|
46
|
-
return /* @__PURE__ */
|
|
46
|
+
return /* @__PURE__ */ jsx(
|
|
47
47
|
"style",
|
|
48
48
|
{
|
|
49
49
|
...{
|
|
@@ -184,23 +184,29 @@ const createStyled = (tag, configOrCva = {}, options = {}) => {
|
|
|
184
184
|
}
|
|
185
185
|
if (finalProps.as && forwardAsChild) {
|
|
186
186
|
finalProps.as = void 0;
|
|
187
|
-
return /* @__PURE__ */
|
|
187
|
+
return /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
188
|
+
/* @__PURE__ */ jsx(
|
|
189
|
+
Insertion,
|
|
190
|
+
{
|
|
191
|
+
cache: cache2,
|
|
192
|
+
serialized,
|
|
193
|
+
isStringTag: typeof FinalTag === "string"
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
/* @__PURE__ */ jsx(FinalTag, { asChild: true, ...finalProps, children: /* @__PURE__ */ jsx(props.as, { children: finalProps.children }) })
|
|
197
|
+
] });
|
|
198
|
+
}
|
|
199
|
+
return /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
200
|
+
/* @__PURE__ */ jsx(
|
|
188
201
|
Insertion,
|
|
189
202
|
{
|
|
190
203
|
cache: cache2,
|
|
191
204
|
serialized,
|
|
192
205
|
isStringTag: typeof FinalTag === "string"
|
|
193
206
|
}
|
|
194
|
-
),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
Insertion,
|
|
198
|
-
{
|
|
199
|
-
cache: cache2,
|
|
200
|
-
serialized,
|
|
201
|
-
isStringTag: typeof FinalTag === "string"
|
|
202
|
-
}
|
|
203
|
-
), /* @__PURE__ */ React.createElement(FinalTag, { ...finalProps }));
|
|
207
|
+
),
|
|
208
|
+
/* @__PURE__ */ jsx(FinalTag, { ...finalProps })
|
|
209
|
+
] });
|
|
204
210
|
});
|
|
205
211
|
Styled.displayName = identifierName !== void 0 ? identifierName : `mainbase(${typeof baseTag === "string" ? baseTag : baseTag.displayName || baseTag.name || "Component"})`;
|
|
206
212
|
Styled.__emotion_real = Styled;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { clone } from '../utils/clone.js';
|
|
2
|
-
import { walkObject } from '../utils/walk-object.js';
|
|
3
2
|
import { mergeWith } from '../utils/merge.js';
|
|
4
|
-
import '
|
|
5
|
-
import '../utils/unit.js';
|
|
3
|
+
import { walkObject } from '../utils/walk-object.js';
|
|
6
4
|
|
|
7
5
|
const tokenKeys = ["value", "type", "description"];
|
|
8
6
|
const isValidToken = (token) => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { Global } from '@emotion/react';
|
|
3
4
|
import { createContext } from '../create-context.js';
|
|
4
5
|
|
|
@@ -9,7 +10,11 @@ const [MainbaseContextProvider, useMainbaseContext] = createContext({
|
|
|
9
10
|
});
|
|
10
11
|
function MainbaseProvider(props) {
|
|
11
12
|
const { value: sys, children } = props;
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ jsxs(MainbaseContextProvider, { value: sys, children: [
|
|
14
|
+
!sys._config.disableLayers && /* @__PURE__ */ jsx(Global, { styles: sys.layers.atRule }),
|
|
15
|
+
/* @__PURE__ */ jsx(Global, { styles: sys._global }),
|
|
16
|
+
children
|
|
17
|
+
] });
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
export { MainbaseProvider, useMainbaseContext };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { createContext } from '../create-context.js';
|
|
3
4
|
|
|
4
5
|
const [RecipePropsContextProvider, useParentRecipeProps] = createContext({
|
|
@@ -6,7 +7,7 @@ const [RecipePropsContextProvider, useParentRecipeProps] = createContext({
|
|
|
6
7
|
strict: false
|
|
7
8
|
});
|
|
8
9
|
function RecipePropsProvider(props) {
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ jsx(RecipePropsContextProvider, { value: props.value, children: props.children });
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export { RecipePropsProvider, useParentRecipeProps };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { isObject } from '../utils/is.js';
|
|
2
|
-
import { walkObject } from '../utils/walk-object.js';
|
|
3
2
|
import { memo } from '../utils/memo.js';
|
|
4
|
-
import '
|
|
5
|
-
import '../utils/unit.js';
|
|
3
|
+
import { walkObject } from '../utils/walk-object.js';
|
|
6
4
|
|
|
7
5
|
function createSerializeFn(options) {
|
|
8
6
|
const { conditions, isValidProperty } = options;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { mapEntries } from '../utils/entries.js';
|
|
2
2
|
import { memo } from '../utils/memo.js';
|
|
3
3
|
import { omit } from '../utils/omit.js';
|
|
4
|
-
import 'react';
|
|
5
4
|
import { splitProps } from '../utils/split-props.js';
|
|
6
|
-
import '../utils/unit.js';
|
|
7
5
|
import { EMPTY_OBJECT, EMPTY_ARRAY, createEmptyObject } from './singleton.js';
|
|
8
6
|
|
|
9
7
|
const getSlotRecipes = (config = EMPTY_OBJECT) => {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { isCssProperty } from '@pandacss/is-valid-prop';
|
|
2
2
|
import { compact } from '../utils/compact.js';
|
|
3
|
-
import { isObject } from '../utils/is.js';
|
|
4
3
|
import { mapEntries } from '../utils/entries.js';
|
|
5
4
|
import { flatten } from '../utils/flatten.js';
|
|
5
|
+
import { isObject } from '../utils/is.js';
|
|
6
6
|
import { memo } from '../utils/memo.js';
|
|
7
7
|
import { mergeWith } from '../utils/merge.js';
|
|
8
|
-
import 'react';
|
|
9
8
|
import { splitProps } from '../utils/split-props.js';
|
|
10
|
-
import '../utils/unit.js';
|
|
11
9
|
import { createBreakpoints } from './breakpoints.js';
|
|
12
10
|
import { createConditions } from './conditions.js';
|
|
13
11
|
import { mergeConfigs } from './merge-config.js';
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { compact } from '../utils/compact.js';
|
|
2
2
|
import { createProps } from '../utils/create-props.js';
|
|
3
|
-
import { isString, isObject, isFunction } from '../utils/is.js';
|
|
4
3
|
import { mapEntries } from '../utils/entries.js';
|
|
5
|
-
import {
|
|
4
|
+
import { isString, isObject, isFunction } from '../utils/is.js';
|
|
6
5
|
import { memo } from '../utils/memo.js';
|
|
7
|
-
import '
|
|
8
|
-
import '../utils/unit.js';
|
|
6
|
+
import { mapObject, walkObject } from '../utils/walk-object.js';
|
|
9
7
|
import { cssVar } from './css-var.js';
|
|
10
8
|
import { esc } from './esc.js';
|
|
11
9
|
import { expandTokenReferences } from './expand-reference.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { isString, isFunction } from '../utils/is.js';
|
|
2
1
|
import { mapEntries } from '../utils/entries.js';
|
|
2
|
+
import { isString, isFunction } from '../utils/is.js';
|
|
3
3
|
import { memo } from '../utils/memo.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '../utils/unit.js';
|
|
6
4
|
import { colorMix } from './color-mix.js';
|
|
7
5
|
import { mapToJson } from './map-to-json.js';
|
|
8
6
|
import { EMPTY_OBJECT } from './singleton.js';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { defineSlotRecipe, defineStyle } from '../../styled-system/config.js';
|
|
2
2
|
import { mapEntries } from '../../utils/entries.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../../utils/unit.js';
|
|
5
3
|
import { inputRecipe } from './input.js';
|
|
6
4
|
import { numberInputAnatomy } from '@ark-ui/react/number-input';
|
|
7
5
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { defineSlotRecipe } from '../../styled-system/config.js';
|
|
2
2
|
import { mapEntries } from '../../utils/entries.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../../utils/unit.js';
|
|
5
3
|
import { inputRecipe } from './input.js';
|
|
6
4
|
import { pinInputAnatomy } from '@ark-ui/react/pin-input';
|
|
7
5
|
|