@ark-ui/solid 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +58 -0
- package/README.md +1 -0
- package/cjs/index.js +1129 -1298
- package/cjs/index.js.map +1 -1
- package/esm/index.js +1349 -1563
- package/esm/index.js.map +1 -1
- package/package.json +52 -51
- package/source/accordion/accordion-item-trigger.jsx +0 -1
- package/source/accordion/{accordion.jsx → accordion-root.jsx} +1 -1
- package/source/accordion/index.js +4 -4
- package/source/avatar/{avatar.jsx → avatar-root.jsx} +1 -1
- package/source/avatar/index.js +4 -4
- package/source/carousel/{carousel.jsx → carousel-root.jsx} +1 -1
- package/source/carousel/index.js +6 -6
- package/source/checkbox/{checkbox.jsx → checkbox-root.jsx} +1 -1
- package/source/checkbox/index.js +4 -4
- package/source/color-picker/{color-picker.jsx → color-picker-root.jsx} +1 -1
- package/source/color-picker/index.js +4 -4
- package/source/combobox/{combobox.jsx → combobox-root.jsx} +1 -1
- package/source/combobox/index.js +4 -4
- package/source/date-picker/{date-picker.jsx → date-picker-root.jsx} +1 -1
- package/source/date-picker/index.js +4 -4
- package/source/dialog/{dialog.jsx → dialog-root.jsx} +1 -1
- package/source/dialog/dialog-trigger.jsx +0 -1
- package/source/dialog/index.js +5 -5
- package/source/editable/{editable.jsx → editable-root.jsx} +1 -1
- package/source/editable/index.js +4 -4
- package/source/environment/index.js +1 -4
- package/source/factory.jsx +10 -23
- package/source/file-upload/{file-upload.jsx → file-upload-root.jsx} +1 -1
- package/source/file-upload/index.js +4 -4
- package/source/hover-card/{hover-card.jsx → hover-card-root.jsx} +1 -1
- package/source/hover-card/index.js +4 -4
- package/source/index.jsx +1 -0
- package/source/menu/index.js +4 -4
- package/source/menu/{menu.jsx → menu-root.jsx} +1 -1
- package/source/menu/menu-trigger.jsx +0 -1
- package/source/number-input/index.js +4 -4
- package/source/number-input/{number-input.jsx → number-input-root.jsx} +1 -1
- package/source/pagination/index.js +4 -4
- package/source/pagination/{pagination.jsx → pagination-root.jsx} +1 -1
- package/source/pin-input/index.js +4 -4
- package/source/pin-input/{pin-input.jsx → pin-input-root.jsx} +1 -1
- package/source/popover/index.js +4 -4
- package/source/popover/{popover.jsx → popover-root.jsx} +1 -1
- package/source/popover/popover-trigger.jsx +0 -1
- package/source/presence/index.js +1 -4
- package/source/progress/index.js +6 -6
- package/source/progress/{progress.jsx → progress-root.jsx} +1 -1
- package/source/progress/{progress-indicator.jsx → progress-view.jsx} +2 -2
- package/source/radio-group/index.js +4 -4
- package/source/radio-group/{radio-group.jsx → radio-group-root.jsx} +1 -1
- package/source/rating-group/index.js +4 -4
- package/source/rating-group/{rating-group.jsx → rating-group-root.jsx} +1 -1
- package/source/segment-group/index.js +4 -4
- package/source/segment-group/{segment-group.jsx → segment-group-root.jsx} +1 -1
- package/source/select/index.js +4 -4
- package/source/select/{select.jsx → select-root.jsx} +1 -1
- package/source/slider/index.js +4 -4
- package/source/slider/{slider.jsx → slider-root.jsx} +1 -1
- package/source/splitter/index.js +4 -4
- package/source/splitter/{splitter.jsx → splitter-root.jsx} +1 -1
- package/source/switch/index.js +4 -4
- package/source/switch/{switch.jsx → switch-root.jsx} +1 -1
- package/source/tabs/index.js +4 -4
- package/source/tabs/{tabs.jsx → tabs-root.jsx} +1 -1
- package/source/tags-input/index.js +6 -4
- package/source/tags-input/tags-input-item-preview.jsx +10 -0
- package/source/tags-input/{tags-input.jsx → tags-input-root.jsx} +1 -1
- package/source/toast/index.js +4 -4
- package/source/toast/{toast.jsx → toast-root.jsx} +1 -1
- package/source/toggle-group/index.js +4 -4
- package/source/toggle-group/{toggle-group.jsx → toggle-group-root.jsx} +1 -1
- package/source/tooltip/index.js +4 -4
- package/source/tooltip/{tooltip.jsx → tooltip-root.jsx} +1 -1
- package/source/tree-view/index.js +26 -0
- package/source/tree-view/tree-view-branch-content.jsx +15 -0
- package/source/tree-view/tree-view-branch-control.jsx +15 -0
- package/source/tree-view/tree-view-branch-indicator.jsx +16 -0
- package/source/tree-view/tree-view-branch-text.jsx +15 -0
- package/source/tree-view/tree-view-branch-trigger.jsx +15 -0
- package/source/tree-view/tree-view-branch.jsx +17 -0
- package/source/tree-view/tree-view-context.js +5 -0
- package/source/tree-view/tree-view-item-text.jsx +12 -0
- package/source/tree-view/tree-view-item.jsx +13 -0
- package/source/tree-view/tree-view-label.jsx +8 -0
- package/source/tree-view/tree-view-root.jsx +27 -0
- package/source/tree-view/tree-view-tree.jsx +8 -0
- package/source/tree-view/use-tree-view.js +10 -0
- package/types/accordion/accordion-item-content.d.ts +2 -2
- package/types/accordion/accordion-item-indicator.d.ts +2 -2
- package/types/accordion/accordion-item-trigger.d.ts +2 -2
- package/types/accordion/accordion-item.d.ts +7 -5
- package/types/accordion/accordion-root.d.ts +10 -0
- package/types/avatar/avatar-fallback.d.ts +2 -2
- package/types/avatar/avatar-image.d.ts +2 -2
- package/types/avatar/avatar-root.d.ts +6 -0
- package/types/avatar/index.d.ts +7 -7
- package/types/carousel/carousel-control.d.ts +2 -2
- package/types/carousel/carousel-indicator-group.d.ts +2 -2
- package/types/carousel/carousel-indicator.d.ts +2 -2
- package/types/carousel/carousel-item-group.d.ts +4 -0
- package/types/carousel/{carousel-slide.d.ts → carousel-item.d.ts} +2 -2
- package/types/carousel/carousel-next-trigger.d.ts +2 -2
- package/types/carousel/carousel-prev-trigger.d.ts +2 -2
- package/types/carousel/carousel-root.d.ts +11 -0
- package/types/carousel/carousel-viewport.d.ts +2 -2
- package/types/checkbox/checkbox-control.d.ts +2 -2
- package/types/checkbox/checkbox-indicator.d.ts +2 -2
- package/types/checkbox/checkbox-label.d.ts +2 -2
- package/types/checkbox/checkbox-root.d.ts +11 -0
- package/types/color-picker/color-picker-area-background.d.ts +2 -2
- package/types/color-picker/color-picker-area-thumb.d.ts +2 -2
- package/types/color-picker/color-picker-area.d.ts +2 -2
- package/types/color-picker/color-picker-channel-input.d.ts +3 -3
- package/types/color-picker/color-picker-channel-slider-thumb.d.ts +2 -2
- package/types/color-picker/color-picker-channel-slider-track.d.ts +2 -2
- package/types/color-picker/color-picker-channel-slider.d.ts +2 -2
- package/types/color-picker/color-picker-content.d.ts +2 -2
- package/types/color-picker/color-picker-control.d.ts +2 -2
- package/types/color-picker/color-picker-eye-dropper-trigger.d.ts +2 -2
- package/types/color-picker/color-picker-format-select.d.ts +2 -2
- package/types/color-picker/color-picker-format-trigger.d.ts +2 -2
- package/types/color-picker/color-picker-label.d.ts +2 -2
- package/types/color-picker/color-picker-positioner.d.ts +2 -2
- package/types/color-picker/color-picker-root.d.ts +12 -0
- package/types/color-picker/color-picker-swatch-group.d.ts +2 -2
- package/types/color-picker/color-picker-swatch-indicator.d.ts +2 -2
- package/types/color-picker/color-picker-swatch-trigger.d.ts +2 -2
- package/types/color-picker/color-picker-swatch.d.ts +2 -2
- package/types/color-picker/color-picker-transparency-grid.d.ts +2 -2
- package/types/color-picker/color-picker-trigger.d.ts +2 -2
- package/types/color-picker/color-picker-value-text.d.ts +6 -3
- package/types/combobox/combobox-clear-trigger.d.ts +2 -2
- package/types/combobox/combobox-content.d.ts +2 -2
- package/types/combobox/combobox-control.d.ts +2 -2
- package/types/combobox/combobox-input.d.ts +2 -2
- package/types/combobox/combobox-item-group-label.d.ts +2 -2
- package/types/combobox/combobox-item-group.d.ts +2 -2
- package/types/combobox/combobox-item-indicator.d.ts +2 -2
- package/types/combobox/combobox-item-text.d.ts +2 -2
- package/types/combobox/combobox-item.d.ts +6 -4
- package/types/combobox/combobox-label.d.ts +2 -2
- package/types/combobox/combobox-positioner.d.ts +2 -2
- package/types/combobox/{combobox.d.ts → combobox-root.d.ts} +2 -2
- package/types/combobox/combobox-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-clear-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-content.d.ts +2 -2
- package/types/date-picker/date-picker-control.d.ts +2 -2
- package/types/date-picker/date-picker-input.d.ts +2 -2
- package/types/date-picker/date-picker-label.d.ts +2 -2
- package/types/date-picker/date-picker-month-select.d.ts +2 -2
- package/types/date-picker/date-picker-next-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-positioner.d.ts +2 -2
- package/types/date-picker/date-picker-prev-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-range-text.d.ts +2 -2
- package/types/date-picker/date-picker-root.d.ts +12 -0
- package/types/date-picker/date-picker-table-body.d.ts +2 -2
- package/types/date-picker/date-picker-table-cell-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-table-cell.d.ts +2 -2
- package/types/date-picker/date-picker-table-head.d.ts +2 -2
- package/types/date-picker/date-picker-table-header.d.ts +2 -2
- package/types/date-picker/date-picker-table-row.d.ts +2 -2
- package/types/date-picker/date-picker-table.d.ts +2 -2
- package/types/date-picker/date-picker-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-view-control.d.ts +2 -2
- package/types/date-picker/date-picker-view-trigger.d.ts +2 -2
- package/types/date-picker/date-picker-view.d.ts +6 -4
- package/types/date-picker/date-picker-year-select.d.ts +2 -2
- package/types/dialog/dialog-backdrop.d.ts +2 -2
- package/types/dialog/dialog-close-trigger.d.ts +2 -2
- package/types/dialog/dialog-content.d.ts +2 -2
- package/types/dialog/dialog-description.d.ts +2 -2
- package/types/dialog/dialog-positioner.d.ts +2 -2
- package/types/dialog/{dialog.d.ts → dialog-root.d.ts} +2 -2
- package/types/dialog/dialog-title.d.ts +2 -2
- package/types/dialog/dialog-trigger.d.ts +2 -2
- package/types/dialog/index.d.ts +12 -12
- package/types/editable/editable-area.d.ts +2 -2
- package/types/editable/editable-cancel-trigger.d.ts +2 -2
- package/types/editable/editable-control.d.ts +2 -2
- package/types/editable/editable-edit-trigger.d.ts +2 -2
- package/types/editable/editable-input.d.ts +2 -2
- package/types/editable/editable-label.d.ts +2 -2
- package/types/editable/editable-preview.d.ts +2 -2
- package/types/editable/editable-root.d.ts +11 -0
- package/types/editable/editable-submit-trigger.d.ts +2 -2
- package/types/editable/index.d.ts +13 -13
- package/types/environment/index.d.ts +1 -4
- package/types/factory.d.ts +12 -8
- package/types/file-upload/file-upload-dropzone.d.ts +2 -2
- package/types/file-upload/file-upload-item-delete-trigger.d.ts +2 -2
- package/types/file-upload/file-upload-item-group.d.ts +6 -4
- package/types/file-upload/file-upload-item-name.d.ts +2 -2
- package/types/file-upload/file-upload-item-preview-image.d.ts +2 -2
- package/types/file-upload/file-upload-item-preview.d.ts +6 -3
- package/types/file-upload/file-upload-item-size-text.d.ts +2 -2
- package/types/file-upload/file-upload-item.d.ts +2 -2
- package/types/file-upload/file-upload-label.d.ts +2 -2
- package/types/file-upload/file-upload-root.d.ts +11 -0
- package/types/file-upload/file-upload-trigger.d.ts +2 -2
- package/types/hover-card/hover-card-arrow-tip.d.ts +2 -2
- package/types/hover-card/hover-card-arrow.d.ts +2 -2
- package/types/hover-card/hover-card-content.d.ts +2 -2
- package/types/hover-card/hover-card-positioner.d.ts +2 -2
- package/types/hover-card/{hover-card.d.ts → hover-card-root.d.ts} +2 -2
- package/types/hover-card/hover-card-trigger.d.ts +2 -2
- package/types/hover-card/index.d.ts +11 -11
- package/types/index.d.ts +1 -0
- package/types/menu/menu-arrow-tip.d.ts +2 -2
- package/types/menu/menu-arrow.d.ts +2 -2
- package/types/menu/menu-content.d.ts +2 -2
- package/types/menu/menu-context-trigger.d.ts +2 -2
- package/types/menu/menu-item-group-label.d.ts +2 -2
- package/types/menu/menu-item-group.d.ts +2 -2
- package/types/menu/menu-item.d.ts +2 -2
- package/types/menu/menu-option-item.d.ts +6 -4
- package/types/menu/menu-positioner.d.ts +2 -2
- package/types/menu/{menu.d.ts → menu-root.d.ts} +2 -2
- package/types/menu/menu-separator.d.ts +2 -2
- package/types/menu/menu-trigger-item.d.ts +2 -2
- package/types/menu/menu-trigger.d.ts +2 -2
- package/types/number-input/number-input-control.d.ts +2 -2
- package/types/number-input/number-input-decrement-trigger.d.ts +2 -2
- package/types/number-input/number-input-increment-trigger.d.ts +2 -2
- package/types/number-input/number-input-input.d.ts +2 -2
- package/types/number-input/number-input-label.d.ts +2 -2
- package/types/number-input/number-input-root.d.ts +11 -0
- package/types/number-input/number-input-scrubber.d.ts +2 -2
- package/types/pagination/index.d.ts +9 -9
- package/types/pagination/pagination-ellipsis.d.ts +2 -2
- package/types/pagination/pagination-item.d.ts +2 -2
- package/types/pagination/pagination-next-trigger.d.ts +2 -2
- package/types/pagination/pagination-prev-trigger.d.ts +2 -2
- package/types/pagination/pagination-root.d.ts +11 -0
- package/types/pin-input/index.d.ts +10 -8
- package/types/pin-input/pin-input-control.d.ts +2 -2
- package/types/pin-input/pin-input-input.d.ts +4 -2
- package/types/pin-input/pin-input-label.d.ts +2 -2
- package/types/pin-input/pin-input-root.d.ts +6 -0
- package/types/popover/index.d.ts +15 -15
- package/types/popover/popover-anchor.d.ts +2 -2
- package/types/popover/popover-arrow-tip.d.ts +2 -2
- package/types/popover/popover-arrow.d.ts +2 -2
- package/types/popover/popover-close-trigger.d.ts +2 -2
- package/types/popover/popover-content.d.ts +2 -2
- package/types/popover/popover-description.d.ts +2 -2
- package/types/popover/popover-indicator.d.ts +2 -2
- package/types/popover/popover-positioner.d.ts +2 -2
- package/types/popover/{popover.d.ts → popover-root.d.ts} +2 -2
- package/types/popover/popover-title.d.ts +2 -2
- package/types/popover/popover-trigger.d.ts +2 -2
- package/types/presence/index.d.ts +1 -4
- package/types/presence/presence.d.ts +2 -2
- package/types/progress/index.d.ts +14 -14
- package/types/progress/progress-circle-range.d.ts +2 -2
- package/types/progress/progress-circle-track.d.ts +2 -2
- package/types/progress/progress-circle.d.ts +2 -2
- package/types/progress/progress-label.d.ts +2 -2
- package/types/progress/progress-range.d.ts +2 -2
- package/types/progress/progress-root.d.ts +11 -0
- package/types/progress/progress-track.d.ts +2 -2
- package/types/progress/progress-value-text.d.ts +2 -2
- package/types/progress/progress-view.d.ts +6 -0
- package/types/radio-group/index.d.ts +10 -10
- package/types/radio-group/radio-group-indicator.d.ts +2 -2
- package/types/radio-group/radio-group-item-control.d.ts +2 -2
- package/types/radio-group/radio-group-item-text.d.ts +2 -2
- package/types/radio-group/radio-group-item.d.ts +6 -4
- package/types/radio-group/radio-group-label.d.ts +2 -2
- package/types/radio-group/radio-group-root.d.ts +6 -0
- package/types/rating-group/rating-group-control.d.ts +6 -4
- package/types/rating-group/rating-group-item.d.ts +6 -4
- package/types/rating-group/rating-group-label.d.ts +2 -2
- package/types/rating-group/rating-group-root.d.ts +6 -0
- package/types/segment-group/segment-group-indicator.d.ts +2 -2
- package/types/segment-group/segment-group-item-control.d.ts +2 -2
- package/types/segment-group/segment-group-item-text.d.ts +2 -2
- package/types/segment-group/segment-group-item.d.ts +7 -5
- package/types/segment-group/segment-group-label.d.ts +2 -2
- package/types/segment-group/segment-group-root.d.ts +6 -0
- package/types/select/select-clear-trigger.d.ts +2 -2
- package/types/select/select-content.d.ts +2 -2
- package/types/select/select-control.d.ts +2 -2
- package/types/select/select-indicator.d.ts +2 -2
- package/types/select/select-item-group-label.d.ts +2 -2
- package/types/select/select-item-group.d.ts +2 -2
- package/types/select/select-item-indicator.d.ts +2 -2
- package/types/select/select-item-text.d.ts +2 -2
- package/types/select/select-item.d.ts +6 -4
- package/types/select/select-label.d.ts +2 -2
- package/types/select/select-positioner.d.ts +2 -2
- package/types/select/{select.d.ts → select-root.d.ts} +2 -2
- package/types/select/select-trigger.d.ts +2 -2
- package/types/select/select-value-text.d.ts +6 -3
- package/types/slider/index.d.ts +13 -13
- package/types/slider/slider-control.d.ts +2 -2
- package/types/slider/slider-label.d.ts +2 -2
- package/types/slider/slider-marker-group.d.ts +2 -2
- package/types/slider/slider-marker.d.ts +2 -2
- package/types/slider/slider-range.d.ts +2 -2
- package/types/slider/slider-root.d.ts +11 -0
- package/types/slider/slider-thumb.d.ts +2 -2
- package/types/slider/slider-track.d.ts +2 -2
- package/types/slider/slider-value-text.d.ts +2 -2
- package/types/splitter/index.d.ts +7 -7
- package/types/splitter/splitter-panel.d.ts +2 -2
- package/types/splitter/splitter-resize-trigger.d.ts +2 -2
- package/types/splitter/splitter-root.d.ts +11 -0
- package/types/switch/index.d.ts +8 -8
- package/types/switch/switch-control.d.ts +2 -2
- package/types/switch/switch-label.d.ts +2 -2
- package/types/switch/switch-root.d.ts +11 -0
- package/types/switch/switch-thumb.d.ts +2 -2
- package/types/tabs/index.d.ts +9 -9
- package/types/tabs/tab-content.d.ts +2 -2
- package/types/tabs/tab-indicator.d.ts +2 -2
- package/types/tabs/tab-list.d.ts +2 -2
- package/types/tabs/tab-trigger.d.ts +2 -2
- package/types/tabs/tabs-root.d.ts +10 -0
- package/types/tags-input/tags-input-clear-trigger.d.ts +2 -2
- package/types/tags-input/tags-input-control.d.ts +2 -2
- package/types/tags-input/tags-input-input.d.ts +2 -2
- package/types/tags-input/tags-input-item-delete-trigger.d.ts +2 -2
- package/types/tags-input/tags-input-item-input.d.ts +2 -2
- package/types/tags-input/tags-input-item-preview.d.ts +4 -0
- package/types/tags-input/tags-input-item-text.d.ts +2 -2
- package/types/tags-input/tags-input-item.d.ts +6 -4
- package/types/tags-input/tags-input-label.d.ts +2 -2
- package/types/tags-input/tags-input-root.d.ts +11 -0
- package/types/toast/index.d.ts +9 -9
- package/types/toast/toast-close-trigger.d.ts +2 -2
- package/types/toast/toast-description.d.ts +2 -2
- package/types/toast/toast-group.d.ts +2 -2
- package/types/toast/toast-root.d.ts +4 -0
- package/types/toast/toast-title.d.ts +2 -2
- package/types/toggle-group/index.d.ts +6 -6
- package/types/toggle-group/toggle-group-item.d.ts +2 -2
- package/types/toggle-group/toggle-group-root.d.ts +6 -0
- package/types/tooltip/index.d.ts +10 -10
- package/types/tooltip/tooltip-arrow-tip.d.ts +2 -2
- package/types/tooltip/tooltip-arrow.d.ts +2 -2
- package/types/tooltip/tooltip-content.d.ts +2 -2
- package/types/tooltip/tooltip-positioner.d.ts +2 -2
- package/types/tooltip/{tooltip.d.ts → tooltip-root.d.ts} +2 -2
- package/types/tooltip/tooltip-trigger.d.ts +2 -2
- package/types/tree-view/tree-view-branch-content.d.ts +6 -0
- package/types/tree-view/tree-view-branch-control.d.ts +6 -0
- package/types/tree-view/tree-view-branch-indicator.d.ts +6 -0
- package/types/tree-view/tree-view-branch-text.d.ts +6 -0
- package/types/tree-view/tree-view-branch-trigger.d.ts +6 -0
- package/types/tree-view/tree-view-branch.d.ts +11 -0
- package/types/tree-view/tree-view-context.d.ts +20 -0
- package/types/tree-view/tree-view-item-text.d.ts +6 -0
- package/types/tree-view/tree-view-item.d.ts +11 -0
- package/types/tree-view/tree-view-label.d.ts +4 -0
- package/types/tree-view/tree-view-root.d.ts +11 -0
- package/types/tree-view/tree-view-tree.d.ts +4 -0
- package/types/tree-view/use-tree-view.d.ts +9 -0
- package/source/constants.js +0 -27
- package/source/filter-object.js +0 -7
- package/source/is-empty.js +0 -4
- package/source/is-function.js +0 -1
- package/source/merge-style.js +0 -30
- package/source/parse-template.js +0 -248
- package/source/pipe.js +0 -1
- package/source/spread.js +0 -40
- package/source/ssr-spread.js +0 -19
- package/types/accordion/accordion.d.ts +0 -7
- package/types/accordion/index.d.ts +0 -17
- package/types/avatar/avatar.d.ts +0 -6
- package/types/carousel/carousel-slide-group.d.ts +0 -4
- package/types/carousel/carousel.d.ts +0 -9
- package/types/carousel/index.d.ts +0 -24
- package/types/checkbox/checkbox.d.ts +0 -9
- package/types/checkbox/index.d.ts +0 -14
- package/types/color-picker/color-picker.d.ts +0 -10
- package/types/color-picker/index.d.ts +0 -54
- package/types/combobox/index.d.ts +0 -33
- package/types/constants.d.ts +0 -1
- package/types/date-picker/date-picker.d.ts +0 -10
- package/types/date-picker/index.d.ts +0 -55
- package/types/editable/editable.d.ts +0 -9
- package/types/file-upload/file-upload.d.ts +0 -9
- package/types/file-upload/index.d.ts +0 -28
- package/types/filter-object.d.ts +0 -8
- package/types/is-empty.d.ts +0 -1
- package/types/is-function.d.ts +0 -1
- package/types/menu/index.d.ts +0 -32
- package/types/merge-style.d.ts +0 -6
- package/types/number-input/index.d.ts +0 -20
- package/types/number-input/number-input.d.ts +0 -9
- package/types/pagination/pagination.d.ts +0 -9
- package/types/parse-template.d.ts +0 -45
- package/types/pin-input/pin-input.d.ts +0 -6
- package/types/pipe.d.ts +0 -10
- package/types/progress/progress-indicator.d.ts +0 -6
- package/types/progress/progress.d.ts +0 -9
- package/types/radio-group/radio-group.d.ts +0 -6
- package/types/rating-group/index.d.ts +0 -15
- package/types/rating-group/rating-group.d.ts +0 -6
- package/types/segment-group/index.d.ts +0 -19
- package/types/segment-group/segment-group.d.ts +0 -6
- package/types/select/index.d.ts +0 -36
- package/types/slider/slider.d.ts +0 -9
- package/types/splitter/splitter.d.ts +0 -9
- package/types/spread.d.ts +0 -1
- package/types/ssr-spread.d.ts +0 -10
- package/types/switch/switch.d.ts +0 -9
- package/types/tabs/tabs.d.ts +0 -7
- package/types/tags-input/index.d.ts +0 -25
- package/types/tags-input/tags-input.d.ts +0 -9
- package/types/toast/toast.d.ts +0 -4
- package/types/toggle-group/toggle-group.d.ts +0 -6
- /package/source/carousel/{carousel-slide-group.jsx → carousel-item-group.jsx} +0 -0
- /package/source/carousel/{carousel-slide.jsx → carousel-item.jsx} +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
import type { Assign } from '../types';
|
|
3
3
|
export interface PinInputInputProps extends Assign<HTMLArkProps<'input'>, {
|
|
4
4
|
index: number;
|
|
5
5
|
}> {
|
|
6
6
|
}
|
|
7
|
-
export declare const PinInputInput:
|
|
7
|
+
export declare const PinInputInput: ArkComponent<'input', {
|
|
8
|
+
index: number;
|
|
9
|
+
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PinInputLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PinInputLabel:
|
|
4
|
+
export declare const PinInputLabel: ArkComponent<'label'>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
|
+
import type { Assign } from '../types';
|
|
3
|
+
import { type UsePinInputProps } from './use-pin-input';
|
|
4
|
+
export interface PinInputRootProps extends Assign<HTMLArkProps<'div'>, UsePinInputProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const PinInputRoot: ArkComponent<'div', UsePinInputProps>;
|
package/types/popover/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { OpenChangeDetails as PopoverOpenChangeDetails } from '@zag-js/popover';
|
|
2
|
-
import { type PopoverProps } from './popover';
|
|
3
2
|
import { PopoverAnchor, type PopoverAnchorProps } from './popover-anchor';
|
|
4
3
|
import { PopoverArrow, type PopoverArrowProps } from './popover-arrow';
|
|
5
4
|
import { PopoverArrowTip, type PopoverArrowTipProps } from './popover-arrow-tip';
|
|
@@ -9,20 +8,21 @@ import { usePopoverContext, type PopoverContext } from './popover-context';
|
|
|
9
8
|
import { PopoverDescription, type PopoverDescriptionProps } from './popover-description';
|
|
10
9
|
import { PopoverIndicator, type PopoverIndicatorProps } from './popover-indicator';
|
|
11
10
|
import { PopoverPositioner, type PopoverPositionerProps } from './popover-positioner';
|
|
11
|
+
import { PopoverRoot, type PopoverRootProps } from './popover-root';
|
|
12
12
|
import { PopoverTitle, type PopoverTitleProps } from './popover-title';
|
|
13
13
|
import { PopoverTrigger, type PopoverTriggerProps } from './popover-trigger';
|
|
14
|
-
declare const Popover:
|
|
15
|
-
Root: (props:
|
|
16
|
-
Anchor:
|
|
17
|
-
Arrow:
|
|
18
|
-
ArrowTip:
|
|
19
|
-
CloseTrigger:
|
|
20
|
-
Content:
|
|
21
|
-
Description:
|
|
22
|
-
Indicator:
|
|
23
|
-
Positioner:
|
|
24
|
-
Title:
|
|
25
|
-
Trigger:
|
|
14
|
+
export declare const Popover: {
|
|
15
|
+
Root: (props: PopoverRootProps) => import("solid-js").JSX.Element;
|
|
16
|
+
Anchor: import("..").ArkComponent<"div", object>;
|
|
17
|
+
Arrow: import("..").ArkComponent<"div", object>;
|
|
18
|
+
ArrowTip: import("..").ArkComponent<"div", object>;
|
|
19
|
+
CloseTrigger: import("..").ArkComponent<"button", object>;
|
|
20
|
+
Content: import("..").ArkComponent<"div", object>;
|
|
21
|
+
Description: import("..").ArkComponent<"p", object>;
|
|
22
|
+
Indicator: import("..").ArkComponent<"div", object>;
|
|
23
|
+
Positioner: import("..").ArkComponent<"div", object>;
|
|
24
|
+
Title: import("..").ArkComponent<"div", object>;
|
|
25
|
+
Trigger: import("..").ArkComponent<"button", object>;
|
|
26
26
|
};
|
|
27
|
-
export {
|
|
28
|
-
export type { PopoverAnchorProps, PopoverArrowProps, PopoverArrowTipProps, PopoverCloseTriggerProps, PopoverContentProps, PopoverContext, PopoverDescriptionProps, PopoverIndicatorProps, PopoverOpenChangeDetails, PopoverPositionerProps,
|
|
27
|
+
export { PopoverAnchor, PopoverArrow, PopoverArrowTip, PopoverCloseTrigger, PopoverContent, PopoverDescription, PopoverIndicator, PopoverPositioner, PopoverRoot, PopoverTitle, PopoverTrigger, usePopoverContext, };
|
|
28
|
+
export type { PopoverAnchorProps, PopoverArrowProps, PopoverArrowTipProps, PopoverCloseTriggerProps, PopoverContentProps, PopoverContext, PopoverDescriptionProps, PopoverIndicatorProps, PopoverOpenChangeDetails, PopoverPositionerProps, PopoverRootProps, PopoverTitleProps, PopoverTriggerProps, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverAnchorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverAnchor:
|
|
4
|
+
export declare const PopoverAnchor: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverArrowTipProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverArrowTip:
|
|
4
|
+
export declare const PopoverArrowTip: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverArrowProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverArrow:
|
|
4
|
+
export declare const PopoverArrow: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverCloseTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverCloseTrigger:
|
|
4
|
+
export declare const PopoverCloseTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverContentProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverContent:
|
|
4
|
+
export declare const PopoverContent: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverDescriptionProps extends HTMLArkProps<'p'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverDescription:
|
|
4
|
+
export declare const PopoverDescription: ArkComponent<'p'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverIndicator:
|
|
4
|
+
export declare const PopoverIndicator: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverPositionerProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverPositioner:
|
|
4
|
+
export declare const PopoverPositioner: ArkComponent<'div'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type JSX } from 'solid-js';
|
|
2
2
|
import { type UsePresenceProps } from '../presence';
|
|
3
3
|
import { type UsePopoverProps, type UsePopoverReturn } from './use-popover';
|
|
4
|
-
export interface
|
|
4
|
+
export interface PopoverRootProps extends UsePopoverProps, UsePresenceProps {
|
|
5
5
|
children?: JSX.Element | ((api: UsePopoverReturn) => JSX.Element);
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const PopoverRoot: (props: PopoverRootProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverTitleProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverTitle:
|
|
4
|
+
export declare const PopoverTitle: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface PopoverTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const PopoverTrigger:
|
|
4
|
+
export declare const PopoverTrigger: ArkComponent<'button'>;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { type PresenceProps } from './presence';
|
|
1
|
+
import { Presence, type PresenceProps } from './presence';
|
|
2
2
|
import { PresenceProvider, usePresenceContext, type PresenceContext } from './presence-context';
|
|
3
3
|
import { PresencePropsProvider, usePresencePropsContext, type PresencePropsContext } from './presence-props-context';
|
|
4
4
|
import { splitPresenceProps } from './split-presence-props';
|
|
5
5
|
import { usePresence, type UsePresenceProps, type UsePresenceReturn } from './use-presence';
|
|
6
|
-
declare const Presence: ((props: PresenceProps) => import("solid-js").JSX.Element) & {
|
|
7
|
-
Root: (props: PresenceProps) => import("solid-js").JSX.Element;
|
|
8
|
-
};
|
|
9
6
|
export { Presence, PresencePropsProvider, PresenceProvider, splitPresenceProps, usePresence, usePresenceContext, usePresencePropsContext, };
|
|
10
7
|
export type { PresenceContext, PresenceProps, PresencePropsContext, UsePresenceProps, UsePresenceReturn, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
import type { Assign } from '../types';
|
|
3
3
|
import { type UsePresenceProps } from './use-presence';
|
|
4
4
|
export interface PresenceProps extends Assign<HTMLArkProps<'div'>, UsePresenceProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const Presence:
|
|
6
|
+
export declare const Presence: ArkComponent<'div', UsePresenceProps>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { type ProgressProps } from './progress';
|
|
2
1
|
import { ProgressCircle, type ProgressCircleProps } from './progress-circle';
|
|
3
2
|
import { ProgressCircleRange, type ProgressCircleRangeProps } from './progress-circle-range';
|
|
4
3
|
import { ProgressCircleTrack, type ProgressCircleTrackProps } from './progress-circle-track';
|
|
5
4
|
import { useProgressContext, type ProgressContext } from './progress-context';
|
|
6
|
-
import { ProgressIndicator, type ProgressIndicatorProps } from './progress-indicator';
|
|
7
5
|
import { ProgressLabel, type ProgressLabelProps } from './progress-label';
|
|
8
6
|
import { ProgressRange, type ProgressRangeProps } from './progress-range';
|
|
7
|
+
import { ProgressRoot, type ProgressRootProps } from './progress-root';
|
|
9
8
|
import { ProgressTrack, type ProgressTrackProps } from './progress-track';
|
|
10
9
|
import { ProgressValueText, type ProgressValueTextProps } from './progress-value-text';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
import { ProgressView, type ProgressViewProps } from './progress-view';
|
|
11
|
+
export declare const Progress: {
|
|
12
|
+
Root: import("..").ArkComponent<"div", ProgressRootProps>;
|
|
13
|
+
Label: import("..").ArkComponent<"label", object>;
|
|
14
|
+
Track: import("..").ArkComponent<"div", object>;
|
|
15
|
+
Range: import("..").ArkComponent<"div", object>;
|
|
16
|
+
ValueText: import("..").ArkComponent<"span", object>;
|
|
17
|
+
View: import("..").ArkComponent<"span", import("@zag-js/progress").ViewProps>;
|
|
18
|
+
Circle: import("..").ArkComponent<"svg", object>;
|
|
19
|
+
CircleTrack: import("..").ArkComponent<"circle", object>;
|
|
20
|
+
CircleRange: import("..").ArkComponent<"circle", object>;
|
|
21
21
|
};
|
|
22
|
-
export {
|
|
23
|
-
export type { ProgressCircleProps, ProgressCircleRangeProps, ProgressCircleTrackProps, ProgressContext,
|
|
22
|
+
export { ProgressCircle, ProgressCircleRange, ProgressCircleTrack, ProgressLabel, ProgressRange, ProgressRoot, ProgressTrack, ProgressValueText, ProgressView, useProgressContext, };
|
|
23
|
+
export type { ProgressCircleProps, ProgressCircleRangeProps, ProgressCircleTrackProps, ProgressContext, ProgressLabelProps, ProgressRangeProps, ProgressRootProps, ProgressTrackProps, ProgressValueTextProps, ProgressViewProps, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressCircleRangeProps extends HTMLArkProps<'circle'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressCircleRange:
|
|
4
|
+
export declare const ProgressCircleRange: ArkComponent<'circle'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressCircleTrackProps extends HTMLArkProps<'circle'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressCircleTrack:
|
|
4
|
+
export declare const ProgressCircleTrack: ArkComponent<'circle'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressCircleProps extends HTMLArkProps<'svg'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressCircle:
|
|
4
|
+
export declare const ProgressCircle: ArkComponent<'svg'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressLabel:
|
|
4
|
+
export declare const ProgressLabel: ArkComponent<'label'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressRangeProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressRange:
|
|
4
|
+
export declare const ProgressRange: ArkComponent<'div'>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSX } from 'solid-js';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type Assign } from '../types';
|
|
4
|
+
import { type UseProgressProps, type UseProgressReturn } from './use-progress';
|
|
5
|
+
interface ElementProps extends UseProgressProps {
|
|
6
|
+
children?: JSX.Element | ((api: UseProgressReturn) => JSX.Element);
|
|
7
|
+
}
|
|
8
|
+
export interface ProgressRootProps extends Assign<HTMLArkProps<'div'>, ElementProps> {
|
|
9
|
+
}
|
|
10
|
+
export declare const ProgressRoot: ArkComponent<'div', ProgressRootProps>;
|
|
11
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressTrackProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressTrack:
|
|
4
|
+
export declare const ProgressTrack: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ProgressValueTextProps extends HTMLArkProps<'span'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ProgressValueText:
|
|
4
|
+
export declare const ProgressValueText: ArkComponent<'span'>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ViewProps } from '@zag-js/progress';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
|
+
import type { Assign } from '../types';
|
|
4
|
+
export interface ProgressViewProps extends Assign<HTMLArkProps<'span'>, ViewProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const ProgressView: ArkComponent<'span', ViewProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ValueChangeDetails as RadioGroupValueChangeDetails } from '@zag-js/radio-group';
|
|
2
|
-
import { type RadioGroupProps } from './radio-group';
|
|
3
2
|
import { useRadioGroupContext, type RadioGroupContext } from './radio-group-context';
|
|
4
3
|
import { type RadioGroupIndicatorProps } from './radio-group-indicator';
|
|
5
4
|
import { RadioGroupItem, type RadioGroupItemProps } from './radio-group-item';
|
|
@@ -7,13 +6,14 @@ import { useRadioGroupItemContext, type RadioGroupItemContext } from './radio-gr
|
|
|
7
6
|
import { RadioGroupItemControl, type RadioGroupItemControlProps } from './radio-group-item-control';
|
|
8
7
|
import { RadioGroupItemText, type RadioGroupItemTextProps } from './radio-group-item-text';
|
|
9
8
|
import { RadioGroupLabel, type RadioGroupLabelProps } from './radio-group-label';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
import { RadioGroupRoot, type RadioGroupRootProps } from './radio-group-root';
|
|
10
|
+
export declare const RadioGroup: {
|
|
11
|
+
Root: import("..").ArkComponent<"div", import("./use-radio-group").UseRadioGroupProps>;
|
|
12
|
+
Indicator: import("..").ArkComponent<"div", object>;
|
|
13
|
+
Item: import("..").ArkComponent<"label", RadioGroupItemProps>;
|
|
14
|
+
ItemControl: import("..").ArkComponent<"div", object>;
|
|
15
|
+
ItemText: import("..").ArkComponent<"span", object>;
|
|
16
|
+
Label: import("..").ArkComponent<"label", object>;
|
|
17
17
|
};
|
|
18
|
-
export {
|
|
19
|
-
export type { RadioGroupContext, RadioGroupIndicatorProps, RadioGroupItemContext, RadioGroupItemControlProps, RadioGroupItemProps, RadioGroupItemTextProps, RadioGroupLabelProps,
|
|
18
|
+
export { RadioGroupItem, RadioGroupItemControl, RadioGroupItemText, RadioGroupLabel, RadioGroupRoot, useRadioGroupContext, useRadioGroupItemContext, };
|
|
19
|
+
export type { RadioGroupContext, RadioGroupIndicatorProps, RadioGroupItemContext, RadioGroupItemControlProps, RadioGroupItemProps, RadioGroupItemTextProps, RadioGroupLabelProps, RadioGroupRootProps, RadioGroupValueChangeDetails, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface RadioGroupIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const RadioGroupIndicator:
|
|
4
|
+
export declare const RadioGroupIndicator: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface RadioGroupItemControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const RadioGroupItemControl:
|
|
4
|
+
export declare const RadioGroupItemControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface RadioGroupItemTextProps extends HTMLArkProps<'span'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const RadioGroupItemText:
|
|
4
|
+
export declare const RadioGroupItemText: ArkComponent<'span'>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ItemProps, ItemState } from '@zag-js/radio-group';
|
|
2
2
|
import type { JSX } from 'solid-js/jsx-runtime';
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
4
4
|
import type { Assign } from '../types';
|
|
5
|
-
|
|
5
|
+
interface ElementProps extends ItemProps {
|
|
6
6
|
children?: ((state: ItemState) => JSX.Element) | JSX.Element;
|
|
7
|
-
}>, ItemProps {
|
|
8
7
|
}
|
|
9
|
-
export
|
|
8
|
+
export interface RadioGroupItemProps extends Assign<HTMLArkProps<'label'>, ElementProps> {
|
|
9
|
+
}
|
|
10
|
+
export declare const RadioGroupItem: ArkComponent<'label', RadioGroupItemProps>;
|
|
11
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface RadioGroupLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const RadioGroupLabel:
|
|
4
|
+
export declare const RadioGroupLabel: ArkComponent<'label'>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
|
+
import type { Assign } from '../types';
|
|
3
|
+
import { type UseRadioGroupProps } from './use-radio-group';
|
|
4
|
+
export interface RadioGroupRootProps extends Assign<HTMLArkProps<'div'>, UseRadioGroupProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const RadioGroupRoot: ArkComponent<'div', UseRadioGroupProps>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type JSX } from 'solid-js';
|
|
2
|
-
import { type HTMLArkProps } from '../factory';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
3
|
import type { Assign } from '../types';
|
|
4
4
|
import type { UseRatingGroupReturn } from './use-rating-group';
|
|
5
|
-
|
|
5
|
+
interface ElementProps {
|
|
6
6
|
children?: JSX.Element | ((api: UseRatingGroupReturn) => JSX.Element);
|
|
7
|
-
}> {
|
|
8
7
|
}
|
|
9
|
-
export
|
|
8
|
+
export interface RatingGroupControlProps extends Assign<HTMLArkProps<'div'>, ElementProps> {
|
|
9
|
+
}
|
|
10
|
+
export declare const RatingGroupControl: ArkComponent<'div', ElementProps>;
|
|
11
|
+
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ItemProps, ItemState } from '@zag-js/rating-group';
|
|
2
2
|
import { type Accessor, type JSX } from 'solid-js';
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
4
4
|
import type { Assign } from '../types';
|
|
5
|
-
|
|
5
|
+
interface ElementProps extends ItemProps {
|
|
6
6
|
children?: JSX.Element | ((state: Accessor<ItemState>) => JSX.Element);
|
|
7
|
-
}>, ItemProps {
|
|
8
7
|
}
|
|
9
|
-
export
|
|
8
|
+
export interface RatingGroupItemProps extends Assign<HTMLArkProps<'span'>, ElementProps> {
|
|
9
|
+
}
|
|
10
|
+
export declare const RatingGroupItem: ArkComponent<'span', ElementProps>;
|
|
11
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface RatingGroupLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const RatingGroupLabel:
|
|
4
|
+
export declare const RatingGroupLabel: ArkComponent<'label'>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
|
+
import type { Assign } from '../types';
|
|
3
|
+
import { type UseRatingGroupProps } from './use-rating-group';
|
|
4
|
+
export interface RatingGroupRootProps extends Assign<HTMLArkProps<'div'>, UseRatingGroupProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const RatingGroupRoot: ArkComponent<'div', UseRatingGroupProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SegmentGroupIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SegmentGroupIndicator:
|
|
4
|
+
export declare const SegmentGroupIndicator: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SegmentGroupItemControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SegmentGroupItemControl:
|
|
4
|
+
export declare const SegmentGroupItemControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SegmentGroupItemTextProps extends HTMLArkProps<'span'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SegmentGroupItemText:
|
|
4
|
+
export declare const SegmentGroupItemText: ArkComponent<'span'>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ItemState } from '@zag-js/radio-group';
|
|
2
2
|
import type { JSX } from 'solid-js/jsx-runtime';
|
|
3
|
-
import { type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
4
4
|
import type { Assign } from '../types';
|
|
5
5
|
import { type SegmentGroupItemContext } from './segment-group-item-context';
|
|
6
|
-
|
|
7
|
-
children?: ((state: ItemState) => JSX.Element)
|
|
8
|
-
}>, SegmentGroupItemContext {
|
|
6
|
+
interface ElementProps extends SegmentGroupItemContext {
|
|
7
|
+
children?: JSX.Element | ((state: ItemState) => JSX.Element);
|
|
9
8
|
}
|
|
10
|
-
export
|
|
9
|
+
export interface SegmentGroupItemProps extends Assign<HTMLArkProps<'label'>, ElementProps> {
|
|
10
|
+
}
|
|
11
|
+
export declare const SegmentGroupItem: ArkComponent<'label', ElementProps>;
|
|
12
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SegmentGroupLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SegmentGroupLabel:
|
|
4
|
+
export declare const SegmentGroupLabel: ArkComponent<'label'>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
|
+
import type { Assign } from '../types';
|
|
3
|
+
import { type UseSegmentGroupProps } from './use-segment-group';
|
|
4
|
+
export interface SegmentGroupRootProps extends Assign<HTMLArkProps<'div'>, UseSegmentGroupProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const SegmentGroupRoot: ArkComponent<'div', UseSegmentGroupProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SelectClearTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SelectClearTrigger:
|
|
4
|
+
export declare const SelectClearTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SelectContentProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SelectContent:
|
|
4
|
+
export declare const SelectContent: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SelectControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SelectControl:
|
|
4
|
+
export declare const SelectControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SelectIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SelectIndicator:
|
|
4
|
+
export declare const SelectIndicator: ArkComponent<'div'>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
import type { Assign } from '../types';
|
|
3
3
|
interface ItemGroupLabelProps {
|
|
4
4
|
for: string;
|
|
5
5
|
}
|
|
6
6
|
export interface SelectItemGroupLabelProps extends Assign<HTMLArkProps<'div'>, ItemGroupLabelProps> {
|
|
7
7
|
}
|
|
8
|
-
export declare const SelectItemGroupLabel:
|
|
8
|
+
export declare const SelectItemGroupLabel: ArkComponent<'div', ItemGroupLabelProps>;
|
|
9
9
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ItemGroupProps } from '@zag-js/select';
|
|
2
|
-
import { type HTMLArkProps } from '../factory';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
3
|
import type { Assign } from '../types';
|
|
4
4
|
export interface SelectItemGroupProps extends Assign<HTMLArkProps<'div'>, ItemGroupProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const SelectItemGroup:
|
|
6
|
+
export declare const SelectItemGroup: ArkComponent<'div', ItemGroupProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SelectItemIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SelectItemIndicator:
|
|
4
|
+
export declare const SelectItemIndicator: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface SelectItemTextProps extends HTMLArkProps<'span'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const SelectItemText:
|
|
4
|
+
export declare const SelectItemText: ArkComponent<'span'>;
|