@ark-ui/vue 5.29.1 → 5.31.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/dist/components/accordion/accordion-item-content.vue.cjs +1 -0
- package/dist/components/accordion/accordion-item-content.vue.js +2 -1
- package/dist/components/accordion/accordion-item-indicator.vue.js +1 -1
- package/dist/components/accordion/accordion-item-trigger.vue.js +1 -1
- package/dist/components/accordion/accordion-item.vue.js +1 -1
- package/dist/components/accordion/accordion-root-provider.vue.js +1 -1
- package/dist/components/accordion/accordion-root.vue.js +1 -1
- package/dist/components/accordion/index.cjs +4 -4
- package/dist/components/anatomy.cjs +5 -0
- package/dist/components/anatomy.d.cts +1 -0
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +1 -0
- package/dist/components/angle-slider/angle-slider-control.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-hidden-input.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-label.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-marker-group.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-marker.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-root-provider.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-root.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-thumb.vue.js +1 -1
- package/dist/components/angle-slider/angle-slider-value-text.vue.js +1 -1
- package/dist/components/angle-slider/index.cjs +4 -4
- package/dist/components/avatar/avatar-fallback.vue.js +1 -1
- package/dist/components/avatar/avatar-image.vue.js +1 -1
- package/dist/components/avatar/avatar-root-provider.vue.js +1 -1
- package/dist/components/avatar/avatar-root.vue.js +1 -1
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/bottom-sheet/bottom-sheet-backdrop.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-close-trigger.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-content.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-grabber-indicator.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-grabber.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-root.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-title.vue.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet-trigger.vue.js +1 -1
- package/dist/components/bottom-sheet/index.cjs +4 -4
- package/dist/components/carousel/carousel-autoplay-indicator.vue.js +1 -1
- package/dist/components/carousel/carousel-autoplay-trigger.vue.js +1 -1
- package/dist/components/carousel/carousel-control.vue.js +1 -1
- package/dist/components/carousel/carousel-indicator-group.vue.js +1 -1
- package/dist/components/carousel/carousel-indicator.vue.js +1 -1
- package/dist/components/carousel/carousel-item-group.vue.js +1 -1
- package/dist/components/carousel/carousel-item.vue.js +1 -1
- package/dist/components/carousel/carousel-next-trigger.vue.js +1 -1
- package/dist/components/carousel/carousel-prev-trigger.vue.js +1 -1
- package/dist/components/carousel/carousel-progress-text.vue.js +1 -1
- package/dist/components/carousel/carousel-root-provider.vue.js +1 -1
- package/dist/components/carousel/carousel-root.vue.js +1 -1
- package/dist/components/checkbox/checkbox-control.vue.js +1 -1
- package/dist/components/checkbox/checkbox-group-provider.vue.js +1 -1
- package/dist/components/checkbox/checkbox-group.vue.js +1 -1
- package/dist/components/checkbox/checkbox-hidden-input.vue.js +1 -1
- package/dist/components/checkbox/checkbox-indicator.vue.js +1 -1
- package/dist/components/checkbox/checkbox-label.vue.js +1 -1
- package/dist/components/checkbox/checkbox-root-provider.vue.js +1 -1
- package/dist/components/checkbox/checkbox-root.vue.js +1 -1
- package/dist/components/checkbox/use-checkbox-group.cjs +10 -5
- package/dist/components/checkbox/use-checkbox-group.d.cts +2 -2
- package/dist/components/checkbox/use-checkbox-group.d.ts +2 -2
- package/dist/components/checkbox/use-checkbox-group.js +10 -5
- package/dist/components/checkbox/use-checkbox.cjs +1 -1
- package/dist/components/checkbox/use-checkbox.js +1 -1
- package/dist/components/clipboard/clipboard-control.vue.js +1 -1
- package/dist/components/clipboard/clipboard-indicator.vue.js +1 -1
- package/dist/components/clipboard/clipboard-input.vue.js +1 -1
- package/dist/components/clipboard/clipboard-label.vue.js +1 -1
- package/dist/components/clipboard/clipboard-root-provider.vue.js +1 -1
- package/dist/components/clipboard/clipboard-root.vue.js +1 -1
- package/dist/components/clipboard/clipboard-trigger.vue.js +1 -1
- package/dist/components/clipboard/clipboard-value-text.vue.js +1 -1
- package/dist/components/clipboard/index.cjs +4 -4
- package/dist/components/collapsible/collapsible-content.vue.js +1 -1
- package/dist/components/collapsible/collapsible-indicator.vue.js +1 -1
- package/dist/components/collapsible/collapsible-root-provider.vue.js +1 -1
- package/dist/components/collapsible/collapsible-root.vue.js +1 -1
- package/dist/components/collapsible/collapsible-trigger.vue.js +1 -1
- package/dist/components/collapsible/index.cjs +4 -4
- package/dist/components/collection/tree-collection.js +1 -1
- package/dist/components/color-picker/color-picker-area-background.vue.js +1 -1
- package/dist/components/color-picker/color-picker-area-thumb.vue.js +1 -1
- package/dist/components/color-picker/color-picker-area.vue.js +1 -1
- package/dist/components/color-picker/color-picker-channel-input.vue.js +1 -1
- package/dist/components/color-picker/color-picker-channel-slider-label.vue.js +1 -1
- package/dist/components/color-picker/color-picker-channel-slider-thumb.vue.js +1 -1
- package/dist/components/color-picker/color-picker-channel-slider-track.vue.js +1 -1
- package/dist/components/color-picker/color-picker-channel-slider-value-text.vue.js +1 -1
- package/dist/components/color-picker/color-picker-channel-slider.vue.js +1 -1
- package/dist/components/color-picker/color-picker-content.vue.js +1 -1
- package/dist/components/color-picker/color-picker-control.vue.js +1 -1
- package/dist/components/color-picker/color-picker-eye-dropper-trigger.vue.js +1 -1
- package/dist/components/color-picker/color-picker-format-select.vue.js +1 -1
- package/dist/components/color-picker/color-picker-format-trigger.vue.js +1 -1
- package/dist/components/color-picker/color-picker-hidden-input.vue.js +1 -1
- package/dist/components/color-picker/color-picker-label.vue.js +1 -1
- package/dist/components/color-picker/color-picker-positioner.vue.cjs +2 -11
- package/dist/components/color-picker/color-picker-positioner.vue.js +4 -13
- package/dist/components/color-picker/color-picker-root-provider.vue.cjs +15 -1
- package/dist/components/color-picker/color-picker-root-provider.vue.d.cts +8 -1
- package/dist/components/color-picker/color-picker-root-provider.vue.d.ts +8 -1
- package/dist/components/color-picker/color-picker-root-provider.vue.js +16 -2
- package/dist/components/color-picker/color-picker-root.vue.cjs +14 -3
- package/dist/components/color-picker/color-picker-root.vue.d.cts +3 -1
- package/dist/components/color-picker/color-picker-root.vue.d.ts +3 -1
- package/dist/components/color-picker/color-picker-root.vue.js +15 -4
- package/dist/components/color-picker/color-picker-swatch-group.vue.js +1 -1
- package/dist/components/color-picker/color-picker-swatch-indicator.vue.js +1 -1
- package/dist/components/color-picker/color-picker-swatch-trigger.vue.js +1 -1
- package/dist/components/color-picker/color-picker-swatch.vue.js +1 -1
- package/dist/components/color-picker/color-picker-transparency-grid.vue.js +1 -1
- package/dist/components/color-picker/color-picker-trigger.vue.js +1 -1
- package/dist/components/color-picker/color-picker-value-swatch.vue.js +1 -1
- package/dist/components/color-picker/color-picker-value-text.vue.js +1 -1
- package/dist/components/color-picker/color-picker-view.vue.js +1 -1
- package/dist/components/color-picker/color-picker.types.d.cts +4 -0
- package/dist/components/color-picker/color-picker.types.d.ts +4 -0
- package/dist/components/color-picker/index.cjs +4 -4
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/combobox/combobox-clear-trigger.vue.js +1 -1
- package/dist/components/combobox/combobox-content.vue.js +1 -1
- package/dist/components/combobox/combobox-control.vue.js +1 -1
- package/dist/components/combobox/combobox-empty.vue.js +1 -1
- package/dist/components/combobox/combobox-input.vue.js +1 -1
- package/dist/components/combobox/combobox-item-group-label.vue.js +1 -1
- package/dist/components/combobox/combobox-item-group.vue.js +1 -1
- package/dist/components/combobox/combobox-item-indicator.vue.js +1 -1
- package/dist/components/combobox/combobox-item-text.vue.js +1 -1
- package/dist/components/combobox/combobox-item.vue.js +1 -1
- package/dist/components/combobox/combobox-label.vue.js +1 -1
- package/dist/components/combobox/combobox-list.vue.js +1 -1
- package/dist/components/combobox/combobox-positioner.vue.cjs +2 -11
- package/dist/components/combobox/combobox-positioner.vue.js +4 -13
- package/dist/components/combobox/combobox-root-provider.vue.cjs +15 -1
- package/dist/components/combobox/combobox-root-provider.vue.d.cts +7 -2
- package/dist/components/combobox/combobox-root-provider.vue.d.ts +7 -2
- package/dist/components/combobox/combobox-root-provider.vue.js +16 -2
- package/dist/components/combobox/combobox-root.vue.cjs +12 -1
- package/dist/components/combobox/combobox-root.vue.d.cts +4 -3
- package/dist/components/combobox/combobox-root.vue.d.ts +4 -3
- package/dist/components/combobox/combobox-root.vue.js +13 -2
- package/dist/components/combobox/combobox-trigger.vue.js +1 -1
- package/dist/components/combobox/combobox.types.d.cts +4 -0
- package/dist/components/combobox/combobox.types.d.ts +4 -0
- package/dist/components/combobox/index.d.cts +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/date-picker/date-picker-clear-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-content.vue.js +1 -1
- package/dist/components/date-picker/date-picker-control.vue.js +1 -1
- package/dist/components/date-picker/date-picker-input.vue.js +1 -1
- package/dist/components/date-picker/date-picker-label.vue.js +1 -1
- package/dist/components/date-picker/date-picker-month-select.vue.js +1 -1
- package/dist/components/date-picker/date-picker-next-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-positioner.vue.cjs +3 -12
- package/dist/components/date-picker/date-picker-positioner.vue.js +4 -13
- package/dist/components/date-picker/date-picker-preset-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-prev-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-range-text.vue.js +1 -1
- package/dist/components/date-picker/date-picker-root-provider.vue.cjs +16 -2
- package/dist/components/date-picker/date-picker-root-provider.vue.d.cts +8 -1
- package/dist/components/date-picker/date-picker-root-provider.vue.d.ts +8 -1
- package/dist/components/date-picker/date-picker-root-provider.vue.js +17 -3
- package/dist/components/date-picker/date-picker-root.vue.cjs +18 -3
- package/dist/components/date-picker/date-picker-root.vue.d.cts +7 -2
- package/dist/components/date-picker/date-picker-root.vue.d.ts +7 -2
- package/dist/components/date-picker/date-picker-root.vue.js +19 -4
- package/dist/components/date-picker/date-picker-table-body.vue.js +1 -1
- package/dist/components/date-picker/date-picker-table-cell-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-table-cell.vue.js +1 -1
- package/dist/components/date-picker/date-picker-table-head.vue.js +1 -1
- package/dist/components/date-picker/date-picker-table-header.vue.js +1 -1
- package/dist/components/date-picker/date-picker-table-row.vue.js +1 -1
- package/dist/components/date-picker/date-picker-table.vue.js +1 -1
- package/dist/components/date-picker/date-picker-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-value-text.vue.cjs +55 -0
- package/dist/components/date-picker/date-picker-value-text.vue.d.cts +42 -0
- package/dist/components/date-picker/date-picker-value-text.vue.d.ts +42 -0
- package/dist/components/date-picker/date-picker-value-text.vue.js +51 -0
- package/dist/components/date-picker/date-picker-value-text.vue2.cjs +9 -0
- package/dist/components/date-picker/date-picker-value-text.vue2.js +5 -0
- package/dist/components/date-picker/date-picker-view-control.vue.js +1 -1
- package/dist/components/date-picker/date-picker-view-trigger.vue.js +1 -1
- package/dist/components/date-picker/date-picker-view.vue.js +1 -1
- package/dist/components/date-picker/date-picker-year-select.vue.js +1 -1
- package/dist/components/date-picker/date-picker.anatomy.cjs +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.cts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.ts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.js +1 -1
- package/dist/components/date-picker/date-picker.cjs +2 -0
- package/dist/components/date-picker/date-picker.d.cts +1 -0
- package/dist/components/date-picker/date-picker.d.ts +1 -0
- package/dist/components/date-picker/date-picker.js +1 -0
- package/dist/components/date-picker/date-picker.types.d.cts +16 -0
- package/dist/components/date-picker/date-picker.types.d.ts +16 -0
- package/dist/components/date-picker/index.cjs +6 -4
- package/dist/components/date-picker/index.d.cts +2 -1
- package/dist/components/date-picker/index.d.ts +2 -1
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/use-date-picker.cjs +4 -0
- package/dist/components/date-picker/use-date-picker.js +4 -0
- package/dist/components/dialog/dialog-backdrop.vue.js +1 -1
- package/dist/components/dialog/dialog-close-trigger.vue.js +1 -1
- package/dist/components/dialog/dialog-content.vue.js +1 -1
- package/dist/components/dialog/dialog-description.vue.js +1 -1
- package/dist/components/dialog/dialog-positioner.vue.cjs +1 -10
- package/dist/components/dialog/dialog-positioner.vue.js +3 -12
- package/dist/components/dialog/dialog-root-provider.vue.cjs +15 -1
- package/dist/components/dialog/dialog-root-provider.vue.d.cts +8 -1
- package/dist/components/dialog/dialog-root-provider.vue.d.ts +8 -1
- package/dist/components/dialog/dialog-root-provider.vue.js +15 -1
- package/dist/components/dialog/dialog-root.vue.cjs +12 -1
- package/dist/components/dialog/dialog-root.vue.d.cts +3 -1
- package/dist/components/dialog/dialog-root.vue.d.ts +3 -1
- package/dist/components/dialog/dialog-root.vue.js +13 -2
- package/dist/components/dialog/dialog-title.vue.js +1 -1
- package/dist/components/dialog/dialog-trigger.vue.js +1 -1
- package/dist/components/dialog/dialog.types.d.cts +4 -0
- package/dist/components/dialog/dialog.types.d.ts +4 -0
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/dialog/index.d.cts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/download-trigger/download-trigger.vue.js +1 -1
- package/dist/components/editable/editable-area.vue.js +1 -1
- package/dist/components/editable/editable-cancel-trigger.vue.js +1 -1
- package/dist/components/editable/editable-control.vue.js +1 -1
- package/dist/components/editable/editable-edit-trigger.vue.js +1 -1
- package/dist/components/editable/editable-input.vue.js +1 -1
- package/dist/components/editable/editable-label.vue.js +1 -1
- package/dist/components/editable/editable-preview.vue.js +1 -1
- package/dist/components/editable/editable-root-provider.vue.js +1 -1
- package/dist/components/editable/editable-root.vue.d.cts +1 -1
- package/dist/components/editable/editable-root.vue.d.ts +1 -1
- package/dist/components/editable/editable-root.vue.js +1 -1
- package/dist/components/editable/editable-submit-trigger.vue.js +1 -1
- package/dist/components/editable/index.cjs +4 -4
- package/dist/components/field/field-error-text.vue.js +1 -1
- package/dist/components/field/field-helper-text.vue.js +1 -1
- package/dist/components/field/field-input.vue.js +1 -1
- package/dist/components/field/field-label.vue.js +1 -1
- package/dist/components/field/field-required-indicator.vue.js +1 -1
- package/dist/components/field/field-root-provider.vue.js +1 -1
- package/dist/components/field/field-root.vue.js +1 -1
- package/dist/components/field/field-select.vue.js +1 -1
- package/dist/components/field/field-textarea.vue.js +1 -1
- package/dist/components/fieldset/fieldset-error-text.vue.js +1 -1
- package/dist/components/fieldset/fieldset-helper-text.vue.js +1 -1
- package/dist/components/fieldset/fieldset-legend.vue.js +1 -1
- package/dist/components/fieldset/fieldset-root-provider.vue.js +1 -1
- package/dist/components/fieldset/fieldset-root.vue.js +1 -1
- package/dist/components/fieldset/use-fieldset.cjs +5 -0
- package/dist/components/fieldset/use-fieldset.d.cts +5 -0
- package/dist/components/fieldset/use-fieldset.d.ts +5 -0
- package/dist/components/fieldset/use-fieldset.js +5 -0
- package/dist/components/file-upload/file-upload-clear-trigger.vue.js +1 -1
- package/dist/components/file-upload/file-upload-dropzone.vue.js +1 -1
- package/dist/components/file-upload/file-upload-hidden-input.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item-delete-trigger.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item-group.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item-name.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item-preview-image.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item-preview.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item-size-text.vue.js +1 -1
- package/dist/components/file-upload/file-upload-item.vue.js +1 -1
- package/dist/components/file-upload/file-upload-label.vue.js +1 -1
- package/dist/components/file-upload/file-upload-root-provider.vue.js +1 -1
- package/dist/components/file-upload/file-upload-root.vue.cjs +2 -0
- package/dist/components/file-upload/file-upload-root.vue.d.cts +1 -0
- package/dist/components/file-upload/file-upload-root.vue.d.ts +1 -0
- package/dist/components/file-upload/file-upload-root.vue.js +3 -1
- package/dist/components/file-upload/file-upload-trigger.vue.js +1 -1
- package/dist/components/file-upload/file-upload.types.d.cts +4 -0
- package/dist/components/file-upload/file-upload.types.d.ts +4 -0
- package/dist/components/file-upload/index.cjs +4 -4
- package/dist/components/floating-panel/floating-panel-body.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-close-trigger.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-content.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-control.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-drag-trigger.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-header.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-positioner.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-resize-trigger.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-root.vue.d.cts +1 -2
- package/dist/components/floating-panel/floating-panel-root.vue.d.ts +1 -2
- package/dist/components/floating-panel/floating-panel-root.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-stage-trigger.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-title.vue.js +1 -1
- package/dist/components/floating-panel/floating-panel-trigger.vue.js +1 -1
- package/dist/components/floating-panel/index.cjs +4 -4
- package/dist/components/focus-trap/focus-trap.vue.js +1 -1
- package/dist/components/frame/frame.vue.js +1 -1
- package/dist/components/highlight/highlight.vue.js +1 -1
- package/dist/components/hover-card/hover-card-arrow-tip.vue.js +1 -1
- package/dist/components/hover-card/hover-card-arrow.vue.js +1 -1
- package/dist/components/hover-card/hover-card-content.vue.js +1 -1
- package/dist/components/hover-card/hover-card-positioner.vue.cjs +2 -11
- package/dist/components/hover-card/hover-card-positioner.vue.js +4 -13
- package/dist/components/hover-card/hover-card-root-provider.vue.cjs +15 -1
- package/dist/components/hover-card/hover-card-root-provider.vue.d.cts +8 -1
- package/dist/components/hover-card/hover-card-root-provider.vue.d.ts +8 -1
- package/dist/components/hover-card/hover-card-root-provider.vue.js +15 -1
- package/dist/components/hover-card/hover-card-root.vue.cjs +12 -1
- package/dist/components/hover-card/hover-card-root.vue.d.cts +3 -1
- package/dist/components/hover-card/hover-card-root.vue.d.ts +3 -1
- package/dist/components/hover-card/hover-card-root.vue.js +13 -2
- package/dist/components/hover-card/hover-card-trigger.vue.js +1 -1
- package/dist/components/hover-card/hover-card.types.d.cts +4 -0
- package/dist/components/hover-card/hover-card.types.d.ts +4 -0
- package/dist/components/hover-card/index.cjs +4 -4
- package/dist/components/hover-card/index.d.cts +1 -1
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/image-cropper/image-cropper-context.vue.cjs +2 -6
- package/dist/components/image-cropper/image-cropper-context.vue.d.cts +9 -6
- package/dist/components/image-cropper/image-cropper-context.vue.d.ts +9 -6
- package/dist/components/image-cropper/image-cropper-context.vue.js +4 -8
- package/dist/components/image-cropper/image-cropper-grid.vue.js +1 -1
- package/dist/components/image-cropper/image-cropper-handle.vue.js +1 -1
- package/dist/components/image-cropper/image-cropper-image.vue.js +1 -1
- package/dist/components/image-cropper/image-cropper-root-provider.vue.js +1 -1
- package/dist/components/image-cropper/image-cropper-root.vue.js +1 -1
- package/dist/components/image-cropper/image-cropper-selection.vue.js +1 -1
- package/dist/components/image-cropper/image-cropper-viewport.vue.js +1 -1
- package/dist/components/index.cjs +162 -141
- package/dist/components/index.js +5 -0
- package/dist/components/json-tree-view/json-tree-view-key-node.vue.js +1 -1
- package/dist/components/json-tree-view/json-tree-view-node.vue.js +1 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.vue.cjs +13 -2
- package/dist/components/json-tree-view/json-tree-view-root-provider.vue.d.cts +3 -11
- package/dist/components/json-tree-view/json-tree-view-root-provider.vue.d.ts +3 -11
- package/dist/components/json-tree-view/json-tree-view-root-provider.vue.js +14 -3
- package/dist/components/json-tree-view/json-tree-view-root.vue.js +1 -1
- package/dist/components/json-tree-view/json-tree-view-tree.vue.js +1 -1
- package/dist/components/json-tree-view/json-tree-view-value-node.vue.js +1 -1
- package/dist/components/json-tree-view/use-json-tree-view.cjs +12 -2
- package/dist/components/json-tree-view/use-json-tree-view.d.cts +9 -4
- package/dist/components/json-tree-view/use-json-tree-view.d.ts +9 -4
- package/dist/components/json-tree-view/use-json-tree-view.js +14 -4
- package/dist/components/listbox/listbox-content.vue.js +1 -1
- package/dist/components/listbox/listbox-empty.vue.js +1 -1
- package/dist/components/listbox/listbox-input.vue.js +1 -1
- package/dist/components/listbox/listbox-item-group-label.vue.js +1 -1
- package/dist/components/listbox/listbox-item-group.vue.js +1 -1
- package/dist/components/listbox/listbox-item-indicator.vue.js +1 -1
- package/dist/components/listbox/listbox-item-text.vue.js +1 -1
- package/dist/components/listbox/listbox-item.vue.js +1 -1
- package/dist/components/listbox/listbox-label.vue.js +1 -1
- package/dist/components/listbox/listbox-root-provider.vue.js +1 -1
- package/dist/components/listbox/listbox-root.vue.js +1 -1
- package/dist/components/listbox/listbox-value-text.vue.js +1 -1
- package/dist/components/marquee/index.cjs +4 -4
- package/dist/components/marquee/marquee-content.vue.js +1 -1
- package/dist/components/marquee/marquee-edge.vue.js +1 -1
- package/dist/components/marquee/marquee-item.vue.js +1 -1
- package/dist/components/marquee/marquee-root-provider.vue.js +1 -1
- package/dist/components/marquee/marquee-root.vue.js +1 -1
- package/dist/components/marquee/marquee-viewport.vue.js +1 -1
- package/dist/components/menu/index.cjs +4 -4
- package/dist/components/menu/index.d.cts +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menu-arrow-tip.vue.js +1 -1
- package/dist/components/menu/menu-arrow.vue.js +1 -1
- package/dist/components/menu/menu-checkbox-item.vue.js +1 -1
- package/dist/components/menu/menu-content.vue.js +1 -1
- package/dist/components/menu/menu-context-trigger.vue.js +1 -1
- package/dist/components/menu/menu-indicator.vue.js +1 -1
- package/dist/components/menu/menu-item-group-label.vue.js +1 -1
- package/dist/components/menu/menu-item-group.vue.js +1 -1
- package/dist/components/menu/menu-item-indicator.vue.js +1 -1
- package/dist/components/menu/menu-item-text.vue.js +1 -1
- package/dist/components/menu/menu-item.vue.js +1 -1
- package/dist/components/menu/menu-positioner.vue.cjs +3 -12
- package/dist/components/menu/menu-positioner.vue.js +4 -13
- package/dist/components/menu/menu-radio-item-group.vue.js +1 -1
- package/dist/components/menu/menu-radio-item.vue.js +1 -1
- package/dist/components/menu/menu-root-provider.vue.cjs +15 -1
- package/dist/components/menu/menu-root-provider.vue.d.cts +8 -1
- package/dist/components/menu/menu-root-provider.vue.d.ts +8 -1
- package/dist/components/menu/menu-root-provider.vue.js +16 -2
- package/dist/components/menu/menu-root.vue.cjs +12 -1
- package/dist/components/menu/menu-root.vue.d.cts +3 -1
- package/dist/components/menu/menu-root.vue.d.ts +3 -1
- package/dist/components/menu/menu-root.vue.js +13 -2
- package/dist/components/menu/menu-separator.vue.js +1 -1
- package/dist/components/menu/menu-trigger-item.vue.js +1 -1
- package/dist/components/menu/menu-trigger.vue.js +1 -1
- package/dist/components/menu/menu.types.d.cts +4 -0
- package/dist/components/menu/menu.types.d.ts +4 -0
- package/dist/components/navigation-menu/index.cjs +44 -0
- package/dist/components/navigation-menu/index.d.cts +18 -0
- package/dist/components/navigation-menu/index.d.ts +18 -0
- package/dist/components/navigation-menu/index.js +18 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.vue.cjs +29 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.vue.d.cts +19 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.vue.d.ts +19 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.vue.js +25 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-arrow.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-content.vue.cjs +57 -0
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.cts +21 -0
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +21 -0
- package/dist/components/navigation-menu/navigation-menu-content.vue.js +53 -0
- package/dist/components/navigation-menu/navigation-menu-content.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-content.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-context.vue.cjs +18 -0
- package/dist/components/navigation-menu/navigation-menu-context.vue.d.cts +17 -0
- package/dist/components/navigation-menu/navigation-menu-context.vue.d.ts +17 -0
- package/dist/components/navigation-menu/navigation-menu-context.vue.js +14 -0
- package/dist/components/navigation-menu/navigation-menu-context.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-context.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.cjs +35 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.cts +19 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +19 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.js +31 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.vue.cjs +34 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.vue.d.cts +19 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.vue.d.ts +19 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.vue.js +30 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-item-indicator.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-item.vue.cjs +35 -0
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.cts +20 -0
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +20 -0
- package/dist/components/navigation-menu/navigation-menu-item.vue.js +31 -0
- package/dist/components/navigation-menu/navigation-menu-item.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-item.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-link.vue.cjs +38 -0
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.cts +20 -0
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +20 -0
- package/dist/components/navigation-menu/navigation-menu-link.vue.js +34 -0
- package/dist/components/navigation-menu/navigation-menu-link.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-link.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-list.vue.cjs +29 -0
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.cts +19 -0
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +19 -0
- package/dist/components/navigation-menu/navigation-menu-list.vue.js +25 -0
- package/dist/components/navigation-menu/navigation-menu-list.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-list.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.vue.cjs +35 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.vue.d.cts +19 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.vue.d.ts +19 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.vue.js +31 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-root-provider.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue.cjs +51 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.cts +29 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +29 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue.js +47 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-root.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.cjs +40 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.cts +20 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +20 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.js +36 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.vue.cjs +34 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.vue.d.cts +20 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.vue.d.ts +20 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.vue.js +30 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.cjs +39 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.cts +19 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +19 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.js +35 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.vue2.cjs +9 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.vue2.js +5 -0
- package/dist/components/navigation-menu/navigation-menu.anatomy.d.cts +1 -0
- package/dist/components/navigation-menu/navigation-menu.anatomy.d.ts +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +33 -0
- package/dist/components/navigation-menu/navigation-menu.d.cts +14 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +14 -0
- package/dist/components/navigation-menu/navigation-menu.js +13 -0
- package/dist/components/navigation-menu/navigation-menu.types.d.cts +64 -0
- package/dist/components/navigation-menu/navigation-menu.types.d.ts +64 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.cjs +10 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.d.cts +4 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.d.ts +4 -0
- package/dist/components/navigation-menu/use-navigation-menu-context.js +5 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.cjs +10 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.d.cts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.d.ts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-item-props-context.js +5 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.cjs +10 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.d.cts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.d.ts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.js +5 -0
- package/dist/components/navigation-menu/use-navigation-menu.cjs +53 -0
- package/dist/components/navigation-menu/use-navigation-menu.d.cts +10 -0
- package/dist/components/navigation-menu/use-navigation-menu.d.ts +10 -0
- package/dist/components/navigation-menu/use-navigation-menu.js +30 -0
- package/dist/components/number-input/index.cjs +4 -4
- package/dist/components/number-input/number-input-control.vue.js +1 -1
- package/dist/components/number-input/number-input-decrement-trigger.vue.js +1 -1
- package/dist/components/number-input/number-input-increment-trigger.vue.js +1 -1
- package/dist/components/number-input/number-input-input.vue.js +1 -1
- package/dist/components/number-input/number-input-label.vue.js +1 -1
- package/dist/components/number-input/number-input-root-provider.vue.js +1 -1
- package/dist/components/number-input/number-input-root.vue.js +1 -1
- package/dist/components/number-input/number-input-scrubber.vue.js +1 -1
- package/dist/components/number-input/number-input-value-text.vue.js +1 -1
- package/dist/components/pagination/index.cjs +8 -4
- package/dist/components/pagination/index.d.cts +2 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/index.js +2 -0
- package/dist/components/pagination/pagination-ellipsis.vue.js +1 -1
- package/dist/components/pagination/pagination-first-trigger.vue.cjs +29 -0
- package/dist/components/pagination/pagination-first-trigger.vue.d.cts +19 -0
- package/dist/components/pagination/pagination-first-trigger.vue.d.ts +19 -0
- package/dist/components/pagination/pagination-first-trigger.vue.js +25 -0
- package/dist/components/pagination/pagination-first-trigger.vue2.cjs +9 -0
- package/dist/components/pagination/pagination-first-trigger.vue2.js +5 -0
- package/dist/components/pagination/pagination-item.vue.js +1 -1
- package/dist/components/pagination/pagination-last-trigger.vue.cjs +29 -0
- package/dist/components/pagination/pagination-last-trigger.vue.d.cts +19 -0
- package/dist/components/pagination/pagination-last-trigger.vue.d.ts +19 -0
- package/dist/components/pagination/pagination-last-trigger.vue.js +25 -0
- package/dist/components/pagination/pagination-last-trigger.vue2.cjs +9 -0
- package/dist/components/pagination/pagination-last-trigger.vue2.js +5 -0
- package/dist/components/pagination/pagination-next-trigger.vue.js +1 -1
- package/dist/components/pagination/pagination-prev-trigger.vue.js +1 -1
- package/dist/components/pagination/pagination-root-provider.vue.js +1 -1
- package/dist/components/pagination/pagination-root.vue.js +1 -1
- package/dist/components/pagination/pagination.cjs +4 -0
- package/dist/components/pagination/pagination.d.cts +2 -0
- package/dist/components/pagination/pagination.d.ts +2 -0
- package/dist/components/pagination/pagination.js +2 -0
- package/dist/components/password-input/index.cjs +4 -4
- package/dist/components/password-input/password-input-control.vue.js +1 -1
- package/dist/components/password-input/password-input-indicator.vue.js +1 -1
- package/dist/components/password-input/password-input-input.vue.js +1 -1
- package/dist/components/password-input/password-input-label.vue.js +1 -1
- package/dist/components/password-input/password-input-root-provider.vue.js +1 -1
- package/dist/components/password-input/password-input-root.vue.js +1 -1
- package/dist/components/password-input/password-input-visibility-trigger.vue.js +1 -1
- package/dist/components/pin-input/index.cjs +4 -4
- package/dist/components/pin-input/pin-input-control.vue.js +1 -1
- package/dist/components/pin-input/pin-input-hidden-input.vue.js +1 -1
- package/dist/components/pin-input/pin-input-input.vue.js +1 -1
- package/dist/components/pin-input/pin-input-label.vue.js +1 -1
- package/dist/components/pin-input/pin-input-root-provider.vue.js +1 -1
- package/dist/components/pin-input/pin-input-root.vue.js +1 -1
- package/dist/components/popover/index.cjs +4 -4
- package/dist/components/popover/index.d.cts +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover-anchor.vue.js +1 -1
- package/dist/components/popover/popover-arrow-tip.vue.js +1 -1
- package/dist/components/popover/popover-arrow.vue.js +1 -1
- package/dist/components/popover/popover-close-trigger.vue.js +1 -1
- package/dist/components/popover/popover-content.vue.js +1 -1
- package/dist/components/popover/popover-description.vue.js +1 -1
- package/dist/components/popover/popover-indicator.vue.js +1 -1
- package/dist/components/popover/popover-positioner.vue.cjs +2 -11
- package/dist/components/popover/popover-positioner.vue.js +4 -13
- package/dist/components/popover/popover-root-provider.vue.cjs +15 -1
- package/dist/components/popover/popover-root-provider.vue.d.cts +8 -1
- package/dist/components/popover/popover-root-provider.vue.d.ts +8 -1
- package/dist/components/popover/popover-root-provider.vue.js +15 -1
- package/dist/components/popover/popover-root.vue.cjs +12 -1
- package/dist/components/popover/popover-root.vue.d.cts +3 -1
- package/dist/components/popover/popover-root.vue.d.ts +3 -1
- package/dist/components/popover/popover-root.vue.js +13 -2
- package/dist/components/popover/popover-title.vue.js +1 -1
- package/dist/components/popover/popover-trigger.vue.js +1 -1
- package/dist/components/popover/popover.types.d.cts +4 -0
- package/dist/components/popover/popover.types.d.ts +4 -0
- package/dist/components/presence/presence.vue.js +1 -1
- package/dist/components/progress/index.cjs +4 -4
- package/dist/components/progress/progress-circle-range.vue.js +1 -1
- package/dist/components/progress/progress-circle-track.vue.js +1 -1
- package/dist/components/progress/progress-circle.vue.js +1 -1
- package/dist/components/progress/progress-label.vue.js +1 -1
- package/dist/components/progress/progress-range.vue.js +1 -1
- package/dist/components/progress/progress-root-provider.vue.js +1 -1
- package/dist/components/progress/progress-root.vue.js +1 -1
- package/dist/components/progress/progress-track.vue.js +1 -1
- package/dist/components/progress/progress-value-text.vue.js +1 -1
- package/dist/components/progress/progress-view.vue.js +1 -1
- package/dist/components/progress/progress.types.d.cts +1 -1
- package/dist/components/progress/progress.types.d.ts +1 -1
- package/dist/components/qr-code/qr-code-download-trigger.vue.js +1 -1
- package/dist/components/qr-code/qr-code-frame.vue.js +1 -1
- package/dist/components/qr-code/qr-code-overlay.vue.js +1 -1
- package/dist/components/qr-code/qr-code-pattern.vue.js +1 -1
- package/dist/components/qr-code/qr-code-root-provider.vue.js +1 -1
- package/dist/components/qr-code/qr-code-root.vue.js +1 -1
- package/dist/components/radio-group/index.cjs +4 -4
- package/dist/components/radio-group/radio-group-indicator.vue.js +1 -1
- package/dist/components/radio-group/radio-group-item-control.vue.js +1 -1
- package/dist/components/radio-group/radio-group-item-hidden-input.vue.js +1 -1
- package/dist/components/radio-group/radio-group-item-text.vue.js +1 -1
- package/dist/components/radio-group/radio-group-item.vue.js +1 -1
- package/dist/components/radio-group/radio-group-label.vue.js +1 -1
- package/dist/components/radio-group/radio-group-root-provider.vue.js +1 -1
- package/dist/components/radio-group/radio-group-root.vue.cjs +5 -1
- package/dist/components/radio-group/radio-group-root.vue.d.cts +2 -0
- package/dist/components/radio-group/radio-group-root.vue.d.ts +2 -0
- package/dist/components/radio-group/radio-group-root.vue.js +6 -2
- package/dist/components/radio-group/radio-group.types.d.cts +8 -0
- package/dist/components/radio-group/radio-group.types.d.ts +8 -0
- package/dist/components/radio-group/use-radio-group.cjs +9 -0
- package/dist/components/radio-group/use-radio-group.js +9 -0
- package/dist/components/rating-group/index.cjs +4 -4
- package/dist/components/rating-group/rating-group-control.vue.js +1 -1
- package/dist/components/rating-group/rating-group-hidden-input.vue.js +1 -1
- package/dist/components/rating-group/rating-group-item.vue.js +1 -1
- package/dist/components/rating-group/rating-group-label.vue.js +1 -1
- package/dist/components/rating-group/rating-group-root-provider.vue.js +1 -1
- package/dist/components/rating-group/rating-group-root.vue.js +1 -1
- package/dist/components/scroll-area/index.cjs +4 -4
- package/dist/components/scroll-area/scroll-area-content.vue.js +1 -1
- package/dist/components/scroll-area/scroll-area-corner.vue.js +1 -1
- package/dist/components/scroll-area/scroll-area-root-provider.vue.cjs +4 -3
- package/dist/components/scroll-area/scroll-area-root-provider.vue.js +5 -4
- package/dist/components/scroll-area/scroll-area-root.vue.js +1 -1
- package/dist/components/scroll-area/scroll-area-scrollbar.vue.js +1 -1
- package/dist/components/scroll-area/scroll-area-thumb.vue.js +1 -1
- package/dist/components/scroll-area/scroll-area-viewport.vue.js +1 -1
- package/dist/components/segment-group/segment-group-indicator.vue.js +1 -1
- package/dist/components/segment-group/segment-group-item-control.vue.js +1 -1
- package/dist/components/segment-group/segment-group-item-hidden-input.vue.js +1 -1
- package/dist/components/segment-group/segment-group-item-text.vue.js +1 -1
- package/dist/components/segment-group/segment-group-item.vue.js +1 -1
- package/dist/components/segment-group/segment-group-label.vue.js +1 -1
- package/dist/components/segment-group/segment-group-root-provider.vue.js +1 -1
- package/dist/components/segment-group/segment-group-root.vue.js +1 -1
- package/dist/components/segment-group/segment-group.types.d.cts +1 -1
- package/dist/components/segment-group/segment-group.types.d.ts +1 -1
- package/dist/components/select/index.cjs +4 -4
- package/dist/components/select/index.d.cts +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/select-clear-trigger.vue.js +1 -1
- package/dist/components/select/select-content.vue.js +1 -1
- package/dist/components/select/select-control.vue.js +1 -1
- package/dist/components/select/select-hidden-select.vue.js +1 -1
- package/dist/components/select/select-indicator.vue.js +1 -1
- package/dist/components/select/select-item-group-label.vue.js +1 -1
- package/dist/components/select/select-item-group.vue.js +1 -1
- package/dist/components/select/select-item-indicator.vue.js +1 -1
- package/dist/components/select/select-item-text.vue.js +1 -1
- package/dist/components/select/select-item.vue.js +1 -1
- package/dist/components/select/select-label.vue.js +1 -1
- package/dist/components/select/select-list.vue.js +1 -1
- package/dist/components/select/select-positioner.vue.cjs +3 -12
- package/dist/components/select/select-positioner.vue.js +4 -13
- package/dist/components/select/select-root-provider.vue.cjs +15 -1
- package/dist/components/select/select-root-provider.vue.d.cts +7 -2
- package/dist/components/select/select-root-provider.vue.d.ts +7 -2
- package/dist/components/select/select-root-provider.vue.js +16 -2
- package/dist/components/select/select-root.vue.cjs +12 -1
- package/dist/components/select/select-root.vue.d.cts +4 -3
- package/dist/components/select/select-root.vue.d.ts +4 -3
- package/dist/components/select/select-root.vue.js +13 -2
- package/dist/components/select/select-trigger.vue.js +1 -1
- package/dist/components/select/select-value-text.vue.js +1 -1
- package/dist/components/select/select.types.d.cts +4 -0
- package/dist/components/select/select.types.d.ts +4 -0
- package/dist/components/signature-pad/signature-pad-clear-trigger.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-control.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-guide.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-hidden-input.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-label.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-root-provider.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-root.vue.js +1 -1
- package/dist/components/signature-pad/signature-pad-segment.vue.js +1 -1
- package/dist/components/slider/index.cjs +4 -4
- package/dist/components/slider/slider-control.vue.js +1 -1
- package/dist/components/slider/slider-dragging-indicator.vue.js +1 -1
- package/dist/components/slider/slider-hidden-input.vue.js +1 -1
- package/dist/components/slider/slider-label.vue.js +1 -1
- package/dist/components/slider/slider-marker-group.vue.js +1 -1
- package/dist/components/slider/slider-marker.vue.js +1 -1
- package/dist/components/slider/slider-range.vue.js +1 -1
- package/dist/components/slider/slider-root-provider.vue.js +1 -1
- package/dist/components/slider/slider-root.vue.cjs +1 -0
- package/dist/components/slider/slider-root.vue.js +2 -1
- package/dist/components/slider/slider-thumb.vue.js +1 -1
- package/dist/components/slider/slider-track.vue.js +1 -1
- package/dist/components/slider/slider-value-text.vue.js +1 -1
- package/dist/components/slider/slider.types.d.cts +9 -0
- package/dist/components/slider/slider.types.d.ts +9 -0
- package/dist/components/splitter/index.cjs +5 -5
- package/dist/components/splitter/splitter-panel.vue.js +1 -1
- package/dist/components/splitter/splitter-resize-trigger-indicator.vue.js +1 -1
- package/dist/components/splitter/splitter-resize-trigger.vue.js +1 -1
- package/dist/components/splitter/splitter-root-provider.vue.js +1 -1
- package/dist/components/splitter/splitter-root.vue.d.cts +2 -2
- package/dist/components/splitter/splitter-root.vue.d.ts +2 -2
- package/dist/components/splitter/splitter-root.vue.js +1 -1
- package/dist/components/steps/index.cjs +4 -4
- package/dist/components/steps/steps-completed-content.vue.js +1 -1
- package/dist/components/steps/steps-content.vue.js +1 -1
- package/dist/components/steps/steps-indicator.vue.js +1 -1
- package/dist/components/steps/steps-item.vue.js +1 -1
- package/dist/components/steps/steps-list.vue.js +1 -1
- package/dist/components/steps/steps-next-trigger.vue.js +1 -1
- package/dist/components/steps/steps-prev-trigger.vue.js +1 -1
- package/dist/components/steps/steps-progress.vue.js +1 -1
- package/dist/components/steps/steps-root-provider.vue.js +1 -1
- package/dist/components/steps/steps-root.vue.cjs +6 -2
- package/dist/components/steps/steps-root.vue.d.cts +12 -1
- package/dist/components/steps/steps-root.vue.d.ts +12 -1
- package/dist/components/steps/steps-root.vue.js +7 -3
- package/dist/components/steps/steps-separator.vue.js +1 -1
- package/dist/components/steps/steps-trigger.vue.js +1 -1
- package/dist/components/steps/steps.types.d.cts +12 -0
- package/dist/components/steps/steps.types.d.ts +12 -0
- package/dist/components/steps/use-steps.cjs +4 -0
- package/dist/components/steps/use-steps.js +4 -0
- package/dist/components/switch/switch-control.vue.js +1 -1
- package/dist/components/switch/switch-hidden-input.vue.js +1 -1
- package/dist/components/switch/switch-label.vue.js +1 -1
- package/dist/components/switch/switch-root-provider.vue.js +1 -1
- package/dist/components/switch/switch-root.vue.js +1 -1
- package/dist/components/switch/switch-thumb.vue.js +1 -1
- package/dist/components/tabs/index.cjs +4 -4
- package/dist/components/tabs/tab-content.vue.js +1 -1
- package/dist/components/tabs/tab-indicator.vue.js +1 -1
- package/dist/components/tabs/tab-list.vue.js +1 -1
- package/dist/components/tabs/tab-trigger.vue.js +1 -1
- package/dist/components/tabs/tabs-root-provider.vue.js +1 -1
- package/dist/components/tabs/tabs-root.vue.js +1 -1
- package/dist/components/tags-input/index.cjs +4 -4
- package/dist/components/tags-input/tags-input-clear-trigger.vue.js +1 -1
- package/dist/components/tags-input/tags-input-control.vue.js +1 -1
- package/dist/components/tags-input/tags-input-hidden-input.vue.js +1 -1
- package/dist/components/tags-input/tags-input-input.vue.js +1 -1
- package/dist/components/tags-input/tags-input-item-delete-trigger.vue.js +1 -1
- package/dist/components/tags-input/tags-input-item-input.vue.js +1 -1
- package/dist/components/tags-input/tags-input-item-preview.vue.js +1 -1
- package/dist/components/tags-input/tags-input-item-text.vue.js +1 -1
- package/dist/components/tags-input/tags-input-item.vue.js +1 -1
- package/dist/components/tags-input/tags-input-label.vue.js +1 -1
- package/dist/components/tags-input/tags-input-root-provider.vue.js +1 -1
- package/dist/components/tags-input/tags-input-root.vue.cjs +1 -0
- package/dist/components/tags-input/tags-input-root.vue.d.cts +1 -1
- package/dist/components/tags-input/tags-input-root.vue.d.ts +1 -1
- package/dist/components/tags-input/tags-input-root.vue.js +2 -1
- package/dist/components/tags-input/tags-input.types.d.cts +4 -0
- package/dist/components/tags-input/tags-input.types.d.ts +4 -0
- package/dist/components/timer/index.cjs +4 -4
- package/dist/components/timer/timer-action-trigger.vue.js +1 -1
- package/dist/components/timer/timer-area.vue.js +1 -1
- package/dist/components/timer/timer-control.vue.js +1 -1
- package/dist/components/timer/timer-item.vue.js +1 -1
- package/dist/components/timer/timer-root-provider.vue.js +1 -1
- package/dist/components/timer/timer-root.vue.js +1 -1
- package/dist/components/timer/timer-separator.vue.js +1 -1
- package/dist/components/toast/index.cjs +4 -4
- package/dist/components/toast/toast-action-trigger.vue.js +1 -1
- package/dist/components/toast/toast-close-trigger.vue.js +1 -1
- package/dist/components/toast/toast-description.vue.js +1 -1
- package/dist/components/toast/toast-root.vue.js +1 -1
- package/dist/components/toast/toast-title.vue.js +1 -1
- package/dist/components/toast/toaster.vue.js +1 -1
- package/dist/components/toggle/toggle-indicator.vue.js +1 -1
- package/dist/components/toggle/toggle-root.vue.js +1 -1
- package/dist/components/toggle-group/index.cjs +4 -4
- package/dist/components/toggle-group/toggle-group-item.vue.js +1 -1
- package/dist/components/toggle-group/toggle-group-root-provider.vue.js +1 -1
- package/dist/components/toggle-group/toggle-group-root.vue.js +1 -1
- package/dist/components/tooltip/index.cjs +4 -4
- package/dist/components/tooltip/index.d.cts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip-arrow-tip.vue.js +1 -1
- package/dist/components/tooltip/tooltip-arrow.vue.js +1 -1
- package/dist/components/tooltip/tooltip-content.vue.js +1 -1
- package/dist/components/tooltip/tooltip-positioner.vue.cjs +3 -12
- package/dist/components/tooltip/tooltip-positioner.vue.js +4 -13
- package/dist/components/tooltip/tooltip-root-provider.vue.cjs +15 -1
- package/dist/components/tooltip/tooltip-root-provider.vue.d.cts +8 -1
- package/dist/components/tooltip/tooltip-root-provider.vue.d.ts +8 -1
- package/dist/components/tooltip/tooltip-root-provider.vue.js +15 -1
- package/dist/components/tooltip/tooltip-root.vue.cjs +12 -1
- package/dist/components/tooltip/tooltip-root.vue.d.cts +2 -0
- package/dist/components/tooltip/tooltip-root.vue.d.ts +2 -0
- package/dist/components/tooltip/tooltip-root.vue.js +13 -2
- package/dist/components/tooltip/tooltip-trigger.vue.js +1 -1
- package/dist/components/tooltip/tooltip.types.d.cts +4 -0
- package/dist/components/tooltip/tooltip.types.d.ts +4 -0
- package/dist/components/tour/index.cjs +15 -0
- package/dist/components/tour/index.d.cts +3 -1
- package/dist/components/tour/index.d.ts +3 -1
- package/dist/components/tour/index.js +2 -0
- package/dist/components/tour/tour-action-trigger.vue.js +1 -1
- package/dist/components/tour/tour-arrow-tip.vue.js +1 -1
- package/dist/components/tour/tour-arrow.vue.js +1 -1
- package/dist/components/tour/tour-backdrop.vue.js +1 -1
- package/dist/components/tour/tour-close-trigger.vue.js +1 -1
- package/dist/components/tour/tour-content.vue.js +1 -1
- package/dist/components/tour/tour-control.vue.js +1 -1
- package/dist/components/tour/tour-description.vue.js +1 -1
- package/dist/components/tour/tour-positioner.vue.cjs +2 -11
- package/dist/components/tour/tour-positioner.vue.js +4 -13
- package/dist/components/tour/tour-progress-text.vue.js +1 -1
- package/dist/components/tour/tour-root.vue.cjs +14 -1
- package/dist/components/tour/tour-root.vue.d.cts +23 -1
- package/dist/components/tour/tour-root.vue.d.ts +23 -1
- package/dist/components/tour/tour-root.vue.js +14 -1
- package/dist/components/tour/tour-spotlight.vue.js +1 -1
- package/dist/components/tour/tour-title.vue.js +1 -1
- package/dist/components/tour/tour.types.d.cts +4 -0
- package/dist/components/tour/tour.types.d.ts +4 -0
- package/dist/components/tour/wait-for-event.cjs +25 -0
- package/dist/components/tour/wait-for-event.d.cts +6 -0
- package/dist/components/tour/wait-for-event.d.ts +6 -0
- package/dist/components/tour/wait-for-event.js +21 -0
- package/dist/components/tree-view/index.cjs +4 -4
- package/dist/components/tree-view/tree-view-branch-content.vue.js +1 -1
- package/dist/components/tree-view/tree-view-branch-control.vue.js +1 -1
- package/dist/components/tree-view/tree-view-branch-indent-guide.vue.js +1 -1
- package/dist/components/tree-view/tree-view-branch-indicator.vue.js +1 -1
- package/dist/components/tree-view/tree-view-branch-text.vue.js +1 -1
- package/dist/components/tree-view/tree-view-branch-trigger.vue.js +1 -1
- package/dist/components/tree-view/tree-view-branch.vue.js +1 -1
- package/dist/components/tree-view/tree-view-item-indicator.vue.js +1 -1
- package/dist/components/tree-view/tree-view-item-text.vue.js +1 -1
- package/dist/components/tree-view/tree-view-item.vue.js +1 -1
- package/dist/components/tree-view/tree-view-label.vue.js +1 -1
- package/dist/components/tree-view/tree-view-node-checkbox-indicator.vue.js +1 -1
- package/dist/components/tree-view/tree-view-node-checkbox.vue.js +1 -1
- package/dist/components/tree-view/tree-view-node-rename-input.vue.js +1 -1
- package/dist/components/tree-view/tree-view-root-provider.vue.js +1 -1
- package/dist/components/tree-view/tree-view-root.vue.js +1 -1
- package/dist/components/tree-view/tree-view-tree.vue.js +1 -1
- package/dist/index.cjs +162 -141
- package/dist/index.js +5 -0
- package/dist/providers/environment/environment-provider.vue.js +1 -1
- package/dist/utils/boolean.cjs +9 -0
- package/dist/utils/boolean.d.cts +2 -0
- package/dist/utils/boolean.d.ts +2 -0
- package/dist/utils/boolean.js +5 -0
- package/dist/utils/dynamic.cjs +1 -1
- package/dist/utils/dynamic.js +1 -1
- package/package.json +77 -75
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, mergeDefaults } from 'vue';
|
|
2
|
+
import { RenderStrategyPropsProvider } from '../../utils/use-render-strategy.js';
|
|
3
|
+
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
2
4
|
import { ark } from '../factory.js';
|
|
5
|
+
import { usePresence } from '../presence/use-presence.js';
|
|
6
|
+
import { PresenceProvider } from '../presence/use-presence-context.js';
|
|
3
7
|
import { useColorPicker } from './use-color-picker.js';
|
|
4
8
|
import { ColorPickerProvider } from './use-color-picker-context.js';
|
|
5
|
-
import { RenderStrategyPropsProvider } from '../../utils/use-render-strategy.js';
|
|
6
|
-
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
7
9
|
|
|
8
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
11
|
__name: "color-picker-root",
|
|
@@ -40,12 +42,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
42
|
required: void 0,
|
|
41
43
|
inline: void 0
|
|
42
44
|
}),
|
|
43
|
-
emits: ["focusOutside", "formatChange", "interactOutside", "openChange", "pointerDownOutside", "valueChange", "valueChangeEnd", "update:modelValue", "update:open", "update:format"],
|
|
45
|
+
emits: ["exitComplete", "focusOutside", "formatChange", "interactOutside", "openChange", "pointerDownOutside", "valueChange", "valueChangeEnd", "update:modelValue", "update:open", "update:format"],
|
|
44
46
|
setup(__props, { emit: __emit }) {
|
|
45
47
|
const props = __props;
|
|
46
48
|
const emits = __emit;
|
|
47
49
|
const colorPicker = useColorPicker(props, emits);
|
|
50
|
+
const presence = usePresence(
|
|
51
|
+
computed(() => ({
|
|
52
|
+
present: colorPicker.value.open,
|
|
53
|
+
lazyMount: props.lazyMount,
|
|
54
|
+
unmountOnExit: props.unmountOnExit
|
|
55
|
+
})),
|
|
56
|
+
emits
|
|
57
|
+
);
|
|
48
58
|
ColorPickerProvider(colorPicker);
|
|
59
|
+
PresenceProvider(presence);
|
|
49
60
|
RenderStrategyPropsProvider(computed(() => ({ lazyMount: props.lazyMount, unmountOnExit: props.unmountOnExit })));
|
|
50
61
|
useForwardExpose();
|
|
51
62
|
return (_ctx, _cache) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { colorPickerAnatomy } from './color-picker.anatomy.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
4
4
|
import { useColorPickerSwatchPropsContext } from './use-color-picker-swatch-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
4
4
|
import { ColorPickerSwatchPropsProvider } from './use-color-picker-swatch-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
4
4
|
import { ColorPickerSwatchPropsProvider } from './use-color-picker-swatch-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed,
|
|
1
|
+
import { defineComponent, useSlots, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
3
3
|
import { ark } from '../factory.js';
|
|
4
4
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, unref, openBlock, createBlock, mergeProps, withCtx, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { colorPickerAnatomy } from './color-picker.anatomy.js';
|
|
4
4
|
import { useColorPickerContext } from './use-color-picker-context.js';
|
|
@@ -97,6 +97,10 @@ export interface RootProps {
|
|
|
97
97
|
inline?: boolean;
|
|
98
98
|
}
|
|
99
99
|
export type RootEmits = {
|
|
100
|
+
/**
|
|
101
|
+
* Function called when the animation ends in the closed state
|
|
102
|
+
*/
|
|
103
|
+
exitComplete: [];
|
|
100
104
|
/**
|
|
101
105
|
* Function called when the focus is moved outside the component
|
|
102
106
|
*/
|
|
@@ -97,6 +97,10 @@ export interface RootProps {
|
|
|
97
97
|
inline?: boolean;
|
|
98
98
|
}
|
|
99
99
|
export type RootEmits = {
|
|
100
|
+
/**
|
|
101
|
+
* Function called when the animation ends in the closed state
|
|
102
|
+
*/
|
|
103
|
+
exitComplete: [];
|
|
100
104
|
/**
|
|
101
105
|
* Function called when the focus is moved outside the component
|
|
102
106
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const colorPicker = require('@zag-js/color-picker');
|
|
5
|
+
const colorPicker$1 = require('@zag-js/color-picker');
|
|
6
6
|
const colorPickerAreaBackground_vue_vue_type_script_setup_true_lang = require('./color-picker-area-background.vue.cjs');
|
|
7
7
|
const colorPickerAreaThumb_vue_vue_type_script_setup_true_lang = require('./color-picker-area-thumb.vue.cjs');
|
|
8
8
|
const colorPickerArea_vue_vue_type_script_setup_true_lang = require('./color-picker-area.vue.cjs');
|
|
@@ -35,13 +35,13 @@ const colorPickerView_vue_vue_type_script_setup_true_lang = require('./color-pic
|
|
|
35
35
|
const colorPicker_anatomy = require('./color-picker.anatomy.cjs');
|
|
36
36
|
const useColorPicker = require('./use-color-picker.cjs');
|
|
37
37
|
const useColorPickerContext = require('./use-color-picker-context.cjs');
|
|
38
|
-
const colorPicker
|
|
38
|
+
const colorPicker = require('./color-picker.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
Object.defineProperty(exports, "parseColor", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: () => colorPicker.parse
|
|
44
|
+
get: () => colorPicker$1.parse
|
|
45
45
|
});
|
|
46
46
|
exports.ColorPickerAreaBackground = colorPickerAreaBackground_vue_vue_type_script_setup_true_lang.default;
|
|
47
47
|
exports.ColorPickerAreaThumb = colorPickerAreaThumb_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -75,4 +75,4 @@ exports.ColorPickerView = colorPickerView_vue_vue_type_script_setup_true_lang.de
|
|
|
75
75
|
exports.colorPickerAnatomy = colorPicker_anatomy.colorPickerAnatomy;
|
|
76
76
|
exports.useColorPicker = useColorPicker.useColorPicker;
|
|
77
77
|
exports.useColorPickerContext = useColorPickerContext.useColorPickerContext;
|
|
78
|
-
exports.ColorPicker = colorPicker
|
|
78
|
+
exports.ColorPicker = colorPicker;
|
|
@@ -18,7 +18,7 @@ export { default as ColorPickerFormatTrigger, type ColorPickerFormatTriggerBaseP
|
|
|
18
18
|
export { default as ColorPickerHiddenInput, type ColorPickerHiddenInputBaseProps, type ColorPickerHiddenInputProps, } from './color-picker-hidden-input.vue';
|
|
19
19
|
export { default as ColorPickerLabel, type ColorPickerLabelBaseProps, type ColorPickerLabelProps, } from './color-picker-label.vue';
|
|
20
20
|
export { default as ColorPickerPositioner, type ColorPickerPositionerBaseProps, type ColorPickerPositionerProps, } from './color-picker-positioner.vue';
|
|
21
|
-
export { default as ColorPickerRootProvider, type ColorPickerRootProviderBaseProps, type ColorPickerRootProviderProps, } from './color-picker-root-provider.vue';
|
|
21
|
+
export { default as ColorPickerRootProvider, type ColorPickerRootProviderBaseProps, type ColorPickerRootProviderEmits, type ColorPickerRootProviderProps, } from './color-picker-root-provider.vue';
|
|
22
22
|
export { default as ColorPickerRoot, type ColorPickerRootBaseProps, type ColorPickerRootEmits, type ColorPickerRootProps, } from './color-picker-root.vue';
|
|
23
23
|
export { default as ColorPickerSwatchGroup, type ColorPickerSwatchGroupBaseProps, type ColorPickerSwatchGroupProps, } from './color-picker-swatch-group.vue';
|
|
24
24
|
export { default as ColorPickerSwatchIndicator, type ColorPickerSwatchIndicatorBaseProps, type ColorPickerSwatchIndicatorProps, } from './color-picker-swatch-indicator.vue';
|
|
@@ -18,7 +18,7 @@ export { default as ColorPickerFormatTrigger, type ColorPickerFormatTriggerBaseP
|
|
|
18
18
|
export { default as ColorPickerHiddenInput, type ColorPickerHiddenInputBaseProps, type ColorPickerHiddenInputProps, } from './color-picker-hidden-input.vue';
|
|
19
19
|
export { default as ColorPickerLabel, type ColorPickerLabelBaseProps, type ColorPickerLabelProps, } from './color-picker-label.vue';
|
|
20
20
|
export { default as ColorPickerPositioner, type ColorPickerPositionerBaseProps, type ColorPickerPositionerProps, } from './color-picker-positioner.vue';
|
|
21
|
-
export { default as ColorPickerRootProvider, type ColorPickerRootProviderBaseProps, type ColorPickerRootProviderProps, } from './color-picker-root-provider.vue';
|
|
21
|
+
export { default as ColorPickerRootProvider, type ColorPickerRootProviderBaseProps, type ColorPickerRootProviderEmits, type ColorPickerRootProviderProps, } from './color-picker-root-provider.vue';
|
|
22
22
|
export { default as ColorPickerRoot, type ColorPickerRootBaseProps, type ColorPickerRootEmits, type ColorPickerRootProps, } from './color-picker-root.vue';
|
|
23
23
|
export { default as ColorPickerSwatchGroup, type ColorPickerSwatchGroupBaseProps, type ColorPickerSwatchGroupProps, } from './color-picker-swatch-group.vue';
|
|
24
24
|
export { default as ColorPickerSwatchIndicator, type ColorPickerSwatchIndicatorBaseProps, type ColorPickerSwatchIndicatorProps, } from './color-picker-swatch-indicator.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, unref, openBlock, createBlock, mergeProps as mergeProps$1, withCtx, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { comboboxAnatomy } from './combobox.anatomy.js';
|
|
4
4
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useFieldContext } from '../field/use-field-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useComboboxItemGroupPropsContext } from './use-combobox-item-group-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useId,
|
|
1
|
+
import { defineComponent, useId, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { ComboboxItemGroupPropsProvider } from './use-combobox-item-group-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useComboboxItemPropsContext } from './use-combobox-item-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useComboboxItemPropsContext } from './use-combobox-item-props-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { ComboboxItemProvider } from './use-combobox-item-context.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { ark } from '../factory.js';
|
|
3
3
|
import { useComboboxContext } from './use-combobox-context.js';
|
|
4
4
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
5
|
const vue = require('vue');
|
|
6
|
-
const useRenderStrategy = require('../../utils/use-render-strategy.cjs');
|
|
7
6
|
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
8
|
-
const
|
|
7
|
+
const factory = require('../factory.cjs');
|
|
9
8
|
const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
10
9
|
const useComboboxContext = require('./use-combobox-context.cjs');
|
|
11
|
-
const factory = require('../factory.cjs');
|
|
12
10
|
|
|
13
11
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
12
|
__name: "combobox-positioner",
|
|
@@ -17,14 +15,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
15
|
},
|
|
18
16
|
setup(__props) {
|
|
19
17
|
const combobox = useComboboxContext.useComboboxContext();
|
|
20
|
-
const
|
|
21
|
-
const presence = usePresence.usePresence(
|
|
22
|
-
vue.computed(() => ({
|
|
23
|
-
...renderStrategy.value,
|
|
24
|
-
present: combobox.value.open
|
|
25
|
-
}))
|
|
26
|
-
);
|
|
27
|
-
usePresenceContext.PresenceProvider(presence);
|
|
18
|
+
const presence = usePresenceContext.usePresenceContext();
|
|
28
19
|
useForwardExpose.useForwardExpose();
|
|
29
20
|
return (_ctx, _cache) => {
|
|
30
21
|
return !vue.unref(presence).unmounted ? (vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps({ key: 0 }, vue.unref(combobox).getPositionerProps(), { "as-child": __props.asChild }), {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { useRenderStrategyProps } from '../../utils/use-render-strategy.js';
|
|
1
|
+
import { defineComponent, unref, openBlock, createBlock, mergeProps, withCtx, renderSlot, createCommentVNode } from 'vue';
|
|
3
2
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
4
|
-
import { usePresence } from '../presence/use-presence.js';
|
|
5
|
-
import { PresenceProvider } from '../presence/use-presence-context.js';
|
|
6
|
-
import { useComboboxContext } from './use-combobox-context.js';
|
|
7
3
|
import { ark } from '../factory.js';
|
|
4
|
+
import { usePresenceContext } from '../presence/use-presence-context.js';
|
|
5
|
+
import { useComboboxContext } from './use-combobox-context.js';
|
|
8
6
|
|
|
9
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
8
|
__name: "combobox-positioner",
|
|
@@ -13,14 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
11
|
},
|
|
14
12
|
setup(__props) {
|
|
15
13
|
const combobox = useComboboxContext();
|
|
16
|
-
const
|
|
17
|
-
const presence = usePresence(
|
|
18
|
-
computed(() => ({
|
|
19
|
-
...renderStrategy.value,
|
|
20
|
-
present: combobox.value.open
|
|
21
|
-
}))
|
|
22
|
-
);
|
|
23
|
-
PresenceProvider(presence);
|
|
14
|
+
const presence = usePresenceContext();
|
|
24
15
|
useForwardExpose();
|
|
25
16
|
return (_ctx, _cache) => {
|
|
26
17
|
return !unref(presence).unmounted ? (openBlock(), createBlock(unref(ark).div, mergeProps({ key: 0 }, unref(combobox).getPositionerProps(), { "as-child": __props.asChild }), {
|
|
@@ -6,6 +6,8 @@ const vue = require('vue');
|
|
|
6
6
|
const useRenderStrategy = require('../../utils/use-render-strategy.cjs');
|
|
7
7
|
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
8
8
|
const factory = require('../factory.cjs');
|
|
9
|
+
const usePresence = require('../presence/use-presence.cjs');
|
|
10
|
+
const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
9
11
|
const useComboboxContext = require('./use-combobox-context.cjs');
|
|
10
12
|
|
|
11
13
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -16,10 +18,22 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
16
18
|
unmountOnExit: { type: Boolean },
|
|
17
19
|
asChild: { type: Boolean }
|
|
18
20
|
},
|
|
19
|
-
|
|
21
|
+
emits: ["exitComplete"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
20
23
|
const props = __props;
|
|
24
|
+
const emits = __emit;
|
|
21
25
|
const combobox = vue.computed(() => props.value);
|
|
26
|
+
const presence = usePresence.usePresence(
|
|
27
|
+
vue.computed(() => ({
|
|
28
|
+
present: combobox.value.open,
|
|
29
|
+
lazyMount: props.lazyMount,
|
|
30
|
+
unmountOnExit: props.unmountOnExit
|
|
31
|
+
})),
|
|
32
|
+
// @ts-expect-error TODO tweak EmitFn
|
|
33
|
+
emits
|
|
34
|
+
);
|
|
22
35
|
useComboboxContext.ComboboxProvider(combobox);
|
|
36
|
+
usePresenceContext.PresenceProvider(presence);
|
|
23
37
|
useRenderStrategy.RenderStrategyPropsProvider(vue.computed(() => ({ lazyMount: props.lazyMount, unmountOnExit: props.unmountOnExit })));
|
|
24
38
|
useForwardExpose.useForwardExpose();
|
|
25
39
|
return (_ctx, _cache) => {
|
|
@@ -4,6 +4,7 @@ import { RenderStrategyProps } from '../../utils/use-render-strategy';
|
|
|
4
4
|
import { CollectionItem } from '../collection';
|
|
5
5
|
import { PolymorphicProps } from '../factory';
|
|
6
6
|
import { UseComboboxReturn } from './use-combobox';
|
|
7
|
+
import { RootEmits as PresenceEmits } from '../presence/presence.types';
|
|
7
8
|
interface RootProviderProps<T extends CollectionItem> {
|
|
8
9
|
value: UnwrapRef<UseComboboxReturn<T>>;
|
|
9
10
|
}
|
|
@@ -16,14 +17,18 @@ export interface ComboboxRootProviderProps<T extends CollectionItem> extends Com
|
|
|
16
17
|
HTMLAttributes {
|
|
17
18
|
}
|
|
18
19
|
export type ComboboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProviderProps<T>, P>) => any;
|
|
20
|
+
export interface ComboboxRootProviderEmits extends PresenceEmits {
|
|
21
|
+
}
|
|
19
22
|
declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
23
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
24
|
+
readonly onExitComplete?: (() => any) | undefined;
|
|
25
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExitComplete"> & ComboboxRootProviderProps<T> & Partial<{}>> & PublicProps;
|
|
21
26
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
22
27
|
attrs: any;
|
|
23
28
|
slots: {
|
|
24
29
|
default?(_: {}): any;
|
|
25
30
|
};
|
|
26
|
-
emit:
|
|
31
|
+
emit: (evt: "exitComplete") => void;
|
|
27
32
|
}>) => VNode & {
|
|
28
33
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
34
|
};
|
|
@@ -4,6 +4,7 @@ import { RenderStrategyProps } from '../../utils/use-render-strategy';
|
|
|
4
4
|
import { CollectionItem } from '../collection';
|
|
5
5
|
import { PolymorphicProps } from '../factory';
|
|
6
6
|
import { UseComboboxReturn } from './use-combobox';
|
|
7
|
+
import { RootEmits as PresenceEmits } from '../presence/presence.types';
|
|
7
8
|
interface RootProviderProps<T extends CollectionItem> {
|
|
8
9
|
value: UnwrapRef<UseComboboxReturn<T>>;
|
|
9
10
|
}
|
|
@@ -16,14 +17,18 @@ export interface ComboboxRootProviderProps<T extends CollectionItem> extends Com
|
|
|
16
17
|
HTMLAttributes {
|
|
17
18
|
}
|
|
18
19
|
export type ComboboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProviderProps<T>, P>) => any;
|
|
20
|
+
export interface ComboboxRootProviderEmits extends PresenceEmits {
|
|
21
|
+
}
|
|
19
22
|
declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
20
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
23
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
24
|
+
readonly onExitComplete?: (() => any) | undefined;
|
|
25
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onExitComplete"> & ComboboxRootProviderProps<T> & Partial<{}>> & PublicProps;
|
|
21
26
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
22
27
|
attrs: any;
|
|
23
28
|
slots: {
|
|
24
29
|
default?(_: {}): any;
|
|
25
30
|
};
|
|
26
|
-
emit:
|
|
31
|
+
emit: (evt: "exitComplete") => void;
|
|
27
32
|
}>) => VNode & {
|
|
28
33
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
34
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { RenderStrategyPropsProvider } from '../../utils/use-render-strategy.js';
|
|
3
3
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
4
4
|
import { ark } from '../factory.js';
|
|
5
|
+
import { usePresence } from '../presence/use-presence.js';
|
|
6
|
+
import { PresenceProvider } from '../presence/use-presence-context.js';
|
|
5
7
|
import { ComboboxProvider } from './use-combobox-context.js';
|
|
6
8
|
|
|
7
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -12,10 +14,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
14
|
unmountOnExit: { type: Boolean },
|
|
13
15
|
asChild: { type: Boolean }
|
|
14
16
|
},
|
|
15
|
-
|
|
17
|
+
emits: ["exitComplete"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
16
19
|
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
17
21
|
const combobox = computed(() => props.value);
|
|
22
|
+
const presence = usePresence(
|
|
23
|
+
computed(() => ({
|
|
24
|
+
present: combobox.value.open,
|
|
25
|
+
lazyMount: props.lazyMount,
|
|
26
|
+
unmountOnExit: props.unmountOnExit
|
|
27
|
+
})),
|
|
28
|
+
// @ts-expect-error TODO tweak EmitFn
|
|
29
|
+
emits
|
|
30
|
+
);
|
|
18
31
|
ComboboxProvider(combobox);
|
|
32
|
+
PresenceProvider(presence);
|
|
19
33
|
RenderStrategyPropsProvider(computed(() => ({ lazyMount: props.lazyMount, unmountOnExit: props.unmountOnExit })));
|
|
20
34
|
useForwardExpose();
|
|
21
35
|
return (_ctx, _cache) => {
|
|
@@ -6,6 +6,8 @@ const vue = require('vue');
|
|
|
6
6
|
const useRenderStrategy = require('../../utils/use-render-strategy.cjs');
|
|
7
7
|
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
8
8
|
const factory = require('../factory.cjs');
|
|
9
|
+
const usePresence = require('../presence/use-presence.cjs');
|
|
10
|
+
const usePresenceContext = require('../presence/use-presence-context.cjs');
|
|
9
11
|
const useCombobox = require('./use-combobox.cjs');
|
|
10
12
|
const useComboboxContext = require('./use-combobox-context.cjs');
|
|
11
13
|
|
|
@@ -69,12 +71,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
69
71
|
readOnly: void 0,
|
|
70
72
|
required: void 0
|
|
71
73
|
}),
|
|
72
|
-
emits: ["focusOutside", "highlightChange", "inputValueChange", "interactOutside", "openChange", "pointerDownOutside", "valueChange", "select", "update:modelValue", "update:highlightedValue", "update:inputValue", "update:open"],
|
|
74
|
+
emits: ["exitComplete", "focusOutside", "highlightChange", "inputValueChange", "interactOutside", "openChange", "pointerDownOutside", "valueChange", "select", "update:modelValue", "update:highlightedValue", "update:inputValue", "update:open"],
|
|
73
75
|
setup(__props, { emit: __emit }) {
|
|
74
76
|
const props = __props;
|
|
75
77
|
const emits = __emit;
|
|
76
78
|
const combobox = useCombobox.useCombobox(props, emits);
|
|
79
|
+
const presence = usePresence.usePresence(
|
|
80
|
+
vue.computed(() => ({
|
|
81
|
+
present: combobox.value.open,
|
|
82
|
+
lazyMount: props.lazyMount,
|
|
83
|
+
unmountOnExit: props.unmountOnExit
|
|
84
|
+
})),
|
|
85
|
+
emits
|
|
86
|
+
);
|
|
77
87
|
useComboboxContext.ComboboxProvider(combobox);
|
|
88
|
+
usePresenceContext.PresenceProvider(presence);
|
|
78
89
|
useRenderStrategy.RenderStrategyPropsProvider(vue.computed(() => ({ lazyMount: props.lazyMount, unmountOnExit: props.unmountOnExit })));
|
|
79
90
|
useForwardExpose.useForwardExpose();
|
|
80
91
|
return (_ctx, _cache) => {
|
|
@@ -5,7 +5,7 @@ import { CollectionItem } from '../collection';
|
|
|
5
5
|
import { PolymorphicProps } from '../factory';
|
|
6
6
|
import { RootProps } from './combobox.types';
|
|
7
7
|
import { ValueChangeDetails, OpenChangeDetails, HighlightChangeDetails, InputValueChangeDetails } from '@zag-js/combobox';
|
|
8
|
-
import { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/
|
|
8
|
+
import { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/bottom-sheet';
|
|
9
9
|
export interface ComboboxRootBaseProps<T extends CollectionItem> extends RootProps<T>, RenderStrategyProps, PolymorphicProps {
|
|
10
10
|
}
|
|
11
11
|
export interface ComboboxRootProps<T extends CollectionItem> extends ComboboxRootBaseProps<T>,
|
|
@@ -23,6 +23,7 @@ declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awai
|
|
|
23
23
|
value: string[];
|
|
24
24
|
itemValue: string;
|
|
25
25
|
}) => any) | undefined;
|
|
26
|
+
readonly onExitComplete?: (() => any) | undefined;
|
|
26
27
|
readonly onValueChange?: ((details: ValueChangeDetails<T>) => any) | undefined;
|
|
27
28
|
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
28
29
|
readonly onOpenChange?: ((details: OpenChangeDetails) => any) | undefined;
|
|
@@ -34,7 +35,7 @@ declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awai
|
|
|
34
35
|
readonly onInputValueChange?: ((details: InputValueChangeDetails) => any) | undefined;
|
|
35
36
|
readonly "onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
36
37
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
37
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onSelect" | "onValueChange" | "onOpenChange" | "onUpdate:open" | "onUpdate:modelValue" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onHighlightChange" | "onInputValueChange" | "onUpdate:highlightedValue" | "onUpdate:inputValue"> & ComboboxRootProps<T> & Partial<{}>> & PublicProps;
|
|
38
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onSelect" | "onExitComplete" | "onValueChange" | "onOpenChange" | "onUpdate:open" | "onUpdate:modelValue" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onHighlightChange" | "onInputValueChange" | "onUpdate:highlightedValue" | "onUpdate:inputValue"> & ComboboxRootProps<T> & Partial<{}>> & PublicProps;
|
|
38
39
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
39
40
|
attrs: any;
|
|
40
41
|
slots: {
|
|
@@ -43,7 +44,7 @@ declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awai
|
|
|
43
44
|
emit: ((evt: "select", details: {
|
|
44
45
|
value: string[];
|
|
45
46
|
itemValue: string;
|
|
46
|
-
}) => void) & ((evt: "valueChange", details: ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "openChange", details: OpenChangeDetails) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "highlightChange", details: HighlightChangeDetails<T>) => void) & ((evt: "inputValueChange", details: InputValueChangeDetails) => void) & ((evt: "update:highlightedValue", value: string | null) => void) & ((evt: "update:inputValue", value: string) => void);
|
|
47
|
+
}) => void) & ((evt: "exitComplete") => void) & ((evt: "valueChange", details: ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "openChange", details: OpenChangeDetails) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "highlightChange", details: HighlightChangeDetails<T>) => void) & ((evt: "inputValueChange", details: InputValueChangeDetails) => void) & ((evt: "update:highlightedValue", value: string | null) => void) & ((evt: "update:inputValue", value: string) => void);
|
|
47
48
|
}>) => VNode & {
|
|
48
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
50
|
};
|
|
@@ -5,7 +5,7 @@ import { CollectionItem } from '../collection';
|
|
|
5
5
|
import { PolymorphicProps } from '../factory';
|
|
6
6
|
import { RootProps } from './combobox.types';
|
|
7
7
|
import { ValueChangeDetails, OpenChangeDetails, HighlightChangeDetails, InputValueChangeDetails } from '@zag-js/combobox';
|
|
8
|
-
import { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/
|
|
8
|
+
import { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent } from '@zag-js/bottom-sheet';
|
|
9
9
|
export interface ComboboxRootBaseProps<T extends CollectionItem> extends RootProps<T>, RenderStrategyProps, PolymorphicProps {
|
|
10
10
|
}
|
|
11
11
|
export interface ComboboxRootProps<T extends CollectionItem> extends ComboboxRootBaseProps<T>,
|
|
@@ -23,6 +23,7 @@ declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awai
|
|
|
23
23
|
value: string[];
|
|
24
24
|
itemValue: string;
|
|
25
25
|
}) => any) | undefined;
|
|
26
|
+
readonly onExitComplete?: (() => any) | undefined;
|
|
26
27
|
readonly onValueChange?: ((details: ValueChangeDetails<T>) => any) | undefined;
|
|
27
28
|
readonly "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
28
29
|
readonly onOpenChange?: ((details: OpenChangeDetails) => any) | undefined;
|
|
@@ -34,7 +35,7 @@ declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awai
|
|
|
34
35
|
readonly onInputValueChange?: ((details: InputValueChangeDetails) => any) | undefined;
|
|
35
36
|
readonly "onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
36
37
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
37
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onSelect" | "onValueChange" | "onOpenChange" | "onUpdate:open" | "onUpdate:modelValue" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onHighlightChange" | "onInputValueChange" | "onUpdate:highlightedValue" | "onUpdate:inputValue"> & ComboboxRootProps<T> & Partial<{}>> & PublicProps;
|
|
38
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onSelect" | "onExitComplete" | "onValueChange" | "onOpenChange" | "onUpdate:open" | "onUpdate:modelValue" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onHighlightChange" | "onInputValueChange" | "onUpdate:highlightedValue" | "onUpdate:inputValue"> & ComboboxRootProps<T> & Partial<{}>> & PublicProps;
|
|
38
39
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
39
40
|
attrs: any;
|
|
40
41
|
slots: {
|
|
@@ -43,7 +44,7 @@ declare const _default: <T extends CollectionItem>(__VLS_props: NonNullable<Awai
|
|
|
43
44
|
emit: ((evt: "select", details: {
|
|
44
45
|
value: string[];
|
|
45
46
|
itemValue: string;
|
|
46
|
-
}) => void) & ((evt: "valueChange", details: ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "openChange", details: OpenChangeDetails) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "highlightChange", details: HighlightChangeDetails<T>) => void) & ((evt: "inputValueChange", details: InputValueChangeDetails) => void) & ((evt: "update:highlightedValue", value: string | null) => void) & ((evt: "update:inputValue", value: string) => void);
|
|
47
|
+
}) => void) & ((evt: "exitComplete") => void) & ((evt: "valueChange", details: ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "openChange", details: OpenChangeDetails) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "highlightChange", details: HighlightChangeDetails<T>) => void) & ((evt: "inputValueChange", details: InputValueChangeDetails) => void) & ((evt: "update:highlightedValue", value: string | null) => void) & ((evt: "update:inputValue", value: string) => void);
|
|
47
48
|
}>) => VNode & {
|
|
48
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
50
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, mergeDefaults } from 'vue';
|
|
2
2
|
import { RenderStrategyPropsProvider } from '../../utils/use-render-strategy.js';
|
|
3
3
|
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
4
4
|
import { ark } from '../factory.js';
|
|
5
|
+
import { usePresence } from '../presence/use-presence.js';
|
|
6
|
+
import { PresenceProvider } from '../presence/use-presence-context.js';
|
|
5
7
|
import { useCombobox } from './use-combobox.js';
|
|
6
8
|
import { ComboboxProvider } from './use-combobox-context.js';
|
|
7
9
|
|
|
@@ -65,12 +67,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
67
|
readOnly: void 0,
|
|
66
68
|
required: void 0
|
|
67
69
|
}),
|
|
68
|
-
emits: ["focusOutside", "highlightChange", "inputValueChange", "interactOutside", "openChange", "pointerDownOutside", "valueChange", "select", "update:modelValue", "update:highlightedValue", "update:inputValue", "update:open"],
|
|
70
|
+
emits: ["exitComplete", "focusOutside", "highlightChange", "inputValueChange", "interactOutside", "openChange", "pointerDownOutside", "valueChange", "select", "update:modelValue", "update:highlightedValue", "update:inputValue", "update:open"],
|
|
69
71
|
setup(__props, { emit: __emit }) {
|
|
70
72
|
const props = __props;
|
|
71
73
|
const emits = __emit;
|
|
72
74
|
const combobox = useCombobox(props, emits);
|
|
75
|
+
const presence = usePresence(
|
|
76
|
+
computed(() => ({
|
|
77
|
+
present: combobox.value.open,
|
|
78
|
+
lazyMount: props.lazyMount,
|
|
79
|
+
unmountOnExit: props.unmountOnExit
|
|
80
|
+
})),
|
|
81
|
+
emits
|
|
82
|
+
);
|
|
73
83
|
ComboboxProvider(combobox);
|
|
84
|
+
PresenceProvider(presence);
|
|
74
85
|
RenderStrategyPropsProvider(computed(() => ({ lazyMount: props.lazyMount, unmountOnExit: props.unmountOnExit })));
|
|
75
86
|
useForwardExpose();
|
|
76
87
|
return (_ctx, _cache) => {
|