@skeletonlabs/skeleton-react 2.0.0-next.10 → 2.0.0-next.11
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/dist/components/accordion/anatomy/item-content.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-heading.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts +3 -3
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +3 -3
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/modules/root-context.js +0 -1
- package/dist/components/accordion/modules/root-context.js.map +1 -1
- package/dist/components/app-bar/anatomy/headline.d.ts +3 -3
- package/dist/components/app-bar/anatomy/lead.d.ts +3 -3
- package/dist/components/app-bar/anatomy/root.d.ts +3 -3
- package/dist/components/app-bar/anatomy/toolbar.d.ts +3 -3
- package/dist/components/app-bar/anatomy/trail.d.ts +3 -3
- package/dist/components/avatar/anatomy/fallback.d.ts +3 -3
- package/dist/components/avatar/anatomy/image.d.ts +3 -3
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/combobox/anatomy/content.d.ts +11 -0
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/content.js +20 -0
- package/dist/components/combobox/anatomy/content.js.map +1 -0
- package/dist/components/combobox/anatomy/control.d.ts +11 -0
- package/dist/components/combobox/anatomy/control.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/control.js +20 -0
- package/dist/components/combobox/anatomy/control.js.map +1 -0
- package/dist/components/combobox/anatomy/input.d.ts +11 -0
- package/dist/components/combobox/anatomy/input.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/input.js +17 -0
- package/dist/components/combobox/anatomy/input.js.map +1 -0
- package/dist/components/combobox/anatomy/item-group-label.d.ts +12 -0
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-group-label.js +27 -0
- package/dist/components/combobox/anatomy/item-group-label.js.map +1 -0
- package/dist/components/combobox/anatomy/item-group.d.ts +11 -0
- package/dist/components/combobox/anatomy/item-group.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-group.js +29 -0
- package/dist/components/combobox/anatomy/item-group.js.map +1 -0
- package/dist/components/combobox/anatomy/item-indicator.d.ts +11 -0
- package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-indicator.js +23 -0
- package/dist/components/combobox/anatomy/item-indicator.js.map +1 -0
- package/dist/components/combobox/anatomy/item-text.d.ts +11 -0
- package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item-text.js +22 -0
- package/dist/components/combobox/anatomy/item-text.js.map +1 -0
- package/dist/components/combobox/anatomy/item.d.ts +11 -0
- package/dist/components/combobox/anatomy/item.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/item.js +26 -0
- package/dist/components/combobox/anatomy/item.js.map +1 -0
- package/dist/components/combobox/anatomy/label.d.ts +11 -0
- package/dist/components/combobox/anatomy/label.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/label.js +20 -0
- package/dist/components/combobox/anatomy/label.js.map +1 -0
- package/dist/components/combobox/anatomy/positioner.d.ts +11 -0
- package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/positioner.js +20 -0
- package/dist/components/combobox/anatomy/positioner.js.map +1 -0
- package/dist/components/combobox/anatomy/root-context.d.ts +11 -0
- package/dist/components/combobox/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/root-context.js +13 -0
- package/dist/components/combobox/anatomy/root-context.js.map +1 -0
- package/dist/components/combobox/anatomy/root-provider.d.ts +13 -0
- package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/root-provider.js +21 -0
- package/dist/components/combobox/anatomy/root-provider.js.map +1 -0
- package/dist/components/combobox/anatomy/root.d.ts +11 -0
- package/dist/components/combobox/anatomy/root.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/root.js +25 -0
- package/dist/components/combobox/anatomy/root.js.map +1 -0
- package/dist/components/combobox/anatomy/trigger.d.ts +11 -0
- package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/combobox/anatomy/trigger.js +21 -0
- package/dist/components/combobox/anatomy/trigger.js.map +1 -0
- package/dist/components/combobox/modules/anatomy.d.ts +34 -0
- package/dist/components/combobox/modules/anatomy.d.ts.map +1 -0
- package/dist/components/combobox/modules/anatomy.js +35 -0
- package/dist/components/combobox/modules/anatomy.js.map +1 -0
- package/dist/components/combobox/modules/item-context.js +8 -0
- package/dist/components/combobox/modules/item-context.js.map +1 -0
- package/dist/components/combobox/modules/item-group-context.js +8 -0
- package/dist/components/combobox/modules/item-group-context.js.map +1 -0
- package/dist/components/combobox/modules/root-context.js +8 -0
- package/dist/components/combobox/modules/root-context.js.map +1 -0
- package/dist/components/combobox/modules/use-combobox.d.ts +8 -0
- package/dist/components/combobox/modules/use-combobox.d.ts.map +1 -0
- package/dist/components/combobox/modules/use-combobox.js +16 -0
- package/dist/components/combobox/modules/use-combobox.js.map +1 -0
- package/dist/components/dialog/anatomy/backdrop.d.ts +3 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/content.d.ts +3 -3
- package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/description.d.ts +3 -3
- package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/positioner.d.ts +3 -3
- package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/dialog/anatomy/root.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/title.d.ts +3 -3
- package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/trigger.d.ts +3 -3
- package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
- package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow.d.ts +3 -3
- package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/popover/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/popover/anatomy/content.d.ts +3 -3
- package/dist/components/popover/anatomy/description.d.ts +3 -3
- package/dist/components/popover/anatomy/positioner.d.ts +2 -2
- package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/popover/anatomy/title.d.ts +3 -3
- package/dist/components/popover/anatomy/trigger.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/label.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/range.d.ts +3 -3
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/track.d.ts +3 -3
- package/dist/components/rating-group/anatomy/control.d.ts +3 -3
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/rating-group/anatomy/item.d.ts +3 -3
- package/dist/components/rating-group/anatomy/label.d.ts +3 -3
- package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/indicator.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item-text.d.ts +3 -3
- package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/control.d.ts +11 -0
- package/dist/components/slider/anatomy/control.d.ts.map +1 -0
- package/dist/components/slider/anatomy/control.js +20 -0
- package/dist/components/slider/anatomy/control.js.map +1 -0
- package/dist/components/slider/anatomy/hidden-input.d.ts +11 -0
- package/dist/components/slider/anatomy/hidden-input.d.ts.map +1 -0
- package/dist/components/slider/anatomy/hidden-input.js +19 -0
- package/dist/components/slider/anatomy/hidden-input.js.map +1 -0
- package/dist/components/slider/anatomy/label.d.ts +11 -0
- package/dist/components/slider/anatomy/label.d.ts.map +1 -0
- package/dist/components/slider/anatomy/label.js +20 -0
- package/dist/components/slider/anatomy/label.js.map +1 -0
- package/dist/components/slider/anatomy/marker-group.d.ts +11 -0
- package/dist/components/slider/anatomy/marker-group.d.ts.map +1 -0
- package/dist/components/slider/anatomy/marker-group.js +20 -0
- package/dist/components/slider/anatomy/marker-group.js.map +1 -0
- package/dist/components/slider/anatomy/marker.d.ts +12 -0
- package/dist/components/slider/anatomy/marker.d.ts.map +1 -0
- package/dist/components/slider/anatomy/marker.js +20 -0
- package/dist/components/slider/anatomy/marker.js.map +1 -0
- package/dist/components/slider/anatomy/range.d.ts +11 -0
- package/dist/components/slider/anatomy/range.d.ts.map +1 -0
- package/dist/components/slider/anatomy/range.js +20 -0
- package/dist/components/slider/anatomy/range.js.map +1 -0
- package/dist/components/slider/anatomy/root-context.d.ts +11 -0
- package/dist/components/slider/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/slider/anatomy/root-context.js +13 -0
- package/dist/components/slider/anatomy/root-context.js.map +1 -0
- package/dist/components/slider/anatomy/root-provider.d.ts +13 -0
- package/dist/components/slider/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/slider/anatomy/root-provider.js +21 -0
- package/dist/components/slider/anatomy/root-provider.js.map +1 -0
- package/dist/components/slider/anatomy/root.d.ts +11 -0
- package/dist/components/slider/anatomy/root.d.ts.map +1 -0
- package/dist/components/slider/anatomy/root.js +25 -0
- package/dist/components/slider/anatomy/root.js.map +1 -0
- package/dist/components/slider/anatomy/thumb.d.ts +11 -0
- package/dist/components/slider/anatomy/thumb.d.ts.map +1 -0
- package/dist/components/slider/anatomy/thumb.js +26 -0
- package/dist/components/slider/anatomy/thumb.js.map +1 -0
- package/dist/components/slider/anatomy/track.d.ts +11 -0
- package/dist/components/slider/anatomy/track.d.ts.map +1 -0
- package/dist/components/slider/anatomy/track.js +20 -0
- package/dist/components/slider/anatomy/track.js.map +1 -0
- package/dist/components/slider/anatomy/value-text.d.ts +11 -0
- package/dist/components/slider/anatomy/value-text.d.ts.map +1 -0
- package/dist/components/slider/anatomy/value-text.js +20 -0
- package/dist/components/slider/anatomy/value-text.js.map +1 -0
- package/dist/components/slider/modules/anatomy.d.ts +30 -0
- package/dist/components/slider/modules/anatomy.d.ts.map +1 -0
- package/dist/components/slider/modules/anatomy.js +31 -0
- package/dist/components/slider/modules/anatomy.js.map +1 -0
- package/dist/components/slider/modules/root-context.js +8 -0
- package/dist/components/slider/modules/root-context.js.map +1 -0
- package/dist/components/slider/modules/thumb-context.js +8 -0
- package/dist/components/slider/modules/thumb-context.js.map +1 -0
- package/dist/components/slider/modules/use-slider.d.ts +8 -0
- package/dist/components/slider/modules/use-slider.d.ts.map +1 -0
- package/dist/components/slider/modules/use-slider.js +16 -0
- package/dist/components/slider/modules/use-slider.js.map +1 -0
- package/dist/components/switch/anatomy/control.d.ts +3 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/switch/anatomy/label.d.ts +3 -3
- package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts.map +1 -1
- package/dist/components/switch/anatomy/thumb.d.ts +3 -3
- package/dist/components/tabs/anatomy/content.d.ts +3 -3
- package/dist/components/tabs/anatomy/indicator.d.ts +3 -3
- package/dist/components/tabs/anatomy/list.d.ts +3 -3
- package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.d.ts +2 -2
- package/dist/components/tabs/anatomy/trigger.d.ts +3 -3
- package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/control.d.ts +3 -3
- package/dist/components/tags-input/anatomy/control.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-input.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-preview.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item-text.d.ts +3 -3
- package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/item.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/label.d.ts +3 -3
- package/dist/components/tags-input/anatomy/label.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tags-input/anatomy/root.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root.d.ts.map +1 -1
- package/dist/components/toast/anatomy/action-trigger.d.ts +3 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/close-trigger.d.ts +3 -3
- package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
- package/dist/components/toast/anatomy/description.d.ts +3 -3
- package/dist/components/toast/anatomy/description.d.ts.map +1 -1
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/group.d.ts.map +1 -1
- package/dist/components/toast/anatomy/message.d.ts +3 -3
- package/dist/components/toast/anatomy/message.d.ts.map +1 -1
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.d.ts.map +1 -1
- package/dist/components/toast/anatomy/title.d.ts +3 -3
- package/dist/components/toast/anatomy/title.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/arrow.d.ts +3 -3
- package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/content.d.ts +3 -3
- package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts.map +1 -1
- package/dist/components/tooltip/anatomy/trigger.d.ts +3 -3
- package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
- package/dist/hooks/use-list-collection.d.ts +7 -0
- package/dist/hooks/use-list-collection.d.ts.map +1 -0
- package/dist/hooks/use-list-collection.js +10 -0
- package/dist/hooks/use-list-collection.js.map +1 -0
- package/dist/index.d.ts +32 -1
- package/dist/index.js +6 -14
- package/dist/internal/components/check.js +26 -0
- package/dist/internal/components/check.js.map +1 -0
- package/dist/internal/components/chevron-down.js +21 -0
- package/dist/internal/components/chevron-down.js.map +1 -0
- package/package.json +11 -6
- package/dist/components/accordion/index.js +0 -4
- package/dist/components/app-bar/index.js +0 -3
- package/dist/components/avatar/index.js +0 -4
- package/dist/components/dialog/index.js +0 -4
- package/dist/components/file-upload/index.js +0 -4
- package/dist/components/popover/index.js +0 -4
- package/dist/components/progress-linear/index.js +0 -4
- package/dist/components/rating-group/index.js +0 -4
- package/dist/components/segmented-control/index.js +0 -4
- package/dist/components/switch/index.js +0 -4
- package/dist/components/tabs/index.js +0 -4
- package/dist/components/tags-input/index.js +0 -4
- package/dist/components/tooltip/index.js +0 -4
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { useSlider } from "../modules/use-slider.js";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { splitProps } from "@zag-js/slider";
|
|
7
|
+
|
|
8
|
+
//#region src/components/slider/anatomy/root.tsx
|
|
9
|
+
function SliderRoot(props) {
|
|
10
|
+
const [sliderProps, componentProps] = splitProps(props);
|
|
11
|
+
const { element, children,...rest } = componentProps;
|
|
12
|
+
const slider = useSlider(sliderProps);
|
|
13
|
+
const attributes = mergeProps(slider.getRootProps(), rest, { className: classesSlider.root });
|
|
14
|
+
return /* @__PURE__ */ jsx(SliderRootContext.Provider, {
|
|
15
|
+
value: slider,
|
|
16
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
17
|
+
...attributes,
|
|
18
|
+
children
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { SliderRoot as default };
|
|
25
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/slider/anatomy/root.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { useSlider } from '../modules/use-slider';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/slider';\nimport type { Props } from '@zag-js/slider';\n\nexport interface SliderRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}\n\nexport default function SliderRoot(props: SliderRootProps) {\n\tconst [sliderProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst slider = useSlider(sliderProps);\n\n\tconst attributes = mergeProps(slider.getRootProps(), rest, {\n\t\tclassName: classesSlider.root,\n\t});\n\n\treturn (\n\t\t<SliderRootContext.Provider value={slider}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,WAAW,OAAwB;CAC1D,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,SAAS,UAAU,YAAY;CAErC,MAAM,aAAa,WAAW,OAAO,cAAc,EAAE,MAAM,EAC1D,WAAW,cAAc,MACzB,CAAC;AAEF,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC1C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
4
|
+
import { ThumbProps } from "@zag-js/slider";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/thumb.d.ts
|
|
7
|
+
interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Thumb(props: SliderThumbProps): react_jsx_runtime83.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderThumbProps, Thumb };
|
|
11
|
+
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumb.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,gBAAA,SAAyB,YAAY,yBAAyB;iBAEvD,KAAA,QAAa,mBAAgB,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { SliderThumbContext } from "../modules/thumb-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { splitThumbProps } from "@zag-js/slider";
|
|
8
|
+
|
|
9
|
+
//#region src/components/slider/anatomy/thumb.tsx
|
|
10
|
+
function Thumb(props) {
|
|
11
|
+
const slider = use(SliderRootContext);
|
|
12
|
+
const [thumbProps, componentProps] = splitThumbProps(props);
|
|
13
|
+
const { element, children,...rest } = componentProps;
|
|
14
|
+
const attributes = mergeProps(slider.getThumbProps(thumbProps), rest, { className: classesSlider.thumb });
|
|
15
|
+
return /* @__PURE__ */ jsx(SliderThumbContext.Provider, {
|
|
16
|
+
value: thumbProps,
|
|
17
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
18
|
+
...attributes,
|
|
19
|
+
children
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Thumb as default };
|
|
26
|
+
//# sourceMappingURL=thumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/slider/anatomy/thumb.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport { SliderThumbContext } from '../modules/thumb-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitThumbProps, type ThumbProps } from '@zag-js/slider';\nimport { use } from 'react';\n\nexport interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Thumb(props: SliderThumbProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst [thumbProps, componentProps] = splitThumbProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(slider.getThumbProps(thumbProps), rest, {\n\t\tclassName: classesSlider.thumb,\n\t});\n\n\treturn (\n\t\t<SliderThumbContext.Provider value={thumbProps}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</SliderThumbContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,CAAC,YAAY,kBAAkB,gBAAgB,MAAM;CAC3D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,cAAc,WAAW,EAAE,MAAM,EACrE,WAAW,cAAc,OACzB,CAAC;AAEF,QACC,oBAAC,mBAAmB;EAAS,OAAO;YAClC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACzC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react267 from "react";
|
|
4
|
+
import * as react_jsx_runtime82 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/track.d.ts
|
|
7
|
+
interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
+
declare function Track(props: SliderTrackProps): string | number | bigint | boolean | Iterable<react267.ReactNode> | Promise<string | number | bigint | boolean | react267.ReactPortal | react267.ReactElement<unknown, string | react267.JSXElementConstructor<any>> | Iterable<react267.ReactNode> | null | undefined> | react_jsx_runtime82.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderTrackProps, Track };
|
|
11
|
+
//# sourceMappingURL=track.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,yBAAyB;iBAE3C,KAAA,QAAa,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/track.tsx
|
|
8
|
+
function Track(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getTrackProps(), rest, { className: classesSlider.track });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Track as default };
|
|
20
|
+
//# sourceMappingURL=track.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.js","names":[],"sources":["../../../../src/components/slider/anatomy/track.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Track(props: SliderTrackProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getTrackProps(), rest, {\n\t\tclassName: classesSlider.track,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,eAAe,EAAE,MAAM,EAC3D,WAAW,cAAc,OACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react287 from "react";
|
|
4
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/slider/anatomy/value-text.d.ts
|
|
7
|
+
interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}
|
|
8
|
+
declare function ValueText(props: SliderValueTextProps): string | number | bigint | boolean | Iterable<react287.ReactNode> | Promise<string | number | bigint | boolean | react287.ReactPortal | react287.ReactElement<unknown, string | react287.JSXElementConstructor<any>> | Iterable<react287.ReactNode> | null | undefined> | react_jsx_runtime87.JSX.Element | null | undefined;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SliderValueTextProps, ValueText };
|
|
11
|
+
//# sourceMappingURL=value-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-text.d.ts","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,oBAAA,SAA6B,4BAA4B;iBAElD,SAAA,QAAiB,4DAAoB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SliderRootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesSlider } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/slider/anatomy/value-text.tsx
|
|
8
|
+
function ValueText(props) {
|
|
9
|
+
const slider = use(SliderRootContext);
|
|
10
|
+
const { element, children,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(slider.getValueTextProps(), rest, { className: classesSlider.valueText });
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("output", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ValueText as default };
|
|
20
|
+
//# sourceMappingURL=value-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-text.js","names":[],"sources":["../../../../src/components/slider/anatomy/value-text.tsx"],"sourcesContent":["import { SliderRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSlider } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SliderValueTextProps extends PropsWithElement<'output'>, HTMLAttributes<'output'> {}\n\nexport default function ValueText(props: SliderValueTextProps) {\n\tconst slider = use(SliderRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(slider.getValueTextProps(), rest, {\n\t\tclassName: classesSlider.valueText,\n\t});\n\n\treturn element ? element(attributes) : <output {...attributes}>{children}</output>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA6B;CAC9D,MAAM,SAAS,IAAI,kBAAkB;CAErC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,OAAO,mBAAmB,EAAE,MAAM,EAC/D,WAAW,cAAc,WACzB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Control } from "../anatomy/control.js";
|
|
2
|
+
import { HiddenInput } from "../anatomy/hidden-input.js";
|
|
3
|
+
import { Label } from "../anatomy/label.js";
|
|
4
|
+
import { Marker } from "../anatomy/marker.js";
|
|
5
|
+
import { MarkerGroup } from "../anatomy/marker-group.js";
|
|
6
|
+
import { Range } from "../anatomy/range.js";
|
|
7
|
+
import { SliderRoot } from "../anatomy/root.js";
|
|
8
|
+
import { SliderRootContextComponent } from "../anatomy/root-context.js";
|
|
9
|
+
import { SliderRootProvider } from "../anatomy/root-provider.js";
|
|
10
|
+
import { Thumb } from "../anatomy/thumb.js";
|
|
11
|
+
import { Track } from "../anatomy/track.js";
|
|
12
|
+
import { ValueText } from "../anatomy/value-text.js";
|
|
13
|
+
|
|
14
|
+
//#region src/components/slider/modules/anatomy.d.ts
|
|
15
|
+
declare const Slider: typeof SliderRoot & {
|
|
16
|
+
Provider: typeof SliderRootProvider;
|
|
17
|
+
Context: typeof SliderRootContextComponent;
|
|
18
|
+
Label: typeof Label;
|
|
19
|
+
ValueText: typeof ValueText;
|
|
20
|
+
Control: typeof Control;
|
|
21
|
+
Track: typeof Track;
|
|
22
|
+
Range: typeof Range;
|
|
23
|
+
Thumb: typeof Thumb;
|
|
24
|
+
HiddenInput: typeof HiddenInput;
|
|
25
|
+
MarkerGroup: typeof MarkerGroup;
|
|
26
|
+
Marker: typeof Marker;
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Slider };
|
|
30
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/slider/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;cAaa,eAAM;;EAAN,OAAA,EAYX,iCAAA;EAAA,KAAA,EAAA,YAAA;WAZiB,EAAA,gBAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Control from "../anatomy/control.js";
|
|
2
|
+
import HiddenInput from "../anatomy/hidden-input.js";
|
|
3
|
+
import Label from "../anatomy/label.js";
|
|
4
|
+
import Marker from "../anatomy/marker.js";
|
|
5
|
+
import MarkerGroup from "../anatomy/marker-group.js";
|
|
6
|
+
import Range from "../anatomy/range.js";
|
|
7
|
+
import SliderRoot from "../anatomy/root.js";
|
|
8
|
+
import SliderRootContextComponent from "../anatomy/root-context.js";
|
|
9
|
+
import SliderRootProvider from "../anatomy/root-provider.js";
|
|
10
|
+
import Thumb from "../anatomy/thumb.js";
|
|
11
|
+
import Track from "../anatomy/track.js";
|
|
12
|
+
import ValueText from "../anatomy/value-text.js";
|
|
13
|
+
|
|
14
|
+
//#region src/components/slider/modules/anatomy.ts
|
|
15
|
+
const Slider = Object.assign(SliderRoot, {
|
|
16
|
+
Provider: SliderRootProvider,
|
|
17
|
+
Context: SliderRootContextComponent,
|
|
18
|
+
Label,
|
|
19
|
+
ValueText,
|
|
20
|
+
Control,
|
|
21
|
+
Track,
|
|
22
|
+
Range,
|
|
23
|
+
Thumb,
|
|
24
|
+
HiddenInput,
|
|
25
|
+
MarkerGroup,
|
|
26
|
+
Marker
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Slider };
|
|
31
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":["Root","RootProvider","RootContext"],"sources":["../../../../src/components/slider/modules/anatomy.ts"],"sourcesContent":["import Control from '../anatomy/control';\nimport HiddenInput from '../anatomy/hidden-input';\nimport Label from '../anatomy/label';\nimport Marker from '../anatomy/marker';\nimport MarkerGroup from '../anatomy/marker-group';\nimport Range from '../anatomy/range';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\nimport Thumb from '../anatomy/thumb';\nimport Track from '../anatomy/track';\nimport ValueText from '../anatomy/value-text';\n\nexport const Slider = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tValueText: ValueText,\n\tControl: Control,\n\tTrack: Track,\n\tRange: Range,\n\tThumb: Thumb,\n\tHiddenInput: HiddenInput,\n\tMarkerGroup: MarkerGroup,\n\tMarker: Marker,\n});\n"],"mappings":";;;;;;;;;;;;;;AAaA,MAAa,SAAS,OAAO,OAAOA,YAAM;CACzC,UAAUC;CACV,SAASC;CACF;CACI;CACF;CACF;CACA;CACA;CACM;CACA;CACL;CACR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/slider/modules/root-context.ts"],"sourcesContent":["import type { useSlider } from './use-slider';\nimport { createContext } from '@/internal/create-context';\n\nexport const SliderRootContext = createContext<ReturnType<typeof useSlider>>();\n"],"mappings":";;;AAGA,MAAa,oBAAoB,eAA6C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext } from "../../../internal/create-context.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/slider/modules/thumb-context.ts
|
|
4
|
+
const SliderThumbContext = createContext();
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
export { SliderThumbContext };
|
|
8
|
+
//# sourceMappingURL=thumb-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thumb-context.js","names":[],"sources":["../../../../src/components/slider/modules/thumb-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ThumbProps } from '@zag-js/slider';\n\nexport const SliderThumbContext = createContext<ThumbProps>();\n"],"mappings":";;;AAGA,MAAa,qBAAqB,eAA2B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropTypes } from "@zag-js/react";
|
|
2
|
+
import { Api, Props } from "@zag-js/slider";
|
|
3
|
+
|
|
4
|
+
//#region src/components/slider/modules/use-slider.d.ts
|
|
5
|
+
declare function useSlider(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useSlider };
|
|
8
|
+
//# sourceMappingURL=use-slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-slider.d.ts","names":[],"sources":["../../../../src/components/slider/modules/use-slider.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,SAAA,SAAiB,KAAK,eAAoB,IAAI"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useId } from "react";
|
|
2
|
+
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
|
+
import { connect, machine } from "@zag-js/slider";
|
|
4
|
+
|
|
5
|
+
//#region src/components/slider/modules/use-slider.ts
|
|
6
|
+
function useSlider(props = {}) {
|
|
7
|
+
const service = useMachine(machine, {
|
|
8
|
+
id: useId(),
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
return connect(service, normalizeProps);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { useSlider };
|
|
16
|
+
//# sourceMappingURL=use-slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-slider.js","names":[],"sources":["../../../../src/components/slider/modules/use-slider.ts"],"sourcesContent":["import { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/slider';\nimport type { Api, Props } from '@zag-js/slider';\nimport { useId } from 'react';\n\nexport function useSlider(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAKA,SAAgB,UAAU,QAA2B,EAAE,EAAkB;CACxE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react302 from "react";
|
|
4
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/control.d.ts
|
|
7
7
|
interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Control(props: SwitchControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: SwitchControlProps): string | number | bigint | boolean | Iterable<react302.ReactNode> | Promise<string | number | bigint | boolean | react302.ReactPortal | react302.ReactElement<unknown, string | react302.JSXElementConstructor<any>> | Iterable<react302.ReactNode> | null | undefined> | react_jsx_runtime90.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, SwitchControlProps };
|
|
11
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react307 from "react";
|
|
4
|
+
import * as react_jsx_runtime91 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/hidden-input.d.ts
|
|
7
7
|
interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: SwitchHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: SwitchHiddenInputProps): string | number | bigint | boolean | Iterable<react307.ReactNode> | Promise<string | number | bigint | boolean | react307.ReactPortal | react307.ReactElement<unknown, string | react307.JSXElementConstructor<any>> | Iterable<react307.ReactNode> | null | undefined> | react_jsx_runtime91.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, SwitchHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react312 from "react";
|
|
4
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/label.d.ts
|
|
7
7
|
interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Label(props: SwitchLabelProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Label(props: SwitchLabelProps): string | number | bigint | boolean | Iterable<react312.ReactNode> | Promise<string | number | bigint | boolean | react312.ReactPortal | react312.ReactElement<unknown, string | react312.JSXElementConstructor<any>> | Iterable<react312.ReactNode> | null | undefined> | react_jsx_runtime92.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Label, SwitchLabelProps };
|
|
11
11
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useSwitch } from "../modules/use-switch.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root-provider.d.ts
|
|
7
7
|
interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSwitch>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SwitchRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime93.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SwitchRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/switch";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root.d.ts
|
|
7
7
|
interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
8
|
-
declare function Root(props: SwitchRootProps):
|
|
8
|
+
declare function Root(props: SwitchRootProps): react_jsx_runtime121.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,eAAA,SAAwB,KAAK,cAAc,2BAA2B;iBAE/D,IAAA,QAAY,kBAAe,
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,eAAA,SAAwB,KAAK,cAAc,2BAA2B;iBAE/D,IAAA,QAAY,kBAAe,oBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react317 from "react";
|
|
4
|
+
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/thumb.d.ts
|
|
7
7
|
interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Thumb(props: SwitchThumbProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Thumb(props: SwitchThumbProps): string | number | bigint | boolean | Iterable<react317.ReactNode> | Promise<string | number | bigint | boolean | react317.ReactPortal | react317.ReactElement<unknown, string | react317.JSXElementConstructor<any>> | Iterable<react317.ReactNode> | null | undefined> | react_jsx_runtime94.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SwitchThumbProps, Thumb };
|
|
11
11
|
//# sourceMappingURL=thumb.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react322 from "react";
|
|
4
|
+
import * as react_jsx_runtime95 from "react/jsx-runtime";
|
|
5
5
|
import { ContentProps } from "@zag-js/tabs";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tabs/anatomy/content.d.ts
|
|
8
8
|
interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
-
declare function Content(props: TabsContentProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Content(props: TabsContentProps): string | number | bigint | boolean | Iterable<react322.ReactNode> | Promise<string | number | bigint | boolean | react322.ReactPortal | react322.ReactElement<unknown, string | react322.JSXElementConstructor<any>> | Iterable<react322.ReactNode> | null | undefined> | react_jsx_runtime95.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Content, TabsContentProps };
|
|
12
12
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react327 from "react";
|
|
4
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/indicator.d.ts
|
|
7
7
|
interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
8
|
-
declare function Indicator(props: TabsIndicatorProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Indicator(props: TabsIndicatorProps): string | number | bigint | boolean | Iterable<react327.ReactNode> | Promise<string | number | bigint | boolean | react327.ReactPortal | react327.ReactElement<unknown, string | react327.JSXElementConstructor<any>> | Iterable<react327.ReactNode> | null | undefined> | react_jsx_runtime96.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Indicator, TabsIndicatorProps };
|
|
11
11
|
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react332 from "react";
|
|
4
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/list.d.ts
|
|
7
7
|
interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function List(props: TabsListProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function List(props: TabsListProps): string | number | bigint | boolean | Iterable<react332.ReactNode> | Promise<string | number | bigint | boolean | react332.ReactPortal | react332.ReactElement<unknown, string | react332.JSXElementConstructor<any>> | Iterable<react332.ReactNode> | null | undefined> | react_jsx_runtime97.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { List, TabsListProps };
|
|
11
11
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useTabs } from "../modules/use-tabs.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root-provider.d.ts
|
|
7
7
|
interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useTabs>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TabsRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime99.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TabsRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tabs";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root.d.ts
|
|
7
7
|
interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TabsRootProps):
|
|
8
|
+
declare function Root(props: TabsRootProps): react_jsx_runtime98.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TabsRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react337 from "react";
|
|
4
|
+
import * as react_jsx_runtime100 from "react/jsx-runtime";
|
|
5
5
|
import { TriggerProps } from "@zag-js/tabs";
|
|
6
6
|
|
|
7
7
|
//#region src/components/tabs/anatomy/trigger.d.ts
|
|
8
8
|
interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}
|
|
9
|
-
declare function Trigger(props: TabsTriggerProps): string | number | bigint | boolean | Iterable<
|
|
9
|
+
declare function Trigger(props: TabsTriggerProps): string | number | bigint | boolean | Iterable<react337.ReactNode> | Promise<string | number | bigint | boolean | react337.ReactPortal | react337.ReactElement<unknown, string | react337.JSXElementConstructor<any>> | Iterable<react337.ReactNode> | null | undefined> | react_jsx_runtime100.JSX.Element | null | undefined;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { TabsTriggerProps, Trigger };
|
|
12
12
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;;UASiB,gBAAA,SAAyB,cAAc,4BAA4B;iBAE5D,OAAA,QAAe,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;;UASiB,gBAAA,SAAyB,cAAc,4BAA4B;iBAE5D,OAAA,QAAe,wDAAgB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react342 from "react";
|
|
4
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/clear-trigger.d.ts
|
|
7
7
|
interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ClearTrigger(props: TagsInputClearTriggerProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function ClearTrigger(props: TagsInputClearTriggerProps): string | number | bigint | boolean | Iterable<react342.ReactNode> | Promise<string | number | bigint | boolean | react342.ReactPortal | react342.ReactElement<unknown, string | react342.JSXElementConstructor<any>> | Iterable<react342.ReactNode> | null | undefined> | react_jsx_runtime101.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ClearTrigger, TagsInputClearTriggerProps };
|
|
11
11
|
//# sourceMappingURL=clear-trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,4BAA4B;iBAExD,YAAA,QAAoB,kEAA0B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"clear-trigger.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,0BAAA,SAAmC,4BAA4B;iBAExD,YAAA,QAAoB,kEAA0B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react347 from "react";
|
|
4
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/control.d.ts
|
|
7
7
|
interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Control(props: TagsInputControlProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function Control(props: TagsInputControlProps): string | number | bigint | boolean | Iterable<react347.ReactNode> | Promise<string | number | bigint | boolean | react347.ReactPortal | react347.ReactElement<unknown, string | react347.JSXElementConstructor<any>> | Iterable<react347.ReactNode> | null | undefined> | react_jsx_runtime102.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, TagsInputControlProps };
|
|
11
11
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,yBAAyB;iBAEhD,OAAA,QAAe,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,yBAAyB;iBAEhD,OAAA,QAAe,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
3
|
+
import * as react352 from "react";
|
|
4
|
+
import * as react_jsx_runtime103 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/hidden-input.d.ts
|
|
7
7
|
interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
8
|
-
declare function HiddenInput(props: TagsInputHiddenInputProps): string | number | bigint | boolean | Iterable<
|
|
8
|
+
declare function HiddenInput(props: TagsInputHiddenInputProps): string | number | bigint | boolean | Iterable<react352.ReactNode> | Promise<string | number | bigint | boolean | react352.ReactPortal | react352.ReactElement<unknown, string | react352.JSXElementConstructor<any>> | Iterable<react352.ReactNode> | null | undefined> | react_jsx_runtime103.JSX.Element | null | undefined;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { HiddenInput, TagsInputHiddenInputProps };
|
|
11
11
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,yBAAA,SAAkC,2BAA2B;iBAEtD,WAAA,QAAmB,iEAAyB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,
|
|
1
|
+
{"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,yBAAA,SAAkC,2BAA2B;iBAEtD,WAAA,QAAmB,iEAAyB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|