@ark-ui/react 5.22.0 → 5.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/components/accordion/accordion-item.cjs +0 -1
- package/dist/components/accordion/accordion-item.js +0 -1
- package/dist/components/anatomy.cjs +190 -0
- package/dist/components/anatomy.d.cts +44 -0
- package/dist/components/anatomy.d.ts +44 -0
- package/dist/components/anatomy.js +44 -0
- package/dist/components/checkbox/checkbox.anatomy.d.cts +1 -1
- package/dist/components/checkbox/checkbox.anatomy.d.ts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.cts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox-root-provider.d.cts +3 -2
- package/dist/components/combobox/combobox-root-provider.d.ts +3 -2
- package/dist/components/combobox/combobox-root.cjs +1 -0
- package/dist/components/combobox/combobox-root.d.cts +2 -2
- package/dist/components/combobox/combobox-root.d.ts +2 -2
- package/dist/components/combobox/combobox-root.js +1 -0
- package/dist/components/combobox/combobox.anatomy.d.cts +1 -1
- package/dist/components/combobox/combobox.anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox.d.cts +2 -2
- package/dist/components/combobox/combobox.d.ts +2 -2
- package/dist/components/combobox/index.d.cts +2 -2
- package/dist/components/combobox/index.d.ts +2 -2
- package/dist/components/date-picker/date-picker.anatomy.d.cts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.ts +1 -1
- package/dist/components/field/field.anatomy.d.cts +2 -2
- package/dist/components/field/field.anatomy.d.ts +2 -2
- package/dist/components/field/use-field.cjs +2 -1
- package/dist/components/field/use-field.js +2 -1
- package/dist/components/fieldset/fieldset-legend.cjs +1 -1
- package/dist/components/fieldset/fieldset-legend.d.cts +2 -2
- package/dist/components/fieldset/fieldset-legend.d.ts +2 -2
- package/dist/components/fieldset/fieldset-legend.js +1 -1
- package/dist/components/fieldset/fieldset.anatomy.d.cts +2 -2
- package/dist/components/fieldset/fieldset.anatomy.d.ts +2 -2
- package/dist/components/file-upload/file-upload-item-group.cjs +5 -2
- package/dist/components/file-upload/file-upload-item-group.d.cts +2 -1
- package/dist/components/file-upload/file-upload-item-group.d.ts +2 -1
- package/dist/components/file-upload/file-upload-item-group.js +5 -2
- package/dist/components/file-upload/file-upload-item.cjs +5 -2
- package/dist/components/file-upload/file-upload-item.d.cts +3 -1
- package/dist/components/file-upload/file-upload-item.d.ts +3 -1
- package/dist/components/file-upload/file-upload-item.js +5 -2
- package/dist/components/file-upload/use-file-upload-item-group-props-context.cjs +15 -0
- package/dist/components/file-upload/use-file-upload-item-group-props-context.d.cts +5 -0
- package/dist/components/file-upload/use-file-upload-item-group-props-context.d.ts +5 -0
- package/dist/components/file-upload/use-file-upload-item-group-props-context.js +10 -0
- package/dist/components/frame/frame.cjs +6 -4
- package/dist/components/frame/frame.js +6 -4
- package/dist/components/index.cjs +0 -42
- package/dist/components/index.d.cts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -19
- package/dist/components/listbox/index.d.cts +2 -2
- package/dist/components/listbox/index.d.ts +2 -2
- package/dist/components/listbox/listbox-root-provider.d.cts +3 -2
- package/dist/components/listbox/listbox-root-provider.d.ts +3 -2
- package/dist/components/listbox/listbox-root.d.cts +2 -2
- package/dist/components/listbox/listbox-root.d.ts +2 -2
- package/dist/components/listbox/listbox.anatomy.d.cts +1 -1
- package/dist/components/listbox/listbox.anatomy.d.ts +1 -1
- package/dist/components/listbox/listbox.d.cts +2 -2
- package/dist/components/listbox/listbox.d.ts +2 -2
- package/dist/components/menu/menu-trigger-item.cjs +2 -1
- package/dist/components/menu/menu-trigger-item.js +2 -1
- package/dist/components/segment-group/segment-group.anatomy.d.cts +2 -2
- package/dist/components/segment-group/segment-group.anatomy.d.ts +2 -2
- package/dist/components/select/index.d.cts +2 -2
- package/dist/components/select/index.d.ts +2 -2
- package/dist/components/select/select-root-provider.d.cts +3 -2
- package/dist/components/select/select-root-provider.d.ts +3 -2
- package/dist/components/select/select-root.d.cts +2 -2
- package/dist/components/select/select-root.d.ts +2 -2
- package/dist/components/select/select.d.cts +2 -2
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/tour/tour.anatomy.d.cts +1 -1
- package/dist/components/tour/tour.anatomy.d.ts +1 -1
- package/dist/components/tree-view/index.d.cts +2 -2
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/tree-view-root-provider.d.cts +3 -2
- package/dist/components/tree-view/tree-view-root-provider.d.ts +3 -2
- package/dist/components/tree-view/tree-view-root.d.cts +3 -2
- package/dist/components/tree-view/tree-view-root.d.ts +3 -2
- package/dist/components/tree-view/tree-view.d.cts +2 -2
- package/dist/components/tree-view/tree-view.d.ts +2 -2
- package/dist/index.cjs +0 -42
- package/dist/index.js +0 -19
- package/package.json +70 -71
- package/dist/components/time-picker/index.cjs +0 -49
- package/dist/components/time-picker/index.d.cts +0 -19
- package/dist/components/time-picker/index.d.ts +0 -19
- package/dist/components/time-picker/index.js +0 -19
- package/dist/components/time-picker/time-picker-cell.cjs +0 -29
- package/dist/components/time-picker/time-picker-cell.d.cts +0 -13
- package/dist/components/time-picker/time-picker-cell.d.ts +0 -13
- package/dist/components/time-picker/time-picker-cell.js +0 -25
- package/dist/components/time-picker/time-picker-clear-trigger.cjs +0 -19
- package/dist/components/time-picker/time-picker-clear-trigger.d.cts +0 -7
- package/dist/components/time-picker/time-picker-clear-trigger.d.ts +0 -7
- package/dist/components/time-picker/time-picker-clear-trigger.js +0 -15
- package/dist/components/time-picker/time-picker-column.cjs +0 -22
- package/dist/components/time-picker/time-picker-column.d.cts +0 -8
- package/dist/components/time-picker/time-picker-column.d.ts +0 -8
- package/dist/components/time-picker/time-picker-column.js +0 -18
- package/dist/components/time-picker/time-picker-content.cjs +0 -25
- package/dist/components/time-picker/time-picker-content.d.cts +0 -7
- package/dist/components/time-picker/time-picker-content.d.ts +0 -7
- package/dist/components/time-picker/time-picker-content.js +0 -21
- package/dist/components/time-picker/time-picker-context.cjs +0 -10
- package/dist/components/time-picker/time-picker-context.d.cts +0 -6
- package/dist/components/time-picker/time-picker-context.d.ts +0 -6
- package/dist/components/time-picker/time-picker-context.js +0 -6
- package/dist/components/time-picker/time-picker-control.cjs +0 -19
- package/dist/components/time-picker/time-picker-control.d.cts +0 -7
- package/dist/components/time-picker/time-picker-control.d.ts +0 -7
- package/dist/components/time-picker/time-picker-control.js +0 -15
- package/dist/components/time-picker/time-picker-input.cjs +0 -19
- package/dist/components/time-picker/time-picker-input.d.cts +0 -7
- package/dist/components/time-picker/time-picker-input.d.ts +0 -7
- package/dist/components/time-picker/time-picker-input.js +0 -15
- package/dist/components/time-picker/time-picker-label.cjs +0 -19
- package/dist/components/time-picker/time-picker-label.d.cts +0 -7
- package/dist/components/time-picker/time-picker-label.d.ts +0 -7
- package/dist/components/time-picker/time-picker-label.js +0 -15
- package/dist/components/time-picker/time-picker-positioner.cjs +0 -24
- package/dist/components/time-picker/time-picker-positioner.d.cts +0 -7
- package/dist/components/time-picker/time-picker-positioner.d.ts +0 -7
- package/dist/components/time-picker/time-picker-positioner.js +0 -20
- package/dist/components/time-picker/time-picker-root-provider.cjs +0 -25
- package/dist/components/time-picker/time-picker-root-provider.d.cts +0 -13
- package/dist/components/time-picker/time-picker-root-provider.d.ts +0 -13
- package/dist/components/time-picker/time-picker-root-provider.js +0 -21
- package/dist/components/time-picker/time-picker-root.cjs +0 -48
- package/dist/components/time-picker/time-picker-root.d.cts +0 -10
- package/dist/components/time-picker/time-picker-root.d.ts +0 -10
- package/dist/components/time-picker/time-picker-root.js +0 -44
- package/dist/components/time-picker/time-picker-spacer.cjs +0 -19
- package/dist/components/time-picker/time-picker-spacer.d.cts +0 -7
- package/dist/components/time-picker/time-picker-spacer.d.ts +0 -7
- package/dist/components/time-picker/time-picker-spacer.js +0 -15
- package/dist/components/time-picker/time-picker-trigger.cjs +0 -19
- package/dist/components/time-picker/time-picker-trigger.d.cts +0 -7
- package/dist/components/time-picker/time-picker-trigger.d.ts +0 -7
- package/dist/components/time-picker/time-picker-trigger.js +0 -15
- package/dist/components/time-picker/time-picker.anatomy.d.cts +0 -1
- package/dist/components/time-picker/time-picker.anatomy.d.ts +0 -1
- package/dist/components/time-picker/time-picker.cjs +0 -33
- package/dist/components/time-picker/time-picker.d.cts +0 -14
- package/dist/components/time-picker/time-picker.d.ts +0 -14
- package/dist/components/time-picker/time-picker.js +0 -13
- package/dist/components/time-picker/use-time-picker-column-props-context.cjs +0 -15
- package/dist/components/time-picker/use-time-picker-column-props-context.d.cts +0 -6
- package/dist/components/time-picker/use-time-picker-column-props-context.d.ts +0 -6
- package/dist/components/time-picker/use-time-picker-column-props-context.js +0 -10
- package/dist/components/time-picker/use-time-picker-context.cjs +0 -15
- package/dist/components/time-picker/use-time-picker-context.d.cts +0 -5
- package/dist/components/time-picker/use-time-picker-context.d.ts +0 -5
- package/dist/components/time-picker/use-time-picker-context.js +0 -10
- package/dist/components/time-picker/use-time-picker.cjs +0 -46
- package/dist/components/time-picker/use-time-picker.d.cts +0 -8
- package/dist/components/time-picker/use-time-picker.d.ts +0 -8
- package/dist/components/time-picker/use-time-picker.js +0 -23
|
@@ -15,7 +15,7 @@ export { SelectItemText as ItemText, type SelectItemTextBaseProps as ItemTextBas
|
|
|
15
15
|
export { SelectLabel as Label, type SelectLabelBaseProps as LabelBaseProps, type SelectLabelProps as LabelProps, } from './select-label';
|
|
16
16
|
export { SelectList as List, type SelectListBaseProps as ListBaseProps, type SelectListProps as ListProps, } from './select-list';
|
|
17
17
|
export { SelectPositioner as Positioner, type SelectPositionerBaseProps as PositionerBaseProps, type SelectPositionerProps as PositionerProps, } from './select-positioner';
|
|
18
|
-
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root';
|
|
19
|
-
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider';
|
|
18
|
+
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, type SelectRootComponent as RootComponent, } from './select-root';
|
|
19
|
+
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, type SelectRootProviderComponent as RootProviderComponent, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger as Trigger, type SelectTriggerBaseProps as TriggerBaseProps, type SelectTriggerProps as TriggerProps, } from './select-trigger';
|
|
21
21
|
export { SelectValueText as ValueText, type SelectValueTextBaseProps as ValueTextBaseProps, type SelectValueTextProps as ValueTextProps, } from './select-value-text';
|
|
@@ -15,7 +15,7 @@ export { SelectItemText as ItemText, type SelectItemTextBaseProps as ItemTextBas
|
|
|
15
15
|
export { SelectLabel as Label, type SelectLabelBaseProps as LabelBaseProps, type SelectLabelProps as LabelProps, } from './select-label';
|
|
16
16
|
export { SelectList as List, type SelectListBaseProps as ListBaseProps, type SelectListProps as ListProps, } from './select-list';
|
|
17
17
|
export { SelectPositioner as Positioner, type SelectPositionerBaseProps as PositionerBaseProps, type SelectPositionerProps as PositionerProps, } from './select-positioner';
|
|
18
|
-
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, } from './select-root';
|
|
19
|
-
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, } from './select-root-provider';
|
|
18
|
+
export { SelectRoot as Root, type SelectRootBaseProps as RootBaseProps, type SelectRootProps as RootProps, type SelectRootComponent as RootComponent, } from './select-root';
|
|
19
|
+
export { SelectRootProvider as RootProvider, type SelectRootProviderBaseProps as RootProviderBaseProps, type SelectRootProviderProps as RootProviderProps, type SelectRootProviderComponent as RootProviderComponent, } from './select-root-provider';
|
|
20
20
|
export { SelectTrigger as Trigger, type SelectTriggerBaseProps as TriggerBaseProps, type SelectTriggerProps as TriggerProps, } from './select-trigger';
|
|
21
21
|
export { SelectValueText as ValueText, type SelectValueTextBaseProps as ValueTextBaseProps, type SelectValueTextProps as ValueTextProps, } from './select-value-text';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const tourAnatomy: AnatomyInstance<"
|
|
2
|
+
export declare const tourAnatomy: AnatomyInstance<"control" | "content" | "positioner" | "title" | "actionTrigger" | "closeTrigger" | "progressText" | "description" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const tourAnatomy: AnatomyInstance<"
|
|
2
|
+
export declare const tourAnatomy: AnatomyInstance<"control" | "content" | "positioner" | "title" | "actionTrigger" | "closeTrigger" | "progressText" | "description" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
|
|
@@ -14,8 +14,8 @@ export { TreeViewItemText, type TreeViewItemTextBaseProps, type TreeViewItemText
|
|
|
14
14
|
export { TreeViewLabel, type TreeViewLabelBaseProps, type TreeViewLabelProps } from './tree-view-label';
|
|
15
15
|
export { TreeViewNodeContext, type TreeViewNodeContextProps } from './tree-view-node-context';
|
|
16
16
|
export { TreeViewNodeProvider, type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, } from './tree-view-node-provider';
|
|
17
|
-
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootProps } from './tree-view-root';
|
|
18
|
-
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
17
|
+
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootComponent, type TreeViewRootProps, } from './tree-view-root';
|
|
18
|
+
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderComponent, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
19
19
|
export { TreeViewTree, type TreeViewTreeBaseProps, type TreeViewTreeProps } from './tree-view-tree';
|
|
20
20
|
export { TreeViewNodeCheckbox, type TreeViewNodeCheckboxBaseProps, type TreeViewNodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
21
21
|
export { TreeViewNodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
|
@@ -14,8 +14,8 @@ export { TreeViewItemText, type TreeViewItemTextBaseProps, type TreeViewItemText
|
|
|
14
14
|
export { TreeViewLabel, type TreeViewLabelBaseProps, type TreeViewLabelProps } from './tree-view-label';
|
|
15
15
|
export { TreeViewNodeContext, type TreeViewNodeContextProps } from './tree-view-node-context';
|
|
16
16
|
export { TreeViewNodeProvider, type TreeViewNodeProviderBaseProps, type TreeViewNodeProviderProps, } from './tree-view-node-provider';
|
|
17
|
-
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootProps } from './tree-view-root';
|
|
18
|
-
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
17
|
+
export { TreeViewRoot, type TreeViewRootBaseProps, type TreeViewRootComponent, type TreeViewRootProps, } from './tree-view-root';
|
|
18
|
+
export { TreeViewRootProvider, type TreeViewRootProviderBaseProps, type TreeViewRootProviderComponent, type TreeViewRootProviderProps, } from './tree-view-root-provider';
|
|
19
19
|
export { TreeViewTree, type TreeViewTreeBaseProps, type TreeViewTreeProps } from './tree-view-tree';
|
|
20
20
|
export { TreeViewNodeCheckbox, type TreeViewNodeCheckboxBaseProps, type TreeViewNodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
21
21
|
export { TreeViewNodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -10,6 +11,6 @@ export interface TreeViewRootProviderBaseProps<T extends TreeNode> extends RootP
|
|
|
10
11
|
}
|
|
11
12
|
export interface TreeViewRootProviderProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const TreeViewRootProvider:
|
|
14
|
+
export type TreeViewRootProviderComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const TreeViewRootProvider: TreeViewRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -10,6 +11,6 @@ export interface TreeViewRootProviderBaseProps<T extends TreeNode> extends RootP
|
|
|
10
11
|
}
|
|
11
12
|
export interface TreeViewRootProviderProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootProviderBaseProps<T> {
|
|
12
13
|
}
|
|
13
|
-
export type
|
|
14
|
-
export declare const TreeViewRootProvider:
|
|
14
|
+
export type TreeViewRootProviderComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProviderProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
15
|
+
export declare const TreeViewRootProvider: TreeViewRootProviderComponent;
|
|
15
16
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -7,5 +8,5 @@ export interface TreeViewRootBaseProps<T extends TreeNode> extends UseTreeViewPr
|
|
|
7
8
|
}
|
|
8
9
|
export interface TreeViewRootProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootBaseProps<T> {
|
|
9
10
|
}
|
|
10
|
-
export type
|
|
11
|
-
export declare const TreeViewRoot:
|
|
11
|
+
export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const TreeViewRoot: TreeViewRootComponent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
+
import { Assign } from '../../types';
|
|
2
3
|
import { RenderStrategyProps } from '../../utils/render-strategy';
|
|
3
4
|
import { TreeNode } from '../collection';
|
|
4
5
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
@@ -7,5 +8,5 @@ export interface TreeViewRootBaseProps<T extends TreeNode> extends UseTreeViewPr
|
|
|
7
8
|
}
|
|
8
9
|
export interface TreeViewRootProps<T extends TreeNode> extends HTMLProps<'div'>, TreeViewRootBaseProps<T> {
|
|
9
10
|
}
|
|
10
|
-
export type
|
|
11
|
-
export declare const TreeViewRoot:
|
|
11
|
+
export type TreeViewRootComponent<P = {}> = <T extends TreeNode>(props: Assign<TreeViewRootProps<T>, P> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
12
|
+
export declare const TreeViewRoot: TreeViewRootComponent;
|
|
@@ -13,8 +13,8 @@ export { TreeViewItemText as ItemText, type TreeViewItemTextBaseProps as ItemTex
|
|
|
13
13
|
export { TreeViewLabel as Label, type TreeViewLabelBaseProps as LabelBaseProps, type TreeViewLabelProps as LabelProps, } from './tree-view-label';
|
|
14
14
|
export { TreeViewNodeContext as NodeContext, type TreeViewNodeContextProps as NodeContextProps, } from './tree-view-node-context';
|
|
15
15
|
export { TreeViewNodeProvider as NodeProvider, type TreeViewNodeProviderBaseProps as NodeProviderBaseProps, type TreeViewNodeProviderProps as NodeProviderProps, } from './tree-view-node-provider';
|
|
16
|
-
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
-
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
16
|
+
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootComponent as RootComponent, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
+
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderComponent as RootProviderComponent, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
18
18
|
export { TreeViewTree as Tree, type TreeViewTreeBaseProps as TreeBaseProps, type TreeViewTreeProps as TreeProps, } from './tree-view-tree';
|
|
19
19
|
export { TreeViewNodeCheckbox as NodeCheckbox, type TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, type TreeViewNodeCheckboxProps as NodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
20
20
|
export { TreeViewNodeCheckboxIndicator as NodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
|
@@ -13,8 +13,8 @@ export { TreeViewItemText as ItemText, type TreeViewItemTextBaseProps as ItemTex
|
|
|
13
13
|
export { TreeViewLabel as Label, type TreeViewLabelBaseProps as LabelBaseProps, type TreeViewLabelProps as LabelProps, } from './tree-view-label';
|
|
14
14
|
export { TreeViewNodeContext as NodeContext, type TreeViewNodeContextProps as NodeContextProps, } from './tree-view-node-context';
|
|
15
15
|
export { TreeViewNodeProvider as NodeProvider, type TreeViewNodeProviderBaseProps as NodeProviderBaseProps, type TreeViewNodeProviderProps as NodeProviderProps, } from './tree-view-node-provider';
|
|
16
|
-
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
-
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
16
|
+
export { TreeViewRoot as Root, type TreeViewRootBaseProps as RootBaseProps, type TreeViewRootComponent as RootComponent, type TreeViewRootProps as RootProps, } from './tree-view-root';
|
|
17
|
+
export { TreeViewRootProvider as RootProvider, type TreeViewRootProviderBaseProps as RootProviderBaseProps, type TreeViewRootProviderComponent as RootProviderComponent, type TreeViewRootProviderProps as RootProviderProps, } from './tree-view-root-provider';
|
|
18
18
|
export { TreeViewTree as Tree, type TreeViewTreeBaseProps as TreeBaseProps, type TreeViewTreeProps as TreeProps, } from './tree-view-tree';
|
|
19
19
|
export { TreeViewNodeCheckbox as NodeCheckbox, type TreeViewNodeCheckboxBaseProps as NodeCheckboxBaseProps, type TreeViewNodeCheckboxProps as NodeCheckboxProps, } from './tree-view-node-checkbox';
|
|
20
20
|
export { TreeViewNodeCheckboxIndicator as NodeCheckboxIndicator, type TreeViewNodeCheckboxIndicatorBaseProps as NodeCheckboxIndicatorBaseProps, type TreeViewNodeCheckboxIndicatorProps as NodeCheckboxIndicatorProps, } from './tree-view-node-checkbox-indicator';
|
package/dist/index.cjs
CHANGED
|
@@ -589,23 +589,6 @@ const useTagsInput = require('./components/tags-input/use-tags-input.cjs');
|
|
|
589
589
|
const useTagsInputContext = require('./components/tags-input/use-tags-input-context.cjs');
|
|
590
590
|
const useTagsInputItemContext = require('./components/tags-input/use-tags-input-item-context.cjs');
|
|
591
591
|
const tagsInput$1 = require('./components/tags-input/tags-input.cjs');
|
|
592
|
-
const date = require('@internationalized/date');
|
|
593
|
-
const timePickerCell = require('./components/time-picker/time-picker-cell.cjs');
|
|
594
|
-
const timePickerClearTrigger = require('./components/time-picker/time-picker-clear-trigger.cjs');
|
|
595
|
-
const timePickerColumn = require('./components/time-picker/time-picker-column.cjs');
|
|
596
|
-
const timePickerContent = require('./components/time-picker/time-picker-content.cjs');
|
|
597
|
-
const timePickerContext = require('./components/time-picker/time-picker-context.cjs');
|
|
598
|
-
const timePickerControl = require('./components/time-picker/time-picker-control.cjs');
|
|
599
|
-
const timePickerInput = require('./components/time-picker/time-picker-input.cjs');
|
|
600
|
-
const timePickerLabel = require('./components/time-picker/time-picker-label.cjs');
|
|
601
|
-
const timePickerPositioner = require('./components/time-picker/time-picker-positioner.cjs');
|
|
602
|
-
const timePickerRoot = require('./components/time-picker/time-picker-root.cjs');
|
|
603
|
-
const timePickerRootProvider = require('./components/time-picker/time-picker-root-provider.cjs');
|
|
604
|
-
const timePickerSpacer = require('./components/time-picker/time-picker-spacer.cjs');
|
|
605
|
-
const timePickerTrigger = require('./components/time-picker/time-picker-trigger.cjs');
|
|
606
|
-
const useTimePicker = require('./components/time-picker/use-time-picker.cjs');
|
|
607
|
-
const useTimePickerContext = require('./components/time-picker/use-time-picker-context.cjs');
|
|
608
|
-
const timePicker$1 = require('./components/time-picker/time-picker.cjs');
|
|
609
592
|
const timerActionTrigger = require('./components/timer/timer-action-trigger.cjs');
|
|
610
593
|
const timerArea = require('./components/timer/timer-area.cjs');
|
|
611
594
|
const timerContext = require('./components/timer/timer-context.cjs');
|
|
@@ -730,7 +713,6 @@ const steps = require('@zag-js/steps');
|
|
|
730
713
|
const zagSwitch = require('@zag-js/switch');
|
|
731
714
|
const tabs = require('@zag-js/tabs');
|
|
732
715
|
const tagsInput = require('@zag-js/tags-input');
|
|
733
|
-
const timePicker = require('@zag-js/time-picker');
|
|
734
716
|
const timer = require('@zag-js/timer');
|
|
735
717
|
const toast = require('@zag-js/toast');
|
|
736
718
|
const toggleGroup = require('@zag-js/toggle-group');
|
|
@@ -1335,26 +1317,6 @@ exports.useTagsInput = useTagsInput.useTagsInput;
|
|
|
1335
1317
|
exports.useTagsInputContext = useTagsInputContext.useTagsInputContext;
|
|
1336
1318
|
exports.useTagsInputItemContext = useTagsInputItemContext.useTagsInputItemContext;
|
|
1337
1319
|
exports.TagsInput = tagsInput$1;
|
|
1338
|
-
Object.defineProperty(exports, "parseTime", {
|
|
1339
|
-
enumerable: true,
|
|
1340
|
-
get: () => date.parseTime
|
|
1341
|
-
});
|
|
1342
|
-
exports.TimePickerCell = timePickerCell.TimePickerCell;
|
|
1343
|
-
exports.TimePickerClearTrigger = timePickerClearTrigger.TimePickerClearTrigger;
|
|
1344
|
-
exports.TimePickerColumn = timePickerColumn.TimePickerColumn;
|
|
1345
|
-
exports.TimePickerContent = timePickerContent.TimePickerContent;
|
|
1346
|
-
exports.TimePickerContext = timePickerContext.TimePickerContext;
|
|
1347
|
-
exports.TimePickerControl = timePickerControl.TimePickerControl;
|
|
1348
|
-
exports.TimePickerInput = timePickerInput.TimePickerInput;
|
|
1349
|
-
exports.TimePickerLabel = timePickerLabel.TimePickerLabel;
|
|
1350
|
-
exports.TimePickerPositioner = timePickerPositioner.TimePickerPositioner;
|
|
1351
|
-
exports.TimePickerRoot = timePickerRoot.TimePickerRoot;
|
|
1352
|
-
exports.TimePickerRootProvider = timePickerRootProvider.TimePickerRootProvider;
|
|
1353
|
-
exports.TimePickerSpacer = timePickerSpacer.TimePickerSpacer;
|
|
1354
|
-
exports.TimePickerTrigger = timePickerTrigger.TimePickerTrigger;
|
|
1355
|
-
exports.useTimePicker = useTimePicker.useTimePicker;
|
|
1356
|
-
exports.useTimePickerContext = useTimePickerContext.useTimePickerContext;
|
|
1357
|
-
exports.TimePicker = timePicker$1;
|
|
1358
1320
|
exports.TimerActionTrigger = timerActionTrigger.TimerActionTrigger;
|
|
1359
1321
|
exports.TimerArea = timerArea.TimerArea;
|
|
1360
1322
|
exports.TimerContext = timerContext.TimerContext;
|
|
@@ -1569,10 +1531,6 @@ Object.defineProperty(exports, "tagsInputAnatomy", {
|
|
|
1569
1531
|
enumerable: true,
|
|
1570
1532
|
get: () => tagsInput.anatomy
|
|
1571
1533
|
});
|
|
1572
|
-
Object.defineProperty(exports, "timePickerAnatomy", {
|
|
1573
|
-
enumerable: true,
|
|
1574
|
-
get: () => timePicker.anatomy
|
|
1575
|
-
});
|
|
1576
1534
|
Object.defineProperty(exports, "timerAnatomy", {
|
|
1577
1535
|
enumerable: true,
|
|
1578
1536
|
get: () => timer.anatomy
|
package/dist/index.js
CHANGED
|
@@ -625,24 +625,6 @@ export { useTagsInputContext } from './components/tags-input/use-tags-input-cont
|
|
|
625
625
|
export { useTagsInputItemContext } from './components/tags-input/use-tags-input-item-context.js';
|
|
626
626
|
import * as tagsInput from './components/tags-input/tags-input.js';
|
|
627
627
|
export { tagsInput as TagsInput };
|
|
628
|
-
export { parseTime } from '@internationalized/date';
|
|
629
|
-
export { TimePickerCell } from './components/time-picker/time-picker-cell.js';
|
|
630
|
-
export { TimePickerClearTrigger } from './components/time-picker/time-picker-clear-trigger.js';
|
|
631
|
-
export { TimePickerColumn } from './components/time-picker/time-picker-column.js';
|
|
632
|
-
export { TimePickerContent } from './components/time-picker/time-picker-content.js';
|
|
633
|
-
export { TimePickerContext } from './components/time-picker/time-picker-context.js';
|
|
634
|
-
export { TimePickerControl } from './components/time-picker/time-picker-control.js';
|
|
635
|
-
export { TimePickerInput } from './components/time-picker/time-picker-input.js';
|
|
636
|
-
export { TimePickerLabel } from './components/time-picker/time-picker-label.js';
|
|
637
|
-
export { TimePickerPositioner } from './components/time-picker/time-picker-positioner.js';
|
|
638
|
-
export { TimePickerRoot } from './components/time-picker/time-picker-root.js';
|
|
639
|
-
export { TimePickerRootProvider } from './components/time-picker/time-picker-root-provider.js';
|
|
640
|
-
export { TimePickerSpacer } from './components/time-picker/time-picker-spacer.js';
|
|
641
|
-
export { TimePickerTrigger } from './components/time-picker/time-picker-trigger.js';
|
|
642
|
-
export { useTimePicker } from './components/time-picker/use-time-picker.js';
|
|
643
|
-
export { useTimePickerContext } from './components/time-picker/use-time-picker-context.js';
|
|
644
|
-
import * as timePicker from './components/time-picker/time-picker.js';
|
|
645
|
-
export { timePicker as TimePicker };
|
|
646
628
|
export { TimerActionTrigger } from './components/timer/timer-action-trigger.js';
|
|
647
629
|
export { TimerArea } from './components/timer/timer-area.js';
|
|
648
630
|
export { TimerContext } from './components/timer/timer-context.js';
|
|
@@ -774,7 +756,6 @@ export { anatomy as stepsAnatomy } from '@zag-js/steps';
|
|
|
774
756
|
export { anatomy as switchAnatomy } from '@zag-js/switch';
|
|
775
757
|
export { anatomy as tabsAnatomy } from '@zag-js/tabs';
|
|
776
758
|
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|
|
777
|
-
export { anatomy as timePickerAnatomy } from '@zag-js/time-picker';
|
|
778
759
|
export { anatomy as timerAnatomy } from '@zag-js/timer';
|
|
779
760
|
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
|
780
761
|
export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.24.0",
|
|
5
5
|
"description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"accordion",
|
|
@@ -140,85 +140,84 @@
|
|
|
140
140
|
},
|
|
141
141
|
"sideEffects": false,
|
|
142
142
|
"dependencies": {
|
|
143
|
-
"@internationalized/date": "3.
|
|
144
|
-
"@zag-js/accordion": "1.
|
|
145
|
-
"@zag-js/anatomy": "1.
|
|
146
|
-
"@zag-js/angle-slider": "1.
|
|
147
|
-
"@zag-js/async-list": "1.
|
|
148
|
-
"@zag-js/auto-resize": "1.
|
|
149
|
-
"@zag-js/avatar": "1.
|
|
150
|
-
"@zag-js/carousel": "1.
|
|
151
|
-
"@zag-js/checkbox": "1.
|
|
152
|
-
"@zag-js/clipboard": "1.
|
|
153
|
-
"@zag-js/collapsible": "1.
|
|
154
|
-
"@zag-js/collection": "1.
|
|
155
|
-
"@zag-js/color-picker": "1.
|
|
156
|
-
"@zag-js/color-utils": "1.
|
|
157
|
-
"@zag-js/combobox": "1.
|
|
158
|
-
"@zag-js/core": "1.
|
|
159
|
-
"@zag-js/date-picker": "1.
|
|
160
|
-
"@zag-js/date-utils": "1.
|
|
161
|
-
"@zag-js/dialog": "1.
|
|
162
|
-
"@zag-js/dom-query": "1.
|
|
163
|
-
"@zag-js/editable": "1.
|
|
164
|
-
"@zag-js/file-upload": "1.
|
|
165
|
-
"@zag-js/file-utils": "1.
|
|
166
|
-
"@zag-js/floating-panel": "1.
|
|
167
|
-
"@zag-js/focus-trap": "1.
|
|
168
|
-
"@zag-js/highlight-word": "1.
|
|
169
|
-
"@zag-js/hover-card": "1.
|
|
170
|
-
"@zag-js/i18n-utils": "1.
|
|
171
|
-
"@zag-js/json-tree-utils": "1.
|
|
172
|
-
"@zag-js/listbox": "1.
|
|
173
|
-
"@zag-js/menu": "1.
|
|
174
|
-
"@zag-js/number-input": "1.
|
|
175
|
-
"@zag-js/pagination": "1.
|
|
176
|
-
"@zag-js/password-input": "1.
|
|
177
|
-
"@zag-js/pin-input": "1.
|
|
178
|
-
"@zag-js/popover": "1.
|
|
179
|
-
"@zag-js/presence": "1.
|
|
180
|
-
"@zag-js/progress": "1.
|
|
181
|
-
"@zag-js/qr-code": "1.
|
|
182
|
-
"@zag-js/radio-group": "1.
|
|
183
|
-
"@zag-js/rating-group": "1.
|
|
184
|
-
"@zag-js/react": "1.
|
|
185
|
-
"@zag-js/scroll-area": "1.
|
|
186
|
-
"@zag-js/select": "1.
|
|
187
|
-
"@zag-js/signature-pad": "1.
|
|
188
|
-
"@zag-js/slider": "1.
|
|
189
|
-
"@zag-js/splitter": "1.
|
|
190
|
-
"@zag-js/steps": "1.
|
|
191
|
-
"@zag-js/switch": "1.
|
|
192
|
-
"@zag-js/tabs": "1.
|
|
193
|
-
"@zag-js/tags-input": "1.
|
|
194
|
-
"@zag-js/
|
|
195
|
-
"@zag-js/
|
|
196
|
-
"@zag-js/
|
|
197
|
-
"@zag-js/toggle": "1.
|
|
198
|
-
"@zag-js/
|
|
199
|
-
"@zag-js/
|
|
200
|
-
"@zag-js/
|
|
201
|
-
"@zag-js/
|
|
202
|
-
"@zag-js/
|
|
203
|
-
"@zag-js/utils": "1.22.1"
|
|
143
|
+
"@internationalized/date": "3.9.0",
|
|
144
|
+
"@zag-js/accordion": "1.24.0",
|
|
145
|
+
"@zag-js/anatomy": "1.24.0",
|
|
146
|
+
"@zag-js/angle-slider": "1.24.0",
|
|
147
|
+
"@zag-js/async-list": "1.24.0",
|
|
148
|
+
"@zag-js/auto-resize": "1.24.0",
|
|
149
|
+
"@zag-js/avatar": "1.24.0",
|
|
150
|
+
"@zag-js/carousel": "1.24.0",
|
|
151
|
+
"@zag-js/checkbox": "1.24.0",
|
|
152
|
+
"@zag-js/clipboard": "1.24.0",
|
|
153
|
+
"@zag-js/collapsible": "1.24.0",
|
|
154
|
+
"@zag-js/collection": "1.24.0",
|
|
155
|
+
"@zag-js/color-picker": "1.24.0",
|
|
156
|
+
"@zag-js/color-utils": "1.24.0",
|
|
157
|
+
"@zag-js/combobox": "1.24.0",
|
|
158
|
+
"@zag-js/core": "1.24.0",
|
|
159
|
+
"@zag-js/date-picker": "1.24.0",
|
|
160
|
+
"@zag-js/date-utils": "1.24.0",
|
|
161
|
+
"@zag-js/dialog": "1.24.0",
|
|
162
|
+
"@zag-js/dom-query": "1.24.0",
|
|
163
|
+
"@zag-js/editable": "1.24.0",
|
|
164
|
+
"@zag-js/file-upload": "1.24.0",
|
|
165
|
+
"@zag-js/file-utils": "1.24.0",
|
|
166
|
+
"@zag-js/floating-panel": "1.24.0",
|
|
167
|
+
"@zag-js/focus-trap": "1.24.0",
|
|
168
|
+
"@zag-js/highlight-word": "1.24.0",
|
|
169
|
+
"@zag-js/hover-card": "1.24.0",
|
|
170
|
+
"@zag-js/i18n-utils": "1.24.0",
|
|
171
|
+
"@zag-js/json-tree-utils": "1.24.0",
|
|
172
|
+
"@zag-js/listbox": "1.24.0",
|
|
173
|
+
"@zag-js/menu": "1.24.0",
|
|
174
|
+
"@zag-js/number-input": "1.24.0",
|
|
175
|
+
"@zag-js/pagination": "1.24.0",
|
|
176
|
+
"@zag-js/password-input": "1.24.0",
|
|
177
|
+
"@zag-js/pin-input": "1.24.0",
|
|
178
|
+
"@zag-js/popover": "1.24.0",
|
|
179
|
+
"@zag-js/presence": "1.24.0",
|
|
180
|
+
"@zag-js/progress": "1.24.0",
|
|
181
|
+
"@zag-js/qr-code": "1.24.0",
|
|
182
|
+
"@zag-js/radio-group": "1.24.0",
|
|
183
|
+
"@zag-js/rating-group": "1.24.0",
|
|
184
|
+
"@zag-js/react": "1.24.0",
|
|
185
|
+
"@zag-js/scroll-area": "1.24.0",
|
|
186
|
+
"@zag-js/select": "1.24.0",
|
|
187
|
+
"@zag-js/signature-pad": "1.24.0",
|
|
188
|
+
"@zag-js/slider": "1.24.0",
|
|
189
|
+
"@zag-js/splitter": "1.24.0",
|
|
190
|
+
"@zag-js/steps": "1.24.0",
|
|
191
|
+
"@zag-js/switch": "1.24.0",
|
|
192
|
+
"@zag-js/tabs": "1.24.0",
|
|
193
|
+
"@zag-js/tags-input": "1.24.0",
|
|
194
|
+
"@zag-js/timer": "1.24.0",
|
|
195
|
+
"@zag-js/toast": "1.24.0",
|
|
196
|
+
"@zag-js/toggle": "1.24.0",
|
|
197
|
+
"@zag-js/toggle-group": "1.24.0",
|
|
198
|
+
"@zag-js/tooltip": "1.24.0",
|
|
199
|
+
"@zag-js/tour": "1.24.0",
|
|
200
|
+
"@zag-js/tree-view": "1.24.0",
|
|
201
|
+
"@zag-js/types": "1.24.0",
|
|
202
|
+
"@zag-js/utils": "1.24.0"
|
|
204
203
|
},
|
|
205
204
|
"devDependencies": {
|
|
206
|
-
"@biomejs/biome": "2.2.
|
|
207
|
-
"@storybook/addon-a11y": "9.1.
|
|
208
|
-
"@storybook/react-vite": "9.1.
|
|
205
|
+
"@biomejs/biome": "2.2.4",
|
|
206
|
+
"@storybook/addon-a11y": "9.1.5",
|
|
207
|
+
"@storybook/react-vite": "9.1.5",
|
|
209
208
|
"@testing-library/dom": "10.4.1",
|
|
210
209
|
"@testing-library/jest-dom": "6.8.0",
|
|
211
210
|
"@testing-library/react": "16.3.0",
|
|
212
211
|
"@testing-library/user-event": "14.6.1",
|
|
213
212
|
"@types/jsdom": "21.1.7",
|
|
214
|
-
"@types/react": "19.1.
|
|
215
|
-
"@types/react-dom": "19.1.
|
|
216
|
-
"@vitejs/plugin-react": "5.0.
|
|
213
|
+
"@types/react": "19.1.12",
|
|
214
|
+
"@types/react-dom": "19.1.9",
|
|
215
|
+
"@vitejs/plugin-react": "5.0.2",
|
|
217
216
|
"clean-package": "2.2.0",
|
|
218
217
|
"image-conversion": "2.1.1",
|
|
219
218
|
"globby": "14.1.0",
|
|
220
219
|
"happy-dom": "18.0.1",
|
|
221
|
-
"lucide-react": "0.
|
|
220
|
+
"lucide-react": "0.544.0",
|
|
222
221
|
"react": "19.1.1",
|
|
223
222
|
"react-dom": "19.1.1",
|
|
224
223
|
"react-shadow": "20.6.0",
|
|
@@ -226,9 +225,9 @@
|
|
|
226
225
|
"react-frame-component": "5.2.7",
|
|
227
226
|
"react-hook-form": "7.62.0",
|
|
228
227
|
"resize-observer-polyfill": "1.5.1",
|
|
229
|
-
"storybook": "9.1.
|
|
228
|
+
"storybook": "9.1.5",
|
|
230
229
|
"typescript": "5.9.2",
|
|
231
|
-
"vite": "7.1.
|
|
230
|
+
"vite": "7.1.5",
|
|
232
231
|
"vite-plugin-dts": "4.5.4",
|
|
233
232
|
"vitest": "3.2.4",
|
|
234
233
|
"@vitest/coverage-v8": "3.2.4",
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
|
|
5
|
-
const date = require('@internationalized/date');
|
|
6
|
-
const timePickerCell = require('./time-picker-cell.cjs');
|
|
7
|
-
const timePickerClearTrigger = require('./time-picker-clear-trigger.cjs');
|
|
8
|
-
const timePickerColumn = require('./time-picker-column.cjs');
|
|
9
|
-
const timePickerContent = require('./time-picker-content.cjs');
|
|
10
|
-
const timePickerContext = require('./time-picker-context.cjs');
|
|
11
|
-
const timePickerControl = require('./time-picker-control.cjs');
|
|
12
|
-
const timePickerInput = require('./time-picker-input.cjs');
|
|
13
|
-
const timePickerLabel = require('./time-picker-label.cjs');
|
|
14
|
-
const timePickerPositioner = require('./time-picker-positioner.cjs');
|
|
15
|
-
const timePickerRoot = require('./time-picker-root.cjs');
|
|
16
|
-
const timePickerRootProvider = require('./time-picker-root-provider.cjs');
|
|
17
|
-
const timePickerSpacer = require('./time-picker-spacer.cjs');
|
|
18
|
-
const timePickerTrigger = require('./time-picker-trigger.cjs');
|
|
19
|
-
const useTimePicker = require('./use-time-picker.cjs');
|
|
20
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
21
|
-
const timePicker$1 = require('./time-picker.cjs');
|
|
22
|
-
const timePicker = require('@zag-js/time-picker');
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Object.defineProperty(exports, "parseTime", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: () => date.parseTime
|
|
29
|
-
});
|
|
30
|
-
exports.TimePickerCell = timePickerCell.TimePickerCell;
|
|
31
|
-
exports.TimePickerClearTrigger = timePickerClearTrigger.TimePickerClearTrigger;
|
|
32
|
-
exports.TimePickerColumn = timePickerColumn.TimePickerColumn;
|
|
33
|
-
exports.TimePickerContent = timePickerContent.TimePickerContent;
|
|
34
|
-
exports.TimePickerContext = timePickerContext.TimePickerContext;
|
|
35
|
-
exports.TimePickerControl = timePickerControl.TimePickerControl;
|
|
36
|
-
exports.TimePickerInput = timePickerInput.TimePickerInput;
|
|
37
|
-
exports.TimePickerLabel = timePickerLabel.TimePickerLabel;
|
|
38
|
-
exports.TimePickerPositioner = timePickerPositioner.TimePickerPositioner;
|
|
39
|
-
exports.TimePickerRoot = timePickerRoot.TimePickerRoot;
|
|
40
|
-
exports.TimePickerRootProvider = timePickerRootProvider.TimePickerRootProvider;
|
|
41
|
-
exports.TimePickerSpacer = timePickerSpacer.TimePickerSpacer;
|
|
42
|
-
exports.TimePickerTrigger = timePickerTrigger.TimePickerTrigger;
|
|
43
|
-
exports.useTimePicker = useTimePicker.useTimePicker;
|
|
44
|
-
exports.useTimePickerContext = useTimePickerContext.useTimePickerContext;
|
|
45
|
-
exports.TimePicker = timePicker$1;
|
|
46
|
-
Object.defineProperty(exports, "timePickerAnatomy", {
|
|
47
|
-
enumerable: true,
|
|
48
|
-
get: () => timePicker.anatomy
|
|
49
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { parseTime } from '@internationalized/date';
|
|
2
|
-
export type { FocusChangeDetails as TimePickerFocusChangeDetails, OpenChangeDetails as TimePickerOpenChangeDetails, ValueChangeDetails as TimePickerValueChangeDetails, } from '@zag-js/time-picker';
|
|
3
|
-
export { TimePickerCell, type TimePickerCellBaseProps, type TimePickerCellProps } from './time-picker-cell';
|
|
4
|
-
export { TimePickerClearTrigger, type TimePickerClearTriggerBaseProps, type TimePickerClearTriggerProps, } from './time-picker-clear-trigger';
|
|
5
|
-
export { TimePickerColumn, type TimePickerColumnBaseProps, type TimePickerColumnProps } from './time-picker-column';
|
|
6
|
-
export { TimePickerContent, type TimePickerContentBaseProps, type TimePickerContentProps } from './time-picker-content';
|
|
7
|
-
export { TimePickerContext, type TimePickerContextProps } from './time-picker-context';
|
|
8
|
-
export { TimePickerControl, type TimePickerControlBaseProps, type TimePickerControlProps } from './time-picker-control';
|
|
9
|
-
export { TimePickerInput, type TimePickerInputBaseProps, type TimePickerInputProps } from './time-picker-input';
|
|
10
|
-
export { TimePickerLabel, type TimePickerLabelBaseProps, type TimePickerLabelProps } from './time-picker-label';
|
|
11
|
-
export { TimePickerPositioner, type TimePickerPositionerBaseProps, type TimePickerPositionerProps, } from './time-picker-positioner';
|
|
12
|
-
export { TimePickerRoot, type TimePickerRootBaseProps, type TimePickerRootProps } from './time-picker-root';
|
|
13
|
-
export { TimePickerRootProvider, type TimePickerRootProviderBaseProps, type TimePickerRootProviderProps, } from './time-picker-root-provider';
|
|
14
|
-
export { TimePickerSpacer, type TimePickerSpacerBaseProps, type TimePickerSpacerProps } from './time-picker-spacer';
|
|
15
|
-
export { TimePickerTrigger, type TimePickerTriggerBaseProps, type TimePickerTriggerProps } from './time-picker-trigger';
|
|
16
|
-
export { timePickerAnatomy } from './time-picker.anatomy';
|
|
17
|
-
export { useTimePicker, type UseTimePickerProps, type UseTimePickerReturn } from './use-time-picker';
|
|
18
|
-
export { useTimePickerContext, type UseTimePickerContext } from './use-time-picker-context';
|
|
19
|
-
export * as TimePicker from './time-picker';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { parseTime } from '@internationalized/date';
|
|
2
|
-
export type { FocusChangeDetails as TimePickerFocusChangeDetails, OpenChangeDetails as TimePickerOpenChangeDetails, ValueChangeDetails as TimePickerValueChangeDetails, } from '@zag-js/time-picker';
|
|
3
|
-
export { TimePickerCell, type TimePickerCellBaseProps, type TimePickerCellProps } from './time-picker-cell';
|
|
4
|
-
export { TimePickerClearTrigger, type TimePickerClearTriggerBaseProps, type TimePickerClearTriggerProps, } from './time-picker-clear-trigger';
|
|
5
|
-
export { TimePickerColumn, type TimePickerColumnBaseProps, type TimePickerColumnProps } from './time-picker-column';
|
|
6
|
-
export { TimePickerContent, type TimePickerContentBaseProps, type TimePickerContentProps } from './time-picker-content';
|
|
7
|
-
export { TimePickerContext, type TimePickerContextProps } from './time-picker-context';
|
|
8
|
-
export { TimePickerControl, type TimePickerControlBaseProps, type TimePickerControlProps } from './time-picker-control';
|
|
9
|
-
export { TimePickerInput, type TimePickerInputBaseProps, type TimePickerInputProps } from './time-picker-input';
|
|
10
|
-
export { TimePickerLabel, type TimePickerLabelBaseProps, type TimePickerLabelProps } from './time-picker-label';
|
|
11
|
-
export { TimePickerPositioner, type TimePickerPositionerBaseProps, type TimePickerPositionerProps, } from './time-picker-positioner';
|
|
12
|
-
export { TimePickerRoot, type TimePickerRootBaseProps, type TimePickerRootProps } from './time-picker-root';
|
|
13
|
-
export { TimePickerRootProvider, type TimePickerRootProviderBaseProps, type TimePickerRootProviderProps, } from './time-picker-root-provider';
|
|
14
|
-
export { TimePickerSpacer, type TimePickerSpacerBaseProps, type TimePickerSpacerProps } from './time-picker-spacer';
|
|
15
|
-
export { TimePickerTrigger, type TimePickerTriggerBaseProps, type TimePickerTriggerProps } from './time-picker-trigger';
|
|
16
|
-
export { timePickerAnatomy } from './time-picker.anatomy';
|
|
17
|
-
export { useTimePicker, type UseTimePickerProps, type UseTimePickerReturn } from './use-time-picker';
|
|
18
|
-
export { useTimePickerContext, type UseTimePickerContext } from './use-time-picker-context';
|
|
19
|
-
export * as TimePicker from './time-picker';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { parseTime } from '@internationalized/date';
|
|
2
|
-
export { TimePickerCell } from './time-picker-cell.js';
|
|
3
|
-
export { TimePickerClearTrigger } from './time-picker-clear-trigger.js';
|
|
4
|
-
export { TimePickerColumn } from './time-picker-column.js';
|
|
5
|
-
export { TimePickerContent } from './time-picker-content.js';
|
|
6
|
-
export { TimePickerContext } from './time-picker-context.js';
|
|
7
|
-
export { TimePickerControl } from './time-picker-control.js';
|
|
8
|
-
export { TimePickerInput } from './time-picker-input.js';
|
|
9
|
-
export { TimePickerLabel } from './time-picker-label.js';
|
|
10
|
-
export { TimePickerPositioner } from './time-picker-positioner.js';
|
|
11
|
-
export { TimePickerRoot } from './time-picker-root.js';
|
|
12
|
-
export { TimePickerRootProvider } from './time-picker-root-provider.js';
|
|
13
|
-
export { TimePickerSpacer } from './time-picker-spacer.js';
|
|
14
|
-
export { TimePickerTrigger } from './time-picker-trigger.js';
|
|
15
|
-
export { useTimePicker } from './use-time-picker.js';
|
|
16
|
-
export { useTimePickerContext } from './use-time-picker-context.js';
|
|
17
|
-
import * as timePicker from './time-picker.js';
|
|
18
|
-
export { timePicker as TimePicker };
|
|
19
|
-
export { anatomy as timePickerAnatomy } from '@zag-js/time-picker';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
10
|
-
const factory = require('../factory.cjs');
|
|
11
|
-
const useTimePickerColumnPropsContext = require('./use-time-picker-column-props-context.cjs');
|
|
12
|
-
const useTimePickerContext = require('./use-time-picker-context.cjs');
|
|
13
|
-
|
|
14
|
-
const TimePickerCell = react.forwardRef((props, ref) => {
|
|
15
|
-
const [cellProps, localProps] = createSplitProps.createSplitProps()(props, ["value"]);
|
|
16
|
-
const timePicker = useTimePickerContext.useTimePickerContext();
|
|
17
|
-
const columnProps = useTimePickerColumnPropsContext.useTimePickerColumnPropsContext();
|
|
18
|
-
const unitToPropsMap = {
|
|
19
|
-
hour: () => timePicker.getHourCellProps(cellProps),
|
|
20
|
-
minute: () => timePicker.getMinuteCellProps(cellProps),
|
|
21
|
-
second: () => timePicker.getSecondCellProps(cellProps),
|
|
22
|
-
period: () => timePicker.getPeriodCellProps(cellProps)
|
|
23
|
-
};
|
|
24
|
-
const mergedProps = react$1.mergeProps(unitToPropsMap[columnProps.unit](), localProps);
|
|
25
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
26
|
-
});
|
|
27
|
-
TimePickerCell.displayName = "TimePickerCell";
|
|
28
|
-
|
|
29
|
-
exports.TimePickerCell = TimePickerCell;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TimePeriod } from '@zag-js/time-picker';
|
|
2
|
-
import { Assign } from '../../types';
|
|
3
|
-
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
-
interface CombinedCellProps {
|
|
6
|
-
value: number | TimePeriod;
|
|
7
|
-
}
|
|
8
|
-
export interface TimePickerCellBaseProps extends CombinedCellProps, PolymorphicProps {
|
|
9
|
-
}
|
|
10
|
-
export interface TimePickerCellProps extends Assign<HTMLProps<'button'>, TimePickerCellBaseProps> {
|
|
11
|
-
}
|
|
12
|
-
export declare const TimePickerCell: ForwardRefExoticComponent<TimePickerCellProps & RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TimePeriod } from '@zag-js/time-picker';
|
|
2
|
-
import { Assign } from '../../types';
|
|
3
|
-
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
-
interface CombinedCellProps {
|
|
6
|
-
value: number | TimePeriod;
|
|
7
|
-
}
|
|
8
|
-
export interface TimePickerCellBaseProps extends CombinedCellProps, PolymorphicProps {
|
|
9
|
-
}
|
|
10
|
-
export interface TimePickerCellProps extends Assign<HTMLProps<'button'>, TimePickerCellBaseProps> {
|
|
11
|
-
}
|
|
12
|
-
export declare const TimePickerCell: ForwardRefExoticComponent<TimePickerCellProps & RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export {};
|