@ark-ui/react 4.6.0 → 4.8.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.d.cts +6 -6
- package/dist/components/accordion/accordion.d.ts +6 -6
- package/dist/components/accordion/index.d.cts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/avatar/avatar.d.cts +4 -4
- package/dist/components/avatar/avatar.d.ts +4 -4
- package/dist/components/avatar/index.d.cts +6 -6
- package/dist/components/avatar/index.d.ts +6 -6
- package/dist/components/carousel/carousel.d.cts +1 -1
- package/dist/components/carousel/carousel.d.ts +1 -1
- package/dist/components/carousel/index.d.cts +3 -3
- package/dist/components/carousel/index.d.ts +3 -3
- package/dist/components/checkbox/checkbox.d.cts +7 -7
- package/dist/components/checkbox/checkbox.d.ts +7 -7
- package/dist/components/checkbox/index.d.cts +2 -2
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/clipboard/clipboard-value-text.cjs +19 -0
- package/dist/components/clipboard/clipboard-value-text.d.cts +7 -0
- package/dist/components/clipboard/clipboard-value-text.d.ts +7 -0
- package/dist/components/clipboard/clipboard-value-text.js +15 -0
- package/dist/components/clipboard/clipboard.cjs +2 -0
- package/dist/components/clipboard/clipboard.d.cts +8 -7
- package/dist/components/clipboard/clipboard.d.ts +8 -7
- package/dist/components/clipboard/clipboard.js +1 -0
- package/dist/components/clipboard/index.cjs +2 -0
- package/dist/components/clipboard/index.d.cts +2 -1
- package/dist/components/clipboard/index.d.ts +2 -1
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/collapsible/collapsible.d.cts +4 -4
- package/dist/components/collapsible/collapsible.d.ts +4 -4
- package/dist/components/collapsible/index.d.cts +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/combobox/combobox-root.cjs +1 -0
- package/dist/components/combobox/combobox-root.js +1 -0
- package/dist/components/combobox/combobox.d.cts +15 -15
- package/dist/components/combobox/combobox.d.ts +15 -15
- package/dist/components/combobox/index.d.cts +5 -5
- package/dist/components/combobox/index.d.ts +5 -5
- package/dist/components/date-picker/index.d.cts +2 -2
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/dialog/index.d.cts +3 -3
- package/dist/components/dialog/index.d.ts +3 -3
- package/dist/components/editable/editable.d.cts +10 -10
- package/dist/components/editable/editable.d.ts +10 -10
- package/dist/components/editable/index.d.cts +3 -3
- package/dist/components/editable/index.d.ts +3 -3
- package/dist/components/field/index.cjs +2 -2
- package/dist/components/field/index.d.cts +1 -1
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/use-field.d.cts +1 -1
- package/dist/components/field/use-field.d.ts +1 -1
- package/dist/components/fieldset/fieldset.cjs +8 -8
- package/dist/components/fieldset/fieldset.d.cts +5 -5
- package/dist/components/fieldset/fieldset.d.ts +5 -5
- package/dist/components/fieldset/fieldset.js +4 -4
- package/dist/components/fieldset/use-fieldset.cjs +1 -1
- package/dist/components/fieldset/use-fieldset.d.cts +1 -1
- package/dist/components/fieldset/use-fieldset.d.ts +1 -1
- package/dist/components/fieldset/use-fieldset.js +1 -1
- 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/focus-trap/focus-trap.cjs +34 -0
- package/dist/components/focus-trap/focus-trap.d.cts +15 -0
- package/dist/components/focus-trap/focus-trap.d.ts +15 -0
- package/dist/components/focus-trap/focus-trap.js +30 -0
- package/dist/components/focus-trap/index.cjs +9 -0
- package/dist/components/focus-trap/index.d.cts +2 -0
- package/dist/components/focus-trap/index.d.ts +2 -0
- package/dist/components/focus-trap/index.js +1 -0
- package/dist/components/format/format.d.cts +2 -2
- package/dist/components/format/format.d.ts +2 -2
- package/dist/components/format/index.d.cts +2 -2
- package/dist/components/format/index.d.ts +2 -2
- package/dist/components/frame/index.d.cts +1 -1
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/highlight/index.d.cts +1 -1
- package/dist/components/highlight/index.d.ts +1 -1
- package/dist/components/hover-card/hover-card.d.cts +7 -7
- package/dist/components/hover-card/hover-card.d.ts +7 -7
- 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 +46 -4
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +25 -3
- package/dist/components/menu/index.d.cts +9 -9
- package/dist/components/menu/index.d.ts +9 -9
- package/dist/components/menu/menu-root.cjs +1 -0
- package/dist/components/menu/menu-root.js +1 -0
- package/dist/components/menu/menu.d.cts +19 -19
- package/dist/components/menu/menu.d.ts +19 -19
- package/dist/components/number-input/index.d.cts +1 -1
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/pagination/index.d.cts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination.d.cts +7 -7
- package/dist/components/pagination/pagination.d.ts +7 -7
- package/dist/components/pin-input/index.d.cts +2 -2
- package/dist/components/pin-input/index.d.ts +2 -2
- package/dist/components/pin-input/pin-input.d.cts +6 -6
- package/dist/components/pin-input/pin-input.d.ts +6 -6
- package/dist/components/popover/index.d.cts +4 -4
- package/dist/components/popover/index.d.ts +4 -4
- package/dist/components/popover/popover.d.cts +12 -12
- package/dist/components/popover/popover.d.ts +12 -12
- package/dist/components/portal/index.d.cts +1 -1
- package/dist/components/portal/index.d.ts +1 -1
- package/dist/components/portal/portal.d.cts +1 -1
- package/dist/components/portal/portal.d.ts +1 -1
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/progress/examples/circular/controlled.d.cts +1 -0
- package/dist/components/progress/examples/circular/controlled.d.ts +1 -0
- package/dist/components/progress/examples/linear/controlled.d.cts +1 -0
- package/dist/components/progress/examples/linear/controlled.d.ts +1 -0
- package/dist/components/progress/examples/linear/root-provider.d.cts +1 -1
- package/dist/components/progress/examples/linear/root-provider.d.ts +1 -1
- package/dist/components/progress/index.d.cts +3 -3
- package/dist/components/progress/index.d.ts +3 -3
- package/dist/components/progress/progress-root.cjs +2 -0
- package/dist/components/progress/progress-root.d.cts +2 -1
- package/dist/components/progress/progress-root.d.ts +2 -1
- package/dist/components/progress/progress-root.js +2 -0
- package/dist/components/progress/progress.d.cts +10 -10
- package/dist/components/progress/progress.d.ts +10 -10
- package/dist/components/progress/use-progress.cjs +4 -1
- package/dist/components/progress/use-progress.d.cts +5 -0
- package/dist/components/progress/use-progress.d.ts +5 -0
- package/dist/components/progress/use-progress.js +4 -1
- package/dist/components/qr-code/index.cjs +2 -0
- package/dist/components/qr-code/index.d.cts +4 -3
- package/dist/components/qr-code/index.d.ts +4 -3
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/qr-code/qr-code-download-trigger.cjs +27 -0
- package/dist/components/qr-code/qr-code-download-trigger.d.cts +8 -0
- package/dist/components/qr-code/qr-code-download-trigger.d.ts +8 -0
- package/dist/components/qr-code/qr-code-download-trigger.js +23 -0
- package/dist/components/qr-code/qr-code-root.cjs +2 -0
- package/dist/components/qr-code/qr-code-root.d.cts +2 -1
- package/dist/components/qr-code/qr-code-root.d.ts +2 -1
- package/dist/components/qr-code/qr-code-root.js +2 -0
- package/dist/components/qr-code/qr-code.cjs +2 -0
- package/dist/components/qr-code/qr-code.d.cts +6 -5
- package/dist/components/qr-code/qr-code.d.ts +6 -5
- package/dist/components/qr-code/qr-code.js +1 -0
- package/dist/components/qr-code/use-qr-code.cjs +10 -2
- package/dist/components/qr-code/use-qr-code.d.cts +5 -0
- package/dist/components/qr-code/use-qr-code.d.ts +5 -0
- package/dist/components/qr-code/use-qr-code.js +10 -2
- package/dist/components/radio-group/index.d.cts +2 -2
- package/dist/components/radio-group/index.d.ts +2 -2
- package/dist/components/radio-group/radio-group.d.cts +8 -8
- package/dist/components/radio-group/radio-group.d.ts +8 -8
- package/dist/components/rating-group/index.d.cts +1 -1
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/rating-group/rating-group.cjs +2 -2
- package/dist/components/rating-group/rating-group.d.cts +6 -6
- package/dist/components/rating-group/rating-group.d.ts +6 -6
- package/dist/components/rating-group/rating-group.js +1 -1
- package/dist/components/segment-group/index.d.cts +1 -1
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/select/index.d.cts +6 -6
- package/dist/components/select/index.d.ts +6 -6
- package/dist/components/select/select.d.cts +17 -17
- package/dist/components/select/select.d.ts +17 -17
- package/dist/components/signature-pad/index.d.cts +1 -1
- package/dist/components/signature-pad/index.d.ts +1 -1
- package/dist/components/signature-pad/signature-pad.d.cts +8 -8
- package/dist/components/signature-pad/signature-pad.d.ts +8 -8
- package/dist/components/slider/index.d.cts +7 -7
- package/dist/components/slider/index.d.ts +7 -7
- package/dist/components/splitter/index.d.cts +2 -2
- package/dist/components/splitter/index.d.ts +2 -2
- package/dist/components/splitter/splitter.d.cts +4 -4
- package/dist/components/splitter/splitter.d.ts +4 -4
- package/dist/components/steps/steps.cjs +6 -6
- package/dist/components/steps/steps.d.cts +3 -3
- package/dist/components/steps/steps.d.ts +3 -3
- package/dist/components/steps/steps.js +3 -3
- package/dist/components/switch/index.d.cts +4 -4
- package/dist/components/switch/index.d.ts +4 -4
- package/dist/components/switch/switch.d.cts +6 -6
- package/dist/components/switch/switch.d.ts +6 -6
- package/dist/components/tabs/index.d.cts +6 -6
- package/dist/components/tabs/index.d.ts +6 -6
- package/dist/components/tabs/tabs-root.cjs +1 -0
- package/dist/components/tabs/tabs-root.js +1 -0
- package/dist/components/tabs/tabs.d.cts +6 -6
- package/dist/components/tabs/tabs.d.ts +6 -6
- package/dist/components/tags-input/index.d.cts +2 -2
- package/dist/components/tags-input/index.d.ts +2 -2
- package/dist/components/tags-input/tags-input.d.cts +12 -12
- package/dist/components/tags-input/tags-input.d.ts +12 -12
- package/dist/components/time-picker/index.d.cts +1 -1
- package/dist/components/time-picker/index.d.ts +1 -1
- package/dist/components/time-picker/time-picker.d.cts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/timer/timer.d.cts +1 -1
- package/dist/components/timer/timer.d.ts +1 -1
- package/dist/components/toast/index.d.cts +5 -5
- package/dist/components/toast/index.d.ts +5 -5
- package/dist/components/toggle/index.cjs +2 -2
- package/dist/components/toggle/index.d.cts +2 -2
- package/dist/components/toggle/index.d.ts +2 -2
- package/dist/components/toggle/index.js +2 -2
- package/dist/components/toggle/toggle.d.cts +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle-group/index.d.cts +1 -1
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/tooltip/index.d.cts +3 -3
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/tooltip/tooltip.d.cts +7 -7
- package/dist/components/tooltip/tooltip.d.ts +7 -7
- package/dist/components/tour/index.cjs +45 -0
- package/dist/components/tour/index.d.cts +20 -0
- package/dist/components/tour/index.d.ts +20 -0
- package/dist/components/tour/index.js +20 -0
- package/dist/components/tour/tour-action-trigger.cjs +25 -0
- package/dist/components/tour/tour-action-trigger.d.cts +8 -0
- package/dist/components/tour/tour-action-trigger.d.ts +8 -0
- package/dist/components/tour/tour-action-trigger.js +21 -0
- package/dist/components/tour/tour-actions.cjs +10 -0
- package/dist/components/tour/tour-actions.d.cts +6 -0
- package/dist/components/tour/tour-actions.d.ts +6 -0
- package/dist/components/tour/tour-actions.js +6 -0
- package/dist/components/tour/tour-arrow-tip.cjs +19 -0
- package/dist/components/tour/tour-arrow-tip.d.cts +7 -0
- package/dist/components/tour/tour-arrow-tip.d.ts +7 -0
- package/dist/components/tour/tour-arrow-tip.js +15 -0
- package/dist/components/tour/tour-arrow.cjs +19 -0
- package/dist/components/tour/tour-arrow.d.cts +7 -0
- package/dist/components/tour/tour-arrow.d.ts +7 -0
- package/dist/components/tour/tour-arrow.js +15 -0
- package/dist/components/tour/tour-backdrop.cjs +30 -0
- package/dist/components/tour/tour-backdrop.d.cts +7 -0
- package/dist/components/tour/tour-backdrop.d.ts +7 -0
- package/dist/components/tour/tour-backdrop.js +26 -0
- package/dist/components/tour/tour-close-trigger.cjs +21 -0
- package/dist/components/tour/tour-close-trigger.d.cts +7 -0
- package/dist/components/tour/tour-close-trigger.d.ts +7 -0
- package/dist/components/tour/tour-close-trigger.js +17 -0
- package/dist/components/tour/tour-content.cjs +25 -0
- package/dist/components/tour/tour-content.d.cts +7 -0
- package/dist/components/tour/tour-content.d.ts +7 -0
- package/dist/components/tour/tour-content.js +21 -0
- package/dist/components/tour/tour-context.cjs +10 -0
- package/dist/components/tour/tour-context.d.cts +6 -0
- package/dist/components/tour/tour-context.d.ts +6 -0
- package/dist/components/tour/tour-context.js +6 -0
- package/dist/components/tour/tour-control.cjs +14 -0
- package/dist/components/tour/tour-control.d.cts +7 -0
- package/dist/components/tour/tour-control.d.ts +7 -0
- package/dist/components/tour/tour-control.js +10 -0
- package/dist/components/tour/tour-description.cjs +19 -0
- package/dist/components/tour/tour-description.d.cts +7 -0
- package/dist/components/tour/tour-description.d.ts +7 -0
- package/dist/components/tour/tour-description.js +15 -0
- package/dist/components/tour/tour-positioner.cjs +24 -0
- package/dist/components/tour/tour-positioner.d.cts +7 -0
- package/dist/components/tour/tour-positioner.d.ts +7 -0
- package/dist/components/tour/tour-positioner.js +20 -0
- package/dist/components/tour/tour-progress-text.cjs +19 -0
- package/dist/components/tour/tour-progress-text.d.cts +7 -0
- package/dist/components/tour/tour-progress-text.d.ts +7 -0
- package/dist/components/tour/tour-progress-text.js +15 -0
- package/dist/components/tour/tour-root.cjs +21 -0
- package/dist/components/tour/tour-root.d.cts +10 -0
- package/dist/components/tour/tour-root.d.ts +10 -0
- package/dist/components/tour/tour-root.js +17 -0
- package/dist/components/tour/tour-spotlight.cjs +31 -0
- package/dist/components/tour/tour-spotlight.d.cts +7 -0
- package/dist/components/tour/tour-spotlight.d.ts +7 -0
- package/dist/components/tour/tour-spotlight.js +27 -0
- package/dist/components/tour/tour-title.cjs +19 -0
- package/dist/components/tour/tour-title.d.cts +7 -0
- package/dist/components/tour/tour-title.d.ts +7 -0
- package/dist/components/tour/tour-title.js +15 -0
- package/dist/components/tour/tour.anatomy.cjs +10 -0
- package/dist/components/tour/tour.anatomy.d.cts +2 -0
- package/dist/components/tour/tour.anatomy.d.ts +2 -0
- package/dist/components/tour/tour.anatomy.js +6 -0
- package/dist/components/tour/tour.cjs +37 -0
- package/dist/components/tour/tour.d.cts +16 -0
- package/dist/components/tour/tour.d.ts +16 -0
- package/dist/components/tour/tour.js +15 -0
- package/dist/components/tour/use-tour-context.cjs +15 -0
- package/dist/components/tour/use-tour-context.d.cts +6 -0
- package/dist/components/tour/use-tour-context.d.ts +6 -0
- package/dist/components/tour/use-tour-context.js +10 -0
- package/dist/components/tour/use-tour.cjs +49 -0
- package/dist/components/tour/use-tour.d.cts +8 -0
- package/dist/components/tour/use-tour.d.ts +8 -0
- package/dist/components/tour/use-tour.js +26 -0
- package/dist/components/tree-view/tree-view-root-provider.d.cts +1 -0
- package/dist/components/tree-view/tree-view-root-provider.d.ts +1 -0
- package/dist/components/tree-view/tree-view-root.d.cts +1 -0
- package/dist/components/tree-view/tree-view-root.d.ts +1 -0
- package/dist/index.cjs +46 -4
- package/dist/index.js +25 -3
- package/dist/providers/environment/index.d.cts +2 -2
- package/dist/providers/environment/index.d.ts +2 -2
- package/package.json +58 -56
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type { ItemLabelDetails, PageChangeDetails, PageSizeChangeDetails
|
|
1
|
+
export type { ItemLabelDetails, PageChangeDetails, PageSizeChangeDetails } from '@zag-js/pagination';
|
|
2
2
|
export { PaginationContext as Context, type PaginationContextProps as ContextProps, } from './pagination-context';
|
|
3
|
-
export { PaginationEllipsis as Ellipsis, type
|
|
4
|
-
export { PaginationItem as Item, type
|
|
5
|
-
export { PaginationNextTrigger as NextTrigger, type
|
|
6
|
-
export { PaginationPrevTrigger as PrevTrigger, type
|
|
7
|
-
export { PaginationRoot as Root, type
|
|
8
|
-
export { PaginationRootProvider as RootProvider, type
|
|
3
|
+
export { PaginationEllipsis as Ellipsis, type PaginationEllipsisBaseProps as EllipsisBaseProps, type PaginationEllipsisProps as EllipsisProps, } from './pagination-ellipsis';
|
|
4
|
+
export { PaginationItem as Item, type PaginationItemBaseProps as ItemBaseProps, type PaginationItemProps as ItemProps, } from './pagination-item';
|
|
5
|
+
export { PaginationNextTrigger as NextTrigger, type PaginationNextTriggerBaseProps as NextTriggerBaseProps, type PaginationNextTriggerProps as NextTriggerProps, } from './pagination-next-trigger';
|
|
6
|
+
export { PaginationPrevTrigger as PrevTrigger, type PaginationPrevTriggerBaseProps as PrevTriggerBaseProps, type PaginationPrevTriggerProps as PrevTriggerProps, } from './pagination-prev-trigger';
|
|
7
|
+
export { PaginationRoot as Root, type PaginationRootBaseProps as RootBaseProps, type PaginationRootProps as RootProps, } from './pagination-root';
|
|
8
|
+
export { PaginationRootProvider as RootProvider, type PaginationRootProviderBaseProps as RootProviderBaseProps, type PaginationRootProviderProps as RootProviderProps, } from './pagination-root-provider';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type { ValueChangeDetails as PinInputValueChangeDetails, ValueInvalidDetails as PinInputValueInvalidDetails, } from '@zag-js/pin-input';
|
|
2
|
-
export { PinInputContext, type PinInputContextProps
|
|
2
|
+
export { PinInputContext, type PinInputContextProps } from './pin-input-context';
|
|
3
3
|
export { PinInputControl, type PinInputControlBaseProps, type PinInputControlProps, } from './pin-input-control';
|
|
4
4
|
export { PinInputHiddenInput, type PinInputHiddenInputBaseProps, type PinInputHiddenInputProps, } from './pin-input-hidden-input';
|
|
5
5
|
export { PinInputInput, type PinInputInputBaseProps, type PinInputInputProps, } from './pin-input-input';
|
|
6
6
|
export { PinInputLabel, type PinInputLabelBaseProps, type PinInputLabelProps, } from './pin-input-label';
|
|
7
|
-
export { PinInputRoot, type PinInputRootBaseProps, type PinInputRootProps
|
|
7
|
+
export { PinInputRoot, type PinInputRootBaseProps, type PinInputRootProps } from './pin-input-root';
|
|
8
8
|
export { PinInputRootProvider, type PinInputRootProviderBaseProps, type PinInputRootProviderProps, } from './pin-input-root-provider';
|
|
9
9
|
export { pinInputAnatomy } from './pin-input.anatomy';
|
|
10
10
|
export { usePinInput, type UsePinInputProps, type UsePinInputReturn } from './use-pin-input';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type { ValueChangeDetails as PinInputValueChangeDetails, ValueInvalidDetails as PinInputValueInvalidDetails, } from '@zag-js/pin-input';
|
|
2
|
-
export { PinInputContext, type PinInputContextProps
|
|
2
|
+
export { PinInputContext, type PinInputContextProps } from './pin-input-context';
|
|
3
3
|
export { PinInputControl, type PinInputControlBaseProps, type PinInputControlProps, } from './pin-input-control';
|
|
4
4
|
export { PinInputHiddenInput, type PinInputHiddenInputBaseProps, type PinInputHiddenInputProps, } from './pin-input-hidden-input';
|
|
5
5
|
export { PinInputInput, type PinInputInputBaseProps, type PinInputInputProps, } from './pin-input-input';
|
|
6
6
|
export { PinInputLabel, type PinInputLabelBaseProps, type PinInputLabelProps, } from './pin-input-label';
|
|
7
|
-
export { PinInputRoot, type PinInputRootBaseProps, type PinInputRootProps
|
|
7
|
+
export { PinInputRoot, type PinInputRootBaseProps, type PinInputRootProps } from './pin-input-root';
|
|
8
8
|
export { PinInputRootProvider, type PinInputRootProviderBaseProps, type PinInputRootProviderProps, } from './pin-input-root-provider';
|
|
9
9
|
export { pinInputAnatomy } from './pin-input.anatomy';
|
|
10
10
|
export { usePinInput, type UsePinInputProps, type UsePinInputReturn } from './use-pin-input';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { ValueChangeDetails, ValueInvalidDetails } from '@zag-js/pin-input';
|
|
2
2
|
export { PinInputContext as Context, type PinInputContextProps as ContextProps, } from './pin-input-context';
|
|
3
|
-
export { PinInputControl as Control, type
|
|
4
|
-
export { PinInputHiddenInput as HiddenInput, type
|
|
5
|
-
export { PinInputInput as Input, type
|
|
6
|
-
export { PinInputLabel as Label, type
|
|
7
|
-
export { PinInputRoot as Root, type
|
|
8
|
-
export { PinInputRootProvider as RootProvider, type
|
|
3
|
+
export { PinInputControl as Control, type PinInputControlBaseProps as ControlBaseProps, type PinInputControlProps as ControlProps, } from './pin-input-control';
|
|
4
|
+
export { PinInputHiddenInput as HiddenInput, type PinInputHiddenInputBaseProps as HiddenInputBaseProps, type PinInputHiddenInputProps as HiddenInputProps, } from './pin-input-hidden-input';
|
|
5
|
+
export { PinInputInput as Input, type PinInputInputBaseProps as InputBaseProps, type PinInputInputProps as InputProps, } from './pin-input-input';
|
|
6
|
+
export { PinInputLabel as Label, type PinInputLabelBaseProps as LabelBaseProps, type PinInputLabelProps as LabelProps, } from './pin-input-label';
|
|
7
|
+
export { PinInputRoot as Root, type PinInputRootBaseProps as RootBaseProps, type PinInputRootProps as RootProps, } from './pin-input-root';
|
|
8
|
+
export { PinInputRootProvider as RootProvider, type PinInputRootProviderBaseProps as RootProviderBaseProps, type PinInputRootProviderProps as RootProviderProps, } from './pin-input-root-provider';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { ValueChangeDetails, ValueInvalidDetails } from '@zag-js/pin-input';
|
|
2
2
|
export { PinInputContext as Context, type PinInputContextProps as ContextProps, } from './pin-input-context';
|
|
3
|
-
export { PinInputControl as Control, type
|
|
4
|
-
export { PinInputHiddenInput as HiddenInput, type
|
|
5
|
-
export { PinInputInput as Input, type
|
|
6
|
-
export { PinInputLabel as Label, type
|
|
7
|
-
export { PinInputRoot as Root, type
|
|
8
|
-
export { PinInputRootProvider as RootProvider, type
|
|
3
|
+
export { PinInputControl as Control, type PinInputControlBaseProps as ControlBaseProps, type PinInputControlProps as ControlProps, } from './pin-input-control';
|
|
4
|
+
export { PinInputHiddenInput as HiddenInput, type PinInputHiddenInputBaseProps as HiddenInputBaseProps, type PinInputHiddenInputProps as HiddenInputProps, } from './pin-input-hidden-input';
|
|
5
|
+
export { PinInputInput as Input, type PinInputInputBaseProps as InputBaseProps, type PinInputInputProps as InputProps, } from './pin-input-input';
|
|
6
|
+
export { PinInputLabel as Label, type PinInputLabelBaseProps as LabelBaseProps, type PinInputLabelProps as LabelProps, } from './pin-input-label';
|
|
7
|
+
export { PinInputRoot as Root, type PinInputRootBaseProps as RootBaseProps, type PinInputRootProps as RootProps, } from './pin-input-root';
|
|
8
|
+
export { PinInputRootProvider as RootProvider, type PinInputRootProviderBaseProps as RootProviderBaseProps, type PinInputRootProviderProps as RootProviderProps, } from './pin-input-root-provider';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export type { OpenChangeDetails as PopoverOpenChangeDetails } from '@zag-js/popover';
|
|
2
2
|
export { PopoverAnchor, type PopoverAnchorBaseProps, type PopoverAnchorProps, } from './popover-anchor';
|
|
3
|
-
export { PopoverArrow, type PopoverArrowBaseProps, type PopoverArrowProps
|
|
3
|
+
export { PopoverArrow, type PopoverArrowBaseProps, type PopoverArrowProps } from './popover-arrow';
|
|
4
4
|
export { PopoverArrowTip, type PopoverArrowTipBaseProps, type PopoverArrowTipProps, } from './popover-arrow-tip';
|
|
5
5
|
export { PopoverCloseTrigger, type PopoverCloseTriggerBaseProps, type PopoverCloseTriggerProps, } from './popover-close-trigger';
|
|
6
6
|
export { PopoverContent, type PopoverContentBaseProps, type PopoverContentProps, } from './popover-content';
|
|
7
|
-
export { PopoverContext, type PopoverContextProps
|
|
7
|
+
export { PopoverContext, type PopoverContextProps } from './popover-context';
|
|
8
8
|
export { PopoverDescription, type PopoverDescriptionBaseProps, type PopoverDescriptionProps, } from './popover-description';
|
|
9
9
|
export { PopoverIndicator, type PopoverIndicatorBaseProps, type PopoverIndicatorProps, } from './popover-indicator';
|
|
10
10
|
export { PopoverPositioner, type PopoverPositionerBaseProps, type PopoverPositionerProps, } from './popover-positioner';
|
|
11
|
-
export { PopoverRoot, type PopoverRootBaseProps, type PopoverRootProps
|
|
11
|
+
export { PopoverRoot, type PopoverRootBaseProps, type PopoverRootProps } from './popover-root';
|
|
12
12
|
export { PopoverRootProvider, type PopoverRootProviderBaseProps, type PopoverRootProviderProps, } from './popover-root-provider';
|
|
13
|
-
export { PopoverTitle, type PopoverTitleBaseProps, type PopoverTitleProps
|
|
13
|
+
export { PopoverTitle, type PopoverTitleBaseProps, type PopoverTitleProps } from './popover-title';
|
|
14
14
|
export { PopoverTrigger, type PopoverTriggerBaseProps, type PopoverTriggerProps, } from './popover-trigger';
|
|
15
15
|
export { popoverAnatomy } from './popover.anatomy';
|
|
16
16
|
export { usePopover, type UsePopoverProps, type UsePopoverReturn } from './use-popover';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export type { OpenChangeDetails as PopoverOpenChangeDetails } from '@zag-js/popover';
|
|
2
2
|
export { PopoverAnchor, type PopoverAnchorBaseProps, type PopoverAnchorProps, } from './popover-anchor';
|
|
3
|
-
export { PopoverArrow, type PopoverArrowBaseProps, type PopoverArrowProps
|
|
3
|
+
export { PopoverArrow, type PopoverArrowBaseProps, type PopoverArrowProps } from './popover-arrow';
|
|
4
4
|
export { PopoverArrowTip, type PopoverArrowTipBaseProps, type PopoverArrowTipProps, } from './popover-arrow-tip';
|
|
5
5
|
export { PopoverCloseTrigger, type PopoverCloseTriggerBaseProps, type PopoverCloseTriggerProps, } from './popover-close-trigger';
|
|
6
6
|
export { PopoverContent, type PopoverContentBaseProps, type PopoverContentProps, } from './popover-content';
|
|
7
|
-
export { PopoverContext, type PopoverContextProps
|
|
7
|
+
export { PopoverContext, type PopoverContextProps } from './popover-context';
|
|
8
8
|
export { PopoverDescription, type PopoverDescriptionBaseProps, type PopoverDescriptionProps, } from './popover-description';
|
|
9
9
|
export { PopoverIndicator, type PopoverIndicatorBaseProps, type PopoverIndicatorProps, } from './popover-indicator';
|
|
10
10
|
export { PopoverPositioner, type PopoverPositionerBaseProps, type PopoverPositionerProps, } from './popover-positioner';
|
|
11
|
-
export { PopoverRoot, type PopoverRootBaseProps, type PopoverRootProps
|
|
11
|
+
export { PopoverRoot, type PopoverRootBaseProps, type PopoverRootProps } from './popover-root';
|
|
12
12
|
export { PopoverRootProvider, type PopoverRootProviderBaseProps, type PopoverRootProviderProps, } from './popover-root-provider';
|
|
13
|
-
export { PopoverTitle, type PopoverTitleBaseProps, type PopoverTitleProps
|
|
13
|
+
export { PopoverTitle, type PopoverTitleBaseProps, type PopoverTitleProps } from './popover-title';
|
|
14
14
|
export { PopoverTrigger, type PopoverTriggerBaseProps, type PopoverTriggerProps, } from './popover-trigger';
|
|
15
15
|
export { popoverAnatomy } from './popover.anatomy';
|
|
16
16
|
export { usePopover, type UsePopoverProps, type UsePopoverReturn } from './use-popover';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export type { OpenChangeDetails } from '@zag-js/popover';
|
|
2
|
-
export { PopoverAnchor as Anchor, type
|
|
3
|
-
export { PopoverArrow as Arrow, type
|
|
4
|
-
export { PopoverArrowTip as ArrowTip, type
|
|
5
|
-
export { PopoverCloseTrigger as CloseTrigger, type
|
|
6
|
-
export { PopoverContent as Content, type
|
|
2
|
+
export { PopoverAnchor as Anchor, type PopoverAnchorBaseProps as AnchorBaseProps, type PopoverAnchorProps as AnchorProps, } from './popover-anchor';
|
|
3
|
+
export { PopoverArrow as Arrow, type PopoverArrowBaseProps as ArrowBaseProps, type PopoverArrowProps as ArrowProps, } from './popover-arrow';
|
|
4
|
+
export { PopoverArrowTip as ArrowTip, type PopoverArrowTipBaseProps as ArrowTipBaseProps, type PopoverArrowTipProps as ArrowTipProps, } from './popover-arrow-tip';
|
|
5
|
+
export { PopoverCloseTrigger as CloseTrigger, type PopoverCloseTriggerBaseProps as CloseTriggerBaseProps, type PopoverCloseTriggerProps as CloseTriggerProps, } from './popover-close-trigger';
|
|
6
|
+
export { PopoverContent as Content, type PopoverContentBaseProps as ContentBaseProps, type PopoverContentProps as ContentProps, } from './popover-content';
|
|
7
7
|
export { PopoverContext as Context, type PopoverContextProps as ContextProps, } from './popover-context';
|
|
8
|
-
export { PopoverDescription as Description, type
|
|
9
|
-
export { PopoverIndicator as Indicator, type
|
|
10
|
-
export { PopoverPositioner as Positioner, type
|
|
11
|
-
export { PopoverRoot as Root, type
|
|
12
|
-
export { PopoverRootProvider as RootProvider, type
|
|
13
|
-
export { PopoverTitle as Title, type
|
|
14
|
-
export { PopoverTrigger as Trigger, type
|
|
8
|
+
export { PopoverDescription as Description, type PopoverDescriptionBaseProps as DescriptionBaseProps, type PopoverDescriptionProps as DescriptionProps, } from './popover-description';
|
|
9
|
+
export { PopoverIndicator as Indicator, type PopoverIndicatorBaseProps as IndicatorBaseProps, type PopoverIndicatorProps as IndicatorProps, } from './popover-indicator';
|
|
10
|
+
export { PopoverPositioner as Positioner, type PopoverPositionerBaseProps as PositionerBaseProps, type PopoverPositionerProps as PositionerProps, } from './popover-positioner';
|
|
11
|
+
export { PopoverRoot as Root, type PopoverRootBaseProps as RootBaseProps, type PopoverRootProps as RootProps, } from './popover-root';
|
|
12
|
+
export { PopoverRootProvider as RootProvider, type PopoverRootProviderBaseProps as RootProviderBaseProps, type PopoverRootProviderProps as RootProviderProps, } from './popover-root-provider';
|
|
13
|
+
export { PopoverTitle as Title, type PopoverTitleBaseProps as TitleBaseProps, type PopoverTitleProps as TitleProps, } from './popover-title';
|
|
14
|
+
export { PopoverTrigger as Trigger, type PopoverTriggerBaseProps as TriggerBaseProps, type PopoverTriggerProps as TriggerProps, } from './popover-trigger';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export type { OpenChangeDetails } from '@zag-js/popover';
|
|
2
|
-
export { PopoverAnchor as Anchor, type
|
|
3
|
-
export { PopoverArrow as Arrow, type
|
|
4
|
-
export { PopoverArrowTip as ArrowTip, type
|
|
5
|
-
export { PopoverCloseTrigger as CloseTrigger, type
|
|
6
|
-
export { PopoverContent as Content, type
|
|
2
|
+
export { PopoverAnchor as Anchor, type PopoverAnchorBaseProps as AnchorBaseProps, type PopoverAnchorProps as AnchorProps, } from './popover-anchor';
|
|
3
|
+
export { PopoverArrow as Arrow, type PopoverArrowBaseProps as ArrowBaseProps, type PopoverArrowProps as ArrowProps, } from './popover-arrow';
|
|
4
|
+
export { PopoverArrowTip as ArrowTip, type PopoverArrowTipBaseProps as ArrowTipBaseProps, type PopoverArrowTipProps as ArrowTipProps, } from './popover-arrow-tip';
|
|
5
|
+
export { PopoverCloseTrigger as CloseTrigger, type PopoverCloseTriggerBaseProps as CloseTriggerBaseProps, type PopoverCloseTriggerProps as CloseTriggerProps, } from './popover-close-trigger';
|
|
6
|
+
export { PopoverContent as Content, type PopoverContentBaseProps as ContentBaseProps, type PopoverContentProps as ContentProps, } from './popover-content';
|
|
7
7
|
export { PopoverContext as Context, type PopoverContextProps as ContextProps, } from './popover-context';
|
|
8
|
-
export { PopoverDescription as Description, type
|
|
9
|
-
export { PopoverIndicator as Indicator, type
|
|
10
|
-
export { PopoverPositioner as Positioner, type
|
|
11
|
-
export { PopoverRoot as Root, type
|
|
12
|
-
export { PopoverRootProvider as RootProvider, type
|
|
13
|
-
export { PopoverTitle as Title, type
|
|
14
|
-
export { PopoverTrigger as Trigger, type
|
|
8
|
+
export { PopoverDescription as Description, type PopoverDescriptionBaseProps as DescriptionBaseProps, type PopoverDescriptionProps as DescriptionProps, } from './popover-description';
|
|
9
|
+
export { PopoverIndicator as Indicator, type PopoverIndicatorBaseProps as IndicatorBaseProps, type PopoverIndicatorProps as IndicatorProps, } from './popover-indicator';
|
|
10
|
+
export { PopoverPositioner as Positioner, type PopoverPositionerBaseProps as PositionerBaseProps, type PopoverPositionerProps as PositionerProps, } from './popover-positioner';
|
|
11
|
+
export { PopoverRoot as Root, type PopoverRootBaseProps as RootBaseProps, type PopoverRootProps as RootProps, } from './popover-root';
|
|
12
|
+
export { PopoverRootProvider as RootProvider, type PopoverRootProviderBaseProps as RootProviderBaseProps, type PopoverRootProviderProps as RootProviderProps, } from './popover-root-provider';
|
|
13
|
+
export { PopoverTitle as Title, type PopoverTitleBaseProps as TitleBaseProps, type PopoverTitleProps as TitleProps, } from './popover-title';
|
|
14
|
+
export { PopoverTrigger as Trigger, type PopoverTriggerBaseProps as TriggerBaseProps, type PopoverTriggerProps as TriggerProps, } from './popover-trigger';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Portal, type PortalProps
|
|
1
|
+
export { Portal, type PortalProps } from './portal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Portal, type PortalProps
|
|
1
|
+
export { Portal, type PortalProps } from './portal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, RefObject } from 'react';
|
|
2
2
|
export interface PortalProps {
|
|
3
3
|
disabled?: boolean;
|
|
4
|
-
container?: RefObject<HTMLElement>;
|
|
4
|
+
container?: RefObject<HTMLElement | null>;
|
|
5
5
|
}
|
|
6
6
|
export declare const Portal: (props: PropsWithChildren<PortalProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, RefObject } from 'react';
|
|
2
2
|
export interface PortalProps {
|
|
3
3
|
disabled?: boolean;
|
|
4
|
-
container?: RefObject<HTMLElement>;
|
|
4
|
+
container?: RefObject<HTMLElement | null>;
|
|
5
5
|
}
|
|
6
6
|
export declare const Portal: (props: PropsWithChildren<PortalProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Presence, type PresenceBaseProps, type PresenceProps
|
|
1
|
+
export { Presence, type PresenceBaseProps, type PresenceProps } from './presence';
|
|
2
2
|
export { splitPresenceProps } from './split-presence-props';
|
|
3
3
|
export { usePresence, type UsePresenceProps, type UsePresenceReturn } from './use-presence';
|
|
4
4
|
export { PresenceProvider, usePresenceContext, type UsePresenceContext, } from './use-presence-context';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Presence, type PresenceBaseProps, type PresenceProps
|
|
1
|
+
export { Presence, type PresenceBaseProps, type PresenceProps } from './presence';
|
|
2
2
|
export { splitPresenceProps } from './split-presence-props';
|
|
3
3
|
export { usePresence, type UsePresenceProps, type UsePresenceReturn } from './use-presence';
|
|
4
4
|
export { PresenceProvider, usePresenceContext, type UsePresenceContext, } from './use-presence-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const RootProvider: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const RootProvider: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { ProgressCircle, type ProgressCircleBaseProps, type ProgressCircleProps, } from './progress-circle';
|
|
2
2
|
export { ProgressCircleRange, type ProgressCircleRangeBaseProps, type ProgressCircleRangeProps, } from './progress-circle-range';
|
|
3
3
|
export { ProgressCircleTrack, type ProgressCircleTrackBaseProps, type ProgressCircleTrackProps, } from './progress-circle-track';
|
|
4
|
-
export { ProgressContext, type ProgressContextProps
|
|
4
|
+
export { ProgressContext, type ProgressContextProps } from './progress-context';
|
|
5
5
|
export { ProgressLabel, type ProgressLabelBaseProps, type ProgressLabelProps, } from './progress-label';
|
|
6
6
|
export { ProgressRange, type ProgressRangeBaseProps, type ProgressRangeProps, } from './progress-range';
|
|
7
|
-
export { ProgressRoot, type ProgressRootBaseProps, type ProgressRootProps
|
|
7
|
+
export { ProgressRoot, type ProgressRootBaseProps, type ProgressRootProps } from './progress-root';
|
|
8
8
|
export { ProgressRootProvider, type ProgressRootProviderBaseProps, type ProgressRootProviderProps, } from './progress-root-provider';
|
|
9
9
|
export { ProgressTrack, type ProgressTrackBaseProps, type ProgressTrackProps, } from './progress-track';
|
|
10
10
|
export { ProgressValueText, type ProgressValueTextBaseProps, type ProgressValueTextProps, } from './progress-value-text';
|
|
11
|
-
export { ProgressView, type ProgressViewBaseProps, type ProgressViewProps
|
|
11
|
+
export { ProgressView, type ProgressViewBaseProps, type ProgressViewProps } from './progress-view';
|
|
12
12
|
export { progressAnatomy } from './progress.anatomy';
|
|
13
13
|
export { useProgress, type UseProgressProps, type UseProgressReturn } from './use-progress';
|
|
14
14
|
export { useProgressContext, type UseProgressContext } from './use-progress-context';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { ProgressCircle, type ProgressCircleBaseProps, type ProgressCircleProps, } from './progress-circle';
|
|
2
2
|
export { ProgressCircleRange, type ProgressCircleRangeBaseProps, type ProgressCircleRangeProps, } from './progress-circle-range';
|
|
3
3
|
export { ProgressCircleTrack, type ProgressCircleTrackBaseProps, type ProgressCircleTrackProps, } from './progress-circle-track';
|
|
4
|
-
export { ProgressContext, type ProgressContextProps
|
|
4
|
+
export { ProgressContext, type ProgressContextProps } from './progress-context';
|
|
5
5
|
export { ProgressLabel, type ProgressLabelBaseProps, type ProgressLabelProps, } from './progress-label';
|
|
6
6
|
export { ProgressRange, type ProgressRangeBaseProps, type ProgressRangeProps, } from './progress-range';
|
|
7
|
-
export { ProgressRoot, type ProgressRootBaseProps, type ProgressRootProps
|
|
7
|
+
export { ProgressRoot, type ProgressRootBaseProps, type ProgressRootProps } from './progress-root';
|
|
8
8
|
export { ProgressRootProvider, type ProgressRootProviderBaseProps, type ProgressRootProviderProps, } from './progress-root-provider';
|
|
9
9
|
export { ProgressTrack, type ProgressTrackBaseProps, type ProgressTrackProps, } from './progress-track';
|
|
10
10
|
export { ProgressValueText, type ProgressValueTextBaseProps, type ProgressValueTextProps, } from './progress-value-text';
|
|
11
|
-
export { ProgressView, type ProgressViewBaseProps, type ProgressViewProps
|
|
11
|
+
export { ProgressView, type ProgressViewBaseProps, type ProgressViewProps } from './progress-view';
|
|
12
12
|
export { progressAnatomy } from './progress.anatomy';
|
|
13
13
|
export { useProgress, type UseProgressProps, type UseProgressReturn } from './use-progress';
|
|
14
14
|
export { useProgressContext, type UseProgressContext } from './use-progress-context';
|
|
@@ -13,10 +13,12 @@ const useProgressContext = require('./use-progress-context.cjs');
|
|
|
13
13
|
|
|
14
14
|
const ProgressRoot = react.forwardRef((props, ref) => {
|
|
15
15
|
const [progressProps, localProps] = createSplitProps.createSplitProps()(props, [
|
|
16
|
+
"defaultValue",
|
|
16
17
|
"id",
|
|
17
18
|
"ids",
|
|
18
19
|
"max",
|
|
19
20
|
"min",
|
|
21
|
+
"onValueChange",
|
|
20
22
|
"orientation",
|
|
21
23
|
"translations",
|
|
22
24
|
"value"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Assign } from '../../types';
|
|
1
2
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
2
3
|
import { UseProgressProps } from './use-progress';
|
|
3
4
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
5
|
export interface ProgressRootBaseProps extends UseProgressProps, PolymorphicProps {
|
|
5
6
|
}
|
|
6
|
-
export interface ProgressRootProps extends HTMLProps<'div'>, ProgressRootBaseProps {
|
|
7
|
+
export interface ProgressRootProps extends Assign<HTMLProps<'div'>, ProgressRootBaseProps> {
|
|
7
8
|
}
|
|
8
9
|
export declare const ProgressRoot: ForwardRefExoticComponent<ProgressRootProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Assign } from '../../types';
|
|
1
2
|
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
2
3
|
import { UseProgressProps } from './use-progress';
|
|
3
4
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
5
|
export interface ProgressRootBaseProps extends UseProgressProps, PolymorphicProps {
|
|
5
6
|
}
|
|
6
|
-
export interface ProgressRootProps extends HTMLProps<'div'>, ProgressRootBaseProps {
|
|
7
|
+
export interface ProgressRootProps extends Assign<HTMLProps<'div'>, ProgressRootBaseProps> {
|
|
7
8
|
}
|
|
8
9
|
export declare const ProgressRoot: ForwardRefExoticComponent<ProgressRootProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -9,10 +9,12 @@ import { ProgressProvider } from './use-progress-context.js';
|
|
|
9
9
|
|
|
10
10
|
const ProgressRoot = forwardRef((props, ref) => {
|
|
11
11
|
const [progressProps, localProps] = createSplitProps()(props, [
|
|
12
|
+
"defaultValue",
|
|
12
13
|
"id",
|
|
13
14
|
"ids",
|
|
14
15
|
"max",
|
|
15
16
|
"min",
|
|
17
|
+
"onValueChange",
|
|
16
18
|
"orientation",
|
|
17
19
|
"translations",
|
|
18
20
|
"value"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ProgressCircle as Circle, type
|
|
2
|
-
export { ProgressCircleRange as CircleRange, type
|
|
3
|
-
export { ProgressCircleTrack as CircleTrack, type
|
|
1
|
+
export { ProgressCircle as Circle, type ProgressCircleBaseProps as CircleBaseProps, type ProgressCircleProps as CircleProps, } from './progress-circle';
|
|
2
|
+
export { ProgressCircleRange as CircleRange, type ProgressCircleRangeBaseProps as CircleRangeBaseProps, type ProgressCircleRangeProps as CircleRangeProps, } from './progress-circle-range';
|
|
3
|
+
export { ProgressCircleTrack as CircleTrack, type ProgressCircleTrackBaseProps as CircleTrackBaseProps, type ProgressCircleTrackProps as CircleTrackProps, } from './progress-circle-track';
|
|
4
4
|
export { ProgressContext as Context, type ProgressContextProps as ContextProps, } from './progress-context';
|
|
5
|
-
export { ProgressLabel as Label, type
|
|
6
|
-
export { ProgressRange as Range, type
|
|
7
|
-
export { ProgressRoot as Root, type
|
|
8
|
-
export { ProgressRootProvider as RootProvider, type
|
|
9
|
-
export { ProgressTrack as Track, type
|
|
10
|
-
export { ProgressValueText as ValueText, type
|
|
11
|
-
export { ProgressView as View, type
|
|
5
|
+
export { ProgressLabel as Label, type ProgressLabelBaseProps as LabelBaseProps, type ProgressLabelProps as LabelProps, } from './progress-label';
|
|
6
|
+
export { ProgressRange as Range, type ProgressRangeBaseProps as RangeBaseProps, type ProgressRangeProps as RangeProps, } from './progress-range';
|
|
7
|
+
export { ProgressRoot as Root, type ProgressRootBaseProps as RootBaseProps, type ProgressRootProps as RootProps, } from './progress-root';
|
|
8
|
+
export { ProgressRootProvider as RootProvider, type ProgressRootProviderBaseProps as RootProviderBaseProps, type ProgressRootProviderProps as RootProviderProps, } from './progress-root-provider';
|
|
9
|
+
export { ProgressTrack as Track, type ProgressTrackBaseProps as TrackBaseProps, type ProgressTrackProps as TrackProps, } from './progress-track';
|
|
10
|
+
export { ProgressValueText as ValueText, type ProgressValueTextBaseProps as ValueTextBaseProps, type ProgressValueTextProps as ValueTextProps, } from './progress-value-text';
|
|
11
|
+
export { ProgressView as View, type ProgressViewBaseProps as ViewBaseProps, type ProgressViewProps as ViewProps, } from './progress-view';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ProgressCircle as Circle, type
|
|
2
|
-
export { ProgressCircleRange as CircleRange, type
|
|
3
|
-
export { ProgressCircleTrack as CircleTrack, type
|
|
1
|
+
export { ProgressCircle as Circle, type ProgressCircleBaseProps as CircleBaseProps, type ProgressCircleProps as CircleProps, } from './progress-circle';
|
|
2
|
+
export { ProgressCircleRange as CircleRange, type ProgressCircleRangeBaseProps as CircleRangeBaseProps, type ProgressCircleRangeProps as CircleRangeProps, } from './progress-circle-range';
|
|
3
|
+
export { ProgressCircleTrack as CircleTrack, type ProgressCircleTrackBaseProps as CircleTrackBaseProps, type ProgressCircleTrackProps as CircleTrackProps, } from './progress-circle-track';
|
|
4
4
|
export { ProgressContext as Context, type ProgressContextProps as ContextProps, } from './progress-context';
|
|
5
|
-
export { ProgressLabel as Label, type
|
|
6
|
-
export { ProgressRange as Range, type
|
|
7
|
-
export { ProgressRoot as Root, type
|
|
8
|
-
export { ProgressRootProvider as RootProvider, type
|
|
9
|
-
export { ProgressTrack as Track, type
|
|
10
|
-
export { ProgressValueText as ValueText, type
|
|
11
|
-
export { ProgressView as View, type
|
|
5
|
+
export { ProgressLabel as Label, type ProgressLabelBaseProps as LabelBaseProps, type ProgressLabelProps as LabelProps, } from './progress-label';
|
|
6
|
+
export { ProgressRange as Range, type ProgressRangeBaseProps as RangeBaseProps, type ProgressRangeProps as RangeProps, } from './progress-range';
|
|
7
|
+
export { ProgressRoot as Root, type ProgressRootBaseProps as RootBaseProps, type ProgressRootProps as RootProps, } from './progress-root';
|
|
8
|
+
export { ProgressRootProvider as RootProvider, type ProgressRootProviderBaseProps as RootProviderBaseProps, type ProgressRootProviderProps as RootProviderProps, } from './progress-root-provider';
|
|
9
|
+
export { ProgressTrack as Track, type ProgressTrackBaseProps as TrackBaseProps, type ProgressTrackProps as TrackProps, } from './progress-track';
|
|
10
|
+
export { ProgressValueText as ValueText, type ProgressValueTextBaseProps as ValueTextBaseProps, type ProgressValueTextProps as ValueTextProps, } from './progress-value-text';
|
|
11
|
+
export { ProgressView as View, type ProgressViewBaseProps as ViewBaseProps, type ProgressViewProps as ViewProps, } from './progress-view';
|
|
@@ -8,6 +8,7 @@ const react$1 = require('@zag-js/react');
|
|
|
8
8
|
const react = require('react');
|
|
9
9
|
const useEnvironmentContext = require('../../providers/environment/use-environment-context.cjs');
|
|
10
10
|
const useLocaleContext = require('../../providers/locale/use-locale-context.cjs');
|
|
11
|
+
const useEvent = require('../../utils/use-event.cjs');
|
|
11
12
|
|
|
12
13
|
function _interopNamespaceDefault(e) {
|
|
13
14
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
@@ -35,11 +36,13 @@ const useProgress = (props = {}) => {
|
|
|
35
36
|
id: react.useId(),
|
|
36
37
|
dir,
|
|
37
38
|
getRootNode,
|
|
39
|
+
value: props.defaultValue,
|
|
38
40
|
...props
|
|
39
41
|
};
|
|
40
42
|
const context = {
|
|
41
43
|
...initialContext,
|
|
42
|
-
value: props.value
|
|
44
|
+
value: props.value,
|
|
45
|
+
onValueChange: useEvent.useEvent(props.onValueChange, { sync: true })
|
|
43
46
|
};
|
|
44
47
|
const [state, send] = react$1.useMachine(progress__namespace.machine(initialContext), { context });
|
|
45
48
|
return progress__namespace.connect(state, send, react$1.normalizeProps);
|
|
@@ -2,6 +2,11 @@ import { PropTypes } from '@zag-js/react';
|
|
|
2
2
|
import { Optional } from '../../types';
|
|
3
3
|
import * as progress from '@zag-js/progress';
|
|
4
4
|
export interface UseProgressProps extends Optional<Omit<progress.Context, 'dir' | 'getRootNode'>, 'id'> {
|
|
5
|
+
/**
|
|
6
|
+
* The initial value of the progress when it is first rendered.
|
|
7
|
+
* Use when you do not need to control the state of the progress.
|
|
8
|
+
*/
|
|
9
|
+
defaultValue?: progress.Context['value'];
|
|
5
10
|
}
|
|
6
11
|
export interface UseProgressReturn extends progress.Api<PropTypes> {
|
|
7
12
|
}
|
|
@@ -2,6 +2,11 @@ import { PropTypes } from '@zag-js/react';
|
|
|
2
2
|
import { Optional } from '../../types';
|
|
3
3
|
import * as progress from '@zag-js/progress';
|
|
4
4
|
export interface UseProgressProps extends Optional<Omit<progress.Context, 'dir' | 'getRootNode'>, 'id'> {
|
|
5
|
+
/**
|
|
6
|
+
* The initial value of the progress when it is first rendered.
|
|
7
|
+
* Use when you do not need to control the state of the progress.
|
|
8
|
+
*/
|
|
9
|
+
defaultValue?: progress.Context['value'];
|
|
5
10
|
}
|
|
6
11
|
export interface UseProgressReturn extends progress.Api<PropTypes> {
|
|
7
12
|
}
|
|
@@ -4,6 +4,7 @@ import { useMachine, normalizeProps } from '@zag-js/react';
|
|
|
4
4
|
import { useId } from 'react';
|
|
5
5
|
import { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';
|
|
6
6
|
import { useLocaleContext } from '../../providers/locale/use-locale-context.js';
|
|
7
|
+
import { useEvent } from '../../utils/use-event.js';
|
|
7
8
|
|
|
8
9
|
const useProgress = (props = {}) => {
|
|
9
10
|
const { getRootNode } = useEnvironmentContext();
|
|
@@ -12,11 +13,13 @@ const useProgress = (props = {}) => {
|
|
|
12
13
|
id: useId(),
|
|
13
14
|
dir,
|
|
14
15
|
getRootNode,
|
|
16
|
+
value: props.defaultValue,
|
|
15
17
|
...props
|
|
16
18
|
};
|
|
17
19
|
const context = {
|
|
18
20
|
...initialContext,
|
|
19
|
-
value: props.value
|
|
21
|
+
value: props.value,
|
|
22
|
+
onValueChange: useEvent(props.onValueChange, { sync: true })
|
|
20
23
|
};
|
|
21
24
|
const [state, send] = useMachine(progress.machine(initialContext), { context });
|
|
22
25
|
return progress.connect(state, send, normalizeProps);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const qrCodeContext = require('./qr-code-context.cjs');
|
|
6
|
+
const qrCodeDownloadTrigger = require('./qr-code-download-trigger.cjs');
|
|
6
7
|
const qrCodeFrame = require('./qr-code-frame.cjs');
|
|
7
8
|
const qrCodeOverlay = require('./qr-code-overlay.cjs');
|
|
8
9
|
const qrCodePattern = require('./qr-code-pattern.cjs');
|
|
@@ -16,6 +17,7 @@ const qrcode = require('@zag-js/qr-code');
|
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
exports.QrCodeContext = qrCodeContext.QrCodeContext;
|
|
20
|
+
exports.QrCodeDownloadTrigger = qrCodeDownloadTrigger.QrCodeDownloadTrigger;
|
|
19
21
|
exports.QrCodeFrame = qrCodeFrame.QrCodeFrame;
|
|
20
22
|
exports.QrCodeOverlay = qrCodeOverlay.QrCodeOverlay;
|
|
21
23
|
exports.QrCodePattern = qrCodePattern.QrCodePattern;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export type { QrCodeGenerateOptions, QrCodeGenerateResult } from '@zag-js/qr-code';
|
|
2
|
-
export { QrCodeContext, type QrCodeContextProps
|
|
3
|
-
export {
|
|
2
|
+
export { QrCodeContext, type QrCodeContextProps } from './qr-code-context';
|
|
3
|
+
export { QrCodeDownloadTrigger, type QrCodeDownloadTriggerBaseProps, type QrCodeDownloadTriggerProps, } from './qr-code-download-trigger';
|
|
4
|
+
export { QrCodeFrame, type QrCodeFrameBaseProps, type QrCodeFrameProps } from './qr-code-frame';
|
|
4
5
|
export { QrCodeOverlay, type QrCodeOverlayBaseProps, type QrCodeOverlayProps, } from './qr-code-overlay';
|
|
5
6
|
export { QrCodePattern, type QrCodePatternBaseProps, type QrCodePatternProps, } from './qr-code-pattern';
|
|
6
|
-
export { QrCodeRoot, type QrCodeRootBaseProps, type QrCodeRootProps
|
|
7
|
+
export { QrCodeRoot, type QrCodeRootBaseProps, type QrCodeRootProps } from './qr-code-root';
|
|
7
8
|
export { QrCodeRootProvider, type QrCodeRootProviderBaseProps, type QrCodeRootProviderProps, } from './qr-code-root-provider';
|
|
8
9
|
export { qrCodeAnatomy } from './qr-code.anatomy';
|
|
9
10
|
export { useQrCode, type UseQrCodeProps, type UseQrCodeReturn } from './use-qr-code';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export type { QrCodeGenerateOptions, QrCodeGenerateResult } from '@zag-js/qr-code';
|
|
2
|
-
export { QrCodeContext, type QrCodeContextProps
|
|
3
|
-
export {
|
|
2
|
+
export { QrCodeContext, type QrCodeContextProps } from './qr-code-context';
|
|
3
|
+
export { QrCodeDownloadTrigger, type QrCodeDownloadTriggerBaseProps, type QrCodeDownloadTriggerProps, } from './qr-code-download-trigger';
|
|
4
|
+
export { QrCodeFrame, type QrCodeFrameBaseProps, type QrCodeFrameProps } from './qr-code-frame';
|
|
4
5
|
export { QrCodeOverlay, type QrCodeOverlayBaseProps, type QrCodeOverlayProps, } from './qr-code-overlay';
|
|
5
6
|
export { QrCodePattern, type QrCodePatternBaseProps, type QrCodePatternProps, } from './qr-code-pattern';
|
|
6
|
-
export { QrCodeRoot, type QrCodeRootBaseProps, type QrCodeRootProps
|
|
7
|
+
export { QrCodeRoot, type QrCodeRootBaseProps, type QrCodeRootProps } from './qr-code-root';
|
|
7
8
|
export { QrCodeRootProvider, type QrCodeRootProviderBaseProps, type QrCodeRootProviderProps, } from './qr-code-root-provider';
|
|
8
9
|
export { qrCodeAnatomy } from './qr-code.anatomy';
|
|
9
10
|
export { useQrCode, type UseQrCodeProps, type UseQrCodeReturn } from './use-qr-code';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { QrCodeContext } from './qr-code-context.js';
|
|
2
|
+
export { QrCodeDownloadTrigger } from './qr-code-download-trigger.js';
|
|
2
3
|
export { QrCodeFrame } from './qr-code-frame.js';
|
|
3
4
|
export { QrCodeOverlay } from './qr-code-overlay.js';
|
|
4
5
|
export { QrCodePattern } from './qr-code-pattern.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
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 useQrCodeContext = require('./use-qr-code-context.cjs');
|
|
12
|
+
|
|
13
|
+
const QrCodeDownloadTrigger = react.forwardRef(
|
|
14
|
+
(props, ref) => {
|
|
15
|
+
const [downloadTriggerProps, localProps] = createSplitProps.createSplitProps()(props, [
|
|
16
|
+
"fileName",
|
|
17
|
+
"mimeType",
|
|
18
|
+
"quality"
|
|
19
|
+
]);
|
|
20
|
+
const qrCode = useQrCodeContext.useQrCodeContext();
|
|
21
|
+
const mergedProps = react$1.mergeProps(qrCode.getDownloadTriggerProps(downloadTriggerProps), localProps);
|
|
22
|
+
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
QrCodeDownloadTrigger.displayName = "QrCodeDownloadTrigger";
|
|
26
|
+
|
|
27
|
+
exports.QrCodeDownloadTrigger = QrCodeDownloadTrigger;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DownloadTriggerProps } from '@zag-js/qr-code';
|
|
2
|
+
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
3
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
|
+
export interface QrCodeDownloadTriggerBaseProps extends DownloadTriggerProps, PolymorphicProps {
|
|
5
|
+
}
|
|
6
|
+
export interface QrCodeDownloadTriggerProps extends HTMLProps<'button'>, QrCodeDownloadTriggerBaseProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const QrCodeDownloadTrigger: ForwardRefExoticComponent<QrCodeDownloadTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DownloadTriggerProps } from '@zag-js/qr-code';
|
|
2
|
+
import { HTMLProps, PolymorphicProps } from '../factory';
|
|
3
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
|
+
export interface QrCodeDownloadTriggerBaseProps extends DownloadTriggerProps, PolymorphicProps {
|
|
5
|
+
}
|
|
6
|
+
export interface QrCodeDownloadTriggerProps extends HTMLProps<'button'>, QrCodeDownloadTriggerBaseProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const QrCodeDownloadTrigger: ForwardRefExoticComponent<QrCodeDownloadTriggerProps & RefAttributes<HTMLButtonElement>>;
|