@ark-ui/react 0.10.0 → 0.11.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 +20 -12
- package/accordion/accordion-content.cjs +2 -1
- package/accordion/accordion-content.d.ts +2 -2
- package/accordion/accordion-content.mjs +2 -1
- package/accordion/accordion-context.d.ts +3 -2
- package/accordion/accordion-item-context.d.ts +2 -1
- package/accordion/accordion-item-presence.cjs +2 -2
- package/accordion/accordion-item-presence.d.ts +1 -1
- package/accordion/accordion-item-presence.mjs +1 -1
- package/accordion/accordion-item.d.ts +1 -1
- package/accordion/accordion-trigger.d.ts +1 -1
- package/accordion/accordion.d.ts +3 -3
- package/accordion/accordion.stories.d.ts +14 -0
- package/accordion/accordion.test.d.ts +1 -0
- package/accordion/index.cjs +11 -6
- package/accordion/index.d.ts +45 -7
- package/accordion/index.mjs +13 -4
- package/accordion/use-accordion.cjs +1 -0
- package/accordion/use-accordion.d.ts +2 -1
- package/accordion/use-accordion.mjs +1 -0
- package/avatar/avatar-context.d.ts +3 -2
- package/avatar/avatar-fallback.d.ts +2 -2
- package/avatar/avatar-image.d.ts +1 -1
- package/avatar/avatar.d.ts +3 -3
- package/avatar/avatar.stories.d.ts +8 -0
- package/avatar/index.cjs +10 -6
- package/avatar/index.d.ts +31 -5
- package/avatar/index.mjs +11 -3
- package/avatar/use-avatar.cjs +1 -0
- package/avatar/use-avatar.d.ts +2 -1
- package/avatar/use-avatar.mjs +1 -0
- package/carousel/carousel-context.d.ts +3 -2
- package/carousel/carousel-control.d.ts +1 -1
- package/carousel/carousel-indicator-group.d.ts +1 -1
- package/carousel/carousel-indicator.d.ts +1 -1
- package/carousel/carousel-next-slide-trigger.cjs +2 -2
- package/carousel/carousel-next-slide-trigger.d.ts +1 -1
- package/carousel/carousel-next-slide-trigger.mjs +2 -2
- package/carousel/carousel-prev-slide-trigger.cjs +2 -2
- package/carousel/carousel-prev-slide-trigger.d.ts +1 -1
- package/carousel/carousel-prev-slide-trigger.mjs +2 -2
- package/carousel/carousel-slide-group.d.ts +1 -1
- package/carousel/carousel-slide.d.ts +1 -1
- package/carousel/carousel-viewport.d.ts +1 -1
- package/carousel/carousel.anatomy.d.ts +3 -3
- package/carousel/carousel.d.ts +3 -3
- package/carousel/carousel.stories.d.ts +7 -0
- package/carousel/carousel.test.d.ts +1 -0
- package/carousel/index.cjs +12 -2
- package/carousel/index.d.ts +77 -11
- package/carousel/index.mjs +23 -9
- package/carousel/use-carousel.cjs +1 -0
- package/carousel/use-carousel.d.ts +2 -1
- package/carousel/use-carousel.mjs +1 -0
- package/checkbox/checkbox-context.d.ts +3 -2
- package/checkbox/checkbox-control.cjs +5 -2
- package/checkbox/checkbox-control.d.ts +1 -1
- package/checkbox/checkbox-control.mjs +6 -3
- package/checkbox/checkbox-label.d.ts +2 -2
- package/checkbox/checkbox.d.ts +2 -2
- package/checkbox/checkbox.stories.d.ts +10 -0
- package/checkbox/checkbox.test.d.ts +1 -0
- package/checkbox/index.cjs +10 -8
- package/checkbox/index.d.ts +42 -7
- package/checkbox/index.mjs +11 -4
- package/checkbox/use-checkbox.cjs +1 -0
- package/checkbox/use-checkbox.d.ts +2 -1
- package/checkbox/use-checkbox.mjs +1 -0
- package/color-picker/color-picker-area-context.d.ts +2 -1
- package/color-picker/color-picker-area-gradient.d.ts +1 -1
- package/color-picker/color-picker-area-thumb.d.ts +1 -1
- package/color-picker/color-picker-area.d.ts +1 -1
- package/color-picker/color-picker-channel-input.d.ts +1 -1
- package/color-picker/color-picker-channel-slider-background.d.ts +1 -1
- package/color-picker/color-picker-channel-slider-context.d.ts +2 -1
- package/color-picker/color-picker-channel-slider-thumb.d.ts +1 -1
- package/color-picker/color-picker-channel-slider-track.d.ts +1 -1
- package/color-picker/color-picker-content.d.ts +1 -1
- package/color-picker/color-picker-context.d.ts +3 -2
- package/color-picker/color-picker-eye-dropper-trigger.d.ts +1 -1
- package/color-picker/color-picker-swatch-background.d.ts +1 -1
- package/color-picker/color-picker-swatch-context.d.ts +2 -1
- package/color-picker/color-picker-swatch-group.d.ts +1 -1
- package/color-picker/color-picker-swatch.d.ts +1 -1
- package/color-picker/color-picker.anatomy.d.ts +3 -3
- package/color-picker/color-picker.d.ts +1 -1
- package/color-picker/color-picker.stories.d.ts +8 -0
- package/color-picker/index.cjs +16 -2
- package/color-picker/index.d.ts +86 -17
- package/color-picker/index.mjs +31 -13
- package/color-picker/use-color-picker.cjs +1 -0
- package/color-picker/use-color-picker.d.ts +2 -1
- package/color-picker/use-color-picker.mjs +1 -0
- package/combobox/combobox-clear-trigger.cjs +21 -0
- package/combobox/combobox-clear-trigger.d.ts +8 -0
- package/combobox/combobox-clear-trigger.mjs +17 -0
- package/combobox/combobox-content.cjs +3 -2
- package/combobox/combobox-content.d.ts +6 -6
- package/combobox/combobox-content.mjs +3 -2
- package/combobox/combobox-context.d.ts +3 -2
- package/combobox/combobox-control.d.ts +1 -1
- package/combobox/combobox-input.d.ts +1 -1
- package/combobox/combobox-label.d.ts +1 -1
- package/combobox/combobox-option-group-label.cjs +23 -0
- package/combobox/combobox-option-group-label.d.ts +10 -0
- package/combobox/combobox-option-group-label.mjs +19 -0
- package/combobox/combobox-option-group.cjs +23 -0
- package/combobox/combobox-option-group.d.ts +10 -0
- package/combobox/combobox-option-group.mjs +19 -0
- package/combobox/combobox-option.cjs +1 -1
- package/combobox/combobox-option.d.ts +6 -6
- package/combobox/combobox-option.mjs +1 -1
- package/combobox/combobox-positioner.d.ts +1 -1
- package/combobox/combobox-presence.cjs +2 -2
- package/combobox/combobox-presence.d.ts +1 -1
- package/combobox/combobox-presence.mjs +1 -1
- package/combobox/combobox-trigger.d.ts +1 -1
- package/combobox/combobox.cjs +2 -0
- package/combobox/combobox.d.ts +3 -3
- package/combobox/combobox.mjs +2 -0
- package/combobox/combobox.stories.d.ts +7 -0
- package/combobox/combobox.test.d.ts +1 -0
- package/combobox/index.cjs +24 -6
- package/combobox/index.d.ts +94 -10
- package/combobox/index.mjs +27 -8
- package/combobox/use-combobox.d.ts +2 -1
- package/compose-refs.d.ts +1 -0
- package/create-context.d.ts +1 -0
- package/create-split-props.test.d.ts +1 -0
- package/date-picker/date-picker-cell-context.d.ts +2 -1
- package/date-picker/date-picker-clear-trigger.d.ts +1 -1
- package/date-picker/date-picker-column-header.d.ts +1 -1
- package/date-picker/date-picker-content.d.ts +1 -1
- package/date-picker/date-picker-context.d.ts +3 -2
- package/date-picker/date-picker-control.d.ts +1 -1
- package/date-picker/date-picker-day-cell-context.d.ts +2 -1
- package/date-picker/date-picker-day-cell-trigger.d.ts +1 -1
- package/date-picker/date-picker-day-cell.d.ts +1 -1
- package/date-picker/date-picker-grid.d.ts +1 -1
- package/date-picker/date-picker-input.d.ts +1 -1
- package/date-picker/date-picker-month-cell-trigger.d.ts +1 -1
- package/date-picker/date-picker-month-cell.d.ts +1 -1
- package/date-picker/date-picker-month-select.d.ts +1 -1
- package/date-picker/date-picker-next-trigger.d.ts +1 -1
- package/date-picker/date-picker-positioner.cjs +21 -0
- package/date-picker/date-picker-positioner.d.ts +8 -0
- package/date-picker/date-picker-positioner.mjs +17 -0
- package/date-picker/date-picker-prev-trigger.d.ts +1 -1
- package/date-picker/date-picker-row-group.d.ts +1 -1
- package/date-picker/date-picker-row-header.d.ts +1 -1
- package/date-picker/date-picker-row.d.ts +1 -1
- package/date-picker/date-picker-trigger.d.ts +1 -1
- package/date-picker/date-picker-view-trigger.d.ts +1 -1
- package/date-picker/date-picker-year-cell-trigger.d.ts +1 -1
- package/date-picker/date-picker-year-cell.d.ts +1 -1
- package/date-picker/date-picker-year-select.d.ts +1 -1
- package/date-picker/date-picker.anatomy.d.ts +3 -3
- package/date-picker/date-picker.d.ts +1 -1
- package/date-picker/date-picker.stories.d.ts +9 -0
- package/date-picker/index.cjs +28 -2
- package/date-picker/index.d.ts +146 -26
- package/date-picker/index.mjs +51 -22
- package/date-picker/use-date-picker.cjs +1 -0
- package/date-picker/use-date-picker.d.ts +2 -1
- package/date-picker/use-date-picker.mjs +1 -0
- package/dialog/dialog-backdrop.d.ts +2 -2
- package/dialog/dialog-close-trigger.d.ts +1 -1
- package/dialog/dialog-container.d.ts +1 -1
- package/dialog/dialog-content.cjs +2 -1
- package/dialog/dialog-content.d.ts +2 -2
- package/dialog/dialog-content.mjs +2 -1
- package/dialog/dialog-context.d.ts +3 -2
- package/dialog/dialog-description.d.ts +1 -1
- package/dialog/dialog-presence.cjs +2 -2
- package/dialog/dialog-presence.d.ts +1 -1
- package/dialog/dialog-presence.mjs +1 -1
- package/dialog/dialog-title.d.ts +1 -1
- package/dialog/dialog-trigger.d.ts +1 -1
- package/dialog/dialog.d.ts +1 -1
- package/dialog/dialog.stories.d.ts +10 -0
- package/dialog/dialog.test.d.ts +1 -0
- package/dialog/index.cjs +15 -6
- package/dialog/index.d.ts +54 -10
- package/dialog/index.mjs +21 -8
- package/dialog/use-dialog.cjs +1 -0
- package/dialog/use-dialog.d.ts +2 -1
- package/dialog/use-dialog.mjs +1 -0
- package/editable/editable-area.d.ts +1 -1
- package/editable/editable-cancel-trigger.d.ts +1 -1
- package/editable/editable-context.d.ts +3 -2
- package/editable/editable-control.d.ts +1 -1
- package/editable/editable-edit-trigger.d.ts +1 -1
- package/editable/editable-input.d.ts +1 -1
- package/editable/editable-label.d.ts +1 -1
- package/editable/editable-preview.d.ts +2 -2
- package/editable/editable-submit-trigger.d.ts +1 -1
- package/editable/editable.cjs +2 -0
- package/editable/editable.d.ts +3 -3
- package/editable/editable.mjs +2 -0
- package/editable/editable.stories.d.ts +8 -0
- package/editable/editable.test.d.ts +1 -0
- package/editable/index.cjs +16 -6
- package/editable/index.d.ts +81 -11
- package/editable/index.mjs +23 -9
- package/editable/use-editable.cjs +1 -0
- package/editable/use-editable.d.ts +2 -1
- package/editable/use-editable.mjs +1 -0
- package/environment/environment-context.d.ts +3 -2
- package/environment/environment.d.ts +1 -1
- package/environment/environment.stories.d.ts +7 -0
- package/environment/environment.test.d.ts +1 -0
- package/environment/index.cjs +4 -2
- package/environment/index.d.ts +8 -2
- package/environment/index.mjs +7 -1
- package/hover-card/hover-card-arrow-tip.d.ts +1 -1
- package/hover-card/hover-card-arrow.d.ts +1 -1
- package/hover-card/hover-card-content.cjs +2 -1
- package/hover-card/hover-card-content.d.ts +2 -2
- package/hover-card/hover-card-content.mjs +2 -1
- package/hover-card/hover-card-context.d.ts +3 -2
- package/hover-card/hover-card-positioner.d.ts +1 -1
- package/hover-card/hover-card-presence.cjs +2 -2
- package/hover-card/hover-card-presence.d.ts +1 -1
- package/hover-card/hover-card-presence.mjs +1 -1
- package/hover-card/hover-card-trigger.d.ts +1 -1
- package/hover-card/hover-card.d.ts +1 -1
- package/hover-card/hover-card.stories.d.ts +10 -0
- package/hover-card/hover-card.test.d.ts +1 -0
- package/hover-card/index.cjs +13 -6
- package/hover-card/index.d.ts +42 -8
- package/hover-card/index.mjs +17 -6
- package/hover-card/use-hover-card.cjs +1 -0
- package/hover-card/use-hover-card.d.ts +2 -1
- package/hover-card/use-hover-card.mjs +1 -0
- package/index.cjs +247 -239
- package/index.mjs +91 -87
- package/menu/index.cjs +19 -5
- package/menu/index.d.ts +93 -15
- package/menu/index.mjs +31 -13
- package/menu/menu-arrow-tip.d.ts +1 -1
- package/menu/menu-arrow.d.ts +1 -1
- package/menu/menu-content.d.ts +1 -1
- package/menu/menu-context-trigger.d.ts +1 -1
- package/menu/menu-context.d.ts +2 -1
- package/menu/menu-item-group-label.d.ts +1 -1
- package/menu/menu-item-group.d.ts +2 -2
- package/menu/menu-item.d.ts +2 -2
- package/menu/menu-option-item.d.ts +2 -2
- package/menu/menu-positioner.d.ts +1 -1
- package/menu/menu-separator.d.ts +1 -1
- package/menu/menu-trigger-item.d.ts +1 -1
- package/menu/menu-trigger.d.ts +1 -1
- package/menu/menu.cjs +3 -0
- package/menu/menu.d.ts +1 -1
- package/menu/menu.mjs +3 -0
- package/menu/menu.stories.d.ts +11 -0
- package/menu/menu.test.d.ts +1 -0
- package/menu/use-menu.cjs +1 -0
- package/menu/use-menu.mjs +1 -0
- package/number-input/index.cjs +13 -5
- package/number-input/index.d.ts +59 -9
- package/number-input/index.mjs +19 -7
- package/number-input/number-input-context.d.ts +3 -2
- package/number-input/number-input-control.d.ts +1 -1
- package/number-input/number-input-decrement-trigger.d.ts +1 -1
- package/number-input/number-input-field.d.ts +1 -1
- package/number-input/number-input-increment-trigger.d.ts +1 -1
- package/number-input/number-input-label.d.ts +1 -1
- package/number-input/number-input-scrubber.d.ts +1 -1
- package/number-input/number-input.d.ts +3 -3
- package/number-input/number-input.stories.d.ts +7 -0
- package/number-input/number-input.test.d.ts +1 -0
- package/number-input/use-number-input.cjs +1 -0
- package/number-input/use-number-input.d.ts +2 -1
- package/number-input/use-number-input.mjs +1 -0
- package/package.json +42 -42
- package/pagination/index.cjs +10 -2
- package/pagination/index.d.ts +67 -9
- package/pagination/index.mjs +19 -7
- package/pagination/pagination-context.d.ts +3 -2
- package/pagination/pagination-ellipsis.d.ts +1 -1
- package/pagination/pagination-list-item.d.ts +1 -1
- package/pagination/pagination-list.d.ts +1 -1
- package/pagination/pagination-next-page-trigger.d.ts +1 -1
- package/pagination/pagination-page-trigger.d.ts +1 -1
- package/pagination/pagination-prev-page-trigger.d.ts +1 -1
- package/pagination/pagination.anatomy.d.ts +1 -1
- package/pagination/pagination.d.ts +1 -1
- package/pagination/pagination.stories.d.ts +9 -0
- package/pagination/pagination.test.d.ts +1 -0
- package/pagination/use-pagination.cjs +1 -0
- package/pagination/use-pagination.d.ts +2 -1
- package/pagination/use-pagination.mjs +1 -0
- package/pin-input/index.cjs +11 -6
- package/pin-input/index.d.ts +43 -6
- package/pin-input/index.mjs +13 -4
- package/pin-input/pin-input-context.d.ts +3 -2
- package/pin-input/pin-input-control.cjs +3 -3
- package/pin-input/pin-input-control.d.ts +1 -1
- package/pin-input/pin-input-control.mjs +4 -4
- package/pin-input/pin-input-field.d.ts +1 -1
- package/pin-input/pin-input-label.d.ts +1 -1
- package/pin-input/pin-input.d.ts +3 -3
- package/pin-input/pin-input.stories.d.ts +7 -0
- package/pin-input/pin-input.test.d.ts +1 -0
- package/pin-input/use-pin-input.cjs +1 -0
- package/pin-input/use-pin-input.d.ts +2 -1
- package/pin-input/use-pin-input.mjs +1 -0
- package/popover/index.cjs +17 -6
- package/popover/index.d.ts +66 -12
- package/popover/index.mjs +25 -10
- package/popover/popover-anchor.d.ts +1 -1
- package/popover/popover-arrow-tip.d.ts +1 -1
- package/popover/popover-arrow.d.ts +1 -1
- package/popover/popover-close-trigger.d.ts +1 -1
- package/popover/popover-content.cjs +2 -1
- package/popover/popover-content.d.ts +2 -2
- package/popover/popover-content.mjs +2 -1
- package/popover/popover-context.d.ts +3 -2
- package/popover/popover-description.d.ts +1 -1
- package/popover/popover-positioner.d.ts +1 -1
- package/popover/popover-presence.cjs +2 -2
- package/popover/popover-presence.d.ts +1 -1
- package/popover/popover-presence.mjs +1 -1
- package/popover/popover-title.d.ts +1 -1
- package/popover/popover-trigger.d.ts +1 -1
- package/popover/popover.d.ts +1 -1
- package/popover/popover.stories.d.ts +12 -0
- package/popover/popover.test.d.ts +1 -0
- package/popover/use-popover.cjs +1 -0
- package/popover/use-popover.d.ts +2 -1
- package/popover/use-popover.mjs +1 -0
- package/presence/index.cjs +4 -2
- package/presence/index.d.ts +9 -2
- package/presence/index.mjs +7 -1
- package/presence/presence.d.ts +1 -1
- package/presence/presence.stories.d.ts +10 -0
- package/presence/presence.test.d.ts +1 -0
- package/pressable/index.cjs +4 -2
- package/pressable/index.d.ts +30 -2
- package/pressable/index.mjs +7 -1
- package/pressable/pressable.d.ts +3 -3
- package/pressable/pressable.stories.d.ts +7 -0
- package/pressable/pressable.test.d.ts +1 -0
- package/pressable/use-pressable.cjs +1 -0
- package/pressable/use-pressable.d.ts +2 -1
- package/pressable/use-pressable.mjs +1 -0
- package/radio-group/index.cjs +11 -4
- package/radio-group/index.d.ts +64 -9
- package/radio-group/index.mjs +17 -6
- package/radio-group/radio-context.d.ts +2 -1
- package/radio-group/radio-control.d.ts +1 -1
- package/radio-group/radio-group-context.d.ts +3 -2
- package/radio-group/radio-group-label.d.ts +1 -1
- package/radio-group/radio-group.d.ts +3 -3
- package/radio-group/radio-group.stories.d.ts +8 -0
- package/radio-group/radio-group.test.d.ts +1 -0
- package/radio-group/radio-input.d.ts +1 -1
- package/radio-group/radio-label.d.ts +2 -2
- package/radio-group/radio.d.ts +1 -1
- package/radio-group/use-radio-group.cjs +1 -0
- package/radio-group/use-radio-group.d.ts +2 -1
- package/radio-group/use-radio-group.mjs +1 -0
- package/range-slider/index.cjs +15 -5
- package/range-slider/index.d.ts +90 -11
- package/range-slider/index.mjs +23 -9
- package/range-slider/range-slider-context.d.ts +3 -2
- package/range-slider/range-slider-control.d.ts +1 -1
- package/range-slider/range-slider-label.d.ts +1 -1
- package/range-slider/range-slider-marker-group.d.ts +1 -1
- package/range-slider/range-slider-marker.d.ts +2 -2
- package/range-slider/range-slider-output.d.ts +1 -1
- package/range-slider/range-slider-range.d.ts +1 -1
- package/range-slider/range-slider-thumb.cjs +4 -13
- package/range-slider/range-slider-thumb.d.ts +1 -1
- package/range-slider/range-slider-thumb.mjs +5 -14
- package/range-slider/range-slider-track.d.ts +1 -1
- package/range-slider/range-slider.d.ts +3 -3
- package/range-slider/range-slider.stories.d.ts +8 -0
- package/range-slider/range-slider.test.d.ts +1 -0
- package/range-slider/use-range-slider.cjs +1 -0
- package/range-slider/use-range-slider.d.ts +2 -1
- package/range-slider/use-range-slider.mjs +1 -0
- package/rating-group/index.cjs +11 -6
- package/rating-group/index.d.ts +49 -7
- package/rating-group/index.mjs +13 -4
- package/rating-group/rating-context.d.ts +3 -2
- 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 +1 -1
- package/rating-group/rating-group-control.mjs +5 -2
- package/rating-group/rating-group-label.d.ts +1 -1
- package/rating-group/rating-group.cjs +1 -4
- package/rating-group/rating-group.d.ts +7 -7
- package/rating-group/rating-group.mjs +2 -5
- package/rating-group/rating-group.stories.d.ts +7 -0
- package/rating-group/rating-group.test.d.ts +1 -0
- package/rating-group/rating.d.ts +2 -2
- package/rating-group/use-rating-group.cjs +1 -0
- package/rating-group/use-rating-group.d.ts +2 -1
- package/rating-group/use-rating-group.mjs +1 -0
- package/run-if-fn.test.d.ts +1 -0
- package/segment-group/index.cjs +10 -2
- package/segment-group/index.d.ts +70 -10
- package/segment-group/index.mjs +19 -7
- package/segment-group/segment-context.d.ts +2 -1
- package/segment-group/segment-control.d.ts +1 -1
- package/segment-group/segment-group-context.d.ts +3 -2
- package/segment-group/segment-group-label.d.ts +1 -1
- package/segment-group/segment-group.anatomy.d.ts +1 -1
- package/segment-group/segment-group.d.ts +3 -3
- package/segment-group/segment-group.stories.d.ts +10 -0
- package/segment-group/segment-group.test.d.ts +1 -0
- package/segment-group/segment-indicator.d.ts +1 -1
- package/segment-group/segment-input.d.ts +1 -1
- package/segment-group/segment-label.d.ts +2 -2
- package/segment-group/segment.d.ts +1 -1
- package/segment-group/use-segment-group.cjs +1 -0
- package/segment-group/use-segment-group.d.ts +2 -1
- package/segment-group/use-segment-group.mjs +1 -0
- package/select/index.cjs +14 -5
- package/select/index.d.ts +57 -10
- package/select/index.mjs +21 -8
- package/select/select-content.cjs +3 -2
- package/select/select-content.d.ts +6 -6
- package/select/select-content.mjs +3 -2
- package/select/select-context.d.ts +3 -2
- package/select/select-label.d.ts +1 -1
- package/select/select-option-group-label.cjs +1 -1
- package/select/select-option-group-label.d.ts +5 -5
- package/select/select-option-group-label.mjs +1 -1
- package/select/select-option-group.cjs +3 -2
- package/select/select-option-group.d.ts +4 -7
- package/select/select-option-group.mjs +3 -2
- package/select/select-option.cjs +3 -3
- package/select/select-option.d.ts +5 -8
- package/select/select-option.mjs +3 -3
- package/select/select-positioner.d.ts +1 -1
- package/select/select-presence.cjs +2 -2
- package/select/select-presence.d.ts +1 -1
- package/select/select-presence.mjs +1 -1
- package/select/select-trigger.d.ts +1 -1
- package/select/select.cjs +2 -0
- package/select/select.d.ts +1 -1
- package/select/select.mjs +2 -0
- package/select/select.stories.d.ts +7 -0
- package/select/select.test.d.ts +1 -0
- package/select/use-select.cjs +1 -0
- package/select/use-select.d.ts +2 -1
- package/select/use-select.mjs +1 -0
- package/setup-test.d.ts +0 -0
- package/slider/index.cjs +16 -6
- package/slider/index.d.ts +86 -11
- package/slider/index.mjs +23 -9
- package/slider/slider-context.d.ts +3 -2
- package/slider/slider-control.d.ts +1 -1
- package/slider/slider-label.d.ts +1 -1
- package/slider/slider-marker-group.d.ts +1 -1
- package/slider/slider-marker.d.ts +2 -2
- package/slider/slider-output.d.ts +1 -1
- package/slider/slider-range.d.ts +1 -1
- package/slider/slider-thumb.cjs +4 -12
- package/slider/slider-thumb.d.ts +1 -1
- package/slider/slider-thumb.mjs +5 -13
- package/slider/slider-track.d.ts +1 -1
- package/slider/slider.d.ts +1 -1
- package/slider/slider.stories.d.ts +8 -0
- package/slider/slider.test.d.ts +1 -0
- package/slider/use-slider.cjs +1 -0
- package/slider/use-slider.d.ts +2 -1
- package/slider/use-slider.mjs +1 -0
- package/splitter/index.cjs +10 -6
- package/splitter/index.d.ts +55 -5
- package/splitter/index.mjs +11 -3
- package/splitter/splitter-context.d.ts +3 -2
- package/splitter/splitter-panel.d.ts +1 -1
- package/splitter/splitter-resize-trigger.d.ts +1 -1
- package/splitter/splitter.d.ts +3 -3
- package/splitter/splitter.stories.d.ts +10 -0
- package/splitter/splitter.test.d.ts +1 -0
- package/splitter/use-splitter.cjs +1 -0
- package/splitter/use-splitter.d.ts +2 -1
- package/splitter/use-splitter.mjs +1 -0
- package/switch/index.cjs +10 -4
- package/switch/index.d.ts +55 -7
- package/switch/index.mjs +15 -5
- package/switch/switch-context.d.ts +3 -2
- package/switch/switch-control.d.ts +2 -2
- package/switch/switch-input.d.ts +1 -1
- package/switch/switch-label.d.ts +2 -2
- package/switch/switch-thumb.d.ts +2 -2
- package/switch/switch.d.ts +1 -1
- package/switch/switch.stories.d.ts +9 -0
- package/switch/use-switch.cjs +1 -0
- package/switch/use-switch.d.ts +2 -1
- package/switch/use-switch.mjs +1 -0
- package/tabs/index.cjs +12 -6
- package/tabs/index.d.ts +48 -7
- package/tabs/index.mjs +15 -5
- package/tabs/tab-content.cjs +2 -1
- package/tabs/tab-content.d.ts +1 -1
- package/tabs/tab-content.mjs +2 -1
- package/tabs/tab-indicator.d.ts +1 -1
- package/tabs/tab-list.d.ts +1 -1
- package/tabs/tab-presence.cjs +2 -2
- package/tabs/tab-presence.d.ts +1 -1
- package/tabs/tab-presence.mjs +1 -1
- package/tabs/tab-trigger.d.ts +1 -1
- package/tabs/tabs-context.d.ts +3 -2
- package/tabs/tabs.d.ts +3 -3
- package/tabs/tabs.stories.d.ts +14 -0
- package/tabs/tabs.test.d.ts +1 -0
- package/tabs/use-tabs.cjs +1 -0
- package/tabs/use-tabs.d.ts +3 -2
- package/tabs/use-tabs.mjs +1 -0
- package/tags-input/index.cjs +15 -6
- package/tags-input/index.d.ts +90 -10
- package/tags-input/index.mjs +21 -8
- package/tags-input/tag-delete-trigger.d.ts +1 -1
- package/tags-input/tag-input.d.ts +1 -1
- package/tags-input/tag.d.ts +1 -1
- package/tags-input/tags-input-clear-trigger.d.ts +1 -1
- package/tags-input/tags-input-context.d.ts +3 -2
- package/tags-input/tags-input-control.cjs +2 -2
- package/tags-input/tags-input-control.d.ts +1 -1
- package/tags-input/tags-input-control.mjs +3 -3
- package/tags-input/tags-input-field.d.ts +1 -1
- package/tags-input/tags-input-label.d.ts +1 -1
- package/tags-input/tags-input.cjs +3 -1
- package/tags-input/tags-input.d.ts +1 -1
- package/tags-input/tags-input.mjs +3 -1
- package/tags-input/tags-input.stories.d.ts +8 -0
- package/tags-input/tags-input.test.d.ts +1 -0
- package/tags-input/use-tags-input.cjs +1 -0
- package/tags-input/use-tags-input.d.ts +2 -1
- package/tags-input/use-tags-input.mjs +1 -0
- package/toast/index.cjs +13 -4
- package/toast/index.d.ts +52 -9
- package/toast/index.mjs +20 -7
- package/toast/toast-close-trigger.d.ts +1 -1
- package/toast/toast-description.d.ts +1 -1
- package/toast/toast-group.d.ts +1 -1
- package/toast/toast-item-context.d.ts +3 -2
- package/toast/toast-placements.d.ts +1 -1
- package/toast/toast-provider.cjs +1 -0
- package/toast/toast-provider.d.ts +2 -2
- package/toast/toast-provider.mjs +1 -0
- package/toast/toast-title.d.ts +1 -1
- package/toast/toast.d.ts +1 -1
- package/toast/toast.stories.d.ts +12 -0
- package/toast/toast.test.d.ts +1 -0
- package/toast/use-toast-item.d.ts +2 -1
- package/tooltip/index.cjs +13 -6
- package/tooltip/index.d.ts +42 -8
- package/tooltip/index.mjs +17 -6
- package/tooltip/tooltip-arrow-tip.d.ts +1 -1
- package/tooltip/tooltip-arrow.d.ts +1 -1
- package/tooltip/tooltip-content.cjs +2 -1
- package/tooltip/tooltip-content.d.ts +2 -2
- package/tooltip/tooltip-content.mjs +2 -1
- package/tooltip/tooltip-context.d.ts +3 -2
- package/tooltip/tooltip-positioner.d.ts +1 -1
- package/tooltip/tooltip-presence.cjs +2 -2
- package/tooltip/tooltip-presence.d.ts +1 -1
- package/tooltip/tooltip-presence.mjs +1 -1
- package/tooltip/tooltip-trigger.d.ts +1 -1
- package/tooltip/tooltip.d.ts +1 -1
- package/tooltip/tooltip.stories.d.ts +12 -0
- package/tooltip/tooltip.test.d.ts +1 -0
- package/tooltip/use-tooltip.cjs +1 -0
- package/tooltip/use-tooltip.d.ts +2 -1
- package/tooltip/use-tooltip.mjs +1 -0
- package/use-latest-ref.d.ts +3 -0
- package/checkbox/checkbox-input.cjs +0 -19
- package/checkbox/checkbox-input.d.ts +0 -8
- package/checkbox/checkbox-input.mjs +0 -15
package/tabs/tabs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Context } from '@zag-js/tabs';
|
|
2
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
import { ark } from '../factory';
|
|
4
4
|
import { type Assign } from '../types';
|
|
5
5
|
import { type UseTabsProps } from './use-tabs';
|
|
@@ -8,6 +8,6 @@ export declare const Tabs: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTML
|
|
|
8
8
|
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
9
9
|
} & {
|
|
10
10
|
asChild?: boolean | undefined;
|
|
11
|
-
}, "ref">, "value" | "
|
|
11
|
+
}, "ref">, "value" | "getRootNode" | "id" | "ids" | "orientation" | "onFocus" | "onChange" | "defaultValue" | "dir" | "loop" | "translations" | "activationMode" | "onDelete"> & Pick<Partial<Context>, "id"> & Omit<Context, "id"> & {
|
|
12
12
|
defaultValue?: string | null | undefined;
|
|
13
13
|
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import type { Meta } from '@storybook/react';
|
|
3
|
+
import { Tabs } from '.';
|
|
4
|
+
type TabsType = typeof Tabs;
|
|
5
|
+
declare const meta: Meta<TabsType>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Basic: () => JSX.Element;
|
|
8
|
+
export declare const InitialTab: () => JSX.Element;
|
|
9
|
+
export declare const Indicator: () => JSX.Element;
|
|
10
|
+
export declare const LazyMount: () => JSX.Element;
|
|
11
|
+
export declare const DisabledTab: () => JSX.Element;
|
|
12
|
+
export declare const Controlled: () => JSX.Element;
|
|
13
|
+
export declare const Vertical: () => JSX.Element;
|
|
14
|
+
export declare const Manual: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/tabs/use-tabs.cjs
CHANGED
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
6
6
|
const react$1 = require('@zag-js/react');
|
|
7
7
|
const tabs = require('@zag-js/tabs');
|
|
8
8
|
const react = require('react');
|
|
9
|
+
require('../environment/index.cjs');
|
|
9
10
|
const environmentContext = require('../environment/environment-context.cjs');
|
|
10
11
|
|
|
11
12
|
const useTabs = (props) => {
|
package/tabs/use-tabs.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { PublicApi, type Context } from '@zag-js/tabs';
|
|
3
4
|
import { type Optional } from '../types';
|
|
4
5
|
export type UseTabsProps = Optional<Context, 'id'> & {
|
|
5
6
|
defaultValue?: Context['value'];
|
package/tabs/use-tabs.mjs
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { useMachine, normalizeProps } from '@zag-js/react';
|
|
3
3
|
import { machine, connect } from '@zag-js/tabs';
|
|
4
4
|
import { useId } from 'react';
|
|
5
|
+
import '../environment/index.mjs';
|
|
5
6
|
import { useEnvironmentContext } from '../environment/environment-context.mjs';
|
|
6
7
|
|
|
7
8
|
const useTabs = (props) => {
|
package/tags-input/index.cjs
CHANGED
|
@@ -5,26 +5,35 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
const tag = require('./tag.cjs');
|
|
6
6
|
const tagDeleteTrigger = require('./tag-delete-trigger.cjs');
|
|
7
7
|
const tagInput = require('./tag-input.cjs');
|
|
8
|
-
const tagsInput = require('./tags-input.cjs');
|
|
8
|
+
const tagsInput$1 = require('./tags-input.cjs');
|
|
9
9
|
const tagsInputClearTrigger = require('./tags-input-clear-trigger.cjs');
|
|
10
10
|
const tagsInputContext = require('./tags-input-context.cjs');
|
|
11
11
|
const tagsInputControl = require('./tags-input-control.cjs');
|
|
12
12
|
const tagsInputField = require('./tags-input-field.cjs');
|
|
13
13
|
const tagsInputLabel = require('./tags-input-label.cjs');
|
|
14
|
-
const tagsInput
|
|
15
|
-
|
|
14
|
+
const tagsInput = require('@zag-js/tags-input');
|
|
16
15
|
|
|
16
|
+
const TagsInput = Object.assign(tagsInput$1.TagsInput, {
|
|
17
|
+
Root: tagsInput$1.TagsInput,
|
|
18
|
+
ClearTrigger: tagsInputClearTrigger.TagsInputClearTrigger,
|
|
19
|
+
Control: tagsInputControl.TagsInputControl,
|
|
20
|
+
Field: tagsInputField.TagsInputField,
|
|
21
|
+
Label: tagsInputLabel.TagsInputLabel,
|
|
22
|
+
Tag: tag.Tag,
|
|
23
|
+
TagInput: tagInput.TagInput,
|
|
24
|
+
TagDeleteTrigger: tagDeleteTrigger.TagDeleteTrigger
|
|
25
|
+
});
|
|
17
26
|
|
|
18
27
|
exports.Tag = tag.Tag;
|
|
19
28
|
exports.TagDeleteTrigger = tagDeleteTrigger.TagDeleteTrigger;
|
|
20
29
|
exports.TagInput = tagInput.TagInput;
|
|
21
|
-
exports.TagsInput = tagsInput.TagsInput;
|
|
22
30
|
exports.TagsInputClearTrigger = tagsInputClearTrigger.TagsInputClearTrigger;
|
|
23
31
|
exports.useTagsInputContext = tagsInputContext.useTagsInputContext;
|
|
24
32
|
exports.TagsInputControl = tagsInputControl.TagsInputControl;
|
|
25
33
|
exports.TagsInputField = tagsInputField.TagsInputField;
|
|
26
34
|
exports.TagsInputLabel = tagsInputLabel.TagsInputLabel;
|
|
27
35
|
Object.defineProperty(exports, 'tagsInputAnatomy', {
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: () => tagsInput.anatomy
|
|
30
38
|
});
|
|
39
|
+
exports.TagsInput = TagsInput;
|
package/tags-input/index.d.ts
CHANGED
|
@@ -1,10 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { UseTagsInputProps } from './use-tags-input';
|
|
2
|
+
import { Assign } from '../types';
|
|
3
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, InputHTMLAttributes, RefObject, ReactNode, RefAttributes, ButtonHTMLAttributes, HTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { Tag, type TagProps } from './tag';
|
|
6
|
+
import { TagDeleteTrigger, type TagDeleteTriggerProps } from './tag-delete-trigger';
|
|
7
|
+
import { TagInput, type TagInputProps } from './tag-input';
|
|
8
|
+
import { type TagsInputProps } from './tags-input';
|
|
9
|
+
import { TagsInputClearTrigger, type TagsInputClearTriggerProps } from './tags-input-clear-trigger';
|
|
10
|
+
import { useTagsInputContext } from './tags-input-context';
|
|
11
|
+
import { TagsInputControl, type TagsInputControlProps } from './tags-input-control';
|
|
12
|
+
import { TagsInputField, type TagsInputFieldProps } from './tags-input-field';
|
|
13
|
+
import { TagsInputLabel, type TagsInputLabelProps } from './tags-input-label';
|
|
14
|
+
import { tagsInputAnatomy } from './tags-input.anatomy';
|
|
15
|
+
declare const TagsInput: ForwardRefExoticComponent<Omit<Assign<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | null | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
asChild?: boolean | undefined;
|
|
19
|
+
}, "ref">, UseTagsInputProps>, "children"> & {
|
|
20
|
+
children: ReactNode | ((pages: UseTagsInputProps) => ReactNode);
|
|
21
|
+
} & RefAttributes<HTMLInputElement>> & {
|
|
22
|
+
Root: ForwardRefExoticComponent<Omit<Assign<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
23
|
+
ref?: ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | null | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
asChild?: boolean | undefined;
|
|
26
|
+
}, "ref">, UseTagsInputProps>, "children"> & {
|
|
27
|
+
children: ReactNode | ((pages: UseTagsInputProps) => ReactNode);
|
|
28
|
+
} & RefAttributes<HTMLInputElement>>;
|
|
29
|
+
ClearTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
30
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | null | undefined;
|
|
31
|
+
} & {
|
|
32
|
+
asChild?: boolean | undefined;
|
|
33
|
+
}, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
Control: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
35
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
asChild?: boolean | undefined;
|
|
38
|
+
}, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
39
|
+
Field: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
40
|
+
ref?: ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | null | undefined;
|
|
41
|
+
} & {
|
|
42
|
+
asChild?: boolean | undefined;
|
|
43
|
+
}, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
44
|
+
Label: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
45
|
+
ref?: ((instance: HTMLLabelElement | null) => void) | RefObject<HTMLLabelElement> | null | undefined;
|
|
46
|
+
} & {
|
|
47
|
+
asChild?: boolean | undefined;
|
|
48
|
+
}, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
49
|
+
Tag: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
50
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
51
|
+
} & {
|
|
52
|
+
asChild?: boolean | undefined;
|
|
53
|
+
}, "ref">, keyof {
|
|
54
|
+
index: string | number;
|
|
55
|
+
value: string;
|
|
56
|
+
disabled?: boolean | undefined;
|
|
57
|
+
}> & {
|
|
58
|
+
index: string | number;
|
|
59
|
+
value: string;
|
|
60
|
+
disabled?: boolean | undefined;
|
|
61
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
62
|
+
TagInput: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
63
|
+
ref?: ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | null | undefined;
|
|
64
|
+
} & {
|
|
65
|
+
asChild?: boolean | undefined;
|
|
66
|
+
}, "ref">, keyof {
|
|
67
|
+
index: string | number;
|
|
68
|
+
value: string;
|
|
69
|
+
disabled?: boolean | undefined;
|
|
70
|
+
}> & {
|
|
71
|
+
index: string | number;
|
|
72
|
+
value: string;
|
|
73
|
+
disabled?: boolean | undefined;
|
|
74
|
+
} & RefAttributes<HTMLInputElement>>;
|
|
75
|
+
TagDeleteTrigger: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
76
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | null | undefined;
|
|
77
|
+
} & {
|
|
78
|
+
asChild?: boolean | undefined;
|
|
79
|
+
}, "ref">, keyof {
|
|
80
|
+
index: string | number;
|
|
81
|
+
value: string;
|
|
82
|
+
disabled?: boolean | undefined;
|
|
83
|
+
}> & {
|
|
84
|
+
index: string | number;
|
|
85
|
+
value: string;
|
|
86
|
+
disabled?: boolean | undefined;
|
|
87
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
88
|
+
};
|
|
89
|
+
export { Tag, TagDeleteTrigger, TagInput, TagsInput, TagsInputClearTrigger, TagsInputControl, TagsInputField, TagsInputLabel, tagsInputAnatomy, useTagsInputContext, };
|
|
90
|
+
export type { TagDeleteTriggerProps, TagInputProps, TagProps, TagsInputClearTriggerProps, TagsInputControlProps, TagsInputFieldProps, TagsInputLabelProps, TagsInputProps, };
|
package/tags-input/index.mjs
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Tag } from './tag.mjs';
|
|
2
|
+
import { TagDeleteTrigger } from './tag-delete-trigger.mjs';
|
|
3
|
+
import { TagInput } from './tag-input.mjs';
|
|
4
|
+
import { TagsInput as TagsInput$1 } from './tags-input.mjs';
|
|
5
|
+
import { TagsInputClearTrigger } from './tags-input-clear-trigger.mjs';
|
|
6
6
|
export { useTagsInputContext } from './tags-input-context.mjs';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { TagsInputControl } from './tags-input-control.mjs';
|
|
8
|
+
import { TagsInputField } from './tags-input-field.mjs';
|
|
9
|
+
import { TagsInputLabel } from './tags-input-label.mjs';
|
|
10
10
|
export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
|
|
11
|
+
|
|
12
|
+
const TagsInput = Object.assign(TagsInput$1, {
|
|
13
|
+
Root: TagsInput$1,
|
|
14
|
+
ClearTrigger: TagsInputClearTrigger,
|
|
15
|
+
Control: TagsInputControl,
|
|
16
|
+
Field: TagsInputField,
|
|
17
|
+
Label: TagsInputLabel,
|
|
18
|
+
Tag,
|
|
19
|
+
TagInput,
|
|
20
|
+
TagDeleteTrigger
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export { Tag, TagDeleteTrigger, TagInput, TagsInput, TagsInputClearTrigger, TagsInputControl, TagsInputField, TagsInputLabel };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
import { type Assign } from '../types';
|
|
4
4
|
type _TagProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, InputHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
import { type Assign } from '../types';
|
|
4
4
|
type _TagProps = {
|
package/tags-input/tag.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
import { type Assign } from '../types';
|
|
4
4
|
type _TagProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type TagsInputClearTriggerProps = ComponentPropsWithoutRef<typeof ark.button>;
|
|
4
4
|
export declare const TagsInputClearTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { PublicApi } from '@zag-js/tags-input';
|
|
2
|
+
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
3
|
+
/// <reference types="react" />
|
|
3
4
|
import { type UseTagsInputReturn } from './use-tags-input';
|
|
4
5
|
export type TagsInputContext = UseTagsInputReturn;
|
|
5
6
|
export declare const TagsInputProvider: Provider<PublicApi<JSX.IntrinsicElements & {
|
|
@@ -12,8 +12,8 @@ const tagsInputContext = require('./tags-input-context.cjs');
|
|
|
12
12
|
const TagsInputControl = react.forwardRef((props, ref) => {
|
|
13
13
|
const { controlProps, hiddenInputProps } = tagsInputContext.useTagsInputContext();
|
|
14
14
|
const mergedProps = react$1.mergeProps(controlProps, props);
|
|
15
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16
|
-
props.children,
|
|
15
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16
|
+
/* @__PURE__ */ jsxRuntime.jsx(factory.ark.div, { ...mergedProps, ref, children: props.children }),
|
|
17
17
|
/* @__PURE__ */ jsxRuntime.jsx("input", { ...hiddenInputProps })
|
|
18
18
|
] });
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type TagsInputControlProps = ComponentPropsWithoutRef<typeof ark.div>;
|
|
4
4
|
export declare const TagsInputControl: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { mergeProps } from '@zag-js/react';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import { ark } from '../factory.mjs';
|
|
@@ -8,8 +8,8 @@ import { useTagsInputContext } from './tags-input-context.mjs';
|
|
|
8
8
|
const TagsInputControl = forwardRef((props, ref) => {
|
|
9
9
|
const { controlProps, hiddenInputProps } = useTagsInputContext();
|
|
10
10
|
const mergedProps = mergeProps(controlProps, props);
|
|
11
|
-
return /* @__PURE__ */ jsxs(
|
|
12
|
-
props.children,
|
|
11
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12
|
+
/* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref, children: props.children }),
|
|
13
13
|
/* @__PURE__ */ jsx("input", { ...hiddenInputProps })
|
|
14
14
|
] });
|
|
15
15
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, InputHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type TagsInputFieldProps = ComponentPropsWithoutRef<typeof ark.input>;
|
|
4
4
|
export declare const TagsInputField: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, LabelHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type TagsInputLabelProps = ComponentPropsWithoutRef<typeof ark.label>;
|
|
4
4
|
export declare const TagsInputLabel: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
@@ -35,9 +35,11 @@ const TagsInput = react.forwardRef((props, ref) => {
|
|
|
35
35
|
"maxLength",
|
|
36
36
|
"name",
|
|
37
37
|
"onChange",
|
|
38
|
+
"onFocusOutside",
|
|
38
39
|
"onHighlight",
|
|
39
|
-
"onInvalid",
|
|
40
40
|
"onInteractOutside",
|
|
41
|
+
"onInvalid",
|
|
42
|
+
"onPointerDownOutside",
|
|
41
43
|
"onTagUpdate",
|
|
42
44
|
"readOnly",
|
|
43
45
|
"translations",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, InputHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
import { type Assign } from '../types';
|
|
4
4
|
import { type UseTagsInputProps } from './use-tags-input';
|
|
@@ -31,9 +31,11 @@ const TagsInput = forwardRef((props, ref) => {
|
|
|
31
31
|
"maxLength",
|
|
32
32
|
"name",
|
|
33
33
|
"onChange",
|
|
34
|
+
"onFocusOutside",
|
|
34
35
|
"onHighlight",
|
|
35
|
-
"onInvalid",
|
|
36
36
|
"onInteractOutside",
|
|
37
|
+
"onInvalid",
|
|
38
|
+
"onPointerDownOutside",
|
|
37
39
|
"onTagUpdate",
|
|
38
40
|
"readOnly",
|
|
39
41
|
"translations",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import type { Meta } from '@storybook/react';
|
|
3
|
+
import { TagsInput } from './';
|
|
4
|
+
type TagsInputType = typeof TagsInput;
|
|
5
|
+
declare const meta: Meta<TagsInputType>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Basic: () => JSX.Element;
|
|
8
|
+
export declare const WithDefaultValue: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
6
6
|
const react$1 = require('@zag-js/react');
|
|
7
7
|
const tagsInput = require('@zag-js/tags-input');
|
|
8
8
|
const react = require('react');
|
|
9
|
+
require('../environment/index.cjs');
|
|
9
10
|
const environmentContext = require('../environment/environment-context.cjs');
|
|
10
11
|
|
|
11
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, CSSProperties } from 'react';
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
import * as tagsInput from '@zag-js/tags-input';
|
|
3
4
|
import { type Optional } from '../types';
|
|
4
5
|
export type UseTagsInputProps = Optional<tagsInput.Context, 'id'> & {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { useMachine, normalizeProps } from '@zag-js/react';
|
|
3
3
|
import * as tagsInput from '@zag-js/tags-input';
|
|
4
4
|
import { useId } from 'react';
|
|
5
|
+
import '../environment/index.mjs';
|
|
5
6
|
import { useEnvironmentContext } from '../environment/environment-context.mjs';
|
|
6
7
|
|
|
7
8
|
const useTagsInput = (props) => {
|
package/toast/index.cjs
CHANGED
|
@@ -12,9 +12,17 @@ const toastProvider = require('./toast-provider.cjs');
|
|
|
12
12
|
const toastTitle = require('./toast-title.cjs');
|
|
13
13
|
const toast$1 = require('@zag-js/toast');
|
|
14
14
|
|
|
15
|
+
const Toast = Object.assign(toast.Toast, {
|
|
16
|
+
Provider: toastProvider.ToastProvider,
|
|
17
|
+
Title: toastTitle.ToastTitle,
|
|
18
|
+
Root: toast.Toast,
|
|
19
|
+
Description: toastDescription.ToastDescription,
|
|
20
|
+
CloseTrigger: toastCloseTrigger.ToastCloseTrigger,
|
|
21
|
+
Placements: toastPlacements.ToastPlacements,
|
|
22
|
+
Group: toastGroup.ToastGroup
|
|
23
|
+
});
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
exports.Toast = toast.Toast;
|
|
25
|
+
exports.ToastRoot = toast.Toast;
|
|
18
26
|
exports.ToastCloseTrigger = toastCloseTrigger.ToastCloseTrigger;
|
|
19
27
|
exports.ToastDescription = toastDescription.ToastDescription;
|
|
20
28
|
exports.ToastGroup = toastGroup.ToastGroup;
|
|
@@ -24,6 +32,7 @@ exports.ToastProvider = toastProvider.ToastProvider;
|
|
|
24
32
|
exports.useToast = toastProvider.useToast;
|
|
25
33
|
exports.ToastTitle = toastTitle.ToastTitle;
|
|
26
34
|
Object.defineProperty(exports, 'toastAnatomy', {
|
|
27
|
-
|
|
28
|
-
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: () => toast$1.anatomy
|
|
29
37
|
});
|
|
38
|
+
exports.Toast = Toast;
|
package/toast/index.d.ts
CHANGED
|
@@ -1,9 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { Placement, Service } from '@zag-js/toast';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { UseToastItemProps } from './use-toast-item';
|
|
4
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, ButtonHTMLAttributes, ReactNode } from 'react';
|
|
5
|
+
/// <reference types="react" />
|
|
6
|
+
import { Toast as ToastRoot, type ToastProps } from './toast';
|
|
7
|
+
import { ToastCloseTrigger, type ToastCloseTriggerProps } from './toast-close-trigger';
|
|
8
|
+
import { ToastDescription, type ToastDescriptionProps } from './toast-description';
|
|
9
|
+
import { ToastGroup, type ToastGroupProps } from './toast-group';
|
|
10
|
+
import { useToastItemContext } from './toast-item-context';
|
|
11
|
+
import { ToastPlacements, type ToastPlacementsProps } from './toast-placements';
|
|
12
|
+
import { ToastProvider, useToast, type ToastProviderProps } from './toast-provider';
|
|
13
|
+
import { ToastTitle, type ToastTitleProps } from './toast-title';
|
|
14
|
+
import { toastAnatomy } from './toast.anatomy';
|
|
15
|
+
declare const Toast: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
asChild?: boolean | undefined;
|
|
19
|
+
}, "ref">, "toast"> & UseToastItemProps & RefAttributes<HTMLDivElement>> & {
|
|
20
|
+
Provider: (props: ToastProviderProps) => JSX.Element;
|
|
21
|
+
Title: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLHeadingElement | null) => void) | RefObject<HTMLHeadingElement> | null | undefined;
|
|
23
|
+
} & {
|
|
24
|
+
asChild?: boolean | undefined;
|
|
25
|
+
}, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
26
|
+
Root: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
27
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
asChild?: boolean | undefined;
|
|
30
|
+
}, "ref">, "toast"> & UseToastItemProps & RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Description: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
|
|
32
|
+
ref?: ((instance: HTMLParagraphElement | null) => void) | RefObject<HTMLParagraphElement> | null | undefined;
|
|
33
|
+
} & {
|
|
34
|
+
asChild?: boolean | undefined;
|
|
35
|
+
}, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
36
|
+
CloseTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
37
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | null | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
asChild?: boolean | undefined;
|
|
40
|
+
}, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
41
|
+
Placements: (props: ToastPlacementsProps) => JSX.Element;
|
|
42
|
+
Group: ForwardRefExoticComponent<Omit<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
43
|
+
ref?: ((instance: HTMLDivElement | null) => void) | RefObject<HTMLDivElement> | null | undefined;
|
|
44
|
+
} & {
|
|
45
|
+
asChild?: boolean | undefined;
|
|
46
|
+
}, "ref">, "children" | "placement"> & {
|
|
47
|
+
placement: Placement;
|
|
48
|
+
children: ReactNode | ((toasts: Service[]) => ReactNode);
|
|
49
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
50
|
+
};
|
|
51
|
+
export { Toast, ToastCloseTrigger, ToastDescription, ToastGroup, ToastPlacements, ToastProvider, ToastRoot, ToastTitle, toastAnatomy, useToast, useToastItemContext, };
|
|
52
|
+
export type { ToastCloseTriggerProps, ToastDescriptionProps, ToastGroupProps, ToastPlacementsProps, ToastProps, ToastProviderProps, ToastTitleProps, };
|
package/toast/index.mjs
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Toast as Toast$1 } from './toast.mjs';
|
|
2
|
+
import { ToastCloseTrigger } from './toast-close-trigger.mjs';
|
|
3
|
+
import { ToastDescription } from './toast-description.mjs';
|
|
4
|
+
import { ToastGroup } from './toast-group.mjs';
|
|
5
5
|
export { useToastItemContext } from './toast-item-context.mjs';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
6
|
+
import { ToastPlacements } from './toast-placements.mjs';
|
|
7
|
+
import { ToastProvider } from './toast-provider.mjs';
|
|
8
|
+
export { useToast } from './toast-provider.mjs';
|
|
9
|
+
import { ToastTitle } from './toast-title.mjs';
|
|
9
10
|
export { anatomy as toastAnatomy } from '@zag-js/toast';
|
|
11
|
+
|
|
12
|
+
const Toast = Object.assign(Toast$1, {
|
|
13
|
+
Provider: ToastProvider,
|
|
14
|
+
Title: ToastTitle,
|
|
15
|
+
Root: Toast$1,
|
|
16
|
+
Description: ToastDescription,
|
|
17
|
+
CloseTrigger: ToastCloseTrigger,
|
|
18
|
+
Placements: ToastPlacements,
|
|
19
|
+
Group: ToastGroup
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export { Toast, ToastCloseTrigger, ToastDescription, ToastGroup, ToastPlacements, ToastProvider, Toast$1 as ToastRoot, ToastTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, ButtonHTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type ToastCloseTriggerProps = ComponentPropsWithoutRef<typeof ark.button>;
|
|
4
4
|
export declare const ToastCloseTrigger: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type ToastDescriptionProps = ComponentPropsWithoutRef<typeof ark.p>;
|
|
4
4
|
export declare const ToastDescription: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & {
|
package/toast/toast-group.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Placement, type Service } from '@zag-js/toast';
|
|
2
|
-
import
|
|
2
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
3
3
|
import { ark } from '../factory';
|
|
4
4
|
import { type Assign } from '../types';
|
|
5
5
|
export type ToastGroupProps = Assign<ComponentPropsWithoutRef<typeof ark.div>, {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { PublicApi } from '@zag-js/toast';
|
|
2
|
+
import { Provider, HTMLAttributes, CSSProperties } from 'react';
|
|
3
|
+
/// <reference types="react" />
|
|
3
4
|
import { type UseToastItemReturn } from './use-toast-item';
|
|
4
5
|
export type ToastItemContext = UseToastItemReturn;
|
|
5
6
|
export declare const ToastItemProvider: Provider<PublicApi<JSX.IntrinsicElements & {
|
package/toast/toast-provider.cjs
CHANGED
|
@@ -8,6 +8,7 @@ const react$1 = require('@zag-js/react');
|
|
|
8
8
|
const toast = require('@zag-js/toast');
|
|
9
9
|
const react = require('react');
|
|
10
10
|
const createContext = require('../create-context.cjs');
|
|
11
|
+
require('../environment/index.cjs');
|
|
11
12
|
const environmentContext = require('../environment/environment-context.cjs');
|
|
12
13
|
|
|
13
14
|
function _interopNamespaceDefault(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
import * as toast from '@zag-js/toast';
|
|
3
|
-
import
|
|
3
|
+
import { Provider, type PropsWithChildren } from 'react';
|
|
4
4
|
import { type Optional } from '../types';
|
|
5
5
|
type GroupPublicContext = Parameters<(typeof toast)['group']['machine']>[0];
|
|
6
6
|
export type ToastContext = ReturnType<(typeof toast)['group']['connect']>;
|
package/toast/toast-provider.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import { useMachine, normalizeProps } from '@zag-js/react';
|
|
|
4
4
|
import * as toast from '@zag-js/toast';
|
|
5
5
|
import { useId } from 'react';
|
|
6
6
|
import { createContext } from '../create-context.mjs';
|
|
7
|
+
import '../environment/index.mjs';
|
|
7
8
|
import { useEnvironmentContext } from '../environment/environment-context.mjs';
|
|
8
9
|
|
|
9
10
|
const [ToastContextProvider, useToast] = createContext();
|
package/toast/toast-title.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefObject, RefAttributes, type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import { ark } from '../factory';
|
|
3
3
|
export type ToastTitleProps = ComponentPropsWithoutRef<typeof ark.h3>;
|
|
4
4
|
export declare const ToastTitle: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
|