dawn-ui-react 1.0.0-alpha.21 → 1.0.0-alpha.23
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-header.d.ts +1 -1
- package/dist/components/accordion/accordion-item.d.ts +1 -1
- package/dist/components/accordion/accordion-panel.d.ts +1 -1
- package/dist/components/accordion/accordion-subtitle.d.ts +1 -1
- package/dist/components/accordion/accordion-title.d.ts +1 -1
- package/dist/components/accordion/accordion-trigger.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +2 -1
- package/dist/components/alert/alert-actions.d.ts +1 -1
- package/dist/components/alert/alert-content.d.ts +1 -1
- package/dist/components/alert/alert-description.d.ts +1 -1
- package/dist/components/alert/alert-title.d.ts +1 -1
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-close.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-confirm.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-content.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-description.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-footer.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-header.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-popup.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-title.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog-trigger.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-collection.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-content.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-grid-content.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-grid-item.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-group-label.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-group.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-input-group-addon.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-input-group-input.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-input-group.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-item.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-row.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-status.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-trigger.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +1 -1
- package/dist/components/avatar/avatar-badge.d.ts +1 -1
- package/dist/components/avatar/avatar-fallback.d.ts +1 -1
- package/dist/components/avatar/avatar-image.d.ts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-ellipsis.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-link.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb-separator.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.types.d.ts +1 -1
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/chart/chart-container.d.ts +1 -1
- package/dist/components/chart/chart-legend-content.d.ts +1 -1
- package/dist/components/chart/chart-legend-icon.d.ts +1 -1
- package/dist/components/chart/chart-legend-indicator.d.ts +1 -1
- package/dist/components/chart/chart-legend-label.d.ts +1 -1
- package/dist/components/chart/chart-legend.d.ts +1 -1
- package/dist/components/chart/chart-linear-gradient.d.ts +1 -1
- package/dist/components/chart/chart-tooltip-content.d.ts +2 -1
- package/dist/components/chart/chart-tooltip-icon.d.ts +1 -1
- package/dist/components/chart/chart-tooltip-indicator.d.ts +1 -1
- package/dist/components/chart/chart-tooltip-label.d.ts +1 -1
- package/dist/components/chart/chart-tooltip-name.d.ts +1 -1
- package/dist/components/chart/chart-tooltip-payload.d.ts +2 -1
- package/dist/components/chart/chart-tooltip-value.d.ts +1 -1
- package/dist/components/chart/chart-tooltip.d.ts +1 -1
- package/dist/components/checkbox/checkbox-indicator.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +2 -1
- package/dist/components/code-block/code-block-actions.d.ts +1 -1
- package/dist/components/code-block/code-block-copy.d.ts +2 -1
- package/dist/components/code-block/code-block-download.d.ts +2 -1
- package/dist/components/code-block/code-block-header.d.ts +1 -1
- package/dist/components/code-block/code-block-name.d.ts +1 -1
- package/dist/components/code-block/code-block-select.d.ts +1 -1
- package/dist/components/code-block/code-block-tabs.d.ts +1 -1
- package/dist/components/code-block/code-block-window.d.ts +1 -1
- package/dist/components/code-block/code-block.d.ts +2 -1
- package/dist/components/collapsible/collapsible-panel.d.ts +1 -1
- package/dist/components/collapsible/collapsible-trigger.d.ts +1 -1
- package/dist/components/collapsible/collapsible.d.ts +1 -1
- package/dist/components/colour-channel-slider/colour-channel-slider.d.ts +2 -0
- package/dist/components/colour-channel-slider/colour-channel-slider.types.d.ts +8 -0
- package/dist/components/colour-channel-slider/colour-channel-slider.utils.d.ts +4 -0
- package/dist/components/colour-channel-slider/index.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-area.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-group.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-hue-slider.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-input.d.ts +3 -0
- package/dist/components/colour-picker/colour-picker-label.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-add.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-limit.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-list.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-swatch.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-row.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-transparency-slider.d.ts +3 -0
- package/dist/components/colour-picker/colour-picker-value-type.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker.d.ts +4 -0
- package/dist/components/colour-picker/colour-picker.types.d.ts +94 -0
- package/dist/components/colour-picker/index.d.ts +2 -0
- package/dist/components/combobox/combobox-chip.d.ts +1 -1
- package/dist/components/combobox/combobox-chips.d.ts +1 -1
- package/dist/components/combobox/combobox-collection.d.ts +1 -1
- package/dist/components/combobox/combobox-empty.d.ts +1 -1
- package/dist/components/combobox/combobox-group-label.d.ts +1 -1
- package/dist/components/combobox/combobox-group.d.ts +1 -1
- package/dist/components/combobox/combobox-input.d.ts +2 -1
- package/dist/components/combobox/combobox-item.d.ts +1 -1
- package/dist/components/combobox/combobox-list.d.ts +1 -1
- package/dist/components/combobox/combobox-popup.d.ts +1 -1
- package/dist/components/combobox/combobox-status.d.ts +1 -1
- package/dist/components/combobox/combobox-trigger.d.ts +1 -1
- package/dist/components/combobox/combobox-value.d.ts +1 -1
- package/dist/components/combobox/combobox-virtualized-list.d.ts +2 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox-item.d.ts +1 -1
- package/dist/components/context-menu/context-menu-group-label.d.ts +1 -1
- package/dist/components/context-menu/context-menu-group.d.ts +1 -1
- package/dist/components/context-menu/context-menu-item.d.ts +1 -1
- package/dist/components/context-menu/context-menu-popup.d.ts +1 -1
- package/dist/components/context-menu/context-menu-radio-group.d.ts +1 -1
- package/dist/components/context-menu/context-menu-radio-item.d.ts +1 -1
- package/dist/components/context-menu/context-menu-separator.d.ts +1 -1
- package/dist/components/context-menu/context-menu-shortcut.d.ts +1 -1
- package/dist/components/context-menu/context-menu-submenu-trigger.d.ts +1 -1
- package/dist/components/context-menu/context-menu-submenu.d.ts +1 -1
- package/dist/components/context-menu/context-menu-trigger.d.ts +1 -1
- package/dist/components/context-menu/context-menu.d.ts +1 -1
- package/dist/components/dialog/dialog-close.d.ts +1 -1
- package/dist/components/dialog/dialog-content.d.ts +1 -1
- package/dist/components/dialog/dialog-description.d.ts +1 -1
- package/dist/components/dialog/dialog-footer.d.ts +1 -1
- package/dist/components/dialog/dialog-header.d.ts +1 -1
- package/dist/components/dialog/dialog-popup.d.ts +1 -1
- package/dist/components/dialog/dialog-title.d.ts +1 -1
- package/dist/components/dialog/dialog-trigger.d.ts +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/dialog.types.d.ts +1 -0
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/drawer/drawer-close.d.ts +1 -1
- package/dist/components/drawer/drawer-content.d.ts +1 -1
- package/dist/components/drawer/drawer-description.d.ts +1 -1
- package/dist/components/drawer/drawer-header.d.ts +1 -1
- package/dist/components/drawer/drawer-popup.d.ts +1 -1
- package/dist/components/drawer/drawer-provider.d.ts +1 -1
- package/dist/components/drawer/drawer-title.d.ts +1 -1
- package/dist/components/drawer/drawer-trigger.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/dropzone/dropzone-actions.d.ts +2 -0
- package/dist/components/dropzone/dropzone-clear.d.ts +2 -0
- package/dist/components/dropzone/dropzone-confirm.d.ts +2 -0
- package/dist/components/dropzone/dropzone-container.d.ts +2 -0
- package/dist/components/dropzone/dropzone-error.d.ts +2 -0
- package/dist/components/dropzone/dropzone-file-limit.d.ts +2 -0
- package/dist/components/dropzone/dropzone-file-size-limit.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files-header.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files-list.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files-title.d.ts +2 -0
- package/dist/components/dropzone/dropzone-files.d.ts +2 -0
- package/dist/components/dropzone/dropzone-formats.d.ts +2 -0
- package/dist/components/dropzone/dropzone-heading.d.ts +2 -0
- package/dist/components/dropzone/dropzone-icon.d.ts +2 -0
- package/dist/components/dropzone/dropzone-info.d.ts +2 -0
- package/dist/components/dropzone/dropzone-subtitle.d.ts +2 -0
- package/dist/components/dropzone/dropzone-trigger.d.ts +2 -0
- package/dist/components/dropzone/dropzone.d.ts +24 -0
- package/dist/components/dropzone/dropzone.types.d.ts +30 -0
- package/dist/components/dropzone/dropzone.utils.d.ts +3 -0
- package/dist/components/dropzone/index.d.ts +18 -0
- package/dist/components/field/field-checkbox.d.ts +1 -1
- package/dist/components/field/field-description.d.ts +1 -1
- package/dist/components/field/field-errors.d.ts +1 -1
- package/dist/components/field/field-input-group-input.d.ts +1 -1
- package/dist/components/field/field-input-group.d.ts +1 -1
- package/dist/components/field/field-input.d.ts +1 -1
- package/dist/components/field/field-label.d.ts +1 -1
- package/dist/components/field/field-radio-group.d.ts +1 -1
- package/dist/components/field/field-radio.d.ts +1 -1
- package/dist/components/field/field-row.d.ts +2 -0
- package/dist/components/field/field-select.d.ts +1 -1
- package/dist/components/field/field-set.d.ts +1 -1
- package/dist/components/field/field-slider.d.ts +1 -1
- package/dist/components/field/field-switch.d.ts +1 -1
- package/dist/components/field/field-text-area.d.ts +1 -1
- package/dist/components/field/field-toggle.d.ts +1 -1
- package/dist/components/field/field.d.ts +1 -1
- package/dist/components/field/field.types.d.ts +9 -1
- package/dist/components/field/index.d.ts +2 -1
- package/dist/components/form/form-context.d.ts +162 -120
- package/dist/components/form/form-contexts.d.ts +1 -0
- package/dist/components/form/form-errors.d.ts +1 -1
- package/dist/components/form/form-footer.d.ts +2 -0
- package/dist/components/form/form-reset.d.ts +1 -1
- package/dist/components/form/form-set-content.d.ts +2 -0
- package/dist/components/form/form-set-heading.d.ts +2 -0
- package/dist/components/form/form-set.d.ts +2 -0
- package/dist/components/form/form-submit.d.ts +1 -1
- package/dist/components/form/form.d.ts +1 -1
- package/dist/components/form/form.types.d.ts +6 -0
- package/dist/components/form/index.d.ts +4 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.types.d.ts +9 -0
- package/dist/components/input-group/input-group-addon.d.ts +1 -1
- package/dist/components/input-group/input-group-input.d.ts +1 -1
- package/dist/components/input-group/input-group.d.ts +1 -1
- package/dist/components/input-group/input-group.types.d.ts +5 -2
- package/dist/components/input-otp/input-otp-separator.d.ts +1 -1
- package/dist/components/input-otp/input-otp-slot.d.ts +1 -1
- package/dist/components/input-otp/input-otp.d.ts +1 -1
- package/dist/components/input-otp/input-otp.types.d.ts +1 -1
- package/dist/components/kbd/kbd-group.d.ts +1 -1
- package/dist/components/kbd/kbd.d.ts +1 -1
- package/dist/components/label/label.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-body.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-expand-all.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-footer.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-node-toggle.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-node.d.ts +2 -1
- package/dist/components/layer-tree/layer-tree-row.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-search.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-sort.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree.d.ts +2 -1
- package/dist/components/layer-tree/layer-tree.types.d.ts +1 -1
- package/dist/components/menu/menu-checkbox-item.d.ts +1 -1
- package/dist/components/menu/menu-group-label.d.ts +1 -1
- package/dist/components/menu/menu-group.d.ts +1 -1
- package/dist/components/menu/menu-item.d.ts +1 -1
- package/dist/components/menu/menu-popup.d.ts +1 -1
- package/dist/components/menu/menu-radio-group.d.ts +1 -1
- package/dist/components/menu/menu-radio-item.d.ts +1 -1
- package/dist/components/menu/menu-separator.d.ts +1 -1
- package/dist/components/menu/menu-shortcut.d.ts +1 -1
- package/dist/components/menu/menu-submenu-trigger.d.ts +1 -1
- package/dist/components/menu/menu-submenu.d.ts +1 -1
- package/dist/components/menu/menu-trigger.d.ts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/meter/meter-footer.d.ts +1 -1
- package/dist/components/meter/meter-header.d.ts +1 -1
- package/dist/components/meter/meter-indicator.d.ts +1 -1
- package/dist/components/meter/meter-label.d.ts +1 -1
- package/dist/components/meter/meter-subtitle.d.ts +1 -1
- package/dist/components/meter/meter-track.d.ts +1 -1
- package/dist/components/meter/meter-value.d.ts +1 -1
- package/dist/components/meter/meter.d.ts +1 -1
- package/dist/components/nav-bar/index.d.ts +5 -0
- package/dist/components/nav-bar/nav-bar-item-icon.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar-item-label.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar-item.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar.types.d.ts +15 -0
- package/dist/components/navigation-menu/index.d.ts +9 -0
- package/dist/components/navigation-menu/navigation-menu-content.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-icon.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-item.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-link.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-list.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-popup.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.d.ts +6 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu.types.d.ts +16 -0
- package/dist/components/number-field/number-field.d.ts +2 -1
- package/dist/components/number-field/number-field.types.d.ts +1 -0
- package/dist/components/popover/popover-button.d.ts +1 -1
- package/dist/components/popover/popover-content.d.ts +1 -1
- package/dist/components/popover/popover-description.d.ts +1 -1
- package/dist/components/popover/popover-header.d.ts +1 -1
- package/dist/components/popover/popover-panel.d.ts +1 -1
- package/dist/components/popover/popover-title.d.ts +1 -1
- package/dist/components/popover/popover-trigger.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/profile/profile-action.d.ts +1 -1
- package/dist/components/profile/profile-content.d.ts +1 -1
- package/dist/components/profile/profile-name.d.ts +1 -1
- package/dist/components/profile/profile-subname.d.ts +1 -1
- package/dist/components/profile/profile.d.ts +1 -1
- package/dist/components/progress/progress-bar.d.ts +1 -1
- package/dist/components/progress/progress-indicator.d.ts +1 -1
- package/dist/components/progress/progress.d.ts +1 -1
- package/dist/components/radar-ping/radar-ping.d.ts +1 -1
- package/dist/components/radio-group/radio-group.d.ts +2 -1
- package/dist/components/radio-group/radio.d.ts +1 -1
- package/dist/components/resizeable/resizeable-handle.d.ts +1 -1
- package/dist/components/resizeable/resizeable-panel-group.d.ts +1 -1
- package/dist/components/resizeable/resizeable-panel.d.ts +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +1 -1
- package/dist/components/select/select-group-label.d.ts +1 -1
- package/dist/components/select/select-group.d.ts +1 -1
- package/dist/components/select/select-icon.d.ts +1 -1
- package/dist/components/select/select-item.d.ts +1 -1
- package/dist/components/select/select-list.d.ts +1 -1
- package/dist/components/select/select-popup.d.ts +1 -1
- package/dist/components/select/select-trigger.d.ts +1 -1
- package/dist/components/select/select-value.d.ts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/separator/separator.d.ts +1 -1
- package/dist/components/separator/separator.types.d.ts +1 -1
- package/dist/components/sidebar/sidebar-content.d.ts +1 -1
- package/dist/components/sidebar/sidebar-footer.d.ts +1 -1
- package/dist/components/sidebar/sidebar-group-content.d.ts +1 -1
- package/dist/components/sidebar/sidebar-group-label.d.ts +1 -1
- package/dist/components/sidebar/sidebar-group.d.ts +1 -1
- package/dist/components/sidebar/sidebar-header.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-badge.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-button.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-collapsible-panel.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-collapsible-trigger.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-collapsible.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu-item.d.ts +1 -1
- package/dist/components/sidebar/sidebar-menu.d.ts +1 -1
- package/dist/components/sidebar/sidebar-provider.d.ts +1 -1
- package/dist/components/sidebar/sidebar-toggle.d.ts +1 -1
- package/dist/components/sidebar/sidebar.d.ts +2 -1
- package/dist/components/sidebar/sidebar.types.d.ts +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/slider/slider-thumb.d.ts +2 -1
- package/dist/components/slider/slider.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/table/table-body-grid.d.ts +1 -1
- package/dist/components/table/table-body-list.d.ts +1 -1
- package/dist/components/table/table-change-view.d.ts +1 -1
- package/dist/components/table/table-column-toggle.d.ts +1 -1
- package/dist/components/table/table-container.d.ts +1 -1
- package/dist/components/table/table-content.d.ts +1 -1
- package/dist/components/table/table-data-set-select.d.ts +1 -1
- package/dist/components/table/table-data-set-tabs.d.ts +1 -1
- package/dist/components/table/table-filter-form.d.ts +1 -1
- package/dist/components/table/table-filter.d.ts +1 -1
- package/dist/components/table/table-filters.d.ts +1 -1
- package/dist/components/table/table-first-page.d.ts +1 -1
- package/dist/components/table/table-footer.d.ts +1 -1
- package/dist/components/table/table-header.d.ts +1 -1
- package/dist/components/table/table-last-page.d.ts +1 -1
- package/dist/components/table/table-nav.d.ts +1 -1
- package/dist/components/table/table-next-page.d.ts +1 -1
- package/dist/components/table/table-pagination.d.ts +1 -1
- package/dist/components/table/table-paging.d.ts +1 -1
- package/dist/components/table/table-previous-page.d.ts +1 -1
- package/dist/components/table/table-refresh.d.ts +2 -1
- package/dist/components/table/table-row-grid.d.ts +1 -1
- package/dist/components/table/table-row-list.d.ts +1 -1
- package/dist/components/table/table-search.d.ts +2 -1
- package/dist/components/table/table-sort.d.ts +1 -1
- package/dist/components/table/table-toolbar.d.ts +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/table/table.types.d.ts +9 -3
- package/dist/components/tabs/tabs-indicator.d.ts +1 -1
- package/dist/components/tabs/tabs-list.d.ts +1 -1
- package/dist/components/tabs/tabs-panel.d.ts +1 -1
- package/dist/components/tabs/tabs-tab.d.ts +1 -1
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tabs/tabs.types.d.ts +1 -1
- package/dist/components/text-area/text-area.d.ts +2 -1
- package/dist/components/toast/anchored-toast-item.d.ts +1 -1
- package/dist/components/toast/anchored-toasts.d.ts +1 -1
- package/dist/components/toast/stack-toast-item.d.ts +2 -1
- package/dist/components/toast/stack-toasts.d.ts +1 -1
- package/dist/components/toast/toast-provider.d.ts +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group.d.ts +1 -1
- package/dist/components/tooltip/tooltip-context.d.ts +1 -1
- package/dist/components/tooltip/tooltip-trigger.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/dawn-ui-react.js +29409 -21182
- package/dist/dawn-ui-react.umd.cjs +61 -56
- package/dist/styles.css +4 -0
- package/package.json +50 -47
- package/dist/CompositeItem-CH9gluPn.js +0 -45
- package/dist/CompositeListContext-DMNULDos.js +0 -15
- package/dist/FieldItemContext-D1iEutzE.js +0 -9
- package/dist/FormContext-DmYxHG1e.js +0 -26
- package/dist/Input-DXQc6T_w.js +0 -82
- package/dist/LabelableContext-mL6rBiul.js +0 -85
- package/dist/RadioGroupContext-zHzEliyD.js +0 -9
- package/dist/clamp-63kvPeUJ.js +0 -801
- package/dist/cn-BSNuKelt.js +0 -1734
- package/dist/composite-8Z1YCmUf.js +0 -161
- package/dist/composite-DTxBFZq_.js +0 -328
- package/dist/createBaseUIEventDetails-BHkB1IRT.js +0 -36
- package/dist/form-context-CpevRrMx.js +0 -3062
- package/dist/input.types-DDZuq7AK.js +0 -21
- package/dist/label-C57cQsPN.js +0 -50
- package/dist/owner-CZ-bExcn.js +0 -6
- package/dist/serializeValue-DadF0djs.js +0 -12
- package/dist/shadowDom-nxuQhD_O.js +0 -25
- package/dist/useBaseUiId-DJ56dhex.js +0 -25
- package/dist/useCompositeListItem-CuKiOJnK.js +0 -53
- package/dist/useControlled-kefeIBTp.js +0 -48
- package/dist/useLabelableId-Cb5S9nao.js +0 -39
- package/dist/useOpenChangeComplete-D1bYAEWf.js +0 -178
- package/dist/useRegisterFieldControl-I4gdfodR.js +0 -27
- package/dist/visuallyHidden-C0MRt467.js +0 -21
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { M as e, Q as t, X as n, Z as r } from "./form-context-CpevRrMx.js";
|
|
2
|
-
import { t as i } from "./CompositeListContext-DMNULDos.js";
|
|
3
|
-
import * as a from "react";
|
|
4
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
5
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/composite/list/CompositeList.js
|
|
6
|
-
function s(e) {
|
|
7
|
-
let { children: s, elementsRef: d, labelsRef: f, onMapChange: p } = e, m = r(p), h = a.useRef(0), g = t(l).current, _ = t(c).current, [v, y] = a.useState(0), b = a.useRef(v), x = r((e, t) => {
|
|
8
|
-
_.set(e, t ?? null), b.current += 1, y(b.current);
|
|
9
|
-
}), S = r((e) => {
|
|
10
|
-
_.delete(e), b.current += 1, y(b.current);
|
|
11
|
-
}), C = a.useMemo(() => {
|
|
12
|
-
let e = /* @__PURE__ */ new Map();
|
|
13
|
-
return Array.from(_.keys()).filter((e) => e.isConnected).sort(u).forEach((t, n) => {
|
|
14
|
-
let r = _.get(t) ?? {};
|
|
15
|
-
e.set(t, {
|
|
16
|
-
...r,
|
|
17
|
-
index: n
|
|
18
|
-
});
|
|
19
|
-
}), e;
|
|
20
|
-
}, [_, v]);
|
|
21
|
-
n(() => {
|
|
22
|
-
if (typeof MutationObserver != "function" || C.size === 0) return;
|
|
23
|
-
let e = new MutationObserver((e) => {
|
|
24
|
-
let t = /* @__PURE__ */ new Set(), n = (e) => t.has(e) ? t.delete(e) : t.add(e);
|
|
25
|
-
e.forEach((e) => {
|
|
26
|
-
e.removedNodes.forEach(n), e.addedNodes.forEach(n);
|
|
27
|
-
}), t.size === 0 && (b.current += 1, y(b.current));
|
|
28
|
-
});
|
|
29
|
-
return C.forEach((t, n) => {
|
|
30
|
-
n.parentElement && e.observe(n.parentElement, { childList: !0 });
|
|
31
|
-
}), () => {
|
|
32
|
-
e.disconnect();
|
|
33
|
-
};
|
|
34
|
-
}, [C]), n(() => {
|
|
35
|
-
b.current === v && (d.current.length !== C.size && (d.current.length = C.size), f && f.current.length !== C.size && (f.current.length = C.size), h.current = C.size), m(C);
|
|
36
|
-
}, [
|
|
37
|
-
m,
|
|
38
|
-
C,
|
|
39
|
-
d,
|
|
40
|
-
f,
|
|
41
|
-
v
|
|
42
|
-
]), n(() => () => {
|
|
43
|
-
d.current = [];
|
|
44
|
-
}, [d]), n(() => () => {
|
|
45
|
-
f && (f.current = []);
|
|
46
|
-
}, [f]);
|
|
47
|
-
let w = r((e) => (g.add(e), () => {
|
|
48
|
-
g.delete(e);
|
|
49
|
-
}));
|
|
50
|
-
n(() => {
|
|
51
|
-
g.forEach((e) => e(C));
|
|
52
|
-
}, [g, C]);
|
|
53
|
-
let T = a.useMemo(() => ({
|
|
54
|
-
register: x,
|
|
55
|
-
unregister: S,
|
|
56
|
-
subscribeMapChange: w,
|
|
57
|
-
elementsRef: d,
|
|
58
|
-
labelsRef: f,
|
|
59
|
-
nextIndexRef: h
|
|
60
|
-
}), [
|
|
61
|
-
x,
|
|
62
|
-
S,
|
|
63
|
-
w,
|
|
64
|
-
d,
|
|
65
|
-
f,
|
|
66
|
-
h
|
|
67
|
-
]);
|
|
68
|
-
return /* @__PURE__ */ o(i.Provider, {
|
|
69
|
-
value: T,
|
|
70
|
-
children: s
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function c() {
|
|
74
|
-
return /* @__PURE__ */ new Map();
|
|
75
|
-
}
|
|
76
|
-
function l() {
|
|
77
|
-
return /* @__PURE__ */ new Set();
|
|
78
|
-
}
|
|
79
|
-
function u(e, t) {
|
|
80
|
-
let n = e.compareDocumentPosition(t);
|
|
81
|
-
return n & Node.DOCUMENT_POSITION_FOLLOWING || n & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING || n & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
|
|
82
|
-
}
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/direction-context/DirectionContext.js
|
|
85
|
-
var d = /* @__PURE__ */ a.createContext(void 0);
|
|
86
|
-
process.env.NODE_ENV !== "production" && (d.displayName = "DirectionContext");
|
|
87
|
-
function f() {
|
|
88
|
-
return a.useContext(d)?.direction ?? "ltr";
|
|
89
|
-
}
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/composite/composite.js
|
|
92
|
-
var p = "ArrowUp", m = "ArrowDown", h = "ArrowLeft", g = "ArrowRight", _ = "Home", v = "PageUp", y = "PageDown", b = new Set([h, g]), x = new Set([
|
|
93
|
-
h,
|
|
94
|
-
g,
|
|
95
|
-
_,
|
|
96
|
-
"End"
|
|
97
|
-
]), S = new Set([p, m]), C = new Set([
|
|
98
|
-
p,
|
|
99
|
-
m,
|
|
100
|
-
_,
|
|
101
|
-
"End"
|
|
102
|
-
]), w = new Set([...b, ...S]), T = new Set([
|
|
103
|
-
...w,
|
|
104
|
-
_,
|
|
105
|
-
"End"
|
|
106
|
-
]), E = new Set([
|
|
107
|
-
p,
|
|
108
|
-
m,
|
|
109
|
-
h,
|
|
110
|
-
g,
|
|
111
|
-
_,
|
|
112
|
-
"End"
|
|
113
|
-
]), D = "Shift", O = new Set([
|
|
114
|
-
D,
|
|
115
|
-
"Control",
|
|
116
|
-
"Alt",
|
|
117
|
-
"Meta"
|
|
118
|
-
]);
|
|
119
|
-
function k(t) {
|
|
120
|
-
return e(t) && t.tagName === "INPUT";
|
|
121
|
-
}
|
|
122
|
-
function A(t) {
|
|
123
|
-
return !!(k(t) && t.selectionStart != null || e(t) && t.tagName === "TEXTAREA");
|
|
124
|
-
}
|
|
125
|
-
function j(e, t, n, r) {
|
|
126
|
-
if (!e || !t || !t.scrollTo) return;
|
|
127
|
-
let i = e.scrollLeft, a = e.scrollTop, o = e.clientWidth < e.scrollWidth, s = e.clientHeight < e.scrollHeight;
|
|
128
|
-
if (o && r !== "vertical") {
|
|
129
|
-
let r = M(e, t, "left"), a = N(e), o = N(t);
|
|
130
|
-
n === "ltr" && (r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight ? i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight : r - o.scrollMarginLeft < e.scrollLeft + a.scrollPaddingLeft && (i = r - o.scrollMarginLeft - a.scrollPaddingLeft)), n === "rtl" && (r - o.scrollMarginRight < e.scrollLeft + a.scrollPaddingLeft ? i = r - o.scrollMarginLeft - a.scrollPaddingLeft : r + t.offsetWidth + o.scrollMarginRight > e.scrollLeft + e.clientWidth - a.scrollPaddingRight && (i = r + t.offsetWidth + o.scrollMarginRight - e.clientWidth + a.scrollPaddingRight));
|
|
131
|
-
}
|
|
132
|
-
if (s && r !== "horizontal") {
|
|
133
|
-
let n = M(e, t, "top"), r = N(e), i = N(t);
|
|
134
|
-
n - i.scrollMarginTop < e.scrollTop + r.scrollPaddingTop ? a = n - i.scrollMarginTop - r.scrollPaddingTop : n + t.offsetHeight + i.scrollMarginBottom > e.scrollTop + e.clientHeight - r.scrollPaddingBottom && (a = n + t.offsetHeight + i.scrollMarginBottom - e.clientHeight + r.scrollPaddingBottom);
|
|
135
|
-
}
|
|
136
|
-
e.scrollTo({
|
|
137
|
-
left: i,
|
|
138
|
-
top: a,
|
|
139
|
-
behavior: "auto"
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
function M(e, t, n) {
|
|
143
|
-
let r = n === "left" ? "offsetLeft" : "offsetTop", i = 0;
|
|
144
|
-
for (; t.offsetParent && (i += t[r], t.offsetParent !== e);) t = t.offsetParent;
|
|
145
|
-
return i;
|
|
146
|
-
}
|
|
147
|
-
function N(e) {
|
|
148
|
-
let t = getComputedStyle(e);
|
|
149
|
-
return {
|
|
150
|
-
scrollMarginTop: parseFloat(t.scrollMarginTop) || 0,
|
|
151
|
-
scrollMarginRight: parseFloat(t.scrollMarginRight) || 0,
|
|
152
|
-
scrollMarginBottom: parseFloat(t.scrollMarginBottom) || 0,
|
|
153
|
-
scrollMarginLeft: parseFloat(t.scrollMarginLeft) || 0,
|
|
154
|
-
scrollPaddingTop: parseFloat(t.scrollPaddingTop) || 0,
|
|
155
|
-
scrollPaddingRight: parseFloat(t.scrollPaddingRight) || 0,
|
|
156
|
-
scrollPaddingBottom: parseFloat(t.scrollPaddingBottom) || 0,
|
|
157
|
-
scrollPaddingLeft: parseFloat(t.scrollPaddingLeft) || 0
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
//#endregion
|
|
161
|
-
export { A as _, g as a, s as b, _ as c, O as d, y as f, C as g, S as h, h as i, b as l, D as m, m as n, p as o, v as p, w as r, E as s, T as t, x as u, j as v, f as y };
|
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
import { x as e } from "./form-context-CpevRrMx.js";
|
|
2
|
-
//#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/utils/esm/detectBrowser.js
|
|
3
|
-
var t = typeof navigator < "u", n = f(), r = m(), i = p(), a = typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter:none"), o = n.platform === "MacIntel" && n.maxTouchPoints > 1 ? !0 : /iP(hone|ad|od)|iOS/.test(n.platform), s = t && /firefox/i.test(i), c = t && /apple/i.test(navigator.vendor);
|
|
4
|
-
t && /Edg/i.test(i);
|
|
5
|
-
var l = t && /android/i.test(r) || /android/i.test(i), u = t && r.toLowerCase().startsWith("mac") && !navigator.maxTouchPoints, d = i.includes("jsdom/");
|
|
6
|
-
function f() {
|
|
7
|
-
if (!t) return {
|
|
8
|
-
platform: "",
|
|
9
|
-
maxTouchPoints: -1
|
|
10
|
-
};
|
|
11
|
-
let e = navigator.userAgentData;
|
|
12
|
-
return e?.platform ? {
|
|
13
|
-
platform: e.platform,
|
|
14
|
-
maxTouchPoints: navigator.maxTouchPoints
|
|
15
|
-
} : {
|
|
16
|
-
platform: navigator.platform ?? "",
|
|
17
|
-
maxTouchPoints: navigator.maxTouchPoints ?? -1
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function p() {
|
|
21
|
-
if (!t) return "";
|
|
22
|
-
let e = navigator.userAgentData;
|
|
23
|
-
return e && Array.isArray(e.brands) ? e.brands.map(({ brand: e, version: t }) => `${e}/${t}`).join(" ") : navigator.userAgent;
|
|
24
|
-
}
|
|
25
|
-
function m() {
|
|
26
|
-
if (!t) return "";
|
|
27
|
-
let e = navigator.userAgentData;
|
|
28
|
-
return e?.platform ? e.platform : navigator.platform ?? "";
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js
|
|
32
|
-
var h = "data-base-ui-focusable", g = "active", _ = "selected", v = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", y = "ArrowLeft", b = "ArrowRight", x = "ArrowUp", S = "ArrowDown";
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/floating-ui-react/utils/event.js
|
|
35
|
-
function C(e) {
|
|
36
|
-
e.preventDefault(), e.stopPropagation();
|
|
37
|
-
}
|
|
38
|
-
function ee(e) {
|
|
39
|
-
return "nativeEvent" in e;
|
|
40
|
-
}
|
|
41
|
-
function te(e) {
|
|
42
|
-
return e.pointerType === "" && e.isTrusted ? !0 : l && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
|
|
43
|
-
}
|
|
44
|
-
function w(e) {
|
|
45
|
-
return d ? !1 : !l && e.width === 0 && e.height === 0 || l && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "touch";
|
|
46
|
-
}
|
|
47
|
-
function ne(e, t) {
|
|
48
|
-
let n = ["mouse", "pen"];
|
|
49
|
-
return t || n.push("", void 0), n.includes(e);
|
|
50
|
-
}
|
|
51
|
-
function re(e) {
|
|
52
|
-
let t = e.type;
|
|
53
|
-
return t === "click" || t === "mousedown" || t === "keydown" || t === "keyup";
|
|
54
|
-
}
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
57
|
-
var ie = [
|
|
58
|
-
"top",
|
|
59
|
-
"right",
|
|
60
|
-
"bottom",
|
|
61
|
-
"left"
|
|
62
|
-
], T = Math.min, E = Math.max, D = Math.round, O = Math.floor, k = (e) => ({
|
|
63
|
-
x: e,
|
|
64
|
-
y: e
|
|
65
|
-
}), A = {
|
|
66
|
-
left: "right",
|
|
67
|
-
right: "left",
|
|
68
|
-
bottom: "top",
|
|
69
|
-
top: "bottom"
|
|
70
|
-
};
|
|
71
|
-
function j(e, t, n) {
|
|
72
|
-
return E(e, T(t, n));
|
|
73
|
-
}
|
|
74
|
-
function ae(e, t) {
|
|
75
|
-
return typeof e == "function" ? e(t) : e;
|
|
76
|
-
}
|
|
77
|
-
function M(e) {
|
|
78
|
-
return e.split("-")[0];
|
|
79
|
-
}
|
|
80
|
-
function N(e) {
|
|
81
|
-
return e.split("-")[1];
|
|
82
|
-
}
|
|
83
|
-
function P(e) {
|
|
84
|
-
return e === "x" ? "y" : "x";
|
|
85
|
-
}
|
|
86
|
-
function F(e) {
|
|
87
|
-
return e === "y" ? "height" : "width";
|
|
88
|
-
}
|
|
89
|
-
function I(e) {
|
|
90
|
-
let t = e[0];
|
|
91
|
-
return t === "t" || t === "b" ? "y" : "x";
|
|
92
|
-
}
|
|
93
|
-
function L(e) {
|
|
94
|
-
return P(I(e));
|
|
95
|
-
}
|
|
96
|
-
function R(e, t, n) {
|
|
97
|
-
n === void 0 && (n = !1);
|
|
98
|
-
let r = N(e), i = L(e), a = F(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
99
|
-
return t.reference[a] > t.floating[a] && (o = q(o)), [o, q(o)];
|
|
100
|
-
}
|
|
101
|
-
function z(e) {
|
|
102
|
-
let t = q(e);
|
|
103
|
-
return [
|
|
104
|
-
B(e),
|
|
105
|
-
t,
|
|
106
|
-
B(t)
|
|
107
|
-
];
|
|
108
|
-
}
|
|
109
|
-
function B(e) {
|
|
110
|
-
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
111
|
-
}
|
|
112
|
-
var V = ["left", "right"], H = ["right", "left"], U = ["top", "bottom"], W = ["bottom", "top"];
|
|
113
|
-
function G(e, t, n) {
|
|
114
|
-
switch (e) {
|
|
115
|
-
case "top":
|
|
116
|
-
case "bottom": return n ? t ? H : V : t ? V : H;
|
|
117
|
-
case "left":
|
|
118
|
-
case "right": return t ? U : W;
|
|
119
|
-
default: return [];
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function K(e, t, n, r) {
|
|
123
|
-
let i = N(e), a = G(M(e), n === "start", r);
|
|
124
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(B)))), a;
|
|
125
|
-
}
|
|
126
|
-
function q(e) {
|
|
127
|
-
let t = M(e);
|
|
128
|
-
return A[t] + e.slice(t.length);
|
|
129
|
-
}
|
|
130
|
-
function oe(e) {
|
|
131
|
-
return {
|
|
132
|
-
top: 0,
|
|
133
|
-
right: 0,
|
|
134
|
-
bottom: 0,
|
|
135
|
-
left: 0,
|
|
136
|
-
...e
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function se(e) {
|
|
140
|
-
return typeof e == "number" ? {
|
|
141
|
-
top: e,
|
|
142
|
-
right: e,
|
|
143
|
-
bottom: e,
|
|
144
|
-
left: e
|
|
145
|
-
} : oe(e);
|
|
146
|
-
}
|
|
147
|
-
function ce(e) {
|
|
148
|
-
let { x: t, y: n, width: r, height: i } = e;
|
|
149
|
-
return {
|
|
150
|
-
width: r,
|
|
151
|
-
height: i,
|
|
152
|
-
top: n,
|
|
153
|
-
left: t,
|
|
154
|
-
right: t + r,
|
|
155
|
-
bottom: n + i,
|
|
156
|
-
x: t,
|
|
157
|
-
y: n
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite.js
|
|
162
|
-
function J(e, t, n) {
|
|
163
|
-
return Math.floor(e / t) !== n;
|
|
164
|
-
}
|
|
165
|
-
function Y(e, t) {
|
|
166
|
-
return t < 0 || t >= e.length;
|
|
167
|
-
}
|
|
168
|
-
function le(e, t) {
|
|
169
|
-
return Z(e.current, { disabledIndices: t });
|
|
170
|
-
}
|
|
171
|
-
function X(e, t) {
|
|
172
|
-
return Z(e.current, {
|
|
173
|
-
decrement: !0,
|
|
174
|
-
startingIndex: e.current.length,
|
|
175
|
-
disabledIndices: t
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
function Z(e, { startingIndex: t = -1, decrement: n = !1, disabledIndices: r, amount: i = 1 } = {}) {
|
|
179
|
-
let a = t;
|
|
180
|
-
do
|
|
181
|
-
a += n ? -i : i;
|
|
182
|
-
while (a >= 0 && a <= e.length - 1 && Q(e, a, r));
|
|
183
|
-
return a;
|
|
184
|
-
}
|
|
185
|
-
function ue(e, { event: t, orientation: n, loopFocus: r, onLoop: i, rtl: a, cols: o, disabledIndices: s, minIndex: c, maxIndex: l, prevIndex: u, stopEvent: d = !1 }) {
|
|
186
|
-
let f = u, p;
|
|
187
|
-
if (t.key === "ArrowUp" ? p = "up" : t.key === "ArrowDown" && (p = "down"), p) {
|
|
188
|
-
let n = [], a = [], m = !1, h = 0;
|
|
189
|
-
{
|
|
190
|
-
let t = null, r = -1;
|
|
191
|
-
e.forEach((e, i) => {
|
|
192
|
-
if (e == null) return;
|
|
193
|
-
h += 1;
|
|
194
|
-
let o = e.closest("[role=\"row\"]");
|
|
195
|
-
o && (m = !0), (o !== t || r === -1) && (t = o, r += 1, n[r] = []), n[r].push(i), a[i] = r;
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
let g = !1, _ = 0;
|
|
199
|
-
if (m) for (let e of n) {
|
|
200
|
-
let t = e.length;
|
|
201
|
-
t > _ && (_ = t), t !== o && (g = !0);
|
|
202
|
-
}
|
|
203
|
-
let v = g && h < e.length, y = _ || o, b = (o) => {
|
|
204
|
-
if (!g || u === -1) return;
|
|
205
|
-
let c = a[u];
|
|
206
|
-
if (c == null) return;
|
|
207
|
-
let l = n[c].indexOf(u), d = o === "up" ? -1 : 1;
|
|
208
|
-
for (let o = c + d, f = 0; f < n.length; f += 1, o += d) {
|
|
209
|
-
if (o < 0 || o >= n.length) {
|
|
210
|
-
if (!r || v) return;
|
|
211
|
-
if (o = o < 0 ? n.length - 1 : 0, i) {
|
|
212
|
-
let e = Math.min(l, n[o].length - 1);
|
|
213
|
-
o = a[i(t, u, n[o][e] ?? n[o][0])] ?? o;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
let c = n[o];
|
|
217
|
-
for (let t = Math.min(l, c.length - 1); t >= 0; --t) {
|
|
218
|
-
let n = c[t];
|
|
219
|
-
if (!Q(e, n, s)) return n;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}, x = (t) => {
|
|
223
|
-
if (!v || u === -1) return;
|
|
224
|
-
let n = u % y, i = t === "up" ? -y : y, a = l - l % y, o = O(l / y) + 1;
|
|
225
|
-
for (let t = u - n + i, c = 0; c < o; c += 1, t += i) {
|
|
226
|
-
if (t < 0 || t > l) {
|
|
227
|
-
if (!r) return;
|
|
228
|
-
t = t < 0 ? a : 0;
|
|
229
|
-
}
|
|
230
|
-
let i = Math.min(t + y - 1, l);
|
|
231
|
-
for (let r = Math.min(t + n, i); r >= t; --r) if (!Q(e, r, s)) return r;
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
d && C(t);
|
|
235
|
-
let S = b(p) ?? x(p);
|
|
236
|
-
if (S !== void 0) f = S;
|
|
237
|
-
else if (u === -1) f = p === "up" ? l : c;
|
|
238
|
-
else if (f = Z(e, {
|
|
239
|
-
startingIndex: u,
|
|
240
|
-
amount: y,
|
|
241
|
-
decrement: p === "up",
|
|
242
|
-
disabledIndices: s
|
|
243
|
-
}), r) {
|
|
244
|
-
if (p === "up" && (u - y < c || f < 0)) {
|
|
245
|
-
let e = u % y, n = l % y, r = l - (n - e);
|
|
246
|
-
f = n === e ? l : n > e ? r : r - y, i && (f = i(t, u, f));
|
|
247
|
-
}
|
|
248
|
-
p === "down" && u + y > l && (f = Z(e, {
|
|
249
|
-
startingIndex: u % y - y,
|
|
250
|
-
amount: y,
|
|
251
|
-
disabledIndices: s
|
|
252
|
-
}), i && (f = i(t, u, f)));
|
|
253
|
-
}
|
|
254
|
-
Y(e, f) && (f = u);
|
|
255
|
-
}
|
|
256
|
-
if (n === "both") {
|
|
257
|
-
let n = O(u / o);
|
|
258
|
-
t.key === (a ? "ArrowLeft" : "ArrowRight") && (d && C(t), u % o === o - 1 ? r && (f = Z(e, {
|
|
259
|
-
startingIndex: u - u % o - 1,
|
|
260
|
-
disabledIndices: s
|
|
261
|
-
}), i && (f = i(t, u, f))) : (f = Z(e, {
|
|
262
|
-
startingIndex: u,
|
|
263
|
-
disabledIndices: s
|
|
264
|
-
}), r && J(f, o, n) && (f = Z(e, {
|
|
265
|
-
startingIndex: u - u % o - 1,
|
|
266
|
-
disabledIndices: s
|
|
267
|
-
}), i && (f = i(t, u, f)))), J(f, o, n) && (f = u)), t.key === (a ? "ArrowRight" : "ArrowLeft") && (d && C(t), u % o === 0 ? r && (f = Z(e, {
|
|
268
|
-
startingIndex: u + (o - u % o),
|
|
269
|
-
decrement: !0,
|
|
270
|
-
disabledIndices: s
|
|
271
|
-
}), i && (f = i(t, u, f))) : (f = Z(e, {
|
|
272
|
-
startingIndex: u,
|
|
273
|
-
decrement: !0,
|
|
274
|
-
disabledIndices: s
|
|
275
|
-
}), r && J(f, o, n) && (f = Z(e, {
|
|
276
|
-
startingIndex: u + (o - u % o),
|
|
277
|
-
decrement: !0,
|
|
278
|
-
disabledIndices: s
|
|
279
|
-
}), i && (f = i(t, u, f)))), J(f, o, n) && (f = u));
|
|
280
|
-
let c = O(l / o) === n;
|
|
281
|
-
Y(e, f) && (r && c ? (f = t.key === (a ? "ArrowRight" : "ArrowLeft") ? l : Z(e, {
|
|
282
|
-
startingIndex: u - u % o - 1,
|
|
283
|
-
disabledIndices: s
|
|
284
|
-
}), i && (f = i(t, u, f))) : f = u);
|
|
285
|
-
}
|
|
286
|
-
return f;
|
|
287
|
-
}
|
|
288
|
-
function de(e, t, n) {
|
|
289
|
-
let r = [], i = 0;
|
|
290
|
-
return e.forEach(({ width: e, height: a }, o) => {
|
|
291
|
-
if (e > t && process.env.NODE_ENV !== "production") throw Error(`[Floating UI]: Invalid grid - item width at index ${o} is greater than grid columns`);
|
|
292
|
-
let s = !1;
|
|
293
|
-
for (n && (i = 0); !s;) {
|
|
294
|
-
let n = [];
|
|
295
|
-
for (let r = 0; r < e; r += 1) for (let e = 0; e < a; e += 1) n.push(i + r + e * t);
|
|
296
|
-
i % t + e <= t && n.every((e) => r[e] == null) ? (n.forEach((e) => {
|
|
297
|
-
r[e] = o;
|
|
298
|
-
}), s = !0) : i += 1;
|
|
299
|
-
}
|
|
300
|
-
}), [...r];
|
|
301
|
-
}
|
|
302
|
-
function fe(e, t, n, r, i) {
|
|
303
|
-
if (e === -1) return -1;
|
|
304
|
-
let a = n.indexOf(e), o = t[e];
|
|
305
|
-
switch (i) {
|
|
306
|
-
case "tl": return a;
|
|
307
|
-
case "tr": return o ? a + o.width - 1 : a;
|
|
308
|
-
case "bl": return o ? a + (o.height - 1) * r : a;
|
|
309
|
-
case "br": return n.lastIndexOf(e);
|
|
310
|
-
default: return -1;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
function pe(e, t) {
|
|
314
|
-
return t.flatMap((t, n) => e.includes(t) ? [n] : []);
|
|
315
|
-
}
|
|
316
|
-
function Q(e, t, n) {
|
|
317
|
-
if (typeof n == "function" ? n(t) : n?.includes(t) ?? !1) return !0;
|
|
318
|
-
let r = e[t];
|
|
319
|
-
return r ? $(r) ? !n && (r.hasAttribute("disabled") || r.getAttribute("aria-disabled") === "true") : !0 : !1;
|
|
320
|
-
}
|
|
321
|
-
function me(e) {
|
|
322
|
-
return e.visibility === "hidden" || e.visibility === "collapse";
|
|
323
|
-
}
|
|
324
|
-
function $(t, n = t ? e(t) : null) {
|
|
325
|
-
return !t || !t.isConnected || !n || me(n) ? !1 : typeof t.checkVisibility == "function" ? t.checkVisibility() : n.display !== "none" && n.display !== "contents";
|
|
326
|
-
}
|
|
327
|
-
//#endregion
|
|
328
|
-
export { ie as A, b as B, se as C, T as D, E, w as F, l as G, h as H, C as I, d as J, s as K, g as L, ne as M, ee as N, ce as O, te as P, S as R, q as S, I as T, _ as U, x as V, v as W, c as X, u as Y, a as Z, R as _, ue as a, P as b, $ as c, j as d, k as f, L as g, N as h, pe as i, re as j, D as k, Y as l, O as m, Z as n, X as o, ae as p, o as q, fe as r, le as s, de as t, Q as u, F as v, M as w, K as x, z as y, y as z };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { W as e } from "./form-context-CpevRrMx.js";
|
|
2
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/reason-parts.js
|
|
3
|
-
var t = "none", n = "trigger-press", r = "trigger-hover", i = "trigger-focus", a = "outside-press", o = "item-press", s = "close-press", c = "clear-press", l = "chip-remove-press", u = "track-press", d = "increment-press", f = "decrement-press", p = "input-change", m = "input-clear", h = "input-blur", g = "input-paste", _ = "input-press", v = "focus-out", y = "escape-key", b = "close-watcher", x = "list-navigation", S = "keyboard", C = "pointer", w = "drag", T = "scrub", E = "cancel-open", D = "sibling-open", O = "disabled", k = "imperative-action", A = "swipe", j = "window-resize";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region node_modules/.pnpm/@base-ui+react@1.4.1_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails.js
|
|
6
|
-
function M(t, n, r, i) {
|
|
7
|
-
let a = !1, o = !1, s = i ?? e;
|
|
8
|
-
return {
|
|
9
|
-
reason: t,
|
|
10
|
-
event: n ?? new Event("base-ui"),
|
|
11
|
-
cancel() {
|
|
12
|
-
a = !0;
|
|
13
|
-
},
|
|
14
|
-
allowPropagation() {
|
|
15
|
-
o = !0;
|
|
16
|
-
},
|
|
17
|
-
get isCanceled() {
|
|
18
|
-
return a;
|
|
19
|
-
},
|
|
20
|
-
get isPropagationAllowed() {
|
|
21
|
-
return o;
|
|
22
|
-
},
|
|
23
|
-
trigger: r,
|
|
24
|
-
...s
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
function N(t, n, r) {
|
|
28
|
-
let i = r ?? e;
|
|
29
|
-
return {
|
|
30
|
-
reason: t,
|
|
31
|
-
event: n ?? new Event("base-ui"),
|
|
32
|
-
...i
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { i as A, t as C, D, T as E, n as M, j as N, A as O, x as S, C as T, m as _, c as a, o as b, f as c, y as d, v as f, p as g, h, l as i, r as j, u as k, O as l, d as m, N as n, s as o, k as p, E as r, b as s, M as t, w as u, g as v, a as w, S as x, _ as y };
|