@ark-ui/react 5.35.0 → 5.36.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/anatomy.cjs +5 -0
- package/dist/components/anatomy.d.cts +1 -0
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +1 -0
- package/dist/components/date-input/date-input-context.cjs +10 -0
- package/dist/components/date-input/date-input-context.d.cts +6 -0
- package/dist/components/date-input/date-input-context.d.ts +6 -0
- package/dist/components/date-input/date-input-context.js +6 -0
- package/dist/components/date-input/date-input-control.cjs +19 -0
- package/dist/components/date-input/date-input-control.d.cts +7 -0
- package/dist/components/date-input/date-input-control.d.ts +7 -0
- package/dist/components/date-input/date-input-control.js +15 -0
- package/dist/components/date-input/date-input-hidden-input.cjs +22 -0
- package/dist/components/date-input/date-input-hidden-input.d.cts +8 -0
- package/dist/components/date-input/date-input-hidden-input.d.ts +8 -0
- package/dist/components/date-input/date-input-hidden-input.js +18 -0
- package/dist/components/date-input/date-input-label.cjs +19 -0
- package/dist/components/date-input/date-input-label.d.cts +7 -0
- package/dist/components/date-input/date-input-label.d.ts +7 -0
- package/dist/components/date-input/date-input-label.js +15 -0
- package/dist/components/date-input/date-input-root-provider.cjs +21 -0
- package/dist/components/date-input/date-input-root-provider.d.cts +12 -0
- package/dist/components/date-input/date-input-root-provider.d.ts +12 -0
- package/dist/components/date-input/date-input-root-provider.js +17 -0
- package/dist/components/date-input/date-input-root.cjs +55 -0
- package/dist/components/date-input/date-input-root.d.cts +9 -0
- package/dist/components/date-input/date-input-root.d.ts +9 -0
- package/dist/components/date-input/date-input-root.js +51 -0
- package/dist/components/date-input/date-input-segment-context.cjs +17 -0
- package/dist/components/date-input/date-input-segment-context.d.cts +6 -0
- package/dist/components/date-input/date-input-segment-context.d.ts +6 -0
- package/dist/components/date-input/date-input-segment-context.js +13 -0
- package/dist/components/date-input/date-input-segment-group.cjs +23 -0
- package/dist/components/date-input/date-input-segment-group.d.cts +8 -0
- package/dist/components/date-input/date-input-segment-group.d.ts +8 -0
- package/dist/components/date-input/date-input-segment-group.js +19 -0
- package/dist/components/date-input/date-input-segment.cjs +27 -0
- package/dist/components/date-input/date-input-segment.d.cts +8 -0
- package/dist/components/date-input/date-input-segment.d.ts +8 -0
- package/dist/components/date-input/date-input-segment.js +23 -0
- package/dist/components/date-input/date-input.anatomy.d.cts +1 -0
- package/dist/components/date-input/date-input.anatomy.d.ts +1 -0
- package/dist/components/date-input/date-input.cjs +25 -0
- package/dist/components/date-input/date-input.d.cts +9 -0
- package/dist/components/date-input/date-input.d.ts +9 -0
- package/dist/components/date-input/date-input.js +9 -0
- package/dist/components/date-input/index.cjs +36 -0
- package/dist/components/date-input/index.d.cts +14 -0
- package/dist/components/date-input/index.d.ts +14 -0
- package/dist/components/date-input/index.js +14 -0
- package/dist/components/date-input/use-date-input-context.cjs +15 -0
- package/dist/components/date-input/use-date-input-context.d.cts +5 -0
- package/dist/components/date-input/use-date-input-context.d.ts +5 -0
- package/dist/components/date-input/use-date-input-context.js +10 -0
- package/dist/components/date-input/use-date-input-segment-group-props-context.cjs +16 -0
- package/dist/components/date-input/use-date-input-segment-group-props-context.d.cts +5 -0
- package/dist/components/date-input/use-date-input-segment-group-props-context.d.ts +5 -0
- package/dist/components/date-input/use-date-input-segment-group-props-context.js +11 -0
- package/dist/components/date-input/use-date-input.cjs +40 -0
- package/dist/components/date-input/use-date-input.d.cts +6 -0
- package/dist/components/date-input/use-date-input.d.ts +6 -0
- package/dist/components/date-input/use-date-input.js +17 -0
- package/dist/components/dialog/dialog-trigger.cjs +7 -3
- package/dist/components/dialog/dialog-trigger.d.cts +4 -2
- package/dist/components/dialog/dialog-trigger.d.ts +4 -2
- package/dist/components/dialog/dialog-trigger.js +7 -3
- package/dist/components/dialog/dialog.d.cts +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/index.d.cts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/drawer/drawer-trigger.cjs +7 -3
- package/dist/components/drawer/drawer-trigger.d.cts +4 -2
- package/dist/components/drawer/drawer-trigger.d.ts +4 -2
- package/dist/components/drawer/drawer-trigger.js +7 -3
- package/dist/components/drawer/drawer.d.cts +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/index.d.cts +1 -1
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/floating-panel/floating-panel-root.cjs +3 -0
- package/dist/components/floating-panel/floating-panel-root.js +3 -0
- package/dist/components/hover-card/hover-card-trigger.cjs +4 -1
- package/dist/components/hover-card/hover-card-trigger.d.cts +4 -2
- package/dist/components/hover-card/hover-card-trigger.d.ts +4 -2
- package/dist/components/hover-card/hover-card-trigger.js +4 -1
- package/dist/components/hover-card/hover-card.d.cts +1 -1
- package/dist/components/hover-card/hover-card.d.ts +1 -1
- package/dist/components/hover-card/index.d.cts +1 -1
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/index.cjs +31 -0
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +15 -0
- package/dist/components/menu/index.d.cts +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menu-root.cjs +3 -0
- package/dist/components/menu/menu-root.js +3 -0
- package/dist/components/menu/menu-trigger.cjs +7 -3
- package/dist/components/menu/menu-trigger.d.cts +4 -2
- package/dist/components/menu/menu-trigger.d.ts +4 -2
- package/dist/components/menu/menu-trigger.js +7 -3
- package/dist/components/menu/menu.d.cts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/popover/index.d.cts +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover-trigger.cjs +7 -3
- package/dist/components/popover/popover-trigger.d.cts +4 -2
- package/dist/components/popover/popover-trigger.d.ts +4 -2
- package/dist/components/popover/popover-trigger.js +7 -3
- package/dist/components/popover/popover.d.cts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/splitter/create-splitter-registry.cjs +31 -0
- package/dist/components/splitter/create-splitter-registry.d.cts +6 -0
- package/dist/components/splitter/create-splitter-registry.d.ts +6 -0
- package/dist/components/splitter/create-splitter-registry.js +8 -0
- package/dist/components/splitter/index.cjs +2 -0
- package/dist/components/splitter/index.d.cts +1 -0
- package/dist/components/splitter/index.d.ts +1 -0
- package/dist/components/splitter/index.js +1 -0
- package/dist/components/splitter/splitter-root.cjs +1 -0
- package/dist/components/splitter/splitter-root.js +1 -0
- package/dist/components/splitter/splitter.cjs +2 -0
- package/dist/components/splitter/splitter.d.cts +1 -0
- package/dist/components/splitter/splitter.d.ts +1 -0
- package/dist/components/splitter/splitter.js +1 -0
- package/dist/components/tags-input/tags-input-root.cjs +1 -0
- package/dist/components/tags-input/tags-input-root.js +1 -0
- package/dist/components/tooltip/index.d.cts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip-trigger.cjs +4 -1
- package/dist/components/tooltip/tooltip-trigger.d.cts +4 -2
- package/dist/components/tooltip/tooltip-trigger.d.ts +4 -2
- package/dist/components/tooltip/tooltip-trigger.js +4 -1
- package/dist/components/tooltip/tooltip.d.cts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tour/tour.anatomy.d.cts +1 -1
- package/dist/components/tour/tour.anatomy.d.ts +1 -1
- package/dist/index.cjs +31 -0
- package/dist/index.js +15 -0
- package/package.json +68 -66
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { layout as getLayout } from '@zag-js/splitter';
|
|
2
2
|
export type { ExpandCollapseDetails, PanelData, ResizeDetails, ResizeEndDetails } from '@zag-js/splitter';
|
|
3
|
+
export { createSplitterRegistry as createRegistry } from './create-splitter-registry';
|
|
3
4
|
export { SplitterContext as Context, type SplitterContextProps as ContextProps } from './splitter-context';
|
|
4
5
|
export { SplitterPanel as Panel, type SplitterPanelBaseProps as PanelBaseProps, type SplitterPanelProps as PanelProps, } from './splitter-panel';
|
|
5
6
|
export { SplitterResizeTrigger as ResizeTrigger, type SplitterResizeTriggerBaseProps as ResizeTriggerBaseProps, type SplitterResizeTriggerProps as ResizeTriggerProps, } from './splitter-resize-trigger';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { layout as getLayout } from '@zag-js/splitter';
|
|
2
|
+
export { createSplitterRegistry as createRegistry } from './create-splitter-registry.js';
|
|
2
3
|
export { SplitterContext as Context } from './splitter-context.js';
|
|
3
4
|
export { SplitterPanel as Panel } from './splitter-panel.js';
|
|
4
5
|
export { SplitterResizeTrigger as ResizeTrigger } from './splitter-resize-trigger.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails as TooltipOpenChangeDetails } from '@zag-js/tooltip';
|
|
1
|
+
export type { OpenChangeDetails as TooltipOpenChangeDetails, TriggerValueChangeDetails as TooltipTriggerValueChangeDetails, } from '@zag-js/tooltip';
|
|
2
2
|
export { TooltipArrow, type TooltipArrowBaseProps, type TooltipArrowProps } from './tooltip-arrow';
|
|
3
3
|
export { TooltipArrowTip, type TooltipArrowTipBaseProps, type TooltipArrowTipProps } from './tooltip-arrow-tip';
|
|
4
4
|
export { TooltipContent, type TooltipContentBaseProps, type TooltipContentProps } from './tooltip-content';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails as TooltipOpenChangeDetails } from '@zag-js/tooltip';
|
|
1
|
+
export type { OpenChangeDetails as TooltipOpenChangeDetails, TriggerValueChangeDetails as TooltipTriggerValueChangeDetails, } from '@zag-js/tooltip';
|
|
2
2
|
export { TooltipArrow, type TooltipArrowBaseProps, type TooltipArrowProps } from './tooltip-arrow';
|
|
3
3
|
export { TooltipArrowTip, type TooltipArrowTipBaseProps, type TooltipArrowTipProps } from './tooltip-arrow-tip';
|
|
4
4
|
export { TooltipContent, type TooltipContentBaseProps, type TooltipContentProps } from './tooltip-content';
|
|
@@ -6,12 +6,15 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
const react$1 = require('@zag-js/react');
|
|
8
8
|
const react = require('react');
|
|
9
|
+
const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
9
10
|
const factory = require('../factory.cjs');
|
|
10
11
|
const useTooltipContext = require('./use-tooltip-context.cjs');
|
|
11
12
|
|
|
13
|
+
const splitTriggerProps = createSplitProps.createSplitProps();
|
|
12
14
|
const TooltipTrigger = react.forwardRef((props, ref) => {
|
|
15
|
+
const [triggerProps, localProps] = splitTriggerProps(props, ["value"]);
|
|
13
16
|
const tooltip = useTooltipContext.useTooltipContext();
|
|
14
|
-
const mergedProps = react$1.mergeProps(tooltip.getTriggerProps(),
|
|
17
|
+
const mergedProps = react$1.mergeProps(tooltip.getTriggerProps(triggerProps), localProps);
|
|
15
18
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
16
19
|
});
|
|
17
20
|
TooltipTrigger.displayName = "TooltipTrigger";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { TriggerProps } from '@zag-js/tooltip';
|
|
2
|
+
import { Assign } from '../../types';
|
|
1
3
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
2
4
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
-
export interface TooltipTriggerBaseProps extends PolymorphicProps {
|
|
5
|
+
export interface TooltipTriggerBaseProps extends TriggerProps, PolymorphicProps {
|
|
4
6
|
}
|
|
5
|
-
export interface TooltipTriggerProps extends HTMLProps<'button'>, TooltipTriggerBaseProps {
|
|
7
|
+
export interface TooltipTriggerProps extends Assign<HTMLProps<'button'>, TooltipTriggerBaseProps> {
|
|
6
8
|
}
|
|
7
9
|
export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { TriggerProps } from '@zag-js/tooltip';
|
|
2
|
+
import { Assign } from '../../types';
|
|
1
3
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
2
4
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
-
export interface TooltipTriggerBaseProps extends PolymorphicProps {
|
|
5
|
+
export interface TooltipTriggerBaseProps extends TriggerProps, PolymorphicProps {
|
|
4
6
|
}
|
|
5
|
-
export interface TooltipTriggerProps extends HTMLProps<'button'>, TooltipTriggerBaseProps {
|
|
7
|
+
export interface TooltipTriggerProps extends Assign<HTMLProps<'button'>, TooltipTriggerBaseProps> {
|
|
6
8
|
}
|
|
7
9
|
export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
+
import { createSplitProps } from '../../utils/create-split-props.js';
|
|
5
6
|
import { ark } from '../factory.js';
|
|
6
7
|
import { useTooltipContext } from './use-tooltip-context.js';
|
|
7
8
|
|
|
9
|
+
const splitTriggerProps = createSplitProps();
|
|
8
10
|
const TooltipTrigger = forwardRef((props, ref) => {
|
|
11
|
+
const [triggerProps, localProps] = splitTriggerProps(props, ["value"]);
|
|
9
12
|
const tooltip = useTooltipContext();
|
|
10
|
-
const mergedProps = mergeProps(tooltip.getTriggerProps(),
|
|
13
|
+
const mergedProps = mergeProps(tooltip.getTriggerProps(triggerProps), localProps);
|
|
11
14
|
return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });
|
|
12
15
|
});
|
|
13
16
|
TooltipTrigger.displayName = "TooltipTrigger";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails } from '@zag-js/tooltip';
|
|
1
|
+
export type { OpenChangeDetails, TriggerValueChangeDetails } from '@zag-js/tooltip';
|
|
2
2
|
export { TooltipArrow as Arrow, type TooltipArrowBaseProps as ArrowBaseProps, type TooltipArrowProps as ArrowProps, } from './tooltip-arrow';
|
|
3
3
|
export { TooltipArrowTip as ArrowTip, type TooltipArrowTipBaseProps as ArrowTipBaseProps, type TooltipArrowTipProps as ArrowTipProps, } from './tooltip-arrow-tip';
|
|
4
4
|
export { TooltipContent as Content, type TooltipContentBaseProps as ContentBaseProps, type TooltipContentProps as ContentProps, } from './tooltip-content';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails } from '@zag-js/tooltip';
|
|
1
|
+
export type { OpenChangeDetails, TriggerValueChangeDetails } from '@zag-js/tooltip';
|
|
2
2
|
export { TooltipArrow as Arrow, type TooltipArrowBaseProps as ArrowBaseProps, type TooltipArrowProps as ArrowProps, } from './tooltip-arrow';
|
|
3
3
|
export { TooltipArrowTip as ArrowTip, type TooltipArrowTipBaseProps as ArrowTipBaseProps, type TooltipArrowTipProps as ArrowTipProps, } from './tooltip-arrow-tip';
|
|
4
4
|
export { TooltipContent as Content, type TooltipContentBaseProps as ContentBaseProps, type TooltipContentProps as ContentProps, } from './tooltip-content';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const tourAnatomy: AnatomyInstance<"control" | "progressText" | "positioner" | "content" | "
|
|
2
|
+
export declare const tourAnatomy: AnatomyInstance<"control" | "progressText" | "positioner" | "content" | "title" | "actionTrigger" | "closeTrigger" | "description" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const tourAnatomy: AnatomyInstance<"control" | "progressText" | "positioner" | "content" | "
|
|
2
|
+
export declare const tourAnatomy: AnatomyInstance<"control" | "progressText" | "positioner" | "content" | "title" | "actionTrigger" | "closeTrigger" | "description" | "arrow" | "arrowTip" | "backdrop" | "spotlight">;
|
package/dist/index.cjs
CHANGED
|
@@ -169,6 +169,18 @@ const useCombobox = require('./components/combobox/use-combobox.cjs');
|
|
|
169
169
|
const useComboboxContext = require('./components/combobox/use-combobox-context.cjs');
|
|
170
170
|
const useComboboxItemContext = require('./components/combobox/use-combobox-item-context.cjs');
|
|
171
171
|
const combobox = require('./components/combobox/combobox.cjs');
|
|
172
|
+
const useDateInput = require('./components/date-input/use-date-input.cjs');
|
|
173
|
+
const useDateInputContext = require('./components/date-input/use-date-input-context.cjs');
|
|
174
|
+
const dateInputContext = require('./components/date-input/date-input-context.cjs');
|
|
175
|
+
const dateInputLabel = require('./components/date-input/date-input-label.cjs');
|
|
176
|
+
const dateInputRoot = require('./components/date-input/date-input-root.cjs');
|
|
177
|
+
const dateInputRootProvider = require('./components/date-input/date-input-root-provider.cjs');
|
|
178
|
+
const dateInputSegment = require('./components/date-input/date-input-segment.cjs');
|
|
179
|
+
const dateInputSegmentGroup = require('./components/date-input/date-input-segment-group.cjs');
|
|
180
|
+
const dateInputHiddenInput = require('./components/date-input/date-input-hidden-input.cjs');
|
|
181
|
+
const dateInputControl = require('./components/date-input/date-input-control.cjs');
|
|
182
|
+
const dateInputSegmentContext = require('./components/date-input/date-input-segment-context.cjs');
|
|
183
|
+
const dateInput = require('./components/date-input/date-input.cjs');
|
|
172
184
|
const datePicker$1 = require('@zag-js/date-picker');
|
|
173
185
|
const datePickerClearTrigger = require('./components/date-picker/date-picker-clear-trigger.cjs');
|
|
174
186
|
const datePickerContent = require('./components/date-picker/date-picker-content.cjs');
|
|
@@ -591,6 +603,7 @@ const sliderValueText = require('./components/slider/slider-value-text.cjs');
|
|
|
591
603
|
const useSlider = require('./components/slider/use-slider.cjs');
|
|
592
604
|
const useSliderContext = require('./components/slider/use-slider-context.cjs');
|
|
593
605
|
const slider = require('./components/slider/slider.cjs');
|
|
606
|
+
const createSplitterRegistry = require('./components/splitter/create-splitter-registry.cjs');
|
|
594
607
|
const splitter$1 = require('@zag-js/splitter');
|
|
595
608
|
const splitterContext = require('./components/splitter/splitter-context.cjs');
|
|
596
609
|
const splitterPanel = require('./components/splitter/splitter-panel.cjs');
|
|
@@ -771,6 +784,7 @@ const angleSlider$1 = require('@zag-js/angle-slider');
|
|
|
771
784
|
const avatar$1 = require('@zag-js/avatar');
|
|
772
785
|
const clipboard$1 = require('@zag-js/clipboard');
|
|
773
786
|
const collapsible$1 = require('@zag-js/collapsible');
|
|
787
|
+
const dateInput$1 = require('@zag-js/date-input');
|
|
774
788
|
const dialog$1 = require('@zag-js/dialog');
|
|
775
789
|
const drawer$1 = require('@zag-js/drawer');
|
|
776
790
|
const editable$1 = require('@zag-js/editable');
|
|
@@ -977,6 +991,18 @@ exports.useCombobox = useCombobox.useCombobox;
|
|
|
977
991
|
exports.useComboboxContext = useComboboxContext.useComboboxContext;
|
|
978
992
|
exports.useComboboxItemContext = useComboboxItemContext.useComboboxItemContext;
|
|
979
993
|
exports.Combobox = combobox;
|
|
994
|
+
exports.useDateInput = useDateInput.useDateInput;
|
|
995
|
+
exports.useDateInputContext = useDateInputContext.useDateInputContext;
|
|
996
|
+
exports.DateInputContext = dateInputContext.DateInputContext;
|
|
997
|
+
exports.DateInputLabel = dateInputLabel.DateInputLabel;
|
|
998
|
+
exports.DateInputRoot = dateInputRoot.DateInputRoot;
|
|
999
|
+
exports.DateInputRootProvider = dateInputRootProvider.DateInputRootProvider;
|
|
1000
|
+
exports.DateInputSegment = dateInputSegment.DateInputSegment;
|
|
1001
|
+
exports.DateInputSegmentGroup = dateInputSegmentGroup.DateInputSegmentGroup;
|
|
1002
|
+
exports.DateInputHiddenInput = dateInputHiddenInput.DateInputHiddenInput;
|
|
1003
|
+
exports.DateInputControl = dateInputControl.DateInputControl;
|
|
1004
|
+
exports.DateInputSegmentContext = dateInputSegmentContext.DateInputSegmentContext;
|
|
1005
|
+
exports.DateInput = dateInput;
|
|
980
1006
|
Object.defineProperty(exports, "parseDate", {
|
|
981
1007
|
enumerable: true,
|
|
982
1008
|
get: () => datePicker$1.parse
|
|
@@ -1404,6 +1430,7 @@ exports.SliderValueText = sliderValueText.SliderValueText;
|
|
|
1404
1430
|
exports.useSlider = useSlider.useSlider;
|
|
1405
1431
|
exports.useSliderContext = useSliderContext.useSliderContext;
|
|
1406
1432
|
exports.Slider = slider;
|
|
1433
|
+
exports.createSplitterRegistry = createSplitterRegistry.createSplitterRegistry;
|
|
1407
1434
|
Object.defineProperty(exports, "getSplitterLayout", {
|
|
1408
1435
|
enumerable: true,
|
|
1409
1436
|
get: () => splitter$1.layout
|
|
@@ -1620,6 +1647,10 @@ Object.defineProperty(exports, "collapsibleAnatomy", {
|
|
|
1620
1647
|
enumerable: true,
|
|
1621
1648
|
get: () => collapsible$1.anatomy
|
|
1622
1649
|
});
|
|
1650
|
+
Object.defineProperty(exports, "dateInputAnatomy", {
|
|
1651
|
+
enumerable: true,
|
|
1652
|
+
get: () => dateInput$1.anatomy
|
|
1653
|
+
});
|
|
1623
1654
|
Object.defineProperty(exports, "dialogAnatomy", {
|
|
1624
1655
|
enumerable: true,
|
|
1625
1656
|
get: () => dialog$1.anatomy
|
package/dist/index.js
CHANGED
|
@@ -175,6 +175,19 @@ export { useComboboxContext } from './components/combobox/use-combobox-context.j
|
|
|
175
175
|
export { useComboboxItemContext } from './components/combobox/use-combobox-item-context.js';
|
|
176
176
|
import * as combobox from './components/combobox/combobox.js';
|
|
177
177
|
export { combobox as Combobox };
|
|
178
|
+
export { useDateInput } from './components/date-input/use-date-input.js';
|
|
179
|
+
export { useDateInputContext } from './components/date-input/use-date-input-context.js';
|
|
180
|
+
export { DateInputContext } from './components/date-input/date-input-context.js';
|
|
181
|
+
export { DateInputLabel } from './components/date-input/date-input-label.js';
|
|
182
|
+
export { DateInputRoot } from './components/date-input/date-input-root.js';
|
|
183
|
+
export { DateInputRootProvider } from './components/date-input/date-input-root-provider.js';
|
|
184
|
+
export { DateInputSegment } from './components/date-input/date-input-segment.js';
|
|
185
|
+
export { DateInputSegmentGroup } from './components/date-input/date-input-segment-group.js';
|
|
186
|
+
export { DateInputHiddenInput } from './components/date-input/date-input-hidden-input.js';
|
|
187
|
+
export { DateInputControl } from './components/date-input/date-input-control.js';
|
|
188
|
+
export { DateInputSegmentContext } from './components/date-input/date-input-segment-context.js';
|
|
189
|
+
import * as dateInput from './components/date-input/date-input.js';
|
|
190
|
+
export { dateInput as DateInput };
|
|
178
191
|
export { parse as parseDate } from '@zag-js/date-picker';
|
|
179
192
|
export { DatePickerClearTrigger } from './components/date-picker/date-picker-clear-trigger.js';
|
|
180
193
|
export { DatePickerContent } from './components/date-picker/date-picker-content.js';
|
|
@@ -626,6 +639,7 @@ export { useSlider } from './components/slider/use-slider.js';
|
|
|
626
639
|
export { useSliderContext } from './components/slider/use-slider-context.js';
|
|
627
640
|
import * as slider from './components/slider/slider.js';
|
|
628
641
|
export { slider as Slider };
|
|
642
|
+
export { createSplitterRegistry } from './components/splitter/create-splitter-registry.js';
|
|
629
643
|
export { layout as getSplitterLayout, anatomy as splitterAnatomy } from '@zag-js/splitter';
|
|
630
644
|
export { SplitterContext } from './components/splitter/splitter-context.js';
|
|
631
645
|
export { SplitterPanel } from './components/splitter/splitter-panel.js';
|
|
@@ -819,6 +833,7 @@ export { anatomy as angleSliderAnatomy } from '@zag-js/angle-slider';
|
|
|
819
833
|
export { anatomy as avatarAnatomy } from '@zag-js/avatar';
|
|
820
834
|
export { anatomy as clipboardAnatomy } from '@zag-js/clipboard';
|
|
821
835
|
export { anatomy as collapsibleAnatomy } from '@zag-js/collapsible';
|
|
836
|
+
export { anatomy as dateInputAnatomy } from '@zag-js/date-input';
|
|
822
837
|
export { anatomy as dialogAnatomy } from '@zag-js/dialog';
|
|
823
838
|
export { anatomy as drawerAnatomy } from '@zag-js/drawer';
|
|
824
839
|
export { anatomy as editableAnatomy } from '@zag-js/editable';
|
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.36.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",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"collapsible",
|
|
14
14
|
"color picker",
|
|
15
15
|
"combobox",
|
|
16
|
+
"date input",
|
|
16
17
|
"date picker",
|
|
17
18
|
"dialog",
|
|
18
19
|
"editable",
|
|
@@ -149,71 +150,72 @@
|
|
|
149
150
|
"sideEffects": false,
|
|
150
151
|
"dependencies": {
|
|
151
152
|
"@internationalized/date": "3.12.0",
|
|
152
|
-
"@zag-js/accordion": "1.
|
|
153
|
-
"@zag-js/anatomy": "1.
|
|
154
|
-
"@zag-js/angle-slider": "1.
|
|
155
|
-
"@zag-js/async-list": "1.
|
|
156
|
-
"@zag-js/auto-resize": "1.
|
|
157
|
-
"@zag-js/avatar": "1.
|
|
158
|
-
"@zag-js/carousel": "1.
|
|
159
|
-
"@zag-js/cascade-select": "1.
|
|
160
|
-
"@zag-js/checkbox": "1.
|
|
161
|
-
"@zag-js/clipboard": "1.
|
|
162
|
-
"@zag-js/collapsible": "1.
|
|
163
|
-
"@zag-js/collection": "1.
|
|
164
|
-
"@zag-js/color-picker": "1.
|
|
165
|
-
"@zag-js/color-utils": "1.
|
|
166
|
-
"@zag-js/combobox": "1.
|
|
167
|
-
"@zag-js/core": "1.
|
|
168
|
-
"@zag-js/date-
|
|
169
|
-
"@zag-js/date-
|
|
170
|
-
"@zag-js/
|
|
171
|
-
"@zag-js/
|
|
172
|
-
"@zag-js/
|
|
173
|
-
"@zag-js/
|
|
174
|
-
"@zag-js/
|
|
175
|
-
"@zag-js/
|
|
176
|
-
"@zag-js/
|
|
177
|
-
"@zag-js/
|
|
178
|
-
"@zag-js/
|
|
179
|
-
"@zag-js/
|
|
180
|
-
"@zag-js/
|
|
181
|
-
"@zag-js/
|
|
182
|
-
"@zag-js/
|
|
183
|
-
"@zag-js/
|
|
184
|
-
"@zag-js/
|
|
185
|
-
"@zag-js/
|
|
186
|
-
"@zag-js/
|
|
187
|
-
"@zag-js/
|
|
188
|
-
"@zag-js/
|
|
189
|
-
"@zag-js/
|
|
190
|
-
"@zag-js/
|
|
191
|
-
"@zag-js/
|
|
192
|
-
"@zag-js/
|
|
193
|
-
"@zag-js/
|
|
194
|
-
"@zag-js/
|
|
195
|
-
"@zag-js/
|
|
196
|
-
"@zag-js/
|
|
197
|
-
"@zag-js/
|
|
198
|
-
"@zag-js/
|
|
199
|
-
"@zag-js/
|
|
200
|
-
"@zag-js/
|
|
201
|
-
"@zag-js/
|
|
202
|
-
"@zag-js/
|
|
203
|
-
"@zag-js/
|
|
204
|
-
"@zag-js/
|
|
205
|
-
"@zag-js/
|
|
206
|
-
"@zag-js/
|
|
207
|
-
"@zag-js/
|
|
208
|
-
"@zag-js/
|
|
209
|
-
"@zag-js/
|
|
210
|
-
"@zag-js/
|
|
211
|
-
"@zag-js/toggle
|
|
212
|
-
"@zag-js/
|
|
213
|
-
"@zag-js/
|
|
214
|
-
"@zag-js/
|
|
215
|
-
"@zag-js/
|
|
216
|
-
"@zag-js/
|
|
153
|
+
"@zag-js/accordion": "1.39.1",
|
|
154
|
+
"@zag-js/anatomy": "1.39.1",
|
|
155
|
+
"@zag-js/angle-slider": "1.39.1",
|
|
156
|
+
"@zag-js/async-list": "1.39.1",
|
|
157
|
+
"@zag-js/auto-resize": "1.39.1",
|
|
158
|
+
"@zag-js/avatar": "1.39.1",
|
|
159
|
+
"@zag-js/carousel": "1.39.1",
|
|
160
|
+
"@zag-js/cascade-select": "1.39.1",
|
|
161
|
+
"@zag-js/checkbox": "1.39.1",
|
|
162
|
+
"@zag-js/clipboard": "1.39.1",
|
|
163
|
+
"@zag-js/collapsible": "1.39.1",
|
|
164
|
+
"@zag-js/collection": "1.39.1",
|
|
165
|
+
"@zag-js/color-picker": "1.39.1",
|
|
166
|
+
"@zag-js/color-utils": "1.39.1",
|
|
167
|
+
"@zag-js/combobox": "1.39.1",
|
|
168
|
+
"@zag-js/core": "1.39.1",
|
|
169
|
+
"@zag-js/date-input": "1.39.1",
|
|
170
|
+
"@zag-js/date-picker": "1.39.1",
|
|
171
|
+
"@zag-js/date-utils": "1.39.1",
|
|
172
|
+
"@zag-js/dialog": "1.39.1",
|
|
173
|
+
"@zag-js/dom-query": "1.39.1",
|
|
174
|
+
"@zag-js/drawer": "1.39.1",
|
|
175
|
+
"@zag-js/editable": "1.39.1",
|
|
176
|
+
"@zag-js/file-upload": "1.39.1",
|
|
177
|
+
"@zag-js/focus-visible": "1.39.1",
|
|
178
|
+
"@zag-js/file-utils": "1.39.1",
|
|
179
|
+
"@zag-js/floating-panel": "1.39.1",
|
|
180
|
+
"@zag-js/focus-trap": "1.39.1",
|
|
181
|
+
"@zag-js/highlight-word": "1.39.1",
|
|
182
|
+
"@zag-js/hover-card": "1.39.1",
|
|
183
|
+
"@zag-js/i18n-utils": "1.39.1",
|
|
184
|
+
"@zag-js/image-cropper": "1.39.1",
|
|
185
|
+
"@zag-js/json-tree-utils": "1.39.1",
|
|
186
|
+
"@zag-js/listbox": "1.39.1",
|
|
187
|
+
"@zag-js/marquee": "1.39.1",
|
|
188
|
+
"@zag-js/menu": "1.39.1",
|
|
189
|
+
"@zag-js/navigation-menu": "1.39.1",
|
|
190
|
+
"@zag-js/number-input": "1.39.1",
|
|
191
|
+
"@zag-js/pagination": "1.39.1",
|
|
192
|
+
"@zag-js/password-input": "1.39.1",
|
|
193
|
+
"@zag-js/pin-input": "1.39.1",
|
|
194
|
+
"@zag-js/popover": "1.39.1",
|
|
195
|
+
"@zag-js/presence": "1.39.1",
|
|
196
|
+
"@zag-js/progress": "1.39.1",
|
|
197
|
+
"@zag-js/qr-code": "1.39.1",
|
|
198
|
+
"@zag-js/radio-group": "1.39.1",
|
|
199
|
+
"@zag-js/rating-group": "1.39.1",
|
|
200
|
+
"@zag-js/react": "1.39.1",
|
|
201
|
+
"@zag-js/scroll-area": "1.39.1",
|
|
202
|
+
"@zag-js/select": "1.39.1",
|
|
203
|
+
"@zag-js/signature-pad": "1.39.1",
|
|
204
|
+
"@zag-js/slider": "1.39.1",
|
|
205
|
+
"@zag-js/splitter": "1.39.1",
|
|
206
|
+
"@zag-js/steps": "1.39.1",
|
|
207
|
+
"@zag-js/switch": "1.39.1",
|
|
208
|
+
"@zag-js/tabs": "1.39.1",
|
|
209
|
+
"@zag-js/tags-input": "1.39.1",
|
|
210
|
+
"@zag-js/timer": "1.39.1",
|
|
211
|
+
"@zag-js/toast": "1.39.1",
|
|
212
|
+
"@zag-js/toggle": "1.39.1",
|
|
213
|
+
"@zag-js/toggle-group": "1.39.1",
|
|
214
|
+
"@zag-js/tooltip": "1.39.1",
|
|
215
|
+
"@zag-js/tour": "1.39.1",
|
|
216
|
+
"@zag-js/tree-view": "1.39.1",
|
|
217
|
+
"@zag-js/types": "1.39.1",
|
|
218
|
+
"@zag-js/utils": "1.39.1"
|
|
217
219
|
},
|
|
218
220
|
"devDependencies": {
|
|
219
221
|
"@biomejs/biome": "2.4.9",
|