@ark-ui/solid 1.3.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/README.md +1 -0
- package/cjs/index.js +1247 -1384
- package/cjs/index.js.map +1 -1
- package/esm/index.js +1415 -1599
- 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-root.jsx +29 -0
- package/source/accordion/accordion.jsx +6 -29
- package/source/accordion/index.js +3 -9
- package/source/avatar/avatar-root.jsx +18 -0
- package/source/avatar/avatar.jsx +4 -18
- package/source/avatar/index.js +3 -7
- package/source/carousel/carousel-root.jsx +27 -0
- package/source/carousel/carousel.jsx +10 -27
- package/source/carousel/index.js +5 -15
- package/source/checkbox/checkbox-root.jsx +28 -0
- package/source/checkbox/checkbox.jsx +5 -28
- package/source/checkbox/index.js +3 -8
- package/source/color-picker/color-picker-root.jsx +43 -0
- package/source/color-picker/color-picker.jsx +24 -43
- package/source/color-picker/index.js +3 -27
- package/source/combobox/combobox-root.jsx +57 -0
- package/source/combobox/combobox.jsx +14 -57
- package/source/combobox/index.js +3 -17
- package/source/date-picker/date-picker-root.jsx +52 -0
- package/source/date-picker/date-picker.jsx +24 -52
- package/source/date-picker/index.js +3 -27
- package/source/dialog/dialog-root.jsx +39 -0
- package/source/dialog/dialog-trigger.jsx +0 -1
- package/source/dialog/dialog.jsx +9 -39
- package/source/dialog/index.js +3 -12
- package/source/editable/editable-root.jsx +42 -0
- package/source/editable/editable.jsx +10 -42
- package/source/editable/index.js +3 -13
- package/source/environment/index.js +1 -4
- package/source/factory.jsx +10 -23
- package/source/file-upload/file-upload-root.jsx +34 -0
- package/source/file-upload/file-upload.jsx +12 -34
- package/source/file-upload/index.js +3 -15
- package/source/hover-card/hover-card-root.jsx +26 -0
- package/source/hover-card/hover-card.jsx +7 -26
- package/source/hover-card/index.js +3 -10
- package/source/index.jsx +1 -0
- package/source/menu/index.js +3 -17
- package/source/menu/menu-root.jsx +50 -0
- package/source/menu/menu-trigger.jsx +0 -1
- package/source/menu/menu.jsx +14 -50
- package/source/number-input/index.js +3 -11
- package/source/number-input/number-input-root.jsx +42 -0
- package/source/number-input/number-input.jsx +8 -42
- package/source/pagination/index.js +3 -9
- package/source/pagination/pagination-root.jsx +27 -0
- package/source/pagination/pagination.jsx +6 -27
- package/source/pin-input/index.js +3 -8
- package/source/pin-input/pin-input-root.jsx +36 -0
- package/source/pin-input/pin-input.jsx +5 -36
- package/source/popover/index.js +3 -15
- package/source/popover/popover-root.jsx +34 -0
- package/source/popover/popover-trigger.jsx +0 -1
- package/source/popover/popover.jsx +12 -34
- package/source/presence/index.js +1 -4
- package/source/progress/index.js +4 -14
- package/source/progress/progress-root.jsx +24 -0
- package/source/progress/{progress-indicator.jsx → progress-view.jsx} +2 -2
- package/source/progress/progress.jsx +10 -24
- package/source/radio-group/index.js +3 -10
- package/source/radio-group/radio-group-root.jsx +24 -0
- package/source/radio-group/radio-group.jsx +7 -24
- package/source/rating-group/index.js +3 -8
- package/source/rating-group/rating-group-root.jsx +29 -0
- package/source/rating-group/rating-group.jsx +5 -29
- package/source/segment-group/index.js +3 -10
- package/source/segment-group/segment-group-root.jsx +25 -0
- package/source/segment-group/segment-group.jsx +7 -25
- package/source/select/index.js +3 -18
- package/source/select/select-root.jsx +48 -0
- package/source/select/select.jsx +15 -48
- package/source/slider/index.js +3 -13
- package/source/slider/slider-root.jsx +41 -0
- package/source/slider/slider.jsx +10 -41
- package/source/splitter/index.js +3 -7
- package/source/splitter/splitter-root.jsx +25 -0
- package/source/splitter/splitter.jsx +4 -25
- package/source/switch/index.js +3 -8
- package/source/switch/switch-root.jsx +29 -0
- package/source/switch/switch.jsx +5 -29
- package/source/tabs/index.js +3 -9
- package/source/tabs/tabs-root.jsx +29 -0
- package/source/tabs/tabs.jsx +6 -29
- package/source/tags-input/index.js +4 -13
- package/source/tags-input/tags-input-item-preview.jsx +10 -0
- package/source/tags-input/tags-input-root.jsx +44 -0
- package/source/tags-input/tags-input.jsx +11 -44
- package/source/toast/index.js +3 -9
- package/source/toast/toast-root.jsx +8 -0
- package/source/toast/toast.jsx +6 -8
- package/source/toggle-group/index.js +3 -6
- package/source/toggle-group/toggle-group-root.jsx +25 -0
- package/source/toggle-group/toggle-group.jsx +3 -25
- package/source/tooltip/index.js +3 -10
- package/source/tooltip/tooltip-root.jsx +31 -0
- package/source/tooltip/tooltip.jsx +7 -31
- package/source/tree-view/index.js +14 -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/tree-view.jsx +12 -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/accordion/accordion.d.ts +6 -7
- package/types/accordion/index.d.ts +4 -10
- 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/avatar.d.ts +4 -6
- package/types/avatar/index.d.ts +4 -8
- 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/carousel/carousel.d.ts +10 -9
- package/types/carousel/index.d.ts +6 -16
- 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/checkbox/checkbox.d.ts +5 -9
- package/types/checkbox/index.d.ts +5 -10
- 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/color-picker/color-picker.d.ts +24 -10
- package/types/color-picker/index.d.ts +4 -28
- 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-root.d.ts +10 -0
- package/types/combobox/combobox-trigger.d.ts +2 -2
- package/types/combobox/combobox.d.ts +14 -10
- package/types/combobox/index.d.ts +4 -18
- 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/date-picker/date-picker.d.ts +24 -10
- package/types/date-picker/index.d.ts +4 -28
- 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-root.d.ts +7 -0
- package/types/dialog/dialog-title.d.ts +2 -2
- package/types/dialog/dialog-trigger.d.ts +2 -2
- package/types/dialog/dialog.d.ts +9 -7
- package/types/dialog/index.d.ts +4 -13
- 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/editable.d.ts +10 -9
- package/types/editable/index.d.ts +4 -14
- 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/file-upload/file-upload.d.ts +12 -9
- package/types/file-upload/index.d.ts +5 -17
- 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-root.d.ts +7 -0
- package/types/hover-card/hover-card-trigger.d.ts +2 -2
- package/types/hover-card/hover-card.d.ts +7 -7
- package/types/hover-card/index.d.ts +5 -12
- package/types/index.d.ts +1 -0
- package/types/menu/index.d.ts +4 -18
- 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-root.d.ts +9 -0
- 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/menu/menu.d.ts +14 -9
- package/types/number-input/index.d.ts +4 -12
- 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/number-input/number-input.d.ts +8 -9
- package/types/pagination/index.d.ts +4 -10
- 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/pagination/pagination.d.ts +6 -9
- package/types/pin-input/index.d.ts +4 -9
- 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/pin-input/pin-input.d.ts +5 -6
- package/types/popover/index.d.ts +4 -16
- 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-root.d.ts +7 -0
- package/types/popover/popover-title.d.ts +2 -2
- package/types/popover/popover-trigger.d.ts +2 -2
- package/types/popover/popover.d.ts +12 -7
- package/types/presence/index.d.ts +1 -4
- package/types/presence/presence.d.ts +2 -2
- package/types/progress/index.d.ts +5 -15
- 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/progress/progress.d.ts +10 -9
- package/types/radio-group/index.d.ts +5 -12
- 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/radio-group/radio-group.d.ts +7 -6
- package/types/rating-group/index.d.ts +4 -9
- 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/rating-group/rating-group.d.ts +5 -6
- package/types/segment-group/index.d.ts +4 -11
- 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/segment-group/segment-group.d.ts +7 -6
- package/types/select/index.d.ts +4 -19
- 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-root.d.ts +10 -0
- package/types/select/select-trigger.d.ts +2 -2
- package/types/select/select-value-text.d.ts +6 -3
- package/types/select/select.d.ts +15 -10
- package/types/slider/index.d.ts +4 -14
- 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/slider/slider.d.ts +10 -9
- package/types/splitter/index.d.ts +4 -8
- 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/splitter/splitter.d.ts +4 -9
- package/types/switch/index.d.ts +4 -9
- 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/switch/switch.d.ts +5 -9
- package/types/tabs/index.d.ts +4 -10
- 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/tabs/tabs.d.ts +6 -7
- package/types/tags-input/index.d.ts +5 -14
- 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/tags-input/tags-input.d.ts +11 -9
- package/types/toast/index.d.ts +4 -10
- 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/toast/toast.d.ts +6 -4
- package/types/toggle-group/index.d.ts +4 -7
- package/types/toggle-group/toggle-group-item.d.ts +2 -2
- package/types/toggle-group/toggle-group-root.d.ts +6 -0
- package/types/toggle-group/toggle-group.d.ts +3 -6
- package/types/tooltip/index.d.ts +4 -11
- 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-root.d.ts +7 -0
- package/types/tooltip/tooltip-trigger.d.ts +2 -2
- package/types/tooltip/tooltip.d.ts +7 -7
- package/types/tree-view/index.d.ts +16 -0
- 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/tree-view.d.ts +12 -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/carousel/carousel-slide-group.d.ts +0 -4
- package/types/constants.d.ts +0 -1
- 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/merge-style.d.ts +0 -6
- package/types/parse-template.d.ts +0 -45
- package/types/pipe.d.ts +0 -10
- package/types/progress/progress-indicator.d.ts +0 -6
- package/types/spread.d.ts +0 -1
- package/types/ssr-spread.d.ts +0 -10
- /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,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
1
|
+
import { CarouselControl as Control } from './carousel-control';
|
|
2
|
+
import { CarouselIndicator as Indicator } from './carousel-indicator';
|
|
3
|
+
import { CarouselIndicatorGroup as IndicatorGroup } from './carousel-indicator-group';
|
|
4
|
+
import { CarouselItem as Item } from './carousel-item';
|
|
5
|
+
import { CarouselItemGroup as ItemGroup } from './carousel-item-group';
|
|
6
|
+
import { CarouselNextTrigger as NextTrigger } from './carousel-next-trigger';
|
|
7
|
+
import { CarouselPrevTrigger as PrevTrigger } from './carousel-prev-trigger';
|
|
8
|
+
import { CarouselRoot as Root } from './carousel-root';
|
|
9
|
+
import { CarouselViewport as Viewport } from './carousel-viewport';
|
|
10
|
+
export { Control, Indicator, IndicatorGroup, Item, ItemGroup, NextTrigger, PrevTrigger, Root, Viewport, };
|
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
import type { SlideChangeDetails as CarouselSlideChangeDetails } from '@zag-js/carousel';
|
|
2
|
-
import { type CarouselProps } from './carousel';
|
|
3
2
|
import { useCarouselContext, type CarouselContext } from './carousel-context';
|
|
4
3
|
import { CarouselControl, type CarouselControlProps } from './carousel-control';
|
|
5
4
|
import { CarouselIndicator, type CarouselIndicatorProps } from './carousel-indicator';
|
|
6
5
|
import { CarouselIndicatorGroup, type CarouselIndicatorGroupProps } from './carousel-indicator-group';
|
|
6
|
+
import { CarouselItem, type CarouselItemProps } from './carousel-item';
|
|
7
|
+
import { CarouselItemGroup, type CarouselItemGroupProps } from './carousel-item-group';
|
|
7
8
|
import { CarouselNextTrigger, type CarouselNextTriggerProps } from './carousel-next-trigger';
|
|
8
9
|
import { CarouselPrevTrigger, type CarouselPrevTriggerProps } from './carousel-prev-trigger';
|
|
9
|
-
import {
|
|
10
|
-
import { CarouselItemGroup, type CarouselItemGroupProps } from './carousel-slide-group';
|
|
10
|
+
import { CarouselRoot, type CarouselRootProps } from './carousel-root';
|
|
11
11
|
import { CarouselViewport, type CarouselViewportProps } from './carousel-viewport';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Indicator: (props: CarouselIndicatorProps) => import("solid-js").JSX.Element;
|
|
16
|
-
IndicatorGroup: (props: CarouselIndicatorGroupProps) => import("solid-js").JSX.Element;
|
|
17
|
-
NextTrigger: (props: CarouselNextTriggerProps) => import("solid-js").JSX.Element;
|
|
18
|
-
PrevTrigger: (props: CarouselPrevTriggerProps) => import("solid-js").JSX.Element;
|
|
19
|
-
Item: (props: CarouselItemProps) => import("solid-js").JSX.Element;
|
|
20
|
-
ItemGroup: (props: CarouselItemGroupProps) => import("solid-js").JSX.Element;
|
|
21
|
-
Viewport: (props: CarouselViewportProps) => import("solid-js").JSX.Element;
|
|
22
|
-
};
|
|
23
|
-
export { Carousel, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselViewport, useCarouselContext, };
|
|
24
|
-
export type { CarouselContext, CarouselControlProps, CarouselIndicatorGroupProps, CarouselIndicatorProps, CarouselItemGroupProps, CarouselItemProps, CarouselNextTriggerProps, CarouselPrevTriggerProps, CarouselProps, CarouselSlideChangeDetails, CarouselViewportProps, };
|
|
12
|
+
export * as Carousel from './carousel';
|
|
13
|
+
export { CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselViewport, useCarouselContext, };
|
|
14
|
+
export type { CarouselContext, CarouselControlProps, CarouselIndicatorGroupProps, CarouselIndicatorProps, CarouselItemGroupProps, CarouselItemProps, CarouselNextTriggerProps, CarouselPrevTriggerProps, CarouselRootProps, CarouselSlideChangeDetails, CarouselViewportProps, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface CheckboxControlProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const CheckboxControl:
|
|
4
|
+
export declare const CheckboxControl: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface CheckboxIndicatorProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const CheckboxIndicator:
|
|
4
|
+
export declare const CheckboxIndicator: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface CheckboxLabelProps extends HTMLArkProps<'span'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const CheckboxLabel:
|
|
4
|
+
export declare const CheckboxLabel: ArkComponent<'span'>;
|
|
@@ -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 UseCheckboxProps, type UseCheckboxReturn } from './use-checkbox';
|
|
5
|
+
interface ElementProps extends UseCheckboxProps {
|
|
6
|
+
children?: JSX.Element | ((api: UseCheckboxReturn) => JSX.Element);
|
|
7
|
+
}
|
|
8
|
+
export interface CheckboxRootProps extends Assign<HTMLArkProps<'label'>, ElementProps> {
|
|
9
|
+
}
|
|
10
|
+
export declare const CheckboxRoot: ArkComponent<'div', ElementProps>;
|
|
11
|
+
export {};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
export
|
|
6
|
-
children?: JSX.Element | ((api: UseCheckboxReturn) => JSX.Element);
|
|
7
|
-
}>, UseCheckboxProps> {
|
|
8
|
-
}
|
|
9
|
-
export declare const Checkbox: (props: CheckboxProps) => JSX.Element;
|
|
1
|
+
import { CheckboxControl as Control } from './checkbox-control';
|
|
2
|
+
import { CheckboxIndicator as Indicator } from './checkbox-indicator';
|
|
3
|
+
import { CheckboxLabel as Label } from './checkbox-label';
|
|
4
|
+
import { CheckboxRoot as Root } from './checkbox-root';
|
|
5
|
+
export { Control, Indicator, Label, Root };
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import type { CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState } from '@zag-js/checkbox';
|
|
2
|
-
import { type CheckboxProps } from './checkbox';
|
|
1
|
+
import type { CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState as CheckboxState } from '@zag-js/checkbox';
|
|
3
2
|
import { useCheckboxContext, type CheckboxContext } from './checkbox-context';
|
|
4
3
|
import { CheckboxControl, type CheckboxControlProps } from './checkbox-control';
|
|
5
4
|
import { CheckboxIndicator, type CheckboxIndicatorProps } from './checkbox-indicator';
|
|
6
5
|
import { CheckboxLabel, type CheckboxLabelProps } from './checkbox-label';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Indicator: (props: CheckboxIndicatorProps) => import("solid-js").JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
export { Checkbox, CheckboxControl, CheckboxIndicator, CheckboxLabel, useCheckboxContext };
|
|
14
|
-
export type { CheckboxCheckedChangeDetails, CheckboxContext, CheckboxControlProps, CheckboxIndicatorProps, CheckboxLabelProps, CheckboxProps, CheckedState, };
|
|
6
|
+
import { CheckboxRoot, type CheckboxRootProps } from './checkbox-root';
|
|
7
|
+
export * as Checkbox from './checkbox';
|
|
8
|
+
export { CheckboxControl, CheckboxIndicator, CheckboxLabel, CheckboxRoot, useCheckboxContext };
|
|
9
|
+
export type { CheckboxCheckedChangeDetails, CheckboxContext, CheckboxControlProps, CheckboxIndicatorProps, CheckboxLabelProps, CheckboxRootProps, CheckboxState, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerAreaBackgroundProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerAreaBackground:
|
|
4
|
+
export declare const ColorPickerAreaBackground: ArkComponent<'div'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLArkProps } from '../factory';
|
|
1
|
+
import { type ArkComponent, type HTMLArkProps } from '../factory';
|
|
2
2
|
export interface ColorPickerAreaThumbProps extends HTMLArkProps<'div'> {
|
|
3
3
|
}
|
|
4
|
-
export declare const ColorPickerAreaThumb:
|
|
4
|
+
export declare const ColorPickerAreaThumb: ArkComponent<'div'>;
|
|
@@ -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,10 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
import { ColorPickerArea as Area } from './color-picker-area';
|
|
2
|
+
import { ColorPickerAreaBackground as AreaBackground } from './color-picker-area-background';
|
|
3
|
+
import { ColorPickerAreaThumb as AreaThumb } from './color-picker-area-thumb';
|
|
4
|
+
import { ColorPickerChannelInput as ChannelInput } from './color-picker-channel-input';
|
|
5
|
+
import { ColorPickerChannelSlider as ChannelSlider } from './color-picker-channel-slider';
|
|
6
|
+
import { ColorPickerChannelSliderThumb as ChannelSliderThumb } from './color-picker-channel-slider-thumb';
|
|
7
|
+
import { ColorPickerChannelSliderTrack as ChannelSliderTrack } from './color-picker-channel-slider-track';
|
|
8
|
+
import { ColorPickerContent as Content } from './color-picker-content';
|
|
9
|
+
import { ColorPickerControl as Control } from './color-picker-control';
|
|
10
|
+
import { ColorPickerEyeDropperTrigger as EyeDropperTrigger } from './color-picker-eye-dropper-trigger';
|
|
11
|
+
import { ColorPickerFormatSelect as FormatSelect } from './color-picker-format-select';
|
|
12
|
+
import { ColorPickerFormatTrigger as FormatTrigger } from './color-picker-format-trigger';
|
|
13
|
+
import { ColorPickerLabel as Label } from './color-picker-label';
|
|
14
|
+
import { ColorPickerPositioner as Positioner } from './color-picker-positioner';
|
|
15
|
+
import { ColorPickerRoot as Root } from './color-picker-root';
|
|
16
|
+
import { ColorPickerSwatch as Swatch } from './color-picker-swatch';
|
|
17
|
+
import { ColorPickerSwatchGroup as SwatchGroup } from './color-picker-swatch-group';
|
|
18
|
+
import { ColorPickerSwatchIndicator as SwatchIndicator } from './color-picker-swatch-indicator';
|
|
19
|
+
import { ColorPickerSwatchTrigger as SwatchTrigger } from './color-picker-swatch-trigger';
|
|
20
|
+
import { ColorPickerTransparencyGrid as TransparencyGrid } from './color-picker-transparency-grid';
|
|
21
|
+
import { ColorPickerTrigger as Trigger } from './color-picker-trigger';
|
|
22
|
+
import { ColorPickerValueText as ValueText } from './color-picker-value-text';
|
|
23
|
+
import { ColorPickerView as View } from './color-picker-view';
|
|
24
|
+
export { Area, AreaBackground, AreaThumb, ChannelInput, ChannelSlider, ChannelSliderThumb, ChannelSliderTrack, Content, Control, EyeDropperTrigger, FormatSelect, FormatTrigger, Label, Positioner, Root, Swatch, SwatchGroup, SwatchIndicator, SwatchTrigger, TransparencyGrid, Trigger, ValueText, View, };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ColorFormat, FormatChangeDetails as ColorPickerFormatChangeDetails, OpenChangeDetails as ColorPickerOpenChangeDetails, ValueChangeDetails as ColorPickerValueChangeDetails } from '@zag-js/color-picker';
|
|
2
|
-
import { type ColorPickerProps } from './color-picker';
|
|
3
2
|
import { ColorPickerArea, type ColorPickerAreaProps } from './color-picker-area';
|
|
4
3
|
import { ColorPickerAreaBackground, type ColorPickerAreaBackgroundProps } from './color-picker-area-background';
|
|
5
4
|
import { useColorPickerAreaContext, type ColorPickerAreaContext } from './color-picker-area-context';
|
|
@@ -17,6 +16,7 @@ import { ColorPickerFormatSelect, type ColorPickerFormatSelectProps } from './co
|
|
|
17
16
|
import { ColorPickerFormatTrigger, type ColorPickerFormatTriggerProps } from './color-picker-format-trigger';
|
|
18
17
|
import { ColorPickerLabel, type ColorPickerLabelProps } from './color-picker-label';
|
|
19
18
|
import { ColorPickerPositioner, type ColorPickerPositionerProps } from './color-picker-positioner';
|
|
19
|
+
import { ColorPickerRoot, type ColorPickerRootProps } from './color-picker-root';
|
|
20
20
|
import { ColorPickerSwatch, type ColorPickerSwatchProps } from './color-picker-swatch';
|
|
21
21
|
import { ColorPickerSwatchGroup, type ColorPickerSwatchGroupProps } from './color-picker-swatch-group';
|
|
22
22
|
import { ColorPickerSwatchIndicator, type ColorPickerSwatchIndicatorProps } from './color-picker-swatch-indicator';
|
|
@@ -25,30 +25,6 @@ import { ColorPickerTransparencyGrid, type ColorPickerTransparencyGridProps } fr
|
|
|
25
25
|
import { ColorPickerTrigger, type ColorPickerTriggerProps } from './color-picker-trigger';
|
|
26
26
|
import { ColorPickerValueText, type ColorPickerValueTextProps } from './color-picker-value-text';
|
|
27
27
|
import { ColorPickerView, type ColorPickerViewProps } from './color-picker-view';
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
AreaBackground: (props: ColorPickerAreaBackgroundProps) => import("solid-js").JSX.Element;
|
|
32
|
-
AreaThumb: (props: ColorPickerAreaThumbProps) => import("solid-js").JSX.Element;
|
|
33
|
-
ChannelInput: (props: ColorPickerChannelInputProps) => import("solid-js").JSX.Element;
|
|
34
|
-
ChannelSlider: (props: ColorPickerChannelSliderProps) => import("solid-js").JSX.Element;
|
|
35
|
-
ChannelSliderThumb: (props: ColorPickerChannelSliderThumbProps) => import("solid-js").JSX.Element;
|
|
36
|
-
ChannelSliderTrack: (props: ColorPickerChannelSliderTrackProps) => import("solid-js").JSX.Element;
|
|
37
|
-
Content: (props: ColorPickerContentProps) => import("solid-js").JSX.Element;
|
|
38
|
-
Control: (props: ColorPickerControlProps) => import("solid-js").JSX.Element;
|
|
39
|
-
EyeDropperTrigger: (props: ColorPickerEyeDropperTriggerProps) => import("solid-js").JSX.Element;
|
|
40
|
-
FormatTrigger: (props: ColorPickerFormatTriggerProps) => import("solid-js").JSX.Element;
|
|
41
|
-
FormatSelect: (props: ColorPickerFormatSelectProps) => import("solid-js").JSX.Element;
|
|
42
|
-
Label: (props: ColorPickerLabelProps) => import("solid-js").JSX.Element;
|
|
43
|
-
Positioner: (props: ColorPickerPositionerProps) => import("solid-js").JSX.Element;
|
|
44
|
-
Swatch: (props: ColorPickerSwatchProps) => import("solid-js").JSX.Element;
|
|
45
|
-
SwatchGroup: (props: ColorPickerSwatchGroupProps) => import("solid-js").JSX.Element;
|
|
46
|
-
SwatchIndicator: (props: ColorPickerSwatchIndicatorProps) => import("solid-js").JSX.Element;
|
|
47
|
-
SwatchTrigger: (props: ColorPickerSwatchTriggerProps) => import("solid-js").JSX.Element;
|
|
48
|
-
TransparencyGrid: (props: ColorPickerTransparencyGridProps) => import("solid-js").JSX.Element;
|
|
49
|
-
Trigger: (props: ColorPickerTriggerProps) => import("solid-js").JSX.Element;
|
|
50
|
-
ValueText: (props: ColorPickerValueTextProps) => import("solid-js").JSX.Element;
|
|
51
|
-
View: (props: ColorPickerViewProps) => import("solid-js").JSX.Element;
|
|
52
|
-
};
|
|
53
|
-
export { ColorPicker, ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerContent, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerLabel, ColorPickerPositioner, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueText, ColorPickerView, useColorPickerAreaContext, useColorPickerChannelSliderContext, useColorPickerContext, };
|
|
54
|
-
export type { ColorFormat, ColorPickerAreaBackgroundProps, ColorPickerAreaContext, ColorPickerAreaProps, ColorPickerAreaThumbProps, ColorPickerChannelInputProps, ColorPickerChannelSliderContext, ColorPickerChannelSliderProps, ColorPickerChannelSliderThumbProps, ColorPickerChannelSliderTrackProps, ColorPickerContentProps, ColorPickerContext, ColorPickerControlProps, ColorPickerEyeDropperTriggerProps, ColorPickerFormatChangeDetails, ColorPickerFormatSelectProps, ColorPickerFormatTriggerProps, ColorPickerLabelProps, ColorPickerOpenChangeDetails, ColorPickerPositionerProps, ColorPickerProps, ColorPickerSwatchGroupProps, ColorPickerSwatchIndicatorProps, ColorPickerSwatchProps, ColorPickerSwatchTriggerProps, ColorPickerTransparencyGridProps, ColorPickerTriggerProps, ColorPickerValueChangeDetails, ColorPickerValueTextProps, ColorPickerViewProps, };
|
|
28
|
+
export * as ColorPicker from './color-picker';
|
|
29
|
+
export { ColorPickerArea, ColorPickerAreaBackground, ColorPickerAreaThumb, ColorPickerChannelInput, ColorPickerChannelSlider, ColorPickerChannelSliderThumb, ColorPickerChannelSliderTrack, ColorPickerContent, ColorPickerControl, ColorPickerEyeDropperTrigger, ColorPickerFormatSelect, ColorPickerFormatTrigger, ColorPickerLabel, ColorPickerPositioner, ColorPickerRoot, ColorPickerSwatch, ColorPickerSwatchGroup, ColorPickerSwatchIndicator, ColorPickerSwatchTrigger, ColorPickerTransparencyGrid, ColorPickerTrigger, ColorPickerValueText, ColorPickerView, useColorPickerAreaContext, useColorPickerChannelSliderContext, useColorPickerContext, };
|
|
30
|
+
export type { ColorFormat, ColorPickerAreaBackgroundProps, ColorPickerAreaContext, ColorPickerAreaProps, ColorPickerAreaThumbProps, ColorPickerChannelInputProps, ColorPickerChannelSliderContext, ColorPickerChannelSliderProps, ColorPickerChannelSliderThumbProps, ColorPickerChannelSliderTrackProps, ColorPickerContentProps, ColorPickerContext, ColorPickerControlProps, ColorPickerEyeDropperTriggerProps, ColorPickerFormatChangeDetails, ColorPickerFormatSelectProps, ColorPickerFormatTriggerProps, ColorPickerLabelProps, ColorPickerOpenChangeDetails, ColorPickerPositionerProps, ColorPickerRootProps, ColorPickerSwatchGroupProps, ColorPickerSwatchIndicatorProps, ColorPickerSwatchProps, ColorPickerSwatchTriggerProps, ColorPickerTransparencyGridProps, ColorPickerTriggerProps, ColorPickerValueChangeDetails, ColorPickerValueTextProps, ColorPickerViewProps, };
|
|
@@ -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'>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type JSX } from 'solid-js';
|
|
2
|
+
import { type HTMLArkProps } from '../factory';
|
|
3
|
+
import { type UsePresenceProps } from '../presence';
|
|
4
|
+
import type { Assign, CollectionItem } from '../types';
|
|
5
|
+
import { type UseComboboxProps, type UseComboboxReturn } from './use-combobox';
|
|
6
|
+
export interface ComboboxRootProps<T extends CollectionItem> extends Assign<Assign<HTMLArkProps<'div'>, {
|
|
7
|
+
children?: JSX.Element | ((api: UseComboboxReturn<T>) => JSX.Element);
|
|
8
|
+
}>, UseComboboxProps<T>>, UsePresenceProps {
|
|
9
|
+
}
|
|
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,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
import { ComboboxClearTrigger as ClearTrigger } from './combobox-clear-trigger';
|
|
2
|
+
import { ComboboxContent as Content } from './combobox-content';
|
|
3
|
+
import { ComboboxControl as Control } from './combobox-control';
|
|
4
|
+
import { ComboboxInput as Input } from './combobox-input';
|
|
5
|
+
import { ComboboxItem as Item } from './combobox-item';
|
|
6
|
+
import { ComboboxItemGroup as ItemGroup } from './combobox-item-group';
|
|
7
|
+
import { ComboboxItemGroupLabel as ItemGroupLabel } from './combobox-item-group-label';
|
|
8
|
+
import { ComboboxItemIndicator as ItemIndicator } from './combobox-item-indicator';
|
|
9
|
+
import { ComboboxItemText as ItemText } from './combobox-item-text';
|
|
10
|
+
import { ComboboxLabel as Label } from './combobox-label';
|
|
11
|
+
import { ComboboxPositioner as Positioner } from './combobox-positioner';
|
|
12
|
+
import { ComboboxRoot as Root } from './combobox-root';
|
|
13
|
+
import { ComboboxTrigger as Trigger } from './combobox-trigger';
|
|
14
|
+
export { ClearTrigger, Content, Control, Input, Item, ItemGroup, ItemGroupLabel, ItemIndicator, ItemText, Label, Positioner, Root, Trigger, };
|