ropav 0.16.0 → 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/index.d.ts +1 -1
- 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.d.ts +7 -7
- package/dist/components/slider/slider-root.js +8 -3
- package/dist/components/slider/slider-thumb.js +7 -5
- package/dist/components/slider/slider-track.d.ts +2 -2
- package/dist/components/slider/slider-track.js +10 -3
- package/dist/components/slider/slider.context.js +1 -2
- package/dist/components/slider/slider.types.d.ts +25 -3
- 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 +13 -4
- 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 +3 -4
- package/dist/composables/use-slider.d.ts +27 -4
- package/dist/composables/use-slider.js +53 -17
- 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 +10 -4
- 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/ropav.min.css +1 -1
- 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
|
@@ -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 };
|
|
@@ -4,7 +4,7 @@ import { globalDndState, isInternalDropOperation } from "../utils/dnd-state.js";
|
|
|
4
4
|
import { useVirtualDrop } from "./use-virtual-drop.js";
|
|
5
5
|
import { getDroppableCollectionElement } from "./droppable-collection-registry.js";
|
|
6
6
|
import { computed, watch } from "vue";
|
|
7
|
-
|
|
7
|
+
// src/composables/use-droppable-item.ts
|
|
8
8
|
/**
|
|
9
9
|
* Drop behaviour for one item of a collection, ported from React Aria's `useDroppableItem`.
|
|
10
10
|
*
|
|
@@ -56,5 +56,4 @@ var useDroppableItem = (options, state, element) => {
|
|
|
56
56
|
isDropTarget
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
//#endregion
|
|
60
59
|
export { useDroppableItem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createAnimationSettleWaiter } from "../utils/animation-settled.js";
|
|
2
2
|
import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-enter-exit.ts
|
|
4
4
|
/**
|
|
5
5
|
* Keep an element mounted until its exit animation has finished, ported from React Aria's
|
|
6
6
|
* `useEnterAnimation` and `useExitAnimation`.
|
|
@@ -81,5 +81,4 @@ var useEnterExit = (options) => {
|
|
|
81
81
|
isPresent: computed(() => toValue(options.isOpen) || isExiting.value)
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { useEnterExit };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createContext } from "../utils/create-context.js";
|
|
2
2
|
import { useId as useId$1 } from "./use-id.js";
|
|
3
3
|
import { computed, onScopeDispose, shallowRef, toValue } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-field-ids.ts
|
|
5
5
|
/**
|
|
6
6
|
* Loose on purpose: `Label`, `Description`, `ErrorMessage` and `Header` all render fine on
|
|
7
7
|
* their own. Standing outside a container is the normal case, not an error — they just get
|
|
@@ -74,5 +74,4 @@ var useFieldIds = (options = {}) => {
|
|
|
74
74
|
labelId: claimed("label")
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
//#endregion
|
|
78
77
|
export { provideFieldIdsContext, useFieldIds, useFieldIdsContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCollator } from "./use-collator.js";
|
|
2
2
|
import { computed } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-filter.ts
|
|
4
4
|
/**
|
|
5
5
|
* Substring tests that compare the way the locale reads rather than the way the string is encoded,
|
|
6
6
|
* ported from React Aria's `packages/react-aria/src/i18n/useFilter.ts` (react-aria 3.51.0).
|
|
@@ -37,5 +37,4 @@ var useFilter = (options) => {
|
|
|
37
37
|
};
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
|
-
//#endregion
|
|
41
40
|
export { useFilter };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { innermostContainingScope, isElementInAnyFocusScope, registerFocusScope } from "./focus-scope-registry.js";
|
|
2
2
|
import { tabbableIn } from "../utils/focus.js";
|
|
3
3
|
import { onScopeDispose, toValue, watch } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-focus-scope.ts
|
|
5
5
|
/**
|
|
6
6
|
* Keep focus inside an overlay and give it back when the overlay closes, ported from React
|
|
7
7
|
* Aria's `FocusScope`.
|
|
@@ -107,5 +107,4 @@ var useFocusScope = (options) => {
|
|
|
107
107
|
});
|
|
108
108
|
onScopeDispose(() => detach(), true);
|
|
109
109
|
};
|
|
110
|
-
//#endregion
|
|
111
110
|
export { useFocusScope };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onScopeDispose, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-form-reset.ts
|
|
3
3
|
/**
|
|
4
4
|
* Put a component's own state back to its default when the surrounding form is reset,
|
|
5
5
|
* ported from React Aria's `useFormReset`.
|
|
@@ -42,5 +42,4 @@ var useFormReset = (element, initialValue, onReset, form) => {
|
|
|
42
42
|
});
|
|
43
43
|
onScopeDispose(detach, true);
|
|
44
44
|
};
|
|
45
|
-
//#endregion
|
|
46
45
|
export { useFormReset };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useFormContext } from "./form-context.js";
|
|
2
2
|
import { CUSTOM_VALIDITY_STATE, DEFAULT_VALIDATION_RESULT, MISSING_VALIDITY_STATE, VALID_VALIDITY_STATE, isEqualValidation, isValueMissing, missingValueMessage } from "./validation-result.js";
|
|
3
3
|
import { computed, nextTick, shallowRef, toValue, watch } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-form-validation-state.ts
|
|
5
5
|
var asArray = (value) => {
|
|
6
6
|
if (!value) return [];
|
|
7
7
|
return Array.isArray(value) ? value : [value];
|
|
@@ -147,5 +147,4 @@ var useFormValidationState = (options) => {
|
|
|
147
147
|
validationBehavior
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
//#endregion
|
|
151
150
|
export { useFormValidationState };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setInteractionModality } from "./interaction-modality.js";
|
|
2
2
|
import { getNativeValidation } from "./validation-result.js";
|
|
3
3
|
import { onScopeDispose, toValue, watch, watchEffect } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-form-validation.ts
|
|
5
5
|
/** First control in the form the browser considers invalid, in document order. */
|
|
6
6
|
var firstInvalidElement = (form) => {
|
|
7
7
|
for (const element of Array.from(form.elements)) {
|
|
@@ -133,5 +133,4 @@ var useValidationInput = (element, register) => {
|
|
|
133
133
|
unregister = void 0;
|
|
134
134
|
}, true);
|
|
135
135
|
};
|
|
136
|
-
//#endregion
|
|
137
136
|
export { useFormValidation, useValidationInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onScopeDispose, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-formatted-text-field.ts
|
|
3
3
|
/**
|
|
4
4
|
* Keeps unacceptable characters out of a formatted text field, ported from React Aria's
|
|
5
5
|
* `packages/react-aria/src/textfield/useFormattedTextField.ts` (react-aria 3.51.0).
|
|
@@ -93,5 +93,4 @@ var useFormattedTextField = (element, options) => {
|
|
|
93
93
|
attached = null;
|
|
94
94
|
});
|
|
95
95
|
};
|
|
96
|
-
//#endregion
|
|
97
96
|
export { useFormattedTextField };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, toValue, useId } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-id.ts
|
|
3
3
|
/** Fallback counter for the case where no component instance is active. */
|
|
4
4
|
var fallbackCounter = 0;
|
|
5
5
|
/**
|
|
@@ -23,5 +23,4 @@ var useId$1 = (idOverride) => {
|
|
|
23
23
|
const stableId = useId() || `ropav-${++fallbackCounter}`;
|
|
24
24
|
return computed(() => toValue(idOverride) || stableId);
|
|
25
25
|
};
|
|
26
|
-
//#endregion
|
|
27
26
|
export { useId$1 as useId };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-image-loading-status.ts
|
|
3
3
|
/**
|
|
4
4
|
* Track whether an image loads, so a component can swap in a fallback.
|
|
5
5
|
*
|
|
@@ -60,5 +60,4 @@ var useImageLoadingStatus = (src, options = {}) => {
|
|
|
60
60
|
});
|
|
61
61
|
return status;
|
|
62
62
|
};
|
|
63
|
-
//#endregion
|
|
64
63
|
export { useImageLoadingStatus };
|
|
@@ -4,7 +4,7 @@ import { useFormReset } from "./use-form-reset.js";
|
|
|
4
4
|
import { setFormValue } from "../utils/form-value.js";
|
|
5
5
|
import { usePasswordManagerBadge } from "./use-password-manager-badge.js";
|
|
6
6
|
import { computed, onMounted, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
7
|
-
|
|
7
|
+
// src/composables/use-input-otp.ts
|
|
8
8
|
/** Ready-made patterns for the three code alphabets almost every one-time code uses. */
|
|
9
9
|
var REGEXP_ONLY_DIGITS = "^\\d+$";
|
|
10
10
|
var REGEXP_ONLY_CHARS = "^[a-zA-Z]+$";
|
|
@@ -142,15 +142,25 @@ var useInputOTP = (options) => {
|
|
|
142
142
|
const reassert = () => {
|
|
143
143
|
setFormValue(inputEl.value, value.value);
|
|
144
144
|
};
|
|
145
|
-
|
|
145
|
+
/** Bumped on every change reported, so the re-assert runs even when the owner keeps the value. */
|
|
146
|
+
const changeCount = shallowRef(0);
|
|
147
|
+
watch([
|
|
148
|
+
inputEl,
|
|
149
|
+
value,
|
|
150
|
+
changeCount
|
|
151
|
+
], reassert, {
|
|
146
152
|
flush: "post",
|
|
147
153
|
immediate: true
|
|
148
154
|
});
|
|
149
155
|
const initialValue = value.value;
|
|
150
156
|
useFormReset(inputEl, () => toValue(options.defaultValue) ?? initialValue, setState);
|
|
151
157
|
const setValue = (next) => {
|
|
158
|
+
if (next === value.value) {
|
|
159
|
+
reassert();
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
152
162
|
setState(next);
|
|
153
|
-
|
|
163
|
+
changeCount.value++;
|
|
154
164
|
};
|
|
155
165
|
const badge = usePasswordManagerBadge({
|
|
156
166
|
container: containerEl,
|
|
@@ -427,5 +437,4 @@ var useInputOTP = (options) => {
|
|
|
427
437
|
value: computed(() => value.value)
|
|
428
438
|
};
|
|
429
439
|
};
|
|
430
|
-
//#endregion
|
|
431
440
|
export { REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, provideInputOTPStateContext, useInputOTP, useInputOTPStateContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getFocusRingModality, retainInteractionModality } from "./interaction-modality.js";
|
|
2
2
|
import { computed, onScopeDispose, shallowRef, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-interaction-states.ts
|
|
4
4
|
/**
|
|
5
5
|
* The same answer as a reactive ref, for text that is rendered rather than read in a handler.
|
|
6
6
|
*
|
|
@@ -137,5 +137,4 @@ var useFocusWithin = (options = {}) => {
|
|
|
137
137
|
onFocusout
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
//#endregion
|
|
141
140
|
export { useFocusWithin, useInteractionModality, useInteractionStates };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useId as useId$1 } from "./use-id.js";
|
|
2
2
|
import { computed, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-labels.ts
|
|
4
4
|
/**
|
|
5
5
|
* Reconcile the ways an element can be named, ported from React Aria's
|
|
6
6
|
* `packages/react-aria/src/utils/useLabels.ts` (react-aria 3.51.0).
|
|
@@ -26,5 +26,4 @@ var useLabels = (options, defaultLabel) => {
|
|
|
26
26
|
};
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
|
-
//#endregion
|
|
30
29
|
export { useLabels };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, shallowRef } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-list-data.ts
|
|
3
3
|
var insertAt = (state, index, ...values) => ({
|
|
4
4
|
...state,
|
|
5
5
|
items: [
|
|
@@ -203,5 +203,4 @@ var useListData = (options = {}) => {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
-
//#endregion
|
|
207
206
|
export { useListData };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { focusableIn, isScrollable } from "../utils/focus.js";
|
|
2
2
|
import { isAppleDevice } from "../utils/platform.js";
|
|
3
3
|
import { computed, nextTick, toValue, watch } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-list-keyboard.ts
|
|
5
5
|
/**
|
|
6
6
|
* Whether the modifier that means "move focus without touching the selection" is down.
|
|
7
7
|
*
|
|
@@ -350,5 +350,4 @@ var useListKeyboard = (options) => {
|
|
|
350
350
|
onKeydown
|
|
351
351
|
};
|
|
352
352
|
};
|
|
353
|
-
//#endregion
|
|
354
353
|
export { useListKeyboard };
|
|
@@ -2,7 +2,7 @@ import { createContext } from "../utils/create-context.js";
|
|
|
2
2
|
import { isRTL } from "../utils/locale.js";
|
|
3
3
|
import { useDefaultLocale } from "./use-default-locale.js";
|
|
4
4
|
import { computed, toValue } from "vue";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-locale.ts
|
|
6
6
|
/**
|
|
7
7
|
* The locale an ancestor has chosen, or `null` when nobody has and the browser's own should win.
|
|
8
8
|
*
|
|
@@ -43,5 +43,4 @@ var provideLocale = (locale) => {
|
|
|
43
43
|
provideLocaleContext(resolved);
|
|
44
44
|
return resolved;
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { provideLocale, useLocale };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LocalizedStringDictionary } from "@internationalized/string";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-localized-string-dictionary.ts
|
|
3
3
|
/**
|
|
4
4
|
* Dictionaries built so far, keyed by the table each was built from.
|
|
5
5
|
*
|
|
@@ -22,5 +22,4 @@ var useLocalizedStringDictionary = (strings) => {
|
|
|
22
22
|
dictionaries.set(strings, dictionary);
|
|
23
23
|
return dictionary;
|
|
24
24
|
};
|
|
25
|
-
//#endregion
|
|
26
25
|
export { useLocalizedStringDictionary };
|
|
@@ -2,7 +2,7 @@ import { useLocale } from "./use-locale.js";
|
|
|
2
2
|
import { useLocalizedStringDictionary } from "./use-localized-string-dictionary.js";
|
|
3
3
|
import { computed } from "vue";
|
|
4
4
|
import { LocalizedStringFormatter } from "@internationalized/string";
|
|
5
|
-
|
|
5
|
+
// src/composables/use-localized-string-formatter.ts
|
|
6
6
|
/**
|
|
7
7
|
* A formatter reading a table of localized strings in the locale that applies here.
|
|
8
8
|
*
|
|
@@ -14,5 +14,4 @@ var useLocalizedStringFormatter = (strings) => {
|
|
|
14
14
|
const dictionary = useLocalizedStringDictionary(strings);
|
|
15
15
|
return computed(() => new LocalizedStringFormatter(locale.value.locale, dictionary));
|
|
16
16
|
};
|
|
17
|
-
//#endregion
|
|
18
17
|
export { useLocalizedStringFormatter };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePress } from "./use-press.js";
|
|
2
2
|
import { useDescription } from "./use-description.js";
|
|
3
3
|
import { onScopeDispose, toValue } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/composables/use-long-press.ts
|
|
5
5
|
/** How long the press has to be held before it counts as a long press. */
|
|
6
6
|
var LONG_PRESS_THRESHOLD_MS = 500;
|
|
7
7
|
/**
|
|
@@ -81,5 +81,4 @@ var useLongPress = (options = {}) => {
|
|
|
81
81
|
handlers
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { useLongPress };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-measured-height.ts
|
|
3
3
|
/**
|
|
4
4
|
* An element's rendered height.
|
|
5
5
|
*
|
|
@@ -82,5 +82,4 @@ var useMeasuredHeight = (elementRef) => {
|
|
|
82
82
|
onScopeDispose(detach, true);
|
|
83
83
|
return { height: computed(() => height.value) };
|
|
84
84
|
};
|
|
85
|
-
//#endregion
|
|
86
85
|
export { useMeasuredHeight };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-media-query.ts
|
|
3
3
|
/**
|
|
4
4
|
* Whether a media query currently matches.
|
|
5
5
|
*
|
|
@@ -43,5 +43,4 @@ var useMediaQuery = (query, options = {}) => {
|
|
|
43
43
|
}, true);
|
|
44
44
|
return computed(() => matches.value);
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { useMediaQuery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useOverlayTriggerState } from "./use-overlay-trigger-state.js";
|
|
2
2
|
import { computed, shallowRef, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-menu-trigger-state.ts
|
|
4
4
|
/**
|
|
5
5
|
* Open state for a menu trigger, ported from React Stately's `useMenuTriggerState`.
|
|
6
6
|
*
|
|
@@ -86,5 +86,4 @@ var useSubmenuTriggerState = (options, root) => {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
//#endregion
|
|
90
89
|
export { useMenuTriggerState, useSubmenuTriggerState };
|
|
@@ -3,7 +3,7 @@ import { useOverlayTrigger } from "./use-overlay-trigger.js";
|
|
|
3
3
|
import { usePress } from "./use-press.js";
|
|
4
4
|
import { useLongPress } from "./use-long-press.js";
|
|
5
5
|
import { computed, shallowRef, toValue } from "vue";
|
|
6
|
-
|
|
6
|
+
// src/composables/use-menu-trigger.ts
|
|
7
7
|
var DEFAULT_LONG_PRESS_DESCRIPTION = "Long press or press Alt + ArrowDown to open menu";
|
|
8
8
|
/**
|
|
9
9
|
* Turn any pressable into a menu trigger, ported from React Aria's `useMenuTrigger`.
|
|
@@ -116,5 +116,4 @@ var useMenuTrigger = (options, state) => {
|
|
|
116
116
|
triggerId
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
//#endregion
|
|
120
119
|
export { DEFAULT_LONG_PRESS_DESCRIPTION, useMenuTrigger };
|
|
@@ -7,7 +7,7 @@ import { useTypeahead } from "./use-typeahead.js";
|
|
|
7
7
|
import { provideMenuItemPopupContext } from "../components/menu-item/menu-item.context.js";
|
|
8
8
|
import { provideMenuContext } from "../components/menu/menu.context.js";
|
|
9
9
|
import { computed, shallowRef, toValue } from "vue";
|
|
10
|
-
|
|
10
|
+
// src/composables/use-menu.ts
|
|
11
11
|
/**
|
|
12
12
|
* The behaviour of a menu, ported from React Aria's `useMenu`.
|
|
13
13
|
*
|
|
@@ -126,5 +126,4 @@ var useMenu = (options = {}) => {
|
|
|
126
126
|
selectionMode: selection.selectionMode
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
//#endregion
|
|
130
129
|
export { useMenu };
|
|
@@ -6,7 +6,7 @@ import { usePortal } from "./use-portal.js";
|
|
|
6
6
|
import { usePreventScroll } from "./use-prevent-scroll.js";
|
|
7
7
|
import { useViewportSize } from "./use-viewport-size.js";
|
|
8
8
|
import { computed, toValue, watch } from "vue";
|
|
9
|
-
|
|
9
|
+
// src/composables/use-modal-overlay.ts
|
|
10
10
|
/**
|
|
11
11
|
* Everything a modal overlay does besides render, ported from React Aria's `useModalOverlay` and
|
|
12
12
|
* the `Overlay` layer around it.
|
|
@@ -86,5 +86,4 @@ var useModalOverlay = (options) => {
|
|
|
86
86
|
})
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
//#endregion
|
|
90
89
|
export { useModalOverlay };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnterExit } from "./use-enter-exit.js";
|
|
2
2
|
import { computed, toValue } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/composables/use-modal-transition.ts
|
|
4
4
|
/**
|
|
5
5
|
* The presence and animation state of a modal overlay's two elements, ported from React Aria's
|
|
6
6
|
* `ModalOverlay`.
|
|
@@ -45,5 +45,4 @@ var useModalTransition = (options) => {
|
|
|
45
45
|
isPresent: computed(() => isOpen() || backdrop.isExiting.value || content.isExiting.value || toValue(options.isExiting) === true)
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
//#endregion
|
|
49
48
|
export { useModalTransition };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onScopeDispose } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/composables/use-move.ts
|
|
3
3
|
/** How far one arrow press moves, before the consumer scales it by step or page size. */
|
|
4
4
|
var KEYBOARD_DELTA = {
|
|
5
5
|
ArrowDown: [0, 1],
|
|
@@ -130,5 +130,4 @@ var useMove = (options) => {
|
|
|
130
130
|
onPointerdown
|
|
131
131
|
} };
|
|
132
132
|
};
|
|
133
|
-
//#endregion
|
|
134
133
|
export { useMove };
|
|
@@ -4,7 +4,7 @@ import { useLocale } from "./use-locale.js";
|
|
|
4
4
|
import { clamp, snapValueToStep } from "../utils/number.js";
|
|
5
5
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
6
6
|
import { NumberFormatter, NumberParser } from "@internationalized/number";
|
|
7
|
-
|
|
7
|
+
// src/composables/use-number-field-state.ts
|
|
8
8
|
/**
|
|
9
9
|
* Addition and subtraction that do not leak binary floating point.
|
|
10
10
|
*
|
|
@@ -204,5 +204,4 @@ var useNumberFieldState = (options = {}) => {
|
|
|
204
204
|
validate: (candidate) => parser.value.isValidPartialNumber(candidate, minValue.value, maxValue.value)
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
|
-
//#endregion
|
|
208
207
|
export { useNumberFieldState };
|
|
@@ -11,7 +11,7 @@ import { useScrollWheel } from "./use-scroll-wheel.js";
|
|
|
11
11
|
import { useSpinButton } from "./use-spin-button.js";
|
|
12
12
|
import { computed, shallowRef, toValue, watch } from "vue";
|
|
13
13
|
import { NumberFormatter } from "@internationalized/number";
|
|
14
|
-
|
|
14
|
+
// src/composables/use-number-field.ts
|
|
15
15
|
/** A number input kept off-document, used only to borrow the browser's range validation. */
|
|
16
16
|
var rangeProbe = null;
|
|
17
17
|
/**
|
|
@@ -364,5 +364,4 @@ var useNumberField = (options = {}) => {
|
|
|
364
364
|
state
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
|
-
//#endregion
|
|
368
367
|
export { useNumberField };
|