@ark-ui/solid 1.1.0 → 1.3.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/CHANGELOG.md +40 -1
- package/README.md +25 -21
- package/cjs/index.js +229 -96
- package/cjs/index.js.map +1 -1
- package/esm/index.js +217 -96
- package/esm/index.js.map +1 -1
- package/package.json +56 -52
- package/source/combobox/use-combobox.js +3 -3
- package/source/date-picker/date-picker.jsx +1 -1
- package/source/editable/editable-area.jsx +2 -2
- package/source/editable/editable-cancel-trigger.jsx +2 -2
- package/source/editable/editable-control.jsx +2 -2
- package/source/editable/editable-edit-trigger.jsx +2 -2
- package/source/editable/editable-input.jsx +2 -2
- package/source/editable/editable-label.jsx +2 -2
- package/source/editable/editable-preview.jsx +2 -2
- package/source/editable/editable-submit-trigger.jsx +2 -2
- package/source/editable/editable.jsx +5 -7
- package/source/factory.jsx +1 -1
- package/source/file-upload/file-upload-item-preview-image.jsx +13 -0
- package/source/file-upload/file-upload-item-preview.jsx +3 -10
- package/source/file-upload/file-upload.jsx +5 -1
- package/source/file-upload/index.js +7 -5
- package/source/index.jsx +1 -0
- package/source/number-input/index.js +1 -1
- package/source/pagination/pagination-ellipsis.jsx +2 -2
- package/source/pagination/pagination.jsx +2 -4
- package/source/pin-input/index.js +1 -1
- package/source/pin-input/pin-input.jsx +2 -2
- package/source/popover/popover-description.jsx +1 -1
- package/source/progress/index.js +22 -0
- package/source/progress/progress-circle-range.jsx +8 -0
- package/source/progress/progress-circle-track.jsx +8 -0
- package/source/progress/progress-circle.jsx +8 -0
- package/source/progress/progress-context.js +5 -0
- package/source/progress/progress-indicator.jsx +10 -0
- package/source/progress/progress-label.jsx +8 -0
- package/source/progress/progress-range.jsx +8 -0
- package/source/progress/progress-track.jsx +8 -0
- package/source/progress/progress-value-text.jsx +10 -0
- package/source/progress/progress.jsx +24 -0
- package/source/progress/use-progress.js +10 -0
- package/source/radio-group/radio-group-item-context.js +2 -2
- package/source/radio-group/radio-group-item.jsx +9 -6
- package/source/rating-group/rating-group-control.jsx +1 -1
- package/source/rating-group/rating-group-item.jsx +2 -2
- package/source/rating-group/rating-group.jsx +2 -2
- package/source/segment-group/segment-group-item-context.js +2 -2
- package/source/segment-group/segment-group-item.jsx +9 -6
- package/source/select/select-indicator.jsx +1 -1
- package/source/select/select-item-group.jsx +2 -2
- package/source/select/select.jsx +2 -2
- package/source/select/use-select.js +3 -3
- package/source/spread.js +3 -2
- package/source/switch/switch-label.jsx +2 -2
- package/source/switch/switch-thumb.jsx +2 -2
- package/source/switch/switch.jsx +2 -2
- package/source/toast/create-toaster.jsx +3 -3
- package/source/toast/index.js +5 -3
- package/source/toast/toast-group.jsx +4 -0
- package/types/accordion/index.d.ts +2 -1
- package/types/avatar/index.d.ts +2 -1
- package/types/carousel/index.d.ts +2 -1
- package/types/checkbox/index.d.ts +2 -2
- package/types/color-picker/index.d.ts +2 -2
- package/types/combobox/index.d.ts +2 -1
- package/types/create-split-props.d.ts +1 -1
- package/types/date-picker/index.d.ts +2 -1
- package/types/dialog/index.d.ts +2 -1
- package/types/editable/index.d.ts +2 -1
- package/types/file-upload/file-upload-item-preview-image.d.ts +4 -0
- package/types/file-upload/file-upload-item-preview.d.ts +6 -1
- package/types/file-upload/index.d.ts +10 -7
- package/types/hover-card/index.d.ts +2 -1
- package/types/index.d.ts +1 -0
- package/types/menu/index.d.ts +2 -1
- package/types/number-input/index.d.ts +3 -2
- package/types/pagination/index.d.ts +2 -1
- package/types/pin-input/index.d.ts +3 -2
- package/types/popover/index.d.ts +2 -1
- package/types/popover/popover-description.d.ts +1 -1
- package/types/presence/split-presence-props.d.ts +1 -1
- package/types/progress/index.d.ts +23 -0
- package/types/progress/progress-circle-range.d.ts +4 -0
- package/types/progress/progress-circle-track.d.ts +4 -0
- package/types/progress/progress-circle.d.ts +4 -0
- package/types/progress/progress-context.d.ts +4 -0
- package/types/progress/progress-indicator.d.ts +6 -0
- package/types/progress/progress-label.d.ts +4 -0
- package/types/progress/progress-range.d.ts +4 -0
- package/types/progress/progress-track.d.ts +4 -0
- package/types/progress/progress-value-text.d.ts +4 -0
- package/types/progress/progress.d.ts +9 -0
- package/types/progress/use-progress.d.ts +9 -0
- package/types/radio-group/index.d.ts +2 -1
- package/types/radio-group/radio-group-item-context.d.ts +1 -1
- package/types/radio-group/radio-group-item.d.ts +6 -3
- package/types/rating-group/index.d.ts +2 -1
- package/types/rating-group/rating-group-item-context.d.ts +2 -3
- package/types/segment-group/index.d.ts +2 -1
- package/types/segment-group/segment-group-item-context.d.ts +3 -14
- package/types/segment-group/segment-group-item.d.ts +6 -2
- package/types/select/index.d.ts +2 -1
- package/types/slider/index.d.ts +2 -1
- package/types/splitter/index.d.ts +2 -1
- package/types/spread.d.ts +1 -1
- package/types/switch/index.d.ts +2 -1
- package/types/tabs/index.d.ts +2 -1
- package/types/tags-input/index.d.ts +2 -1
- package/types/toast/index.d.ts +6 -4
- package/types/toast/toast-group.d.ts +4 -0
- package/types/toggle-group/index.d.ts +2 -1
- package/types/tooltip/index.d.ts +2 -1
- /package/source/number-input/{number-input-field.jsx → number-input-input.jsx} +0 -0
- /package/source/pin-input/{pin-input-field.jsx → pin-input-input.jsx} +0 -0
- /package/types/number-input/{number-input-field.d.ts → number-input-input.d.ts} +0 -0
- /package/types/pin-input/{pin-input-field.d.ts → pin-input-input.d.ts} +0 -0
package/esm/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import * as numberInput from '@zag-js/number-input';
|
|
|
19
19
|
import * as pagination from '@zag-js/pagination';
|
|
20
20
|
import * as pinInput from '@zag-js/pin-input';
|
|
21
21
|
import * as popover from '@zag-js/popover';
|
|
22
|
+
import * as progress from '@zag-js/progress';
|
|
22
23
|
import * as radio from '@zag-js/radio-group';
|
|
23
24
|
import * as rating from '@zag-js/rating-group';
|
|
24
25
|
import * as select from '@zag-js/select';
|
|
@@ -74,6 +75,7 @@ const spread = (node, props) => {
|
|
|
74
75
|
const nodeEvents = Object.fromEntries(Object.keys(node).filter(prop => prop.startsWith('$$'))
|
|
75
76
|
// @ts-expect-error - fix later
|
|
76
77
|
.map(prop => [prop, node[prop]]));
|
|
78
|
+
const isSVG = node instanceof SVGElement;
|
|
77
79
|
const childProps = createMemo(() => mapProps(props, (key, value) => {
|
|
78
80
|
const eventKey = getEventKey(key);
|
|
79
81
|
|
|
@@ -92,14 +94,14 @@ const spread = (node, props) => {
|
|
|
92
94
|
|
|
93
95
|
// class composition
|
|
94
96
|
if (key === 'class') {
|
|
95
|
-
return [node.
|
|
97
|
+
return [node.classList.toString(), value].filter(Boolean).join(' ');
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
// don't override existing child attributes
|
|
99
101
|
if (node.hasAttribute(key)) return;
|
|
100
102
|
return value;
|
|
101
103
|
}));
|
|
102
|
-
spread$1(node, mergeProps(childProps));
|
|
104
|
+
spread$1(node, mergeProps(childProps), isSVG);
|
|
103
105
|
};
|
|
104
106
|
|
|
105
107
|
const booleans = ['allowfullscreen', 'async', 'autofocus', 'autoplay', 'checked', 'controls', 'default', 'disabled', 'formnovalidate', 'hidden', 'indeterminate', 'ismap', 'loop', 'multiple', 'muted', 'nomodule', 'novalidate', 'open', 'playsinline', 'readonly', 'required', 'reversed', 'seamless', 'selected'];
|
|
@@ -371,7 +373,7 @@ function withAsChild(Component) {
|
|
|
371
373
|
const getChildren = children(() => ssrSpread(localProps.children, restProps));
|
|
372
374
|
createEffect(() => {
|
|
373
375
|
const children = getChildren();
|
|
374
|
-
if (children instanceof HTMLElement) {
|
|
376
|
+
if (children instanceof HTMLElement || children instanceof SVGElement) {
|
|
375
377
|
spread(children, restProps);
|
|
376
378
|
}
|
|
377
379
|
});
|
|
@@ -1127,14 +1129,14 @@ const [ComboboxProvider, useComboboxContext] = createContext({
|
|
|
1127
1129
|
|
|
1128
1130
|
const useCombobox = props => {
|
|
1129
1131
|
const [collectionOptions, rest] = createSplitProps()(props, ['isItemDisabled', 'itemToValue', 'itemToString', 'items']);
|
|
1130
|
-
const collection = combobox.collection(collectionOptions);
|
|
1132
|
+
const collection = () => combobox.collection(collectionOptions);
|
|
1131
1133
|
const getRootNode = useEnvironmentContext();
|
|
1132
|
-
const context = mergeProps$2({
|
|
1134
|
+
const context = () => mergeProps$2({
|
|
1133
1135
|
id: createUniqueId(),
|
|
1134
1136
|
getRootNode,
|
|
1135
|
-
collection
|
|
1137
|
+
collection: collection()
|
|
1136
1138
|
}, rest);
|
|
1137
|
-
const [state, send] = useMachine(combobox.machine(context), {
|
|
1139
|
+
const [state, send] = useMachine(combobox.machine(context()), {
|
|
1138
1140
|
context
|
|
1139
1141
|
});
|
|
1140
1142
|
return createMemo(() => combobox.connect(state, send, normalizeProps));
|
|
@@ -1314,7 +1316,7 @@ const useDatePicker = props => {
|
|
|
1314
1316
|
|
|
1315
1317
|
const DatePicker$1 = props => {
|
|
1316
1318
|
const [presenceProps, datePickerProps] = splitPresenceProps(props);
|
|
1317
|
-
const [useDatePickerProps, localProps] = createSplitProps()(datePickerProps, ['closeOnSelect', 'dir', 'disabled', 'fixedWeeks', 'focusedValue', 'format', 'getRootNode', 'id', 'ids', 'isDateUnavailable', 'isDateUnavailable', 'locale', 'max', '
|
|
1319
|
+
const [useDatePickerProps, localProps] = createSplitProps()(datePickerProps, ['closeOnSelect', 'dir', 'disabled', 'fixedWeeks', 'focusedValue', 'format', 'getRootNode', 'id', 'ids', 'isDateUnavailable', 'isDateUnavailable', 'locale', 'max', 'min', 'modal', 'name', 'numOfMonths', 'onFocusChange', 'onOpenChange', 'onValueChange', 'onViewChange', 'open', 'parse', 'positioning', 'readOnly', 'selectionMode', 'startOfWeek', 'timeZone', 'translations', 'value', 'view']);
|
|
1318
1320
|
const api = useDatePicker(useDatePickerProps);
|
|
1319
1321
|
const apiPresence = usePresence(mergeProps$2(presenceProps, () => ({
|
|
1320
1322
|
present: api().isOpen
|
|
@@ -1764,13 +1766,12 @@ const useEditable = props => {
|
|
|
1764
1766
|
};
|
|
1765
1767
|
|
|
1766
1768
|
const Editable$1 = props => {
|
|
1767
|
-
const [useEditableProps,
|
|
1768
|
-
const
|
|
1769
|
-
const
|
|
1770
|
-
const
|
|
1771
|
-
const getChildren = () => runIfFn(childrenProps.children, editable);
|
|
1769
|
+
const [useEditableProps, localProps] = createSplitProps()(props, ['activationMode', 'autoResize', 'dir', 'disabled', 'finalFocusEl', 'form', 'getRootNode', 'id', 'ids', 'invalid', 'maxLength', 'name', 'onEdit', 'onFocusOutside', 'onInteractOutside', 'onPointerDownOutside', 'onValueChange', 'onValueCommit', 'onValueRevert', 'placeholder', 'readOnly', 'selectOnFocus', 'startWithEditView', 'submitMode', 'translations', 'value']);
|
|
1770
|
+
const api = useEditable(useEditableProps);
|
|
1771
|
+
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
1772
|
+
const getChildren = () => runIfFn(localProps.children, api);
|
|
1772
1773
|
return createComponent(EditableProvider, {
|
|
1773
|
-
value:
|
|
1774
|
+
value: api,
|
|
1774
1775
|
get children() {
|
|
1775
1776
|
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
1776
1777
|
get children() {
|
|
@@ -1782,50 +1783,50 @@ const Editable$1 = props => {
|
|
|
1782
1783
|
};
|
|
1783
1784
|
|
|
1784
1785
|
const EditableArea = props => {
|
|
1785
|
-
const
|
|
1786
|
-
const mergedProps = mergeProps$2(() =>
|
|
1786
|
+
const api = useEditableContext();
|
|
1787
|
+
const mergedProps = mergeProps$2(() => api().areaProps, props);
|
|
1787
1788
|
return createComponent(ark.div, mergedProps);
|
|
1788
1789
|
};
|
|
1789
1790
|
|
|
1790
1791
|
const EditableCancelTrigger = props => {
|
|
1791
|
-
const
|
|
1792
|
-
const mergedProps = mergeProps$2(() =>
|
|
1792
|
+
const api = useEditableContext();
|
|
1793
|
+
const mergedProps = mergeProps$2(() => api().cancelTriggerProps, props);
|
|
1793
1794
|
return createComponent(ark.button, mergedProps);
|
|
1794
1795
|
};
|
|
1795
1796
|
|
|
1796
1797
|
const EditableControl = props => {
|
|
1797
|
-
const
|
|
1798
|
-
const mergedProps = mergeProps$2(() =>
|
|
1798
|
+
const api = useEditableContext();
|
|
1799
|
+
const mergedProps = mergeProps$2(() => api().controlProps, props);
|
|
1799
1800
|
return createComponent(ark.div, mergedProps);
|
|
1800
1801
|
};
|
|
1801
1802
|
|
|
1802
1803
|
const EditableEditTrigger = props => {
|
|
1803
|
-
const
|
|
1804
|
-
const mergedProps = mergeProps$2(() =>
|
|
1804
|
+
const api = useEditableContext();
|
|
1805
|
+
const mergedProps = mergeProps$2(() => api().editTriggerProps, props);
|
|
1805
1806
|
return createComponent(ark.button, mergedProps);
|
|
1806
1807
|
};
|
|
1807
1808
|
|
|
1808
1809
|
const EditableInput = props => {
|
|
1809
|
-
const
|
|
1810
|
-
const mergedProps = mergeProps$2(() =>
|
|
1810
|
+
const api = useEditableContext();
|
|
1811
|
+
const mergedProps = mergeProps$2(() => api().inputProps, props);
|
|
1811
1812
|
return createComponent(ark.input, mergedProps);
|
|
1812
1813
|
};
|
|
1813
1814
|
|
|
1814
1815
|
const EditableLabel = props => {
|
|
1815
|
-
const
|
|
1816
|
-
const mergedProps = mergeProps$2(() =>
|
|
1816
|
+
const api = useEditableContext();
|
|
1817
|
+
const mergedProps = mergeProps$2(() => api().labelProps, props);
|
|
1817
1818
|
return createComponent(ark.label, mergedProps);
|
|
1818
1819
|
};
|
|
1819
1820
|
|
|
1820
1821
|
const EditablePreview = props => {
|
|
1821
|
-
const
|
|
1822
|
-
const mergedProps = mergeProps$2(() =>
|
|
1822
|
+
const api = useEditableContext();
|
|
1823
|
+
const mergedProps = mergeProps$2(() => api().previewProps, props);
|
|
1823
1824
|
return createComponent(ark.span, mergedProps);
|
|
1824
1825
|
};
|
|
1825
1826
|
|
|
1826
1827
|
const EditableSubmitTrigger = props => {
|
|
1827
|
-
const
|
|
1828
|
-
const mergedProps = mergeProps$2(() =>
|
|
1828
|
+
const api = useEditableContext();
|
|
1829
|
+
const mergedProps = mergeProps$2(() => api().submitTriggerProps, props);
|
|
1829
1830
|
return createComponent(ark.button, mergedProps);
|
|
1830
1831
|
};
|
|
1831
1832
|
|
|
@@ -1859,7 +1860,7 @@ const useFileUpload = props => {
|
|
|
1859
1860
|
};
|
|
1860
1861
|
|
|
1861
1862
|
const FileUpload$1 = props => {
|
|
1862
|
-
const [fileUploadProps, localProps] = createSplitProps()(props, ['accept', 'allowDrop', 'dir', 'disabled', 'files', 'getRootNode', 'id', '
|
|
1863
|
+
const [fileUploadProps, localProps] = createSplitProps()(props, ['accept', 'allowDrop', 'dir', 'disabled', 'files', 'getRootNode', 'id', 'ids', 'locale', 'maxFiles', 'maxFileSize', 'minFileSize', 'name', 'onFileAccept', 'onFileReject', 'onFilesChange', 'translations', 'validate']);
|
|
1863
1864
|
const api = useFileUpload(fileUploadProps);
|
|
1864
1865
|
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
1865
1866
|
const getChildren = () => runIfFn(localProps.children, api);
|
|
@@ -1939,20 +1940,23 @@ const FileUploadItemName = props => {
|
|
|
1939
1940
|
};
|
|
1940
1941
|
|
|
1941
1942
|
const FileUploadItemPreview = props => {
|
|
1943
|
+
const api = useFileUploadContext();
|
|
1944
|
+
const item = useFileUploadItemContext();
|
|
1945
|
+
const mergedProps = mergeProps$2(() => api().getItemPreviewProps(item), props);
|
|
1946
|
+
if (!item.file.type.match(props.type ?? '.*')) return null;
|
|
1947
|
+
return createComponent(ark.div, mergedProps);
|
|
1948
|
+
};
|
|
1949
|
+
|
|
1950
|
+
const FileUploadItemPreviewImage = props => {
|
|
1942
1951
|
const api = useFileUploadContext();
|
|
1943
1952
|
const item = useFileUploadItemContext();
|
|
1944
1953
|
const [url, setUrl] = createSignal('');
|
|
1945
1954
|
api().createFileUrl(item.file, url => setUrl(url));
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
return createComponent(ark.img, mergedProps);
|
|
1952
|
-
} catch (e) {
|
|
1953
|
-
// TODO We could render a fallback component
|
|
1954
|
-
return null;
|
|
1955
|
-
}
|
|
1955
|
+
const mergedProps = mergeProps$2(api().getItemPreviewImageProps({
|
|
1956
|
+
...item,
|
|
1957
|
+
url: url()
|
|
1958
|
+
}), props);
|
|
1959
|
+
return createComponent(ark.img, mergedProps);
|
|
1956
1960
|
};
|
|
1957
1961
|
|
|
1958
1962
|
const FileUploadItemSizeText = props => {
|
|
@@ -1982,14 +1986,15 @@ const FileUploadTrigger = props => {
|
|
|
1982
1986
|
const FileUpload = Object.assign(FileUpload$1, {
|
|
1983
1987
|
Root: FileUpload$1,
|
|
1984
1988
|
Dropzone: FileUploadDropzone,
|
|
1985
|
-
Label: FileUploadLabel,
|
|
1986
|
-
Trigger: FileUploadTrigger,
|
|
1987
|
-
ItemGroup: FileUploadItemGroup,
|
|
1988
1989
|
Item: FileUploadItem,
|
|
1990
|
+
ItemDeleteTrigger: FileUploadItemDeleteTrigger,
|
|
1991
|
+
ItemGroup: FileUploadItemGroup,
|
|
1989
1992
|
ItemName: FileUploadItemName,
|
|
1990
1993
|
ItemPreview: FileUploadItemPreview,
|
|
1994
|
+
ItemPreviewImage: FileUploadItemPreviewImage,
|
|
1991
1995
|
ItemSizeText: FileUploadItemSizeText,
|
|
1992
|
-
|
|
1996
|
+
Label: FileUploadLabel,
|
|
1997
|
+
Trigger: FileUploadTrigger
|
|
1993
1998
|
});
|
|
1994
1999
|
|
|
1995
2000
|
const [HoverCardProvider, useHoverCardContext] = createContext({
|
|
@@ -2325,18 +2330,18 @@ const NumberInputDecrementTrigger = props => {
|
|
|
2325
2330
|
return createComponent(ark.button, mergedProps);
|
|
2326
2331
|
};
|
|
2327
2332
|
|
|
2328
|
-
const NumberInputInput = props => {
|
|
2329
|
-
const api = useNumberInputContext();
|
|
2330
|
-
const mergedProps = mergeProps$2(() => api().inputProps, props);
|
|
2331
|
-
return createComponent(ark.input, mergedProps);
|
|
2332
|
-
};
|
|
2333
|
-
|
|
2334
2333
|
const NumberInputIncrementTrigger = props => {
|
|
2335
2334
|
const api = useNumberInputContext();
|
|
2336
2335
|
const mergedProps = mergeProps$2(() => api().incrementTriggerProps, props);
|
|
2337
2336
|
return createComponent(ark.button, mergedProps);
|
|
2338
2337
|
};
|
|
2339
2338
|
|
|
2339
|
+
const NumberInputInput = props => {
|
|
2340
|
+
const api = useNumberInputContext();
|
|
2341
|
+
const mergedProps = mergeProps$2(() => api().inputProps, props);
|
|
2342
|
+
return createComponent(ark.input, mergedProps);
|
|
2343
|
+
};
|
|
2344
|
+
|
|
2340
2345
|
const NumberInputLabel = props => {
|
|
2341
2346
|
const api = useNumberInputContext();
|
|
2342
2347
|
const mergedProps = mergeProps$2(() => api().labelProps, props);
|
|
@@ -2377,11 +2382,10 @@ const usePagination = props => {
|
|
|
2377
2382
|
};
|
|
2378
2383
|
|
|
2379
2384
|
const Pagination$1 = props => {
|
|
2380
|
-
const [paginationParams,
|
|
2381
|
-
const [childrenProps, localProps] = splitProps(restProps, ['children']);
|
|
2385
|
+
const [paginationParams, localProps] = createSplitProps()(props, ['count', 'dir', 'getRootNode', 'id', 'ids', 'onPageChange', 'page', 'pageSize', 'siblingCount', 'translations', 'type']);
|
|
2382
2386
|
const api = usePagination(paginationParams);
|
|
2383
|
-
const getChildren = () => runIfFn(childrenProps.children, api);
|
|
2384
2387
|
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
2388
|
+
const getChildren = () => runIfFn(localProps.children, api);
|
|
2385
2389
|
return createComponent(PaginationProvider, {
|
|
2386
2390
|
value: api,
|
|
2387
2391
|
get children() {
|
|
@@ -2395,9 +2399,9 @@ const Pagination$1 = props => {
|
|
|
2395
2399
|
};
|
|
2396
2400
|
|
|
2397
2401
|
const PaginationEllipsis = props => {
|
|
2398
|
-
const [ellipsisProps,
|
|
2402
|
+
const [ellipsisProps, localProps] = createSplitProps()(props, ['index']);
|
|
2399
2403
|
const api = usePaginationContext();
|
|
2400
|
-
const mergedProps = mergeProps$2(() => api().getEllipsisProps(ellipsisProps),
|
|
2404
|
+
const mergedProps = mergeProps$2(() => api().getEllipsisProps(ellipsisProps), localProps);
|
|
2401
2405
|
return createComponent(ark.div, mergedProps);
|
|
2402
2406
|
};
|
|
2403
2407
|
|
|
@@ -2447,8 +2451,8 @@ const usePinInput = props => {
|
|
|
2447
2451
|
|
|
2448
2452
|
const _tmpl$$6 = /*#__PURE__*/template(`<input>`);
|
|
2449
2453
|
const PinInput$1 = props => {
|
|
2450
|
-
const [
|
|
2451
|
-
const api = usePinInput(
|
|
2454
|
+
const [usePinInputProps, localProps] = createSplitProps()(props, ['autoFocus', 'blurOnComplete', 'dir', 'disabled', 'form', 'getRootNode', 'id', 'ids', 'invalid', 'mask', 'name', 'onValueChange', 'onValueComplete', 'onValueInvalid', 'otp', 'pattern', 'placeholder', 'selectOnFocus', 'translations', 'type', 'value']);
|
|
2455
|
+
const api = usePinInput(usePinInputProps);
|
|
2452
2456
|
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
2453
2457
|
return createComponent(PinInputProvider, {
|
|
2454
2458
|
value: api,
|
|
@@ -2567,7 +2571,7 @@ const PopoverContent = props => {
|
|
|
2567
2571
|
const PopoverDescription = props => {
|
|
2568
2572
|
const api = usePopoverContext();
|
|
2569
2573
|
const mergedProps = mergeProps$2(() => api().descriptionProps, props);
|
|
2570
|
-
return createComponent(ark.
|
|
2574
|
+
return createComponent(ark.p, mergedProps);
|
|
2571
2575
|
};
|
|
2572
2576
|
|
|
2573
2577
|
const PopoverIndicator = props => {
|
|
@@ -2621,6 +2625,106 @@ const Popover = Object.assign(Popover$1, {
|
|
|
2621
2625
|
Trigger: PopoverTrigger
|
|
2622
2626
|
});
|
|
2623
2627
|
|
|
2628
|
+
const [ProgressProvider, useProgressContext] = createContext({
|
|
2629
|
+
hookName: 'useProgressContext',
|
|
2630
|
+
providerName: '<ProgressProvider />'
|
|
2631
|
+
});
|
|
2632
|
+
|
|
2633
|
+
const useProgress = props => {
|
|
2634
|
+
const getRootNode = useEnvironmentContext();
|
|
2635
|
+
const context = mergeProps$2({
|
|
2636
|
+
id: createUniqueId(),
|
|
2637
|
+
getRootNode
|
|
2638
|
+
}, props);
|
|
2639
|
+
const [state, send] = useMachine(progress.machine(context), {
|
|
2640
|
+
context
|
|
2641
|
+
});
|
|
2642
|
+
return createMemo(() => progress.connect(state, send, normalizeProps));
|
|
2643
|
+
};
|
|
2644
|
+
|
|
2645
|
+
const Progress$1 = props => {
|
|
2646
|
+
const [progressProps, localProps] = createSplitProps()(props, ['dir', 'getRootNode', 'id', 'max', 'min', 'orientation', 'translations', 'value']);
|
|
2647
|
+
const api = useProgress(progressProps);
|
|
2648
|
+
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
2649
|
+
const getChildren = () => runIfFn(localProps.children, api);
|
|
2650
|
+
return createComponent(ProgressProvider, {
|
|
2651
|
+
value: api,
|
|
2652
|
+
get children() {
|
|
2653
|
+
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
2654
|
+
get children() {
|
|
2655
|
+
return getChildren();
|
|
2656
|
+
}
|
|
2657
|
+
}));
|
|
2658
|
+
}
|
|
2659
|
+
});
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
const ProgressCircle = props => {
|
|
2663
|
+
const api = useProgressContext();
|
|
2664
|
+
const mergedProps = mergeProps$2(() => api().circleProps, props);
|
|
2665
|
+
return createComponent(ark.svg, mergedProps);
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
const ProgressCircleRange = props => {
|
|
2669
|
+
const api = useProgressContext();
|
|
2670
|
+
const mergedProps = mergeProps$2(() => api().circleRangeProps, props);
|
|
2671
|
+
return createComponent(ark.circle, mergedProps);
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
const ProgressCircleTrack = props => {
|
|
2675
|
+
const api = useProgressContext();
|
|
2676
|
+
const mergedProps = mergeProps$2(() => api().circleTrackProps, props);
|
|
2677
|
+
return createComponent(ark.circle, mergedProps);
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
const ProgressIndicator = props => {
|
|
2681
|
+
const [state, localProps] = createSplitProps()(props, ['state']);
|
|
2682
|
+
const api = useProgressContext();
|
|
2683
|
+
const mergedProps = mergeProps$2(() => api().getIndicatorProps(state), localProps);
|
|
2684
|
+
return createComponent(ark.span, mergedProps);
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
const ProgressLabel = props => {
|
|
2688
|
+
const api = useProgressContext();
|
|
2689
|
+
const mergedProps = mergeProps$2(() => api().labelProps, props);
|
|
2690
|
+
return createComponent(ark.label, mergedProps);
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
const ProgressRange = props => {
|
|
2694
|
+
const api = useProgressContext();
|
|
2695
|
+
const mergedProps = mergeProps$2(() => api().rangeProps, props);
|
|
2696
|
+
return createComponent(ark.div, mergedProps);
|
|
2697
|
+
};
|
|
2698
|
+
|
|
2699
|
+
const ProgressTrack = props => {
|
|
2700
|
+
const api = useProgressContext();
|
|
2701
|
+
const mergedProps = mergeProps$2(() => api().trackProps, props);
|
|
2702
|
+
return createComponent(ark.div, mergedProps);
|
|
2703
|
+
};
|
|
2704
|
+
|
|
2705
|
+
const ProgressValueText = props => {
|
|
2706
|
+
const api = useProgressContext();
|
|
2707
|
+
const mergedProps = mergeProps$2(() => api().valueTextProps, props);
|
|
2708
|
+
const getChildren = () => runIfFn(props.children, () => api().valueAsString);
|
|
2709
|
+
return createComponent(ark.span, mergeProps$1(mergedProps, {
|
|
2710
|
+
get children() {
|
|
2711
|
+
return getChildren() || api().valueAsString;
|
|
2712
|
+
}
|
|
2713
|
+
}));
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
const Progress = Object.assign(Progress$1, {
|
|
2717
|
+
Root: Progress$1,
|
|
2718
|
+
Label: ProgressLabel,
|
|
2719
|
+
Track: ProgressTrack,
|
|
2720
|
+
Range: ProgressRange,
|
|
2721
|
+
ValueText: ProgressValueText,
|
|
2722
|
+
Indicator: ProgressIndicator,
|
|
2723
|
+
Circle: ProgressCircle,
|
|
2724
|
+
CircleTrack: ProgressCircleTrack,
|
|
2725
|
+
CircleRange: ProgressCircleRange
|
|
2726
|
+
});
|
|
2727
|
+
|
|
2624
2728
|
const [RadioGroupProvider, useRadioGroupContext] = createContext({
|
|
2625
2729
|
hookName: 'useRadioGroupContext',
|
|
2626
2730
|
providerName: '<RadioGroupProvider />'
|
|
@@ -2656,19 +2760,25 @@ const RadioGroupIndicator = props => {
|
|
|
2656
2760
|
return createComponent(ark.div, mergedProps);
|
|
2657
2761
|
};
|
|
2658
2762
|
|
|
2659
|
-
const [
|
|
2763
|
+
const [RadioGroupItemProvider, useRadioGroupItemContext] = createContext({
|
|
2660
2764
|
hookName: 'useRadioGroupItemContext',
|
|
2661
|
-
providerName: '<
|
|
2765
|
+
providerName: '<RadioGroupItemProvider />'
|
|
2662
2766
|
});
|
|
2663
2767
|
|
|
2664
2768
|
const RadioGroupItem = props => {
|
|
2665
|
-
const [itemProps,
|
|
2769
|
+
const [itemProps, localProps] = createSplitProps()(props, ['value', 'disabled', 'invalid']);
|
|
2666
2770
|
const api = useRadioGroupContext();
|
|
2667
|
-
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps),
|
|
2668
|
-
|
|
2771
|
+
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps), localProps);
|
|
2772
|
+
const itemState = api().getItemState(itemProps);
|
|
2773
|
+
const getChildren = () => runIfFn(localProps.children, itemState);
|
|
2774
|
+
return createComponent(RadioGroupItemProvider, {
|
|
2669
2775
|
value: itemProps,
|
|
2670
2776
|
get children() {
|
|
2671
|
-
return createComponent(ark.label, mergedProps
|
|
2777
|
+
return createComponent(ark.label, mergeProps$1(mergedProps, {
|
|
2778
|
+
get children() {
|
|
2779
|
+
return getChildren();
|
|
2780
|
+
}
|
|
2781
|
+
}));
|
|
2672
2782
|
}
|
|
2673
2783
|
});
|
|
2674
2784
|
};
|
|
@@ -2725,8 +2835,8 @@ const useRatingGroup = props => {
|
|
|
2725
2835
|
};
|
|
2726
2836
|
|
|
2727
2837
|
const RatingGroup$1 = props => {
|
|
2728
|
-
const [
|
|
2729
|
-
const api = useRatingGroup(
|
|
2838
|
+
const [useRatingProps, localProps] = createSplitProps()(props, ['allowHalf', 'autoFocus', 'count', 'dir', 'disabled', 'form', 'getRootNode', 'id', 'ids', 'name', 'onHoverChange', 'onValueChange', 'readOnly', 'translations', 'value']);
|
|
2839
|
+
const api = useRatingGroup(useRatingProps);
|
|
2730
2840
|
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
2731
2841
|
return createComponent(RatingGroupProvider, {
|
|
2732
2842
|
value: api,
|
|
@@ -2739,8 +2849,8 @@ const RatingGroup$1 = props => {
|
|
|
2739
2849
|
const _tmpl$$4 = /*#__PURE__*/template(`<input>`);
|
|
2740
2850
|
const RatingGroupControl = props => {
|
|
2741
2851
|
const api = useRatingGroupContext();
|
|
2742
|
-
const getChildren = () => runIfFn(props.children, api);
|
|
2743
2852
|
const mergedProps = mergeProps$2(() => api().controlProps, props);
|
|
2853
|
+
const getChildren = () => runIfFn(props.children, api);
|
|
2744
2854
|
return [createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
2745
2855
|
get children() {
|
|
2746
2856
|
return getChildren();
|
|
@@ -2760,11 +2870,11 @@ const [RatingGroupItemProvider, useRatingGroupItemContext] = createContext({
|
|
|
2760
2870
|
const RatingGroupItem = props => {
|
|
2761
2871
|
const [itemProps, localProps] = createSplitProps()(props, ['index']);
|
|
2762
2872
|
const api = useRatingGroupContext();
|
|
2873
|
+
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps), localProps);
|
|
2763
2874
|
const itemState = createMemo(() => api().getItemState(itemProps));
|
|
2764
2875
|
const getChildren = () => runIfFn(localProps.children, itemState);
|
|
2765
|
-
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps), localProps);
|
|
2766
2876
|
return createComponent(RatingGroupItemProvider, {
|
|
2767
|
-
value:
|
|
2877
|
+
value: itemProps,
|
|
2768
2878
|
get children() {
|
|
2769
2879
|
return createComponent(ark.span, mergeProps$1(mergedProps, {
|
|
2770
2880
|
get children() {
|
|
@@ -2823,19 +2933,25 @@ const SegmentGroupIndicator = props => {
|
|
|
2823
2933
|
return createComponent(ark.div, mergedProps);
|
|
2824
2934
|
};
|
|
2825
2935
|
|
|
2826
|
-
const [
|
|
2936
|
+
const [SegmentGroupItemProvider, useSegmentGroupItemContext] = createContext({
|
|
2827
2937
|
hookName: 'useSegmentGroupItemContext',
|
|
2828
|
-
providerName: '<
|
|
2938
|
+
providerName: '<SegmentGroupItemProvider />'
|
|
2829
2939
|
});
|
|
2830
2940
|
|
|
2831
2941
|
const SegmentGroupItem = props => {
|
|
2832
|
-
const [itemProps,
|
|
2942
|
+
const [itemProps, localProps] = createSplitProps()(props, ['value', 'disabled', 'invalid']);
|
|
2833
2943
|
const api = useSegmentGroupContext();
|
|
2834
|
-
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps), segmentGroupAnatomy.build().item.attrs,
|
|
2835
|
-
|
|
2944
|
+
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps), segmentGroupAnatomy.build().item.attrs, localProps);
|
|
2945
|
+
const itemState = api().getItemState(itemProps);
|
|
2946
|
+
const getChildren = () => runIfFn(localProps.children, itemState);
|
|
2947
|
+
return createComponent(SegmentGroupItemProvider, {
|
|
2836
2948
|
value: itemProps,
|
|
2837
2949
|
get children() {
|
|
2838
|
-
return createComponent(ark.label, mergedProps
|
|
2950
|
+
return createComponent(ark.label, mergeProps$1(mergedProps, {
|
|
2951
|
+
get children() {
|
|
2952
|
+
return getChildren();
|
|
2953
|
+
}
|
|
2954
|
+
}));
|
|
2839
2955
|
}
|
|
2840
2956
|
});
|
|
2841
2957
|
};
|
|
@@ -2882,14 +2998,14 @@ const [SelectProvider, useSelectContext] = createContext({
|
|
|
2882
2998
|
|
|
2883
2999
|
const useSelect = props => {
|
|
2884
3000
|
const [collectionOptions, rest] = createSplitProps()(props, ['isItemDisabled', 'itemToValue', 'itemToString', 'items']);
|
|
2885
|
-
const collection = select.collection(collectionOptions);
|
|
3001
|
+
const collection = () => select.collection(collectionOptions);
|
|
2886
3002
|
const getRootNode = useEnvironmentContext();
|
|
2887
|
-
const context = mergeProps$2({
|
|
3003
|
+
const context = () => mergeProps$2({
|
|
2888
3004
|
id: createUniqueId(),
|
|
2889
3005
|
getRootNode,
|
|
2890
|
-
collection
|
|
3006
|
+
collection: collection()
|
|
2891
3007
|
}, rest);
|
|
2892
|
-
const [state, send] = useMachine(select.machine(context), {
|
|
3008
|
+
const [state, send] = useMachine(select.machine(context()), {
|
|
2893
3009
|
context
|
|
2894
3010
|
});
|
|
2895
3011
|
return createMemo(() => select.connect(state, send, normalizeProps));
|
|
@@ -2899,16 +3015,16 @@ const Select$1 = props => {
|
|
|
2899
3015
|
const [presenceProps, selectProps] = splitPresenceProps(props);
|
|
2900
3016
|
const [useSelectProps, localProps] = createSplitProps()(selectProps, ['closeOnSelect', 'dir', 'disabled', 'form', 'getRootNode', 'highlightedValue', 'id', 'ids', 'invalid', 'isItemDisabled', 'items', 'itemToString', 'itemToValue', 'loop', 'multiple', 'name', 'onFocusOutside', 'onHighlightChange', 'onInteractOutside', 'onOpenChange', 'onPointerDownOutside', 'onValueChange', 'open', 'positioning', 'readOnly', 'selectOnBlur', 'value']);
|
|
2901
3017
|
const api = useSelect(useSelectProps);
|
|
2902
|
-
const
|
|
3018
|
+
const presenceApi = usePresence(mergeProps$2(() => ({
|
|
2903
3019
|
present: api().isOpen
|
|
2904
|
-
})));
|
|
3020
|
+
}), presenceProps));
|
|
2905
3021
|
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
2906
3022
|
const getChildren = () => runIfFn(localProps.children, api);
|
|
2907
3023
|
return createComponent(SelectProvider, {
|
|
2908
3024
|
value: api,
|
|
2909
3025
|
get children() {
|
|
2910
3026
|
return createComponent(PresenceProvider, {
|
|
2911
|
-
value:
|
|
3027
|
+
value: presenceApi,
|
|
2912
3028
|
get children() {
|
|
2913
3029
|
return createComponent(ark.div, mergeProps$1(mergedProps, {
|
|
2914
3030
|
get children() {
|
|
@@ -2966,7 +3082,7 @@ const SelectControl = props => {
|
|
|
2966
3082
|
|
|
2967
3083
|
const SelectIndicator = props => {
|
|
2968
3084
|
const api = useSelectContext();
|
|
2969
|
-
const mergedProps = mergeProps$2(() => api().
|
|
3085
|
+
const mergedProps = mergeProps$2(() => api().indicatorProps, props);
|
|
2970
3086
|
return createComponent(ark.div, mergedProps);
|
|
2971
3087
|
};
|
|
2972
3088
|
|
|
@@ -2993,9 +3109,9 @@ const SelectItem = props => {
|
|
|
2993
3109
|
};
|
|
2994
3110
|
|
|
2995
3111
|
const SelectItemGroup = props => {
|
|
2996
|
-
const [
|
|
3112
|
+
const [itemGroupProps, localProps] = createSplitProps()(props, ['id']);
|
|
2997
3113
|
const api = useSelectContext();
|
|
2998
|
-
const mergedProps = mergeProps$2(() => api().getItemGroupProps(
|
|
3114
|
+
const mergedProps = mergeProps$2(() => api().getItemGroupProps(itemGroupProps), localProps);
|
|
2999
3115
|
return createComponent(ark.div, mergedProps);
|
|
3000
3116
|
};
|
|
3001
3117
|
|
|
@@ -3248,9 +3364,9 @@ const useSwitch = props => {
|
|
|
3248
3364
|
};
|
|
3249
3365
|
|
|
3250
3366
|
const Switch$1 = props => {
|
|
3251
|
-
const [switchProps,
|
|
3367
|
+
const [switchProps, localProps] = createSplitProps()(props, ['checked', 'dir', 'disabled', 'form', 'getRootNode', 'id', 'ids', 'invalid', 'label', 'name', 'onCheckedChange', 'required', 'value']);
|
|
3252
3368
|
const api = useSwitch(switchProps);
|
|
3253
|
-
const mergedProps = mergeProps$2(() => api().rootProps,
|
|
3369
|
+
const mergedProps = mergeProps$2(() => api().rootProps, localProps);
|
|
3254
3370
|
const getChildren = () => runIfFn(props.children, api);
|
|
3255
3371
|
return createComponent(SwitchProvider, {
|
|
3256
3372
|
value: api,
|
|
@@ -3276,14 +3392,14 @@ const SwitchControl = props => {
|
|
|
3276
3392
|
};
|
|
3277
3393
|
|
|
3278
3394
|
const SwitchLabel = props => {
|
|
3279
|
-
const
|
|
3280
|
-
const mergedProps = mergeProps$2(() =>
|
|
3395
|
+
const api = useSwitchContext();
|
|
3396
|
+
const mergedProps = mergeProps$2(() => api().labelProps, props);
|
|
3281
3397
|
return createComponent(ark.span, mergedProps);
|
|
3282
3398
|
};
|
|
3283
3399
|
|
|
3284
3400
|
const SwitchThumb = props => {
|
|
3285
|
-
const
|
|
3286
|
-
const mergedProps = mergeProps$2(() =>
|
|
3401
|
+
const api = useSwitchContext();
|
|
3402
|
+
const mergedProps = mergeProps$2(() => api().thumbProps, props);
|
|
3287
3403
|
return createComponent(ark.span, mergedProps);
|
|
3288
3404
|
};
|
|
3289
3405
|
|
|
@@ -3502,6 +3618,10 @@ const [ToastProvider, useToastContext] = createContext({
|
|
|
3502
3618
|
providerName: '<ToastProvider />'
|
|
3503
3619
|
});
|
|
3504
3620
|
|
|
3621
|
+
const ToastGroup = props => {
|
|
3622
|
+
return createComponent(ark.ol, props);
|
|
3623
|
+
};
|
|
3624
|
+
|
|
3505
3625
|
const createToaster = props => {
|
|
3506
3626
|
const service = toast.group.machine({
|
|
3507
3627
|
id: '1',
|
|
@@ -3520,7 +3640,7 @@ const createToaster = props => {
|
|
|
3520
3640
|
const mergedProps = mergeProps$2(() => api().getGroupProps({
|
|
3521
3641
|
placement: props.placement
|
|
3522
3642
|
}), toasterProps);
|
|
3523
|
-
return createComponent(
|
|
3643
|
+
return createComponent(ToastGroup, mergeProps$1(mergedProps, {
|
|
3524
3644
|
get children() {
|
|
3525
3645
|
return createComponent(Index, {
|
|
3526
3646
|
get each() {
|
|
@@ -3574,9 +3694,10 @@ const ToastTitle = props => {
|
|
|
3574
3694
|
|
|
3575
3695
|
const Toast = Object.assign(Toast$1, {
|
|
3576
3696
|
Root: Toast$1,
|
|
3577
|
-
|
|
3697
|
+
CloseTrigger: ToastCloseTrigger,
|
|
3578
3698
|
Description: ToastDescription,
|
|
3579
|
-
|
|
3699
|
+
Group: ToastGroup,
|
|
3700
|
+
Title: ToastTitle
|
|
3580
3701
|
});
|
|
3581
3702
|
|
|
3582
3703
|
const [ToggleGroupProvider, useToggleGroupContext] = createContext({
|
|
@@ -3713,5 +3834,5 @@ const Tooltip = Object.assign(Tooltip$1, {
|
|
|
3713
3834
|
Trigger: TooltipTrigger
|
|
3714
3835
|
});
|
|
3715
3836
|
|
|
3716
|
-
export { Accordion, AccordionItem, AccordionItemContent, AccordionItemIndicator, AccordionItemTrigger, Avatar, AvatarFallback, AvatarImage, Carousel, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselViewport, Checkbox, CheckboxControl, CheckboxIndicator, CheckboxLabel, ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerContent, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerLabel, ColorPickerPositioner, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueText, ColorPickerView, Combobox, ComboboxClearTrigger, ComboboxContent, ComboboxControl, ComboboxInput, ComboboxItem, ComboboxItemGroup, ComboboxItemGroupLabel, ComboboxItemIndicator, ComboboxItemText, ComboboxLabel, ComboboxPositioner, ComboboxTrigger, DatePicker, DatePickerClearTrigger, DatePickerContent, DatePickerControl, DatePickerInput, DatePickerLabel, DatePickerMonthSelect, DatePickerNextTrigger, DatePickerPositioner, DatePickerPrevTrigger, DatePickerRangeText, DatePickerTable, DatePickerTableBody, DatePickerTableCell, DatePickerTableCellTrigger, DatePickerTableHead, DatePickerTableHeader, DatePickerTableRow, DatePickerTrigger, DatePickerView, DatePickerViewControl, DatePickerViewTrigger, DatePickerYearSelect, Dialog, DialogBackdrop, DialogCloseTrigger, DialogContent, DialogDescription, DialogPositioner, DialogTitle, DialogTrigger, Editable, EditableArea, EditableCancelTrigger, EditableControl, EditableEditTrigger, EditableInput, EditableLabel, EditablePreview, EditableSubmitTrigger, Environment, FileUpload, FileUploadDropzone, FileUploadItem, FileUploadItemDeleteTrigger, FileUploadItemGroup, FileUploadItemName,
|
|
3837
|
+
export { Accordion, AccordionItem, AccordionItemContent, AccordionItemIndicator, AccordionItemTrigger, Avatar, AvatarFallback, AvatarImage, Carousel, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselViewport, Checkbox, CheckboxControl, CheckboxIndicator, CheckboxLabel, ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerContent, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerLabel, ColorPickerPositioner, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueText, ColorPickerView, Combobox, ComboboxClearTrigger, ComboboxContent, ComboboxControl, ComboboxInput, ComboboxItem, ComboboxItemGroup, ComboboxItemGroupLabel, ComboboxItemIndicator, ComboboxItemText, ComboboxLabel, ComboboxPositioner, ComboboxTrigger, DatePicker, DatePickerClearTrigger, DatePickerContent, DatePickerControl, DatePickerInput, DatePickerLabel, DatePickerMonthSelect, DatePickerNextTrigger, DatePickerPositioner, DatePickerPrevTrigger, DatePickerRangeText, DatePickerTable, DatePickerTableBody, DatePickerTableCell, DatePickerTableCellTrigger, DatePickerTableHead, DatePickerTableHeader, DatePickerTableRow, DatePickerTrigger, DatePickerView, DatePickerViewControl, DatePickerViewTrigger, DatePickerYearSelect, Dialog, DialogBackdrop, DialogCloseTrigger, DialogContent, DialogDescription, DialogPositioner, DialogTitle, DialogTrigger, Editable, EditableArea, EditableCancelTrigger, EditableControl, EditableEditTrigger, EditableInput, EditableLabel, EditablePreview, EditableSubmitTrigger, Environment, FileUpload, FileUploadDropzone, FileUploadItem, FileUploadItemDeleteTrigger, FileUploadItemGroup, FileUploadItemName, FileUploadItemPreviewImage, FileUploadItemSizeText, FileUploadLabel, FileUploadTrigger, HoverCard, HoverCardArrow, HoverCardArrowTip, HoverCardContent, HoverCardPositioner, HoverCardTrigger, Menu, MenuArrow, MenuArrowTip, MenuContent, MenuContextTrigger, MenuItem, MenuItemGroup, MenuItemGroupLabel, MenuOptionItem, MenuPositioner, MenuSeparator, MenuTrigger, MenuTriggerItem, NumberInput, NumberInputControl, NumberInputDecrementTrigger, NumberInputIncrementTrigger, NumberInputInput, NumberInputLabel, NumberInputScrubber, Pagination, PaginationEllipsis, PaginationItem, PaginationNextTrigger, PaginationPrevTrigger, PinInput, PinInputControl, PinInputInput, PinInputLabel, Popover, PopoverAnchor, PopoverArrow, PopoverArrowTip, PopoverCloseTrigger, PopoverContent, PopoverDescription, PopoverIndicator, PopoverPositioner, PopoverTitle, PopoverTrigger, Presence, PresencePropsProvider, PresenceProvider, Progress, ProgressCircle, ProgressCircleRange, ProgressCircleTrack, ProgressIndicator, ProgressLabel, ProgressRange, ProgressTrack, ProgressValueText, RadioGroup, RadioGroupItem, RadioGroupItemControl, RadioGroupItemText, RadioGroupLabel, RatingGroup, RatingGroupControl, RatingGroupItem, RatingGroupLabel, SegmentGroup, SegmentGroupIndicator, SegmentGroupItem, SegmentGroupItemControl, SegmentGroupItemText, SegmentGroupLabel, Select, SelectClearTrigger, SelectContent, SelectControl, SelectIndicator, SelectItem, SelectItemGroup, SelectItemGroupLabel, SelectItemIndicator, SelectItemText, SelectLabel, SelectPositioner, SelectTrigger, SelectValueText, Slider, SliderControl, SliderLabel, SliderMarker, SliderMarkerGroup, SliderRange, SliderThumb, SliderTrack, SliderValueText, Splitter, SplitterPanel, SplitterResizeTrigger, Switch, SwitchControl, SwitchLabel, SwitchThumb, TabContent, TabIndicator, TabList, TabTrigger, Tabs, TagsInput, TagsInputClearTrigger, TagsInputControl, TagsInputInput, TagsInputItem, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemText, TagsInputLabel, Toast, ToastCloseTrigger, ToastDescription, ToastGroup, ToastTitle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipArrowTip, TooltipContent, TooltipPositioner, TooltipTrigger, ark, createToaster, splitPresenceProps, useAccordionContext, useAccordionItemContext, useAvatarContext, useCarouselContext, useCheckboxContext, useColorPickerAreaContext, useColorPickerChannelSliderContext, useColorPickerContext, useComboboxContext, useDatePickerContext, useDatePickerTableCellContext, useDatePickerTableContext, useDatePickerViewContext, useDialogContext, useEditableContext, useEnvironmentContext, useFileUploadContext, useHoverCardContext, useMenuContext, useNumberInputContext, usePaginationContext, usePinInputContext, usePopoverContext, usePresence, usePresenceContext, usePresencePropsContext, useProgressContext, useRadioGroupContext, useRadioGroupItemContext, useRatingGroupContext, useRatingGroupItemContext, useSegmentGroupContext, useSegmentGroupItemContext, useSelectContext, useSelectItemContext, useSliderContext, useSplitterContext, useSwitchContext, useTabsContext, useTagsInputContext, useTagsInputItemContext, useToggleGroupContext, useTooltipContext };
|
|
3717
3838
|
//# sourceMappingURL=index.js.map
|