@ark-ui/react 3.13.0 → 4.0.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/dist/components/accordion/accordion-item.cjs +2 -0
- package/dist/components/accordion/accordion-item.js +2 -0
- package/dist/components/accordion/index.d.cts +1 -1
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/carousel/index.cjs +2 -2
- package/dist/components/carousel/index.d.cts +11 -11
- package/dist/components/carousel/index.d.ts +11 -11
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.cjs +2 -2
- package/dist/components/checkbox/index.d.cts +8 -8
- package/dist/components/checkbox/index.d.ts +8 -8
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/clipboard/index.d.cts +8 -8
- package/dist/components/clipboard/index.d.ts +8 -8
- package/dist/components/collapsible/index.d.cts +5 -5
- package/dist/components/collapsible/index.d.ts +5 -5
- package/dist/components/collection.cjs +10 -0
- package/dist/components/collection.d.cts +3 -0
- package/dist/components/collection.d.ts +3 -0
- package/dist/components/collection.js +6 -0
- package/dist/components/color-picker/color-picker.d.cts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/index.cjs +9 -4
- package/dist/components/color-picker/index.d.cts +3 -2
- package/dist/components/color-picker/index.d.ts +3 -2
- package/dist/components/color-picker/index.js +2 -1
- package/dist/components/color-picker/use-color-picker.cjs +3 -3
- package/dist/components/color-picker/use-color-picker.d.cts +2 -6
- package/dist/components/color-picker/use-color-picker.d.ts +2 -6
- package/dist/components/color-picker/use-color-picker.js +3 -3
- package/dist/components/combobox/combobox-context.d.cts +2 -2
- package/dist/components/combobox/combobox-context.d.ts +2 -2
- package/dist/components/combobox/combobox-root-provider.d.cts +1 -1
- package/dist/components/combobox/combobox-root-provider.d.ts +1 -1
- package/dist/components/combobox/combobox-root.cjs +1 -4
- package/dist/components/combobox/combobox-root.d.cts +2 -1
- package/dist/components/combobox/combobox-root.d.ts +2 -1
- package/dist/components/combobox/combobox-root.js +1 -4
- package/dist/components/combobox/combobox.d.cts +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/index.cjs +2 -0
- package/dist/components/combobox/index.d.cts +17 -17
- package/dist/components/combobox/index.d.ts +17 -17
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/combobox/use-combobox-context.d.cts +1 -1
- package/dist/components/combobox/use-combobox-context.d.ts +1 -1
- package/dist/components/combobox/use-combobox.cjs +16 -21
- package/dist/components/combobox/use-combobox.d.cts +8 -4
- package/dist/components/combobox/use-combobox.d.ts +8 -4
- package/dist/components/combobox/use-combobox.js +17 -22
- package/dist/components/date-picker/date-picker.d.cts +26 -26
- package/dist/components/date-picker/date-picker.d.ts +26 -26
- package/dist/components/date-picker/index.cjs +9 -4
- package/dist/components/date-picker/index.d.cts +28 -27
- package/dist/components/date-picker/index.d.ts +28 -27
- package/dist/components/date-picker/index.js +2 -1
- package/dist/components/date-picker/use-date-picker.cjs +3 -8
- package/dist/components/date-picker/use-date-picker.d.cts +2 -18
- package/dist/components/date-picker/use-date-picker.d.ts +2 -18
- package/dist/components/date-picker/use-date-picker.js +3 -8
- package/dist/components/dialog/dialog.d.cts +9 -9
- package/dist/components/dialog/dialog.d.ts +9 -9
- package/dist/components/dialog/index.d.cts +10 -10
- package/dist/components/dialog/index.d.ts +10 -10
- package/dist/components/editable/index.d.cts +12 -15
- package/dist/components/editable/index.d.ts +12 -15
- package/dist/components/field/index.cjs +4 -4
- package/dist/components/field/index.d.cts +2 -2
- package/dist/components/field/index.d.ts +2 -2
- package/dist/components/field/index.js +2 -2
- package/dist/components/fieldset/index.cjs +2 -2
- package/dist/components/fieldset/index.d.cts +1 -1
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/hover-card/index.d.cts +8 -8
- package/dist/components/hover-card/index.d.ts +8 -8
- package/dist/components/index.cjs +45 -28
- package/dist/components/index.js +15 -11
- package/dist/components/menu/index.d.cts +20 -20
- package/dist/components/menu/index.d.ts +20 -20
- package/dist/components/number-input/index.d.cts +1 -1
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/pagination/index.d.cts +7 -7
- package/dist/components/pagination/index.d.ts +7 -7
- package/dist/components/pin-input/index.d.cts +7 -7
- package/dist/components/pin-input/index.d.ts +7 -7
- package/dist/components/popover/index.d.cts +13 -13
- package/dist/components/popover/index.d.ts +13 -13
- package/dist/components/presence/index.d.cts +3 -3
- package/dist/components/presence/index.d.ts +3 -3
- package/dist/components/progress/index.d.cts +11 -11
- package/dist/components/progress/index.d.ts +11 -11
- package/dist/components/qr-code/index.d.cts +6 -6
- package/dist/components/qr-code/index.d.ts +6 -6
- package/dist/components/qr-code/qr-code.cjs +1 -1
- package/dist/components/qr-code/qr-code.d.cts +1 -1
- package/dist/components/qr-code/qr-code.d.ts +1 -1
- package/dist/components/qr-code/qr-code.js +1 -1
- package/dist/components/radio-group/index.d.cts +9 -9
- package/dist/components/radio-group/index.d.ts +9 -9
- package/dist/components/rating-group/index.d.cts +7 -7
- package/dist/components/rating-group/index.d.ts +7 -7
- package/dist/components/segment-group/index.cjs +2 -2
- package/dist/components/segment-group/index.d.cts +9 -9
- package/dist/components/segment-group/index.d.ts +9 -9
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.cjs +2 -0
- package/dist/components/select/index.d.cts +19 -19
- package/dist/components/select/index.d.ts +19 -19
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/select-context.d.cts +2 -2
- package/dist/components/select/select-context.d.ts +2 -2
- package/dist/components/select/select-root-provider.d.cts +1 -1
- package/dist/components/select/select-root-provider.d.ts +1 -1
- package/dist/components/select/select-root.cjs +1 -4
- package/dist/components/select/select-root.d.cts +2 -1
- package/dist/components/select/select-root.d.ts +2 -1
- package/dist/components/select/select-root.js +1 -4
- package/dist/components/select/select.d.cts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/use-select-context.d.cts +1 -1
- package/dist/components/select/use-select-context.d.ts +1 -1
- package/dist/components/select/use-select.cjs +4 -15
- package/dist/components/select/use-select.d.cts +8 -4
- package/dist/components/select/use-select.d.ts +8 -4
- package/dist/components/select/use-select.js +5 -16
- package/dist/components/signature-pad/index.cjs +2 -2
- package/dist/components/signature-pad/index.d.cts +9 -9
- package/dist/components/signature-pad/index.d.ts +9 -9
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.cts +12 -12
- package/dist/components/slider/index.d.ts +12 -12
- package/dist/components/splitter/index.d.cts +5 -5
- package/dist/components/splitter/index.d.ts +5 -5
- package/dist/components/switch/index.d.cts +7 -7
- package/dist/components/switch/index.d.ts +7 -7
- package/dist/components/tabs/index.d.cts +7 -7
- package/dist/components/tabs/index.d.ts +7 -7
- package/dist/components/tags-input/index.d.cts +13 -13
- package/dist/components/tags-input/index.d.ts +13 -13
- package/dist/components/timer/index.cjs +11 -6
- package/dist/components/timer/index.d.cts +3 -2
- package/dist/components/timer/index.d.ts +3 -2
- package/dist/components/timer/index.js +3 -2
- package/dist/components/timer/timer.anatomy.d.cts +1 -0
- package/dist/components/timer/timer.anatomy.d.ts +1 -0
- package/dist/components/timer/timer.d.cts +1 -0
- package/dist/components/timer/timer.d.ts +1 -0
- package/dist/components/toast/index.d.cts +7 -7
- package/dist/components/toast/index.d.ts +7 -7
- package/dist/components/toggle-group/index.d.cts +4 -4
- package/dist/components/toggle-group/index.d.ts +4 -4
- package/dist/components/tooltip/index.d.cts +8 -8
- package/dist/components/tooltip/index.d.ts +8 -8
- package/dist/components/tree-view/index.d.cts +14 -14
- package/dist/components/tree-view/index.d.ts +14 -14
- package/dist/index.cjs +45 -28
- package/dist/index.js +15 -11
- package/dist/types.d.cts +0 -1
- package/dist/types.d.ts +0 -1
- package/dist/use-debugger.d.cts +1 -1
- package/dist/use-debugger.d.ts +1 -1
- package/package.json +22 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CollectionItem } from '
|
|
2
|
+
import { CollectionItem } from '../collection';
|
|
3
3
|
import { UseSelectContext } from './use-select-context';
|
|
4
4
|
export interface SelectContextProps<T extends CollectionItem> {
|
|
5
5
|
children: (context: UseSelectContext<T>) => ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare const SelectContext: <T extends
|
|
7
|
+
export declare const SelectContext: <T extends unknown>(props: SelectContextProps<T>) => ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { CollectionItem } from '
|
|
2
|
+
import { CollectionItem } from '../collection';
|
|
3
3
|
import { UseSelectContext } from './use-select-context';
|
|
4
4
|
export interface SelectContextProps<T extends CollectionItem> {
|
|
5
5
|
children: (context: UseSelectContext<T>) => ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare const SelectContext: <T extends
|
|
7
|
+
export declare const SelectContext: <T extends unknown>(props: SelectContextProps<T>) => ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
-
import { CollectionItem } from '
|
|
2
|
+
import { CollectionItem } from '../collection';
|
|
3
3
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
4
|
import { UsePresenceProps } from '../presence';
|
|
5
5
|
import { UseSelectReturn } from './use-select';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
-
import { CollectionItem } from '
|
|
2
|
+
import { CollectionItem } from '../collection';
|
|
3
3
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
4
|
import { UsePresenceProps } from '../presence';
|
|
5
5
|
import { UseSelectReturn } from './use-select';
|
|
@@ -18,6 +18,7 @@ const SelectImpl = (props, ref) => {
|
|
|
18
18
|
const [presenceProps, selectProps] = splitPresenceProps.splitPresenceProps(props);
|
|
19
19
|
const [useSelectProps, localProps] = createSplitProps.createSplitProps()(selectProps, [
|
|
20
20
|
"closeOnSelect",
|
|
21
|
+
"collection",
|
|
21
22
|
"composite",
|
|
22
23
|
"defaultOpen",
|
|
23
24
|
"defaultValue",
|
|
@@ -28,10 +29,6 @@ const SelectImpl = (props, ref) => {
|
|
|
28
29
|
"id",
|
|
29
30
|
"ids",
|
|
30
31
|
"invalid",
|
|
31
|
-
"isItemDisabled",
|
|
32
|
-
"items",
|
|
33
|
-
"itemToString",
|
|
34
|
-
"itemToValue",
|
|
35
32
|
"loopFocus",
|
|
36
33
|
"multiple",
|
|
37
34
|
"name",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
-
import { Assign
|
|
2
|
+
import { Assign } from '../../types';
|
|
3
|
+
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UsePresenceProps } from '../presence';
|
|
5
6
|
import { UseSelectProps } from './use-select';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
-
import { Assign
|
|
2
|
+
import { Assign } from '../../types';
|
|
3
|
+
import { CollectionItem } from '../collection';
|
|
3
4
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
5
|
import { UsePresenceProps } from '../presence';
|
|
5
6
|
import { UseSelectProps } from './use-select';
|
|
@@ -14,6 +14,7 @@ const SelectImpl = (props, ref) => {
|
|
|
14
14
|
const [presenceProps, selectProps] = splitPresenceProps(props);
|
|
15
15
|
const [useSelectProps, localProps] = createSplitProps()(selectProps, [
|
|
16
16
|
"closeOnSelect",
|
|
17
|
+
"collection",
|
|
17
18
|
"composite",
|
|
18
19
|
"defaultOpen",
|
|
19
20
|
"defaultValue",
|
|
@@ -24,10 +25,6 @@ const SelectImpl = (props, ref) => {
|
|
|
24
25
|
"id",
|
|
25
26
|
"ids",
|
|
26
27
|
"invalid",
|
|
27
|
-
"isItemDisabled",
|
|
28
|
-
"items",
|
|
29
|
-
"itemToString",
|
|
30
|
-
"itemToValue",
|
|
31
28
|
"loopFocus",
|
|
32
29
|
"multiple",
|
|
33
30
|
"name",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { HighlightChangeDetails, OpenChangeDetails, ValueChangeDetails } from '@zag-js/select';
|
|
2
|
-
export type { CollectionItem } from '
|
|
2
|
+
export type { CollectionItem, ListCollection } from '../collection';
|
|
3
3
|
export { SelectClearTrigger as ClearTrigger, type SelectClearTriggerProps as ClearTriggerProps, type SelectClearTriggerBaseProps as ClearTriggerBaseProps, } from './select-clear-trigger';
|
|
4
4
|
export { SelectContent as Content, type SelectContentProps as ContentProps, type SelectContentBaseProps as ContentBaseProps, } from './select-content';
|
|
5
5
|
export { SelectContext as Context, type SelectContextProps as ContextProps } from './select-context';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { HighlightChangeDetails, OpenChangeDetails, ValueChangeDetails } from '@zag-js/select';
|
|
2
|
-
export type { CollectionItem } from '
|
|
2
|
+
export type { CollectionItem, ListCollection } from '../collection';
|
|
3
3
|
export { SelectClearTrigger as ClearTrigger, type SelectClearTriggerProps as ClearTriggerProps, type SelectClearTriggerBaseProps as ClearTriggerBaseProps, } from './select-clear-trigger';
|
|
4
4
|
export { SelectContent as Content, type SelectContentProps as ContentProps, type SelectContentBaseProps as ContentBaseProps, } from './select-content';
|
|
5
5
|
export { SelectContext as Context, type SelectContextProps as ContextProps } from './select-context';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionItem } from '
|
|
1
|
+
import { CollectionItem } from '../collection';
|
|
2
2
|
import { UseSelectReturn } from './use-select';
|
|
3
3
|
import { Provider } from 'react';
|
|
4
4
|
export interface UseSelectContext<T extends CollectionItem> extends UseSelectReturn<T> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionItem } from '
|
|
1
|
+
import { CollectionItem } from '../collection';
|
|
2
2
|
import { UseSelectReturn } from './use-select';
|
|
3
3
|
import { Provider } from 'react';
|
|
4
4
|
export interface UseSelectContext<T extends CollectionItem> extends UseSelectReturn<T> {
|
|
@@ -8,7 +8,6 @@ const select = require('@zag-js/select');
|
|
|
8
8
|
const react = require('react');
|
|
9
9
|
const useEnvironmentContext = require('../../providers/environment/use-environment-context.cjs');
|
|
10
10
|
const useLocaleContext = require('../../providers/locale/use-locale-context.cjs');
|
|
11
|
-
const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
12
11
|
const useEvent = require('../../utils/use-event.cjs');
|
|
13
12
|
const useFieldContext = require('../field/use-field-context.cjs');
|
|
14
13
|
|
|
@@ -32,16 +31,7 @@ function _interopNamespaceDefault(e) {
|
|
|
32
31
|
const select__namespace = /*#__PURE__*/_interopNamespaceDefault(select);
|
|
33
32
|
|
|
34
33
|
const useSelect = (props) => {
|
|
35
|
-
const
|
|
36
|
-
"isItemDisabled",
|
|
37
|
-
"itemToValue",
|
|
38
|
-
"itemToString",
|
|
39
|
-
"items"
|
|
40
|
-
]);
|
|
41
|
-
const collection = react.useMemo(
|
|
42
|
-
() => select__namespace.collection(collectionOptions),
|
|
43
|
-
Object.values(collectionOptions)
|
|
44
|
-
);
|
|
34
|
+
const { collection, ...selectProps } = props;
|
|
45
35
|
const locale = useLocaleContext.useLocaleContext();
|
|
46
36
|
const environment = useEnvironmentContext.useEnvironmentContext();
|
|
47
37
|
const field = useFieldContext.useFieldContext();
|
|
@@ -73,14 +63,13 @@ const useSelect = (props) => {
|
|
|
73
63
|
onOpenChange: useEvent.useEvent(props.onOpenChange)
|
|
74
64
|
};
|
|
75
65
|
})();
|
|
76
|
-
const [state, send] = react$1.useMachine(select__namespace.machine(initialContext), {
|
|
66
|
+
const [state, send, service] = react$1.useMachine(select__namespace.machine(initialContext), {
|
|
77
67
|
context
|
|
78
68
|
});
|
|
79
|
-
const api = select__namespace.connect(state, send, react$1.normalizeProps);
|
|
80
69
|
react.useEffect(() => {
|
|
81
|
-
|
|
70
|
+
service.setContext({ collection });
|
|
82
71
|
}, [collection]);
|
|
83
|
-
return
|
|
72
|
+
return select__namespace.connect(state, send, react$1.normalizeProps);
|
|
84
73
|
};
|
|
85
74
|
|
|
86
75
|
exports.useSelect = useSelect;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropTypes } from '@zag-js/react';
|
|
2
|
-
import {
|
|
3
|
-
import { CollectionItem,
|
|
2
|
+
import { Optional } from '../../types';
|
|
3
|
+
import { CollectionItem, ListCollection } from '../collection';
|
|
4
4
|
import * as select from '@zag-js/select';
|
|
5
|
-
export interface UseSelectProps<T extends CollectionItem> extends
|
|
5
|
+
export interface UseSelectProps<T extends CollectionItem> extends Optional<Omit<select.Context<T>, 'dir' | 'getRootNode' | 'open.controlled' | 'collection'>, 'id'> {
|
|
6
6
|
/**
|
|
7
7
|
* The initial open state of the select when it is first rendered.
|
|
8
8
|
* Use when you do not need to control its open state.
|
|
@@ -13,7 +13,11 @@ export interface UseSelectProps<T extends CollectionItem> extends CollectionOpti
|
|
|
13
13
|
* Use when you do not need to control the state of the select.
|
|
14
14
|
*/
|
|
15
15
|
defaultValue?: select.Context<T>['value'];
|
|
16
|
+
/**
|
|
17
|
+
* The collection of items
|
|
18
|
+
*/
|
|
19
|
+
collection: ListCollection<T>;
|
|
16
20
|
}
|
|
17
21
|
export interface UseSelectReturn<T extends CollectionItem> extends select.Api<PropTypes, T> {
|
|
18
22
|
}
|
|
19
|
-
export declare const useSelect: <T extends
|
|
23
|
+
export declare const useSelect: <T extends unknown>(props: UseSelectProps<T>) => UseSelectReturn<T>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PropTypes } from '@zag-js/react';
|
|
2
|
-
import {
|
|
3
|
-
import { CollectionItem,
|
|
2
|
+
import { Optional } from '../../types';
|
|
3
|
+
import { CollectionItem, ListCollection } from '../collection';
|
|
4
4
|
import * as select from '@zag-js/select';
|
|
5
|
-
export interface UseSelectProps<T extends CollectionItem> extends
|
|
5
|
+
export interface UseSelectProps<T extends CollectionItem> extends Optional<Omit<select.Context<T>, 'dir' | 'getRootNode' | 'open.controlled' | 'collection'>, 'id'> {
|
|
6
6
|
/**
|
|
7
7
|
* The initial open state of the select when it is first rendered.
|
|
8
8
|
* Use when you do not need to control its open state.
|
|
@@ -13,7 +13,11 @@ export interface UseSelectProps<T extends CollectionItem> extends CollectionOpti
|
|
|
13
13
|
* Use when you do not need to control the state of the select.
|
|
14
14
|
*/
|
|
15
15
|
defaultValue?: select.Context<T>['value'];
|
|
16
|
+
/**
|
|
17
|
+
* The collection of items
|
|
18
|
+
*/
|
|
19
|
+
collection: ListCollection<T>;
|
|
16
20
|
}
|
|
17
21
|
export interface UseSelectReturn<T extends CollectionItem> extends select.Api<PropTypes, T> {
|
|
18
22
|
}
|
|
19
|
-
export declare const useSelect: <T extends
|
|
23
|
+
export declare const useSelect: <T extends unknown>(props: UseSelectProps<T>) => UseSelectReturn<T>;
|
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useMachine, normalizeProps } from '@zag-js/react';
|
|
3
3
|
import * as select from '@zag-js/select';
|
|
4
|
-
import {
|
|
4
|
+
import { useId, useEffect } from 'react';
|
|
5
5
|
import { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';
|
|
6
6
|
import { useLocaleContext } from '../../providers/locale/use-locale-context.js';
|
|
7
|
-
import { createSplitProps } from '../../utils/create-split-props.js';
|
|
8
7
|
import { useEvent } from '../../utils/use-event.js';
|
|
9
8
|
import { useFieldContext } from '../field/use-field-context.js';
|
|
10
9
|
|
|
11
10
|
const useSelect = (props) => {
|
|
12
|
-
const
|
|
13
|
-
"isItemDisabled",
|
|
14
|
-
"itemToValue",
|
|
15
|
-
"itemToString",
|
|
16
|
-
"items"
|
|
17
|
-
]);
|
|
18
|
-
const collection = useMemo(
|
|
19
|
-
() => select.collection(collectionOptions),
|
|
20
|
-
Object.values(collectionOptions)
|
|
21
|
-
);
|
|
11
|
+
const { collection, ...selectProps } = props;
|
|
22
12
|
const locale = useLocaleContext();
|
|
23
13
|
const environment = useEnvironmentContext();
|
|
24
14
|
const field = useFieldContext();
|
|
@@ -50,14 +40,13 @@ const useSelect = (props) => {
|
|
|
50
40
|
onOpenChange: useEvent(props.onOpenChange)
|
|
51
41
|
};
|
|
52
42
|
})();
|
|
53
|
-
const [state, send] = useMachine(select.machine(initialContext), {
|
|
43
|
+
const [state, send, service] = useMachine(select.machine(initialContext), {
|
|
54
44
|
context
|
|
55
45
|
});
|
|
56
|
-
const api = select.connect(state, send, normalizeProps);
|
|
57
46
|
useEffect(() => {
|
|
58
|
-
|
|
47
|
+
service.setContext({ collection });
|
|
59
48
|
}, [collection]);
|
|
60
|
-
return
|
|
49
|
+
return select.connect(state, send, normalizeProps);
|
|
61
50
|
};
|
|
62
51
|
|
|
63
52
|
export { useSelect };
|
|
@@ -6,8 +6,8 @@ const signaturePadClearTrigger = require('./signature-pad-clear-trigger.cjs');
|
|
|
6
6
|
const signaturePadContext = require('./signature-pad-context.cjs');
|
|
7
7
|
const signaturePadControl = require('./signature-pad-control.cjs');
|
|
8
8
|
const signaturePadGuide = require('./signature-pad-guide.cjs');
|
|
9
|
-
const signaturePadLabel = require('./signature-pad-label.cjs');
|
|
10
9
|
const signaturePadHiddenInput = require('./signature-pad-hidden-input.cjs');
|
|
10
|
+
const signaturePadLabel = require('./signature-pad-label.cjs');
|
|
11
11
|
const signaturePadRoot = require('./signature-pad-root.cjs');
|
|
12
12
|
const signaturePadRootProvider = require('./signature-pad-root-provider.cjs');
|
|
13
13
|
const signaturePadSegment = require('./signature-pad-segment.cjs');
|
|
@@ -22,8 +22,8 @@ exports.SignaturePadClearTrigger = signaturePadClearTrigger.SignaturePadClearTri
|
|
|
22
22
|
exports.SignaturePadContext = signaturePadContext.SignaturePadContext;
|
|
23
23
|
exports.SignaturePadControl = signaturePadControl.SignaturePadControl;
|
|
24
24
|
exports.SignaturePadGuide = signaturePadGuide.SignaturePadGuide;
|
|
25
|
-
exports.SignaturePadLabel = signaturePadLabel.SignaturePadLabel;
|
|
26
25
|
exports.SignaturePadHiddenInput = signaturePadHiddenInput.SignaturePadHiddenInput;
|
|
26
|
+
exports.SignaturePadLabel = signaturePadLabel.SignaturePadLabel;
|
|
27
27
|
exports.SignaturePadRoot = signaturePadRoot.SignaturePadRoot;
|
|
28
28
|
exports.SignaturePadRootProvider = signaturePadRootProvider.SignaturePadRootProvider;
|
|
29
29
|
exports.SignaturePadSegment = signaturePadSegment.SignaturePadSegment;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export type { DrawDetails as SignaturePadDrawDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions as SignaturePadDrawingOptions, } from '@zag-js/signature-pad';
|
|
2
|
-
export { SignaturePadClearTrigger, type
|
|
2
|
+
export { SignaturePadClearTrigger, type SignaturePadClearTriggerBaseProps, type SignaturePadClearTriggerProps, } from './signature-pad-clear-trigger';
|
|
3
3
|
export { SignaturePadContext, type SignaturePadContextProps, } from './signature-pad-context';
|
|
4
|
-
export { SignaturePadControl, type
|
|
5
|
-
export { SignaturePadGuide, type
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export { SignaturePadRoot, type
|
|
9
|
-
export { SignaturePadRootProvider, type
|
|
10
|
-
export { SignaturePadSegment, type
|
|
4
|
+
export { SignaturePadControl, type SignaturePadControlBaseProps, type SignaturePadControlProps, } from './signature-pad-control';
|
|
5
|
+
export { SignaturePadGuide, type SignaturePadGuideBaseProps, type SignaturePadGuideProps, } from './signature-pad-guide';
|
|
6
|
+
export { SignaturePadHiddenInput, type SignaturePadHiddenInputBaseProps, type SignaturePadHiddenInputProps, } from './signature-pad-hidden-input';
|
|
7
|
+
export { SignaturePadLabel, type SignaturePadLabelBaseProps, type SignaturePadLabelProps, } from './signature-pad-label';
|
|
8
|
+
export { SignaturePadRoot, type SignaturePadRootBaseProps, type SignaturePadRootProps, } from './signature-pad-root';
|
|
9
|
+
export { SignaturePadRootProvider, type SignaturePadRootProviderBaseProps, type SignaturePadRootProviderProps, } from './signature-pad-root-provider';
|
|
10
|
+
export { SignaturePadSegment, type SignaturePadSegmentBaseProps, type SignaturePadSegmentProps, } from './signature-pad-segment';
|
|
11
|
+
export { signaturePadAnatomy } from './signature-pad.anatomy';
|
|
11
12
|
export { useSignaturePad, type UseSignaturePadProps, type UseSignaturePadReturn, } from './use-signature-pad';
|
|
12
13
|
export { useSignaturePadContext, type UseSignaturePadContext } from './use-signature-pad-context';
|
|
13
|
-
export { signaturePadAnatomy } from './signature-pad.anatomy';
|
|
14
14
|
export * as SignaturePad from './signature-pad';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export type { DrawDetails as SignaturePadDrawDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions as SignaturePadDrawingOptions, } from '@zag-js/signature-pad';
|
|
2
|
-
export { SignaturePadClearTrigger, type
|
|
2
|
+
export { SignaturePadClearTrigger, type SignaturePadClearTriggerBaseProps, type SignaturePadClearTriggerProps, } from './signature-pad-clear-trigger';
|
|
3
3
|
export { SignaturePadContext, type SignaturePadContextProps, } from './signature-pad-context';
|
|
4
|
-
export { SignaturePadControl, type
|
|
5
|
-
export { SignaturePadGuide, type
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export { SignaturePadRoot, type
|
|
9
|
-
export { SignaturePadRootProvider, type
|
|
10
|
-
export { SignaturePadSegment, type
|
|
4
|
+
export { SignaturePadControl, type SignaturePadControlBaseProps, type SignaturePadControlProps, } from './signature-pad-control';
|
|
5
|
+
export { SignaturePadGuide, type SignaturePadGuideBaseProps, type SignaturePadGuideProps, } from './signature-pad-guide';
|
|
6
|
+
export { SignaturePadHiddenInput, type SignaturePadHiddenInputBaseProps, type SignaturePadHiddenInputProps, } from './signature-pad-hidden-input';
|
|
7
|
+
export { SignaturePadLabel, type SignaturePadLabelBaseProps, type SignaturePadLabelProps, } from './signature-pad-label';
|
|
8
|
+
export { SignaturePadRoot, type SignaturePadRootBaseProps, type SignaturePadRootProps, } from './signature-pad-root';
|
|
9
|
+
export { SignaturePadRootProvider, type SignaturePadRootProviderBaseProps, type SignaturePadRootProviderProps, } from './signature-pad-root-provider';
|
|
10
|
+
export { SignaturePadSegment, type SignaturePadSegmentBaseProps, type SignaturePadSegmentProps, } from './signature-pad-segment';
|
|
11
|
+
export { signaturePadAnatomy } from './signature-pad.anatomy';
|
|
11
12
|
export { useSignaturePad, type UseSignaturePadProps, type UseSignaturePadReturn, } from './use-signature-pad';
|
|
12
13
|
export { useSignaturePadContext, type UseSignaturePadContext } from './use-signature-pad-context';
|
|
13
|
-
export { signaturePadAnatomy } from './signature-pad.anatomy';
|
|
14
14
|
export * as SignaturePad from './signature-pad';
|
|
@@ -2,8 +2,8 @@ export { SignaturePadClearTrigger } from './signature-pad-clear-trigger.js';
|
|
|
2
2
|
export { SignaturePadContext } from './signature-pad-context.js';
|
|
3
3
|
export { SignaturePadControl } from './signature-pad-control.js';
|
|
4
4
|
export { SignaturePadGuide } from './signature-pad-guide.js';
|
|
5
|
-
export { SignaturePadLabel } from './signature-pad-label.js';
|
|
6
5
|
export { SignaturePadHiddenInput } from './signature-pad-hidden-input.js';
|
|
6
|
+
export { SignaturePadLabel } from './signature-pad-label.js';
|
|
7
7
|
export { SignaturePadRoot } from './signature-pad-root.js';
|
|
8
8
|
export { SignaturePadRootProvider } from './signature-pad-root-provider.js';
|
|
9
9
|
export { SignaturePadSegment } from './signature-pad-segment.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export type { FocusChangeDetails as SliderFocusChangeDetails, ValueChangeDetails as SliderValueChangeDetails, } from '@zag-js/slider';
|
|
2
2
|
export { SliderContext, type SliderContextProps, } from './slider-context';
|
|
3
|
-
export { SliderControl, type
|
|
4
|
-
export { SliderHiddenInput, type
|
|
5
|
-
export { SliderLabel, type
|
|
6
|
-
export { SliderMarker, type
|
|
7
|
-
export { SliderMarkerGroup, type
|
|
8
|
-
export { SliderRange, type
|
|
9
|
-
export { SliderRoot, type
|
|
10
|
-
export { SliderRootProvider, type
|
|
11
|
-
export { SliderThumb, type
|
|
12
|
-
export { SliderTrack, type
|
|
13
|
-
export { SliderValueText, type
|
|
3
|
+
export { SliderControl, type SliderControlBaseProps, type SliderControlProps, } from './slider-control';
|
|
4
|
+
export { SliderHiddenInput, type SliderHiddenInputBaseProps, type SliderHiddenInputProps, } from './slider-hidden-input';
|
|
5
|
+
export { SliderLabel, type SliderLabelBaseProps, type SliderLabelProps, } from './slider-label';
|
|
6
|
+
export { SliderMarker, type SliderMarkerBaseProps, type SliderMarkerProps, } from './slider-marker';
|
|
7
|
+
export { SliderMarkerGroup, type SliderMarkerGroupBaseProps, type SliderMarkerGroupProps, } from './slider-marker-group';
|
|
8
|
+
export { SliderRange, type SliderRangeBaseProps, type SliderRangeProps, } from './slider-range';
|
|
9
|
+
export { SliderRoot, type SliderRootBaseProps, type SliderRootProps, } from './slider-root';
|
|
10
|
+
export { SliderRootProvider, type SliderRootProviderBaseProps, type SliderRootProviderProps, } from './slider-root-provider';
|
|
11
|
+
export { SliderThumb, type SliderThumbBaseProps, type SliderThumbProps, } from './slider-thumb';
|
|
12
|
+
export { SliderTrack, type SliderTrackBaseProps, type SliderTrackProps, } from './slider-track';
|
|
13
|
+
export { SliderValueText, type SliderValueTextBaseProps, type SliderValueTextProps, } from './slider-value-text';
|
|
14
|
+
export { sliderAnatomy } from './slider.anatomy';
|
|
14
15
|
export { useSlider, type UseSliderProps, type UseSliderReturn } from './use-slider';
|
|
15
16
|
export { useSliderContext, type UseSliderContext } from './use-slider-context';
|
|
16
|
-
export { sliderAnatomy } from './slider.anatomy';
|
|
17
17
|
export * as Slider from './slider';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export type { FocusChangeDetails as SliderFocusChangeDetails, ValueChangeDetails as SliderValueChangeDetails, } from '@zag-js/slider';
|
|
2
2
|
export { SliderContext, type SliderContextProps, } from './slider-context';
|
|
3
|
-
export { SliderControl, type
|
|
4
|
-
export { SliderHiddenInput, type
|
|
5
|
-
export { SliderLabel, type
|
|
6
|
-
export { SliderMarker, type
|
|
7
|
-
export { SliderMarkerGroup, type
|
|
8
|
-
export { SliderRange, type
|
|
9
|
-
export { SliderRoot, type
|
|
10
|
-
export { SliderRootProvider, type
|
|
11
|
-
export { SliderThumb, type
|
|
12
|
-
export { SliderTrack, type
|
|
13
|
-
export { SliderValueText, type
|
|
3
|
+
export { SliderControl, type SliderControlBaseProps, type SliderControlProps, } from './slider-control';
|
|
4
|
+
export { SliderHiddenInput, type SliderHiddenInputBaseProps, type SliderHiddenInputProps, } from './slider-hidden-input';
|
|
5
|
+
export { SliderLabel, type SliderLabelBaseProps, type SliderLabelProps, } from './slider-label';
|
|
6
|
+
export { SliderMarker, type SliderMarkerBaseProps, type SliderMarkerProps, } from './slider-marker';
|
|
7
|
+
export { SliderMarkerGroup, type SliderMarkerGroupBaseProps, type SliderMarkerGroupProps, } from './slider-marker-group';
|
|
8
|
+
export { SliderRange, type SliderRangeBaseProps, type SliderRangeProps, } from './slider-range';
|
|
9
|
+
export { SliderRoot, type SliderRootBaseProps, type SliderRootProps, } from './slider-root';
|
|
10
|
+
export { SliderRootProvider, type SliderRootProviderBaseProps, type SliderRootProviderProps, } from './slider-root-provider';
|
|
11
|
+
export { SliderThumb, type SliderThumbBaseProps, type SliderThumbProps, } from './slider-thumb';
|
|
12
|
+
export { SliderTrack, type SliderTrackBaseProps, type SliderTrackProps, } from './slider-track';
|
|
13
|
+
export { SliderValueText, type SliderValueTextBaseProps, type SliderValueTextProps, } from './slider-value-text';
|
|
14
|
+
export { sliderAnatomy } from './slider.anatomy';
|
|
14
15
|
export { useSlider, type UseSliderProps, type UseSliderReturn } from './use-slider';
|
|
15
16
|
export { useSliderContext, type UseSliderContext } from './use-slider-context';
|
|
16
|
-
export { sliderAnatomy } from './slider.anatomy';
|
|
17
17
|
export * as Slider from './slider';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type { SizeChangeDetails as SplitterSizeChangeDetails } from '@zag-js/splitter';
|
|
2
2
|
export { SplitterContext, type SplitterContextProps, } from './splitter-context';
|
|
3
|
-
export { SplitterPanel, type
|
|
4
|
-
export { SplitterResizeTrigger, type
|
|
5
|
-
export { SplitterRoot, type
|
|
6
|
-
export { SplitterRootProvider, type
|
|
3
|
+
export { SplitterPanel, type SplitterPanelBaseProps, type SplitterPanelProps, } from './splitter-panel';
|
|
4
|
+
export { SplitterResizeTrigger, type SplitterResizeTriggerBaseProps, type SplitterResizeTriggerProps, } from './splitter-resize-trigger';
|
|
5
|
+
export { SplitterRoot, type SplitterRootBaseProps, type SplitterRootProps, } from './splitter-root';
|
|
6
|
+
export { SplitterRootProvider, type SplitterRootProviderBaseProps, type SplitterRootProviderProps, } from './splitter-root-provider';
|
|
7
|
+
export { splitterAnatomy } from './splitter.anatomy';
|
|
7
8
|
export { useSplitter, type UseSplitterProps, type UseSplitterReturn } from './use-splitter';
|
|
8
9
|
export { useSplitterContext, type UseSplitterContext } from './use-splitter-context';
|
|
9
|
-
export { splitterAnatomy } from './splitter.anatomy';
|
|
10
10
|
export * as Splitter from './splitter';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type { SizeChangeDetails as SplitterSizeChangeDetails } from '@zag-js/splitter';
|
|
2
2
|
export { SplitterContext, type SplitterContextProps, } from './splitter-context';
|
|
3
|
-
export { SplitterPanel, type
|
|
4
|
-
export { SplitterResizeTrigger, type
|
|
5
|
-
export { SplitterRoot, type
|
|
6
|
-
export { SplitterRootProvider, type
|
|
3
|
+
export { SplitterPanel, type SplitterPanelBaseProps, type SplitterPanelProps, } from './splitter-panel';
|
|
4
|
+
export { SplitterResizeTrigger, type SplitterResizeTriggerBaseProps, type SplitterResizeTriggerProps, } from './splitter-resize-trigger';
|
|
5
|
+
export { SplitterRoot, type SplitterRootBaseProps, type SplitterRootProps, } from './splitter-root';
|
|
6
|
+
export { SplitterRootProvider, type SplitterRootProviderBaseProps, type SplitterRootProviderProps, } from './splitter-root-provider';
|
|
7
|
+
export { splitterAnatomy } from './splitter.anatomy';
|
|
7
8
|
export { useSplitter, type UseSplitterProps, type UseSplitterReturn } from './use-splitter';
|
|
8
9
|
export { useSplitterContext, type UseSplitterContext } from './use-splitter-context';
|
|
9
|
-
export { splitterAnatomy } from './splitter.anatomy';
|
|
10
10
|
export * as Splitter from './splitter';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type { CheckedChangeDetails as SwitchCheckedChangeDetails } from '@zag-js/switch';
|
|
2
2
|
export { SwitchContext, type SwitchContextProps, } from './switch-context';
|
|
3
|
-
export { SwitchControl, type
|
|
4
|
-
export { SwitchHiddenInput, type
|
|
5
|
-
export { SwitchLabel, type
|
|
6
|
-
export { SwitchRoot, type
|
|
7
|
-
export { SwitchRootProvider, type
|
|
8
|
-
export { SwitchThumb, type
|
|
3
|
+
export { SwitchControl, type SwitchControlBaseProps, type SwitchControlProps, } from './switch-control';
|
|
4
|
+
export { SwitchHiddenInput, type SwitchHiddenInputBaseProps, type SwitchHiddenInputProps, } from './switch-hidden-input';
|
|
5
|
+
export { SwitchLabel, type SwitchLabelBaseProps, type SwitchLabelProps, } from './switch-label';
|
|
6
|
+
export { SwitchRoot, type SwitchRootBaseProps, type SwitchRootProps, } from './switch-root';
|
|
7
|
+
export { SwitchRootProvider, type SwitchRootProviderBaseProps, type SwitchRootProviderProps, } from './switch-root-provider';
|
|
8
|
+
export { SwitchThumb, type SwitchThumbBaseProps, type SwitchThumbProps, } from './switch-thumb';
|
|
9
|
+
export { switchAnatomy } from './switch.anatomy';
|
|
9
10
|
export { useSwitch, type UseSwitchProps, type UseSwitchReturn } from './use-switch';
|
|
10
11
|
export { useSwitchContext, type UseSwitchContext } from './use-switch-context';
|
|
11
|
-
export { switchAnatomy } from './switch.anatomy';
|
|
12
12
|
export * as Switch from './switch';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type { CheckedChangeDetails as SwitchCheckedChangeDetails } from '@zag-js/switch';
|
|
2
2
|
export { SwitchContext, type SwitchContextProps, } from './switch-context';
|
|
3
|
-
export { SwitchControl, type
|
|
4
|
-
export { SwitchHiddenInput, type
|
|
5
|
-
export { SwitchLabel, type
|
|
6
|
-
export { SwitchRoot, type
|
|
7
|
-
export { SwitchRootProvider, type
|
|
8
|
-
export { SwitchThumb, type
|
|
3
|
+
export { SwitchControl, type SwitchControlBaseProps, type SwitchControlProps, } from './switch-control';
|
|
4
|
+
export { SwitchHiddenInput, type SwitchHiddenInputBaseProps, type SwitchHiddenInputProps, } from './switch-hidden-input';
|
|
5
|
+
export { SwitchLabel, type SwitchLabelBaseProps, type SwitchLabelProps, } from './switch-label';
|
|
6
|
+
export { SwitchRoot, type SwitchRootBaseProps, type SwitchRootProps, } from './switch-root';
|
|
7
|
+
export { SwitchRootProvider, type SwitchRootProviderBaseProps, type SwitchRootProviderProps, } from './switch-root-provider';
|
|
8
|
+
export { SwitchThumb, type SwitchThumbBaseProps, type SwitchThumbProps, } from './switch-thumb';
|
|
9
|
+
export { switchAnatomy } from './switch.anatomy';
|
|
9
10
|
export { useSwitch, type UseSwitchProps, type UseSwitchReturn } from './use-switch';
|
|
10
11
|
export { useSwitchContext, type UseSwitchContext } from './use-switch-context';
|
|
11
|
-
export { switchAnatomy } from './switch.anatomy';
|
|
12
12
|
export * as Switch from './switch';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type { FocusChangeDetails as TabsFocusChangeDetails, ValueChangeDetails as TabsValueChangeDetails, } from '@zag-js/tabs';
|
|
2
|
-
export { TabContent, type
|
|
3
|
-
export { TabIndicator, type
|
|
4
|
-
export { TabList, type
|
|
5
|
-
export { TabTrigger, type
|
|
2
|
+
export { TabContent, type TabContentBaseProps, type TabContentProps, } from './tab-content';
|
|
3
|
+
export { TabIndicator, type TabIndicatorBaseProps, type TabIndicatorProps, } from './tab-indicator';
|
|
4
|
+
export { TabList, type TabListBaseProps, type TabListProps, } from './tab-list';
|
|
5
|
+
export { TabTrigger, type TabTriggerBaseProps, type TabTriggerProps, } from './tab-trigger';
|
|
6
6
|
export { TabsContext, type TabsContextProps, } from './tabs-context';
|
|
7
|
-
export { TabsRoot, type
|
|
8
|
-
export { TabsRootProvider, type
|
|
7
|
+
export { TabsRoot, type TabsRootBaseProps, type TabsRootProps, } from './tabs-root';
|
|
8
|
+
export { TabsRootProvider, type TabsRootProviderBaseProps, type TabsRootProviderProps, } from './tabs-root-provider';
|
|
9
|
+
export { tabsAnatomy } from './tabs.anatomy';
|
|
9
10
|
export { useTabs, type UseTabsProps, type UseTabsReturn } from './use-tabs';
|
|
10
11
|
export { useTabsContext, type UseTabsContext } from './use-tabs-context';
|
|
11
|
-
export { tabsAnatomy } from './tabs.anatomy';
|
|
12
12
|
export * as Tabs from './tabs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type { FocusChangeDetails as TabsFocusChangeDetails, ValueChangeDetails as TabsValueChangeDetails, } from '@zag-js/tabs';
|
|
2
|
-
export { TabContent, type
|
|
3
|
-
export { TabIndicator, type
|
|
4
|
-
export { TabList, type
|
|
5
|
-
export { TabTrigger, type
|
|
2
|
+
export { TabContent, type TabContentBaseProps, type TabContentProps, } from './tab-content';
|
|
3
|
+
export { TabIndicator, type TabIndicatorBaseProps, type TabIndicatorProps, } from './tab-indicator';
|
|
4
|
+
export { TabList, type TabListBaseProps, type TabListProps, } from './tab-list';
|
|
5
|
+
export { TabTrigger, type TabTriggerBaseProps, type TabTriggerProps, } from './tab-trigger';
|
|
6
6
|
export { TabsContext, type TabsContextProps, } from './tabs-context';
|
|
7
|
-
export { TabsRoot, type
|
|
8
|
-
export { TabsRootProvider, type
|
|
7
|
+
export { TabsRoot, type TabsRootBaseProps, type TabsRootProps, } from './tabs-root';
|
|
8
|
+
export { TabsRootProvider, type TabsRootProviderBaseProps, type TabsRootProviderProps, } from './tabs-root-provider';
|
|
9
|
+
export { tabsAnatomy } from './tabs.anatomy';
|
|
9
10
|
export { useTabs, type UseTabsProps, type UseTabsReturn } from './use-tabs';
|
|
10
11
|
export { useTabsContext, type UseTabsContext } from './use-tabs-context';
|
|
11
|
-
export { tabsAnatomy } from './tabs.anatomy';
|
|
12
12
|
export * as Tabs from './tabs';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export type { HighlightChangeDetails as TagsInputHighlightChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, } from '@zag-js/tags-input';
|
|
2
|
-
export { TagsInputClearTrigger, type
|
|
2
|
+
export { TagsInputClearTrigger, type TagsInputClearTriggerBaseProps, type TagsInputClearTriggerProps, } from './tags-input-clear-trigger';
|
|
3
3
|
export { TagsInputContext, type TagsInputContextProps, } from './tags-input-context';
|
|
4
|
-
export { TagsInputControl, type
|
|
5
|
-
export { TagsInputHiddenInput, type
|
|
6
|
-
export { TagsInputInput, type
|
|
7
|
-
export { TagsInputItem, type
|
|
4
|
+
export { TagsInputControl, type TagsInputControlBaseProps, type TagsInputControlProps, } from './tags-input-control';
|
|
5
|
+
export { TagsInputHiddenInput, type TagsInputHiddenInputBaseProps, type TagsInputHiddenInputProps, } from './tags-input-hidden-input';
|
|
6
|
+
export { TagsInputInput, type TagsInputInputBaseProps, type TagsInputInputProps, } from './tags-input-input';
|
|
7
|
+
export { TagsInputItem, type TagsInputItemBaseProps, type TagsInputItemProps, } from './tags-input-item';
|
|
8
8
|
export { TagsInputItemContext, type TagsInputItemContextProps, } from './tags-input-item-context';
|
|
9
|
-
export { TagsInputItemDeleteTrigger, type
|
|
10
|
-
export { TagsInputItemInput, type
|
|
11
|
-
export { TagsInputItemPreview, type
|
|
12
|
-
export { TagsInputItemText, type
|
|
13
|
-
export { TagsInputLabel, type
|
|
14
|
-
export { TagsInputRoot, type
|
|
15
|
-
export { TagsInputRootProvider, type
|
|
9
|
+
export { TagsInputItemDeleteTrigger, type TagsInputItemDeleteTriggerBaseProps, type TagsInputItemDeleteTriggerProps, } from './tags-input-item-delete-trigger';
|
|
10
|
+
export { TagsInputItemInput, type TagsInputItemInputBaseProps, type TagsInputItemInputProps, } from './tags-input-item-input';
|
|
11
|
+
export { TagsInputItemPreview, type TagsInputItemPreviewBaseProps, type TagsInputItemPreviewProps, } from './tags-input-item-preview';
|
|
12
|
+
export { TagsInputItemText, type TagsInputItemTextBaseProps, type TagsInputItemTextProps, } from './tags-input-item-text';
|
|
13
|
+
export { TagsInputLabel, type TagsInputLabelBaseProps, type TagsInputLabelProps, } from './tags-input-label';
|
|
14
|
+
export { TagsInputRoot, type TagsInputRootBaseProps, type TagsInputRootProps, } from './tags-input-root';
|
|
15
|
+
export { TagsInputRootProvider, type TagsInputRootProviderBaseProps, type TagsInputRootProviderProps, } from './tags-input-root-provider';
|
|
16
|
+
export { tagsInputAnatomy } from './tags-input.anatomy';
|
|
16
17
|
export { useTagsInput, type UseTagsInputProps, type UseTagsInputReturn } from './use-tags-input';
|
|
17
18
|
export { useTagsInputContext, type UseTagsInputContext } from './use-tags-input-context';
|
|
18
19
|
export { useTagsInputItemContext, type UseTagsInputItemContext, } from './use-tags-input-item-context';
|
|
19
|
-
export { tagsInputAnatomy } from './tags-input.anatomy';
|
|
20
20
|
export * as TagsInput from './tags-input';
|