@ark-ui/solid 1.2.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 +82 -0
- package/README.md +2 -0
- package/cjs/index.js +1211 -1267
- package/cjs/index.js.map +1 -1
- package/esm/index.js +1392 -1504
- package/esm/index.js.map +1 -1
- package/package.json +57 -54
- 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/combobox/use-combobox.js +3 -3
- 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 +2 -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-description.jsx +1 -1
- 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 +22 -0
- package/source/progress/progress-circle-range.jsx +8 -0
- package/source/progress/progress-circle-track.jsx +8 -0
- package/source/progress/progress-circle.jsx +8 -0
- package/source/progress/progress-context.js +5 -0
- package/source/progress/progress-label.jsx +8 -0
- package/source/progress/progress-range.jsx +8 -0
- package/source/progress/progress-root.jsx +24 -0
- package/source/progress/progress-track.jsx +8 -0
- package/source/progress/progress-value-text.jsx +10 -0
- package/source/progress/progress-view.jsx +10 -0
- package/source/progress/use-progress.js +10 -0
- 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/select/use-select.js +3 -3
- 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 +8 -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/create-split-props.d.ts +1 -1
- 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 +13 -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 +14 -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 -10
- package/types/index.d.ts +2 -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 +10 -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 +11 -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 +16 -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 +3 -3
- 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/presence/split-presence-props.d.ts +1 -1
- package/types/progress/index.d.ts +23 -0
- package/types/progress/progress-circle-range.d.ts +4 -0
- package/types/progress/progress-circle-track.d.ts +4 -0
- package/types/progress/progress-circle.d.ts +4 -0
- package/types/progress/progress-context.d.ts +4 -0
- package/types/progress/progress-label.d.ts +4 -0
- package/types/progress/progress-range.d.ts +4 -0
- package/types/progress/progress-root.d.ts +11 -0
- package/types/progress/progress-track.d.ts +4 -0
- package/types/progress/progress-value-text.d.ts +4 -0
- package/types/progress/progress-view.d.ts +6 -0
- package/types/progress/use-progress.d.ts +9 -0
- package/types/radio-group/index.d.ts +11 -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 +14 -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 +8 -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 +9 -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 +10 -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 +7 -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 +11 -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 -39
- package/source/ssr-spread.js +0 -19
- package/types/accordion/accordion.d.ts +0 -7
- package/types/accordion/index.d.ts +0 -16
- 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 -23
- 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 -32
- 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 -54
- 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 -27
- 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 -31
- package/types/merge-style.d.ts +0 -6
- package/types/number-input/index.d.ts +0 -19
- 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/radio-group/radio-group.d.ts +0 -6
- package/types/rating-group/index.d.ts +0 -14
- package/types/rating-group/rating-group.d.ts +0 -6
- package/types/segment-group/index.d.ts +0 -18
- package/types/segment-group/segment-group.d.ts +0 -6
- package/types/select/index.d.ts +0 -35
- 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 -24
- 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,6 +1,6 @@
|
|
|
1
1
|
import type { AreaProps } from '@zag-js/color-picker';
|
|
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 ColorPickerAreaProps extends Assign<HTMLArkProps<'div'>, AreaProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ColorPickerArea:
|
|
6
|
+
export declare const ColorPickerArea: ArkComponent<'div', AreaProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChannelInputProps } from '@zag-js/color-picker';
|
|
2
|
-
import { type HTMLArkProps } from '../factory';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
3
|
import type { Assign } from '../types';
|
|
4
|
-
export interface ColorPickerChannelInputProps extends Assign<
|
|
4
|
+
export interface ColorPickerChannelInputProps extends Assign<HTMLArkProps<'input'>, ChannelInputProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ColorPickerChannelInput:
|
|
6
|
+
export declare const ColorPickerChannelInput: ArkComponent<'input', ChannelInputProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerChannelSliderThumbProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerChannelSliderThumb:
|
|
4
|
+
export declare const ColorPickerChannelSliderThumb: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerChannelSliderTrackProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerChannelSliderTrack:
|
|
4
|
+
export declare const ColorPickerChannelSliderTrack: ArkComponent<'div'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChannelProps } from '@zag-js/color-picker';
|
|
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 ColorPickerChannelSliderProps extends Assign<HTMLArkProps<'div'>, ChannelProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ColorPickerChannelSlider:
|
|
6
|
+
export declare const ColorPickerChannelSlider: ArkComponent<'div', ChannelProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerContentProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerContent:
|
|
4
|
+
export declare const ColorPickerContent: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerControl:
|
|
4
|
+
export declare const ColorPickerControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerEyeDropperTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerEyeDropperTrigger:
|
|
4
|
+
export declare const ColorPickerEyeDropperTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerFormatSelectProps extends HTMLArkProps<'select'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerFormatSelect:
|
|
4
|
+
export declare const ColorPickerFormatSelect: ArkComponent<'select'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerFormatTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerFormatTrigger:
|
|
4
|
+
export declare const ColorPickerFormatTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerLabel:
|
|
4
|
+
export declare const ColorPickerLabel: ArkComponent<'label'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerPositionerProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerPositioner:
|
|
4
|
+
export declare const ColorPickerPositioner: ArkComponent<'div'>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type UsePresenceProps } from '../presence';
|
|
4
|
+
import { type Assign } from '../types';
|
|
5
|
+
import { type UseColorPickerProps, type UseColorPickerReturn } from './use-color-picker';
|
|
6
|
+
interface ElementProps extends UseColorPickerProps, UsePresenceProps {
|
|
7
|
+
children?: JSX.Element | ((api: UseColorPickerReturn) => JSX.Element);
|
|
8
|
+
}
|
|
9
|
+
export interface ColorPickerRootProps extends Assign<HTMLArkProps<'div'>, ElementProps> {
|
|
10
|
+
}
|
|
11
|
+
export declare const ColorPickerRoot: ArkComponent<'div', 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 ColorPickerSwatchGroupProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerSwatchGroup:
|
|
4
|
+
export declare const ColorPickerSwatchGroup: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerSwatchIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerSwatchIndicator:
|
|
4
|
+
export declare const ColorPickerSwatchIndicator: ArkComponent<'div'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SwatchTriggerProps } from '@zag-js/color-picker';
|
|
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 ColorPickerSwatchTriggerProps extends Assign<HTMLArkProps<'button'>, SwatchTriggerProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ColorPickerSwatchTrigger:
|
|
6
|
+
export declare const ColorPickerSwatchTrigger: ArkComponent<'button', SwatchTriggerProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SwatchProps } from '@zag-js/color-picker';
|
|
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 ColorPickerSwatchProps extends Assign<HTMLArkProps<'div'>, SwatchProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ColorPickerSwatch:
|
|
6
|
+
export declare const ColorPickerSwatch: ArkComponent<'div', SwatchProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TransparencyGridProps } from '@zag-js/color-picker';
|
|
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 ColorPickerTransparencyGridProps extends Assign<HTMLArkProps<'div'>, TransparencyGridProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ColorPickerTransparencyGrid:
|
|
6
|
+
export declare const ColorPickerTransparencyGrid: ArkComponent<'div', TransparencyGridProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerTrigger:
|
|
4
|
+
export declare const ColorPickerTrigger: ArkComponent<'button'>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
2
|
-
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
|
+
interface ElementProps {
|
|
3
3
|
placeholder?: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export interface ColorPickerValueTextProps extends HTMLArkProps<'span'>, ElementProps {
|
|
6
|
+
}
|
|
7
|
+
export declare const ColorPickerValueText: ArkComponent<'span', ElementProps>;
|
|
8
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxClearTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxClearTrigger:
|
|
4
|
+
export declare const ComboboxClearTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxContentProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxContent:
|
|
4
|
+
export declare const ComboboxContent: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxControl:
|
|
4
|
+
export declare const ComboboxControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxInputProps extends HTMLArkProps<'input'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxInput:
|
|
4
|
+
export declare const ComboboxInput: ArkComponent<'input'>;
|
|
@@ -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 ComboboxItemGroupLabelProps extends Assign<HTMLArkProps<'div'>, ItemGroupLabelProps> {
|
|
7
7
|
}
|
|
8
|
-
export declare const ComboboxItemGroupLabel:
|
|
8
|
+
export declare const ComboboxItemGroupLabel: ArkComponent<'div', ItemGroupLabelProps>;
|
|
9
9
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ItemGroupProps } from '@zag-js/combobox';
|
|
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 ComboboxItemGroupProps extends Assign<HTMLArkProps<'div'>, ItemGroupProps> {
|
|
5
5
|
}
|
|
6
|
-
export declare const ComboboxItemGroup:
|
|
6
|
+
export declare const ComboboxItemGroup: 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 ComboboxItemIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxItemIndicator:
|
|
4
|
+
export declare const ComboboxItemIndicator: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxItemTextProps extends HTMLArkProps<'span'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxItemText:
|
|
4
|
+
export declare const ComboboxItemText: ArkComponent<'span'>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ItemProps, ItemState } from '@zag-js/combobox';
|
|
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 ComboboxItemProps extends Assign<HTMLArkProps<'div'>, ElementProps> {
|
|
9
|
+
}
|
|
10
|
+
export declare const ComboboxItem: ArkComponent<'div', 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 ComboboxLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxLabel:
|
|
4
|
+
export declare const ComboboxLabel: ArkComponent<'label'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxPositionerProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxPositioner:
|
|
4
|
+
export declare const ComboboxPositioner: ArkComponent<'div'>;
|
|
@@ -3,8 +3,8 @@ import { type HTMLArkProps } from '../factory';
|
|
|
3
3
|
import { type UsePresenceProps } from '../presence';
|
|
4
4
|
import type { Assign, CollectionItem } from '../types';
|
|
5
5
|
import { type UseComboboxProps, type UseComboboxReturn } from './use-combobox';
|
|
6
|
-
export interface
|
|
6
|
+
export interface ComboboxRootProps<T extends CollectionItem> extends Assign<Assign<HTMLArkProps<'div'>, {
|
|
7
7
|
children?: JSX.Element | ((api: UseComboboxReturn<T>) => JSX.Element);
|
|
8
8
|
}>, UseComboboxProps<T>>, UsePresenceProps {
|
|
9
9
|
}
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const ComboboxRoot: <T extends CollectionItem>(props: ComboboxRootProps<T>) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ComboboxTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ComboboxTrigger:
|
|
4
|
+
export declare const ComboboxTrigger: ArkComponent<'button'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
type EnsureKeys<ExpectedKeys extends (keyof Target)[], Target> = ExpectedKeys extends (keyof Target)[] ? [keyof Target] extends [ExpectedKeys[number]] ? unknown : `Missing required keys: ${Exclude<keyof Target, ExpectedKeys[number]>}` : never;
|
|
2
|
-
export declare const createSplitProps: <Target extends Record<never, never>>() => <Keys extends (keyof Target)[], Props extends Target = Target>(props: Props, keys: Keys & EnsureKeys<Keys, Target>) => [Pick<Props, Extract<Keys & EnsureKeys<Keys, Target>, readonly (keyof Props)[]>[number]>,
|
|
2
|
+
export declare const createSplitProps: <Target extends Record<never, never>>() => <Keys extends (keyof Target)[], Props extends Target = Target>(props: Props, keys: Keys & EnsureKeys<Keys, Target>) => [Pick<Props, Extract<Keys & EnsureKeys<Keys, Target>, readonly (keyof Props)[]>[number]>, { [P in keyof Props as Exclude<P, (Keys & EnsureKeys<Keys, Target>)[number]>]: Props[P]; }];
|
|
3
3
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerClearTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerClearTrigger:
|
|
4
|
+
export declare const DatePickerClearTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerContentProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerContent:
|
|
4
|
+
export declare const DatePickerContent: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerControl:
|
|
4
|
+
export declare const DatePickerControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerInputProps extends HTMLArkProps<'input'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerInput:
|
|
4
|
+
export declare const DatePickerInput: ArkComponent<'input'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerLabelProps extends HTMLArkProps<'label'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerLabel:
|
|
4
|
+
export declare const DatePickerLabel: ArkComponent<'label'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerMonthSelectProps extends HTMLArkProps<'select'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerMonthSelect:
|
|
4
|
+
export declare const DatePickerMonthSelect: ArkComponent<'select'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerNextTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerNextTrigger:
|
|
4
|
+
export declare const DatePickerNextTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerPositionerProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerPositioner:
|
|
4
|
+
export declare const DatePickerPositioner: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerPrevTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerPrevTrigger:
|
|
4
|
+
export declare const DatePickerPrevTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerRangeTextProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerRangeText:
|
|
4
|
+
export declare const DatePickerRangeText: ArkComponent<'div'>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type UsePresenceProps } from '../presence';
|
|
4
|
+
import type { Assign } from '../types';
|
|
5
|
+
import { type UseDatePickerProps, type UseDatePickerReturn } from './use-date-picker';
|
|
6
|
+
interface ElementProps extends UseDatePickerProps, UsePresenceProps {
|
|
7
|
+
children?: JSX.Element | ((api: UseDatePickerReturn) => JSX.Element);
|
|
8
|
+
}
|
|
9
|
+
export interface DatePickerRootProps extends Assign<HTMLArkProps<'div'>, ElementProps> {
|
|
10
|
+
}
|
|
11
|
+
export declare const DatePickerRoot: ArkComponent<'div', 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 DatePickerTableBodyProps extends HTMLArkProps<'tbody'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerTableBody:
|
|
4
|
+
export declare const DatePickerTableBody: ArkComponent<'tbody'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerTableCellTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerTableCellTrigger:
|
|
4
|
+
export declare const DatePickerTableCellTrigger: ArkComponent<'button'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
import { type DatePickerTableCellContext } from './date-picker-table-cell-context';
|
|
3
3
|
export interface DatePickerTableCellProps extends HTMLArkProps<'td'>, DatePickerTableCellContext {
|
|
4
4
|
}
|
|
5
|
-
export declare const DatePickerTableCell:
|
|
5
|
+
export declare const DatePickerTableCell: ArkComponent<'td', DatePickerTableCellContext>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerTableHeadProps extends HTMLArkProps<'thead'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerTableHead:
|
|
4
|
+
export declare const DatePickerTableHead: ArkComponent<'thead'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerTableHeaderProps extends HTMLArkProps<'th'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerTableHeader:
|
|
4
|
+
export declare const DatePickerTableHeader: ArkComponent<'th'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerTableRowProps extends HTMLArkProps<'tr'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerTableRow:
|
|
4
|
+
export declare const DatePickerTableRow: ArkComponent<'tr'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TableProps } from '@zag-js/date-picker';
|
|
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 DatePickerTableProps extends Assign<HTMLArkProps<'table'>, Pick<TableProps, 'columns'>> {
|
|
5
5
|
}
|
|
6
|
-
export declare const DatePickerTable:
|
|
6
|
+
export declare const DatePickerTable: ArkComponent<'table', Pick<TableProps, 'columns'>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerTrigger:
|
|
4
|
+
export declare const DatePickerTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerViewControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerViewControl:
|
|
4
|
+
export declare const DatePickerViewControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DatePickerViewTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerViewTrigger:
|
|
4
|
+
export declare const DatePickerViewTrigger: ArkComponent<'button'>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ViewProps } from '@zag-js/date-picker';
|
|
2
2
|
import { 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
|
import type { UseDatePickerReturn } from './use-date-picker';
|
|
6
|
-
|
|
6
|
+
interface ElementProps extends Required<ViewProps> {
|
|
7
7
|
children?: JSX.Element | ((api: UseDatePickerReturn) => JSX.Element);
|
|
8
|
-
}>, Required<ViewProps> {
|
|
9
8
|
}
|
|
10
|
-
export
|
|
9
|
+
export interface DatePickerViewProps extends Assign<HTMLArkProps<'div'>, ElementProps> {
|
|
10
|
+
}
|
|
11
|
+
export declare const DatePickerView: ArkComponent<'div', 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 DatePickerYearSelectProps extends HTMLArkProps<'select'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DatePickerYearSelect:
|
|
4
|
+
export declare const DatePickerYearSelect: ArkComponent<'select'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DialogBackdropProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DialogBackdrop:
|
|
4
|
+
export declare const DialogBackdrop: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DialogCloseTriggerProps extends HTMLArkProps<'button'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DialogCloseTrigger:
|
|
4
|
+
export declare const DialogCloseTrigger: ArkComponent<'button'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DialogContentProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DialogContent:
|
|
4
|
+
export declare const DialogContent: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DialogDescriptionProps extends HTMLArkProps<'p'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DialogDescription:
|
|
4
|
+
export declare const DialogDescription: ArkComponent<'p'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface DialogPositionerProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const DialogPositioner:
|
|
4
|
+
export declare const DialogPositioner: 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 UseDialogProps, type UseDialogReturn } from './use-dialog';
|
|
4
|
-
export interface
|
|
4
|
+
export interface DialogRootProps extends UseDialogProps, UsePresenceProps {
|
|
5
5
|
children?: JSX.Element | ((api: UseDialogReturn) => JSX.Element);
|
|
6
6
|
}
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const DialogRoot: (props: DialogRootProps) => JSX.Element;
|