ropav 0.16.1 → 0.16.2
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-body.js +1 -2
- package/dist/components/accordion/accordion-heading.js +1 -2
- package/dist/components/accordion/accordion-indicator.js +1 -2
- package/dist/components/accordion/accordion-item.js +1 -2
- package/dist/components/accordion/accordion-panel.js +1 -2
- package/dist/components/accordion/accordion-root.js +1 -2
- package/dist/components/accordion/accordion-trigger.js +1 -2
- package/dist/components/accordion/accordion.context.js +1 -2
- package/dist/components/alert/alert-content.js +1 -2
- package/dist/components/alert/alert-description.js +1 -2
- package/dist/components/alert/alert-indicator.js +1 -2
- package/dist/components/alert/alert-root.js +1 -2
- package/dist/components/alert/alert-title.js +1 -2
- package/dist/components/alert/alert.context.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-backdrop.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-body.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-close-trigger.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-close.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-container.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-dialog.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-footer.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-header.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-heading.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-icon.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-root.js +1 -2
- package/dist/components/alert-dialog/alert-dialog-trigger.js +21 -13
- package/dist/components/alert-dialog/alert-dialog.context.js +1 -2
- package/dist/components/autocomplete/autocomplete-clear-button.js +1 -2
- package/dist/components/autocomplete/autocomplete-filter.js +1 -2
- package/dist/components/autocomplete/autocomplete-indicator.js +24 -16
- package/dist/components/autocomplete/autocomplete-popover.js +1 -2
- package/dist/components/autocomplete/autocomplete-root.js +1 -2
- package/dist/components/autocomplete/autocomplete-trigger.js +1 -2
- package/dist/components/autocomplete/autocomplete-value.js +1 -2
- package/dist/components/autocomplete/autocomplete.context.js +1 -2
- package/dist/components/avatar/avatar-fallback.js +1 -2
- package/dist/components/avatar/avatar-image.js +1 -2
- package/dist/components/avatar/avatar-root.js +1 -2
- package/dist/components/avatar/avatar.context.js +1 -2
- package/dist/components/avatar-group/avatar-group-overflow.js +2 -3
- package/dist/components/avatar-group/avatar-group-root.js +1 -2
- package/dist/components/avatar-group/avatar-group.context.js +1 -2
- package/dist/components/badge/badge-anchor.js +1 -2
- package/dist/components/badge/badge-auto-label.js +1 -2
- package/dist/components/badge/badge-label.js +1 -2
- package/dist/components/badge/badge-root.js +1 -2
- package/dist/components/breadcrumbs/breadcrumbs-item.js +1 -2
- package/dist/components/breadcrumbs/breadcrumbs-root.js +1 -2
- package/dist/components/breadcrumbs/breadcrumbs.context.js +1 -2
- package/dist/components/button/button-root.js +21 -14
- package/dist/components/button-group/button-group-root.js +1 -2
- package/dist/components/button-group/button-group-separator.js +1 -2
- package/dist/components/button-group/button-group.context.js +1 -2
- package/dist/components/calendar/calendar-cell-indicator.js +1 -2
- package/dist/components/calendar/calendar-cell.js +38 -29
- package/dist/components/calendar/calendar-grid-body.js +1 -2
- package/dist/components/calendar/calendar-grid-header.js +1 -2
- package/dist/components/calendar/calendar-grid.js +17 -18
- package/dist/components/calendar/calendar-header-cell.js +1 -2
- package/dist/components/calendar/calendar-header.js +1 -2
- package/dist/components/calendar/calendar-heading.js +1 -2
- package/dist/components/calendar/calendar-nav-button.js +15 -10
- package/dist/components/calendar/calendar-root.js +1 -2
- package/dist/components/calendar/calendar.context.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker-cell.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker-grid-body.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker-grid.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger-heading.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger-indicator.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker-trigger.js +1 -2
- package/dist/components/calendar-year-picker/calendar-year-picker.context.js +1 -2
- package/dist/components/card/card-content.js +1 -2
- package/dist/components/card/card-description.js +1 -2
- package/dist/components/card/card-footer.js +1 -2
- package/dist/components/card/card-header.js +1 -2
- package/dist/components/card/card-root.js +1 -2
- package/dist/components/card/card-title.js +1 -2
- package/dist/components/checkbox/checkbox-content.js +1 -2
- package/dist/components/checkbox/checkbox-control.js +1 -2
- package/dist/components/checkbox/checkbox-indicator.js +1 -2
- package/dist/components/checkbox/checkbox-root.js +1 -2
- package/dist/components/checkbox/checkbox.context.js +1 -2
- package/dist/components/checkbox-group/checkbox-group-root.js +1 -2
- package/dist/components/checkbox-group/checkbox-group.context.js +1 -2
- package/dist/components/chip/chip-auto-label.js +1 -2
- package/dist/components/chip/chip-label.js +1 -2
- package/dist/components/chip/chip-root.js +1 -2
- package/dist/components/close-button/close-button-root.js +21 -14
- package/dist/components/color-area/color-area-root.js +3 -3
- package/dist/components/color-area/color-area-thumb.js +19 -15
- package/dist/components/color-area/color-area.context.js +1 -2
- package/dist/components/color-field/color-field-root.js +1 -2
- package/dist/components/color-input-group/color-input-group-input.js +21 -14
- package/dist/components/color-input-group/color-input-group-prefix.js +1 -2
- package/dist/components/color-input-group/color-input-group-root.js +1 -2
- package/dist/components/color-input-group/color-input-group-suffix.js +1 -2
- package/dist/components/color-input-group/color-input-group.context.js +1 -2
- package/dist/components/color-picker/color-picker-popover.js +1 -2
- package/dist/components/color-picker/color-picker-root.js +1 -2
- package/dist/components/color-picker/color-picker-trigger.js +21 -13
- package/dist/components/color-picker/color-picker.context.js +1 -2
- package/dist/components/color-slider/color-slider-output.js +1 -2
- package/dist/components/color-slider/color-slider-root.js +1 -2
- package/dist/components/color-slider/color-slider-thumb.js +7 -5
- package/dist/components/color-slider/color-slider-track.js +4 -5
- package/dist/components/color-slider/color-slider.context.js +1 -2
- package/dist/components/color-swatch/color-swatch-root.js +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-indicator.js +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-root.js +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker-swatch.js +1 -2
- package/dist/components/color-swatch-picker/color-swatch-picker.context.js +1 -2
- package/dist/components/combo-box/combo-box-hidden-input.js +1 -2
- package/dist/components/combo-box/combo-box-input-group.js +1 -2
- package/dist/components/combo-box/combo-box-popover.js +1 -2
- package/dist/components/combo-box/combo-box-root.js +1 -2
- package/dist/components/combo-box/combo-box-trigger.js +21 -13
- package/dist/components/combo-box/combo-box-value.js +1 -2
- package/dist/components/combo-box/combo-box.context.js +1 -2
- package/dist/components/date-field/date-field-root.js +1 -2
- package/dist/components/date-input-group/date-input-group-hidden-input.js +1 -2
- package/dist/components/date-input-group/date-input-group-input-container.js +1 -2
- package/dist/components/date-input-group/date-input-group-input.js +22 -15
- package/dist/components/date-input-group/date-input-group-prefix.js +1 -2
- package/dist/components/date-input-group/date-input-group-root.js +21 -12
- package/dist/components/date-input-group/date-input-group-segment.js +19 -11
- package/dist/components/date-input-group/date-input-group-suffix.js +1 -2
- package/dist/components/date-input-group/date-input-group.context.js +1 -2
- package/dist/components/date-input-group/use-date-segment.js +1 -2
- package/dist/components/date-picker/date-picker-popover.js +1 -2
- package/dist/components/date-picker/date-picker-root.js +1 -2
- package/dist/components/date-picker/date-picker-trigger-indicator.js +1 -2
- package/dist/components/date-picker/date-picker-trigger.js +15 -10
- package/dist/components/date-picker/date-picker.context.js +1 -2
- package/dist/components/date-range-picker/date-range-picker-popover.js +1 -2
- package/dist/components/date-range-picker/date-range-picker-range-separator.js +1 -2
- package/dist/components/date-range-picker/date-range-picker-root.js +1 -2
- package/dist/components/date-range-picker/date-range-picker-trigger-indicator.js +1 -2
- package/dist/components/date-range-picker/date-range-picker-trigger.js +15 -10
- package/dist/components/date-range-picker/date-range-picker.context.js +1 -2
- package/dist/components/date-range-picker/use-date-range-picker.js +1 -2
- package/dist/components/description/description-root.js +1 -2
- package/dist/components/disclosure/disclosure-body.js +1 -2
- package/dist/components/disclosure/disclosure-content.js +1 -2
- package/dist/components/disclosure/disclosure-heading.js +1 -2
- package/dist/components/disclosure/disclosure-indicator.js +1 -2
- package/dist/components/disclosure/disclosure-root.js +1 -2
- package/dist/components/disclosure/disclosure-trigger.js +1 -2
- package/dist/components/disclosure/disclosure.context.js +1 -2
- package/dist/components/disclosure-group/disclosure-group-root.js +1 -2
- package/dist/components/disclosure-group/disclosure-group.context.js +1 -2
- package/dist/components/dnd/drag-preview.js +1 -2
- package/dist/components/drawer/drawer-backdrop.js +1 -2
- package/dist/components/drawer/drawer-body.js +1 -2
- package/dist/components/drawer/drawer-close-trigger.js +1 -2
- package/dist/components/drawer/drawer-close.js +1 -2
- package/dist/components/drawer/drawer-content.js +1 -2
- package/dist/components/drawer/drawer-dialog.js +1 -2
- package/dist/components/drawer/drawer-footer.js +1 -2
- package/dist/components/drawer/drawer-handle.js +1 -2
- package/dist/components/drawer/drawer-header.js +1 -2
- package/dist/components/drawer/drawer-heading.js +1 -2
- package/dist/components/drawer/drawer-root.js +1 -2
- package/dist/components/drawer/drawer-trigger.js +21 -14
- package/dist/components/drawer/drawer.context.js +1 -2
- package/dist/components/drawer/use-drawer-drag.js +1 -2
- package/dist/components/drop-zone/drop-zone-root.js +1 -2
- package/dist/components/drop-zone/drop-zone-trigger.js +1 -2
- package/dist/components/drop-zone/drop-zone.accept.js +1 -2
- package/dist/components/dropdown/dropdown-menu.js +19 -19
- package/dist/components/dropdown/dropdown-popover.js +1 -2
- package/dist/components/dropdown/dropdown-root.js +1 -2
- package/dist/components/dropdown/dropdown-submenu-trigger.js +0 -1
- package/dist/components/dropdown/dropdown-trigger.js +21 -13
- package/dist/components/dropdown/dropdown.context.js +1 -2
- package/dist/components/dropdown/use-safely-mouse-to-submenu.js +1 -2
- package/dist/components/empty-state/empty-state-root.js +1 -2
- package/dist/components/error-message/error-message-root.js +1 -2
- package/dist/components/field-error/field-error-content.js +1 -2
- package/dist/components/field-error/field-error-root.js +1 -2
- package/dist/components/field-error/field-error.context.js +1 -2
- package/dist/components/fieldset/field-group.js +1 -2
- package/dist/components/fieldset/fieldset-actions.js +1 -2
- package/dist/components/fieldset/fieldset-legend.js +1 -2
- package/dist/components/fieldset/fieldset-root.js +1 -2
- package/dist/components/fieldset/fieldset.context.js +1 -2
- package/dist/components/form/form-root.js +1 -2
- package/dist/components/form/index.js +1 -2
- package/dist/components/header/header-root.js +1 -2
- package/dist/components/i18n-provider/i18n-provider.js +1 -2
- package/dist/components/i18n-provider/index.js +1 -2
- package/dist/components/icons/danger-icon.js +1 -2
- package/dist/components/icons/external-link-icon.js +1 -2
- package/dist/components/icons/icon-calendar.js +1 -2
- package/dist/components/icons/icon-chevron-down.js +1 -2
- package/dist/components/icons/icon-chevron-left.js +1 -2
- package/dist/components/icons/icon-chevron-right.js +1 -2
- package/dist/components/icons/icon-chevron-up.js +1 -2
- package/dist/components/icons/icon-close.js +1 -2
- package/dist/components/icons/icon-minus.js +1 -2
- package/dist/components/icons/icon-overlay-arrow.js +1 -2
- package/dist/components/icons/icon-plus.js +1 -2
- package/dist/components/icons/icon-search.js +1 -2
- package/dist/components/icons/info-icon.js +1 -2
- package/dist/components/icons/success-icon.js +1 -2
- package/dist/components/icons/warning-icon.js +1 -2
- package/dist/components/input/input-root.js +19 -13
- package/dist/components/input-group/input-group-input.js +19 -13
- package/dist/components/input-group/input-group-prefix.js +1 -2
- package/dist/components/input-group/input-group-root.js +1 -2
- package/dist/components/input-group/input-group-suffix.js +1 -2
- package/dist/components/input-group/input-group-textarea.js +19 -13
- package/dist/components/input-otp/input-otp-group.js +1 -2
- package/dist/components/input-otp/input-otp-root.js +13 -9
- package/dist/components/input-otp/input-otp-separator.js +1 -2
- package/dist/components/input-otp/input-otp-slot.js +1 -2
- package/dist/components/input-otp/input-otp.context.js +1 -2
- package/dist/components/kbd/kbd-abbr.js +1 -2
- package/dist/components/kbd/kbd-content.js +1 -2
- package/dist/components/kbd/kbd-root.js +1 -2
- package/dist/components/kbd/kbd.constants.js +1 -2
- package/dist/components/label/label-root.js +1 -2
- package/dist/components/link/link-icon.js +1 -2
- package/dist/components/link/link-root.js +1 -2
- package/dist/components/list-box/drag-collection.js +1 -2
- package/dist/components/list-box/list-box-drop-indicator.js +5 -4
- package/dist/components/list-box/list-box-load-more-item.js +1 -2
- package/dist/components/list-box/list-box-root.js +1 -2
- package/dist/components/list-box/list-box.context.js +1 -2
- package/dist/components/list-box-item/list-box-item-indicator.js +1 -2
- package/dist/components/list-box-item/list-box-item-root.js +26 -16
- package/dist/components/list-box-item/list-box-item.context.js +1 -2
- package/dist/components/list-box-section/list-box-section-root.js +1 -2
- package/dist/components/menu/menu-root.js +18 -18
- package/dist/components/menu/menu.context.js +1 -2
- package/dist/components/menu-item/menu-item-indicator.js +1 -2
- package/dist/components/menu-item/menu-item-root.js +1 -2
- package/dist/components/menu-item/menu-item-submenu-indicator.js +1 -2
- package/dist/components/menu-item/menu-item.context.js +1 -2
- package/dist/components/menu-section/menu-section-root.js +1 -2
- package/dist/components/meter/meter-fill.js +1 -2
- package/dist/components/meter/meter-output.js +1 -2
- package/dist/components/meter/meter-root.js +1 -2
- package/dist/components/meter/meter-track.js +1 -2
- package/dist/components/meter/meter.context.js +1 -2
- package/dist/components/modal/modal-backdrop.js +1 -2
- package/dist/components/modal/modal-body.js +1 -2
- package/dist/components/modal/modal-close-trigger.js +1 -2
- package/dist/components/modal/modal-close.js +1 -2
- package/dist/components/modal/modal-container.js +1 -2
- package/dist/components/modal/modal-dialog.js +1 -2
- package/dist/components/modal/modal-footer.js +1 -2
- package/dist/components/modal/modal-header.js +1 -2
- package/dist/components/modal/modal-heading.js +1 -2
- package/dist/components/modal/modal-icon.js +1 -2
- package/dist/components/modal/modal-root.js +1 -2
- package/dist/components/modal/modal-trigger.js +21 -13
- package/dist/components/modal/modal.context.js +1 -2
- package/dist/components/number-field/number-field-decrement-button.js +15 -9
- package/dist/components/number-field/number-field-group.js +10 -8
- package/dist/components/number-field/number-field-increment-button.js +15 -9
- package/dist/components/number-field/number-field-input.js +19 -11
- package/dist/components/number-field/number-field-root.js +1 -2
- package/dist/components/number-field/number-field.context.js +1 -2
- package/dist/components/overlay/overlay-arrow.js +1 -2
- package/dist/components/overlay/overlay-dismiss-button.js +1 -2
- package/dist/components/overlay/overlay-popover.js +1 -2
- package/dist/components/overlay/overlay-slots.js +1 -2
- package/dist/components/overlay/overlay.context.js +1 -2
- package/dist/components/pagination/pagination-content.js +1 -2
- package/dist/components/pagination/pagination-ellipsis.js +1 -2
- package/dist/components/pagination/pagination-item.js +1 -2
- package/dist/components/pagination/pagination-link.js +1 -2
- package/dist/components/pagination/pagination-next-icon.js +1 -2
- package/dist/components/pagination/pagination-next.js +1 -2
- package/dist/components/pagination/pagination-previous-icon.js +1 -2
- package/dist/components/pagination/pagination-previous.js +1 -2
- package/dist/components/pagination/pagination-root.js +1 -2
- package/dist/components/pagination/pagination-summary.js +1 -2
- package/dist/components/pagination/pagination.context.js +1 -2
- package/dist/components/popover/popover-arrow.js +1 -2
- package/dist/components/popover/popover-content.js +1 -2
- package/dist/components/popover/popover-dialog.js +1 -2
- package/dist/components/popover/popover-heading.js +1 -2
- package/dist/components/popover/popover-root.js +1 -2
- package/dist/components/popover/popover-trigger.js +21 -13
- package/dist/components/portal-provider/index.js +1 -2
- package/dist/components/portal-provider/portal-provider.js +1 -2
- package/dist/components/progress-bar/progress-bar-fill.js +1 -2
- package/dist/components/progress-bar/progress-bar-output.js +1 -2
- package/dist/components/progress-bar/progress-bar-root.js +1 -2
- package/dist/components/progress-bar/progress-bar-track.js +1 -2
- package/dist/components/progress-bar/progress-bar.context.js +1 -2
- package/dist/components/progress-circle/progress-circle-fill-circle.js +1 -2
- package/dist/components/progress-circle/progress-circle-root.js +1 -2
- package/dist/components/progress-circle/progress-circle-track-circle.js +1 -2
- package/dist/components/progress-circle/progress-circle-track.js +1 -2
- package/dist/components/progress-circle/progress-circle.constants.js +0 -1
- package/dist/components/progress-circle/progress-circle.context.js +1 -2
- package/dist/components/radio/radio-content.js +1 -2
- package/dist/components/radio/radio-control.js +1 -2
- package/dist/components/radio/radio-indicator.js +1 -2
- package/dist/components/radio/radio-root.js +1 -2
- package/dist/components/radio/radio.context.js +1 -2
- package/dist/components/radio-group/radio-group-root.js +1 -2
- package/dist/components/radio-group/radio-group.context.js +1 -2
- package/dist/components/range-calendar/range-calendar-cell-indicator.js +1 -2
- package/dist/components/range-calendar/range-calendar-cell.js +38 -29
- package/dist/components/range-calendar/range-calendar-grid-body.js +1 -2
- package/dist/components/range-calendar/range-calendar-grid-header.js +1 -2
- package/dist/components/range-calendar/range-calendar-grid.js +17 -18
- package/dist/components/range-calendar/range-calendar-header-cell.js +1 -2
- package/dist/components/range-calendar/range-calendar-header.js +1 -2
- package/dist/components/range-calendar/range-calendar-heading.js +1 -2
- package/dist/components/range-calendar/range-calendar-nav-button.js +15 -10
- package/dist/components/range-calendar/range-calendar-root.js +4 -5
- package/dist/components/range-calendar/range-calendar.context.js +1 -2
- package/dist/components/router-provider/router-provider.context.js +1 -2
- package/dist/components/router-provider/router-provider.js +1 -2
- package/dist/components/scroll-shadow/scroll-shadow-root.js +1 -2
- package/dist/components/scroll-shadow/use-scroll-shadow.js +1 -2
- package/dist/components/search-field/search-field-clear-button.js +1 -2
- package/dist/components/search-field/search-field-group.js +1 -2
- package/dist/components/search-field/search-field-input.js +19 -13
- package/dist/components/search-field/search-field-root.js +1 -2
- package/dist/components/search-field/search-field-search-icon.js +1 -2
- package/dist/components/search-field/search-field.context.js +1 -2
- package/dist/components/search-field/use-search-field.js +1 -2
- package/dist/components/segmented-control/segmented-control-indicator.js +1 -2
- package/dist/components/segmented-control/segmented-control-item.js +1 -2
- package/dist/components/segmented-control/segmented-control-root.js +1 -2
- package/dist/components/segmented-control/segmented-control-separator.js +1 -2
- package/dist/components/segmented-control/segmented-control.context.js +1 -2
- package/dist/components/select/select-clear-button.js +1 -2
- package/dist/components/select/select-hidden-select.js +1 -2
- package/dist/components/select/select-indicator.js +1 -2
- package/dist/components/select/select-popover.js +1 -2
- package/dist/components/select/select-root.js +1 -2
- package/dist/components/select/select-trigger.js +24 -16
- package/dist/components/select/select-value.js +1 -2
- package/dist/components/select/select.context.js +1 -2
- package/dist/components/separator/separator-root.js +1 -2
- package/dist/components/separator/separator.context.js +1 -2
- package/dist/components/sidebar/sidebar-collapsible-trigger.js +1 -2
- package/dist/components/sidebar/sidebar-collapsible.js +1 -2
- package/dist/components/sidebar/sidebar-content.js +1 -2
- package/dist/components/sidebar/sidebar-footer.js +1 -2
- package/dist/components/sidebar/sidebar-group-label.js +1 -2
- package/dist/components/sidebar/sidebar-group.js +1 -2
- package/dist/components/sidebar/sidebar-header.js +1 -2
- package/dist/components/sidebar/sidebar-inset.js +1 -2
- package/dist/components/sidebar/sidebar-item-icon.js +1 -2
- package/dist/components/sidebar/sidebar-item-indicator.js +1 -2
- package/dist/components/sidebar/sidebar-item-label.js +1 -2
- package/dist/components/sidebar/sidebar-item-tooltip.js +1 -2
- package/dist/components/sidebar/sidebar-item-trailing.js +1 -2
- package/dist/components/sidebar/sidebar-item.js +1 -2
- package/dist/components/sidebar/sidebar-panel.js +4 -5
- package/dist/components/sidebar/sidebar-rail.js +1 -2
- package/dist/components/sidebar/sidebar-root.js +1 -2
- package/dist/components/sidebar/sidebar-separator.js +1 -2
- package/dist/components/sidebar/sidebar-sub-menu.js +1 -2
- package/dist/components/sidebar/sidebar-trigger.js +1 -2
- package/dist/components/sidebar/sidebar.context.js +1 -2
- package/dist/components/sidebar/sidebar.state.js +1 -2
- package/dist/components/sidebar/sidebar.storage.js +1 -2
- package/dist/components/skeleton/skeleton-root.js +1 -2
- package/dist/components/slider/slider-fill.js +1 -2
- package/dist/components/slider/slider-marks.js +1 -2
- package/dist/components/slider/slider-output.js +1 -2
- package/dist/components/slider/slider-root.js +3 -3
- package/dist/components/slider/slider-thumb.js +7 -5
- package/dist/components/slider/slider-track.js +1 -2
- package/dist/components/slider/slider.context.js +1 -2
- package/dist/components/spinner/spinner-root.js +1 -2
- package/dist/components/splitter/splitter-handle.js +1 -2
- package/dist/components/splitter/splitter-panel.js +1 -2
- package/dist/components/splitter/splitter-root.js +1 -2
- package/dist/components/splitter/splitter.context.js +1 -2
- package/dist/components/splitter/splitter.state.js +1 -2
- package/dist/components/splitter/splitter.storage.js +1 -2
- package/dist/components/surface/surface-root.js +1 -2
- package/dist/components/surface/surface.context.js +1 -2
- package/dist/components/switch/switch-content.js +1 -2
- package/dist/components/switch/switch-control.js +1 -2
- package/dist/components/switch/switch-icon.js +1 -2
- package/dist/components/switch/switch-root.js +1 -2
- package/dist/components/switch/switch-thumb.js +1 -2
- package/dist/components/switch/switch.context.js +1 -2
- package/dist/components/switch-group/switch-group-root.js +1 -2
- package/dist/components/table/table-body.js +6 -7
- package/dist/components/table/table-cell.js +1 -2
- package/dist/components/table/table-column-resizer.js +1 -2
- package/dist/components/table/table-column.js +2 -3
- package/dist/components/table/table-content.js +1 -2
- package/dist/components/table/table-drag-collection.js +1 -2
- package/dist/components/table/table-drag-handle.js +1 -2
- package/dist/components/table/table-drop-indicator.js +9 -12
- package/dist/components/table/table-expand-trigger.js +1 -2
- package/dist/components/table/table-footer.js +1 -2
- package/dist/components/table/table-header.js +3 -4
- package/dist/components/table/table-load-more-content.js +1 -2
- package/dist/components/table/table-load-more.js +3 -4
- package/dist/components/table/table-resizable-container.js +1 -2
- package/dist/components/table/table-root.js +1 -2
- package/dist/components/table/table-row.js +8 -11
- package/dist/components/table/table-scroll-container.js +1 -2
- package/dist/components/table/table-selection-checkbox.js +4 -5
- package/dist/components/table/table-sortable-column-header.js +1 -2
- package/dist/components/table/table-virtualizer-item.js +1 -2
- package/dist/components/table/table.context.js +1 -2
- package/dist/components/table/use-grid-keyboard.js +1 -2
- package/dist/components/table/use-grid-selection-announcement.js +1 -2
- package/dist/components/table/use-table-collection.js +1 -2
- package/dist/components/table/use-table-column-layout.js +1 -2
- package/dist/components/tabs/tabs-indicator.js +1 -2
- package/dist/components/tabs/tabs-list-container.js +1 -2
- package/dist/components/tabs/tabs-list.js +1 -2
- package/dist/components/tabs/tabs-panel.js +1 -2
- package/dist/components/tabs/tabs-root.js +1 -2
- package/dist/components/tabs/tabs-separator.js +1 -2
- package/dist/components/tabs/tabs-tab.js +1 -2
- package/dist/components/tabs/tabs.context.js +1 -2
- package/dist/components/tag/tag-remove-button.js +1 -2
- package/dist/components/tag/tag-root.js +1 -2
- package/dist/components/tag/tag.context.js +1 -2
- package/dist/components/tag-group/tag-group-list.js +1 -2
- package/dist/components/tag-group/tag-group-root.js +1 -2
- package/dist/components/tag-group/tag-group.context.js +1 -2
- package/dist/components/textarea/textarea-root.js +19 -13
- package/dist/components/textfield/textfield-root.js +1 -2
- package/dist/components/textfield/textfield.context.js +1 -2
- package/dist/components/time-field/time-field-root.js +1 -2
- package/dist/components/toast/toast-action-button.js +1 -2
- package/dist/components/toast/toast-close-button.js +1 -2
- package/dist/components/toast/toast-content.js +1 -2
- package/dist/components/toast/toast-default-content.js +7 -8
- package/dist/components/toast/toast-description.js +1 -2
- package/dist/components/toast/toast-indicator.js +1 -2
- package/dist/components/toast/toast-provider.js +11 -7
- package/dist/components/toast/toast-queue.js +1 -2
- package/dist/components/toast/toast-renderable.js +1 -2
- package/dist/components/toast/toast-root.js +1 -2
- package/dist/components/toast/toast-title.js +1 -2
- package/dist/components/toast/toast.constants.js +1 -2
- package/dist/components/toast/toast.context.js +1 -2
- package/dist/components/toggle-button/toggle-button-root.js +1 -2
- package/dist/components/toggle-button-group/toggle-button-group-root.js +1 -2
- package/dist/components/toggle-button-group/toggle-button-group-separator.js +1 -2
- package/dist/components/toggle-button-group/toggle-button-group.context.js +1 -2
- package/dist/components/toolbar/toolbar-root.js +1 -2
- package/dist/components/toolbar/toolbar.context.js +1 -2
- package/dist/components/tooltip/tooltip-arrow.js +1 -2
- package/dist/components/tooltip/tooltip-content.js +1 -2
- package/dist/components/tooltip/tooltip-root.js +1 -2
- package/dist/components/tooltip/tooltip-trigger.js +13 -9
- package/dist/components/tooltip/tooltip.context.js +1 -2
- package/dist/components/typography/code.js +1 -2
- package/dist/components/typography/heading.js +1 -2
- package/dist/components/typography/paragraph.js +1 -2
- package/dist/components/typography/prose.js +1 -2
- package/dist/components/typography/typography-root.js +1 -2
- package/dist/components/typography/typography.constants.js +1 -2
- package/dist/components/virtualizer/use-virtualizer-item.js +1 -2
- package/dist/components/virtualizer/virtualizer-item.js +1 -2
- package/dist/components/virtualizer/virtualizer-root.js +1 -2
- package/dist/components/virtualizer/virtualizer-scrollbar-track.js +1 -2
- package/dist/components/virtualizer/virtualizer-scrollbar.js +1 -2
- package/dist/components/virtualizer/virtualizer.context.js +1 -2
- package/dist/composables/drag-manager.js +1 -2
- package/dist/composables/drag-modality.js +1 -2
- package/dist/composables/droppable-collection-registry.js +1 -2
- package/dist/composables/focus-responder.js +1 -2
- package/dist/composables/focus-scope-registry.js +1 -2
- package/dist/composables/form-context.js +1 -2
- package/dist/composables/interaction-modality.js +1 -2
- package/dist/composables/press-responder.js +1 -2
- package/dist/composables/use-auto-scroll.js +1 -2
- package/dist/composables/use-autocomplete.js +1 -2
- package/dist/composables/use-calendar-cell.js +1 -2
- package/dist/composables/use-calendar-grid.js +1 -2
- package/dist/composables/use-calendar-heading.js +1 -2
- package/dist/composables/use-calendar-state.js +1 -2
- package/dist/composables/use-calendar-year-picker.js +1 -2
- package/dist/composables/use-calendar.js +1 -2
- package/dist/composables/use-checkbox-group-state.js +1 -2
- package/dist/composables/use-collator.js +1 -2
- package/dist/composables/use-collection-auto-focus.js +1 -2
- package/dist/composables/use-collection.js +1 -2
- package/dist/composables/use-color-area-gradient.js +1 -2
- package/dist/composables/use-color-area-state.js +1 -2
- package/dist/composables/use-color-area.js +1 -2
- package/dist/composables/use-color-channel-field-state.js +1 -2
- package/dist/composables/use-color-channel-field.js +1 -2
- package/dist/composables/use-color-field-state.js +1 -2
- package/dist/composables/use-color-field.js +1 -2
- package/dist/composables/use-color-picker-state.js +1 -2
- package/dist/composables/use-color-slider-state.js +1 -2
- package/dist/composables/use-color-slider.js +1 -2
- package/dist/composables/use-color-swatch.js +1 -2
- package/dist/composables/use-combo-box-state.js +1 -2
- package/dist/composables/use-combo-box.js +1 -2
- package/dist/composables/use-controllable-state.js +1 -2
- package/dist/composables/use-css-variable.js +1 -2
- package/dist/composables/use-date-field-state.js +1 -2
- package/dist/composables/use-date-field.js +1 -2
- package/dist/composables/use-date-formatter.js +1 -2
- package/dist/composables/use-date-picker-group.js +1 -2
- package/dist/composables/use-date-picker-state.js +1 -2
- package/dist/composables/use-date-picker.js +1 -2
- package/dist/composables/use-date-range-picker-state.js +1 -2
- package/dist/composables/use-default-date-props.js +1 -2
- package/dist/composables/use-default-locale.js +1 -2
- package/dist/composables/use-description.js +1 -2
- package/dist/composables/use-dialog-trigger.js +1 -2
- package/dist/composables/use-disclosure-group-navigation.js +1 -2
- package/dist/composables/use-disclosure-group.js +1 -2
- package/dist/composables/use-disclosure-panel.js +1 -2
- package/dist/composables/use-dismissable.js +1 -2
- package/dist/composables/use-display-names.js +1 -2
- package/dist/composables/use-dnd-persisted-keys.js +1 -2
- package/dist/composables/use-drag-and-drop.js +1 -2
- package/dist/composables/use-drag.js +1 -2
- package/dist/composables/use-draggable-collection-state.js +1 -2
- package/dist/composables/use-draggable-collection.js +1 -2
- package/dist/composables/use-draggable-item.js +1 -2
- package/dist/composables/use-drop-indicator.js +1 -2
- package/dist/composables/use-drop.js +1 -2
- package/dist/composables/use-droppable-collection-state.js +1 -2
- package/dist/composables/use-droppable-collection.js +1 -2
- package/dist/composables/use-droppable-item.js +1 -2
- package/dist/composables/use-enter-exit.js +1 -2
- package/dist/composables/use-field-ids.js +1 -2
- package/dist/composables/use-filter.js +1 -2
- package/dist/composables/use-focus-scope.js +1 -2
- package/dist/composables/use-form-reset.js +1 -2
- package/dist/composables/use-form-validation-state.js +1 -2
- package/dist/composables/use-form-validation.js +1 -2
- package/dist/composables/use-formatted-text-field.js +1 -2
- package/dist/composables/use-id.js +1 -2
- package/dist/composables/use-image-loading-status.js +1 -2
- package/dist/composables/use-input-otp.js +1 -2
- package/dist/composables/use-interaction-states.js +1 -2
- package/dist/composables/use-labels.js +1 -2
- package/dist/composables/use-list-data.js +1 -2
- package/dist/composables/use-list-keyboard.js +1 -2
- package/dist/composables/use-locale.js +1 -2
- package/dist/composables/use-localized-string-dictionary.js +1 -2
- package/dist/composables/use-localized-string-formatter.js +1 -2
- package/dist/composables/use-long-press.js +1 -2
- package/dist/composables/use-measured-height.js +1 -2
- package/dist/composables/use-media-query.js +1 -2
- package/dist/composables/use-menu-trigger-state.js +1 -2
- package/dist/composables/use-menu-trigger.js +1 -2
- package/dist/composables/use-menu.js +1 -2
- package/dist/composables/use-modal-overlay.js +1 -2
- package/dist/composables/use-modal-transition.js +1 -2
- package/dist/composables/use-move.js +1 -2
- package/dist/composables/use-number-field-state.js +1 -2
- package/dist/composables/use-number-field.js +1 -2
- package/dist/composables/use-number-formatter.js +1 -2
- package/dist/composables/use-overlay-position.js +1 -2
- package/dist/composables/use-overlay-trigger-state.js +1 -2
- package/dist/composables/use-overlay-trigger.js +1 -2
- package/dist/composables/use-page-size.js +1 -2
- package/dist/composables/use-password-manager-badge.js +1 -2
- package/dist/composables/use-portal.js +1 -2
- package/dist/composables/use-press.js +1 -2
- package/dist/composables/use-prevent-scroll.js +1 -2
- package/dist/composables/use-progress-labeling.js +1 -2
- package/dist/composables/use-progress-value.js +1 -2
- package/dist/composables/use-radio-group-state.js +1 -2
- package/dist/composables/use-range-calendar-state.js +1 -2
- package/dist/composables/use-range-calendar.js +1 -2
- package/dist/composables/use-scroll-wheel.js +1 -2
- package/dist/composables/use-select-state.js +1 -2
- package/dist/composables/use-select.js +1 -2
- package/dist/composables/use-selection-manager.js +1 -2
- package/dist/composables/use-shared-element.js +1 -2
- package/dist/composables/use-single-select-list-state.js +1 -2
- package/dist/composables/use-slider-state.js +1 -2
- package/dist/composables/use-slider-thumb.js +1 -2
- package/dist/composables/use-slider.js +1 -2
- package/dist/composables/use-spin-button.js +1 -2
- package/dist/composables/use-tab-list-state.js +1 -2
- package/dist/composables/use-text-field.js +1 -2
- package/dist/composables/use-textarea-autosize.js +1 -2
- package/dist/composables/use-time-field-state.js +1 -2
- package/dist/composables/use-toast-region.js +1 -2
- package/dist/composables/use-toast.js +1 -2
- package/dist/composables/use-toggle-group-state.js +1 -2
- package/dist/composables/use-toolbar.js +1 -2
- package/dist/composables/use-tooltip-trigger-state.js +1 -2
- package/dist/composables/use-tooltip-trigger.js +1 -2
- package/dist/composables/use-typeahead.js +1 -2
- package/dist/composables/use-viewport-size.js +1 -2
- package/dist/composables/use-virtual-drop.js +1 -2
- package/dist/composables/use-virtualizer-scroll.js +1 -2
- package/dist/composables/use-virtualizer.js +1 -2
- package/dist/composables/validation-result.js +1 -2
- package/dist/composables/virtual-event.js +1 -2
- package/dist/i18n/breadcrumbs.js +1 -2
- package/dist/i18n/calendar.js +1 -2
- package/dist/i18n/color.js +1 -2
- package/dist/i18n/combobox.js +0 -1
- package/dist/i18n/date-placeholders.js +1 -2
- package/dist/i18n/date-validation.js +1 -2
- package/dist/i18n/datepicker.js +1 -2
- package/dist/i18n/dnd.js +0 -1
- package/dist/i18n/select.js +1 -2
- package/dist/i18n/spinbutton.js +1 -2
- package/dist/i18n/toast.js +0 -1
- package/dist/index.js +2 -2
- package/dist/utils/animation-settled.js +1 -2
- package/dist/utils/aria-hide-outside.js +1 -2
- package/dist/utils/assertion.js +1 -2
- package/dist/utils/auto-label.js +1 -2
- package/dist/utils/block.js +1 -2
- package/dist/utils/calendar-systems.js +1 -2
- package/dist/utils/calendar.js +1 -2
- package/dist/utils/color-oklch.js +1 -2
- package/dist/utils/color.js +1 -2
- package/dist/utils/compose.js +1 -2
- package/dist/utils/create-context.js +1 -2
- package/dist/utils/css.js +1 -2
- package/dist/utils/date-format.js +1 -2
- package/dist/utils/date-placeholder.js +1 -2
- package/dist/utils/date-validation.js +1 -2
- package/dist/utils/dnd-constants.js +1 -2
- package/dist/utils/dnd-data-transfer.js +1 -2
- package/dist/utils/dnd-drop-target-navigation.js +1 -2
- package/dist/utils/dnd-list-drop-target-delegate.js +1 -2
- package/dist/utils/dnd-state.js +1 -2
- package/dist/utils/dnd-tree-drop-target-delegate.js +1 -2
- package/dist/utils/dnd-types.js +1 -2
- package/dist/utils/document-order.js +1 -2
- package/dist/utils/flex-sizing.js +1 -2
- package/dist/utils/focus.js +1 -2
- package/dist/utils/form-value.js +1 -2
- package/dist/utils/incomplete-date.js +1 -2
- package/dist/utils/live-announcer.js +1 -2
- package/dist/utils/locale.js +1 -2
- package/dist/utils/number.js +1 -2
- package/dist/utils/open-link.js +1 -2
- package/dist/utils/platform.js +1 -2
- package/dist/utils/position.js +1 -2
- package/dist/utils/region.js +1 -2
- package/dist/utils/text-value.js +1 -2
- package/dist/utils/top-layer.js +1 -2
- package/dist/utils/virtualizer-collection.js +1 -2
- package/dist/utils/virtualizer-geometry.js +1 -2
- package/dist/utils/virtualizer-layout-info.js +1 -2
- package/dist/utils/virtualizer-layout.js +1 -2
- package/dist/utils/virtualizer-list-layout.js +1 -2
- package/dist/utils/virtualizer-offsets.js +1 -2
- package/dist/utils/virtualizer-overscan.js +1 -2
- package/dist/utils/virtualizer-table-layout.js +1 -2
- package/dist/utils/visually-hidden.js +1 -2
- package/dist/version.js +2 -3
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { sortByDocumentOrder } from "../utils/document-order.js";
|
|
2
2
|
import { computed, shallowRef } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-collection.ts
|
|
4
4
|
/**
|
|
5
5
|
* `key → index` for a data-backed collection, memoized on the source itself.
|
|
6
6
|
*
|
|
@@ -155,5 +155,4 @@ var useCollection = (options = {}) => {
|
|
|
155
155
|
withOrder
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
//#endregion
|
|
159
158
|
export { useCollection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseColor } from "../utils/color.js";
|
|
2
2
|
import { computed, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-color-area-gradient.ts
|
|
4
4
|
/** Stops of the hue wheel a gradient is drawn through, in degrees. */
|
|
5
5
|
var HUE_STOPS = [
|
|
6
6
|
0,
|
|
@@ -88,5 +88,4 @@ var useColorAreaGradient = (options) => {
|
|
|
88
88
|
})
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
//#endregion
|
|
92
91
|
export { useColorAreaGradient };
|
|
@@ -2,7 +2,7 @@ import { useControllableState } from "./use-controllable-state.js";
|
|
|
2
2
|
import { clamp, snapValueToStep } from "../utils/number.js";
|
|
3
3
|
import { normalizeColor, parseColor } from "../utils/color.js";
|
|
4
4
|
import { computed, shallowRef, toValue } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-color-area-state.ts
|
|
6
6
|
/**
|
|
7
7
|
* What a colour area with nothing to show starts from.
|
|
8
8
|
*
|
|
@@ -134,5 +134,4 @@ var useColorAreaState = (options = {}) => {
|
|
|
134
134
|
yValue
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
//#endregion
|
|
138
137
|
export { useColorAreaState };
|
|
@@ -8,7 +8,7 @@ import { useLabels } from "./use-labels.js";
|
|
|
8
8
|
import { setFormValue } from "../utils/form-value.js";
|
|
9
9
|
import { useColorAreaGradient } from "./use-color-area-gradient.js";
|
|
10
10
|
import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
11
|
-
|
|
11
|
+
// src/composables/use-color-area.ts
|
|
12
12
|
/**
|
|
13
13
|
* A two dimensional colour control: two channels on two axes, one thumb, two hidden inputs.
|
|
14
14
|
*
|
|
@@ -336,5 +336,4 @@ var useColorArea = (options) => {
|
|
|
336
336
|
yInputProps: inputFor("y")
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
|
-
//#endregion
|
|
340
339
|
export { useColorArea };
|
|
@@ -3,7 +3,7 @@ import { parseColor } from "../utils/color.js";
|
|
|
3
3
|
import { parseColorValue } from "./use-color-field-state.js";
|
|
4
4
|
import { useNumberFieldState } from "./use-number-field-state.js";
|
|
5
5
|
import { computed, toValue } from "vue";
|
|
6
|
-
|
|
6
|
+
// src/composables/use-color-channel-field-state.ts
|
|
7
7
|
/**
|
|
8
8
|
* Stand-in for an absent colour, so a channel still has something to read.
|
|
9
9
|
*
|
|
@@ -74,5 +74,4 @@ var useColorChannelFieldState = (options) => {
|
|
|
74
74
|
setColorValue
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
//#endregion
|
|
78
77
|
export { useColorChannelFieldState };
|
|
@@ -3,7 +3,7 @@ import { useFormValidation } from "./use-form-validation.js";
|
|
|
3
3
|
import { useColorChannelFieldState } from "./use-color-channel-field-state.js";
|
|
4
4
|
import { useNumberField } from "./use-number-field.js";
|
|
5
5
|
import { computed, toValue } from "vue";
|
|
6
|
-
|
|
6
|
+
// src/composables/use-color-channel-field.ts
|
|
7
7
|
/**
|
|
8
8
|
* Behaviour and accessibility for a colour channel field, ported from React Aria's
|
|
9
9
|
* `packages/react-aria/src/color/useColorChannelField.ts` (react-aria 3.51.0).
|
|
@@ -72,5 +72,4 @@ var useColorChannelField = (options) => {
|
|
|
72
72
|
state
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
//#endregion
|
|
76
75
|
export { useColorChannelField };
|
|
@@ -2,7 +2,7 @@ import { useControllableState } from "./use-controllable-state.js";
|
|
|
2
2
|
import { useFormValidationState } from "./use-form-validation-state.js";
|
|
3
3
|
import { parseColor } from "../utils/color.js";
|
|
4
4
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-color-field-state.ts
|
|
6
6
|
var MIN_COLOR = parseColor("#000000");
|
|
7
7
|
var MAX_COLOR = parseColor("#FFFFFF");
|
|
8
8
|
var MIN_COLOR_INT = MIN_COLOR.toHexInt();
|
|
@@ -156,5 +156,4 @@ var useColorFieldState = (options = {}) => {
|
|
|
156
156
|
validate: (value) => value === "" || Boolean(/^#?[0-9a-f]{0,6}$/i.exec(value)?.[0])
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
|
-
//#endregion
|
|
160
159
|
export { parseColorValue, useColorFieldState };
|
|
@@ -6,7 +6,7 @@ import { useScrollWheel } from "./use-scroll-wheel.js";
|
|
|
6
6
|
import { useSpinButton } from "./use-spin-button.js";
|
|
7
7
|
import { useTextField } from "./use-text-field.js";
|
|
8
8
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
9
|
-
|
|
9
|
+
// src/composables/use-color-field.ts
|
|
10
10
|
/**
|
|
11
11
|
* Behaviour and accessibility for a hex colour field, ported from React Aria's
|
|
12
12
|
* `packages/react-aria/src/color/useColorField.ts` (react-aria 3.51.0).
|
|
@@ -151,5 +151,4 @@ var useColorField = (options = {}) => {
|
|
|
151
151
|
state
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
//#endregion
|
|
155
154
|
export { useColorField };
|
|
@@ -2,7 +2,7 @@ import { useControllableState } from "./use-controllable-state.js";
|
|
|
2
2
|
import { parseColor } from "../utils/color.js";
|
|
3
3
|
import { parseColorValue } from "./use-color-field-state.js";
|
|
4
4
|
import { computed, toValue } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-color-picker-state.ts
|
|
6
6
|
/** Where a picker starts when nothing says otherwise. */
|
|
7
7
|
var DEFAULT_COLOR = parseColor("#000000");
|
|
8
8
|
/**
|
|
@@ -32,5 +32,4 @@ var useColorPickerState = (options = {}) => {
|
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
//#endregion
|
|
36
35
|
export { useColorPickerState };
|
|
@@ -4,7 +4,7 @@ import { normalizeColor, parseColor } from "../utils/color.js";
|
|
|
4
4
|
import { useNumberFormatter } from "./use-number-formatter.js";
|
|
5
5
|
import { useSliderState } from "./use-slider-state.js";
|
|
6
6
|
import { computed, toValue } from "vue";
|
|
7
|
-
|
|
7
|
+
// src/composables/use-color-slider-state.ts
|
|
8
8
|
/**
|
|
9
9
|
* One channel of a colour, as a slider.
|
|
10
10
|
*
|
|
@@ -100,5 +100,4 @@ var useColorSliderState = (options) => {
|
|
|
100
100
|
value: color
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
//#endregion
|
|
104
103
|
export { useColorSliderState };
|
|
@@ -3,7 +3,7 @@ import { visuallyHiddenStyle } from "../utils/visually-hidden.js";
|
|
|
3
3
|
import { useSlider } from "./use-slider.js";
|
|
4
4
|
import { useSliderThumb } from "./use-slider-thumb.js";
|
|
5
5
|
import { computed, toValue } from "vue";
|
|
6
|
-
|
|
6
|
+
// src/composables/use-color-slider.ts
|
|
7
7
|
/** Stops of the hue wheel the gradient is drawn through, in degrees. */
|
|
8
8
|
var HUE_STOPS = [
|
|
9
9
|
0,
|
|
@@ -136,5 +136,4 @@ var useColorSlider = (options) => {
|
|
|
136
136
|
}))
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
|
-
//#endregion
|
|
140
139
|
export { useColorSlider };
|
|
@@ -4,7 +4,7 @@ import { useLocalizedStringFormatter } from "./use-localized-string-formatter.js
|
|
|
4
4
|
import { colorStrings } from "../i18n/color.js";
|
|
5
5
|
import { normalizeColor } from "../utils/color.js";
|
|
6
6
|
import { computed, toValue } from "vue";
|
|
7
|
-
|
|
7
|
+
// src/composables/use-color-swatch.ts
|
|
8
8
|
/**
|
|
9
9
|
* A swatch showing one colour, named for a screen reader.
|
|
10
10
|
*
|
|
@@ -50,5 +50,4 @@ var useColorSwatch = (options = {}) => {
|
|
|
50
50
|
style
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
-
//#endregion
|
|
54
53
|
export { useColorSwatch };
|
|
@@ -8,7 +8,7 @@ import { useSelectionManager } from "./use-selection-manager.js";
|
|
|
8
8
|
import { defaultItemTextValue } from "./use-select-state.js";
|
|
9
9
|
import { useFilter } from "./use-filter.js";
|
|
10
10
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
11
|
-
|
|
11
|
+
// src/composables/use-combo-box-state.ts
|
|
12
12
|
/** The keys a value stands for, as the selection manager wants them. */
|
|
13
13
|
var toKeys = (value) => {
|
|
14
14
|
if (value == null) return [];
|
|
@@ -364,5 +364,4 @@ var useComboBoxState = (options) => {
|
|
|
364
364
|
value: displayValue
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
|
-
//#endregion
|
|
368
367
|
export { useComboBoxState };
|
|
@@ -12,7 +12,7 @@ import { announce } from "../utils/live-announcer.js";
|
|
|
12
12
|
import { useLabels } from "./use-labels.js";
|
|
13
13
|
import { useTextField } from "./use-text-field.js";
|
|
14
14
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
15
|
-
|
|
15
|
+
// src/composables/use-combo-box.ts
|
|
16
16
|
/** How long two touchend events have to be apart to count as two taps rather than one. */
|
|
17
17
|
var DOUBLE_TOUCH_MS = 500;
|
|
18
18
|
/**
|
|
@@ -319,5 +319,4 @@ var useComboBox = (options, state) => {
|
|
|
319
319
|
validation: state.displayValidation
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
|
-
//#endregion
|
|
323
322
|
export { useComboBox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, shallowRef, toValue } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-controllable-state.ts
|
|
3
3
|
/**
|
|
4
4
|
* Controlled/uncontrolled state, the Vue counterpart of React Stately's
|
|
5
5
|
* `useControlledState`.
|
|
@@ -38,5 +38,4 @@ var useControllableState = (options) => {
|
|
|
38
38
|
})
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
//#endregion
|
|
42
41
|
export { useControllableState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, toValue } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-css-variable.ts
|
|
3
3
|
/**
|
|
4
4
|
* Values already read off the document, so a page full of tooltips asks once.
|
|
5
5
|
*
|
|
@@ -32,5 +32,4 @@ var useCssVariable = (name, options = {}) => {
|
|
|
32
32
|
return value;
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
|
-
//#endregion
|
|
36
35
|
export { useCssVariable };
|
|
@@ -9,7 +9,7 @@ import { useDefaultDateProps } from "./use-default-date-props.js";
|
|
|
9
9
|
import { computed, shallowRef, toValue } from "vue";
|
|
10
10
|
import { DateFormatter, GregorianCalendar, isEqualCalendar, toCalendar } from "@internationalized/date";
|
|
11
11
|
import { NumberFormatter } from "@internationalized/number";
|
|
12
|
-
|
|
12
|
+
// src/composables/use-date-field-state.ts
|
|
13
13
|
/** Segments the user can type into. Literals and the time zone name are display only. */
|
|
14
14
|
var EDITABLE_SEGMENTS = {
|
|
15
15
|
day: true,
|
|
@@ -286,5 +286,4 @@ var processSegments = (dateValue, displayValue, dateFormatter, resolvedOptions,
|
|
|
286
286
|
}
|
|
287
287
|
return result;
|
|
288
288
|
};
|
|
289
|
-
//#endregion
|
|
290
289
|
export { useDateFieldState };
|
|
@@ -10,7 +10,7 @@ import { useFormValidation } from "./use-form-validation.js";
|
|
|
10
10
|
import { setFormValue } from "../utils/form-value.js";
|
|
11
11
|
import { useDatePickerGroup } from "./use-date-picker-group.js";
|
|
12
12
|
import { computed, toValue, watch, watchEffect } from "vue";
|
|
13
|
-
|
|
13
|
+
// src/composables/use-date-field.ts
|
|
14
14
|
/**
|
|
15
15
|
* Behaviour and accessibility for a date field: the group around the segments, the hidden input a
|
|
16
16
|
* form reads, and the labelling every segment repeats.
|
|
@@ -166,5 +166,4 @@ var useTimeField = (options) => useDateField({
|
|
|
166
166
|
...options,
|
|
167
167
|
inputValue: () => options.state.timeValue.value?.toString() ?? ""
|
|
168
168
|
});
|
|
169
|
-
//#endregion
|
|
170
169
|
export { useDateField, useTimeField };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useLocale } from "./use-locale.js";
|
|
2
2
|
import { computed, toValue } from "vue";
|
|
3
3
|
import { DateFormatter } from "@internationalized/date";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-date-formatter.ts
|
|
5
5
|
/**
|
|
6
6
|
* An `Intl.DateTimeFormat` for the locale that applies here, ported from React Aria's
|
|
7
7
|
* `packages/react-aria/src/i18n/useDateFormatter.ts` (react-aria 3.51.0).
|
|
@@ -20,5 +20,4 @@ var useDateFormatter = (options) => {
|
|
|
20
20
|
const locale = useLocale();
|
|
21
21
|
return computed(() => new DateFormatter(locale.value.locale, toValue(options) ?? {}));
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { useDateFormatter };
|
|
@@ -2,7 +2,7 @@ import { createFocusManager, tabbableIn } from "../utils/focus.js";
|
|
|
2
2
|
import { usePress } from "./use-press.js";
|
|
3
3
|
import { useLocale } from "./use-locale.js";
|
|
4
4
|
import { toValue } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-date-picker-group.ts
|
|
6
6
|
/**
|
|
7
7
|
* The segment nearest `fromX` on the given side, measured rather than counted.
|
|
8
8
|
*
|
|
@@ -109,5 +109,4 @@ var useDatePickerGroup = (options) => {
|
|
|
109
109
|
onKeydown
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
//#endregion
|
|
113
112
|
export { useDatePickerGroup };
|
|
@@ -6,7 +6,7 @@ import { getDateValidationResult } from "../utils/date-validation.js";
|
|
|
6
6
|
import { useDefaultDateProps } from "./use-default-date-props.js";
|
|
7
7
|
import { computed, shallowRef, toValue } from "vue";
|
|
8
8
|
import { DateFormatter, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
9
|
-
|
|
9
|
+
// src/composables/use-date-picker-state.ts
|
|
10
10
|
/**
|
|
11
11
|
* The state behind a date picker: the value, whether the popover is open, and how the two halves of
|
|
12
12
|
* a date-and-time value are assembled.
|
|
@@ -121,5 +121,4 @@ var useDatePickerState = (options) => {
|
|
|
121
121
|
value: computed(() => value.value)
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
|
-
//#endregion
|
|
125
124
|
export { useDatePickerState };
|
|
@@ -8,7 +8,7 @@ import { datepickerStrings } from "../i18n/datepicker.js";
|
|
|
8
8
|
import { useDatePickerGroup } from "./use-date-picker-group.js";
|
|
9
9
|
import { computed, toValue } from "vue";
|
|
10
10
|
import { toCalendarDate } from "@internationalized/date";
|
|
11
|
-
|
|
11
|
+
// src/composables/use-date-picker.ts
|
|
12
12
|
/**
|
|
13
13
|
* The behaviour and accessibility wiring for a date picker.
|
|
14
14
|
*
|
|
@@ -150,5 +150,4 @@ var useDatePicker = (options, state) => {
|
|
|
150
150
|
}))
|
|
151
151
|
};
|
|
152
152
|
};
|
|
153
|
-
//#endregion
|
|
154
153
|
export { useDatePicker };
|
|
@@ -6,7 +6,7 @@ import { getRangeValidationResult } from "../utils/date-validation.js";
|
|
|
6
6
|
import { useDefaultDateProps } from "./use-default-date-props.js";
|
|
7
7
|
import { computed, shallowRef, toValue } from "vue";
|
|
8
8
|
import { DateFormatter, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
9
|
-
|
|
9
|
+
// src/composables/use-date-range-picker-state.ts
|
|
10
10
|
var EMPTY = Object.freeze({
|
|
11
11
|
end: null,
|
|
12
12
|
start: null
|
|
@@ -235,5 +235,4 @@ var useDateRangePickerState = (options) => {
|
|
|
235
235
|
value
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
|
-
//#endregion
|
|
239
238
|
export { useDateRangePickerState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-default-date-props.ts
|
|
3
3
|
/**
|
|
4
4
|
* How precise a date control is, and which time zone it works in.
|
|
5
5
|
*
|
|
@@ -33,5 +33,4 @@ var useDefaultDateProps = (value, granularity) => {
|
|
|
33
33
|
})
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
|
-
//#endregion
|
|
37
36
|
export { useDefaultDateProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getDefaultLocale } from "../utils/locale.js";
|
|
2
2
|
import { computed, onScopeDispose, shallowRef } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-default-locale.ts
|
|
4
4
|
/**
|
|
5
5
|
* The browser's locale, shared by every consumer and updated when the user changes it.
|
|
6
6
|
*
|
|
@@ -35,5 +35,4 @@ var useDefaultLocale = () => {
|
|
|
35
35
|
onScopeDispose(retainBrowserLocale());
|
|
36
36
|
return computed(() => browserLocale.value);
|
|
37
37
|
};
|
|
38
|
-
//#endregion
|
|
39
38
|
export { useDefaultLocale };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-description.ts
|
|
3
3
|
var nextId = 0;
|
|
4
4
|
/** One node per distinct description, shared by every consumer that asks for that text. */
|
|
5
5
|
var nodes = /* @__PURE__ */ new Map();
|
|
@@ -53,5 +53,4 @@ var useDescription = (description) => {
|
|
|
53
53
|
}, { immediate: true });
|
|
54
54
|
return { describedBy: computed(() => id.value) };
|
|
55
55
|
};
|
|
56
|
-
//#endregion
|
|
57
56
|
export { useDescription };
|
|
@@ -2,7 +2,7 @@ import { useId as useId$1 } from "./use-id.js";
|
|
|
2
2
|
import { useOverlayTrigger } from "./use-overlay-trigger.js";
|
|
3
3
|
import { usePress } from "./use-press.js";
|
|
4
4
|
import { computed, shallowRef } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-dialog-trigger.ts
|
|
6
6
|
/**
|
|
7
7
|
* Turn any pressable into a trigger for a dialog, ported from React Aria's `DialogTrigger`.
|
|
8
8
|
*
|
|
@@ -48,5 +48,4 @@ var useDialogTrigger = (options, state) => {
|
|
|
48
48
|
triggerId
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
//#endregion
|
|
52
51
|
export { useDialogTrigger };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, toValue } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-disclosure-group-navigation.ts
|
|
3
3
|
/**
|
|
4
4
|
* Steps a group of disclosures forwards and backwards from outside it.
|
|
5
5
|
*
|
|
@@ -53,5 +53,4 @@ var useDisclosureGroupNavigation = (options) => {
|
|
|
53
53
|
onPrevious
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
//#endregion
|
|
57
56
|
export { useDisclosureGroupNavigation };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useControllableState } from "./use-controllable-state.js";
|
|
2
2
|
import { computed, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-disclosure-group.ts
|
|
4
4
|
/** Keys that move focus between triggers, per the WAI-ARIA Accordion pattern. */
|
|
5
5
|
var NAVIGATION_KEYS = /* @__PURE__ */ new Set([
|
|
6
6
|
"ArrowDown",
|
|
@@ -99,5 +99,4 @@ var useDisclosureGroup = (options = {}) => {
|
|
|
99
99
|
toggle
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
|
-
//#endregion
|
|
103
102
|
export { useDisclosureGroup };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-disclosure-panel.ts
|
|
3
3
|
/**
|
|
4
4
|
* Drives the collapse of a panel that always stays in the DOM.
|
|
5
5
|
*
|
|
@@ -65,5 +65,4 @@ var useDisclosurePanel = (options) => {
|
|
|
65
65
|
});
|
|
66
66
|
return { setPanelElement };
|
|
67
67
|
};
|
|
68
|
-
//#endregion
|
|
69
68
|
export { useDisclosurePanel };
|
|
@@ -2,7 +2,7 @@ import { regionsOverlap } from "../utils/region.js";
|
|
|
2
2
|
import { isInTopLayer } from "../utils/top-layer.js";
|
|
3
3
|
import { isElementInAnyFocusScope } from "./focus-scope-registry.js";
|
|
4
4
|
import { computed, onScopeDispose, toValue, watch } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-dismissable.ts
|
|
6
6
|
var visibleOverlays = [];
|
|
7
7
|
/**
|
|
8
8
|
* Dismiss an overlay on Escape or on an interaction outside it, ported from React Aria's
|
|
@@ -138,5 +138,4 @@ var useDismissable = (options) => {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
|
-
//#endregion
|
|
142
141
|
export { useDismissable };
|
|
@@ -2,7 +2,7 @@ import { useLocale } from "./use-locale.js";
|
|
|
2
2
|
import { useLocalizedStringDictionary } from "./use-localized-string-dictionary.js";
|
|
3
3
|
import { datepickerStrings } from "../i18n/datepicker.js";
|
|
4
4
|
import { computed } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-display-names.ts
|
|
6
6
|
var NAMED_FIELDS = /* @__PURE__ */ new Set([
|
|
7
7
|
"day",
|
|
8
8
|
"dayPeriod",
|
|
@@ -40,5 +40,4 @@ var useDisplayNames = () => {
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
-
//#endregion
|
|
44
43
|
export { useDisplayNames };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-dnd-persisted-keys.ts
|
|
3
3
|
/**
|
|
4
4
|
* The keys a virtualized collection has to keep rendered while a drag is in flight, ported from
|
|
5
5
|
* React Aria Components' `useDndPersistedKeys`.
|
|
@@ -32,5 +32,4 @@ var useDndPersistedKeys = (focusedKey, dragAndDropHooks, dropState) => computed(
|
|
|
32
32
|
} else keys.add(target.key);
|
|
33
33
|
return keys;
|
|
34
34
|
});
|
|
35
|
-
//#endregion
|
|
36
35
|
export { useDndPersistedKeys };
|
|
@@ -7,7 +7,7 @@ import { useDroppableItem } from "./use-droppable-item.js";
|
|
|
7
7
|
import { useDropIndicator } from "./use-drop-indicator.js";
|
|
8
8
|
import { useDroppableCollection } from "./use-droppable-collection.js";
|
|
9
9
|
import { useDroppableCollectionState } from "./use-droppable-collection-state.js";
|
|
10
|
-
|
|
10
|
+
// src/composables/use-drag-and-drop.ts
|
|
11
11
|
/**
|
|
12
12
|
* Configures drag and drop for a collection.
|
|
13
13
|
*
|
|
@@ -37,5 +37,4 @@ var useDragAndDrop = (options) => {
|
|
|
37
37
|
}
|
|
38
38
|
return { dragAndDropHooks: hooks };
|
|
39
39
|
};
|
|
40
|
-
//#endregion
|
|
41
40
|
export { useDragAndDrop };
|
|
@@ -9,7 +9,7 @@ import { useDragModality } from "./drag-modality.js";
|
|
|
9
9
|
import { beginDragging } from "./drag-manager.js";
|
|
10
10
|
import { globalDropEffect, setGlobalAllowedDropOperations, setGlobalDropEffect } from "../utils/dnd-state.js";
|
|
11
11
|
import { computed, onScopeDispose, shallowRef, toValue } from "vue";
|
|
12
|
-
|
|
12
|
+
// src/composables/use-drag.ts
|
|
13
13
|
/**
|
|
14
14
|
* Drag behaviour for an element, ported from React Aria's `useDrag`.
|
|
15
15
|
*
|
|
@@ -266,5 +266,4 @@ var useDrag = (options) => {
|
|
|
266
266
|
onDragButtonPress
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
|
-
//#endregion
|
|
270
269
|
export { useDrag };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, shallowRef, toValue } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-draggable-collection-state.ts
|
|
3
3
|
/**
|
|
4
4
|
* Drag state for a collection, ported from react-stately's `useDraggableCollectionState`.
|
|
5
5
|
*
|
|
@@ -89,5 +89,4 @@ var useDraggableCollectionState = (options) => {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
|
-
//#endregion
|
|
93
92
|
export { useDraggableCollectionState };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { globalDndState, setDraggingCollectionRef } from "../utils/dnd-state.js";
|
|
2
2
|
import { watchEffect } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-draggable-collection.ts
|
|
4
4
|
/**
|
|
5
5
|
* Marks this collection as the one a drag came from, ported from React Aria's
|
|
6
6
|
* `useDraggableCollection`.
|
|
@@ -20,5 +20,4 @@ var useDraggableCollection = (state, element) => {
|
|
|
20
20
|
setDraggingCollectionRef(element);
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { useDraggableCollection };
|
|
@@ -5,7 +5,7 @@ import { useDragModality } from "./drag-modality.js";
|
|
|
5
5
|
import { clearGlobalDnDState, isInternalDropOperation, setDraggingKeys } from "../utils/dnd-state.js";
|
|
6
6
|
import { useDrag } from "./use-drag.js";
|
|
7
7
|
import { computed, toValue } from "vue";
|
|
8
|
-
|
|
8
|
+
// src/composables/use-draggable-item.ts
|
|
9
9
|
/** How to start a drag, phrased for the modality and for whether a selection travels with it. */
|
|
10
10
|
var DESCRIPTION_KEYS = {
|
|
11
11
|
keyboard: {
|
|
@@ -107,5 +107,4 @@ var useDraggableItem = (options, state) => {
|
|
|
107
107
|
onDragButtonPress: drag.onDragButtonPress
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
//#endregion
|
|
111
110
|
export { useDraggableItem };
|
|
@@ -4,7 +4,7 @@ import { useDragSession } from "./drag-manager.js";
|
|
|
4
4
|
import { getDroppableCollectionId } from "./droppable-collection-registry.js";
|
|
5
5
|
import { useDroppableItem } from "./use-droppable-item.js";
|
|
6
6
|
import { computed, useId } from "vue";
|
|
7
|
-
|
|
7
|
+
// src/composables/use-drop-indicator.ts
|
|
8
8
|
/**
|
|
9
9
|
* The accessible half of a drop indicator, ported from React Aria's `useDropIndicator`.
|
|
10
10
|
*
|
|
@@ -59,5 +59,4 @@ var useDropIndicator = (options, state, element) => {
|
|
|
59
59
|
isHidden: computed(() => !droppableItem.isDropTarget.value && Boolean(ariaHidden.value))
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
-
//#endregion
|
|
63
62
|
export { useDropIndicator };
|
|
@@ -5,7 +5,7 @@ import { registerDropTarget } from "./drag-manager.js";
|
|
|
5
5
|
import { globalAllowedDropOperations, globalDndState, setGlobalDnDState, setGlobalDropEffect } from "../utils/dnd-state.js";
|
|
6
6
|
import { useVirtualDrop } from "./use-virtual-drop.js";
|
|
7
7
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
8
|
-
|
|
8
|
+
// src/composables/use-drop.ts
|
|
9
9
|
/** How long the pointer must rest on a target before it is activated (e.g. a folder opens). */
|
|
10
10
|
var DROP_ACTIVATE_TIMEOUT = 800;
|
|
11
11
|
/**
|
|
@@ -239,5 +239,4 @@ var useDrop = (options) => {
|
|
|
239
239
|
isDropTarget: computed(() => !isDisabled() && isDropTarget.value)
|
|
240
240
|
};
|
|
241
241
|
};
|
|
242
|
-
//#endregion
|
|
243
242
|
export { useDrop };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, shallowRef, toValue } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-droppable-collection-state.ts
|
|
3
3
|
var isEqualDropTarget = (a, b) => {
|
|
4
4
|
if (!a) return !b;
|
|
5
5
|
if (a.type === "root") return b?.type === "root";
|
|
@@ -111,5 +111,4 @@ var useDroppableCollectionState = (options) => {
|
|
|
111
111
|
target: computed(() => target.value)
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
//#endregion
|
|
115
114
|
export { useDroppableCollectionState };
|
|
@@ -9,7 +9,7 @@ import { registerDroppableCollection } from "./droppable-collection-registry.js"
|
|
|
9
9
|
import { navigateDropTarget } from "../utils/dnd-drop-target-navigation.js";
|
|
10
10
|
import { useAutoScroll } from "./use-auto-scroll.js";
|
|
11
11
|
import { computed, onScopeDispose, useId, watch } from "vue";
|
|
12
|
-
|
|
12
|
+
// src/composables/use-droppable-collection.ts
|
|
13
13
|
/** How long to wait for a drop handler's async work before deciding where focus lands. */
|
|
14
14
|
var FOCUS_AFTER_DROP_DELAY = 50;
|
|
15
15
|
var collectionKeys = (collection) => new Set(collection.getKeys());
|
|
@@ -419,5 +419,4 @@ var useDroppableCollection = (options, state, element) => {
|
|
|
419
419
|
handlers: drop.handlers
|
|
420
420
|
};
|
|
421
421
|
};
|
|
422
|
-
//#endregion
|
|
423
422
|
export { useDroppableCollection };
|