@ark-ui/react 5.27.1 → 5.29.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 +3 -1
- package/dist/components/accordion/accordion-item.js +3 -1
- package/dist/components/accordion/accordion-root-provider.cjs +2 -1
- package/dist/components/accordion/accordion-root-provider.js +2 -1
- package/dist/components/accordion/accordion-root.cjs +2 -1
- package/dist/components/accordion/accordion-root.js +2 -1
- package/dist/components/anatomy.cjs +7 -5
- package/dist/components/anatomy.d.cts +1 -0
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +2 -1
- package/dist/components/angle-slider/angle-slider-marker.cjs +3 -2
- package/dist/components/angle-slider/angle-slider-marker.js +3 -2
- package/dist/components/angle-slider/angle-slider-root-provider.cjs +2 -1
- package/dist/components/angle-slider/angle-slider-root-provider.js +2 -1
- package/dist/components/angle-slider/angle-slider-root.cjs +2 -1
- package/dist/components/angle-slider/angle-slider-root.js +2 -1
- package/dist/components/avatar/avatar-root-provider.cjs +2 -1
- package/dist/components/avatar/avatar-root-provider.js +2 -1
- package/dist/components/avatar/avatar-root.cjs +2 -1
- package/dist/components/avatar/avatar-root.js +2 -1
- package/dist/components/bottom-sheet/bottom-sheet-content.cjs +2 -1
- package/dist/components/bottom-sheet/bottom-sheet-content.js +2 -1
- package/dist/components/carousel/carousel-autoplay-indicator.cjs +20 -0
- package/dist/components/carousel/carousel-autoplay-indicator.d.cts +11 -0
- package/dist/components/carousel/carousel-autoplay-indicator.d.ts +11 -0
- package/dist/components/carousel/carousel-autoplay-indicator.js +16 -0
- package/dist/components/carousel/carousel-indicator.cjs +2 -1
- package/dist/components/carousel/carousel-indicator.js +2 -1
- package/dist/components/carousel/carousel-item.cjs +2 -1
- package/dist/components/carousel/carousel-item.js +2 -1
- package/dist/components/carousel/carousel-progress-text.cjs +24 -0
- package/dist/components/carousel/carousel-progress-text.d.cts +7 -0
- package/dist/components/carousel/carousel-progress-text.d.ts +7 -0
- package/dist/components/carousel/carousel-progress-text.js +20 -0
- package/dist/components/carousel/carousel-root-provider.cjs +2 -1
- package/dist/components/carousel/carousel-root-provider.js +2 -1
- package/dist/components/carousel/carousel-root.cjs +3 -1
- package/dist/components/carousel/carousel-root.js +3 -1
- package/dist/components/carousel/carousel.anatomy.cjs +10 -0
- package/dist/components/carousel/carousel.anatomy.d.cts +2 -1
- package/dist/components/carousel/carousel.anatomy.d.ts +2 -1
- package/dist/components/carousel/carousel.anatomy.js +6 -0
- package/dist/components/carousel/carousel.cjs +4 -0
- package/dist/components/carousel/carousel.d.cts +2 -0
- package/dist/components/carousel/carousel.d.ts +2 -0
- package/dist/components/carousel/carousel.js +2 -0
- package/dist/components/carousel/index.cjs +8 -7
- package/dist/components/carousel/index.d.cts +2 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/carousel/index.js +3 -1
- package/dist/components/checkbox/checkbox-group-provider.cjs +2 -1
- package/dist/components/checkbox/checkbox-group-provider.js +2 -1
- package/dist/components/checkbox/checkbox-group.cjs +2 -1
- package/dist/components/checkbox/checkbox-group.js +2 -1
- package/dist/components/checkbox/checkbox-root-provider.cjs +2 -1
- package/dist/components/checkbox/checkbox-root-provider.js +2 -1
- package/dist/components/checkbox/checkbox-root.cjs +2 -1
- package/dist/components/checkbox/checkbox-root.js +2 -1
- package/dist/components/checkbox/checkbox.anatomy.d.cts +1 -1
- package/dist/components/checkbox/checkbox.anatomy.d.ts +1 -1
- package/dist/components/clipboard/clipboard-root-provider.cjs +2 -1
- package/dist/components/clipboard/clipboard-root-provider.js +2 -1
- package/dist/components/clipboard/clipboard-root.cjs +2 -1
- package/dist/components/clipboard/clipboard-root.js +2 -1
- package/dist/components/collapsible/collapsible-root-provider.cjs +2 -1
- package/dist/components/collapsible/collapsible-root-provider.js +2 -1
- package/dist/components/collection/use-list-collection.d.cts +1 -1
- package/dist/components/collection/use-list-collection.d.ts +1 -1
- package/dist/components/color-picker/color-picker-area.cjs +2 -1
- package/dist/components/color-picker/color-picker-area.js +2 -1
- package/dist/components/color-picker/color-picker-channel-input.cjs +2 -1
- package/dist/components/color-picker/color-picker-channel-input.js +2 -1
- package/dist/components/color-picker/color-picker-channel-slider.cjs +2 -1
- package/dist/components/color-picker/color-picker-channel-slider.js +2 -1
- package/dist/components/color-picker/color-picker-root-provider.cjs +2 -1
- package/dist/components/color-picker/color-picker-root-provider.js +2 -1
- package/dist/components/color-picker/color-picker-root.cjs +2 -1
- package/dist/components/color-picker/color-picker-root.js +2 -1
- package/dist/components/color-picker/color-picker-swatch-trigger.cjs +2 -1
- package/dist/components/color-picker/color-picker-swatch-trigger.js +2 -1
- package/dist/components/color-picker/color-picker-swatch.cjs +2 -1
- package/dist/components/color-picker/color-picker-swatch.js +2 -1
- package/dist/components/color-picker/color-picker-transparency-grid.cjs +2 -1
- package/dist/components/color-picker/color-picker-transparency-grid.js +2 -1
- package/dist/components/color-picker/color-picker-value-swatch.cjs +2 -1
- package/dist/components/color-picker/color-picker-value-swatch.js +2 -1
- package/dist/components/color-picker/color-picker-view.cjs +2 -1
- package/dist/components/color-picker/color-picker-view.js +2 -1
- package/dist/components/color-picker/color-picker.anatomy.d.cts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.ts +1 -1
- package/dist/components/color-picker/color-picker.d.cts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/combobox/combobox-item-group.cjs +2 -1
- package/dist/components/combobox/combobox-item-group.js +2 -1
- package/dist/components/combobox/combobox-item.cjs +2 -1
- package/dist/components/combobox/combobox-item.js +2 -1
- package/dist/components/combobox/combobox-trigger.cjs +2 -1
- package/dist/components/combobox/combobox-trigger.js +2 -1
- package/dist/components/combobox/combobox.anatomy.d.cts +1 -1
- package/dist/components/combobox/combobox.anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox.d.cts +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/index.d.cts +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/date-picker/date-picker-input.cjs +2 -1
- package/dist/components/date-picker/date-picker-input.js +2 -1
- package/dist/components/date-picker/date-picker-preset-trigger.cjs +2 -1
- package/dist/components/date-picker/date-picker-preset-trigger.js +2 -1
- package/dist/components/date-picker/date-picker-root-provider.cjs +2 -1
- package/dist/components/date-picker/date-picker-root-provider.js +2 -1
- package/dist/components/date-picker/date-picker-root.cjs +2 -1
- package/dist/components/date-picker/date-picker-root.js +2 -1
- package/dist/components/date-picker/date-picker-table-cell.cjs +2 -6
- package/dist/components/date-picker/date-picker-table-cell.js +2 -6
- package/dist/components/date-picker/date-picker-table.cjs +2 -1
- package/dist/components/date-picker/date-picker-table.js +2 -1
- package/dist/components/date-picker/date-picker-view.cjs +2 -1
- package/dist/components/date-picker/date-picker-view.js +2 -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/dialog/dialog.d.cts +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/index.d.cts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/editable/editable-root-provider.cjs +2 -1
- package/dist/components/editable/editable-root-provider.js +2 -1
- package/dist/components/editable/editable-root.cjs +2 -1
- package/dist/components/editable/editable-root.js +2 -1
- package/dist/components/editable/editable.d.cts +1 -1
- package/dist/components/editable/editable.d.ts +1 -1
- package/dist/components/editable/index.d.cts +1 -1
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/field/field-root-provider.cjs +2 -1
- package/dist/components/field/field-root-provider.js +2 -1
- package/dist/components/field/field-root.cjs +2 -1
- package/dist/components/field/field-root.js +2 -1
- package/dist/components/fieldset/fieldset-root-provider.cjs +2 -1
- package/dist/components/fieldset/fieldset-root-provider.js +2 -1
- package/dist/components/fieldset/fieldset-root.cjs +2 -1
- package/dist/components/fieldset/fieldset-root.js +2 -1
- package/dist/components/file-upload/file-upload-dropzone.cjs +2 -1
- package/dist/components/file-upload/file-upload-dropzone.js +2 -1
- package/dist/components/file-upload/file-upload-item-group.cjs +2 -1
- package/dist/components/file-upload/file-upload-item-group.js +2 -1
- package/dist/components/file-upload/file-upload-item.cjs +2 -1
- package/dist/components/file-upload/file-upload-item.js +2 -1
- package/dist/components/file-upload/file-upload-root-provider.cjs +2 -1
- package/dist/components/file-upload/file-upload-root-provider.js +2 -1
- package/dist/components/file-upload/file-upload-root.cjs +2 -1
- package/dist/components/file-upload/file-upload-root.js +2 -1
- package/dist/components/floating-panel/floating-panel-resize-trigger.cjs +2 -1
- package/dist/components/floating-panel/floating-panel-resize-trigger.js +2 -1
- package/dist/components/floating-panel/floating-panel-root-provider.cjs +2 -1
- package/dist/components/floating-panel/floating-panel-root-provider.js +2 -1
- package/dist/components/floating-panel/floating-panel-root.cjs +2 -1
- package/dist/components/floating-panel/floating-panel-root.js +2 -1
- package/dist/components/floating-panel/floating-panel-stage-trigger.cjs +2 -1
- package/dist/components/floating-panel/floating-panel-stage-trigger.js +2 -1
- package/dist/components/focus-trap/focus-trap.cjs +2 -1
- package/dist/components/focus-trap/focus-trap.js +2 -1
- package/dist/components/highlight/highlight.cjs +2 -1
- package/dist/components/highlight/highlight.js +2 -1
- package/dist/components/hover-card/hover-card.d.cts +1 -1
- package/dist/components/hover-card/hover-card.d.ts +1 -1
- package/dist/components/hover-card/index.d.cts +1 -1
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/image-cropper/image-cropper-context.cjs +10 -0
- package/dist/components/image-cropper/image-cropper-context.d.cts +6 -0
- package/dist/components/image-cropper/image-cropper-context.d.ts +6 -0
- package/dist/components/image-cropper/image-cropper-context.js +6 -0
- package/dist/components/image-cropper/image-cropper-grid.cjs +20 -0
- package/dist/components/image-cropper/image-cropper-grid.d.cts +8 -0
- package/dist/components/image-cropper/image-cropper-grid.d.ts +8 -0
- package/dist/components/image-cropper/image-cropper-grid.js +16 -0
- package/dist/components/image-cropper/image-cropper-handle.cjs +20 -0
- package/dist/components/image-cropper/image-cropper-handle.d.cts +8 -0
- package/dist/components/image-cropper/image-cropper-handle.d.ts +8 -0
- package/dist/components/image-cropper/image-cropper-handle.js +16 -0
- package/dist/components/image-cropper/image-cropper-image.cjs +19 -0
- package/dist/components/image-cropper/image-cropper-image.d.cts +7 -0
- package/dist/components/image-cropper/image-cropper-image.d.ts +7 -0
- package/dist/components/image-cropper/image-cropper-image.js +15 -0
- package/dist/components/image-cropper/image-cropper-root-provider.cjs +21 -0
- package/dist/components/image-cropper/image-cropper-root-provider.d.cts +12 -0
- package/dist/components/image-cropper/image-cropper-root-provider.d.ts +12 -0
- package/dist/components/image-cropper/image-cropper-root-provider.js +17 -0
- package/dist/components/image-cropper/image-cropper-root.cjs +52 -0
- package/dist/components/image-cropper/image-cropper-root.d.cts +8 -0
- package/dist/components/image-cropper/image-cropper-root.d.ts +8 -0
- package/dist/components/image-cropper/image-cropper-root.js +48 -0
- package/dist/components/image-cropper/image-cropper-selection.cjs +19 -0
- package/dist/components/image-cropper/image-cropper-selection.d.cts +7 -0
- package/dist/components/image-cropper/image-cropper-selection.d.ts +7 -0
- package/dist/components/image-cropper/image-cropper-selection.js +15 -0
- package/dist/components/image-cropper/image-cropper-viewport.cjs +19 -0
- package/dist/components/image-cropper/image-cropper-viewport.d.cts +7 -0
- package/dist/components/image-cropper/image-cropper-viewport.d.ts +7 -0
- package/dist/components/image-cropper/image-cropper-viewport.js +15 -0
- package/dist/components/image-cropper/image-cropper.anatomy.d.cts +1 -0
- package/dist/components/image-cropper/image-cropper.anatomy.d.ts +1 -0
- package/dist/components/image-cropper/image-cropper.cjs +28 -0
- package/dist/components/image-cropper/image-cropper.d.cts +10 -0
- package/dist/components/image-cropper/image-cropper.d.ts +10 -0
- package/dist/components/image-cropper/image-cropper.js +9 -0
- package/dist/components/image-cropper/index.cjs +34 -0
- package/dist/components/image-cropper/index.d.cts +13 -0
- package/dist/components/image-cropper/index.d.ts +13 -0
- package/dist/components/image-cropper/index.js +13 -0
- package/dist/components/image-cropper/use-image-cropper-context.cjs +15 -0
- package/dist/components/image-cropper/use-image-cropper-context.d.cts +5 -0
- package/dist/components/image-cropper/use-image-cropper-context.d.ts +5 -0
- package/dist/components/image-cropper/use-image-cropper-context.js +10 -0
- package/dist/components/image-cropper/use-image-cropper.cjs +45 -0
- package/dist/components/image-cropper/use-image-cropper.d.cts +8 -0
- package/dist/components/image-cropper/use-image-cropper.d.ts +8 -0
- package/dist/components/image-cropper/use-image-cropper.js +22 -0
- package/dist/components/index.cjs +46 -12
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +18 -2
- package/dist/components/listbox/listbox-input.cjs +2 -1
- package/dist/components/listbox/listbox-input.js +2 -1
- package/dist/components/listbox/listbox-item-group.cjs +2 -1
- package/dist/components/listbox/listbox-item-group.js +2 -1
- package/dist/components/listbox/listbox-item.cjs +2 -1
- package/dist/components/listbox/listbox-item.js +2 -1
- package/dist/components/listbox/listbox.anatomy.d.cts +1 -1
- package/dist/components/listbox/listbox.anatomy.d.ts +1 -1
- package/dist/components/marquee/marquee-edge.cjs +2 -1
- package/dist/components/marquee/marquee-edge.js +2 -1
- package/dist/components/marquee/marquee-root-provider.cjs +2 -1
- package/dist/components/marquee/marquee-root-provider.js +2 -1
- package/dist/components/marquee/marquee-root.cjs +2 -1
- package/dist/components/marquee/marquee-root.js +2 -1
- package/dist/components/menu/index.d.cts +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menu-checkbox-item.cjs +2 -1
- package/dist/components/menu/menu-checkbox-item.js +2 -1
- package/dist/components/menu/menu-item-group.cjs +2 -1
- package/dist/components/menu/menu-item-group.js +2 -1
- package/dist/components/menu/menu-item.cjs +2 -1
- package/dist/components/menu/menu-item.js +2 -1
- package/dist/components/menu/menu-radio-item-group.cjs +2 -5
- package/dist/components/menu/menu-radio-item-group.js +2 -5
- package/dist/components/menu/menu-radio-item.cjs +2 -1
- package/dist/components/menu/menu-radio-item.js +2 -1
- package/dist/components/menu/menu-root.cjs +2 -1
- package/dist/components/menu/menu-root.js +2 -1
- package/dist/components/menu/menu.d.cts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/number-input/number-input-root-provider.cjs +2 -1
- package/dist/components/number-input/number-input-root-provider.js +2 -1
- package/dist/components/number-input/number-input-root.cjs +2 -1
- package/dist/components/number-input/number-input-root.js +2 -1
- package/dist/components/pagination/pagination-ellipsis.cjs +2 -1
- package/dist/components/pagination/pagination-ellipsis.js +2 -1
- package/dist/components/pagination/pagination-item.cjs +2 -1
- package/dist/components/pagination/pagination-item.js +2 -1
- package/dist/components/pagination/pagination-root-provider.cjs +2 -1
- package/dist/components/pagination/pagination-root-provider.js +2 -1
- package/dist/components/pagination/pagination-root.cjs +2 -1
- package/dist/components/pagination/pagination-root.js +2 -1
- package/dist/components/password-input/password-input-root.cjs +2 -1
- package/dist/components/password-input/password-input-root.js +2 -1
- package/dist/components/pin-input/pin-input-input.cjs +2 -1
- package/dist/components/pin-input/pin-input-input.js +2 -1
- package/dist/components/pin-input/pin-input-root-provider.cjs +2 -1
- package/dist/components/pin-input/pin-input-root-provider.js +2 -1
- package/dist/components/pin-input/pin-input-root.cjs +2 -1
- package/dist/components/pin-input/pin-input-root.js +2 -1
- package/dist/components/popover/index.d.cts +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover.d.cts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/progress/progress-root-provider.cjs +2 -1
- package/dist/components/progress/progress-root-provider.js +2 -1
- package/dist/components/progress/progress-root.cjs +2 -1
- package/dist/components/progress/progress-root.js +2 -1
- package/dist/components/progress/progress-view.cjs +2 -1
- package/dist/components/progress/progress-view.js +2 -1
- package/dist/components/qr-code/qr-code-download-trigger.cjs +2 -5
- package/dist/components/qr-code/qr-code-download-trigger.js +2 -5
- package/dist/components/qr-code/qr-code-root-provider.cjs +2 -1
- package/dist/components/qr-code/qr-code-root-provider.js +2 -1
- package/dist/components/qr-code/qr-code-root.cjs +2 -1
- package/dist/components/qr-code/qr-code-root.js +2 -1
- package/dist/components/radio-group/radio-group-item.cjs +2 -1
- package/dist/components/radio-group/radio-group-item.js +2 -1
- package/dist/components/radio-group/radio-group-root-provider.cjs +2 -1
- package/dist/components/radio-group/radio-group-root-provider.js +2 -1
- package/dist/components/radio-group/radio-group-root.cjs +2 -1
- package/dist/components/radio-group/radio-group-root.js +2 -1
- package/dist/components/rating-group/rating-group-item.cjs +2 -1
- package/dist/components/rating-group/rating-group-item.js +2 -1
- package/dist/components/rating-group/rating-group-root-provider.cjs +2 -1
- package/dist/components/rating-group/rating-group-root-provider.js +2 -1
- package/dist/components/rating-group/rating-group-root.cjs +2 -1
- package/dist/components/rating-group/rating-group-root.js +2 -1
- package/dist/components/scroll-area/scroll-area-root-provider.cjs +2 -1
- package/dist/components/scroll-area/scroll-area-root-provider.js +2 -1
- package/dist/components/scroll-area/scroll-area-root.cjs +2 -1
- package/dist/components/scroll-area/scroll-area-root.js +2 -1
- package/dist/components/scroll-area/scroll-area-scrollbar.cjs +2 -1
- package/dist/components/scroll-area/scroll-area-scrollbar.js +2 -1
- package/dist/components/segment-group/segment-group-item.cjs +2 -1
- package/dist/components/segment-group/segment-group-item.js +2 -1
- package/dist/components/segment-group/segment-group-root-provider.cjs +2 -1
- package/dist/components/segment-group/segment-group-root-provider.js +2 -1
- package/dist/components/segment-group/segment-group-root.cjs +2 -1
- package/dist/components/segment-group/segment-group-root.js +2 -1
- package/dist/components/segment-group/segment-group.anatomy.d.cts +2 -2
- package/dist/components/segment-group/segment-group.anatomy.d.ts +2 -2
- package/dist/components/select/index.d.cts +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/select-item-group.cjs +2 -1
- package/dist/components/select/select-item-group.js +2 -1
- package/dist/components/select/select-item.cjs +2 -1
- package/dist/components/select/select-item.js +2 -1
- package/dist/components/select/select.d.cts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/signature-pad/signature-pad-hidden-input.cjs +2 -1
- package/dist/components/signature-pad/signature-pad-hidden-input.js +2 -1
- package/dist/components/signature-pad/signature-pad-root-provider.cjs +2 -1
- package/dist/components/signature-pad/signature-pad-root-provider.js +2 -1
- package/dist/components/signature-pad/signature-pad-root.cjs +2 -1
- package/dist/components/signature-pad/signature-pad-root.js +2 -1
- package/dist/components/slider/slider-marker.cjs +2 -1
- package/dist/components/slider/slider-marker.js +2 -1
- package/dist/components/slider/slider-root-provider.cjs +2 -1
- package/dist/components/slider/slider-root-provider.js +2 -1
- package/dist/components/slider/slider-root.cjs +2 -1
- package/dist/components/slider/slider-root.js +2 -1
- package/dist/components/slider/slider-thumb.cjs +2 -1
- package/dist/components/slider/slider-thumb.js +2 -1
- package/dist/components/splitter/index.cjs +11 -5
- package/dist/components/splitter/index.d.cts +2 -0
- package/dist/components/splitter/index.d.ts +2 -0
- package/dist/components/splitter/index.js +2 -1
- package/dist/components/splitter/splitter-panel.cjs +2 -1
- package/dist/components/splitter/splitter-panel.js +2 -1
- package/dist/components/splitter/splitter-resize-trigger-indicator.cjs +23 -0
- package/dist/components/splitter/splitter-resize-trigger-indicator.d.cts +7 -0
- package/dist/components/splitter/splitter-resize-trigger-indicator.d.ts +7 -0
- package/dist/components/splitter/splitter-resize-trigger-indicator.js +19 -0
- package/dist/components/splitter/splitter-resize-trigger.cjs +4 -2
- package/dist/components/splitter/splitter-resize-trigger.js +4 -2
- package/dist/components/splitter/splitter-root-provider.cjs +2 -1
- package/dist/components/splitter/splitter-root-provider.js +2 -1
- package/dist/components/splitter/splitter-root.cjs +2 -1
- package/dist/components/splitter/splitter-root.js +2 -1
- package/dist/components/splitter/splitter.cjs +7 -0
- package/dist/components/splitter/splitter.d.cts +2 -0
- package/dist/components/splitter/splitter.d.ts +2 -0
- package/dist/components/splitter/splitter.js +2 -0
- package/dist/components/splitter/use-splitter-resize-trigger-props-context.cjs +15 -0
- package/dist/components/splitter/use-splitter-resize-trigger-props-context.d.cts +3 -0
- package/dist/components/splitter/use-splitter-resize-trigger-props-context.d.ts +3 -0
- package/dist/components/splitter/use-splitter-resize-trigger-props-context.js +10 -0
- package/dist/components/steps/steps-content.cjs +2 -1
- package/dist/components/steps/steps-content.js +2 -1
- package/dist/components/steps/steps-item.cjs +2 -1
- package/dist/components/steps/steps-item.js +2 -1
- package/dist/components/steps/steps-root-provider.cjs +2 -1
- package/dist/components/steps/steps-root-provider.js +2 -1
- package/dist/components/steps/steps-root.cjs +2 -1
- package/dist/components/steps/steps-root.js +2 -1
- package/dist/components/switch/switch-root-provider.cjs +2 -1
- package/dist/components/switch/switch-root-provider.js +2 -1
- package/dist/components/switch/switch-root.cjs +3 -2
- package/dist/components/switch/switch-root.js +3 -2
- package/dist/components/tabs/tab-content.cjs +2 -1
- package/dist/components/tabs/tab-content.js +2 -1
- package/dist/components/tabs/tab-trigger.cjs +2 -1
- package/dist/components/tabs/tab-trigger.js +2 -1
- package/dist/components/tabs/tabs-root-provider.cjs +3 -2
- package/dist/components/tabs/tabs-root-provider.js +3 -2
- package/dist/components/tabs/tabs-root.cjs +3 -2
- package/dist/components/tabs/tabs-root.js +3 -2
- package/dist/components/tags-input/index.d.cts +1 -1
- package/dist/components/tags-input/index.d.ts +1 -1
- package/dist/components/tags-input/tags-input-item.cjs +2 -1
- package/dist/components/tags-input/tags-input-item.js +2 -1
- package/dist/components/tags-input/tags-input-root-provider.cjs +2 -1
- package/dist/components/tags-input/tags-input-root-provider.js +2 -1
- package/dist/components/tags-input/tags-input-root.cjs +2 -1
- package/dist/components/tags-input/tags-input-root.js +2 -1
- package/dist/components/tags-input/tags-input.d.cts +1 -1
- package/dist/components/tags-input/tags-input.d.ts +1 -1
- package/dist/components/timer/timer-action-trigger.cjs +2 -1
- package/dist/components/timer/timer-action-trigger.js +2 -1
- package/dist/components/timer/timer-item.cjs +2 -1
- package/dist/components/timer/timer-item.js +2 -1
- package/dist/components/timer/timer-root-provider.cjs +2 -1
- package/dist/components/timer/timer-root-provider.js +2 -1
- package/dist/components/timer/timer-root.cjs +2 -1
- package/dist/components/timer/timer-root.js +2 -1
- package/dist/components/toast/index.d.cts +2 -2
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/toast.d.cts +2 -0
- package/dist/components/toast/toast.d.ts +2 -0
- package/dist/components/toast/toaster.d.cts +2 -1
- package/dist/components/toast/toaster.d.ts +2 -1
- package/dist/components/toggle/toggle-root.cjs +2 -1
- package/dist/components/toggle/toggle-root.js +2 -1
- package/dist/components/toggle-group/toggle-group-item.cjs +2 -1
- package/dist/components/toggle-group/toggle-group-item.js +2 -1
- package/dist/components/toggle-group/toggle-group-root-provider.cjs +2 -1
- package/dist/components/toggle-group/toggle-group-root-provider.js +2 -1
- package/dist/components/toggle-group/toggle-group-root.cjs +2 -1
- package/dist/components/toggle-group/toggle-group-root.js +2 -1
- package/dist/components/tour/index.d.cts +1 -1
- package/dist/components/tour/index.d.ts +1 -1
- package/dist/components/tour/tour-action-trigger.cjs +2 -1
- package/dist/components/tour/tour-action-trigger.js +2 -1
- package/dist/components/tour/tour.anatomy.d.cts +1 -1
- package/dist/components/tour/tour.anatomy.d.ts +1 -1
- package/dist/components/tour/tour.d.cts +1 -1
- package/dist/components/tour/tour.d.ts +1 -1
- package/dist/components/tree-view/tree-view-node-provider.cjs +2 -1
- package/dist/components/tree-view/tree-view-node-provider.js +2 -1
- package/dist/index.cjs +46 -12
- package/dist/index.js +18 -2
- package/dist/utils/create-context.cjs +4 -1
- package/dist/utils/create-context.js +4 -1
- package/package.json +76 -75
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { AutoplayStatusDetails, DragStatusDetails, PageChangeDetails } from '@zag-js/carousel';
|
|
2
|
+
export { CarouselAutoplayIndicator as AutoplayIndicator, type CarouselAutoplayIndicatorBaseProps as AutoplayIndicatorBaseProps, type CarouselAutoplayIndicatorProps as AutoplayIndicatorProps, } from './carousel-autoplay-indicator';
|
|
3
|
+
export { CarouselProgressText as ProgressText, type CarouselProgressTextBaseProps as ProgressTextBaseProps, type CarouselProgressTextProps as ProgressTextProps, } from './carousel-progress-text';
|
|
2
4
|
export { CarouselAutoplayTrigger as AutoplayTrigger, type CarouselAutoplayTriggerBaseProps as AutoplayTriggerBaseProps, type CarouselAutoplayTriggerProps as AutoplayTriggerProps, } from './carousel-autoplay-trigger';
|
|
3
5
|
export { CarouselContext as Context, type CarouselContextProps as ContextProps } from './carousel-context';
|
|
4
6
|
export { CarouselControl as Control, type CarouselControlBaseProps as ControlBaseProps, type CarouselControlProps as ControlProps, } from './carousel-control';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { AutoplayStatusDetails, DragStatusDetails, PageChangeDetails } from '@zag-js/carousel';
|
|
2
|
+
export { CarouselAutoplayIndicator as AutoplayIndicator, type CarouselAutoplayIndicatorBaseProps as AutoplayIndicatorBaseProps, type CarouselAutoplayIndicatorProps as AutoplayIndicatorProps, } from './carousel-autoplay-indicator';
|
|
3
|
+
export { CarouselProgressText as ProgressText, type CarouselProgressTextBaseProps as ProgressTextBaseProps, type CarouselProgressTextProps as ProgressTextProps, } from './carousel-progress-text';
|
|
2
4
|
export { CarouselAutoplayTrigger as AutoplayTrigger, type CarouselAutoplayTriggerBaseProps as AutoplayTriggerBaseProps, type CarouselAutoplayTriggerProps as AutoplayTriggerProps, } from './carousel-autoplay-trigger';
|
|
3
5
|
export { CarouselContext as Context, type CarouselContextProps as ContextProps } from './carousel-context';
|
|
4
6
|
export { CarouselControl as Control, type CarouselControlBaseProps as ControlBaseProps, type CarouselControlProps as ControlProps, } from './carousel-control';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { CarouselAutoplayIndicator as AutoplayIndicator } from './carousel-autoplay-indicator.js';
|
|
2
|
+
export { CarouselProgressText as ProgressText } from './carousel-progress-text.js';
|
|
1
3
|
export { CarouselAutoplayTrigger as AutoplayTrigger } from './carousel-autoplay-trigger.js';
|
|
2
4
|
export { CarouselContext as Context } from './carousel-context.js';
|
|
3
5
|
export { CarouselControl as Control } from './carousel-control.js';
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
+
const carouselAutoplayIndicator = require('./carousel-autoplay-indicator.cjs');
|
|
6
|
+
const carouselProgressText = require('./carousel-progress-text.cjs');
|
|
5
7
|
const carouselAutoplayTrigger = require('./carousel-autoplay-trigger.cjs');
|
|
6
8
|
const carouselContext = require('./carousel-context.cjs');
|
|
7
9
|
const carouselControl = require('./carousel-control.cjs');
|
|
@@ -13,13 +15,15 @@ const carouselNextTrigger = require('./carousel-next-trigger.cjs');
|
|
|
13
15
|
const carouselPrevTrigger = require('./carousel-prev-trigger.cjs');
|
|
14
16
|
const carouselRoot = require('./carousel-root.cjs');
|
|
15
17
|
const carouselRootProvider = require('./carousel-root-provider.cjs');
|
|
18
|
+
const carousel_anatomy = require('./carousel.anatomy.cjs');
|
|
16
19
|
const useCarousel = require('./use-carousel.cjs');
|
|
17
20
|
const useCarouselContext = require('./use-carousel-context.cjs');
|
|
18
|
-
const carousel
|
|
19
|
-
const carousel = require('@zag-js/carousel');
|
|
21
|
+
const carousel = require('./carousel.cjs');
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
|
|
25
|
+
exports.CarouselAutoplayIndicator = carouselAutoplayIndicator.CarouselAutoplayIndicator;
|
|
26
|
+
exports.CarouselProgressText = carouselProgressText.CarouselProgressText;
|
|
23
27
|
exports.CarouselAutoplayTrigger = carouselAutoplayTrigger.CarouselAutoplayTrigger;
|
|
24
28
|
exports.CarouselContext = carouselContext.CarouselContext;
|
|
25
29
|
exports.CarouselControl = carouselControl.CarouselControl;
|
|
@@ -31,10 +35,7 @@ exports.CarouselNextTrigger = carouselNextTrigger.CarouselNextTrigger;
|
|
|
31
35
|
exports.CarouselPrevTrigger = carouselPrevTrigger.CarouselPrevTrigger;
|
|
32
36
|
exports.CarouselRoot = carouselRoot.CarouselRoot;
|
|
33
37
|
exports.CarouselRootProvider = carouselRootProvider.CarouselRootProvider;
|
|
38
|
+
exports.carouselAnatomy = carousel_anatomy.carouselAnatomy;
|
|
34
39
|
exports.useCarousel = useCarousel.useCarousel;
|
|
35
40
|
exports.useCarouselContext = useCarouselContext.useCarouselContext;
|
|
36
|
-
exports.Carousel = carousel
|
|
37
|
-
Object.defineProperty(exports, "carouselAnatomy", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: () => carousel.anatomy
|
|
40
|
-
});
|
|
41
|
+
exports.Carousel = carousel;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails as CarouselDragStatusDetails, PageChangeDetails as CarouselPageChangeDetails, } from '@zag-js/carousel';
|
|
2
|
+
export { CarouselAutoplayIndicator, type CarouselAutoplayIndicatorBaseProps, type CarouselAutoplayIndicatorProps, } from './carousel-autoplay-indicator';
|
|
3
|
+
export { CarouselProgressText, type CarouselProgressTextBaseProps, type CarouselProgressTextProps, } from './carousel-progress-text';
|
|
2
4
|
export { CarouselAutoplayTrigger, type CarouselAutoplayTriggerBaseProps, type CarouselAutoplayTriggerProps, } from './carousel-autoplay-trigger';
|
|
3
5
|
export { CarouselContext, type CarouselContextProps } from './carousel-context';
|
|
4
6
|
export { CarouselControl, type CarouselControlBaseProps, type CarouselControlProps } from './carousel-control';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails as CarouselDragStatusDetails, PageChangeDetails as CarouselPageChangeDetails, } from '@zag-js/carousel';
|
|
2
|
+
export { CarouselAutoplayIndicator, type CarouselAutoplayIndicatorBaseProps, type CarouselAutoplayIndicatorProps, } from './carousel-autoplay-indicator';
|
|
3
|
+
export { CarouselProgressText, type CarouselProgressTextBaseProps, type CarouselProgressTextProps, } from './carousel-progress-text';
|
|
2
4
|
export { CarouselAutoplayTrigger, type CarouselAutoplayTriggerBaseProps, type CarouselAutoplayTriggerProps, } from './carousel-autoplay-trigger';
|
|
3
5
|
export { CarouselContext, type CarouselContextProps } from './carousel-context';
|
|
4
6
|
export { CarouselControl, type CarouselControlBaseProps, type CarouselControlProps } from './carousel-control';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { CarouselAutoplayIndicator } from './carousel-autoplay-indicator.js';
|
|
2
|
+
export { CarouselProgressText } from './carousel-progress-text.js';
|
|
1
3
|
export { CarouselAutoplayTrigger } from './carousel-autoplay-trigger.js';
|
|
2
4
|
export { CarouselContext } from './carousel-context.js';
|
|
3
5
|
export { CarouselControl } from './carousel-control.js';
|
|
@@ -9,8 +11,8 @@ export { CarouselNextTrigger } from './carousel-next-trigger.js';
|
|
|
9
11
|
export { CarouselPrevTrigger } from './carousel-prev-trigger.js';
|
|
10
12
|
export { CarouselRoot } from './carousel-root.js';
|
|
11
13
|
export { CarouselRootProvider } from './carousel-root-provider.js';
|
|
14
|
+
export { carouselAnatomy } from './carousel.anatomy.js';
|
|
12
15
|
export { useCarousel } from './use-carousel.js';
|
|
13
16
|
export { useCarouselContext } from './use-carousel-context.js';
|
|
14
17
|
import * as carousel from './carousel.js';
|
|
15
18
|
export { carousel as Carousel };
|
|
16
|
-
export { anatomy as carouselAnatomy } from '@zag-js/carousel';
|
|
@@ -10,8 +10,9 @@ const factory = require('../factory.cjs');
|
|
|
10
10
|
const checkbox_anatomy = require('./checkbox.anatomy.cjs');
|
|
11
11
|
const useCheckboxGroupContext = require('./use-checkbox-group-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitProviderProps = createSplitProps.createSplitProps();
|
|
13
14
|
const CheckboxGroupProvider = react.forwardRef((props, ref) => {
|
|
14
|
-
const [localProps, restProps] =
|
|
15
|
+
const [localProps, restProps] = splitProviderProps(props, ["value"]);
|
|
15
16
|
return /* @__PURE__ */ jsxRuntime.jsx(useCheckboxGroupContext.CheckboxGroupContextProvider, { value: localProps.value, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ref, role: "group", ...restProps, ...checkbox_anatomy.checkboxAnatomy.build().group.attrs }) });
|
|
16
17
|
});
|
|
17
18
|
CheckboxGroupProvider.displayName = "CheckboxGroupProvider";
|
|
@@ -6,8 +6,9 @@ import { ark } from '../factory.js';
|
|
|
6
6
|
import { checkboxAnatomy } from './checkbox.anatomy.js';
|
|
7
7
|
import { CheckboxGroupContextProvider } from './use-checkbox-group-context.js';
|
|
8
8
|
|
|
9
|
+
const splitProviderProps = createSplitProps();
|
|
9
10
|
const CheckboxGroupProvider = forwardRef((props, ref) => {
|
|
10
|
-
const [localProps, restProps] =
|
|
11
|
+
const [localProps, restProps] = splitProviderProps(props, ["value"]);
|
|
11
12
|
return /* @__PURE__ */ jsx(CheckboxGroupContextProvider, { value: localProps.value, children: /* @__PURE__ */ jsx(ark.div, { ref, role: "group", ...restProps, ...checkboxAnatomy.build().group.attrs }) });
|
|
12
13
|
});
|
|
13
14
|
CheckboxGroupProvider.displayName = "CheckboxGroupProvider";
|
|
@@ -11,8 +11,9 @@ const checkbox_anatomy = require('./checkbox.anatomy.cjs');
|
|
|
11
11
|
const useCheckboxGroup = require('./use-checkbox-group.cjs');
|
|
12
12
|
const useCheckboxGroupContext = require('./use-checkbox-group-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitGroupProps = createSplitProps.createSplitProps();
|
|
14
15
|
const CheckboxGroup = react.forwardRef((props, ref) => {
|
|
15
|
-
const [checkboxGroupProps, localProps] =
|
|
16
|
+
const [checkboxGroupProps, localProps] = splitGroupProps(props, [
|
|
16
17
|
"defaultValue",
|
|
17
18
|
"value",
|
|
18
19
|
"onValueChange",
|
|
@@ -7,8 +7,9 @@ import { checkboxAnatomy } from './checkbox.anatomy.js';
|
|
|
7
7
|
import { useCheckboxGroup } from './use-checkbox-group.js';
|
|
8
8
|
import { CheckboxGroupContextProvider } from './use-checkbox-group-context.js';
|
|
9
9
|
|
|
10
|
+
const splitGroupProps = createSplitProps();
|
|
10
11
|
const CheckboxGroup = forwardRef((props, ref) => {
|
|
11
|
-
const [checkboxGroupProps, localProps] =
|
|
12
|
+
const [checkboxGroupProps, localProps] = splitGroupProps(props, [
|
|
12
13
|
"defaultValue",
|
|
13
14
|
"value",
|
|
14
15
|
"onValueChange",
|
|
@@ -10,8 +10,9 @@ const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
|
10
10
|
const factory = require('../factory.cjs');
|
|
11
11
|
const useCheckboxContext = require('./use-checkbox-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitRootProviderProps = createSplitProps.createSplitProps();
|
|
13
14
|
const CheckboxRootProvider = react.forwardRef((props, ref) => {
|
|
14
|
-
const [{ value: checkbox }, localProps] =
|
|
15
|
+
const [{ value: checkbox }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
15
16
|
const mergedProps = react$1.mergeProps(checkbox.getRootProps(), localProps);
|
|
16
17
|
return /* @__PURE__ */ jsxRuntime.jsx(useCheckboxContext.CheckboxProvider, { value: checkbox, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.label, { ...mergedProps, ref }) });
|
|
17
18
|
});
|
|
@@ -6,8 +6,9 @@ import { createSplitProps } from '../../utils/create-split-props.js';
|
|
|
6
6
|
import { ark } from '../factory.js';
|
|
7
7
|
import { CheckboxProvider } from './use-checkbox-context.js';
|
|
8
8
|
|
|
9
|
+
const splitRootProviderProps = createSplitProps();
|
|
9
10
|
const CheckboxRootProvider = forwardRef((props, ref) => {
|
|
10
|
-
const [{ value: checkbox }, localProps] =
|
|
11
|
+
const [{ value: checkbox }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
11
12
|
const mergedProps = mergeProps(checkbox.getRootProps(), localProps);
|
|
12
13
|
return /* @__PURE__ */ jsx(CheckboxProvider, { value: checkbox, children: /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref }) });
|
|
13
14
|
});
|
|
@@ -11,8 +11,9 @@ const factory = require('../factory.cjs');
|
|
|
11
11
|
const useCheckbox = require('./use-checkbox.cjs');
|
|
12
12
|
const useCheckboxContext = require('./use-checkbox-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitRootProps = createSplitProps.createSplitProps();
|
|
14
15
|
const CheckboxRoot = react.forwardRef((props, ref) => {
|
|
15
|
-
const [useCheckboxProps, localProps] =
|
|
16
|
+
const [useCheckboxProps, localProps] = splitRootProps(props, [
|
|
16
17
|
"checked",
|
|
17
18
|
"defaultChecked",
|
|
18
19
|
"disabled",
|
|
@@ -7,8 +7,9 @@ import { ark } from '../factory.js';
|
|
|
7
7
|
import { useCheckbox } from './use-checkbox.js';
|
|
8
8
|
import { CheckboxProvider } from './use-checkbox-context.js';
|
|
9
9
|
|
|
10
|
+
const splitRootProps = createSplitProps();
|
|
10
11
|
const CheckboxRoot = forwardRef((props, ref) => {
|
|
11
|
-
const [useCheckboxProps, localProps] =
|
|
12
|
+
const [useCheckboxProps, localProps] = splitRootProps(props, [
|
|
12
13
|
"checked",
|
|
13
14
|
"defaultChecked",
|
|
14
15
|
"disabled",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const checkboxAnatomy: AnatomyInstance<"root" | "
|
|
2
|
+
export declare const checkboxAnatomy: AnatomyInstance<"root" | "control" | "indicator" | "label" | "group">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const checkboxAnatomy: AnatomyInstance<"root" | "
|
|
2
|
+
export declare const checkboxAnatomy: AnatomyInstance<"root" | "control" | "indicator" | "label" | "group">;
|
|
@@ -10,8 +10,9 @@ const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
|
10
10
|
const factory = require('../factory.cjs');
|
|
11
11
|
const useClipboardContext = require('./use-clipboard-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitRootProviderProps = createSplitProps.createSplitProps();
|
|
13
14
|
const ClipboardRootProvider = react.forwardRef((props, ref) => {
|
|
14
|
-
const [{ value: clipboard }, localProps] =
|
|
15
|
+
const [{ value: clipboard }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
15
16
|
const mergedProps = react$1.mergeProps(clipboard.getRootProps(), localProps);
|
|
16
17
|
return /* @__PURE__ */ jsxRuntime.jsx(useClipboardContext.ClipboardProvider, { value: clipboard, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ref, ...mergedProps }) });
|
|
17
18
|
});
|
|
@@ -6,8 +6,9 @@ import { createSplitProps } from '../../utils/create-split-props.js';
|
|
|
6
6
|
import { ark } from '../factory.js';
|
|
7
7
|
import { ClipboardProvider } from './use-clipboard-context.js';
|
|
8
8
|
|
|
9
|
+
const splitRootProviderProps = createSplitProps();
|
|
9
10
|
const ClipboardRootProvider = forwardRef((props, ref) => {
|
|
10
|
-
const [{ value: clipboard }, localProps] =
|
|
11
|
+
const [{ value: clipboard }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
11
12
|
const mergedProps = mergeProps(clipboard.getRootProps(), localProps);
|
|
12
13
|
return /* @__PURE__ */ jsx(ClipboardProvider, { value: clipboard, children: /* @__PURE__ */ jsx(ark.div, { ref, ...mergedProps }) });
|
|
13
14
|
});
|
|
@@ -11,8 +11,9 @@ const factory = require('../factory.cjs');
|
|
|
11
11
|
const useClipboard = require('./use-clipboard.cjs');
|
|
12
12
|
const useClipboardContext = require('./use-clipboard-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitRootProps = createSplitProps.createSplitProps();
|
|
14
15
|
const ClipboardRoot = react.forwardRef((props, ref) => {
|
|
15
|
-
const [useClipboardProps, localProps] =
|
|
16
|
+
const [useClipboardProps, localProps] = splitRootProps(props, [
|
|
16
17
|
"defaultValue",
|
|
17
18
|
"id",
|
|
18
19
|
"ids",
|
|
@@ -7,8 +7,9 @@ import { ark } from '../factory.js';
|
|
|
7
7
|
import { useClipboard } from './use-clipboard.js';
|
|
8
8
|
import { ClipboardProvider } from './use-clipboard-context.js';
|
|
9
9
|
|
|
10
|
+
const splitRootProps = createSplitProps();
|
|
10
11
|
const ClipboardRoot = forwardRef((props, ref) => {
|
|
11
|
-
const [useClipboardProps, localProps] =
|
|
12
|
+
const [useClipboardProps, localProps] = splitRootProps(props, [
|
|
12
13
|
"defaultValue",
|
|
13
14
|
"id",
|
|
14
15
|
"ids",
|
|
@@ -10,8 +10,9 @@ const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
|
10
10
|
const factory = require('../factory.cjs');
|
|
11
11
|
const useCollapsibleContext = require('./use-collapsible-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitRootProviderProps = createSplitProps.createSplitProps();
|
|
13
14
|
const CollapsibleRootProvider = react.forwardRef((props, ref) => {
|
|
14
|
-
const [{ value: collapsible }, localProps] =
|
|
15
|
+
const [{ value: collapsible }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
15
16
|
const mergedProps = react$1.mergeProps(collapsible.getRootProps(), localProps);
|
|
16
17
|
return /* @__PURE__ */ jsxRuntime.jsx(useCollapsibleContext.CollapsibleProvider, { value: collapsible, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref }) });
|
|
17
18
|
});
|
|
@@ -6,8 +6,9 @@ import { createSplitProps } from '../../utils/create-split-props.js';
|
|
|
6
6
|
import { ark } from '../factory.js';
|
|
7
7
|
import { CollapsibleProvider } from './use-collapsible-context.js';
|
|
8
8
|
|
|
9
|
+
const splitRootProviderProps = createSplitProps();
|
|
9
10
|
const CollapsibleRootProvider = forwardRef((props, ref) => {
|
|
10
|
-
const [{ value: collapsible }, localProps] =
|
|
11
|
+
const [{ value: collapsible }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
11
12
|
const mergedProps = mergeProps(collapsible.getRootProps(), localProps);
|
|
12
13
|
return /* @__PURE__ */ jsx(CollapsibleProvider, { value: collapsible, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });
|
|
13
14
|
});
|
|
@@ -11,8 +11,9 @@ const factory = require('../factory.cjs');
|
|
|
11
11
|
const useColorPickerAreaPropsContext = require('./use-color-picker-area-props-context.cjs');
|
|
12
12
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitAreaProps = createSplitProps.createSplitProps();
|
|
14
15
|
const ColorPickerArea = react.forwardRef((props, ref) => {
|
|
15
|
-
const [areaProps, localProps] =
|
|
16
|
+
const [areaProps, localProps] = splitAreaProps(props, ["xChannel", "yChannel"]);
|
|
16
17
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
17
18
|
const mergedProps = react$1.mergeProps(colorPicker.getAreaProps(areaProps), localProps);
|
|
18
19
|
return /* @__PURE__ */ jsxRuntime.jsx(useColorPickerAreaPropsContext.ColorPickerAreaPropsProvider, { value: areaProps, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref }) });
|
|
@@ -7,8 +7,9 @@ import { ark } from '../factory.js';
|
|
|
7
7
|
import { ColorPickerAreaPropsProvider } from './use-color-picker-area-props-context.js';
|
|
8
8
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
9
9
|
|
|
10
|
+
const splitAreaProps = createSplitProps();
|
|
10
11
|
const ColorPickerArea = forwardRef((props, ref) => {
|
|
11
|
-
const [areaProps, localProps] =
|
|
12
|
+
const [areaProps, localProps] = splitAreaProps(props, ["xChannel", "yChannel"]);
|
|
12
13
|
const colorPicker = useColorPickerContext();
|
|
13
14
|
const mergedProps = mergeProps(colorPicker.getAreaProps(areaProps), localProps);
|
|
14
15
|
return /* @__PURE__ */ jsx(ColorPickerAreaPropsProvider, { value: areaProps, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });
|
|
@@ -10,8 +10,9 @@ const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
|
10
10
|
const factory = require('../factory.cjs');
|
|
11
11
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitChannelInputProps = createSplitProps.createSplitProps();
|
|
13
14
|
const ColorPickerChannelInput = react.forwardRef((props, ref) => {
|
|
14
|
-
const [channelProps, localProps] =
|
|
15
|
+
const [channelProps, localProps] = splitChannelInputProps(props, ["channel", "orientation"]);
|
|
15
16
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
16
17
|
const mergedProps = react$1.mergeProps(colorPicker.getChannelInputProps(channelProps), localProps);
|
|
17
18
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.input, { ...mergedProps, ref });
|
|
@@ -6,8 +6,9 @@ import { createSplitProps } from '../../utils/create-split-props.js';
|
|
|
6
6
|
import { ark } from '../factory.js';
|
|
7
7
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
8
8
|
|
|
9
|
+
const splitChannelInputProps = createSplitProps();
|
|
9
10
|
const ColorPickerChannelInput = forwardRef((props, ref) => {
|
|
10
|
-
const [channelProps, localProps] =
|
|
11
|
+
const [channelProps, localProps] = splitChannelInputProps(props, ["channel", "orientation"]);
|
|
11
12
|
const colorPicker = useColorPickerContext();
|
|
12
13
|
const mergedProps = mergeProps(colorPicker.getChannelInputProps(channelProps), localProps);
|
|
13
14
|
return /* @__PURE__ */ jsx(ark.input, { ...mergedProps, ref });
|
|
@@ -12,8 +12,9 @@ const useColorPickerChannelPropsContext = require('./use-color-picker-channel-pr
|
|
|
12
12
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
13
13
|
const useColorPickerFormatContext = require('./use-color-picker-format-context.cjs');
|
|
14
14
|
|
|
15
|
+
const splitChannelProps = createSplitProps.createSplitProps();
|
|
15
16
|
const ColorPickerChannelSlider = react.forwardRef((props, ref) => {
|
|
16
|
-
const [channelProps, localProps] =
|
|
17
|
+
const [channelProps, localProps] = splitChannelProps(props, ["channel", "orientation"]);
|
|
17
18
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
18
19
|
const formatProps = useColorPickerFormatContext.useColorPickerFormatPropsContext();
|
|
19
20
|
const channelSliderProps = { ...channelProps, ...formatProps };
|
|
@@ -8,8 +8,9 @@ import { ColorPickerChannelPropsProvider } from './use-color-picker-channel-prop
|
|
|
8
8
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
9
9
|
import { useColorPickerFormatPropsContext } from './use-color-picker-format-context.js';
|
|
10
10
|
|
|
11
|
+
const splitChannelProps = createSplitProps();
|
|
11
12
|
const ColorPickerChannelSlider = forwardRef((props, ref) => {
|
|
12
|
-
const [channelProps, localProps] =
|
|
13
|
+
const [channelProps, localProps] = splitChannelProps(props, ["channel", "orientation"]);
|
|
13
14
|
const colorPicker = useColorPickerContext();
|
|
14
15
|
const formatProps = useColorPickerFormatPropsContext();
|
|
15
16
|
const channelSliderProps = { ...channelProps, ...formatProps };
|
|
@@ -13,9 +13,10 @@ const usePresence = require('../presence/use-presence.cjs');
|
|
|
13
13
|
const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
14
14
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
15
15
|
|
|
16
|
+
const splitRootProviderProps = createSplitProps.createSplitProps();
|
|
16
17
|
const ColorPickerRootProvider = react.forwardRef((props, ref) => {
|
|
17
18
|
const [presenceProps, colorPickerProps] = splitPresenceProps.splitPresenceProps(props);
|
|
18
|
-
const [{ value: colorPicker }, localProps] =
|
|
19
|
+
const [{ value: colorPicker }, localProps] = splitRootProviderProps(colorPickerProps, ["value"]);
|
|
19
20
|
const presence = usePresence.usePresence(react$1.mergeProps({ present: colorPicker.open }, presenceProps));
|
|
20
21
|
const mergedProps = react$1.mergeProps(colorPicker.getRootProps(), localProps);
|
|
21
22
|
return /* @__PURE__ */ jsxRuntime.jsx(useColorPickerContext.ColorPickerProvider, { value: colorPicker, children: /* @__PURE__ */ jsxRuntime.jsx(usePresenceContext.PresenceProvider, { value: presence, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref }) }) });
|
|
@@ -9,9 +9,10 @@ import { usePresence } from '../presence/use-presence.js';
|
|
|
9
9
|
import { PresenceProvider } from '../presence/use-presence-context.js';
|
|
10
10
|
import { ColorPickerProvider } from './use-color-picker-context.js';
|
|
11
11
|
|
|
12
|
+
const splitRootProviderProps = createSplitProps();
|
|
12
13
|
const ColorPickerRootProvider = forwardRef((props, ref) => {
|
|
13
14
|
const [presenceProps, colorPickerProps] = splitPresenceProps(props);
|
|
14
|
-
const [{ value: colorPicker }, localProps] =
|
|
15
|
+
const [{ value: colorPicker }, localProps] = splitRootProviderProps(colorPickerProps, ["value"]);
|
|
15
16
|
const presence = usePresence(mergeProps({ present: colorPicker.open }, presenceProps));
|
|
16
17
|
const mergedProps = mergeProps(colorPicker.getRootProps(), localProps);
|
|
17
18
|
return /* @__PURE__ */ jsx(ColorPickerProvider, { value: colorPicker, children: /* @__PURE__ */ jsx(PresenceProvider, { value: presence, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) }) });
|
|
@@ -14,9 +14,10 @@ const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
|
14
14
|
const useColorPicker = require('./use-color-picker.cjs');
|
|
15
15
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
16
16
|
|
|
17
|
+
const splitRootProps = createSplitProps.createSplitProps();
|
|
17
18
|
const ColorPickerRoot = react.forwardRef((props, ref) => {
|
|
18
19
|
const [presenceProps, colorPickerProps] = splitPresenceProps.splitPresenceProps(props);
|
|
19
|
-
const [useColorPickerProps, localProps] =
|
|
20
|
+
const [useColorPickerProps, localProps] = splitRootProps(colorPickerProps, [
|
|
20
21
|
"closeOnSelect",
|
|
21
22
|
"defaultOpen",
|
|
22
23
|
"defaultValue",
|
|
@@ -10,9 +10,10 @@ import { PresenceProvider } from '../presence/use-presence-context.js';
|
|
|
10
10
|
import { useColorPicker } from './use-color-picker.js';
|
|
11
11
|
import { ColorPickerProvider } from './use-color-picker-context.js';
|
|
12
12
|
|
|
13
|
+
const splitRootProps = createSplitProps();
|
|
13
14
|
const ColorPickerRoot = forwardRef((props, ref) => {
|
|
14
15
|
const [presenceProps, colorPickerProps] = splitPresenceProps(props);
|
|
15
|
-
const [useColorPickerProps, localProps] =
|
|
16
|
+
const [useColorPickerProps, localProps] = splitRootProps(colorPickerProps, [
|
|
16
17
|
"closeOnSelect",
|
|
17
18
|
"defaultOpen",
|
|
18
19
|
"defaultValue",
|
|
@@ -10,8 +10,9 @@ const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
|
10
10
|
const factory = require('../factory.cjs');
|
|
11
11
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitSwatchTriggerProps = createSplitProps.createSplitProps();
|
|
13
14
|
const ColorPickerSwatchTrigger = react.forwardRef((props, ref) => {
|
|
14
|
-
const [triggerProps, localProps] =
|
|
15
|
+
const [triggerProps, localProps] = splitSwatchTriggerProps(props, ["value", "disabled"]);
|
|
15
16
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
16
17
|
const mergedProps = react$1.mergeProps(colorPicker.getSwatchTriggerProps(triggerProps), localProps);
|
|
17
18
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
@@ -6,8 +6,9 @@ import { createSplitProps } from '../../utils/create-split-props.js';
|
|
|
6
6
|
import { ark } from '../factory.js';
|
|
7
7
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
8
8
|
|
|
9
|
+
const splitSwatchTriggerProps = createSplitProps();
|
|
9
10
|
const ColorPickerSwatchTrigger = forwardRef((props, ref) => {
|
|
10
|
-
const [triggerProps, localProps] =
|
|
11
|
+
const [triggerProps, localProps] = splitSwatchTriggerProps(props, ["value", "disabled"]);
|
|
11
12
|
const colorPicker = useColorPickerContext();
|
|
12
13
|
const mergedProps = mergeProps(colorPicker.getSwatchTriggerProps(triggerProps), localProps);
|
|
13
14
|
return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });
|
|
@@ -11,8 +11,9 @@ const factory = require('../factory.cjs');
|
|
|
11
11
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
12
12
|
const useColorPickerSwatchPropsContext = require('./use-color-picker-swatch-props-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitSwatchProps = createSplitProps.createSplitProps();
|
|
14
15
|
const ColorPickerSwatch = react.forwardRef((props, ref) => {
|
|
15
|
-
const [swatwchProps, localProps] =
|
|
16
|
+
const [swatwchProps, localProps] = splitSwatchProps(props, ["respectAlpha", "value"]);
|
|
16
17
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
17
18
|
const mergedProps = react$1.mergeProps(colorPicker.getSwatchProps(swatwchProps), localProps);
|
|
18
19
|
return /* @__PURE__ */ jsxRuntime.jsx(useColorPickerSwatchPropsContext.ColorPickerSwatchPropsProvider, { value: swatwchProps, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref }) });
|
|
@@ -7,8 +7,9 @@ import { ark } from '../factory.js';
|
|
|
7
7
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
8
8
|
import { ColorPickerSwatchPropsProvider } from './use-color-picker-swatch-props-context.js';
|
|
9
9
|
|
|
10
|
+
const splitSwatchProps = createSplitProps();
|
|
10
11
|
const ColorPickerSwatch = forwardRef((props, ref) => {
|
|
11
|
-
const [swatwchProps, localProps] =
|
|
12
|
+
const [swatwchProps, localProps] = splitSwatchProps(props, ["respectAlpha", "value"]);
|
|
12
13
|
const colorPicker = useColorPickerContext();
|
|
13
14
|
const mergedProps = mergeProps(colorPicker.getSwatchProps(swatwchProps), localProps);
|
|
14
15
|
return /* @__PURE__ */ jsx(ColorPickerSwatchPropsProvider, { value: swatwchProps, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });
|
|
@@ -10,9 +10,10 @@ const createSplitProps = require('../../utils/create-split-props.cjs');
|
|
|
10
10
|
const factory = require('../factory.cjs');
|
|
11
11
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
12
12
|
|
|
13
|
+
const splitTransparencyGridProps = createSplitProps.createSplitProps();
|
|
13
14
|
const ColorPickerTransparencyGrid = react.forwardRef(
|
|
14
15
|
(props, ref) => {
|
|
15
|
-
const [gridProps, localProps] =
|
|
16
|
+
const [gridProps, localProps] = splitTransparencyGridProps(props, ["size"]);
|
|
16
17
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
17
18
|
const mergedProps = react$1.mergeProps(colorPicker.getTransparencyGridProps(gridProps), localProps);
|
|
18
19
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref });
|
|
@@ -6,9 +6,10 @@ import { createSplitProps } from '../../utils/create-split-props.js';
|
|
|
6
6
|
import { ark } from '../factory.js';
|
|
7
7
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
8
8
|
|
|
9
|
+
const splitTransparencyGridProps = createSplitProps();
|
|
9
10
|
const ColorPickerTransparencyGrid = forwardRef(
|
|
10
11
|
(props, ref) => {
|
|
11
|
-
const [gridProps, localProps] =
|
|
12
|
+
const [gridProps, localProps] = splitTransparencyGridProps(props, ["size"]);
|
|
12
13
|
const colorPicker = useColorPickerContext();
|
|
13
14
|
const mergedProps = mergeProps(colorPicker.getTransparencyGridProps(gridProps), localProps);
|
|
14
15
|
return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });
|
|
@@ -11,8 +11,9 @@ const factory = require('../factory.cjs');
|
|
|
11
11
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
12
12
|
const useColorPickerSwatchPropsContext = require('./use-color-picker-swatch-props-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitValueSwatchProps = createSplitProps.createSplitProps();
|
|
14
15
|
const ColorPickerValueSwatch = react.forwardRef((props, ref) => {
|
|
15
|
-
const [{ respectAlpha }, localProps] =
|
|
16
|
+
const [{ respectAlpha }, localProps] = splitValueSwatchProps(props, ["respectAlpha"]);
|
|
16
17
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
17
18
|
const swatchProps = {
|
|
18
19
|
respectAlpha,
|
|
@@ -7,8 +7,9 @@ import { ark } from '../factory.js';
|
|
|
7
7
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
8
8
|
import { ColorPickerSwatchPropsProvider } from './use-color-picker-swatch-props-context.js';
|
|
9
9
|
|
|
10
|
+
const splitValueSwatchProps = createSplitProps();
|
|
10
11
|
const ColorPickerValueSwatch = forwardRef((props, ref) => {
|
|
11
|
-
const [{ respectAlpha }, localProps] =
|
|
12
|
+
const [{ respectAlpha }, localProps] = splitValueSwatchProps(props, ["respectAlpha"]);
|
|
12
13
|
const colorPicker = useColorPickerContext();
|
|
13
14
|
const swatchProps = {
|
|
14
15
|
respectAlpha,
|
|
@@ -11,9 +11,10 @@ const colorPicker_anatomy = require('./color-picker.anatomy.cjs');
|
|
|
11
11
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
12
12
|
const useColorPickerFormatContext = require('./use-color-picker-format-context.cjs');
|
|
13
13
|
|
|
14
|
+
const splitFormatOptions = createSplitProps.createSplitProps();
|
|
14
15
|
const ColorPickerView = react.forwardRef((props, ref) => {
|
|
15
16
|
const colorPicker = useColorPickerContext.useColorPickerContext();
|
|
16
|
-
const [formatProps, restProps] =
|
|
17
|
+
const [formatProps, restProps] = splitFormatOptions(props, ["format"]);
|
|
17
18
|
if (colorPicker.format !== formatProps.format) {
|
|
18
19
|
return null;
|
|
19
20
|
}
|
|
@@ -7,9 +7,10 @@ import { colorPickerAnatomy } from './color-picker.anatomy.js';
|
|
|
7
7
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
8
8
|
import { ColorPickerFormatPropsProvider } from './use-color-picker-format-context.js';
|
|
9
9
|
|
|
10
|
+
const splitFormatOptions = createSplitProps();
|
|
10
11
|
const ColorPickerView = forwardRef((props, ref) => {
|
|
11
12
|
const colorPicker = useColorPickerContext();
|
|
12
|
-
const [formatProps, restProps] =
|
|
13
|
+
const [formatProps, restProps] = splitFormatOptions(props, ["format"]);
|
|
13
14
|
if (colorPicker.format !== formatProps.format) {
|
|
14
15
|
return null;
|
|
15
16
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const colorPickerAnatomy: AnatomyInstance<"root" | "
|
|
2
|
+
export declare const colorPickerAnatomy: AnatomyInstance<"root" | "control" | "label" | "content" | "area" | "trigger" | "positioner" | "areaThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect" | "view">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const colorPickerAnatomy: AnatomyInstance<"root" | "
|
|
2
|
+
export declare const colorPickerAnatomy: AnatomyInstance<"root" | "control" | "label" | "content" | "area" | "trigger" | "positioner" | "areaThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect" | "view">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { Color, ColorFormat, FormatChangeDetails, OpenChangeDetails, ValueChangeDetails, } from '@zag-js/color-picker';
|
|
1
|
+
export type { Color, ColorFormat, FocusOutsideEvent, FormatChangeDetails, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, ValueChangeDetails, } from '@zag-js/color-picker';
|
|
2
2
|
export { ColorPickerArea as Area, type ColorPickerAreaBaseProps as AreaBaseProps, type ColorPickerAreaProps as AreaProps, } from './color-picker-area';
|
|
3
3
|
export { ColorPickerAreaBackground as AreaBackground, type ColorPickerAreaBackgroundBaseProps as AreaBackgroundBaseProps, type ColorPickerAreaBackgroundProps as AreaBackgroundProps, } from './color-picker-area-background';
|
|
4
4
|
export { ColorPickerAreaThumb as AreaThumb, type ColorPickerAreaThumbBaseProps as AreaThumbBaseProps, type ColorPickerAreaThumbProps as AreaThumbProps, } from './color-picker-area-thumb';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { Color, ColorFormat, FormatChangeDetails, OpenChangeDetails, ValueChangeDetails, } from '@zag-js/color-picker';
|
|
1
|
+
export type { Color, ColorFormat, FocusOutsideEvent, FormatChangeDetails, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, ValueChangeDetails, } from '@zag-js/color-picker';
|
|
2
2
|
export { ColorPickerArea as Area, type ColorPickerAreaBaseProps as AreaBaseProps, type ColorPickerAreaProps as AreaProps, } from './color-picker-area';
|
|
3
3
|
export { ColorPickerAreaBackground as AreaBackground, type ColorPickerAreaBackgroundBaseProps as AreaBackgroundBaseProps, type ColorPickerAreaBackgroundProps as AreaBackgroundProps, } from './color-picker-area-background';
|
|
4
4
|
export { ColorPickerAreaThumb as AreaThumb, type ColorPickerAreaThumbBaseProps as AreaThumbBaseProps, type ColorPickerAreaThumbProps as AreaThumbProps, } from './color-picker-area-thumb';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { parse as parseColor } from '@zag-js/color-picker';
|
|
2
|
-
export type { Color, ColorFormat as ColorPickerColorFormat, FormatChangeDetails as ColorPickerFormatChangeDetails, OpenChangeDetails as ColorPickerOpenChangeDetails, ValueChangeDetails as ColorPickerValueChangeDetails, } from '@zag-js/color-picker';
|
|
2
|
+
export type { Color, ColorFormat as ColorPickerColorFormat, FocusOutsideEvent as ColorPickerFocusOutsideEvent, FormatChangeDetails as ColorPickerFormatChangeDetails, InteractOutsideEvent as ColorPickerInteractOutsideEvent, OpenChangeDetails as ColorPickerOpenChangeDetails, PointerDownOutsideEvent as ColorPickerPointerDownOutsideEvent, ValueChangeDetails as ColorPickerValueChangeDetails, } from '@zag-js/color-picker';
|
|
3
3
|
export { ColorPickerArea, type ColorPickerAreaBaseProps, type ColorPickerAreaProps } from './color-picker-area';
|
|
4
4
|
export { ColorPickerAreaBackground, type ColorPickerAreaBackgroundBaseProps, type ColorPickerAreaBackgroundProps, } from './color-picker-area-background';
|
|
5
5
|
export { ColorPickerAreaThumb, type ColorPickerAreaThumbBaseProps, type ColorPickerAreaThumbProps, } from './color-picker-area-thumb';
|