@ark-ui/react 0.9.0 → 0.10.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 +17 -2
- package/accordion/accordion-content.cjs +16 -12
- package/accordion/accordion-content.d.ts +9 -5
- package/accordion/accordion-content.mjs +15 -11
- package/accordion/accordion-item.cjs +5 -4
- package/accordion/accordion-item.d.ts +10 -4
- package/accordion/accordion-item.mjs +2 -1
- package/accordion/accordion-trigger.cjs +11 -8
- package/accordion/accordion-trigger.d.ts +8 -5
- package/accordion/accordion-trigger.mjs +10 -7
- package/accordion/accordion.cjs +5 -4
- package/accordion/accordion.d.ts +11 -4
- package/accordion/accordion.mjs +2 -1
- package/accordion/use-accordion.cjs +5 -5
- package/avatar/avatar-fallback.cjs +5 -4
- package/avatar/avatar-fallback.d.ts +8 -5
- package/avatar/avatar-fallback.mjs +2 -1
- package/avatar/avatar-image.cjs +5 -4
- package/avatar/avatar-image.d.ts +8 -5
- package/avatar/avatar-image.mjs +2 -1
- package/avatar/avatar.cjs +5 -4
- package/avatar/avatar.d.ts +9 -4
- package/avatar/avatar.mjs +2 -1
- package/avatar/use-avatar.cjs +5 -5
- package/carousel/carousel-control.cjs +3 -2
- package/carousel/carousel-control.d.ts +8 -5
- package/carousel/carousel-control.mjs +2 -1
- package/carousel/carousel-indicator-group.cjs +10 -7
- package/carousel/carousel-indicator-group.d.ts +8 -5
- package/carousel/carousel-indicator-group.mjs +9 -6
- package/carousel/carousel-indicator.cjs +14 -11
- package/carousel/carousel-indicator.d.ts +8 -4
- package/carousel/carousel-indicator.mjs +13 -10
- package/carousel/carousel-next-slide-trigger.cjs +5 -4
- package/carousel/carousel-next-slide-trigger.d.ts +8 -5
- package/carousel/carousel-next-slide-trigger.mjs +2 -1
- package/carousel/carousel-prev-slide-trigger.cjs +5 -4
- package/carousel/carousel-prev-slide-trigger.d.ts +8 -5
- package/carousel/carousel-prev-slide-trigger.mjs +2 -1
- package/carousel/carousel-slide-group.cjs +10 -7
- package/carousel/carousel-slide-group.d.ts +8 -5
- package/carousel/carousel-slide-group.mjs +9 -6
- package/carousel/carousel-slide.cjs +5 -4
- package/carousel/carousel-slide.d.ts +8 -4
- package/carousel/carousel-slide.mjs +2 -1
- package/carousel/carousel-viewport.cjs +5 -4
- package/carousel/carousel-viewport.d.ts +8 -5
- package/carousel/carousel-viewport.mjs +2 -1
- package/carousel/carousel.cjs +5 -5
- package/carousel/carousel.d.ts +11 -4
- package/carousel/carousel.mjs +2 -2
- package/carousel/use-carousel.cjs +5 -5
- package/checkbox/checkbox-control.cjs +5 -4
- package/checkbox/checkbox-control.d.ts +8 -5
- package/checkbox/checkbox-control.mjs +2 -1
- package/checkbox/checkbox-input.cjs +5 -4
- package/checkbox/checkbox-input.d.ts +8 -5
- package/checkbox/checkbox-input.mjs +2 -1
- package/checkbox/checkbox-label.cjs +5 -4
- package/checkbox/checkbox-label.d.ts +8 -5
- package/checkbox/checkbox-label.mjs +2 -1
- package/checkbox/checkbox.cjs +5 -5
- package/checkbox/checkbox.d.ts +11 -7
- package/checkbox/checkbox.mjs +2 -2
- package/checkbox/use-checkbox.cjs +5 -5
- package/color-picker/color-picker-area-gradient.cjs +11 -8
- package/color-picker/color-picker-area-gradient.d.ts +8 -5
- package/color-picker/color-picker-area-gradient.mjs +10 -7
- package/color-picker/color-picker-area-thumb.cjs +11 -8
- package/color-picker/color-picker-area-thumb.d.ts +8 -5
- package/color-picker/color-picker-area-thumb.mjs +10 -7
- package/color-picker/color-picker-area.cjs +5 -4
- package/color-picker/color-picker-area.d.ts +8 -4
- package/color-picker/color-picker-area.mjs +2 -1
- package/color-picker/color-picker-channel-input.cjs +14 -11
- package/color-picker/color-picker-channel-input.d.ts +8 -4
- package/color-picker/color-picker-channel-input.mjs +13 -10
- package/color-picker/color-picker-channel-slider-background.cjs +5 -4
- package/color-picker/color-picker-channel-slider-background.d.ts +8 -5
- package/color-picker/color-picker-channel-slider-background.mjs +2 -1
- package/color-picker/color-picker-channel-slider-thumb.cjs +5 -4
- package/color-picker/color-picker-channel-slider-thumb.d.ts +8 -5
- package/color-picker/color-picker-channel-slider-thumb.mjs +2 -1
- package/color-picker/color-picker-channel-slider-track.cjs +5 -4
- package/color-picker/color-picker-channel-slider-track.d.ts +8 -4
- package/color-picker/color-picker-channel-slider-track.mjs +2 -1
- package/color-picker/color-picker-content.cjs +10 -7
- package/color-picker/color-picker-content.d.ts +8 -5
- package/color-picker/color-picker-content.mjs +9 -6
- package/color-picker/color-picker-eye-dropper-trigger.cjs +5 -4
- package/color-picker/color-picker-eye-dropper-trigger.d.ts +8 -5
- package/color-picker/color-picker-eye-dropper-trigger.mjs +2 -1
- package/color-picker/color-picker-swatch-background.cjs +5 -4
- package/color-picker/color-picker-swatch-background.d.ts +8 -5
- package/color-picker/color-picker-swatch-background.mjs +2 -1
- package/color-picker/color-picker-swatch-group.cjs +5 -2
- package/color-picker/color-picker-swatch-group.d.ts +8 -5
- package/color-picker/color-picker-swatch-group.mjs +5 -2
- package/color-picker/color-picker-swatch.cjs +14 -11
- package/color-picker/color-picker-swatch.d.ts +8 -4
- package/color-picker/color-picker-swatch.mjs +13 -10
- package/color-picker/use-color-picker.cjs +6 -6
- package/combobox/combobox-content.cjs +12 -8
- package/combobox/combobox-content.d.ts +9 -5
- package/combobox/combobox-content.mjs +10 -6
- package/combobox/combobox-control.cjs +5 -4
- package/combobox/combobox-control.d.ts +8 -5
- package/combobox/combobox-control.mjs +2 -1
- package/combobox/combobox-input.cjs +5 -4
- package/combobox/combobox-input.d.ts +8 -5
- package/combobox/combobox-input.mjs +2 -1
- package/combobox/combobox-label.cjs +5 -4
- package/combobox/combobox-label.d.ts +8 -5
- package/combobox/combobox-label.mjs +2 -1
- package/combobox/combobox-option.cjs +5 -4
- package/combobox/combobox-option.d.ts +13 -5
- package/combobox/combobox-option.mjs +2 -1
- package/combobox/combobox-positioner.cjs +10 -7
- package/combobox/combobox-positioner.d.ts +8 -5
- package/combobox/combobox-positioner.mjs +9 -6
- package/combobox/combobox-trigger.cjs +5 -4
- package/combobox/combobox-trigger.d.ts +8 -5
- package/combobox/combobox-trigger.mjs +2 -1
- package/combobox/combobox.cjs +5 -4
- package/combobox/combobox.d.ts +11 -4
- package/combobox/combobox.mjs +2 -1
- package/combobox/use-combobox.cjs +5 -5
- package/create-context.cjs +3 -3
- package/date-picker/date-picker-clear-trigger.cjs +10 -7
- package/date-picker/date-picker-clear-trigger.d.ts +8 -5
- package/date-picker/date-picker-clear-trigger.mjs +9 -6
- package/date-picker/date-picker-column-header.cjs +7 -4
- package/date-picker/date-picker-column-header.d.ts +8 -5
- package/date-picker/date-picker-column-header.mjs +7 -4
- package/date-picker/date-picker-content.cjs +10 -7
- package/date-picker/date-picker-content.d.ts +8 -5
- package/date-picker/date-picker-content.mjs +9 -6
- package/date-picker/date-picker-control.cjs +10 -7
- package/date-picker/date-picker-control.d.ts +8 -5
- package/date-picker/date-picker-control.mjs +9 -6
- package/date-picker/date-picker-day-cell-trigger.cjs +5 -4
- package/date-picker/date-picker-day-cell-trigger.d.ts +8 -5
- package/date-picker/date-picker-day-cell-trigger.mjs +2 -1
- package/date-picker/date-picker-day-cell.cjs +15 -12
- package/date-picker/date-picker-day-cell.d.ts +8 -4
- package/date-picker/date-picker-day-cell.mjs +14 -11
- package/date-picker/date-picker-grid.cjs +5 -5
- package/date-picker/date-picker-grid.d.ts +8 -4
- package/date-picker/date-picker-grid.mjs +2 -2
- package/date-picker/date-picker-input.cjs +5 -4
- package/date-picker/date-picker-input.d.ts +8 -5
- package/date-picker/date-picker-input.mjs +2 -1
- package/date-picker/date-picker-month-cell-trigger.cjs +5 -4
- package/date-picker/date-picker-month-cell-trigger.d.ts +8 -5
- package/date-picker/date-picker-month-cell-trigger.mjs +2 -1
- package/date-picker/date-picker-month-cell.cjs +11 -8
- package/date-picker/date-picker-month-cell.d.ts +8 -4
- package/date-picker/date-picker-month-cell.mjs +10 -7
- package/date-picker/date-picker-month-select.cjs +5 -4
- package/date-picker/date-picker-month-select.d.ts +8 -5
- package/date-picker/date-picker-month-select.mjs +2 -1
- package/date-picker/date-picker-next-trigger.cjs +10 -7
- package/date-picker/date-picker-next-trigger.d.ts +8 -5
- package/date-picker/date-picker-next-trigger.mjs +9 -6
- package/date-picker/date-picker-prev-trigger.cjs +10 -7
- package/date-picker/date-picker-prev-trigger.d.ts +8 -4
- package/date-picker/date-picker-prev-trigger.mjs +9 -6
- package/date-picker/date-picker-row-group.cjs +5 -2
- package/date-picker/date-picker-row-group.d.ts +8 -5
- package/date-picker/date-picker-row-group.mjs +5 -2
- package/date-picker/date-picker-row-header.cjs +10 -7
- package/date-picker/date-picker-row-header.d.ts +8 -5
- package/date-picker/date-picker-row-header.mjs +9 -6
- package/date-picker/date-picker-row.cjs +3 -2
- package/date-picker/date-picker-row.d.ts +8 -5
- package/date-picker/date-picker-row.mjs +2 -1
- package/date-picker/date-picker-trigger.cjs +10 -7
- package/date-picker/date-picker-trigger.d.ts +8 -5
- package/date-picker/date-picker-trigger.mjs +9 -6
- package/date-picker/date-picker-view-trigger.cjs +14 -8
- package/date-picker/date-picker-view-trigger.d.ts +8 -4
- package/date-picker/date-picker-view-trigger.mjs +13 -7
- package/date-picker/date-picker-year-cell-trigger.cjs +5 -4
- package/date-picker/date-picker-year-cell-trigger.d.ts +8 -5
- package/date-picker/date-picker-year-cell-trigger.mjs +2 -1
- package/date-picker/date-picker-year-cell.cjs +11 -8
- package/date-picker/date-picker-year-cell.d.ts +8 -4
- package/date-picker/date-picker-year-cell.mjs +10 -7
- package/date-picker/date-picker-year-select.cjs +10 -7
- package/date-picker/date-picker-year-select.d.ts +8 -5
- package/date-picker/date-picker-year-select.mjs +9 -6
- package/date-picker/date-picker.anatomy.d.ts +2 -2
- package/date-picker/use-date-picker.cjs +5 -5
- package/dialog/dialog-backdrop.cjs +7 -5
- package/dialog/dialog-backdrop.d.ts +9 -5
- package/dialog/dialog-backdrop.mjs +3 -1
- package/dialog/dialog-close-trigger.cjs +10 -7
- package/dialog/dialog-close-trigger.d.ts +8 -5
- package/dialog/dialog-close-trigger.mjs +9 -6
- package/dialog/dialog-container.cjs +5 -4
- package/dialog/dialog-container.d.ts +8 -5
- package/dialog/dialog-container.mjs +2 -1
- package/dialog/dialog-content.cjs +12 -8
- package/dialog/dialog-content.d.ts +9 -5
- package/dialog/dialog-content.mjs +10 -6
- package/dialog/dialog-description.cjs +10 -7
- package/dialog/dialog-description.d.ts +8 -5
- package/dialog/dialog-description.mjs +9 -6
- package/dialog/dialog-title.cjs +5 -4
- package/dialog/dialog-title.d.ts +8 -5
- package/dialog/dialog-title.mjs +2 -1
- package/dialog/dialog-trigger.cjs +5 -4
- package/dialog/dialog-trigger.d.ts +8 -5
- package/dialog/dialog-trigger.mjs +2 -1
- package/dialog/use-dialog.cjs +5 -5
- package/editable/editable-area.cjs +5 -4
- package/editable/editable-area.d.ts +8 -5
- package/editable/editable-area.mjs +2 -1
- package/editable/editable-cancel-trigger.cjs +10 -8
- package/editable/editable-cancel-trigger.d.ts +8 -7
- package/editable/editable-cancel-trigger.mjs +9 -7
- package/editable/editable-control.cjs +5 -4
- package/editable/editable-control.d.ts +8 -5
- package/editable/editable-control.mjs +2 -1
- package/editable/editable-edit-trigger.cjs +10 -8
- package/editable/editable-edit-trigger.d.ts +8 -7
- package/editable/editable-edit-trigger.mjs +9 -7
- package/editable/editable-input.cjs +5 -4
- package/editable/editable-input.d.ts +8 -5
- package/editable/editable-input.mjs +2 -1
- package/editable/editable-label.cjs +5 -4
- package/editable/editable-label.d.ts +8 -5
- package/editable/editable-label.mjs +2 -1
- package/editable/editable-preview.cjs +5 -4
- package/editable/editable-preview.d.ts +8 -5
- package/editable/editable-preview.mjs +2 -1
- package/editable/editable-submit-trigger.cjs +10 -8
- package/editable/editable-submit-trigger.d.ts +8 -7
- package/editable/editable-submit-trigger.mjs +9 -7
- package/editable/editable.cjs +5 -5
- package/editable/editable.d.ts +13 -4
- package/editable/editable.mjs +2 -2
- package/editable/use-editable.cjs +5 -5
- package/environment/environment.cjs +3 -3
- package/factory.cjs +6 -6
- package/factory.d.ts +6 -7
- package/hover-card/hover-card-arrow-tip.cjs +10 -7
- package/hover-card/hover-card-arrow-tip.d.ts +8 -5
- package/hover-card/hover-card-arrow-tip.mjs +9 -6
- package/hover-card/hover-card-arrow.cjs +5 -4
- package/hover-card/hover-card-arrow.d.ts +8 -5
- package/hover-card/hover-card-arrow.mjs +2 -1
- package/hover-card/hover-card-content.cjs +12 -8
- package/hover-card/hover-card-content.d.ts +9 -5
- package/hover-card/hover-card-content.mjs +10 -6
- package/hover-card/hover-card-positioner.cjs +10 -7
- package/hover-card/hover-card-positioner.d.ts +8 -5
- package/hover-card/hover-card-positioner.mjs +9 -6
- package/hover-card/hover-card-trigger.cjs +10 -7
- package/hover-card/hover-card-trigger.d.ts +8 -5
- package/hover-card/hover-card-trigger.mjs +9 -6
- package/hover-card/use-hover-card.cjs +5 -5
- package/menu/menu-arrow-tip.cjs +5 -4
- package/menu/menu-arrow-tip.d.ts +8 -5
- package/menu/menu-arrow-tip.mjs +2 -1
- package/menu/menu-arrow.cjs +5 -4
- package/menu/menu-arrow.d.ts +8 -5
- package/menu/menu-arrow.mjs +2 -1
- package/menu/menu-content.cjs +5 -4
- package/menu/menu-content.d.ts +8 -5
- package/menu/menu-content.mjs +2 -1
- package/menu/menu-context-trigger.cjs +10 -7
- package/menu/menu-context-trigger.d.ts +8 -5
- package/menu/menu-context-trigger.mjs +9 -6
- package/menu/menu-item-group-label.cjs +11 -8
- package/menu/menu-item-group-label.d.ts +8 -4
- package/menu/menu-item-group-label.mjs +10 -7
- package/menu/menu-item-group.cjs +5 -4
- package/menu/menu-item-group.d.ts +9 -4
- package/menu/menu-item-group.mjs +2 -1
- package/menu/menu-item.cjs +5 -4
- package/menu/menu-item.d.ts +9 -4
- package/menu/menu-item.mjs +2 -1
- package/menu/menu-option-item.cjs +5 -5
- package/menu/menu-option-item.d.ts +16 -5
- package/menu/menu-option-item.mjs +2 -2
- package/menu/menu-positioner.cjs +5 -4
- package/menu/menu-positioner.d.ts +8 -5
- package/menu/menu-positioner.mjs +2 -1
- package/menu/menu-separator.cjs +5 -4
- package/menu/menu-separator.d.ts +8 -5
- package/menu/menu-separator.mjs +2 -1
- package/menu/menu-trigger-item.cjs +5 -4
- package/menu/menu-trigger-item.d.ts +8 -5
- package/menu/menu-trigger-item.mjs +2 -1
- package/menu/menu-trigger.cjs +5 -4
- package/menu/menu-trigger.d.ts +8 -5
- package/menu/menu-trigger.mjs +2 -1
- package/menu/menu.cjs +3 -3
- package/menu/use-menu.cjs +5 -5
- package/number-input/number-input-control.cjs +10 -7
- package/number-input/number-input-control.d.ts +8 -5
- package/number-input/number-input-control.mjs +9 -6
- package/number-input/number-input-decrement-trigger.cjs +5 -5
- package/number-input/number-input-decrement-trigger.d.ts +8 -7
- package/number-input/number-input-decrement-trigger.mjs +2 -2
- package/number-input/number-input-field.cjs +10 -7
- package/number-input/number-input-field.d.ts +8 -5
- package/number-input/number-input-field.mjs +9 -6
- package/number-input/number-input-increment-trigger.cjs +5 -5
- package/number-input/number-input-increment-trigger.d.ts +8 -7
- package/number-input/number-input-increment-trigger.mjs +2 -2
- package/number-input/number-input-label.cjs +10 -7
- package/number-input/number-input-label.d.ts +8 -5
- package/number-input/number-input-label.mjs +9 -6
- package/number-input/number-input-scrubber.cjs +10 -7
- package/number-input/number-input-scrubber.d.ts +8 -5
- package/number-input/number-input-scrubber.mjs +9 -6
- package/number-input/number-input.cjs +5 -4
- package/number-input/number-input.d.ts +11 -4
- package/number-input/number-input.mjs +2 -1
- package/number-input/use-number-input.cjs +13 -6
- package/number-input/use-number-input.mjs +9 -2
- package/package.json +11 -11
- package/pagination/pagination-ellipsis.cjs +11 -8
- package/pagination/pagination-ellipsis.d.ts +8 -4
- package/pagination/pagination-ellipsis.mjs +10 -7
- package/pagination/pagination-list-item.cjs +5 -2
- package/pagination/pagination-list-item.d.ts +8 -5
- package/pagination/pagination-list-item.mjs +5 -2
- package/pagination/pagination-list.cjs +3 -2
- package/pagination/pagination-list.d.ts +8 -5
- package/pagination/pagination-list.mjs +2 -1
- package/pagination/pagination-next-page-trigger.cjs +5 -4
- package/pagination/pagination-next-page-trigger.d.ts +8 -5
- package/pagination/pagination-next-page-trigger.mjs +2 -1
- package/pagination/pagination-page-trigger.cjs +5 -4
- package/pagination/pagination-page-trigger.d.ts +8 -4
- package/pagination/pagination-page-trigger.mjs +2 -1
- package/pagination/pagination-prev-page-trigger.cjs +5 -4
- package/pagination/pagination-prev-page-trigger.d.ts +8 -5
- package/pagination/pagination-prev-page-trigger.mjs +2 -1
- package/pagination/pagination.cjs +5 -5
- package/pagination/pagination.d.ts +10 -4
- package/pagination/pagination.mjs +2 -2
- package/pagination/use-pagination.cjs +5 -5
- package/pin-input/pin-input-control.cjs +5 -4
- package/pin-input/pin-input-control.d.ts +8 -5
- package/pin-input/pin-input-control.mjs +2 -1
- package/pin-input/pin-input-field.cjs +5 -4
- package/pin-input/pin-input-field.d.ts +9 -5
- package/pin-input/pin-input-field.mjs +2 -1
- package/pin-input/pin-input-label.cjs +5 -4
- package/pin-input/pin-input-label.d.ts +8 -5
- package/pin-input/pin-input-label.mjs +2 -1
- package/pin-input/pin-input.cjs +5 -4
- package/pin-input/pin-input.d.ts +11 -4
- package/pin-input/pin-input.mjs +2 -1
- package/pin-input/use-pin-input.cjs +5 -5
- package/popover/popover-anchor.cjs +5 -4
- package/popover/popover-anchor.d.ts +8 -5
- package/popover/popover-anchor.mjs +2 -1
- package/popover/popover-arrow-tip.cjs +5 -4
- package/popover/popover-arrow-tip.d.ts +8 -5
- package/popover/popover-arrow-tip.mjs +2 -1
- package/popover/popover-arrow.cjs +5 -4
- package/popover/popover-arrow.d.ts +8 -5
- package/popover/popover-arrow.mjs +2 -1
- package/popover/popover-close-trigger.cjs +10 -7
- package/popover/popover-close-trigger.d.ts +8 -5
- package/popover/popover-close-trigger.mjs +9 -6
- package/popover/popover-content.cjs +12 -8
- package/popover/popover-content.d.ts +9 -5
- package/popover/popover-content.mjs +10 -6
- package/popover/popover-description.cjs +10 -7
- package/popover/popover-description.d.ts +8 -5
- package/popover/popover-description.mjs +9 -6
- package/popover/popover-positioner.cjs +10 -7
- package/popover/popover-positioner.d.ts +8 -5
- package/popover/popover-positioner.mjs +9 -6
- package/popover/popover-title.cjs +5 -4
- package/popover/popover-title.d.ts +8 -5
- package/popover/popover-title.mjs +2 -1
- package/popover/popover-trigger.cjs +5 -4
- package/popover/popover-trigger.d.ts +8 -5
- package/popover/popover-trigger.mjs +2 -1
- package/popover/use-popover.cjs +5 -5
- package/presence/presence.cjs +4 -4
- package/pressable/pressable.cjs +5 -4
- package/pressable/pressable.d.ts +15 -4
- package/pressable/pressable.mjs +2 -1
- package/pressable/use-pressable.cjs +5 -5
- package/radio-group/radio-control.cjs +5 -4
- package/radio-group/radio-control.d.ts +8 -5
- package/radio-group/radio-control.mjs +2 -1
- package/radio-group/radio-group-label.cjs +5 -4
- package/radio-group/radio-group-label.d.ts +8 -5
- package/radio-group/radio-group-label.mjs +2 -1
- package/radio-group/radio-group.cjs +5 -4
- package/radio-group/radio-group.d.ts +11 -4
- package/radio-group/radio-group.mjs +2 -1
- package/radio-group/radio-input.cjs +5 -4
- package/radio-group/radio-input.d.ts +8 -5
- package/radio-group/radio-input.mjs +2 -1
- package/radio-group/radio-label.cjs +5 -4
- package/radio-group/radio-label.d.ts +8 -5
- package/radio-group/radio-label.mjs +2 -1
- package/radio-group/radio.cjs +5 -4
- package/radio-group/radio.d.ts +14 -5
- package/radio-group/radio.mjs +2 -1
- package/radio-group/use-radio-group.cjs +5 -5
- package/range-slider/range-slider-control.cjs +10 -7
- package/range-slider/range-slider-control.d.ts +8 -5
- package/range-slider/range-slider-control.mjs +9 -6
- package/range-slider/range-slider-label.cjs +10 -7
- package/range-slider/range-slider-label.d.ts +8 -5
- package/range-slider/range-slider-label.mjs +9 -6
- package/range-slider/range-slider-marker-group.cjs +5 -4
- package/range-slider/range-slider-marker-group.d.ts +8 -5
- package/range-slider/range-slider-marker-group.mjs +2 -1
- package/range-slider/range-slider-marker.cjs +11 -8
- package/range-slider/range-slider-marker.d.ts +10 -4
- package/range-slider/range-slider-marker.mjs +10 -7
- package/range-slider/range-slider-output.cjs +12 -10
- package/range-slider/range-slider-output.d.ts +10 -4
- package/range-slider/range-slider-output.mjs +11 -9
- package/range-slider/range-slider-range.cjs +5 -4
- package/range-slider/range-slider-range.d.ts +8 -5
- package/range-slider/range-slider-range.mjs +2 -1
- package/range-slider/range-slider-thumb.cjs +16 -6
- package/range-slider/range-slider-thumb.d.ts +10 -4
- package/range-slider/range-slider-thumb.mjs +13 -3
- package/range-slider/range-slider-track.cjs +5 -4
- package/range-slider/range-slider-track.d.ts +8 -5
- package/range-slider/range-slider-track.mjs +2 -1
- package/range-slider/range-slider.cjs +5 -5
- package/range-slider/range-slider.d.ts +13 -4
- package/range-slider/range-slider.mjs +2 -2
- package/range-slider/use-range-slider.cjs +5 -5
- package/rating-group/rating-group-control.cjs +12 -10
- package/rating-group/rating-group-control.d.ts +10 -5
- package/rating-group/rating-group-control.mjs +11 -9
- package/rating-group/rating-group-label.cjs +10 -7
- package/rating-group/rating-group-label.d.ts +8 -5
- package/rating-group/rating-group-label.mjs +9 -6
- package/rating-group/rating-group.cjs +5 -4
- package/rating-group/rating-group.d.ts +11 -4
- package/rating-group/rating-group.mjs +2 -1
- package/rating-group/rating.cjs +5 -5
- package/rating-group/rating.d.ts +10 -4
- package/rating-group/rating.mjs +2 -2
- package/rating-group/use-rating-group.cjs +5 -5
- package/segment-group/segment-control.cjs +5 -4
- package/segment-group/segment-control.d.ts +8 -5
- package/segment-group/segment-control.mjs +2 -1
- package/segment-group/segment-group-label.cjs +10 -7
- package/segment-group/segment-group-label.d.ts +8 -5
- package/segment-group/segment-group-label.mjs +9 -6
- package/segment-group/segment-group.cjs +5 -4
- package/segment-group/segment-group.d.ts +11 -4
- package/segment-group/segment-group.mjs +2 -1
- package/segment-group/segment-indicator.cjs +5 -4
- package/segment-group/segment-indicator.d.ts +8 -5
- package/segment-group/segment-indicator.mjs +2 -1
- package/segment-group/segment-input.cjs +5 -4
- package/segment-group/segment-input.d.ts +8 -5
- package/segment-group/segment-input.mjs +2 -1
- package/segment-group/segment-label.cjs +5 -4
- package/segment-group/segment-label.d.ts +8 -5
- package/segment-group/segment-label.mjs +2 -1
- package/segment-group/segment.cjs +5 -4
- package/segment-group/segment.d.ts +14 -5
- package/segment-group/segment.mjs +2 -1
- package/segment-group/use-segment-group.cjs +5 -5
- package/select/select-content.cjs +12 -8
- package/select/select-content.d.ts +9 -5
- package/select/select-content.mjs +10 -6
- package/select/select-label.cjs +5 -4
- package/select/select-label.d.ts +8 -5
- package/select/select-label.mjs +2 -1
- package/select/select-option-group-label.cjs +5 -4
- package/select/select-option-group-label.d.ts +10 -4
- package/select/select-option-group-label.mjs +2 -1
- package/select/select-option-group.cjs +11 -8
- package/select/select-option-group.d.ts +10 -4
- package/select/select-option-group.mjs +10 -7
- package/select/select-option.cjs +5 -4
- package/select/select-option.d.ts +9 -4
- package/select/select-option.mjs +2 -1
- package/select/select-positioner.cjs +5 -4
- package/select/select-positioner.d.ts +8 -5
- package/select/select-positioner.mjs +2 -1
- package/select/select-trigger.cjs +5 -4
- package/select/select-trigger.d.ts +8 -5
- package/select/select-trigger.mjs +2 -1
- package/select/use-select.cjs +5 -5
- package/slider/slider-control.cjs +5 -4
- package/slider/slider-control.d.ts +8 -5
- package/slider/slider-control.mjs +2 -1
- package/slider/slider-label.cjs +5 -4
- package/slider/slider-label.d.ts +8 -5
- package/slider/slider-label.mjs +2 -1
- package/slider/slider-marker-group.cjs +10 -7
- package/slider/slider-marker-group.d.ts +8 -5
- package/slider/slider-marker-group.mjs +9 -6
- package/slider/slider-marker.cjs +5 -4
- package/slider/slider-marker.d.ts +9 -5
- package/slider/slider-marker.mjs +2 -1
- package/slider/slider-output.cjs +5 -4
- package/slider/slider-output.d.ts +11 -5
- package/slider/slider-output.mjs +2 -1
- package/slider/slider-range.cjs +5 -4
- package/slider/slider-range.d.ts +8 -5
- package/slider/slider-range.mjs +2 -1
- package/slider/slider-thumb.cjs +15 -6
- package/slider/slider-thumb.d.ts +8 -5
- package/slider/slider-thumb.mjs +12 -3
- package/slider/slider-track.cjs +5 -4
- package/slider/slider-track.d.ts +8 -5
- package/slider/slider-track.mjs +2 -1
- package/slider/slider.cjs +5 -5
- package/slider/slider.d.ts +10 -4
- package/slider/slider.mjs +2 -2
- package/slider/use-slider.cjs +6 -6
- package/splitter/splitter-panel.cjs +5 -4
- package/splitter/splitter-panel.d.ts +8 -4
- package/splitter/splitter-panel.mjs +2 -1
- package/splitter/splitter-resize-trigger.cjs +5 -4
- package/splitter/splitter-resize-trigger.d.ts +9 -7
- package/splitter/splitter-resize-trigger.mjs +2 -1
- package/splitter/splitter.cjs +5 -4
- package/splitter/splitter.d.ts +19 -4
- package/splitter/splitter.mjs +2 -1
- package/splitter/use-splitter.cjs +5 -5
- package/switch/switch-control.cjs +5 -4
- package/switch/switch-control.d.ts +8 -5
- package/switch/switch-control.mjs +2 -1
- package/switch/switch-input.cjs +5 -4
- package/switch/switch-input.d.ts +8 -5
- package/switch/switch-input.mjs +2 -1
- package/switch/switch-label.cjs +5 -4
- package/switch/switch-label.d.ts +8 -5
- package/switch/switch-label.mjs +2 -1
- package/switch/switch-thumb.cjs +5 -4
- package/switch/switch-thumb.d.ts +8 -5
- package/switch/switch-thumb.mjs +2 -1
- package/switch/switch.cjs +5 -4
- package/switch/switch.d.ts +11 -4
- package/switch/switch.mjs +2 -1
- package/switch/use-switch.cjs +5 -5
- package/tabs/tab-content.cjs +7 -5
- package/tabs/tab-content.d.ts +8 -5
- package/tabs/tab-content.mjs +3 -1
- package/tabs/tab-indicator.cjs +5 -4
- package/tabs/tab-indicator.d.ts +8 -5
- package/tabs/tab-indicator.mjs +2 -1
- package/tabs/tab-list.cjs +5 -4
- package/tabs/tab-list.d.ts +8 -5
- package/tabs/tab-list.mjs +2 -1
- package/tabs/tab-trigger.cjs +5 -4
- package/tabs/tab-trigger.d.ts +8 -4
- package/tabs/tab-trigger.mjs +2 -1
- package/tabs/tabs.cjs +5 -4
- package/tabs/tabs.d.ts +11 -4
- package/tabs/tabs.mjs +2 -1
- package/tabs/use-tabs.cjs +5 -5
- package/tags-input/tag-delete-trigger.cjs +15 -12
- package/tags-input/tag-delete-trigger.d.ts +14 -5
- package/tags-input/tag-delete-trigger.mjs +14 -11
- package/tags-input/tag-input.cjs +10 -5
- package/tags-input/tag-input.d.ts +14 -5
- package/tags-input/tag-input.mjs +7 -2
- package/tags-input/tag.cjs +5 -4
- package/tags-input/tag.d.ts +10 -4
- package/tags-input/tag.mjs +2 -1
- package/tags-input/tags-input-clear-trigger.cjs +10 -7
- package/tags-input/tags-input-clear-trigger.d.ts +8 -5
- package/tags-input/tags-input-clear-trigger.mjs +9 -6
- package/tags-input/tags-input-control.cjs +5 -4
- package/tags-input/tags-input-control.d.ts +8 -5
- package/tags-input/tags-input-control.mjs +2 -1
- package/tags-input/tags-input-field.cjs +5 -4
- package/tags-input/tags-input-field.d.ts +8 -5
- package/tags-input/tags-input-field.mjs +2 -1
- package/tags-input/tags-input-label.cjs +5 -4
- package/tags-input/tags-input-label.d.ts +8 -5
- package/tags-input/tags-input-label.mjs +2 -1
- package/tags-input/tags-input.cjs +5 -5
- package/tags-input/tags-input.d.ts +10 -4
- package/tags-input/tags-input.mjs +2 -2
- package/tags-input/use-tags-input.cjs +5 -5
- package/toast/toast-close-trigger.cjs +10 -7
- package/toast/toast-close-trigger.d.ts +8 -5
- package/toast/toast-close-trigger.mjs +9 -6
- package/toast/toast-description.cjs +10 -7
- package/toast/toast-description.d.ts +8 -5
- package/toast/toast-description.mjs +9 -6
- package/toast/toast-group.cjs +5 -5
- package/toast/toast-group.d.ts +11 -4
- package/toast/toast-group.mjs +2 -2
- package/toast/toast-provider.cjs +5 -5
- package/toast/toast-title.cjs +5 -4
- package/toast/toast-title.d.ts +8 -5
- package/toast/toast-title.mjs +2 -1
- package/toast/toast.cjs +5 -4
- package/toast/toast.d.ts +8 -4
- package/toast/toast.mjs +2 -1
- package/tooltip/tooltip-arrow-tip.cjs +5 -4
- package/tooltip/tooltip-arrow-tip.d.ts +8 -5
- package/tooltip/tooltip-arrow-tip.mjs +2 -1
- package/tooltip/tooltip-arrow.cjs +5 -4
- package/tooltip/tooltip-arrow.d.ts +8 -5
- package/tooltip/tooltip-arrow.mjs +2 -1
- package/tooltip/tooltip-content.cjs +12 -8
- package/tooltip/tooltip-content.d.ts +9 -5
- package/tooltip/tooltip-content.mjs +10 -6
- package/tooltip/tooltip-positioner.cjs +10 -7
- package/tooltip/tooltip-positioner.d.ts +8 -5
- package/tooltip/tooltip-positioner.mjs +9 -6
- package/tooltip/tooltip-trigger.cjs +5 -4
- package/tooltip/tooltip-trigger.d.ts +8 -5
- package/tooltip/tooltip-trigger.mjs +2 -1
- package/tooltip/use-tooltip.cjs +5 -5
- package/use-effect-once.cjs +5 -5
- package/forward-ref.cjs +0 -12
- package/forward-ref.d.ts +0 -4
- package/forward-ref.mjs +0 -8
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
8
|
-
require('react');
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
9
9
|
const factory = require('../factory.cjs');
|
|
10
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
11
10
|
const numberInputContext = require('./number-input-context.cjs');
|
|
12
11
|
|
|
13
|
-
const NumberInputIncrementTrigger =
|
|
12
|
+
const NumberInputIncrementTrigger = react.forwardRef((props, ref) => {
|
|
14
13
|
const { incrementTriggerProps } = numberInputContext.useNumberInputContext();
|
|
15
|
-
const mergedProps = react.mergeProps(incrementTriggerProps, props);
|
|
14
|
+
const mergedProps = react$1.mergeProps(incrementTriggerProps, props);
|
|
16
15
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
17
16
|
});
|
|
17
|
+
NumberInputIncrementTrigger.displayName = "NumberInputIncrementTrigger";
|
|
18
18
|
|
|
19
19
|
exports.NumberInputIncrementTrigger = NumberInputIncrementTrigger;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
1
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ark } from '../factory';
|
|
3
|
+
export type NumberInputIncrementTriggerProps = ComponentPropsWithoutRef<typeof ark.button>;
|
|
4
|
+
export declare const NumberInputIncrementTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
|
-
import 'react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
5
5
|
import { ark } from '../factory.mjs';
|
|
6
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
7
6
|
import { useNumberInputContext } from './number-input-context.mjs';
|
|
8
7
|
|
|
9
8
|
const NumberInputIncrementTrigger = forwardRef((props, ref) => {
|
|
@@ -11,5 +10,6 @@ const NumberInputIncrementTrigger = forwardRef((props, ref) => {
|
|
|
11
10
|
const mergedProps = mergeProps(incrementTriggerProps, props);
|
|
12
11
|
return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });
|
|
13
12
|
});
|
|
13
|
+
NumberInputIncrementTrigger.displayName = "NumberInputIncrementTrigger";
|
|
14
14
|
|
|
15
15
|
export { NumberInputIncrementTrigger };
|
|
@@ -4,15 +4,18 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
8
9
|
const factory = require('../factory.cjs');
|
|
9
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
10
10
|
const numberInputContext = require('./number-input-context.cjs');
|
|
11
11
|
|
|
12
|
-
const NumberInputLabel =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
12
|
+
const NumberInputLabel = react.forwardRef(
|
|
13
|
+
(props, ref) => {
|
|
14
|
+
const { labelProps } = numberInputContext.useNumberInputContext();
|
|
15
|
+
const mergedProps = react$1.mergeProps(labelProps, props);
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.label, { ...mergedProps, ref });
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
NumberInputLabel.displayName = "NumberInputLabel";
|
|
17
20
|
|
|
18
21
|
exports.NumberInputLabel = NumberInputLabel;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, LabelHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ark } from '../factory';
|
|
3
|
+
export type NumberInputLabelProps = ComponentPropsWithoutRef<typeof ark.label>;
|
|
4
|
+
export declare const NumberInputLabel: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLLabelElement | null) => void) | RefObject<HTMLLabelElement> | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
4
5
|
import { ark } from '../factory.mjs';
|
|
5
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
6
6
|
import { useNumberInputContext } from './number-input-context.mjs';
|
|
7
7
|
|
|
8
|
-
const NumberInputLabel = forwardRef(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
8
|
+
const NumberInputLabel = forwardRef(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
const { labelProps } = useNumberInputContext();
|
|
11
|
+
const mergedProps = mergeProps(labelProps, props);
|
|
12
|
+
return /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref });
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
NumberInputLabel.displayName = "NumberInputLabel";
|
|
13
16
|
|
|
14
17
|
export { NumberInputLabel };
|
|
@@ -4,15 +4,18 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
8
9
|
const factory = require('../factory.cjs');
|
|
9
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
10
10
|
const numberInputContext = require('./number-input-context.cjs');
|
|
11
11
|
|
|
12
|
-
const NumberInputScrubber =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
12
|
+
const NumberInputScrubber = react.forwardRef(
|
|
13
|
+
(props, ref) => {
|
|
14
|
+
const { scrubberProps } = numberInputContext.useNumberInputContext();
|
|
15
|
+
const mergedProps = react$1.mergeProps(scrubberProps, props);
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref });
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
NumberInputScrubber.displayName = "NumberInputScrubber";
|
|
17
20
|
|
|
18
21
|
exports.NumberInputScrubber = NumberInputScrubber;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ark } from '../factory';
|
|
3
|
+
export type NumberInputScrubberProps = ComponentPropsWithoutRef<typeof ark.div>;
|
|
4
|
+
export declare const NumberInputScrubber: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
4
5
|
import { ark } from '../factory.mjs';
|
|
5
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
6
6
|
import { useNumberInputContext } from './number-input-context.mjs';
|
|
7
7
|
|
|
8
|
-
const NumberInputScrubber = forwardRef(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
8
|
+
const NumberInputScrubber = forwardRef(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
const { scrubberProps } = useNumberInputContext();
|
|
11
|
+
const mergedProps = mergeProps(scrubberProps, props);
|
|
12
|
+
return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
NumberInputScrubber.displayName = "NumberInputScrubber";
|
|
13
16
|
|
|
14
17
|
export { NumberInputScrubber };
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
8
9
|
const createSplitProps = require('../create-split-props.cjs');
|
|
9
10
|
const factory = require('../factory.cjs');
|
|
10
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
11
11
|
const numberInputContext = require('./number-input-context.cjs');
|
|
12
12
|
const useNumberInput = require('./use-number-input.cjs');
|
|
13
13
|
|
|
14
|
-
const NumberInput =
|
|
14
|
+
const NumberInput = react.forwardRef((props, ref) => {
|
|
15
15
|
const [useNumberInputProps, divProps] = createSplitProps.createSplitProps()(props, [
|
|
16
16
|
"allowMouseWheel",
|
|
17
17
|
"allowOverflow",
|
|
@@ -46,8 +46,9 @@ const NumberInput = forwardRef.forwardRef((props, ref) => {
|
|
|
46
46
|
"value"
|
|
47
47
|
]);
|
|
48
48
|
const pinInput = useNumberInput.useNumberInput(useNumberInputProps);
|
|
49
|
-
const mergedProps = react.mergeProps(pinInput.rootProps, divProps);
|
|
49
|
+
const mergedProps = react$1.mergeProps(pinInput.rootProps, divProps);
|
|
50
50
|
return /* @__PURE__ */ jsxRuntime.jsx(numberInputContext.NumberInputProvider, { value: pinInput, children: /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref }) });
|
|
51
51
|
});
|
|
52
|
+
NumberInput.displayName = "NumberInput";
|
|
52
53
|
|
|
53
54
|
exports.NumberInput = NumberInput;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { Context } from '@zag-js/number-input';
|
|
2
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import { ark } from '../factory';
|
|
3
4
|
import { type Assign } from '../types';
|
|
4
5
|
import { type UseNumberInputProps } from './use-number-input';
|
|
5
|
-
export type NumberInputProps = Assign<
|
|
6
|
-
export declare const NumberInput: ForwardRefExoticComponent<
|
|
6
|
+
export type NumberInputProps = Assign<ComponentPropsWithoutRef<typeof ark.div>, UseNumberInputProps>;
|
|
7
|
+
export declare const NumberInput: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
asChild?: boolean | undefined;
|
|
11
|
+
}, "ref">, "name" | "value" | "form" | "pattern" | "id" | "max" | "min" | "format" | "onFocus" | "onBlur" | "onChange" | "onInvalid" | "defaultValue" | "dir" | "inputMode" | "disabled" | "readOnly" | "step" | "getRootNode" | "ids" | "invalid" | "translations" | "parse" | "allowMouseWheel" | "allowOverflow" | "validateCharacter" | "clampValueOnBlur" | "focusInputOnChange" | "minFractionDigits" | "maxFractionDigits" | "spinOnPress"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
12
|
+
defaultValue?: string | undefined;
|
|
13
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
4
5
|
import { createSplitProps } from '../create-split-props.mjs';
|
|
5
6
|
import { ark } from '../factory.mjs';
|
|
6
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
7
7
|
import { NumberInputProvider } from './number-input-context.mjs';
|
|
8
8
|
import { useNumberInput } from './use-number-input.mjs';
|
|
9
9
|
|
|
@@ -45,5 +45,6 @@ const NumberInput = forwardRef((props, ref) => {
|
|
|
45
45
|
const mergedProps = mergeProps(pinInput.rootProps, divProps);
|
|
46
46
|
return /* @__PURE__ */ jsx(NumberInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });
|
|
47
47
|
});
|
|
48
|
+
NumberInput.displayName = "NumberInput";
|
|
48
49
|
|
|
49
50
|
export { NumberInput };
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const numberInput = require('@zag-js/number-input');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
8
|
-
const
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
9
|
+
const reactDom = require('react-dom');
|
|
9
10
|
const environmentContext = require('../environment/environment-context.cjs');
|
|
10
11
|
|
|
11
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -30,17 +31,23 @@ const numberInput__namespace = /*#__PURE__*/_interopNamespaceDefault(numberInput
|
|
|
30
31
|
const useNumberInput = (props) => {
|
|
31
32
|
const getRootNode = environmentContext.useEnvironmentContext();
|
|
32
33
|
const initialContext = {
|
|
33
|
-
id:
|
|
34
|
+
id: react.useId(),
|
|
34
35
|
getRootNode,
|
|
35
36
|
...props,
|
|
36
37
|
value: props.defaultValue
|
|
37
38
|
};
|
|
39
|
+
const onChange = props.onChange;
|
|
40
|
+
const onChangeWithFlushSync = react.useCallback(
|
|
41
|
+
(e) => reactDom.flushSync(() => onChange?.(e)),
|
|
42
|
+
[onChange]
|
|
43
|
+
);
|
|
38
44
|
const context = {
|
|
39
45
|
...initialContext,
|
|
40
|
-
value: props.value
|
|
46
|
+
value: props.value,
|
|
47
|
+
onChange: onChangeWithFlushSync
|
|
41
48
|
};
|
|
42
|
-
const [state, send] = react.useMachine(numberInput__namespace.machine(initialContext), { context });
|
|
43
|
-
return numberInput__namespace.connect(state, send, react.normalizeProps);
|
|
49
|
+
const [state, send] = react$1.useMachine(numberInput__namespace.machine(initialContext), { context });
|
|
50
|
+
return numberInput__namespace.connect(state, send, react$1.normalizeProps);
|
|
44
51
|
};
|
|
45
52
|
|
|
46
53
|
exports.useNumberInput = useNumberInput;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as numberInput from '@zag-js/number-input';
|
|
3
3
|
import { useMachine, normalizeProps } from '@zag-js/react';
|
|
4
|
-
import { useId } from 'react';
|
|
4
|
+
import { useId, useCallback } from 'react';
|
|
5
|
+
import { flushSync } from 'react-dom';
|
|
5
6
|
import { useEnvironmentContext } from '../environment/environment-context.mjs';
|
|
6
7
|
|
|
7
8
|
const useNumberInput = (props) => {
|
|
@@ -12,9 +13,15 @@ const useNumberInput = (props) => {
|
|
|
12
13
|
...props,
|
|
13
14
|
value: props.defaultValue
|
|
14
15
|
};
|
|
16
|
+
const onChange = props.onChange;
|
|
17
|
+
const onChangeWithFlushSync = useCallback(
|
|
18
|
+
(e) => flushSync(() => onChange?.(e)),
|
|
19
|
+
[onChange]
|
|
20
|
+
);
|
|
15
21
|
const context = {
|
|
16
22
|
...initialContext,
|
|
17
|
-
value: props.value
|
|
23
|
+
value: props.value,
|
|
24
|
+
onChange: onChangeWithFlushSync
|
|
18
25
|
};
|
|
19
26
|
const [state, send] = useMachine(numberInput.machine(initialContext), { context });
|
|
20
27
|
return numberInput.connect(state, send, normalizeProps);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-beta.1",
|
|
4
4
|
"description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accordion",
|
|
@@ -96,24 +96,24 @@
|
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@release-it/keep-a-changelog": "4.0.0",
|
|
99
|
-
"@storybook/addon-a11y": "7.1.
|
|
100
|
-
"@storybook/addon-essentials": "7.1.
|
|
101
|
-
"@storybook/addons": "7.1.
|
|
102
|
-
"@storybook/react": "7.1.
|
|
103
|
-
"@storybook/react-vite": "7.1.
|
|
99
|
+
"@storybook/addon-a11y": "7.1.1",
|
|
100
|
+
"@storybook/addon-essentials": "7.1.1",
|
|
101
|
+
"@storybook/addons": "7.1.1",
|
|
102
|
+
"@storybook/react": "7.1.1",
|
|
103
|
+
"@storybook/react-vite": "7.1.1",
|
|
104
104
|
"@testing-library/dom": "9.3.1",
|
|
105
105
|
"@testing-library/jest-dom": "5.17.0",
|
|
106
106
|
"@testing-library/react": "14.0.0",
|
|
107
107
|
"@testing-library/user-event": "14.4.3",
|
|
108
108
|
"@types/jsdom": "21.1.1",
|
|
109
|
-
"@types/react": "18.2.
|
|
109
|
+
"@types/react": "18.2.17",
|
|
110
110
|
"@types/react-dom": "18.2.7",
|
|
111
|
-
"@types/testing-library__jest-dom": "5.14.
|
|
111
|
+
"@types/testing-library__jest-dom": "5.14.9",
|
|
112
112
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
113
113
|
"@typescript-eslint/parser": "5.62.0",
|
|
114
114
|
"@vitejs/plugin-react": "4.0.3",
|
|
115
115
|
"@vitest/coverage-v8": "0.33.0",
|
|
116
|
-
"eslint": "8.
|
|
116
|
+
"eslint": "8.46.0",
|
|
117
117
|
"eslint-plugin-react": "7.33.0",
|
|
118
118
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
119
119
|
"globby": "13.2.2",
|
|
@@ -123,9 +123,9 @@
|
|
|
123
123
|
"react-frame-component": "5.2.6",
|
|
124
124
|
"release-it": "16.1.3",
|
|
125
125
|
"resize-observer-polyfill": "1.5.1",
|
|
126
|
-
"storybook": "7.1.
|
|
126
|
+
"storybook": "7.1.1",
|
|
127
127
|
"typescript": "5.1.6",
|
|
128
|
-
"vite": "4.4.
|
|
128
|
+
"vite": "4.4.7",
|
|
129
129
|
"vite-plugin-dts": "2.3.0",
|
|
130
130
|
"vitest": "0.33.0"
|
|
131
131
|
},
|
|
@@ -4,17 +4,20 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
8
9
|
const createSplitProps = require('../create-split-props.cjs');
|
|
9
10
|
const factory = require('../factory.cjs');
|
|
10
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
11
11
|
const paginationContext = require('./pagination-context.cjs');
|
|
12
12
|
|
|
13
|
-
const PaginationEllipsis =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
});
|
|
13
|
+
const PaginationEllipsis = react.forwardRef(
|
|
14
|
+
(props, ref) => {
|
|
15
|
+
const [ellipsisProps, localProps] = createSplitProps.createSplitProps()(props, ["index"]);
|
|
16
|
+
const { getEllipsisProps } = paginationContext.usePaginationContext();
|
|
17
|
+
const mergedProps = react$1.mergeProps(getEllipsisProps(ellipsisProps), localProps);
|
|
18
|
+
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref });
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
19
22
|
|
|
20
23
|
exports.PaginationEllipsis = PaginationEllipsis;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent } from 'react';
|
|
2
1
|
import type { EllipsisProps } from '@zag-js/pagination';
|
|
3
|
-
import type {
|
|
2
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import { ark } from '../factory';
|
|
4
4
|
import { type Assign } from '../types';
|
|
5
|
-
export type PaginationEllipsisProps = Assign<
|
|
6
|
-
export declare const PaginationEllipsis: ForwardRefExoticComponent<
|
|
5
|
+
export type PaginationEllipsisProps = Assign<ComponentPropsWithoutRef<typeof ark.div>, EllipsisProps>;
|
|
6
|
+
export declare const PaginationEllipsis: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
asChild?: boolean | undefined;
|
|
10
|
+
}, "ref">, "index"> & EllipsisProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
4
5
|
import { createSplitProps } from '../create-split-props.mjs';
|
|
5
6
|
import { ark } from '../factory.mjs';
|
|
6
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
7
7
|
import { usePaginationContext } from './pagination-context.mjs';
|
|
8
8
|
|
|
9
|
-
const PaginationEllipsis = forwardRef(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
});
|
|
9
|
+
const PaginationEllipsis = forwardRef(
|
|
10
|
+
(props, ref) => {
|
|
11
|
+
const [ellipsisProps, localProps] = createSplitProps()(props, ["index"]);
|
|
12
|
+
const { getEllipsisProps } = usePaginationContext();
|
|
13
|
+
const mergedProps = mergeProps(getEllipsisProps(ellipsisProps), localProps);
|
|
14
|
+
return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
15
18
|
|
|
16
19
|
export { PaginationEllipsis };
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const react = require('react');
|
|
7
8
|
const factory = require('../factory.cjs');
|
|
8
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
9
9
|
const pagination_anatomy = require('./pagination.anatomy.cjs');
|
|
10
10
|
|
|
11
|
-
const PaginationListItem =
|
|
11
|
+
const PaginationListItem = react.forwardRef(
|
|
12
|
+
(props, ref) => /* @__PURE__ */ jsxRuntime.jsx(factory.ark.li, { ...pagination_anatomy.parts.listItem.attrs, ...props, ref })
|
|
13
|
+
);
|
|
14
|
+
PaginationListItem.displayName = "PaginationListItem";
|
|
12
15
|
|
|
13
16
|
exports.PaginationListItem = PaginationListItem;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, LiHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ark } from '../factory';
|
|
3
|
+
export type PaginationListItemProps = ComponentPropsWithoutRef<typeof ark.li>;
|
|
4
|
+
export declare const PaginationListItem: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLLIElement | null) => void) | RefObject<HTMLLIElement> | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
3
4
|
import { ark } from '../factory.mjs';
|
|
4
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
5
5
|
import { parts } from './pagination.anatomy.mjs';
|
|
6
6
|
|
|
7
|
-
const PaginationListItem = forwardRef(
|
|
7
|
+
const PaginationListItem = forwardRef(
|
|
8
|
+
(props, ref) => /* @__PURE__ */ jsx(ark.li, { ...parts.listItem.attrs, ...props, ref })
|
|
9
|
+
);
|
|
10
|
+
PaginationListItem.displayName = "PaginationListItem";
|
|
8
11
|
|
|
9
12
|
export { PaginationListItem };
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const react = require('react');
|
|
7
8
|
const factory = require('../factory.cjs');
|
|
8
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
9
9
|
const pagination_anatomy = require('./pagination.anatomy.cjs');
|
|
10
10
|
|
|
11
|
-
const PaginationList =
|
|
11
|
+
const PaginationList = react.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(factory.ark.ul, { ...pagination_anatomy.parts.list.attrs, ...props, ref }));
|
|
12
|
+
PaginationList.displayName = "PaginationList";
|
|
12
13
|
|
|
13
14
|
exports.PaginationList = PaginationList;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ark } from '../factory';
|
|
3
|
+
export type PaginationListProps = ComponentPropsWithoutRef<typeof ark.ul>;
|
|
4
|
+
export declare const PaginationList: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLUListElement | null) => void) | RefObject<HTMLUListElement> | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & RefAttributes<HTMLUListElement>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
3
4
|
import { ark } from '../factory.mjs';
|
|
4
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
5
5
|
import { parts } from './pagination.anatomy.mjs';
|
|
6
6
|
|
|
7
7
|
const PaginationList = forwardRef((props, ref) => /* @__PURE__ */ jsx(ark.ul, { ...parts.list.attrs, ...props, ref }));
|
|
8
|
+
PaginationList.displayName = "PaginationList";
|
|
8
9
|
|
|
9
10
|
export { PaginationList };
|
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
const react = require('@zag-js/react');
|
|
7
|
+
const react$1 = require('@zag-js/react');
|
|
8
|
+
const react = require('react');
|
|
8
9
|
const factory = require('../factory.cjs');
|
|
9
|
-
const forwardRef = require('../forward-ref.cjs');
|
|
10
10
|
const paginationContext = require('./pagination-context.cjs');
|
|
11
11
|
|
|
12
|
-
const PaginationNextPageTrigger =
|
|
12
|
+
const PaginationNextPageTrigger = react.forwardRef((props, ref) => {
|
|
13
13
|
const { nextPageTriggerProps } = paginationContext.usePaginationContext();
|
|
14
|
-
const mergedProps = react.mergeProps(nextPageTriggerProps, props);
|
|
14
|
+
const mergedProps = react$1.mergeProps(nextPageTriggerProps, props);
|
|
15
15
|
return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.button, { ...mergedProps, ref });
|
|
16
16
|
});
|
|
17
|
+
PaginationNextPageTrigger.displayName = "PaginationNextPageTrigger";
|
|
17
18
|
|
|
18
19
|
exports.PaginationNextPageTrigger = PaginationNextPageTrigger;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import type { ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ark } from '../factory';
|
|
3
|
+
export type PaginationNextPageTriggerProps = ComponentPropsWithoutRef<typeof ark.button>;
|
|
4
|
+
export declare const PaginationNextPageTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | null | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean | undefined;
|
|
8
|
+
}, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
4
5
|
import { ark } from '../factory.mjs';
|
|
5
|
-
import { forwardRef } from '../forward-ref.mjs';
|
|
6
6
|
import { usePaginationContext } from './pagination-context.mjs';
|
|
7
7
|
|
|
8
8
|
const PaginationNextPageTrigger = forwardRef((props, ref) => {
|
|
@@ -10,5 +10,6 @@ const PaginationNextPageTrigger = forwardRef((props, ref) => {
|
|
|
10
10
|
const mergedProps = mergeProps(nextPageTriggerProps, props);
|
|
11
11
|
return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });
|
|
12
12
|
});
|
|
13
|
+
PaginationNextPageTrigger.displayName = "PaginationNextPageTrigger";
|
|
13
14
|
|
|
14
15
|
export { PaginationNextPageTrigger };
|