@ark-ui/react 0.15.0 → 1.0.0-beta.1
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/CHANGELOG.md +28 -9
- package/accordion/accordion-context.d.ts +3 -2
- package/accordion/{accordion-content.cjs → accordion-item-content.cjs} +4 -4
- package/accordion/accordion-item-content.d.ts +8 -0
- package/accordion/{accordion-content.mjs → accordion-item-content.mjs} +4 -4
- package/accordion/accordion-item-indicator.cjs +23 -0
- package/accordion/accordion-item-indicator.d.ts +6 -0
- package/accordion/accordion-item-indicator.mjs +19 -0
- package/accordion/{accordion-trigger.cjs → accordion-item-trigger.cjs} +5 -5
- package/accordion/accordion-item-trigger.d.ts +6 -0
- package/accordion/{accordion-trigger.mjs → accordion-item-trigger.mjs} +5 -5
- package/accordion/accordion-item.cjs +4 -4
- package/accordion/accordion-item.d.ts +5 -6
- package/accordion/accordion-item.mjs +4 -4
- package/accordion/accordion.cjs +4 -4
- package/accordion/accordion.d.ts +3 -2
- package/accordion/accordion.mjs +4 -4
- package/accordion/index.cjs +12 -14
- package/accordion/index.d.ts +12 -18
- package/accordion/index.mjs +7 -6
- package/accordion/use-accordion.cjs +6 -4
- package/accordion/use-accordion.d.ts +7 -2
- package/accordion/use-accordion.mjs +6 -4
- package/avatar/avatar-context.d.ts +3 -2
- package/avatar/avatar-fallback.cjs +2 -2
- package/avatar/avatar-fallback.d.ts +4 -5
- package/avatar/avatar-fallback.mjs +2 -2
- package/avatar/avatar-image.cjs +2 -2
- package/avatar/avatar-image.d.ts +4 -5
- package/avatar/avatar-image.mjs +2 -2
- package/avatar/avatar.cjs +5 -5
- package/avatar/avatar.d.ts +3 -2
- package/avatar/avatar.mjs +5 -5
- package/avatar/index.cjs +3 -8
- package/avatar/index.d.ts +6 -13
- package/avatar/index.mjs +0 -1
- package/avatar/use-avatar.cjs +9 -5
- package/avatar/use-avatar.d.ts +4 -2
- package/avatar/use-avatar.mjs +9 -5
- package/carousel/carousel-context.d.ts +3 -2
- package/carousel/carousel-control.cjs +2 -2
- package/carousel/carousel-control.d.ts +4 -5
- package/carousel/carousel-control.mjs +2 -2
- package/carousel/carousel-indicator-group.cjs +2 -2
- package/carousel/carousel-indicator-group.d.ts +4 -5
- package/carousel/carousel-indicator-group.mjs +2 -2
- package/carousel/carousel-indicator.cjs +2 -2
- package/carousel/carousel-indicator.d.ts +4 -3
- package/carousel/carousel-indicator.mjs +2 -2
- package/carousel/{carousel-slide-group.cjs → carousel-item-group.cjs} +5 -5
- package/carousel/carousel-item-group.d.ts +6 -0
- package/carousel/{carousel-slide-group.mjs → carousel-item-group.mjs} +5 -5
- package/carousel/{carousel-slide.cjs → carousel-item.cjs} +5 -5
- package/carousel/carousel-item.d.ts +8 -0
- package/carousel/{carousel-slide.mjs → carousel-item.mjs} +5 -5
- package/carousel/carousel-next-trigger.cjs +21 -0
- package/carousel/carousel-next-trigger.d.ts +6 -0
- package/carousel/carousel-next-trigger.mjs +17 -0
- package/carousel/carousel-prev-trigger.cjs +21 -0
- package/carousel/carousel-prev-trigger.d.ts +6 -0
- package/carousel/carousel-prev-trigger.mjs +17 -0
- package/carousel/carousel-viewport.cjs +2 -2
- package/carousel/carousel-viewport.d.ts +4 -5
- package/carousel/carousel-viewport.mjs +2 -2
- package/carousel/carousel.cjs +6 -5
- package/carousel/carousel.d.ts +5 -8
- package/carousel/carousel.mjs +6 -5
- package/carousel/index.cjs +12 -14
- package/carousel/index.d.ts +18 -42
- package/carousel/index.mjs +9 -10
- package/carousel/use-carousel.cjs +11 -5
- package/carousel/use-carousel.d.ts +8 -2
- package/carousel/use-carousel.mjs +11 -5
- package/checkbox/checkbox-context.d.ts +3 -2
- package/checkbox/checkbox-control.cjs +4 -1
- package/checkbox/checkbox-control.d.ts +4 -5
- package/checkbox/checkbox-control.mjs +5 -2
- package/checkbox/checkbox-indicator.cjs +21 -0
- package/checkbox/checkbox-indicator.d.ts +6 -0
- package/checkbox/checkbox-indicator.mjs +17 -0
- package/checkbox/checkbox-label.cjs +2 -2
- package/checkbox/checkbox-label.d.ts +4 -5
- package/checkbox/checkbox-label.mjs +2 -2
- package/checkbox/checkbox.cjs +2 -5
- package/checkbox/checkbox.d.ts +4 -5
- package/checkbox/checkbox.mjs +3 -6
- package/checkbox/index.cjs +7 -9
- package/checkbox/index.d.ts +10 -19
- package/checkbox/index.mjs +4 -3
- package/checkbox/use-checkbox.cjs +5 -4
- package/checkbox/use-checkbox.d.ts +7 -2
- package/checkbox/use-checkbox.mjs +5 -4
- package/color-picker/{color-picker-area-gradient.cjs → color-picker-area-background.cjs} +5 -5
- package/color-picker/color-picker-area-background.d.ts +6 -0
- package/color-picker/{color-picker-area-gradient.mjs → color-picker-area-background.mjs} +5 -5
- package/color-picker/color-picker-area-context.d.ts +4 -2
- package/color-picker/color-picker-area-thumb.cjs +2 -2
- package/color-picker/color-picker-area-thumb.d.ts +4 -5
- package/color-picker/color-picker-area-thumb.mjs +2 -2
- package/color-picker/color-picker-area.cjs +3 -6
- package/color-picker/color-picker-area.d.ts +4 -3
- package/color-picker/color-picker-area.mjs +3 -6
- package/color-picker/color-picker-channel-input.cjs +2 -2
- package/color-picker/color-picker-channel-input.d.ts +5 -6
- package/color-picker/color-picker-channel-input.mjs +2 -2
- package/color-picker/color-picker-channel-slider-context.d.ts +4 -2
- package/color-picker/color-picker-channel-slider-thumb.cjs +2 -2
- package/color-picker/color-picker-channel-slider-thumb.d.ts +4 -5
- package/color-picker/color-picker-channel-slider-thumb.mjs +2 -2
- package/color-picker/color-picker-channel-slider-track.cjs +4 -8
- package/color-picker/color-picker-channel-slider-track.d.ts +3 -4
- package/color-picker/color-picker-channel-slider-track.mjs +5 -9
- package/color-picker/color-picker-channel-slider.cjs +27 -0
- package/color-picker/color-picker-channel-slider.d.ts +8 -0
- package/color-picker/color-picker-channel-slider.mjs +23 -0
- package/color-picker/color-picker-content.cjs +2 -2
- package/color-picker/color-picker-content.d.ts +4 -5
- package/color-picker/color-picker-content.mjs +2 -2
- package/color-picker/color-picker-context.d.ts +3 -2
- package/{range-slider/range-slider-control.cjs → color-picker/color-picker-control.cjs} +6 -6
- package/color-picker/color-picker-control.d.ts +6 -0
- package/color-picker/color-picker-control.mjs +17 -0
- package/color-picker/color-picker-eye-dropper-trigger.cjs +2 -2
- package/color-picker/color-picker-eye-dropper-trigger.d.ts +4 -5
- package/color-picker/color-picker-eye-dropper-trigger.mjs +2 -2
- package/{range-slider/range-slider-label.cjs → color-picker/color-picker-label.cjs} +6 -6
- package/color-picker/color-picker-label.d.ts +6 -0
- package/color-picker/color-picker-label.mjs +17 -0
- package/{range-slider/range-slider-marker-group.cjs → color-picker/color-picker-positioner.cjs} +6 -6
- package/color-picker/color-picker-positioner.d.ts +6 -0
- package/color-picker/color-picker-positioner.mjs +17 -0
- package/color-picker/color-picker-swatch-group.cjs +7 -2
- package/color-picker/color-picker-swatch-group.d.ts +4 -5
- package/color-picker/color-picker-swatch-group.mjs +7 -2
- package/color-picker/color-picker-swatch-trigger.cjs +21 -0
- package/color-picker/color-picker-swatch-trigger.d.ts +12 -0
- package/color-picker/color-picker-swatch-trigger.mjs +17 -0
- package/color-picker/color-picker-swatch.cjs +4 -5
- package/color-picker/color-picker-swatch.d.ts +4 -3
- package/color-picker/color-picker-swatch.mjs +4 -5
- package/{date-picker/date-picker-grid.cjs → color-picker/color-picker-transparency-grid.cjs} +7 -7
- package/color-picker/color-picker-transparency-grid.d.ts +11 -0
- package/color-picker/color-picker-transparency-grid.mjs +17 -0
- package/color-picker/color-picker-trigger.cjs +21 -0
- package/color-picker/color-picker-trigger.d.ts +6 -0
- package/color-picker/color-picker-trigger.mjs +17 -0
- package/color-picker/color-picker.cjs +39 -7
- package/color-picker/color-picker.d.ts +5 -5
- package/color-picker/color-picker.mjs +40 -8
- package/color-picker/color-picker.stories.d.ts +0 -1
- package/color-picker/index.cjs +27 -14
- package/color-picker/index.d.ts +33 -45
- package/color-picker/index.mjs +19 -10
- package/color-picker/use-color-picker.cjs +6 -6
- package/color-picker/use-color-picker.d.ts +10 -4
- package/color-picker/use-color-picker.mjs +6 -6
- package/combobox/combobox-clear-trigger.d.ts +4 -5
- package/combobox/combobox-content.d.ts +3 -2
- package/combobox/combobox-context.d.ts +2 -1
- package/combobox/combobox-control.d.ts +4 -5
- package/combobox/combobox-input.d.ts +4 -5
- package/combobox/combobox-item-context.d.ts +3 -2
- package/combobox/combobox-item-group-label.d.ts +3 -2
- package/combobox/combobox-item-group.d.ts +3 -2
- package/combobox/combobox-item-indicator.d.ts +4 -5
- package/combobox/combobox-item-text.d.ts +4 -5
- package/combobox/combobox-item.d.ts +4 -7
- package/combobox/combobox-label.d.ts +4 -5
- package/combobox/combobox-positioner.d.ts +4 -5
- package/combobox/combobox-trigger.d.ts +4 -5
- package/combobox/combobox.cjs +5 -5
- package/combobox/combobox.d.ts +3 -2
- package/combobox/combobox.mjs +5 -5
- package/combobox/index.cjs +3 -8
- package/combobox/index.d.ts +14 -37
- package/combobox/index.mjs +0 -1
- package/combobox/use-combobox.cjs +14 -6
- package/combobox/use-combobox.d.ts +5 -1
- package/combobox/use-combobox.mjs +15 -7
- package/date-picker/date-picker-clear-trigger.cjs +2 -2
- package/date-picker/date-picker-clear-trigger.d.ts +4 -5
- package/date-picker/date-picker-clear-trigger.mjs +2 -2
- package/date-picker/date-picker-content.cjs +2 -2
- package/date-picker/date-picker-content.d.ts +4 -5
- package/date-picker/date-picker-content.mjs +2 -2
- package/date-picker/date-picker-context.d.ts +3 -2
- package/date-picker/date-picker-control.cjs +2 -2
- package/date-picker/date-picker-control.d.ts +4 -5
- package/date-picker/date-picker-control.mjs +2 -2
- package/date-picker/date-picker-input.cjs +2 -2
- package/date-picker/date-picker-input.d.ts +4 -5
- package/date-picker/date-picker-input.mjs +2 -2
- package/date-picker/date-picker-label.cjs +19 -0
- package/date-picker/date-picker-label.d.ts +6 -0
- package/date-picker/date-picker-label.mjs +15 -0
- package/date-picker/date-picker-month-select.cjs +3 -3
- package/date-picker/date-picker-month-select.d.ts +4 -5
- package/date-picker/date-picker-month-select.mjs +3 -3
- package/date-picker/date-picker-next-trigger.cjs +4 -2
- package/date-picker/date-picker-next-trigger.d.ts +4 -5
- package/date-picker/date-picker-next-trigger.mjs +4 -2
- package/date-picker/date-picker-positioner.cjs +2 -2
- package/date-picker/date-picker-positioner.d.ts +4 -5
- package/date-picker/date-picker-positioner.mjs +2 -2
- package/date-picker/date-picker-prev-trigger.cjs +4 -2
- package/date-picker/date-picker-prev-trigger.d.ts +3 -4
- package/date-picker/date-picker-prev-trigger.mjs +4 -2
- package/date-picker/date-picker-range-text.cjs +21 -0
- package/date-picker/date-picker-range-text.d.ts +6 -0
- package/date-picker/date-picker-range-text.mjs +17 -0
- package/date-picker/date-picker-table-body.cjs +23 -0
- package/date-picker/date-picker-table-body.d.ts +6 -0
- package/date-picker/date-picker-table-body.mjs +19 -0
- package/date-picker/date-picker-table-cell-context.cjs +15 -0
- package/date-picker/date-picker-table-cell-context.d.ts +11 -0
- package/date-picker/date-picker-table-cell-context.mjs +10 -0
- package/date-picker/date-picker-table-cell-trigger.cjs +29 -0
- package/date-picker/date-picker-table-cell-trigger.d.ts +6 -0
- package/date-picker/date-picker-table-cell-trigger.mjs +25 -0
- package/date-picker/date-picker-table-cell.cjs +37 -0
- package/date-picker/date-picker-table-cell.d.ts +7 -0
- package/date-picker/date-picker-table-cell.mjs +33 -0
- package/date-picker/date-picker-table-context.cjs +15 -0
- package/date-picker/date-picker-table-context.d.ts +6 -0
- package/date-picker/date-picker-table-context.mjs +10 -0
- package/date-picker/date-picker-table-head.cjs +23 -0
- package/date-picker/date-picker-table-head.d.ts +6 -0
- package/date-picker/date-picker-table-head.mjs +19 -0
- package/date-picker/date-picker-table-header.cjs +23 -0
- package/date-picker/date-picker-table-header.d.ts +6 -0
- package/date-picker/date-picker-table-header.mjs +19 -0
- package/date-picker/date-picker-table-row.cjs +23 -0
- package/date-picker/date-picker-table-row.d.ts +6 -0
- package/date-picker/date-picker-table-row.mjs +19 -0
- package/date-picker/date-picker-table.cjs +27 -0
- package/date-picker/date-picker-table.d.ts +8 -0
- package/date-picker/date-picker-table.mjs +23 -0
- package/date-picker/date-picker-trigger.cjs +2 -2
- package/date-picker/date-picker-trigger.d.ts +4 -5
- package/date-picker/date-picker-trigger.mjs +2 -2
- package/date-picker/date-picker-view-context.cjs +15 -0
- package/date-picker/date-picker-view-context.d.ts +6 -0
- package/date-picker/date-picker-view-context.mjs +10 -0
- package/date-picker/date-picker-view-control.cjs +23 -0
- package/date-picker/date-picker-view-control.d.ts +6 -0
- package/date-picker/date-picker-view-control.mjs +19 -0
- package/date-picker/date-picker-view-trigger.cjs +4 -7
- package/date-picker/date-picker-view-trigger.d.ts +3 -4
- package/date-picker/date-picker-view-trigger.mjs +4 -7
- package/date-picker/date-picker-view.cjs +24 -0
- package/date-picker/date-picker-view.d.ts +10 -0
- package/date-picker/date-picker-view.mjs +20 -0
- package/date-picker/date-picker-year-select.cjs +2 -2
- package/date-picker/date-picker-year-select.d.ts +4 -5
- package/date-picker/date-picker-year-select.mjs +2 -2
- package/date-picker/date-picker.cjs +48 -7
- package/date-picker/date-picker.d.ts +5 -5
- package/date-picker/date-picker.mjs +48 -7
- package/date-picker/date-picker.stories.d.ts +0 -2
- package/date-picker/index.cjs +39 -39
- package/date-picker/index.d.ts +42 -77
- package/date-picker/index.mjs +26 -26
- package/date-picker/use-date-picker.cjs +16 -6
- package/date-picker/use-date-picker.d.ts +17 -3
- package/date-picker/use-date-picker.mjs +16 -6
- package/dialog/dialog-backdrop.d.ts +3 -2
- package/dialog/dialog-close-trigger.cjs +2 -2
- package/dialog/dialog-close-trigger.d.ts +4 -5
- package/dialog/dialog-close-trigger.mjs +2 -2
- package/dialog/dialog-content.d.ts +3 -2
- package/dialog/dialog-context.d.ts +3 -2
- package/dialog/dialog-description.cjs +2 -2
- package/dialog/dialog-description.d.ts +4 -5
- package/dialog/dialog-description.mjs +2 -2
- package/dialog/{dialog-container.cjs → dialog-positioner.cjs} +5 -5
- package/dialog/dialog-positioner.d.ts +6 -0
- package/dialog/{dialog-container.mjs → dialog-positioner.mjs} +5 -5
- package/dialog/dialog-title.cjs +2 -2
- package/dialog/dialog-title.d.ts +4 -5
- package/dialog/dialog-title.mjs +2 -2
- package/dialog/dialog-trigger.cjs +2 -2
- package/dialog/dialog-trigger.d.ts +4 -5
- package/dialog/dialog-trigger.mjs +2 -2
- package/dialog/dialog.cjs +3 -3
- package/dialog/dialog.d.ts +3 -2
- package/dialog/dialog.mjs +3 -3
- package/dialog/index.cjs +6 -11
- package/dialog/index.d.ts +12 -24
- package/dialog/index.mjs +3 -4
- package/dialog/use-dialog.cjs +14 -6
- package/dialog/use-dialog.d.ts +8 -2
- package/dialog/use-dialog.mjs +14 -6
- package/editable/editable-area.cjs +2 -2
- package/editable/editable-area.d.ts +4 -5
- package/editable/editable-area.mjs +2 -2
- package/editable/editable-cancel-trigger.cjs +2 -2
- package/editable/editable-cancel-trigger.d.ts +4 -5
- package/editable/editable-cancel-trigger.mjs +2 -2
- package/editable/editable-context.d.ts +3 -2
- package/editable/editable-control.cjs +2 -2
- package/editable/editable-control.d.ts +4 -5
- package/editable/editable-control.mjs +2 -2
- package/editable/editable-edit-trigger.cjs +2 -2
- package/editable/editable-edit-trigger.d.ts +4 -5
- package/editable/editable-edit-trigger.mjs +2 -2
- package/editable/editable-input.cjs +2 -2
- package/editable/editable-input.d.ts +4 -5
- package/editable/editable-input.mjs +2 -2
- package/editable/editable-label.cjs +2 -2
- package/editable/editable-label.d.ts +4 -5
- package/editable/editable-label.mjs +2 -2
- package/editable/editable-preview.cjs +2 -2
- package/editable/editable-preview.d.ts +4 -5
- package/editable/editable-preview.mjs +2 -2
- package/editable/editable-submit-trigger.cjs +2 -2
- package/editable/editable-submit-trigger.d.ts +4 -5
- package/editable/editable-submit-trigger.mjs +2 -2
- package/editable/editable.cjs +7 -7
- package/editable/editable.d.ts +4 -5
- package/editable/editable.mjs +7 -7
- package/editable/index.cjs +3 -8
- package/editable/index.d.ts +14 -37
- package/editable/index.mjs +0 -1
- package/editable/use-editable.cjs +8 -4
- package/editable/use-editable.d.ts +7 -2
- package/editable/use-editable.mjs +8 -4
- package/environment/environment.cjs +6 -3
- package/environment/environment.d.ts +4 -3
- package/environment/environment.mjs +6 -3
- package/environment/environment.stories.d.ts +1 -1
- package/environment/index.d.ts +2 -2
- package/factory.d.ts +3 -0
- package/hover-card/hover-card-arrow-tip.cjs +2 -2
- package/hover-card/hover-card-arrow-tip.d.ts +4 -5
- package/hover-card/hover-card-arrow-tip.mjs +2 -2
- package/hover-card/hover-card-arrow.cjs +2 -2
- package/hover-card/hover-card-arrow.d.ts +4 -5
- package/hover-card/hover-card-arrow.mjs +2 -2
- package/hover-card/hover-card-content.d.ts +3 -2
- package/hover-card/hover-card-context.d.ts +3 -2
- package/hover-card/hover-card-positioner.cjs +2 -2
- package/hover-card/hover-card-positioner.d.ts +4 -5
- package/hover-card/hover-card-positioner.mjs +2 -2
- package/hover-card/hover-card-trigger.cjs +2 -2
- package/hover-card/hover-card-trigger.d.ts +4 -5
- package/hover-card/hover-card-trigger.mjs +2 -2
- package/hover-card/hover-card.cjs +3 -3
- package/hover-card/hover-card.d.ts +3 -2
- package/hover-card/hover-card.mjs +3 -3
- package/hover-card/index.cjs +3 -8
- package/hover-card/index.d.ts +9 -19
- package/hover-card/index.mjs +0 -1
- package/hover-card/use-hover-card.cjs +11 -5
- package/hover-card/use-hover-card.d.ts +8 -2
- package/hover-card/use-hover-card.mjs +11 -5
- package/index.cjs +140 -278
- package/index.d.ts +1 -4
- package/index.mjs +58 -92
- package/menu/index.cjs +3 -8
- package/menu/index.d.ts +16 -42
- package/menu/index.mjs +0 -1
- package/menu/menu-arrow-tip.cjs +2 -2
- package/menu/menu-arrow-tip.d.ts +4 -5
- package/menu/menu-arrow-tip.mjs +2 -2
- package/menu/menu-arrow.cjs +2 -2
- package/menu/menu-arrow.d.ts +4 -5
- package/menu/menu-arrow.mjs +2 -2
- package/menu/menu-content.d.ts +3 -2
- package/menu/menu-context-trigger.d.ts +4 -5
- package/menu/menu-item-group-label.cjs +1 -1
- package/menu/menu-item-group-label.d.ts +5 -4
- package/menu/menu-item-group-label.mjs +1 -1
- package/menu/menu-item-group.cjs +1 -1
- package/menu/menu-item-group.d.ts +4 -6
- package/menu/menu-item-group.mjs +1 -1
- package/menu/menu-item.cjs +1 -1
- package/menu/menu-item.d.ts +3 -2
- package/menu/menu-item.mjs +1 -1
- package/menu/menu-option-item.cjs +1 -2
- package/menu/menu-option-item.d.ts +6 -15
- package/menu/menu-option-item.mjs +1 -2
- package/menu/menu-positioner.d.ts +4 -5
- package/menu/menu-separator.d.ts +4 -5
- package/menu/menu-trigger-item.d.ts +4 -5
- package/menu/menu-trigger.d.ts +4 -5
- package/menu/menu.cjs +1 -2
- package/menu/menu.d.ts +5 -4
- package/menu/menu.mjs +1 -2
- package/menu/use-menu.cjs +7 -4
- package/menu/use-menu.d.ts +3 -3
- package/menu/use-menu.mjs +7 -4
- package/number-input/index.cjs +3 -8
- package/number-input/index.d.ts +10 -25
- package/number-input/index.mjs +0 -1
- package/number-input/number-input-context.d.ts +3 -2
- package/number-input/number-input-control.cjs +2 -2
- package/number-input/number-input-control.d.ts +4 -5
- package/number-input/number-input-control.mjs +2 -2
- package/number-input/number-input-decrement-trigger.cjs +2 -2
- package/number-input/number-input-decrement-trigger.d.ts +4 -5
- package/number-input/number-input-decrement-trigger.mjs +2 -2
- package/number-input/number-input-field.cjs +2 -2
- package/number-input/number-input-field.d.ts +4 -5
- package/number-input/number-input-field.mjs +2 -2
- package/number-input/number-input-increment-trigger.cjs +2 -2
- package/number-input/number-input-increment-trigger.d.ts +4 -5
- package/number-input/number-input-increment-trigger.mjs +2 -2
- package/number-input/number-input-label.cjs +2 -2
- package/number-input/number-input-label.d.ts +4 -5
- package/number-input/number-input-label.mjs +2 -2
- package/number-input/number-input-scrubber.cjs +2 -2
- package/number-input/number-input-scrubber.d.ts +4 -5
- package/number-input/number-input-scrubber.mjs +2 -2
- package/number-input/number-input.cjs +8 -12
- package/number-input/number-input.d.ts +3 -2
- package/number-input/number-input.mjs +8 -12
- package/number-input/use-number-input.cjs +5 -4
- package/number-input/use-number-input.d.ts +7 -2
- package/number-input/use-number-input.mjs +5 -4
- package/package.json +59 -71
- package/pagination/index.cjs +9 -17
- package/pagination/index.d.ts +12 -33
- package/pagination/index.mjs +7 -12
- package/pagination/pagination-context.d.ts +3 -2
- package/pagination/pagination-ellipsis.cjs +2 -2
- package/pagination/pagination-ellipsis.d.ts +3 -2
- package/pagination/pagination-ellipsis.mjs +2 -2
- package/pagination/pagination-item.cjs +21 -0
- package/pagination/pagination-item.d.ts +8 -0
- package/pagination/pagination-item.mjs +17 -0
- package/pagination/pagination-next-trigger.cjs +21 -0
- package/pagination/pagination-next-trigger.d.ts +6 -0
- package/pagination/pagination-next-trigger.mjs +17 -0
- package/pagination/pagination-prev-trigger.cjs +21 -0
- package/pagination/pagination-prev-trigger.d.ts +6 -0
- package/pagination/pagination-prev-trigger.mjs +17 -0
- package/pagination/pagination.cjs +5 -5
- package/pagination/pagination.d.ts +4 -5
- package/pagination/pagination.mjs +5 -5
- package/pagination/use-pagination.cjs +4 -3
- package/pagination/use-pagination.d.ts +6 -1
- package/pagination/use-pagination.mjs +4 -3
- package/pin-input/index.cjs +3 -8
- package/pin-input/index.d.ts +7 -16
- package/pin-input/index.mjs +0 -1
- package/pin-input/pin-input-context.d.ts +3 -2
- package/pin-input/pin-input-control.d.ts +4 -5
- package/pin-input/pin-input-field.cjs +2 -2
- package/pin-input/pin-input-field.d.ts +4 -5
- package/pin-input/pin-input-field.mjs +2 -2
- package/pin-input/pin-input-label.cjs +2 -2
- package/pin-input/pin-input-label.d.ts +4 -5
- package/pin-input/pin-input-label.mjs +2 -2
- package/pin-input/pin-input.cjs +3 -3
- package/pin-input/pin-input.d.ts +3 -2
- package/pin-input/pin-input.mjs +3 -3
- package/pin-input/use-pin-input.cjs +7 -4
- package/pin-input/use-pin-input.d.ts +7 -2
- package/pin-input/use-pin-input.mjs +7 -4
- package/popover/index.cjs +6 -8
- package/popover/index.d.ts +15 -31
- package/popover/index.mjs +3 -2
- package/popover/popover-anchor.cjs +2 -2
- package/popover/popover-anchor.d.ts +4 -5
- package/popover/popover-anchor.mjs +2 -2
- package/popover/popover-arrow-tip.cjs +2 -2
- package/popover/popover-arrow-tip.d.ts +4 -5
- package/popover/popover-arrow-tip.mjs +2 -2
- package/popover/popover-arrow.cjs +2 -2
- package/popover/popover-arrow.d.ts +4 -5
- package/popover/popover-arrow.mjs +2 -2
- package/popover/popover-close-trigger.cjs +2 -2
- package/popover/popover-close-trigger.d.ts +4 -5
- package/popover/popover-close-trigger.mjs +2 -2
- package/popover/popover-content.d.ts +3 -2
- package/popover/popover-context.d.ts +3 -2
- package/popover/popover-description.cjs +2 -2
- package/popover/popover-description.d.ts +4 -5
- package/popover/popover-description.mjs +2 -2
- package/{range-slider/range-slider-range.cjs → popover/popover-indicator.cjs} +6 -6
- package/popover/popover-indicator.d.ts +6 -0
- package/popover/popover-indicator.mjs +15 -0
- package/popover/popover-positioner.cjs +2 -2
- package/popover/popover-positioner.d.ts +4 -5
- package/popover/popover-positioner.mjs +2 -2
- package/popover/popover-title.cjs +2 -2
- package/popover/popover-title.d.ts +4 -5
- package/popover/popover-title.mjs +2 -2
- package/popover/popover-trigger.cjs +2 -2
- package/popover/popover-trigger.d.ts +4 -5
- package/popover/popover-trigger.mjs +2 -2
- package/popover/popover.cjs +3 -3
- package/popover/popover.d.ts +3 -2
- package/popover/popover.mjs +3 -3
- package/popover/use-popover.cjs +11 -5
- package/popover/use-popover.d.ts +8 -2
- package/popover/use-popover.mjs +11 -5
- package/portal.cjs +22 -0
- package/portal.d.ts +6 -0
- package/portal.mjs +18 -0
- package/presence/presence.d.ts +4 -2
- package/presence/presence.stories.d.ts +1 -1
- package/presence/use-presence.cjs +6 -3
- package/presence/use-presence.mjs +6 -3
- package/radio-group/index.cjs +14 -17
- package/radio-group/index.d.ts +15 -23
- package/radio-group/index.mjs +11 -10
- package/radio-group/radio-group-context.d.ts +3 -2
- package/radio-group/radio-group-indicator.cjs +22 -0
- package/radio-group/radio-group-indicator.d.ts +6 -0
- package/radio-group/radio-group-indicator.mjs +18 -0
- package/radio-group/radio-group-item-context.cjs +15 -0
- package/radio-group/radio-group-item-context.d.ts +6 -0
- package/radio-group/radio-group-item-context.mjs +10 -0
- package/radio-group/radio-group-item-control.cjs +26 -0
- package/radio-group/radio-group-item-control.d.ts +6 -0
- package/radio-group/radio-group-item-control.mjs +22 -0
- package/radio-group/radio-group-item-text.cjs +23 -0
- package/radio-group/radio-group-item-text.d.ts +6 -0
- package/radio-group/radio-group-item-text.mjs +19 -0
- package/radio-group/radio-group-item.cjs +29 -0
- package/radio-group/radio-group-item.d.ts +10 -0
- package/radio-group/radio-group-item.mjs +25 -0
- package/radio-group/radio-group-label.cjs +2 -2
- package/radio-group/radio-group-label.d.ts +4 -5
- package/radio-group/radio-group-label.mjs +2 -2
- package/radio-group/radio-group.cjs +4 -4
- package/radio-group/radio-group.d.ts +3 -2
- package/radio-group/radio-group.mjs +4 -4
- package/radio-group/radio-group.stories.d.ts +0 -1
- package/radio-group/use-radio-group.cjs +4 -3
- package/radio-group/use-radio-group.d.ts +6 -1
- package/radio-group/use-radio-group.mjs +4 -3
- package/rating-group/index.cjs +8 -13
- package/rating-group/index.d.ts +11 -21
- package/rating-group/index.mjs +4 -5
- package/rating-group/rating-group-context.d.ts +3 -2
- package/rating-group/rating-group-control.cjs +4 -1
- package/rating-group/rating-group-control.d.ts +3 -5
- package/rating-group/rating-group-control.mjs +5 -2
- package/rating-group/rating-group-item-context.cjs +16 -0
- package/rating-group/rating-group-item-context.d.ts +6 -0
- package/rating-group/rating-group-item-context.mjs +11 -0
- package/rating-group/rating-group-item.cjs +24 -0
- package/rating-group/rating-group-item.d.ts +10 -0
- package/rating-group/rating-group-item.mjs +20 -0
- package/rating-group/rating-group-label.cjs +2 -2
- package/rating-group/rating-group-label.d.ts +4 -5
- package/rating-group/rating-group-label.mjs +2 -2
- package/rating-group/rating-group.cjs +4 -7
- package/rating-group/rating-group.d.ts +3 -2
- package/rating-group/rating-group.mjs +5 -8
- package/rating-group/use-rating-group.cjs +5 -3
- package/rating-group/use-rating-group.d.ts +6 -1
- package/rating-group/use-rating-group.mjs +5 -3
- package/segment-group/index.cjs +12 -14
- package/segment-group/index.d.ts +14 -26
- package/segment-group/index.mjs +9 -10
- package/segment-group/segment-group-context.d.ts +3 -2
- package/segment-group/segment-group-indicator.cjs +7 -3
- package/segment-group/segment-group-indicator.d.ts +4 -5
- package/segment-group/segment-group-indicator.mjs +7 -3
- package/segment-group/segment-group-item-context.cjs +15 -0
- package/segment-group/segment-group-item-context.d.ts +18 -0
- package/segment-group/segment-group-item-context.mjs +10 -0
- package/segment-group/segment-group-item-control.cjs +31 -0
- package/segment-group/segment-group-item-control.d.ts +6 -0
- package/segment-group/segment-group-item-control.mjs +27 -0
- package/segment-group/segment-group-item-text.cjs +28 -0
- package/segment-group/segment-group-item-text.d.ts +6 -0
- package/segment-group/segment-group-item-text.mjs +24 -0
- package/segment-group/segment-group-item.cjs +35 -0
- package/segment-group/segment-group-item.d.ts +10 -0
- package/segment-group/segment-group-item.mjs +31 -0
- package/segment-group/segment-group-label.cjs +7 -3
- package/segment-group/segment-group-label.d.ts +4 -5
- package/segment-group/segment-group-label.mjs +7 -3
- package/segment-group/segment-group.anatomy.cjs +2 -4
- package/segment-group/segment-group.anatomy.mjs +2 -3
- package/segment-group/segment-group.cjs +8 -4
- package/segment-group/segment-group.d.ts +3 -2
- package/segment-group/segment-group.mjs +8 -4
- package/segment-group/segment-group.stories.d.ts +1 -4
- package/segment-group/use-segment-group.cjs +4 -3
- package/segment-group/use-segment-group.d.ts +6 -1
- package/segment-group/use-segment-group.mjs +4 -3
- package/select/index.cjs +8 -5
- package/select/index.d.ts +20 -38
- package/select/index.mjs +6 -4
- package/select/select-clear-trigger.d.ts +4 -5
- package/select/select-content.d.ts +3 -2
- package/select/select-context.d.ts +2 -1
- package/select/select-control.d.ts +4 -5
- package/{range-slider/range-slider-track.cjs → select/select-indicator.cjs} +6 -6
- package/select/select-indicator.d.ts +6 -0
- package/select/select-indicator.mjs +15 -0
- package/select/select-item-context.d.ts +2 -1
- package/select/select-item-group-label.d.ts +3 -2
- package/select/select-item-group.d.ts +3 -2
- package/select/select-item-indicator.d.ts +4 -5
- package/select/select-item-text.d.ts +4 -5
- package/select/select-item.d.ts +5 -6
- package/select/select-label.d.ts +4 -5
- package/select/select-positioner.d.ts +4 -5
- package/select/select-trigger.d.ts +4 -5
- package/select/{select-value.cjs → select-value-text.cjs} +5 -5
- package/select/select-value-text.d.ts +6 -0
- package/select/select-value-text.mjs +15 -0
- package/select/select.cjs +3 -4
- package/select/select.d.ts +3 -2
- package/select/select.mjs +3 -4
- package/select/use-select.cjs +11 -4
- package/select/use-select.d.ts +5 -1
- package/select/use-select.mjs +12 -5
- package/setup-test.d.ts +3 -0
- package/slider/index.cjs +3 -8
- package/slider/index.d.ts +14 -38
- package/slider/index.mjs +0 -1
- package/slider/slider-context.d.ts +3 -2
- package/slider/slider-control.cjs +2 -2
- package/slider/slider-control.d.ts +4 -5
- package/slider/slider-control.mjs +2 -2
- package/slider/slider-label.cjs +2 -2
- package/slider/slider-label.d.ts +4 -5
- package/slider/slider-label.mjs +2 -2
- package/slider/slider-marker-group.cjs +2 -2
- package/slider/slider-marker-group.d.ts +4 -5
- package/slider/slider-marker-group.mjs +2 -2
- package/slider/slider-marker.cjs +2 -2
- package/slider/slider-marker.d.ts +4 -6
- package/slider/slider-marker.mjs +2 -2
- package/slider/slider-output.cjs +5 -5
- package/slider/slider-output.d.ts +8 -10
- package/slider/slider-output.mjs +5 -5
- package/slider/slider-range.cjs +2 -2
- package/slider/slider-range.d.ts +4 -5
- package/slider/slider-range.mjs +2 -2
- package/slider/slider-thumb.cjs +7 -2
- package/slider/slider-thumb.d.ts +6 -5
- package/slider/slider-thumb.mjs +8 -3
- package/slider/slider-track.cjs +2 -2
- package/slider/slider-track.d.ts +4 -5
- package/slider/slider-track.mjs +2 -2
- package/slider/slider.cjs +6 -10
- package/slider/slider.d.ts +6 -8
- package/slider/slider.mjs +7 -11
- package/slider/slider.stories.d.ts +1 -1
- package/slider/use-slider.cjs +11 -8
- package/slider/use-slider.d.ts +9 -4
- package/slider/use-slider.mjs +10 -7
- package/splitter/index.cjs +3 -8
- package/splitter/index.d.ts +6 -14
- package/splitter/index.mjs +0 -1
- package/splitter/splitter-context.d.ts +3 -2
- package/splitter/splitter-panel.cjs +2 -2
- package/splitter/splitter-panel.d.ts +3 -2
- package/splitter/splitter-panel.mjs +2 -2
- package/splitter/splitter-resize-trigger.cjs +2 -2
- package/splitter/splitter-resize-trigger.d.ts +3 -2
- package/splitter/splitter-resize-trigger.mjs +2 -2
- package/splitter/splitter.cjs +7 -7
- package/splitter/splitter.d.ts +4 -5
- package/splitter/splitter.mjs +7 -7
- package/splitter/use-splitter.cjs +6 -3
- package/splitter/use-splitter.d.ts +6 -1
- package/splitter/use-splitter.mjs +6 -3
- package/switch/index.cjs +0 -5
- package/switch/index.d.ts +7 -21
- package/switch/index.mjs +0 -1
- package/switch/switch-context.d.ts +3 -2
- package/switch/switch-control.cjs +4 -1
- package/switch/switch-control.d.ts +4 -5
- package/switch/switch-control.mjs +5 -2
- package/switch/switch-label.cjs +2 -2
- package/switch/switch-label.d.ts +4 -5
- package/switch/switch-label.mjs +2 -2
- package/switch/switch-thumb.cjs +2 -2
- package/switch/switch-thumb.d.ts +4 -5
- package/switch/switch-thumb.mjs +2 -2
- package/switch/switch.cjs +2 -6
- package/switch/switch.d.ts +4 -5
- package/switch/switch.mjs +3 -7
- package/switch/use-switch.cjs +4 -3
- package/switch/use-switch.d.ts +6 -1
- package/switch/use-switch.mjs +4 -3
- package/tabs/index.cjs +3 -8
- package/tabs/index.d.ts +8 -19
- package/tabs/index.mjs +0 -1
- package/tabs/tab-content.cjs +2 -2
- package/tabs/tab-content.d.ts +4 -5
- package/tabs/tab-content.mjs +2 -2
- package/tabs/tab-indicator.cjs +2 -2
- package/tabs/tab-indicator.d.ts +4 -5
- package/tabs/tab-indicator.mjs +2 -2
- package/tabs/tab-list.cjs +2 -2
- package/tabs/tab-list.d.ts +4 -5
- package/tabs/tab-list.mjs +2 -2
- package/tabs/tab-presence.cjs +2 -2
- package/tabs/tab-presence.d.ts +2 -1
- package/tabs/tab-presence.mjs +2 -2
- package/tabs/tab-trigger.cjs +2 -2
- package/tabs/tab-trigger.d.ts +3 -2
- package/tabs/tab-trigger.mjs +2 -2
- package/tabs/tabs-context.d.ts +3 -2
- package/tabs/tabs.cjs +5 -5
- package/tabs/tabs.d.ts +3 -2
- package/tabs/tabs.mjs +5 -5
- package/tabs/use-tabs.cjs +5 -3
- package/tabs/use-tabs.d.ts +6 -1
- package/tabs/use-tabs.mjs +5 -3
- package/tags-input/index.cjs +21 -21
- package/tags-input/index.d.ts +19 -56
- package/tags-input/index.mjs +12 -10
- package/tags-input/tags-input-clear-trigger.cjs +2 -2
- package/tags-input/tags-input-clear-trigger.d.ts +4 -5
- package/tags-input/tags-input-clear-trigger.mjs +2 -2
- package/tags-input/tags-input-context.d.ts +3 -2
- package/tags-input/tags-input-control.d.ts +4 -5
- package/tags-input/tags-input-input.d.ts +6 -0
- package/tags-input/tags-input-item-context.cjs +17 -0
- package/tags-input/tags-input-item-context.d.ts +6 -0
- package/tags-input/tags-input-item-context.mjs +12 -0
- package/tags-input/tags-input-item-delete-trigger.cjs +21 -0
- package/tags-input/tags-input-item-delete-trigger.d.ts +6 -0
- package/tags-input/tags-input-item-delete-trigger.mjs +17 -0
- package/tags-input/tags-input-item-input.cjs +23 -0
- package/tags-input/tags-input-item-input.d.ts +6 -0
- package/tags-input/tags-input-item-input.mjs +19 -0
- package/tags-input/tags-input-item-text.cjs +23 -0
- package/tags-input/tags-input-item-text.d.ts +6 -0
- package/tags-input/tags-input-item-text.mjs +19 -0
- package/tags-input/tags-input-item.cjs +29 -0
- package/tags-input/tags-input-item.d.ts +10 -0
- package/tags-input/tags-input-item.mjs +25 -0
- package/tags-input/tags-input-label.cjs +2 -2
- package/tags-input/tags-input-label.d.ts +4 -5
- package/tags-input/tags-input-label.mjs +2 -2
- package/tags-input/tags-input.cjs +3 -3
- package/tags-input/tags-input.d.ts +6 -7
- package/tags-input/tags-input.mjs +3 -3
- package/tags-input/tags-input.stories.d.ts +1 -1
- package/tags-input/use-tags-input.cjs +7 -4
- package/tags-input/use-tags-input.d.ts +6 -1
- package/tags-input/use-tags-input.mjs +7 -4
- package/toast/create-toaster.cjs +59 -0
- package/toast/create-toaster.d.ts +12 -0
- package/toast/create-toaster.mjs +36 -0
- package/toast/index.cjs +4 -20
- package/toast/index.d.ts +10 -30
- package/toast/index.mjs +4 -12
- package/toast/toast-close-trigger.cjs +3 -3
- package/toast/toast-close-trigger.d.ts +4 -5
- package/toast/toast-close-trigger.mjs +3 -3
- package/toast/toast-context.cjs +16 -0
- package/toast/toast-context.d.ts +7 -0
- package/toast/toast-context.mjs +11 -0
- package/toast/toast-description.cjs +6 -8
- package/toast/toast-description.d.ts +4 -5
- package/toast/toast-description.mjs +6 -8
- package/toast/toast-title.cjs +4 -4
- package/toast/toast-title.d.ts +4 -5
- package/toast/toast-title.mjs +4 -4
- package/toast/toast.cjs +4 -11
- package/toast/toast.d.ts +3 -4
- package/toast/toast.mjs +4 -11
- package/toast/toast.stories.d.ts +2 -9
- package/toast/toast.test.d.ts +2 -1
- package/toggle-group/index.cjs +3 -5
- package/toggle-group/index.d.ts +6 -15
- package/toggle-group/index.mjs +3 -4
- package/toggle-group/toggle-group-context.d.ts +3 -2
- package/toggle-group/{toggle.cjs → toggle-group-item.cjs} +5 -5
- package/toggle-group/toggle-group-item.d.ts +8 -0
- package/toggle-group/{toggle.mjs → toggle-group-item.mjs} +5 -5
- package/toggle-group/toggle-group.cjs +1 -1
- package/toggle-group/toggle-group.d.ts +3 -2
- package/toggle-group/toggle-group.mjs +1 -1
- package/toggle-group/use-toggle-group.cjs +4 -3
- package/toggle-group/use-toggle-group.d.ts +6 -1
- package/toggle-group/use-toggle-group.mjs +4 -3
- package/tooltip/index.cjs +3 -8
- package/tooltip/index.d.ts +9 -19
- package/tooltip/index.mjs +0 -1
- package/tooltip/tooltip-arrow-tip.cjs +2 -2
- package/tooltip/tooltip-arrow-tip.d.ts +4 -5
- package/tooltip/tooltip-arrow-tip.mjs +2 -2
- package/tooltip/tooltip-arrow.cjs +2 -2
- package/tooltip/tooltip-arrow.d.ts +4 -5
- package/tooltip/tooltip-arrow.mjs +2 -2
- package/tooltip/tooltip-content.cjs +2 -2
- package/tooltip/tooltip-content.d.ts +3 -2
- package/tooltip/tooltip-content.mjs +2 -2
- package/tooltip/tooltip-context.d.ts +3 -2
- package/tooltip/tooltip-positioner.cjs +2 -2
- package/tooltip/tooltip-positioner.d.ts +4 -5
- package/tooltip/tooltip-positioner.mjs +2 -2
- package/tooltip/tooltip-trigger.cjs +2 -2
- package/tooltip/tooltip-trigger.d.ts +4 -5
- package/tooltip/tooltip-trigger.mjs +2 -2
- package/tooltip/tooltip.cjs +3 -3
- package/tooltip/tooltip.d.ts +3 -4
- package/tooltip/tooltip.mjs +3 -3
- package/tooltip/use-tooltip.cjs +8 -4
- package/tooltip/use-tooltip.d.ts +3 -1
- package/tooltip/use-tooltip.mjs +8 -4
- package/use-event.cjs +1 -2
- package/use-event.mjs +1 -2
- package/accordion/accordion-content.d.ts +0 -7
- package/accordion/accordion-trigger.d.ts +0 -7
- package/accordion/accordion.anatomy.d.ts +0 -1
- package/avatar/avatar.anatomy.d.ts +0 -1
- package/carousel/carousel-next-slide-trigger.cjs +0 -19
- package/carousel/carousel-next-slide-trigger.d.ts +0 -7
- package/carousel/carousel-next-slide-trigger.mjs +0 -15
- package/carousel/carousel-prev-slide-trigger.cjs +0 -19
- package/carousel/carousel-prev-slide-trigger.d.ts +0 -7
- package/carousel/carousel-prev-slide-trigger.mjs +0 -15
- package/carousel/carousel-slide-group.d.ts +0 -7
- package/carousel/carousel-slide.d.ts +0 -7
- package/carousel/carousel.anatomy.cjs +0 -12
- package/carousel/carousel.anatomy.d.ts +0 -3
- package/carousel/carousel.anatomy.mjs +0 -7
- package/checkbox/checkbox.anatomy.d.ts +0 -1
- package/color-picker/color-picker-area-gradient.d.ts +0 -7
- package/color-picker/color-picker-channel-slider-background.cjs +0 -21
- package/color-picker/color-picker-channel-slider-background.d.ts +0 -7
- package/color-picker/color-picker-channel-slider-background.mjs +0 -17
- package/color-picker/color-picker-swatch-background.cjs +0 -21
- package/color-picker/color-picker-swatch-background.d.ts +0 -7
- package/color-picker/color-picker-swatch-background.mjs +0 -17
- package/color-picker/color-picker-swatch-context.cjs +0 -15
- package/color-picker/color-picker-swatch-context.d.ts +0 -4
- package/color-picker/color-picker-swatch-context.mjs +0 -10
- package/color-picker/color-picker.anatomy.cjs +0 -12
- package/color-picker/color-picker.anatomy.d.ts +0 -3
- package/color-picker/color-picker.anatomy.mjs +0 -7
- package/combobox/combobox.anatomy.d.ts +0 -1
- package/date-picker/date-picker-cell-context.cjs +0 -15
- package/date-picker/date-picker-cell-context.d.ts +0 -4
- package/date-picker/date-picker-cell-context.mjs +0 -10
- package/date-picker/date-picker-column-header.cjs +0 -18
- package/date-picker/date-picker-column-header.d.ts +0 -7
- package/date-picker/date-picker-column-header.mjs +0 -14
- package/date-picker/date-picker-day-cell-context.cjs +0 -17
- package/date-picker/date-picker-day-cell-context.d.ts +0 -4
- package/date-picker/date-picker-day-cell-context.mjs +0 -12
- package/date-picker/date-picker-day-cell-trigger.cjs +0 -21
- package/date-picker/date-picker-day-cell-trigger.d.ts +0 -7
- package/date-picker/date-picker-day-cell-trigger.mjs +0 -17
- package/date-picker/date-picker-day-cell.cjs +0 -28
- package/date-picker/date-picker-day-cell.d.ts +0 -7
- package/date-picker/date-picker-day-cell.mjs +0 -24
- package/date-picker/date-picker-grid.d.ts +0 -7
- package/date-picker/date-picker-grid.mjs +0 -17
- package/date-picker/date-picker-month-cell-trigger.cjs +0 -21
- package/date-picker/date-picker-month-cell-trigger.d.ts +0 -7
- package/date-picker/date-picker-month-cell-trigger.mjs +0 -17
- package/date-picker/date-picker-month-cell.cjs +0 -24
- package/date-picker/date-picker-month-cell.d.ts +0 -7
- package/date-picker/date-picker-month-cell.mjs +0 -20
- package/date-picker/date-picker-row-group.cjs +0 -16
- package/date-picker/date-picker-row-group.d.ts +0 -7
- package/date-picker/date-picker-row-group.mjs +0 -12
- package/date-picker/date-picker-row-header.cjs +0 -21
- package/date-picker/date-picker-row-header.d.ts +0 -7
- package/date-picker/date-picker-row-header.mjs +0 -17
- package/date-picker/date-picker-row.cjs +0 -14
- package/date-picker/date-picker-row.d.ts +0 -7
- package/date-picker/date-picker-row.mjs +0 -10
- package/date-picker/date-picker-year-cell-trigger.cjs +0 -21
- package/date-picker/date-picker-year-cell-trigger.d.ts +0 -7
- package/date-picker/date-picker-year-cell-trigger.mjs +0 -17
- package/date-picker/date-picker-year-cell.cjs +0 -24
- package/date-picker/date-picker-year-cell.d.ts +0 -7
- package/date-picker/date-picker-year-cell.mjs +0 -20
- package/date-picker/date-picker.anatomy.cjs +0 -12
- package/date-picker/date-picker.anatomy.d.ts +0 -3
- package/date-picker/date-picker.anatomy.mjs +0 -7
- package/dialog/dialog-container.d.ts +0 -7
- package/dialog/dialog.anatomy.d.ts +0 -1
- package/editable/editable.anatomy.d.ts +0 -1
- package/hover-card/hover-card.anatomy.d.ts +0 -1
- package/menu/menu.anatomy.d.ts +0 -1
- package/number-input/number-input.anatomy.d.ts +0 -1
- package/pagination/pagination-list-item.cjs +0 -16
- package/pagination/pagination-list-item.d.ts +0 -7
- package/pagination/pagination-list-item.mjs +0 -12
- package/pagination/pagination-list.cjs +0 -14
- package/pagination/pagination-list.d.ts +0 -7
- package/pagination/pagination-list.mjs +0 -10
- package/pagination/pagination-next-page-trigger.cjs +0 -19
- package/pagination/pagination-next-page-trigger.d.ts +0 -7
- package/pagination/pagination-next-page-trigger.mjs +0 -15
- package/pagination/pagination-page-trigger.cjs +0 -26
- package/pagination/pagination-page-trigger.d.ts +0 -7
- package/pagination/pagination-page-trigger.mjs +0 -22
- package/pagination/pagination-prev-page-trigger.cjs +0 -19
- package/pagination/pagination-prev-page-trigger.d.ts +0 -7
- package/pagination/pagination-prev-page-trigger.mjs +0 -15
- package/pagination/pagination.anatomy.cjs +0 -12
- package/pagination/pagination.anatomy.d.ts +0 -3
- package/pagination/pagination.anatomy.mjs +0 -7
- package/pin-input/pin-input.anatomy.d.ts +0 -1
- package/popover/popover.anatomy.d.ts +0 -1
- package/pressable/index.cjs +0 -14
- package/pressable/index.d.ts +0 -10
- package/pressable/index.mjs +0 -9
- package/pressable/pressable.cjs +0 -35
- package/pressable/pressable.d.ts +0 -7
- package/pressable/pressable.mjs +0 -31
- package/pressable/pressable.stories.d.ts +0 -7
- package/pressable/use-pressable.cjs +0 -42
- package/pressable/use-pressable.d.ts +0 -6
- package/pressable/use-pressable.mjs +0 -19
- package/radio-group/radio-context.cjs +0 -16
- package/radio-group/radio-context.d.ts +0 -5
- package/radio-group/radio-context.mjs +0 -11
- package/radio-group/radio-control.cjs +0 -21
- package/radio-group/radio-control.d.ts +0 -7
- package/radio-group/radio-control.mjs +0 -17
- package/radio-group/radio-group.anatomy.d.ts +0 -1
- package/radio-group/radio-label.cjs +0 -21
- package/radio-group/radio-label.d.ts +0 -7
- package/radio-group/radio-label.mjs +0 -17
- package/radio-group/radio.cjs +0 -29
- package/radio-group/radio.d.ts +0 -8
- package/radio-group/radio.mjs +0 -25
- package/range-slider/index.cjs +0 -43
- package/range-slider/index.d.ts +0 -48
- package/range-slider/index.mjs +0 -26
- package/range-slider/range-slider-context.cjs +0 -15
- package/range-slider/range-slider-context.d.ts +0 -5
- package/range-slider/range-slider-context.mjs +0 -10
- package/range-slider/range-slider-control.d.ts +0 -7
- package/range-slider/range-slider-control.mjs +0 -17
- package/range-slider/range-slider-label.d.ts +0 -7
- package/range-slider/range-slider-label.mjs +0 -17
- package/range-slider/range-slider-marker-group.d.ts +0 -7
- package/range-slider/range-slider-marker-group.mjs +0 -17
- package/range-slider/range-slider-marker.cjs +0 -22
- package/range-slider/range-slider-marker.d.ts +0 -10
- package/range-slider/range-slider-marker.mjs +0 -18
- package/range-slider/range-slider-output.cjs +0 -24
- package/range-slider/range-slider-output.d.ts +0 -10
- package/range-slider/range-slider-output.mjs +0 -20
- package/range-slider/range-slider-range.d.ts +0 -7
- package/range-slider/range-slider-range.mjs +0 -15
- package/range-slider/range-slider-thumb.cjs +0 -23
- package/range-slider/range-slider-thumb.d.ts +0 -10
- package/range-slider/range-slider-thumb.mjs +0 -19
- package/range-slider/range-slider-track.d.ts +0 -7
- package/range-slider/range-slider-track.mjs +0 -15
- package/range-slider/range-slider.anatomy.d.ts +0 -1
- package/range-slider/range-slider.cjs +0 -54
- package/range-slider/range-slider.d.ts +0 -10
- package/range-slider/range-slider.mjs +0 -50
- package/range-slider/range-slider.stories.d.ts +0 -8
- package/range-slider/use-range-slider.cjs +0 -51
- package/range-slider/use-range-slider.d.ts +0 -7
- package/range-slider/use-range-slider.mjs +0 -28
- package/rating-group/rating-context.cjs +0 -16
- package/rating-group/rating-context.d.ts +0 -5
- package/rating-group/rating-context.mjs +0 -11
- package/rating-group/rating-group.anatomy.d.ts +0 -1
- package/rating-group/rating.cjs +0 -24
- package/rating-group/rating.d.ts +0 -11
- package/rating-group/rating.mjs +0 -20
- package/segment-group/segment-context.cjs +0 -16
- package/segment-group/segment-context.d.ts +0 -5
- package/segment-group/segment-context.mjs +0 -11
- package/segment-group/segment-control.cjs +0 -22
- package/segment-group/segment-control.d.ts +0 -7
- package/segment-group/segment-control.mjs +0 -18
- package/segment-group/segment-group.anatomy.d.ts +0 -3
- package/segment-group/segment-label.cjs +0 -22
- package/segment-group/segment-label.d.ts +0 -7
- package/segment-group/segment-label.mjs +0 -18
- package/segment-group/segment.cjs +0 -30
- package/segment-group/segment.d.ts +0 -8
- package/segment-group/segment.mjs +0 -26
- package/select/select-value.d.ts +0 -7
- package/select/select-value.mjs +0 -15
- package/select/select.anatomy.cjs +0 -12
- package/select/select.anatomy.d.ts +0 -3
- package/select/select.anatomy.mjs +0 -7
- package/slider/slider.anatomy.d.ts +0 -1
- package/splitter/splitter.anatomy.d.ts +0 -1
- package/switch/switch.anatomy.d.ts +0 -1
- package/tabs/tabs.anatomy.d.ts +0 -1
- package/tags-input/tag-delete-trigger.cjs +0 -27
- package/tags-input/tag-delete-trigger.d.ts +0 -12
- package/tags-input/tag-delete-trigger.mjs +0 -23
- package/tags-input/tag-input.cjs +0 -25
- package/tags-input/tag-input.d.ts +0 -12
- package/tags-input/tag-input.mjs +0 -21
- package/tags-input/tag.cjs +0 -21
- package/tags-input/tag.d.ts +0 -12
- package/tags-input/tag.mjs +0 -17
- package/tags-input/tags-input-field.d.ts +0 -7
- package/tags-input/tags-input.anatomy.d.ts +0 -1
- package/toast/toast-group.cjs +0 -23
- package/toast/toast-group.d.ts +0 -12
- package/toast/toast-group.mjs +0 -19
- package/toast/toast-item-context.cjs +0 -15
- package/toast/toast-item-context.d.ts +0 -5
- package/toast/toast-item-context.mjs +0 -10
- package/toast/toast-placements.cjs +0 -19
- package/toast/toast-placements.d.ts +0 -7
- package/toast/toast-placements.mjs +0 -15
- package/toast/toast-provider.cjs +0 -44
- package/toast/toast-provider.d.ts +0 -10
- package/toast/toast-provider.mjs +0 -20
- package/toast/toast.anatomy.d.ts +0 -1
- package/toast/use-toast-item.cjs +0 -33
- package/toast/use-toast-item.d.ts +0 -6
- package/toast/use-toast-item.mjs +0 -10
- package/toggle-group/toggle-group.anatomy.cjs +0 -10
- package/toggle-group/toggle-group.anatomy.d.ts +0 -2
- package/toggle-group/toggle-group.anatomy.mjs +0 -6
- package/toggle-group/toggle.d.ts +0 -11
- package/tooltip/tooltip.anatomy.d.ts +0 -1
- /package/{pressable/pressable.test.d.ts → color-picker/color-picker.test.d.ts} +0 -0
- /package/{range-slider/range-slider.test.d.ts → date-picker/date-picker.test.d.ts} +0 -0
- /package/tags-input/{tags-input-field.cjs → tags-input-input.cjs} +0 -0
- /package/tags-input/{tags-input-field.mjs → tags-input-input.mjs} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as rangeSlider from '@zag-js/range-slider';
|
|
2
|
-
import { type Optional } from '../types';
|
|
3
|
-
export interface UseRangeSliderProps extends Optional<rangeSlider.Context, 'id'> {
|
|
4
|
-
defaultValue?: rangeSlider.Context['value'];
|
|
5
|
-
}
|
|
6
|
-
export type UseRangeSliderReturn = rangeSlider.Api;
|
|
7
|
-
export declare const useRangeSlider: (props: UseRangeSliderProps) => UseRangeSliderReturn;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import * as rangeSlider from '@zag-js/range-slider';
|
|
3
|
-
import { useMachine, normalizeProps } from '@zag-js/react';
|
|
4
|
-
import { useId } from 'react';
|
|
5
|
-
import '../environment/index.mjs';
|
|
6
|
-
import { useEvent } from '../use-event.mjs';
|
|
7
|
-
import { useEnvironmentContext } from '../environment/environment-context.mjs';
|
|
8
|
-
|
|
9
|
-
const useRangeSlider = (props) => {
|
|
10
|
-
const getRootNode = useEnvironmentContext();
|
|
11
|
-
const initialContext = {
|
|
12
|
-
id: useId(),
|
|
13
|
-
getRootNode,
|
|
14
|
-
...props,
|
|
15
|
-
value: props.defaultValue
|
|
16
|
-
};
|
|
17
|
-
const context = {
|
|
18
|
-
...initialContext,
|
|
19
|
-
value: props.value,
|
|
20
|
-
onChange: useEvent(props.onChange, { sync: true })
|
|
21
|
-
};
|
|
22
|
-
const [state, send] = useMachine(rangeSlider.machine(initialContext), {
|
|
23
|
-
context
|
|
24
|
-
});
|
|
25
|
-
return rangeSlider.connect(state, send, normalizeProps);
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export { useRangeSlider };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
require('@zag-js/rating-group');
|
|
7
|
-
const createContext = require('../create-context.cjs');
|
|
8
|
-
|
|
9
|
-
const [RatingProvider, useRatingContext] = createContext.createContext({
|
|
10
|
-
name: "RatingContext",
|
|
11
|
-
hookName: "useRatingContext",
|
|
12
|
-
providerName: "<RatingProvider />"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
exports.RatingProvider = RatingProvider;
|
|
16
|
-
exports.useRatingContext = useRatingContext;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Provider } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { ItemState, type connect } from '@zag-js/rating-group';
|
|
4
|
-
export type RatingContext = ReturnType<ReturnType<typeof connect>['getRatingState']>;
|
|
5
|
-
export declare const RatingProvider: Provider<ItemState>, useRatingContext: () => ItemState;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import '@zag-js/rating-group';
|
|
3
|
-
import { createContext } from '../create-context.mjs';
|
|
4
|
-
|
|
5
|
-
const [RatingProvider, useRatingContext] = createContext({
|
|
6
|
-
name: "RatingContext",
|
|
7
|
-
hookName: "useRatingContext",
|
|
8
|
-
providerName: "<RatingProvider />"
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export { RatingProvider, useRatingContext };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy as ratingGroupAnatomy } from '@zag-js/rating-group';
|
package/rating-group/rating.cjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const factory = require('../factory.cjs');
|
|
10
|
-
const runIfFn = require('../run-if-fn.cjs');
|
|
11
|
-
const ratingContext = require('./rating-context.cjs');
|
|
12
|
-
const ratingGroupContext = require('./rating-group-context.cjs');
|
|
13
|
-
|
|
14
|
-
const Rating = react.forwardRef((props, ref) => {
|
|
15
|
-
const { children, index, ...divProps } = props;
|
|
16
|
-
const { getRatingState, getRatingProps } = ratingGroupContext.useRatingGroupContext();
|
|
17
|
-
const ratingState = getRatingState({ index });
|
|
18
|
-
const mergedProps = react$1.mergeProps(getRatingProps({ index }), divProps);
|
|
19
|
-
const view = runIfFn.runIfFn(children, ratingState);
|
|
20
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.span, { ...mergedProps, ref, children: /* @__PURE__ */ jsxRuntime.jsx(ratingContext.RatingProvider, { value: ratingState, children: view }) });
|
|
21
|
-
});
|
|
22
|
-
Rating.displayName = "Rating";
|
|
23
|
-
|
|
24
|
-
exports.Rating = Rating;
|
package/rating-group/rating.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ItemProps } from '@zag-js/rating-group';
|
|
2
|
-
import { ForwardRefExoticComponent, RefAttributes, type ReactNode } from 'react';
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
import type { Assign } from '../types';
|
|
5
|
-
import { type RatingContext } from './rating-context';
|
|
6
|
-
export type RatingProps = Assign<HTMLArkProps<'span'>, ItemProps & {
|
|
7
|
-
children: (state: RatingContext) => ReactNode | ReactNode;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const Rating: ForwardRefExoticComponent<Omit<HTMLArkProps<"span">, "children" | "index"> & ItemProps & {
|
|
10
|
-
children: (state: RatingContext) => ReactNode | ReactNode;
|
|
11
|
-
} & RefAttributes<HTMLSpanElement>>;
|
package/rating-group/rating.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { ark } from '../factory.mjs';
|
|
6
|
-
import { runIfFn } from '../run-if-fn.mjs';
|
|
7
|
-
import { RatingProvider } from './rating-context.mjs';
|
|
8
|
-
import { useRatingGroupContext } from './rating-group-context.mjs';
|
|
9
|
-
|
|
10
|
-
const Rating = forwardRef((props, ref) => {
|
|
11
|
-
const { children, index, ...divProps } = props;
|
|
12
|
-
const { getRatingState, getRatingProps } = useRatingGroupContext();
|
|
13
|
-
const ratingState = getRatingState({ index });
|
|
14
|
-
const mergedProps = mergeProps(getRatingProps({ index }), divProps);
|
|
15
|
-
const view = runIfFn(children, ratingState);
|
|
16
|
-
return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ref, children: /* @__PURE__ */ jsx(RatingProvider, { value: ratingState, children: view }) });
|
|
17
|
-
});
|
|
18
|
-
Rating.displayName = "Rating";
|
|
19
|
-
|
|
20
|
-
export { Rating };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
require('@zag-js/radio-group');
|
|
7
|
-
const createContext = require('../create-context.cjs');
|
|
8
|
-
|
|
9
|
-
const [SegmentProvider, useSegmentContext] = createContext.createContext({
|
|
10
|
-
name: "SegmentContext",
|
|
11
|
-
hookName: "useSegmentContext",
|
|
12
|
-
providerName: "<SegmentProvider />"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
exports.SegmentProvider = SegmentProvider;
|
|
16
|
-
exports.useSegmentContext = useSegmentContext;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Provider } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { RadioProps, type connect } from '@zag-js/radio-group';
|
|
4
|
-
export type SegmentContext = Parameters<ReturnType<typeof connect>['getRadioProps']>[0];
|
|
5
|
-
export declare const SegmentProvider: Provider<RadioProps>, useSegmentContext: () => RadioProps;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import '@zag-js/radio-group';
|
|
3
|
-
import { createContext } from '../create-context.mjs';
|
|
4
|
-
|
|
5
|
-
const [SegmentProvider, useSegmentContext] = createContext({
|
|
6
|
-
name: "SegmentContext",
|
|
7
|
-
hookName: "useSegmentContext",
|
|
8
|
-
providerName: "<SegmentProvider />"
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export { SegmentProvider, useSegmentContext };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const factory = require('../factory.cjs');
|
|
10
|
-
const segmentContext = require('./segment-context.cjs');
|
|
11
|
-
const segmentGroupContext = require('./segment-group-context.cjs');
|
|
12
|
-
const segmentGroup_anatomy = require('./segment-group.anatomy.cjs');
|
|
13
|
-
|
|
14
|
-
const SegmentControl = react.forwardRef((props, ref) => {
|
|
15
|
-
const api = segmentGroupContext.useSegmentGroupContext();
|
|
16
|
-
const segmentProps = segmentContext.useSegmentContext();
|
|
17
|
-
const mergedProps = react$1.mergeProps(api.getRadioControlProps(segmentProps), props);
|
|
18
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ...segmentGroup_anatomy.parts.radioControl.attrs, ref });
|
|
19
|
-
});
|
|
20
|
-
SegmentControl.displayName = "SegmentControl";
|
|
21
|
-
|
|
22
|
-
exports.SegmentControl = SegmentControl;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
export type SegmentControlProps = HTMLArkProps<'div'>;
|
|
5
|
-
export declare const SegmentControl: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
asChild?: boolean | undefined;
|
|
7
|
-
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { ark } from '../factory.mjs';
|
|
6
|
-
import { useSegmentContext } from './segment-context.mjs';
|
|
7
|
-
import { useSegmentGroupContext } from './segment-group-context.mjs';
|
|
8
|
-
import { parts } from './segment-group.anatomy.mjs';
|
|
9
|
-
|
|
10
|
-
const SegmentControl = forwardRef((props, ref) => {
|
|
11
|
-
const api = useSegmentGroupContext();
|
|
12
|
-
const segmentProps = useSegmentContext();
|
|
13
|
-
const mergedProps = mergeProps(api.getRadioControlProps(segmentProps), props);
|
|
14
|
-
return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ...parts.radioControl.attrs, ref });
|
|
15
|
-
});
|
|
16
|
-
SegmentControl.displayName = "SegmentControl";
|
|
17
|
-
|
|
18
|
-
export { SegmentControl };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Anatomy, AnatomyPart } from '@zag-js/anatomy';
|
|
2
|
-
export declare const segmentGroupAnatomy: Anatomy<"label" | "radio" | "root" | "indicator" | "radioLabel" | "radioControl">;
|
|
3
|
-
export declare const parts: Record<"label" | "radio" | "root" | "indicator" | "radioLabel" | "radioControl", AnatomyPart>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const factory = require('../factory.cjs');
|
|
10
|
-
const segmentContext = require('./segment-context.cjs');
|
|
11
|
-
const segmentGroupContext = require('./segment-group-context.cjs');
|
|
12
|
-
const segmentGroup_anatomy = require('./segment-group.anatomy.cjs');
|
|
13
|
-
|
|
14
|
-
const SegmentLabel = react.forwardRef((props, ref) => {
|
|
15
|
-
const { getRadioLabelProps } = segmentGroupContext.useSegmentGroupContext();
|
|
16
|
-
const context = segmentContext.useSegmentContext();
|
|
17
|
-
const mergedProps = react$1.mergeProps(getRadioLabelProps(context), props);
|
|
18
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.span, { ...mergedProps, ...segmentGroup_anatomy.parts.radioLabel.attrs, ref });
|
|
19
|
-
});
|
|
20
|
-
SegmentLabel.displayName = "SegmentLabel";
|
|
21
|
-
|
|
22
|
-
exports.SegmentLabel = SegmentLabel;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
export type SegmentLabelProps = HTMLArkProps<'span'>;
|
|
5
|
-
export declare const SegmentLabel: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
6
|
-
asChild?: boolean | undefined;
|
|
7
|
-
} & RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { ark } from '../factory.mjs';
|
|
6
|
-
import { useSegmentContext } from './segment-context.mjs';
|
|
7
|
-
import { useSegmentGroupContext } from './segment-group-context.mjs';
|
|
8
|
-
import { parts } from './segment-group.anatomy.mjs';
|
|
9
|
-
|
|
10
|
-
const SegmentLabel = forwardRef((props, ref) => {
|
|
11
|
-
const { getRadioLabelProps } = useSegmentGroupContext();
|
|
12
|
-
const context = useSegmentContext();
|
|
13
|
-
const mergedProps = mergeProps(getRadioLabelProps(context), props);
|
|
14
|
-
return /* @__PURE__ */ jsx(ark.span, { ...mergedProps, ...parts.radioLabel.attrs, ref });
|
|
15
|
-
});
|
|
16
|
-
SegmentLabel.displayName = "SegmentLabel";
|
|
17
|
-
|
|
18
|
-
export { SegmentLabel };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const createSplitProps = require('../create-split-props.cjs');
|
|
10
|
-
const factory = require('../factory.cjs');
|
|
11
|
-
const segmentContext = require('./segment-context.cjs');
|
|
12
|
-
const segmentGroupContext = require('./segment-group-context.cjs');
|
|
13
|
-
const segmentGroup_anatomy = require('./segment-group.anatomy.cjs');
|
|
14
|
-
|
|
15
|
-
const Segment = react.forwardRef((props, ref) => {
|
|
16
|
-
const [segmentProps, localProps] = createSplitProps.createSplitProps()(props, [
|
|
17
|
-
"value",
|
|
18
|
-
"disabled",
|
|
19
|
-
"invalid"
|
|
20
|
-
]);
|
|
21
|
-
const api = segmentGroupContext.useSegmentGroupContext();
|
|
22
|
-
const mergedProps = react$1.mergeProps(api.getRadioProps(segmentProps), localProps);
|
|
23
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(segmentContext.SegmentProvider, { value: segmentProps, children: [
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx(factory.ark.label, { ...mergedProps, ...segmentGroup_anatomy.parts.radio.attrs, ref }),
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsx("input", { ...api.getRadioHiddenInputProps(segmentProps) })
|
|
26
|
-
] });
|
|
27
|
-
});
|
|
28
|
-
Segment.displayName = "Segment";
|
|
29
|
-
|
|
30
|
-
exports.Segment = Segment;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { RadioProps } from '@zag-js/radio-group';
|
|
2
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
-
/// <reference types="react" />
|
|
4
|
-
import { type HTMLArkProps } from '../factory';
|
|
5
|
-
import type { Assign } from '../types';
|
|
6
|
-
import { type SegmentContext } from './segment-context';
|
|
7
|
-
export type SegmentProps = Assign<HTMLArkProps<'label'>, SegmentContext>;
|
|
8
|
-
export declare const Segment: ForwardRefExoticComponent<Omit<HTMLArkProps<"label">, keyof RadioProps> & RadioProps & RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { createSplitProps } from '../create-split-props.mjs';
|
|
6
|
-
import { ark } from '../factory.mjs';
|
|
7
|
-
import { SegmentProvider } from './segment-context.mjs';
|
|
8
|
-
import { useSegmentGroupContext } from './segment-group-context.mjs';
|
|
9
|
-
import { parts } from './segment-group.anatomy.mjs';
|
|
10
|
-
|
|
11
|
-
const Segment = forwardRef((props, ref) => {
|
|
12
|
-
const [segmentProps, localProps] = createSplitProps()(props, [
|
|
13
|
-
"value",
|
|
14
|
-
"disabled",
|
|
15
|
-
"invalid"
|
|
16
|
-
]);
|
|
17
|
-
const api = useSegmentGroupContext();
|
|
18
|
-
const mergedProps = mergeProps(api.getRadioProps(segmentProps), localProps);
|
|
19
|
-
return /* @__PURE__ */ jsxs(SegmentProvider, { value: segmentProps, children: [
|
|
20
|
-
/* @__PURE__ */ jsx(ark.label, { ...mergedProps, ...parts.radio.attrs, ref }),
|
|
21
|
-
/* @__PURE__ */ jsx("input", { ...api.getRadioHiddenInputProps(segmentProps) })
|
|
22
|
-
] });
|
|
23
|
-
});
|
|
24
|
-
Segment.displayName = "Segment";
|
|
25
|
-
|
|
26
|
-
export { Segment };
|
package/select/select-value.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
export type SelectValueProps = HTMLArkProps<'span'>;
|
|
5
|
-
export declare const SelectValue: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
6
|
-
asChild?: boolean | undefined;
|
|
7
|
-
} & RefAttributes<HTMLSpanElement>>;
|
package/select/select-value.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import { ark } from '../factory.mjs';
|
|
5
|
-
import { useSelectContext } from './select-context.mjs';
|
|
6
|
-
import { parts } from './select.anatomy.mjs';
|
|
7
|
-
|
|
8
|
-
const SelectValue = forwardRef((props, ref) => {
|
|
9
|
-
const { children, placeholder, ...rest } = props;
|
|
10
|
-
const api = useSelectContext();
|
|
11
|
-
return /* @__PURE__ */ jsx(ark.span, { ...parts.value.attrs, ...rest, ref, children: children || api.valueAsString || placeholder });
|
|
12
|
-
});
|
|
13
|
-
SelectValue.displayName = "SelectValue";
|
|
14
|
-
|
|
15
|
-
export { SelectValue };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const select = require('@zag-js/select');
|
|
7
|
-
|
|
8
|
-
const selectAnatomy = select.anatomy.extendWith("value");
|
|
9
|
-
const parts = selectAnatomy.build();
|
|
10
|
-
|
|
11
|
-
exports.parts = parts;
|
|
12
|
-
exports.selectAnatomy = selectAnatomy;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { AnatomyInstance, AnatomyPart } from '@zag-js/anatomy';
|
|
2
|
-
export declare const selectAnatomy: AnatomyInstance<"value" | "label" | "content" | "trigger" | "positioner" | "root" | "item" | "control" | "clearTrigger" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel">;
|
|
3
|
-
export declare const parts: Record<"value" | "label" | "content" | "trigger" | "positioner" | "root" | "item" | "control" | "clearTrigger" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel", AnatomyPart>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy as sliderAnatomy } from '@zag-js/slider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy as splitterAnatomy } from '@zag-js/splitter';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy as switchAnatomy } from '@zag-js/switch';
|
package/tabs/tabs.anatomy.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy as tabsAnatomy } from '@zag-js/tabs';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const createSplitProps = require('../create-split-props.cjs');
|
|
10
|
-
const factory = require('../factory.cjs');
|
|
11
|
-
const tagsInputContext = require('./tags-input-context.cjs');
|
|
12
|
-
|
|
13
|
-
const TagDeleteTrigger = react.forwardRef(
|
|
14
|
-
(props, ref) => {
|
|
15
|
-
const [tagProps, buttonProps] = createSplitProps.createSplitProps()(props, [
|
|
16
|
-
"index",
|
|
17
|
-
"disabled",
|
|
18
|
-
"value"
|
|
19
|
-
]);
|
|
20
|
-
const { getTagDeleteTriggerProps } = tagsInputContext.useTagsInputContext();
|
|
21
|
-
const mergedProps = react$1.mergeProps(getTagDeleteTriggerProps(tagProps), buttonProps);
|
|
22
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
TagDeleteTrigger.displayName = "TagDeleteTrigger";
|
|
26
|
-
|
|
27
|
-
exports.TagDeleteTrigger = TagDeleteTrigger;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
import { type Assign } from '../types';
|
|
5
|
-
type _TagProps = {
|
|
6
|
-
index: string | number;
|
|
7
|
-
value: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type TagDeleteTriggerProps = Assign<HTMLArkProps<'button'>, _TagProps>;
|
|
11
|
-
export declare const TagDeleteTrigger: ForwardRefExoticComponent<Omit<HTMLArkProps<"button">, keyof _TagProps> & _TagProps & RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { createSplitProps } from '../create-split-props.mjs';
|
|
6
|
-
import { ark } from '../factory.mjs';
|
|
7
|
-
import { useTagsInputContext } from './tags-input-context.mjs';
|
|
8
|
-
|
|
9
|
-
const TagDeleteTrigger = forwardRef(
|
|
10
|
-
(props, ref) => {
|
|
11
|
-
const [tagProps, buttonProps] = createSplitProps()(props, [
|
|
12
|
-
"index",
|
|
13
|
-
"disabled",
|
|
14
|
-
"value"
|
|
15
|
-
]);
|
|
16
|
-
const { getTagDeleteTriggerProps } = useTagsInputContext();
|
|
17
|
-
const mergedProps = mergeProps(getTagDeleteTriggerProps(tagProps), buttonProps);
|
|
18
|
-
return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
TagDeleteTrigger.displayName = "TagDeleteTrigger";
|
|
22
|
-
|
|
23
|
-
export { TagDeleteTrigger };
|
package/tags-input/tag-input.cjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const createSplitProps = require('../create-split-props.cjs');
|
|
10
|
-
const factory = require('../factory.cjs');
|
|
11
|
-
const tagsInputContext = require('./tags-input-context.cjs');
|
|
12
|
-
|
|
13
|
-
const TagInput = react.forwardRef((props, ref) => {
|
|
14
|
-
const [tagProps, inputProps] = createSplitProps.createSplitProps()(props, [
|
|
15
|
-
"index",
|
|
16
|
-
"disabled",
|
|
17
|
-
"value"
|
|
18
|
-
]);
|
|
19
|
-
const { getTagInputProps } = tagsInputContext.useTagsInputContext();
|
|
20
|
-
const mergedProps = react$1.mergeProps(getTagInputProps(tagProps), inputProps);
|
|
21
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.input, { ...mergedProps, ref });
|
|
22
|
-
});
|
|
23
|
-
TagInput.displayName = "TagInput";
|
|
24
|
-
|
|
25
|
-
exports.TagInput = TagInput;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
import { type Assign } from '../types';
|
|
5
|
-
type _TagProps = {
|
|
6
|
-
index: string | number;
|
|
7
|
-
value: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type TagInputProps = Assign<HTMLArkProps<'input'>, _TagProps>;
|
|
11
|
-
export declare const TagInput: ForwardRefExoticComponent<Omit<HTMLArkProps<"input">, keyof _TagProps> & _TagProps & RefAttributes<HTMLInputElement>>;
|
|
12
|
-
export {};
|
package/tags-input/tag-input.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { createSplitProps } from '../create-split-props.mjs';
|
|
6
|
-
import { ark } from '../factory.mjs';
|
|
7
|
-
import { useTagsInputContext } from './tags-input-context.mjs';
|
|
8
|
-
|
|
9
|
-
const TagInput = forwardRef((props, ref) => {
|
|
10
|
-
const [tagProps, inputProps] = createSplitProps()(props, [
|
|
11
|
-
"index",
|
|
12
|
-
"disabled",
|
|
13
|
-
"value"
|
|
14
|
-
]);
|
|
15
|
-
const { getTagInputProps } = useTagsInputContext();
|
|
16
|
-
const mergedProps = mergeProps(getTagInputProps(tagProps), inputProps);
|
|
17
|
-
return /* @__PURE__ */ jsx(ark.input, { ...mergedProps, ref });
|
|
18
|
-
});
|
|
19
|
-
TagInput.displayName = "TagInput";
|
|
20
|
-
|
|
21
|
-
export { TagInput };
|
package/tags-input/tag.cjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
|
-
|
|
6
|
-
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react$1 = require('@zag-js/react');
|
|
8
|
-
const react = require('react');
|
|
9
|
-
const createSplitProps = require('../create-split-props.cjs');
|
|
10
|
-
const factory = require('../factory.cjs');
|
|
11
|
-
const tagsInputContext = require('./tags-input-context.cjs');
|
|
12
|
-
|
|
13
|
-
const Tag = react.forwardRef((props, ref) => {
|
|
14
|
-
const [tagProps, divProps] = createSplitProps.createSplitProps()(props, ["index", "disabled", "value"]);
|
|
15
|
-
const { getTagProps } = tagsInputContext.useTagsInputContext();
|
|
16
|
-
const mergedProps = react$1.mergeProps(getTagProps(tagProps), divProps);
|
|
17
|
-
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref });
|
|
18
|
-
});
|
|
19
|
-
Tag.displayName = "Tag";
|
|
20
|
-
|
|
21
|
-
exports.Tag = Tag;
|
package/tags-input/tag.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
import { type Assign } from '../types';
|
|
5
|
-
type _TagProps = {
|
|
6
|
-
index: string | number;
|
|
7
|
-
value: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type TagProps = Assign<HTMLArkProps<'div'>, _TagProps>;
|
|
11
|
-
export declare const Tag: ForwardRefExoticComponent<Omit<HTMLArkProps<"div">, keyof _TagProps> & _TagProps & RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export {};
|
package/tags-input/tag.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { createSplitProps } from '../create-split-props.mjs';
|
|
6
|
-
import { ark } from '../factory.mjs';
|
|
7
|
-
import { useTagsInputContext } from './tags-input-context.mjs';
|
|
8
|
-
|
|
9
|
-
const Tag = forwardRef((props, ref) => {
|
|
10
|
-
const [tagProps, divProps] = createSplitProps()(props, ["index", "disabled", "value"]);
|
|
11
|
-
const { getTagProps } = useTagsInputContext();
|
|
12
|
-
const mergedProps = mergeProps(getTagProps(tagProps), divProps);
|
|
13
|
-
return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });
|
|
14
|
-
});
|
|
15
|
-
Tag.displayName = "Tag";
|
|
16
|
-
|
|
17
|
-
export { Tag };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent, DetailedHTMLProps, InputHTMLAttributes, RefAttributes } from 'react';
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
4
|
-
export type TagsInputInputProps = HTMLArkProps<'input'>;
|
|
5
|
-
export declare const TagsInputInput: ForwardRefExoticComponent<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
6
|
-
asChild?: boolean | undefined;
|
|
7
|
-
} & RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|