@ark-ui/react 5.29.1 → 5.31.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 +1 -0
- package/dist/components/accordion/accordion-item.js +1 -0
- package/dist/components/accordion/index.cjs +4 -4
- 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/angle-slider/index.cjs +4 -4
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/bottom-sheet/index.cjs +4 -4
- package/dist/components/checkbox/use-checkbox-group.cjs +11 -1
- package/dist/components/checkbox/use-checkbox-group.d.cts +2 -2
- package/dist/components/checkbox/use-checkbox-group.d.ts +2 -2
- package/dist/components/checkbox/use-checkbox-group.js +11 -1
- package/dist/components/checkbox/use-checkbox.cjs +1 -1
- package/dist/components/checkbox/use-checkbox.js +1 -1
- package/dist/components/clipboard/index.cjs +4 -4
- package/dist/components/collapsible/index.cjs +4 -4
- package/dist/components/collection/tree-collection.js +1 -1
- package/dist/components/color-picker/index.cjs +4 -4
- package/dist/components/date-picker/date-picker-root.cjs +5 -2
- package/dist/components/date-picker/date-picker-root.js +5 -2
- package/dist/components/date-picker/date-picker-value-text.cjs +30 -0
- package/dist/components/date-picker/date-picker-value-text.d.cts +29 -0
- package/dist/components/date-picker/date-picker-value-text.d.ts +29 -0
- package/dist/components/date-picker/date-picker-value-text.js +26 -0
- package/dist/components/date-picker/date-picker.anatomy.cjs +1 -1
- 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/date-picker/date-picker.anatomy.js +1 -1
- package/dist/components/date-picker/date-picker.cjs +2 -0
- package/dist/components/date-picker/date-picker.d.cts +1 -0
- package/dist/components/date-picker/date-picker.d.ts +1 -0
- package/dist/components/date-picker/date-picker.js +1 -0
- package/dist/components/date-picker/index.cjs +6 -4
- package/dist/components/date-picker/index.d.cts +1 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/editable/index.cjs +4 -4
- package/dist/components/fieldset/use-fieldset.cjs +5 -0
- package/dist/components/fieldset/use-fieldset.d.cts +5 -0
- package/dist/components/fieldset/use-fieldset.d.ts +5 -0
- package/dist/components/fieldset/use-fieldset.js +5 -0
- package/dist/components/file-upload/file-upload-root.cjs +1 -0
- package/dist/components/file-upload/file-upload-root.js +1 -0
- package/dist/components/file-upload/index.cjs +4 -4
- package/dist/components/floating-panel/index.cjs +4 -4
- package/dist/components/hover-card/index.cjs +4 -4
- package/dist/components/image-cropper/index.cjs +4 -4
- package/dist/components/index.cjs +199 -141
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +23 -0
- package/dist/components/json-tree-view/json-tree-view-root-provider.cjs +4 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.d.cts +3 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.d.ts +3 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.js +4 -1
- package/dist/components/json-tree-view/use-json-tree-view.cjs +12 -2
- package/dist/components/json-tree-view/use-json-tree-view.d.cts +4 -2
- package/dist/components/json-tree-view/use-json-tree-view.d.ts +4 -2
- package/dist/components/json-tree-view/use-json-tree-view.js +13 -3
- package/dist/components/marquee/index.cjs +4 -4
- package/dist/components/menu/index.cjs +4 -4
- package/dist/components/navigation-menu/index.cjs +44 -0
- package/dist/components/navigation-menu/index.d.cts +18 -0
- package/dist/components/navigation-menu/index.d.ts +18 -0
- package/dist/components/navigation-menu/index.js +18 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.cjs +19 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.d.cts +7 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.d.ts +7 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.js +15 -0
- package/dist/components/navigation-menu/navigation-menu-content.cjs +41 -0
- package/dist/components/navigation-menu/navigation-menu-content.d.cts +9 -0
- package/dist/components/navigation-menu/navigation-menu-content.d.ts +9 -0
- package/dist/components/navigation-menu/navigation-menu-content.js +37 -0
- package/dist/components/navigation-menu/navigation-menu-context.cjs +10 -0
- package/dist/components/navigation-menu/navigation-menu-context.d.cts +6 -0
- package/dist/components/navigation-menu/navigation-menu-context.d.ts +6 -0
- package/dist/components/navigation-menu/navigation-menu-context.js +6 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.cjs +25 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.d.cts +7 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.d.ts +7 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.js +21 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.cjs +23 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.d.cts +7 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.d.ts +7 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.js +19 -0
- package/dist/components/navigation-menu/navigation-menu-item.cjs +23 -0
- package/dist/components/navigation-menu/navigation-menu-item.d.cts +8 -0
- package/dist/components/navigation-menu/navigation-menu-item.d.ts +8 -0
- package/dist/components/navigation-menu/navigation-menu-item.js +19 -0
- package/dist/components/navigation-menu/navigation-menu-link.cjs +25 -0
- package/dist/components/navigation-menu/navigation-menu-link.d.cts +9 -0
- package/dist/components/navigation-menu/navigation-menu-link.d.ts +9 -0
- package/dist/components/navigation-menu/navigation-menu-link.js +21 -0
- package/dist/components/navigation-menu/navigation-menu-list.cjs +19 -0
- package/dist/components/navigation-menu/navigation-menu-list.d.cts +7 -0
- package/dist/components/navigation-menu/navigation-menu-list.d.ts +7 -0
- package/dist/components/navigation-menu/navigation-menu-list.js +15 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.cjs +23 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.d.cts +13 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.d.ts +13 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.js +19 -0
- package/dist/components/navigation-menu/navigation-menu-root.cjs +37 -0
- package/dist/components/navigation-menu/navigation-menu-root.d.cts +10 -0
- package/dist/components/navigation-menu/navigation-menu-root.d.ts +10 -0
- package/dist/components/navigation-menu/navigation-menu-root.js +33 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.cjs +28 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.d.cts +9 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.d.ts +9 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.js +24 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.cjs +25 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.d.cts +8 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.d.ts +8 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.js +21 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.cjs +34 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.d.cts +7 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.d.ts +7 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.js +30 -0
- package/dist/components/navigation-menu/navigation-menu.anatomy.d.cts +1 -0
- package/dist/components/navigation-menu/navigation-menu.anatomy.d.ts +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +33 -0
- package/dist/components/navigation-menu/navigation-menu.d.cts +14 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +14 -0
- package/dist/components/navigation-menu/navigation-menu.js +13 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.cjs +15 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.d.cts +5 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.d.ts +5 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.js +10 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.cjs +16 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.d.cts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.d.ts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.js +11 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.cjs +16 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.d.cts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.d.ts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.js +11 -0
- package/dist/components/navigation-menu/use-navigation-menu.cjs +45 -0
- package/dist/components/navigation-menu/use-navigation-menu.d.cts +8 -0
- package/dist/components/navigation-menu/use-navigation-menu.d.ts +8 -0
- package/dist/components/navigation-menu/use-navigation-menu.js +22 -0
- package/dist/components/number-input/index.cjs +4 -4
- package/dist/components/number-input/number-input-root.cjs +1 -0
- package/dist/components/number-input/number-input-root.js +1 -0
- package/dist/components/pagination/index.cjs +8 -4
- package/dist/components/pagination/index.d.cts +2 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/index.js +2 -0
- package/dist/components/pagination/pagination-first-trigger.cjs +19 -0
- package/dist/components/pagination/pagination-first-trigger.d.cts +7 -0
- package/dist/components/pagination/pagination-first-trigger.d.ts +7 -0
- package/dist/components/pagination/pagination-first-trigger.js +15 -0
- package/dist/components/pagination/pagination-last-trigger.cjs +19 -0
- package/dist/components/pagination/pagination-last-trigger.d.cts +7 -0
- package/dist/components/pagination/pagination-last-trigger.d.ts +7 -0
- package/dist/components/pagination/pagination-last-trigger.js +15 -0
- package/dist/components/pagination/pagination-root.cjs +1 -0
- package/dist/components/pagination/pagination-root.js +1 -0
- package/dist/components/pagination/pagination.cjs +4 -0
- package/dist/components/pagination/pagination.d.cts +2 -0
- package/dist/components/pagination/pagination.d.ts +2 -0
- package/dist/components/pagination/pagination.js +2 -0
- package/dist/components/password-input/index.cjs +4 -4
- package/dist/components/pin-input/index.cjs +4 -4
- package/dist/components/popover/index.cjs +4 -4
- package/dist/components/progress/examples/circular/with-label.d.cts +1 -0
- package/dist/components/progress/examples/circular/with-label.d.ts +1 -0
- package/dist/components/progress/index.cjs +4 -4
- package/dist/components/radio-group/radio-group-root.cjs +2 -0
- package/dist/components/radio-group/radio-group-root.js +2 -0
- package/dist/components/radio-group/use-radio-group.cjs +7 -0
- package/dist/components/radio-group/use-radio-group.js +7 -0
- package/dist/components/scroll-area/index.cjs +4 -4
- package/dist/components/segment-group/segment-group-root.cjs +2 -0
- package/dist/components/segment-group/segment-group-root.js +2 -0
- package/dist/components/select/index.cjs +4 -4
- package/dist/components/signature-pad/index.cjs +4 -4
- package/dist/components/slider/index.cjs +4 -4
- package/dist/components/slider/slider-root.cjs +1 -1
- package/dist/components/slider/slider-root.js +1 -1
- package/dist/components/splitter/index.cjs +5 -5
- package/dist/components/steps/index.cjs +4 -4
- package/dist/components/steps/steps-root.cjs +4 -1
- package/dist/components/steps/steps-root.js +4 -1
- package/dist/components/tabs/index.cjs +4 -4
- package/dist/components/tags-input/index.cjs +4 -4
- 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/timer/index.cjs +4 -4
- package/dist/components/toast/index.cjs +4 -4
- package/dist/components/toggle-group/index.cjs +4 -4
- package/dist/components/tooltip/index.cjs +4 -4
- package/dist/components/tour/index.cjs +15 -0
- package/dist/components/tour/index.d.cts +3 -1
- package/dist/components/tour/index.d.ts +3 -1
- package/dist/components/tour/index.js +2 -0
- package/dist/components/tour/wait-for-event.cjs +26 -0
- package/dist/components/tour/wait-for-event.d.cts +6 -0
- package/dist/components/tour/wait-for-event.d.ts +6 -0
- package/dist/components/tour/wait-for-event.js +22 -0
- package/dist/components/tree-view/index.cjs +4 -4
- package/dist/components/tree-view/tree-view-root.cjs +1 -0
- package/dist/components/tree-view/tree-view-root.js +1 -0
- package/dist/index.cjs +199 -141
- package/dist/index.js +23 -0
- package/package.json +80 -78
- package/dist/components/progress/examples/circular/value-text.d.cts +0 -1
- package/dist/components/progress/examples/circular/value-text.d.ts +0 -1
|
@@ -12,6 +12,7 @@ const collapsibleRoot = require('../collapsible/collapsible-root.cjs');
|
|
|
12
12
|
require('@zag-js/color-picker');
|
|
13
13
|
require('@zag-js/date-picker');
|
|
14
14
|
require('@zag-js/splitter');
|
|
15
|
+
require('@zag-js/tour');
|
|
15
16
|
const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
16
17
|
const renderStrategy = require('../../utils/render-strategy.cjs');
|
|
17
18
|
const useAccordionItemPropsContext = require('./use-accordion-item-props-context.cjs');
|
|
@@ -8,6 +8,7 @@ import { CollapsibleRoot } from '../collapsible/collapsible-root.js';
|
|
|
8
8
|
import '@zag-js/color-picker';
|
|
9
9
|
import '@zag-js/date-picker';
|
|
10
10
|
import '@zag-js/splitter';
|
|
11
|
+
import '@zag-js/tour';
|
|
11
12
|
import { createSplitProps } from '../../utils/create-split-props.js';
|
|
12
13
|
import { useRenderStrategyPropsContext } from '../../utils/render-strategy.js';
|
|
13
14
|
import { AccordionItemPropsProvider } from './use-accordion-item-props-context.js';
|
|
@@ -13,8 +13,8 @@ const accordionRootProvider = require('./accordion-root-provider.cjs');
|
|
|
13
13
|
const useAccordion = require('./use-accordion.cjs');
|
|
14
14
|
const useAccordionContext = require('./use-accordion-context.cjs');
|
|
15
15
|
const useAccordionItemContext = require('./use-accordion-item-context.cjs');
|
|
16
|
-
const accordion
|
|
17
|
-
const accordion = require('@zag-js/accordion');
|
|
16
|
+
const accordion = require('./accordion.cjs');
|
|
17
|
+
const accordion$1 = require('@zag-js/accordion');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -29,8 +29,8 @@ exports.AccordionRootProvider = accordionRootProvider.AccordionRootProvider;
|
|
|
29
29
|
exports.useAccordion = useAccordion.useAccordion;
|
|
30
30
|
exports.useAccordionContext = useAccordionContext.useAccordionContext;
|
|
31
31
|
exports.useAccordionItemContext = useAccordionItemContext.useAccordionItemContext;
|
|
32
|
-
exports.Accordion = accordion
|
|
32
|
+
exports.Accordion = accordion;
|
|
33
33
|
Object.defineProperty(exports, "accordionAnatomy", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: () => accordion.anatomy
|
|
35
|
+
get: () => accordion$1.anatomy
|
|
36
36
|
});
|
|
@@ -28,6 +28,7 @@ const hoverCard = require('@zag-js/hover-card');
|
|
|
28
28
|
const imageCropper = require('@zag-js/image-cropper');
|
|
29
29
|
const marquee = require('@zag-js/marquee');
|
|
30
30
|
const menu = require('@zag-js/menu');
|
|
31
|
+
const navigationMenu = require('@zag-js/navigation-menu');
|
|
31
32
|
const numberInput = require('@zag-js/number-input');
|
|
32
33
|
const pagination = require('@zag-js/pagination');
|
|
33
34
|
const passwordInput = require('@zag-js/password-input');
|
|
@@ -121,6 +122,10 @@ Object.defineProperty(exports, "menuAnatomy", {
|
|
|
121
122
|
enumerable: true,
|
|
122
123
|
get: () => menu.anatomy
|
|
123
124
|
});
|
|
125
|
+
Object.defineProperty(exports, "navigationMenuAnatomy", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: () => navigationMenu.anatomy
|
|
128
|
+
});
|
|
124
129
|
Object.defineProperty(exports, "numberInputAnatomy", {
|
|
125
130
|
enumerable: true,
|
|
126
131
|
get: () => numberInput.anatomy
|
|
@@ -21,6 +21,7 @@ export { imageCropperAnatomy } from './image-cropper/image-cropper.anatomy';
|
|
|
21
21
|
export { listboxAnatomy } from './listbox/listbox.anatomy';
|
|
22
22
|
export { marqueeAnatomy } from './marquee/marquee.anatomy';
|
|
23
23
|
export { menuAnatomy } from './menu/menu.anatomy';
|
|
24
|
+
export { navigationMenuAnatomy } from './navigation-menu/navigation-menu.anatomy';
|
|
24
25
|
export { numberInputAnatomy } from './number-input/number-input.anatomy';
|
|
25
26
|
export { paginationAnatomy } from './pagination/pagination.anatomy';
|
|
26
27
|
export { passwordInputAnatomy } from './password-input/password-input.anatomy';
|
|
@@ -21,6 +21,7 @@ export { imageCropperAnatomy } from './image-cropper/image-cropper.anatomy';
|
|
|
21
21
|
export { listboxAnatomy } from './listbox/listbox.anatomy';
|
|
22
22
|
export { marqueeAnatomy } from './marquee/marquee.anatomy';
|
|
23
23
|
export { menuAnatomy } from './menu/menu.anatomy';
|
|
24
|
+
export { navigationMenuAnatomy } from './navigation-menu/navigation-menu.anatomy';
|
|
24
25
|
export { numberInputAnatomy } from './number-input/number-input.anatomy';
|
|
25
26
|
export { paginationAnatomy } from './pagination/pagination.anatomy';
|
|
26
27
|
export { passwordInputAnatomy } from './password-input/password-input.anatomy';
|
|
@@ -24,6 +24,7 @@ export { anatomy as hoverCardAnatomy } from '@zag-js/hover-card';
|
|
|
24
24
|
export { anatomy as imageCropperAnatomy } from '@zag-js/image-cropper';
|
|
25
25
|
export { anatomy as marqueeAnatomy } from '@zag-js/marquee';
|
|
26
26
|
export { anatomy as menuAnatomy } from '@zag-js/menu';
|
|
27
|
+
export { anatomy as navigationMenuAnatomy } from '@zag-js/navigation-menu';
|
|
27
28
|
export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
|
|
28
29
|
export { anatomy as paginationAnatomy } from '@zag-js/pagination';
|
|
29
30
|
export { anatomy as passwordInputAnatomy } from '@zag-js/password-input';
|
|
@@ -14,8 +14,8 @@ const angleSliderThumb = require('./angle-slider-thumb.cjs');
|
|
|
14
14
|
const angleSliderValueText = require('./angle-slider-value-text.cjs');
|
|
15
15
|
const useAngleSlider = require('./use-angle-slider.cjs');
|
|
16
16
|
const useAngleSliderContext = require('./use-angle-slider-context.cjs');
|
|
17
|
-
const angleSlider
|
|
18
|
-
const angleSlider = require('@zag-js/angle-slider');
|
|
17
|
+
const angleSlider = require('./angle-slider.cjs');
|
|
18
|
+
const angleSlider$1 = require('@zag-js/angle-slider');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -31,8 +31,8 @@ exports.AngleSliderThumb = angleSliderThumb.AngleSliderThumb;
|
|
|
31
31
|
exports.AngleSliderValueText = angleSliderValueText.AngleSliderValueText;
|
|
32
32
|
exports.useAngleSlider = useAngleSlider.useAngleSlider;
|
|
33
33
|
exports.useAngleSliderContext = useAngleSliderContext.useAngleSliderContext;
|
|
34
|
-
exports.AngleSlider = angleSlider
|
|
34
|
+
exports.AngleSlider = angleSlider;
|
|
35
35
|
Object.defineProperty(exports, "angleSliderAnatomy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: () => angleSlider.anatomy
|
|
37
|
+
get: () => angleSlider$1.anatomy
|
|
38
38
|
});
|
|
@@ -9,8 +9,8 @@ const avatarRoot = require('./avatar-root.cjs');
|
|
|
9
9
|
const avatarRootProvider = require('./avatar-root-provider.cjs');
|
|
10
10
|
const useAvatar = require('./use-avatar.cjs');
|
|
11
11
|
const useAvatarContext = require('./use-avatar-context.cjs');
|
|
12
|
-
const avatar
|
|
13
|
-
const avatar = require('@zag-js/avatar');
|
|
12
|
+
const avatar = require('./avatar.cjs');
|
|
13
|
+
const avatar$1 = require('@zag-js/avatar');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -21,8 +21,8 @@ exports.AvatarRoot = avatarRoot.AvatarRoot;
|
|
|
21
21
|
exports.AvatarRootProvider = avatarRootProvider.AvatarRootProvider;
|
|
22
22
|
exports.useAvatar = useAvatar.useAvatar;
|
|
23
23
|
exports.useAvatarContext = useAvatarContext.useAvatarContext;
|
|
24
|
-
exports.Avatar = avatar
|
|
24
|
+
exports.Avatar = avatar;
|
|
25
25
|
Object.defineProperty(exports, "avatarAnatomy", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: () => avatar.anatomy
|
|
27
|
+
get: () => avatar$1.anatomy
|
|
28
28
|
});
|
|
@@ -14,8 +14,8 @@ const bottomSheetTitle = require('./bottom-sheet-title.cjs');
|
|
|
14
14
|
const bottomSheetTrigger = require('./bottom-sheet-trigger.cjs');
|
|
15
15
|
const useBottomSheet = require('./use-bottom-sheet.cjs');
|
|
16
16
|
const useBottomSheetContext = require('./use-bottom-sheet-context.cjs');
|
|
17
|
-
const bottomSheet
|
|
18
|
-
const bottomSheet = require('@zag-js/bottom-sheet');
|
|
17
|
+
const bottomSheet = require('./bottom-sheet.cjs');
|
|
18
|
+
const bottomSheet$1 = require('@zag-js/bottom-sheet');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -31,8 +31,8 @@ exports.BottomSheetTitle = bottomSheetTitle.BottomSheetTitle;
|
|
|
31
31
|
exports.BottomSheetTrigger = bottomSheetTrigger.BottomSheetTrigger;
|
|
32
32
|
exports.useBottomSheet = useBottomSheet.useBottomSheet;
|
|
33
33
|
exports.useBottomSheetContext = useBottomSheetContext.useBottomSheetContext;
|
|
34
|
-
exports.BottomSheet = bottomSheet
|
|
34
|
+
exports.BottomSheet = bottomSheet;
|
|
35
35
|
Object.defineProperty(exports, "bottomSheetAnatomy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: () => bottomSheet.anatomy
|
|
37
|
+
get: () => bottomSheet$1.anatomy
|
|
38
38
|
});
|
|
@@ -5,9 +5,19 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
|
|
6
6
|
const useControllableState = require('../../utils/use-controllable-state.cjs');
|
|
7
7
|
const useEvent = require('../../utils/use-event.cjs');
|
|
8
|
+
const useFieldsetContext = require('../fieldset/use-fieldset-context.cjs');
|
|
8
9
|
|
|
9
10
|
function useCheckboxGroup(props = {}) {
|
|
10
|
-
const
|
|
11
|
+
const fieldset = useFieldsetContext.useFieldsetContext();
|
|
12
|
+
const {
|
|
13
|
+
defaultValue,
|
|
14
|
+
value: controlledValue,
|
|
15
|
+
onValueChange,
|
|
16
|
+
disabled = fieldset?.disabled,
|
|
17
|
+
readOnly,
|
|
18
|
+
name,
|
|
19
|
+
invalid = fieldset?.invalid
|
|
20
|
+
} = props;
|
|
11
21
|
const interactive = !(disabled || readOnly);
|
|
12
22
|
const onChangeProp = useEvent.useEvent(onValueChange, { sync: true });
|
|
13
23
|
const [value, setValue] = useControllableState.useControllableState({
|
|
@@ -46,9 +46,9 @@ export declare function useCheckboxGroup(props?: UseCheckboxGroupProps): {
|
|
|
46
46
|
checked: boolean | undefined;
|
|
47
47
|
onCheckedChange(): void;
|
|
48
48
|
name: string | undefined;
|
|
49
|
-
disabled: boolean
|
|
49
|
+
disabled: boolean;
|
|
50
50
|
readOnly: boolean | undefined;
|
|
51
|
-
invalid: boolean
|
|
51
|
+
invalid: boolean;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
export type UseCheckboxGroupReturn = ReturnType<typeof useCheckboxGroup>;
|
|
@@ -46,9 +46,9 @@ export declare function useCheckboxGroup(props?: UseCheckboxGroupProps): {
|
|
|
46
46
|
checked: boolean | undefined;
|
|
47
47
|
onCheckedChange(): void;
|
|
48
48
|
name: string | undefined;
|
|
49
|
-
disabled: boolean
|
|
49
|
+
disabled: boolean;
|
|
50
50
|
readOnly: boolean | undefined;
|
|
51
|
-
invalid: boolean
|
|
51
|
+
invalid: boolean;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
export type UseCheckboxGroupReturn = ReturnType<typeof useCheckboxGroup>;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useControllableState } from '../../utils/use-controllable-state.js';
|
|
3
3
|
import { useEvent } from '../../utils/use-event.js';
|
|
4
|
+
import { useFieldsetContext } from '../fieldset/use-fieldset-context.js';
|
|
4
5
|
|
|
5
6
|
function useCheckboxGroup(props = {}) {
|
|
6
|
-
const
|
|
7
|
+
const fieldset = useFieldsetContext();
|
|
8
|
+
const {
|
|
9
|
+
defaultValue,
|
|
10
|
+
value: controlledValue,
|
|
11
|
+
onValueChange,
|
|
12
|
+
disabled = fieldset?.disabled,
|
|
13
|
+
readOnly,
|
|
14
|
+
name,
|
|
15
|
+
invalid = fieldset?.invalid
|
|
16
|
+
} = props;
|
|
7
17
|
const interactive = !(disabled || readOnly);
|
|
8
18
|
const onChangeProp = useEvent(onValueChange, { sync: true });
|
|
9
19
|
const [value, setValue] = useControllableState({
|
|
@@ -34,7 +34,7 @@ const useCheckbox = (ownProps = {}) => {
|
|
|
34
34
|
const checkboxGroup = useCheckboxGroupContext.useCheckboxGroupContext();
|
|
35
35
|
const field = useFieldContext.useFieldContext();
|
|
36
36
|
const props = react.useMemo(() => {
|
|
37
|
-
return react$1.mergeProps(
|
|
37
|
+
return react$1.mergeProps(checkboxGroup?.getItemProps({ value: ownProps.value }) ?? {}, ownProps);
|
|
38
38
|
}, [ownProps, checkboxGroup]);
|
|
39
39
|
const id = react.useId();
|
|
40
40
|
const { getRootNode } = useEnvironmentContext.useEnvironmentContext();
|
|
@@ -11,7 +11,7 @@ const useCheckbox = (ownProps = {}) => {
|
|
|
11
11
|
const checkboxGroup = useCheckboxGroupContext();
|
|
12
12
|
const field = useFieldContext();
|
|
13
13
|
const props = useMemo(() => {
|
|
14
|
-
return mergeProps(
|
|
14
|
+
return mergeProps(checkboxGroup?.getItemProps({ value: ownProps.value }) ?? {}, ownProps);
|
|
15
15
|
}, [ownProps, checkboxGroup]);
|
|
16
16
|
const id = useId();
|
|
17
17
|
const { getRootNode } = useEnvironmentContext();
|
|
@@ -13,8 +13,8 @@ const clipboardTrigger = require('./clipboard-trigger.cjs');
|
|
|
13
13
|
const clipboardValueText = require('./clipboard-value-text.cjs');
|
|
14
14
|
const useClipboard = require('./use-clipboard.cjs');
|
|
15
15
|
const useClipboardContext = require('./use-clipboard-context.cjs');
|
|
16
|
-
const clipboard
|
|
17
|
-
const clipboard = require('@zag-js/clipboard');
|
|
16
|
+
const clipboard = require('./clipboard.cjs');
|
|
17
|
+
const clipboard$1 = require('@zag-js/clipboard');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -29,8 +29,8 @@ exports.ClipboardTrigger = clipboardTrigger.ClipboardTrigger;
|
|
|
29
29
|
exports.ClipboardValueText = clipboardValueText.ClipboardValueText;
|
|
30
30
|
exports.useClipboard = useClipboard.useClipboard;
|
|
31
31
|
exports.useClipboardContext = useClipboardContext.useClipboardContext;
|
|
32
|
-
exports.Clipboard = clipboard
|
|
32
|
+
exports.Clipboard = clipboard;
|
|
33
33
|
Object.defineProperty(exports, "clipboardAnatomy", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: () => clipboard.anatomy
|
|
35
|
+
get: () => clipboard$1.anatomy
|
|
36
36
|
});
|
|
@@ -10,8 +10,8 @@ const collapsibleRootProvider = require('./collapsible-root-provider.cjs');
|
|
|
10
10
|
const collapsibleTrigger = require('./collapsible-trigger.cjs');
|
|
11
11
|
const useCollapsible = require('./use-collapsible.cjs');
|
|
12
12
|
const useCollapsibleContext = require('./use-collapsible-context.cjs');
|
|
13
|
-
const collapsible
|
|
14
|
-
const collapsible = require('@zag-js/collapsible');
|
|
13
|
+
const collapsible = require('./collapsible.cjs');
|
|
14
|
+
const collapsible$1 = require('@zag-js/collapsible');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -23,8 +23,8 @@ exports.CollapsibleRootProvider = collapsibleRootProvider.CollapsibleRootProvide
|
|
|
23
23
|
exports.CollapsibleTrigger = collapsibleTrigger.CollapsibleTrigger;
|
|
24
24
|
exports.useCollapsible = useCollapsible.useCollapsible;
|
|
25
25
|
exports.useCollapsibleContext = useCollapsibleContext.useCollapsibleContext;
|
|
26
|
-
exports.Collapsible = collapsible
|
|
26
|
+
exports.Collapsible = collapsible;
|
|
27
27
|
Object.defineProperty(exports, "collapsibleAnatomy", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: () => collapsible.anatomy
|
|
29
|
+
get: () => collapsible$1.anatomy
|
|
30
30
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
2
|
+
import { TreeCollection, filePathToTree } from '@zag-js/collection';
|
|
3
3
|
|
|
4
4
|
const createTreeCollection = (options) => new TreeCollection(options);
|
|
5
5
|
const createFileTreeCollection = (paths) => filePathToTree(paths);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const colorPicker = require('@zag-js/color-picker');
|
|
5
|
+
const colorPicker$1 = require('@zag-js/color-picker');
|
|
6
6
|
const colorPickerArea = require('./color-picker-area.cjs');
|
|
7
7
|
const colorPickerAreaBackground = require('./color-picker-area-background.cjs');
|
|
8
8
|
const colorPickerAreaThumb = require('./color-picker-area-thumb.cjs');
|
|
@@ -35,13 +35,13 @@ const colorPickerView = require('./color-picker-view.cjs');
|
|
|
35
35
|
const colorPicker_anatomy = require('./color-picker.anatomy.cjs');
|
|
36
36
|
const useColorPicker = require('./use-color-picker.cjs');
|
|
37
37
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
38
|
-
const colorPicker
|
|
38
|
+
const colorPicker = require('./color-picker.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
Object.defineProperty(exports, "parseColor", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: () => colorPicker.parse
|
|
44
|
+
get: () => colorPicker$1.parse
|
|
45
45
|
});
|
|
46
46
|
exports.ColorPickerArea = colorPickerArea.ColorPickerArea;
|
|
47
47
|
exports.ColorPickerAreaBackground = colorPickerAreaBackground.ColorPickerAreaBackground;
|
|
@@ -75,4 +75,4 @@ exports.ColorPickerView = colorPickerView.ColorPickerView;
|
|
|
75
75
|
exports.colorPickerAnatomy = colorPicker_anatomy.colorPickerAnatomy;
|
|
76
76
|
exports.useColorPicker = useColorPicker.useColorPicker;
|
|
77
77
|
exports.useColorPickerContext = useColorPickerContext.useColorPickerContext;
|
|
78
|
-
exports.ColorPicker = colorPicker
|
|
78
|
+
exports.ColorPicker = colorPicker;
|
|
@@ -29,6 +29,8 @@ const DatePickerRoot = react.forwardRef((props, ref) => {
|
|
|
29
29
|
"format",
|
|
30
30
|
"id",
|
|
31
31
|
"ids",
|
|
32
|
+
"inline",
|
|
33
|
+
"invalid",
|
|
32
34
|
"isDateUnavailable",
|
|
33
35
|
"locale",
|
|
34
36
|
"max",
|
|
@@ -41,19 +43,20 @@ const DatePickerRoot = react.forwardRef((props, ref) => {
|
|
|
41
43
|
"onOpenChange",
|
|
42
44
|
"onValueChange",
|
|
43
45
|
"onViewChange",
|
|
46
|
+
"onVisibleRangeChange",
|
|
44
47
|
"open",
|
|
45
48
|
"outsideDaySelectable",
|
|
46
49
|
"parse",
|
|
47
50
|
"placeholder",
|
|
48
51
|
"positioning",
|
|
49
52
|
"readOnly",
|
|
53
|
+
"required",
|
|
50
54
|
"selectionMode",
|
|
51
55
|
"startOfWeek",
|
|
52
56
|
"timeZone",
|
|
53
57
|
"translations",
|
|
54
58
|
"value",
|
|
55
|
-
"view"
|
|
56
|
-
"inline"
|
|
59
|
+
"view"
|
|
57
60
|
]);
|
|
58
61
|
const datePicker = useDatePicker.useDatePicker(useDatePickerProps);
|
|
59
62
|
const presence = usePresence.usePresence(react$1.mergeProps({ present: datePicker.open }, presenceProps));
|
|
@@ -25,6 +25,8 @@ const DatePickerRoot = forwardRef((props, ref) => {
|
|
|
25
25
|
"format",
|
|
26
26
|
"id",
|
|
27
27
|
"ids",
|
|
28
|
+
"inline",
|
|
29
|
+
"invalid",
|
|
28
30
|
"isDateUnavailable",
|
|
29
31
|
"locale",
|
|
30
32
|
"max",
|
|
@@ -37,19 +39,20 @@ const DatePickerRoot = forwardRef((props, ref) => {
|
|
|
37
39
|
"onOpenChange",
|
|
38
40
|
"onValueChange",
|
|
39
41
|
"onViewChange",
|
|
42
|
+
"onVisibleRangeChange",
|
|
40
43
|
"open",
|
|
41
44
|
"outsideDaySelectable",
|
|
42
45
|
"parse",
|
|
43
46
|
"placeholder",
|
|
44
47
|
"positioning",
|
|
45
48
|
"readOnly",
|
|
49
|
+
"required",
|
|
46
50
|
"selectionMode",
|
|
47
51
|
"startOfWeek",
|
|
48
52
|
"timeZone",
|
|
49
53
|
"translations",
|
|
50
54
|
"value",
|
|
51
|
-
"view"
|
|
52
|
-
"inline"
|
|
55
|
+
"view"
|
|
53
56
|
]);
|
|
54
57
|
const datePicker = useDatePicker(useDatePickerProps);
|
|
55
58
|
const presence = usePresence(mergeProps({ present: datePicker.open }, presenceProps));
|
|
@@ -0,0 +1,30 @@
|
|
|
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 = require('react');
|
|
8
|
+
const factory = require('../factory.cjs');
|
|
9
|
+
const datePicker_anatomy = require('./date-picker.anatomy.cjs');
|
|
10
|
+
const useDatePickerContext = require('./use-date-picker-context.cjs');
|
|
11
|
+
|
|
12
|
+
const DatePickerValueText = react.forwardRef((props, ref) => {
|
|
13
|
+
const { children, placeholder, separator = ", ", ...localProps } = props;
|
|
14
|
+
const datePicker = useDatePickerContext.useDatePickerContext();
|
|
15
|
+
const hasValue = datePicker.value.length > 0;
|
|
16
|
+
if (typeof children === "function") {
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Fragment, { children: hasValue ? datePicker.value.map((value, index) => /* @__PURE__ */ jsxRuntime.jsx(react.Fragment, { children: children({
|
|
18
|
+
value,
|
|
19
|
+
index,
|
|
20
|
+
valueAsString: datePicker.valueAsString[index],
|
|
21
|
+
remove: () => {
|
|
22
|
+
datePicker.setValue(datePicker.value.filter((_, i) => i !== index));
|
|
23
|
+
}
|
|
24
|
+
}) }, index)) : placeholder });
|
|
25
|
+
}
|
|
26
|
+
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.span, { ...datePicker_anatomy.datePickerAnatomy.build().valueText.attrs, ...localProps, ref, children: hasValue ? datePicker.valueAsString.join(separator) : placeholder });
|
|
27
|
+
});
|
|
28
|
+
DatePickerValueText.displayName = "DatePickerValueText";
|
|
29
|
+
|
|
30
|
+
exports.DatePickerValueText = DatePickerValueText;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DateValue } from '@zag-js/date-picker';
|
|
2
|
+
import { Assign } from '../../types';
|
|
3
|
+
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
export interface DatePickerValueTextRenderProps {
|
|
6
|
+
value: DateValue;
|
|
7
|
+
index: number;
|
|
8
|
+
valueAsString: string;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface DatePickerValueTextBaseProps extends PolymorphicProps {
|
|
12
|
+
/**
|
|
13
|
+
* Text to display when no date is selected.
|
|
14
|
+
*/
|
|
15
|
+
placeholder?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* A function to render each selected date value.
|
|
18
|
+
* When provided, each date in the selection will be rendered using this function.
|
|
19
|
+
*/
|
|
20
|
+
children?: ((props: DatePickerValueTextRenderProps) => React.ReactNode) | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The separator to use between multiple date values when using default rendering.
|
|
23
|
+
* @default ", "
|
|
24
|
+
*/
|
|
25
|
+
separator?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export interface DatePickerValueTextProps extends Assign<HTMLProps<'span'>, DatePickerValueTextBaseProps> {
|
|
28
|
+
}
|
|
29
|
+
export declare const DatePickerValueText: ForwardRefExoticComponent<DatePickerValueTextProps & RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DateValue } from '@zag-js/date-picker';
|
|
2
|
+
import { Assign } from '../../types';
|
|
3
|
+
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
4
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
5
|
+
export interface DatePickerValueTextRenderProps {
|
|
6
|
+
value: DateValue;
|
|
7
|
+
index: number;
|
|
8
|
+
valueAsString: string;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface DatePickerValueTextBaseProps extends PolymorphicProps {
|
|
12
|
+
/**
|
|
13
|
+
* Text to display when no date is selected.
|
|
14
|
+
*/
|
|
15
|
+
placeholder?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* A function to render each selected date value.
|
|
18
|
+
* When provided, each date in the selection will be rendered using this function.
|
|
19
|
+
*/
|
|
20
|
+
children?: ((props: DatePickerValueTextRenderProps) => React.ReactNode) | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The separator to use between multiple date values when using default rendering.
|
|
23
|
+
* @default ", "
|
|
24
|
+
*/
|
|
25
|
+
separator?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export interface DatePickerValueTextProps extends Assign<HTMLProps<'span'>, DatePickerValueTextBaseProps> {
|
|
28
|
+
}
|
|
29
|
+
export declare const DatePickerValueText: ForwardRefExoticComponent<DatePickerValueTextProps & RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef, Fragment } from 'react';
|
|
4
|
+
import { ark } from '../factory.js';
|
|
5
|
+
import { datePickerAnatomy } from './date-picker.anatomy.js';
|
|
6
|
+
import { useDatePickerContext } from './use-date-picker-context.js';
|
|
7
|
+
|
|
8
|
+
const DatePickerValueText = forwardRef((props, ref) => {
|
|
9
|
+
const { children, placeholder, separator = ", ", ...localProps } = props;
|
|
10
|
+
const datePicker = useDatePickerContext();
|
|
11
|
+
const hasValue = datePicker.value.length > 0;
|
|
12
|
+
if (typeof children === "function") {
|
|
13
|
+
return /* @__PURE__ */ jsx(Fragment, { children: hasValue ? datePicker.value.map((value, index) => /* @__PURE__ */ jsx(Fragment, { children: children({
|
|
14
|
+
value,
|
|
15
|
+
index,
|
|
16
|
+
valueAsString: datePicker.valueAsString[index],
|
|
17
|
+
remove: () => {
|
|
18
|
+
datePicker.setValue(datePicker.value.filter((_, i) => i !== index));
|
|
19
|
+
}
|
|
20
|
+
}) }, index)) : placeholder });
|
|
21
|
+
}
|
|
22
|
+
return /* @__PURE__ */ jsx(ark.span, { ...datePickerAnatomy.build().valueText.attrs, ...localProps, ref, children: hasValue ? datePicker.valueAsString.join(separator) : placeholder });
|
|
23
|
+
});
|
|
24
|
+
DatePickerValueText.displayName = "DatePickerValueText";
|
|
25
|
+
|
|
26
|
+
export { DatePickerValueText };
|
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
|
|
6
6
|
const datePicker = require('@zag-js/date-picker');
|
|
7
7
|
|
|
8
|
-
const datePickerAnatomy = datePicker.anatomy.extendWith("view");
|
|
8
|
+
const datePickerAnatomy = datePicker.anatomy.extendWith("view", "valueText");
|
|
9
9
|
|
|
10
10
|
exports.datePickerAnatomy = datePickerAnatomy;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const datePickerAnatomy: AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "positioner" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
2
|
+
export declare const datePickerAnatomy: AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "positioner" | "valueText" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const datePickerAnatomy: AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "positioner" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
2
|
+
export declare const datePickerAnatomy: AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "positioner" | "valueText" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
@@ -14,6 +14,7 @@ const datePickerPositioner = require('./date-picker-positioner.cjs');
|
|
|
14
14
|
const datePickerPresetTrigger = require('./date-picker-preset-trigger.cjs');
|
|
15
15
|
const datePickerPrevTrigger = require('./date-picker-prev-trigger.cjs');
|
|
16
16
|
const datePickerRangeText = require('./date-picker-range-text.cjs');
|
|
17
|
+
const datePickerValueText = require('./date-picker-value-text.cjs');
|
|
17
18
|
const datePickerRoot = require('./date-picker-root.cjs');
|
|
18
19
|
const datePickerRootProvider = require('./date-picker-root-provider.cjs');
|
|
19
20
|
const datePickerTable = require('./date-picker-table.cjs');
|
|
@@ -43,6 +44,7 @@ exports.Positioner = datePickerPositioner.DatePickerPositioner;
|
|
|
43
44
|
exports.PresetTrigger = datePickerPresetTrigger.DatePickerPresetTrigger;
|
|
44
45
|
exports.PrevTrigger = datePickerPrevTrigger.DatePickerPrevTrigger;
|
|
45
46
|
exports.RangeText = datePickerRangeText.DatePickerRangeText;
|
|
47
|
+
exports.ValueText = datePickerValueText.DatePickerValueText;
|
|
46
48
|
exports.Root = datePickerRoot.DatePickerRoot;
|
|
47
49
|
exports.RootProvider = datePickerRootProvider.DatePickerRootProvider;
|
|
48
50
|
exports.Table = datePickerTable.DatePickerTable;
|
|
@@ -11,6 +11,7 @@ export { DatePickerPositioner as Positioner, type DatePickerPositionerBaseProps
|
|
|
11
11
|
export { DatePickerPresetTrigger as PresetTrigger, type DatePickerPresetTriggerBaseProps as PresetTriggerBaseProps, type DatePickerPresetTriggerProps as PresetTriggerProps, } from './date-picker-preset-trigger';
|
|
12
12
|
export { DatePickerPrevTrigger as PrevTrigger, type DatePickerPrevTriggerBaseProps as PrevTriggerBaseProps, type DatePickerPrevTriggerProps as PrevTriggerProps, } from './date-picker-prev-trigger';
|
|
13
13
|
export { DatePickerRangeText as RangeText, type DatePickerRangeTextBaseProps as RangeTextBaseProps, type DatePickerRangeTextProps as RangeTextProps, } from './date-picker-range-text';
|
|
14
|
+
export { DatePickerValueText as ValueText, type DatePickerValueTextBaseProps as ValueTextBaseProps, type DatePickerValueTextProps as ValueTextProps, type DatePickerValueTextRenderProps as ValueTextRenderProps, } from './date-picker-value-text';
|
|
14
15
|
export { DatePickerRoot as Root, type DatePickerRootBaseProps as RootBaseProps, type DatePickerRootProps as RootProps, } from './date-picker-root';
|
|
15
16
|
export { DatePickerRootProvider as RootProvider, type DatePickerRootProviderBaseProps as RootProviderBaseProps, type DatePickerRootProviderProps as RootProviderProps, } from './date-picker-root-provider';
|
|
16
17
|
export { DatePickerTable as Table, type DatePickerTableBaseProps as TableBaseProps, type DatePickerTableProps as TableProps, } from './date-picker-table';
|
|
@@ -11,6 +11,7 @@ export { DatePickerPositioner as Positioner, type DatePickerPositionerBaseProps
|
|
|
11
11
|
export { DatePickerPresetTrigger as PresetTrigger, type DatePickerPresetTriggerBaseProps as PresetTriggerBaseProps, type DatePickerPresetTriggerProps as PresetTriggerProps, } from './date-picker-preset-trigger';
|
|
12
12
|
export { DatePickerPrevTrigger as PrevTrigger, type DatePickerPrevTriggerBaseProps as PrevTriggerBaseProps, type DatePickerPrevTriggerProps as PrevTriggerProps, } from './date-picker-prev-trigger';
|
|
13
13
|
export { DatePickerRangeText as RangeText, type DatePickerRangeTextBaseProps as RangeTextBaseProps, type DatePickerRangeTextProps as RangeTextProps, } from './date-picker-range-text';
|
|
14
|
+
export { DatePickerValueText as ValueText, type DatePickerValueTextBaseProps as ValueTextBaseProps, type DatePickerValueTextProps as ValueTextProps, type DatePickerValueTextRenderProps as ValueTextRenderProps, } from './date-picker-value-text';
|
|
14
15
|
export { DatePickerRoot as Root, type DatePickerRootBaseProps as RootBaseProps, type DatePickerRootProps as RootProps, } from './date-picker-root';
|
|
15
16
|
export { DatePickerRootProvider as RootProvider, type DatePickerRootProviderBaseProps as RootProviderBaseProps, type DatePickerRootProviderProps as RootProviderProps, } from './date-picker-root-provider';
|
|
16
17
|
export { DatePickerTable as Table, type DatePickerTableBaseProps as TableBaseProps, type DatePickerTableProps as TableProps, } from './date-picker-table';
|
|
@@ -10,6 +10,7 @@ export { DatePickerPositioner as Positioner } from './date-picker-positioner.js'
|
|
|
10
10
|
export { DatePickerPresetTrigger as PresetTrigger } from './date-picker-preset-trigger.js';
|
|
11
11
|
export { DatePickerPrevTrigger as PrevTrigger } from './date-picker-prev-trigger.js';
|
|
12
12
|
export { DatePickerRangeText as RangeText } from './date-picker-range-text.js';
|
|
13
|
+
export { DatePickerValueText as ValueText } from './date-picker-value-text.js';
|
|
13
14
|
export { DatePickerRoot as Root } from './date-picker-root.js';
|
|
14
15
|
export { DatePickerRootProvider as RootProvider } from './date-picker-root-provider.js';
|
|
15
16
|
export { DatePickerTable as Table } from './date-picker-table.js';
|