@base-ui/react 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +199 -1
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/accordion/header/AccordionHeader.d.mts +16 -0
- package/accordion/header/AccordionHeader.mjs +32 -0
- package/accordion/index.d.mts +6 -0
- package/accordion/index.mjs +1 -0
- package/accordion/index.parts.d.mts +5 -0
- package/accordion/index.parts.mjs +5 -0
- package/accordion/item/AccordionItem.d.mts +55 -0
- package/accordion/item/AccordionItem.js +4 -4
- package/accordion/item/AccordionItem.mjs +107 -0
- package/accordion/item/AccordionItemContext.d.mts +10 -0
- package/accordion/item/stateAttributesMapping.d.mts +3 -0
- package/accordion/item/stateAttributesMapping.mjs +13 -0
- package/accordion/panel/AccordionPanel.d.mts +23 -0
- package/accordion/panel/AccordionPanel.mjs +122 -0
- package/accordion/panel/AccordionPanelDataAttributes.mjs +29 -0
- package/accordion/root/AccordionRoot.d.mts +103 -0
- package/accordion/root/AccordionRoot.d.ts +16 -5
- package/accordion/root/AccordionRoot.js +4 -12
- package/accordion/root/AccordionRoot.mjs +118 -0
- package/accordion/root/AccordionRootContext.d.mts +12 -0
- package/accordion/root/AccordionRootContext.d.ts +1 -7
- package/accordion/trigger/AccordionTrigger.d.mts +16 -0
- package/accordion/trigger/AccordionTrigger.js +3 -99
- package/accordion/trigger/AccordionTrigger.mjs +70 -0
- package/alert-dialog/handle.d.mts +18 -0
- package/alert-dialog/handle.d.ts +4 -1
- package/alert-dialog/handle.js +4 -0
- package/alert-dialog/handle.mjs +28 -0
- package/alert-dialog/index.d.mts +10 -0
- package/alert-dialog/index.mjs +1 -0
- package/alert-dialog/index.parts.d.mts +10 -0
- package/alert-dialog/index.parts.mjs +10 -0
- package/alert-dialog/root/AlertDialogRoot.d.mts +43 -0
- package/alert-dialog/root/AlertDialogRoot.d.ts +2 -3
- package/alert-dialog/root/AlertDialogRoot.mjs +12 -0
- package/alert-dialog/trigger/AlertDialogTrigger.d.mts +25 -0
- package/alert-dialog/trigger/AlertDialogTrigger.mjs +10 -0
- package/alert-dialog/trigger/AlertDialogTriggerDataAttributes.mjs +12 -0
- package/autocomplete/clear/AutocompleteClearDataAttributes.d.mts +1 -0
- package/autocomplete/clear/AutocompleteClearDataAttributes.mjs +1 -0
- package/autocomplete/index.d.mts +22 -0
- package/autocomplete/index.mjs +1 -0
- package/autocomplete/index.parts.d.mts +23 -0
- package/autocomplete/index.parts.mjs +23 -0
- package/autocomplete/input-group/AutocompleteInputGroup.d.mts +41 -0
- package/autocomplete/input-group/AutocompleteInputGroup.mjs +10 -0
- package/autocomplete/item/AutocompleteItem.d.mts +48 -0
- package/autocomplete/item/AutocompleteItem.mjs +10 -0
- package/autocomplete/item/AutocompleteItemDataAttributes.mjs +12 -0
- package/autocomplete/root/AutocompleteRoot.d.mts +128 -0
- package/autocomplete/root/AutocompleteRoot.d.ts +11 -4
- package/autocomplete/root/AutocompleteRoot.mjs +105 -0
- package/autocomplete/trigger/AutocompleteTrigger.d.mts +43 -0
- package/autocomplete/trigger/AutocompleteTrigger.mjs +10 -0
- package/autocomplete/trigger/AutocompleteTriggerDataAttributes.mjs +57 -0
- package/autocomplete/value/AutocompleteValue.mjs +29 -0
- package/avatar/fallback/AvatarFallback.d.mts +21 -0
- package/avatar/fallback/AvatarFallback.js +5 -1
- package/avatar/fallback/AvatarFallback.mjs +50 -0
- package/avatar/image/AvatarImage.d.mts +27 -0
- package/avatar/image/AvatarImage.d.ts +1 -2
- package/avatar/image/AvatarImage.js +8 -8
- package/avatar/image/AvatarImage.mjs +80 -0
- package/avatar/image/AvatarImageDataAttributes.mjs +12 -0
- package/avatar/image/useImageLoadingStatus.d.mts +15 -0
- package/avatar/image/useImageLoadingStatus.d.ts +6 -2
- package/avatar/image/useImageLoadingStatus.js +14 -4
- package/avatar/image/useImageLoadingStatus.mjs +52 -0
- package/avatar/index.d.mts +4 -0
- package/avatar/index.mjs +1 -0
- package/avatar/index.parts.d.mts +3 -0
- package/avatar/index.parts.mjs +3 -0
- package/avatar/root/AvatarRoot.d.mts +21 -0
- package/avatar/root/AvatarRoot.mjs +41 -0
- package/avatar/root/AvatarRootContext.d.mts +8 -0
- package/button/Button.d.mts +26 -0
- package/button/Button.mjs +39 -0
- package/button/index.d.mts +2 -0
- package/button/index.mjs +1 -0
- package/checkbox/index.d.mts +3 -0
- package/checkbox/index.mjs +1 -0
- package/checkbox/index.parts.d.mts +2 -0
- package/checkbox/index.parts.mjs +2 -0
- package/checkbox/indicator/CheckboxIndicator.d.mts +28 -0
- package/checkbox/indicator/CheckboxIndicator.mjs +65 -0
- package/checkbox/indicator/CheckboxIndicatorDataAttributes.mjs +60 -0
- package/checkbox/root/CheckboxRoot.d.mts +117 -0
- package/checkbox/root/CheckboxRoot.js +20 -19
- package/checkbox/root/CheckboxRoot.mjs +341 -0
- package/checkbox/root/CheckboxRootContext.d.mts +5 -0
- package/checkbox/utils/useStateAttributesMapping.d.mts +3 -0
- package/checkbox/utils/useStateAttributesMapping.mjs +24 -0
- package/checkbox-group/CheckboxGroup.d.mts +53 -0
- package/checkbox-group/CheckboxGroup.js +4 -8
- package/checkbox-group/CheckboxGroup.mjs +127 -0
- package/checkbox-group/CheckboxGroupContext.d.mts +18 -0
- package/checkbox-group/index.d.mts +2 -0
- package/checkbox-group/index.mjs +1 -0
- package/checkbox-group/useCheckboxGroupParent.d.mts +26 -0
- package/checkbox-group/useCheckboxGroupParent.js +14 -9
- package/checkbox-group/useCheckboxGroupParent.mjs +83 -0
- package/collapsible/index.d.mts +4 -0
- package/collapsible/index.mjs +1 -0
- package/collapsible/index.parts.d.mts +3 -0
- package/collapsible/index.parts.mjs +3 -0
- package/collapsible/panel/CollapsiblePanel.d.mts +38 -0
- package/collapsible/panel/CollapsiblePanel.mjs +111 -0
- package/collapsible/panel/CollapsiblePanelDataAttributes.mjs +20 -0
- package/collapsible/panel/useCollapsiblePanel.d.mts +47 -0
- package/collapsible/panel/useCollapsiblePanel.js +7 -5
- package/collapsible/panel/useCollapsiblePanel.mjs +384 -0
- package/collapsible/root/CollapsibleRoot.d.mts +45 -0
- package/collapsible/root/CollapsibleRoot.mjs +55 -0
- package/collapsible/root/CollapsibleRootContext.d.mts +9 -0
- package/collapsible/root/stateAttributesMapping.d.mts +3 -0
- package/collapsible/root/stateAttributesMapping.mjs +6 -0
- package/collapsible/root/useCollapsibleRoot.d.mts +51 -0
- package/collapsible/root/useCollapsibleRoot.mjs +51 -0
- package/collapsible/trigger/CollapsibleTrigger.d.mts +16 -0
- package/collapsible/trigger/CollapsibleTrigger.js +0 -1
- package/collapsible/trigger/CollapsibleTrigger.mjs +56 -0
- package/combobox/arrow/ComboboxArrow.d.mts +33 -0
- package/combobox/arrow/ComboboxArrow.mjs +50 -0
- package/combobox/arrow/ComboboxArrowDataAttributes.mjs +26 -0
- package/combobox/backdrop/ComboboxBackdrop.d.mts +25 -0
- package/combobox/backdrop/ComboboxBackdrop.mjs +50 -0
- package/combobox/backdrop/ComboboxBackdropDataAttributes.mjs +20 -0
- package/combobox/chip/ComboboxChip.d.mts +20 -0
- package/combobox/chip/ComboboxChip.mjs +121 -0
- package/combobox/chip/ComboboxChipContext.js +1 -1
- package/combobox/chip/ComboboxChipContext.mjs +13 -0
- package/combobox/chip-remove/ComboboxChipRemove.d.mts +20 -0
- package/combobox/chip-remove/ComboboxChipRemove.mjs +106 -0
- package/combobox/chips/ComboboxChips.d.mts +15 -0
- package/combobox/chips/ComboboxChips.mjs +60 -0
- package/combobox/clear/ComboboxClear.d.mts +44 -0
- package/combobox/clear/ComboboxClear.mjs +124 -0
- package/combobox/clear/ComboboxClearDataAttributes.mjs +24 -0
- package/combobox/collection/ComboboxCollection.mjs +31 -0
- package/combobox/empty/ComboboxEmpty.d.mts +21 -0
- package/combobox/empty/ComboboxEmpty.mjs +44 -0
- package/combobox/group/ComboboxGroup.d.mts +21 -0
- package/combobox/group/ComboboxGroup.mjs +48 -0
- package/combobox/group-label/ComboboxGroupLabel.d.mts +15 -0
- package/combobox/group-label/ComboboxGroupLabel.mjs +41 -0
- package/combobox/icon/ComboboxIcon.d.mts +15 -0
- package/combobox/icon/ComboboxIcon.mjs +28 -0
- package/combobox/index.d.mts +27 -0
- package/combobox/index.mjs +1 -0
- package/combobox/index.parts.d.mts +28 -0
- package/combobox/index.parts.mjs +28 -0
- package/combobox/input/ComboboxInput.d.mts +40 -0
- package/combobox/input/ComboboxInput.js +10 -6
- package/combobox/input/ComboboxInput.mjs +418 -0
- package/combobox/input/ComboboxInputDataAttributes.mjs +57 -0
- package/combobox/input-group/ComboboxInputGroup.d.mts +42 -0
- package/combobox/input-group/ComboboxInputGroup.mjs +72 -0
- package/combobox/item/ComboboxItem.d.mts +49 -0
- package/combobox/item/ComboboxItem.js +64 -13
- package/combobox/item/ComboboxItem.mjs +225 -0
- package/combobox/item-indicator/ComboboxItemIndicator.d.mts +32 -0
- package/combobox/item-indicator/ComboboxItemIndicator.mjs +76 -0
- package/combobox/item-indicator/ComboboxItemIndicatorDataAttributes.mjs +12 -0
- package/combobox/label/ComboboxLabel.d.mts +16 -0
- package/combobox/label/ComboboxLabel.d.ts +2 -2
- package/combobox/label/ComboboxLabel.mjs +64 -0
- package/combobox/list/ComboboxList.d.mts +22 -0
- package/combobox/list/ComboboxList.js +7 -1
- package/combobox/list/ComboboxList.mjs +118 -0
- package/combobox/popup/ComboboxPopup.d.mts +64 -0
- package/combobox/popup/ComboboxPopup.js +12 -0
- package/combobox/popup/ComboboxPopup.mjs +123 -0
- package/combobox/popup/ComboboxPopupDataAttributes.mjs +39 -0
- package/combobox/portal/ComboboxPortal.d.mts +22 -0
- package/combobox/portal/ComboboxPortal.mjs +38 -0
- package/combobox/positioner/ComboboxPositioner.d.mts +37 -0
- package/combobox/positioner/ComboboxPositioner.mjs +110 -0
- package/combobox/positioner/ComboboxPositionerContext.d.mts +6 -0
- package/combobox/positioner/ComboboxPositionerDataAttributes.mjs +30 -0
- package/combobox/root/AriaCombobox.d.mts +262 -0
- package/combobox/root/AriaCombobox.d.ts +11 -4
- package/combobox/root/AriaCombobox.js +71 -55
- package/combobox/root/AriaCombobox.mjs +1079 -0
- package/combobox/root/ComboboxRoot.d.mts +102 -0
- package/combobox/root/ComboboxRoot.d.ts +2 -3
- package/combobox/root/ComboboxRoot.mjs +30 -0
- package/combobox/root/ComboboxRootContext.d.mts +18 -0
- package/combobox/root/ComboboxRootContext.d.ts +3 -1
- package/combobox/root/ComboboxRootContext.js +8 -2
- package/combobox/root/ComboboxRootContext.mjs +43 -0
- package/combobox/root/utils/index.d.mts +19 -0
- package/combobox/root/utils/index.d.ts +6 -0
- package/combobox/root/utils/index.js +10 -0
- package/combobox/root/utils/index.mjs +48 -0
- package/combobox/root/utils/useFilter.d.mts +21 -0
- package/combobox/root/utils/useFilter.mjs +31 -0
- package/combobox/root/utils/useFilteredItems.mjs +9 -0
- package/combobox/row/ComboboxRow.d.mts +16 -0
- package/combobox/row/ComboboxRow.mjs +33 -0
- package/combobox/status/ComboboxStatus.d.mts +20 -0
- package/combobox/status/ComboboxStatus.mjs +37 -0
- package/combobox/store.d.mts +123 -0
- package/combobox/store.d.ts +4 -2
- package/combobox/store.js +1 -0
- package/combobox/store.mjs +72 -0
- package/combobox/trigger/ComboboxTrigger.d.mts +44 -0
- package/combobox/trigger/ComboboxTrigger.js +12 -2
- package/combobox/trigger/ComboboxTrigger.mjs +240 -0
- package/combobox/trigger/ComboboxTriggerDataAttributes.mjs +61 -0
- package/combobox/utils/ComboboxInternalDismissButton.mjs +37 -0
- package/combobox/utils/handleInputPress.d.mts +5 -0
- package/combobox/utils/handleInputPress.mjs +22 -0
- package/combobox/utils/stateAttributesMapping.d.mts +14 -0
- package/combobox/utils/stateAttributesMapping.d.ts +5 -5
- package/combobox/utils/stateAttributesMapping.mjs +12 -0
- package/combobox/utils/useInitialLiveRegionTextMutation.js +2 -2
- package/combobox/utils/useInitialLiveRegionTextMutation.mjs +55 -0
- package/combobox/value/ComboboxValue.mjs +44 -0
- package/context-menu/index.d.mts +19 -0
- package/context-menu/index.mjs +1 -0
- package/context-menu/index.parts.d.mts +19 -0
- package/context-menu/index.parts.mjs +19 -0
- package/context-menu/root/ContextMenuRoot.d.mts +27 -0
- package/context-menu/root/ContextMenuRoot.mjs +53 -0
- package/context-menu/root/ContextMenuRootContext.d.mts +23 -0
- package/context-menu/trigger/ContextMenuTrigger.d.mts +20 -0
- package/context-menu/trigger/ContextMenuTrigger.mjs +167 -0
- package/context-menu/trigger/ContextMenuTriggerDataAttributes.mjs +12 -0
- package/csp-provider/CSPProvider.mjs +27 -0
- package/csp-provider/index.d.mts +2 -0
- package/csp-provider/index.mjs +1 -0
- package/csp-provider/index.parts.d.mts +1 -0
- package/csp-provider/index.parts.mjs +1 -0
- package/dialog/backdrop/DialogBackdrop.d.mts +31 -0
- package/dialog/backdrop/DialogBackdrop.mjs +53 -0
- package/dialog/backdrop/DialogBackdropDataAttributes.mjs +20 -0
- package/dialog/close/DialogClose.d.mts +20 -0
- package/dialog/close/DialogClose.mjs +52 -0
- package/dialog/description/DialogDescription.d.mts +15 -0
- package/dialog/description/DialogDescription.mjs +33 -0
- package/dialog/index.d.mts +10 -0
- package/dialog/index.mjs +1 -0
- package/dialog/index.parts.d.mts +10 -0
- package/dialog/index.parts.mjs +10 -0
- package/dialog/popup/DialogPopup.d.mts +57 -0
- package/dialog/popup/DialogPopup.d.ts +4 -2
- package/dialog/popup/DialogPopup.js +1 -11
- package/dialog/popup/DialogPopup.mjs +111 -0
- package/dialog/popup/DialogPopupDataAttributes.mjs +28 -0
- package/dialog/portal/DialogPortal.d.mts +26 -0
- package/dialog/portal/DialogPortal.mjs +45 -0
- package/dialog/root/DialogRoot.d.mts +95 -0
- package/dialog/root/DialogRoot.d.ts +4 -4
- package/dialog/root/DialogRoot.mjs +16 -0
- package/dialog/root/DialogRootContext.d.mts +9 -0
- package/dialog/root/useDialogRoot.d.mts +16 -0
- package/dialog/root/useDialogRoot.d.ts +5 -11
- package/dialog/root/useDialogRoot.js +7 -16
- package/dialog/root/useDialogRoot.mjs +121 -0
- package/dialog/root/useRenderDialogRoot.d.mts +4 -0
- package/dialog/root/useRenderDialogRoot.js +4 -5
- package/dialog/root/useRenderDialogRoot.mjs +89 -0
- package/dialog/store/DialogHandle.d.mts +40 -0
- package/dialog/store/DialogHandle.mjs +67 -0
- package/dialog/store/DialogStore.d.mts +385 -0
- package/dialog/store/DialogStore.d.ts +11 -11
- package/dialog/store/DialogStore.js +1 -1
- package/dialog/store/DialogStore.mjs +78 -0
- package/dialog/title/DialogTitle.d.mts +15 -0
- package/dialog/title/DialogTitle.mjs +33 -0
- package/dialog/trigger/DialogTrigger.d.mts +43 -0
- package/dialog/trigger/DialogTrigger.d.ts +2 -2
- package/dialog/trigger/DialogTrigger.mjs +80 -0
- package/dialog/trigger/DialogTriggerDataAttributes.mjs +12 -0
- package/dialog/viewport/DialogViewport.d.mts +33 -0
- package/dialog/viewport/DialogViewport.mjs +72 -0
- package/dialog/viewport/DialogViewportDataAttributes.mjs +28 -0
- package/direction-provider/DirectionProvider.d.mts +21 -0
- package/direction-provider/DirectionProvider.mjs +24 -0
- package/direction-provider/index.d.mts +2 -0
- package/direction-provider/index.mjs +1 -0
- package/direction-provider/index.parts.d.mts +3 -0
- package/direction-provider/index.parts.mjs +2 -0
- package/docs/index.md +94 -0
- package/docs/react/components/accordion.md +949 -0
- package/docs/react/components/alert-dialog.md +1955 -0
- package/docs/react/components/autocomplete.md +6354 -0
- package/docs/react/components/avatar.md +245 -0
- package/docs/react/components/button.md +332 -0
- package/docs/react/components/checkbox-group.md +908 -0
- package/docs/react/components/checkbox.md +429 -0
- package/docs/react/components/collapsible.md +396 -0
- package/docs/react/components/combobox.md +7772 -0
- package/docs/react/components/context-menu.md +1668 -0
- package/docs/react/components/dialog.md +3860 -0
- package/docs/react/components/drawer.md +5870 -0
- package/docs/react/components/field.md +629 -0
- package/docs/react/components/fieldset.md +275 -0
- package/docs/react/components/form.md +1045 -0
- package/docs/react/components/input.md +220 -0
- package/docs/react/components/menu.md +5357 -0
- package/docs/react/components/menubar.md +673 -0
- package/docs/react/components/meter.md +278 -0
- package/docs/react/components/navigation-menu.md +3381 -0
- package/docs/react/components/number-field.md +935 -0
- package/docs/react/components/otp-field.md +1523 -0
- package/docs/react/components/popover.md +2621 -0
- package/docs/react/components/preview-card.md +2302 -0
- package/docs/react/components/progress.md +366 -0
- package/docs/react/components/radio.md +550 -0
- package/docs/react/components/scroll-area.md +974 -0
- package/docs/react/components/select.md +3195 -0
- package/docs/react/components/separator.md +217 -0
- package/docs/react/components/slider.md +1235 -0
- package/docs/react/components/switch.md +384 -0
- package/docs/react/components/tabs.md +616 -0
- package/docs/react/components/toast.md +4728 -0
- package/docs/react/components/toggle-group.md +628 -0
- package/docs/react/components/toggle.md +304 -0
- package/docs/react/components/toolbar.md +856 -0
- package/docs/react/components/tooltip.md +2598 -0
- package/docs/react/handbook/animation.md +847 -0
- package/docs/react/handbook/composition.md +101 -0
- package/docs/react/handbook/customization.md +134 -0
- package/docs/react/handbook/forms.md +4586 -0
- package/docs/react/handbook/styling.md +165 -0
- package/docs/react/handbook/typescript.md +81 -0
- package/docs/react/overview/about.md +61 -0
- package/docs/react/overview/accessibility.md +51 -0
- package/docs/react/overview/community.md +64 -0
- package/docs/react/overview/quick-start.md +351 -0
- package/docs/react/overview/releases/v1-0-0-alpha-4.md +15 -0
- package/docs/react/overview/releases/v1-0-0-alpha-5.md +128 -0
- package/docs/react/overview/releases/v1-0-0-alpha-6.md +95 -0
- package/docs/react/overview/releases/v1-0-0-alpha-7.md +117 -0
- package/docs/react/overview/releases/v1-0-0-alpha-8.md +125 -0
- package/docs/react/overview/releases/v1-0-0-beta-0.md +202 -0
- package/docs/react/overview/releases/v1-0-0-beta-1.md +161 -0
- package/docs/react/overview/releases/v1-0-0-beta-2.md +149 -0
- package/docs/react/overview/releases/v1-0-0-beta-3.md +151 -0
- package/docs/react/overview/releases/v1-0-0-beta-4.md +149 -0
- package/docs/react/overview/releases/v1-0-0-beta-5.md +231 -0
- package/docs/react/overview/releases/v1-0-0-beta-6.md +19 -0
- package/docs/react/overview/releases/v1-0-0-beta-7.md +84 -0
- package/docs/react/overview/releases/v1-0-0-rc-0.md +84 -0
- package/docs/react/overview/releases/v1-0-0-rc-1.md +16 -0
- package/docs/react/overview/releases/v1-0-0-rc-2.md +16 -0
- package/docs/react/overview/releases/v1-0-0.md +69 -0
- package/docs/react/overview/releases/v1-1-0.md +150 -0
- package/docs/react/overview/releases/v1-2-0.md +180 -0
- package/docs/react/overview/releases/v1-3-0.md +154 -0
- package/docs/react/overview/releases/v1-4-0.md +138 -0
- package/docs/react/overview/releases/v1-4-1.md +24 -0
- package/docs/react/overview/releases/v1-5-0.md +124 -0
- package/docs/react/overview/releases/v1-6-0.md +203 -0
- package/docs/react/overview/releases.md +270 -0
- package/docs/react/utils/csp-provider.md +128 -0
- package/docs/react/utils/direction-provider.md +192 -0
- package/docs/react/utils/merge-props.md +381 -0
- package/docs/react/utils/use-render.md +924 -0
- package/drawer/backdrop/DrawerBackdrop.d.mts +31 -0
- package/drawer/backdrop/DrawerBackdrop.mjs +58 -0
- package/drawer/backdrop/DrawerBackdropDataAttributes.mjs +20 -0
- package/drawer/close/DrawerClose.d.mts +23 -0
- package/drawer/close/DrawerClose.mjs +10 -0
- package/drawer/content/DrawerContent.d.mts +15 -0
- package/drawer/content/DrawerContent.mjs +29 -0
- package/drawer/description/DrawerDescription.d.mts +18 -0
- package/drawer/description/DrawerDescription.mjs +10 -0
- package/drawer/indent/DrawerIndent.d.mts +21 -0
- package/drawer/indent/DrawerIndent.mjs +83 -0
- package/drawer/indent-background/DrawerIndentBackground.d.mts +20 -0
- package/drawer/indent-background/DrawerIndentBackground.mjs +44 -0
- package/drawer/index.d.mts +16 -0
- package/drawer/index.d.ts +2 -1
- package/drawer/index.mjs +1 -0
- package/drawer/index.parts.d.mts +16 -0
- package/drawer/index.parts.d.ts +1 -0
- package/drawer/index.parts.js +7 -0
- package/drawer/index.parts.mjs +16 -0
- package/drawer/popup/DrawerPopup.d.mts +72 -0
- package/drawer/popup/DrawerPopup.js +11 -16
- package/drawer/popup/DrawerPopup.mjs +356 -0
- package/drawer/popup/DrawerPopupDataAttributes.mjs +45 -0
- package/drawer/portal/DrawerPortal.d.mts +29 -0
- package/drawer/portal/DrawerPortal.mjs +11 -0
- package/drawer/provider/DrawerProvider.mjs +95 -0
- package/drawer/root/DrawerRoot.d.mts +126 -0
- package/drawer/root/DrawerRoot.d.ts +4 -4
- package/drawer/root/DrawerRoot.js +2 -2
- package/drawer/root/DrawerRoot.mjs +238 -0
- package/drawer/root/DrawerRootContext.d.mts +89 -0
- package/drawer/root/useDrawerSnapPoints.d.mts +20 -0
- package/drawer/root/useDrawerSnapPoints.d.ts +5 -0
- package/drawer/root/useDrawerSnapPoints.js +12 -0
- package/drawer/root/useDrawerSnapPoints.mjs +160 -0
- package/drawer/swipe-area/DrawerSwipeArea.d.mts +45 -0
- package/drawer/swipe-area/DrawerSwipeArea.mjs +387 -0
- package/drawer/swipe-area/DrawerSwipeAreaDataAttributes.mjs +25 -0
- package/drawer/title/DrawerTitle.d.mts +18 -0
- package/drawer/title/DrawerTitle.mjs +10 -0
- package/drawer/trigger/DrawerTrigger.d.mts +43 -0
- package/drawer/trigger/DrawerTrigger.d.ts +2 -2
- package/drawer/trigger/DrawerTrigger.mjs +10 -0
- package/drawer/viewport/DrawerViewport.d.mts +33 -0
- package/drawer/viewport/DrawerViewport.js +56 -30
- package/drawer/viewport/DrawerViewport.mjs +1026 -0
- package/drawer/viewport/DrawerViewportCssVars.d.mts +8 -0
- package/drawer/viewport/DrawerViewportCssVars.d.ts +8 -0
- package/drawer/viewport/DrawerViewportCssVars.js +15 -0
- package/drawer/viewport/DrawerViewportCssVars.mjs +9 -0
- package/drawer/viewport/DrawerViewportDataAttributes.mjs +24 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardContext.d.mts +9 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardContext.d.ts +9 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardContext.js +15 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardContext.mjs +8 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardProvider.d.mts +15 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardProvider.d.ts +15 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardProvider.js +479 -0
- package/drawer/virtual-keyboard-provider/DrawerVirtualKeyboardProvider.mjs +473 -0
- package/field/control/FieldControl.d.mts +32 -0
- package/field/control/FieldControl.js +13 -2
- package/field/control/FieldControl.mjs +143 -0
- package/field/description/FieldDescription.d.mts +16 -0
- package/field/description/FieldDescription.js +7 -1
- package/field/description/FieldDescription.mjs +55 -0
- package/field/error/FieldError.d.mts +30 -0
- package/field/error/FieldError.js +18 -12
- package/field/error/FieldError.mjs +124 -0
- package/field/error/FieldErrorDataAttributes.mjs +40 -0
- package/field/index.d.mts +8 -0
- package/field/index.mjs +1 -0
- package/field/index.parts.d.mts +8 -0
- package/field/index.parts.mjs +7 -0
- package/field/item/FieldItem.d.mts +23 -0
- package/field/item/FieldItem.js +5 -1
- package/field/item/FieldItem.mjs +55 -0
- package/field/item/FieldItemDataAttributes.d.mts +30 -0
- package/field/item/FieldItemDataAttributes.d.ts +30 -0
- package/field/item/FieldItemDataAttributes.js +37 -0
- package/field/item/FieldItemDataAttributes.mjs +31 -0
- package/field/label/FieldLabel.d.mts +25 -0
- package/field/label/FieldLabel.js +7 -1
- package/field/label/FieldLabel.mjs +70 -0
- package/field/root/FieldRoot.d.mts +120 -0
- package/field/root/FieldRoot.js +19 -17
- package/field/root/FieldRoot.mjs +171 -0
- package/field/root/useFieldValidation.d.mts +23 -0
- package/field/root/useFieldValidation.d.ts +4 -4
- package/field/root/useFieldValidation.js +79 -46
- package/field/root/useFieldValidation.mjs +276 -0
- package/field/utils/getCombinedFieldValidityData.d.mts +24 -0
- package/field/validity/FieldValidity.d.mts +38 -0
- package/field/validity/FieldValidity.mjs +39 -0
- package/fieldset/index.d.mts +3 -0
- package/fieldset/index.mjs +1 -0
- package/fieldset/index.parts.d.mts +2 -0
- package/fieldset/index.parts.mjs +2 -0
- package/fieldset/legend/FieldsetLegend.d.mts +20 -0
- package/fieldset/legend/FieldsetLegend.mjs +45 -0
- package/fieldset/root/FieldsetRoot.d.mts +20 -0
- package/fieldset/root/FieldsetRoot.js +5 -2
- package/fieldset/root/FieldsetRoot.mjs +46 -0
- package/fieldset/root/FieldsetRootContext.d.mts +9 -0
- package/fieldset/root/FieldsetRootContext.d.ts +1 -1
- package/fieldset/root/FieldsetRootContext.js +1 -5
- package/fieldset/root/FieldsetRootContext.mjs +13 -0
- package/floating-ui-react/components/FloatingDelayGroup.d.mts +55 -0
- package/floating-ui-react/components/FloatingDelayGroup.js +41 -4
- package/floating-ui-react/components/FloatingDelayGroup.mjs +192 -0
- package/floating-ui-react/components/FloatingFocusManager.d.mts +100 -0
- package/floating-ui-react/components/FloatingFocusManager.js +51 -22
- package/floating-ui-react/components/FloatingFocusManager.mjs +584 -0
- package/floating-ui-react/components/FloatingPortal.d.mts +55 -0
- package/floating-ui-react/components/FloatingPortal.js +4 -2
- package/floating-ui-react/components/FloatingPortal.mjs +211 -0
- package/floating-ui-react/components/FloatingRootStore.d.mts +68 -0
- package/floating-ui-react/components/FloatingRootStore.mjs +78 -0
- package/floating-ui-react/components/FloatingTree.d.mts +43 -0
- package/floating-ui-react/components/FloatingTree.mjs +91 -0
- package/floating-ui-react/components/FloatingTreeStore.d.mts +11 -0
- package/floating-ui-react/components/FloatingTreeStore.mjs +21 -0
- package/floating-ui-react/hooks/gridNavigation.d.mts +15 -0
- package/floating-ui-react/hooks/gridNavigation.d.ts +15 -0
- package/floating-ui-react/hooks/gridNavigation.js +39 -0
- package/floating-ui-react/hooks/gridNavigation.mjs +34 -0
- package/floating-ui-react/hooks/useClick.d.mts +49 -0
- package/floating-ui-react/hooks/useClick.mjs +122 -0
- package/floating-ui-react/hooks/useClientPoint.d.mts +22 -0
- package/floating-ui-react/hooks/useClientPoint.mjs +181 -0
- package/floating-ui-react/hooks/useDismiss.d.mts +77 -0
- package/floating-ui-react/hooks/useDismiss.d.ts +0 -7
- package/floating-ui-react/hooks/useDismiss.js +5 -11
- package/floating-ui-react/hooks/useDismiss.mjs +452 -0
- package/floating-ui-react/hooks/useFloating.d.mts +6 -0
- package/floating-ui-react/hooks/useFloating.mjs +123 -0
- package/floating-ui-react/hooks/useFloatingRootContext.d.mts +12 -0
- package/floating-ui-react/hooks/useFloatingRootContext.mjs +54 -0
- package/floating-ui-react/hooks/useFocus.d.mts +20 -0
- package/floating-ui-react/hooks/useFocus.js +2 -2
- package/floating-ui-react/hooks/useFocus.mjs +169 -0
- package/floating-ui-react/hooks/useHover.d.mts +35 -0
- package/floating-ui-react/hooks/useHover.mjs +330 -0
- package/floating-ui-react/hooks/useHoverFloatingInteraction.d.mts +24 -0
- package/floating-ui-react/hooks/useHoverFloatingInteraction.js +2 -2
- package/floating-ui-react/hooks/useHoverFloatingInteraction.mjs +165 -0
- package/floating-ui-react/hooks/useHoverInteractionSharedState.d.mts +30 -0
- package/floating-ui-react/hooks/useHoverInteractionSharedState.mjs +79 -0
- package/floating-ui-react/hooks/useHoverReferenceInteraction.d.mts +34 -0
- package/floating-ui-react/hooks/useHoverReferenceInteraction.mjs +314 -0
- package/floating-ui-react/hooks/useHoverShared.d.mts +29 -0
- package/floating-ui-react/hooks/useHoverShared.mjs +30 -0
- package/floating-ui-react/hooks/useListNavigation.d.mts +134 -0
- package/floating-ui-react/hooks/useListNavigation.d.ts +5 -9
- package/floating-ui-react/hooks/useListNavigation.js +25 -49
- package/floating-ui-react/hooks/useListNavigation.mjs +583 -0
- package/floating-ui-react/hooks/useSyncedFloatingRootContext.d.mts +20 -0
- package/floating-ui-react/hooks/useSyncedFloatingRootContext.mjs +61 -0
- package/floating-ui-react/hooks/useTypeahead.d.mts +62 -0
- package/floating-ui-react/hooks/useTypeahead.d.ts +10 -0
- package/floating-ui-react/hooks/useTypeahead.js +18 -4
- package/floating-ui-react/hooks/useTypeahead.mjs +168 -0
- package/floating-ui-react/index.d.mts +20 -0
- package/floating-ui-react/index.mjs +19 -0
- package/floating-ui-react/safePolygon.d.mts +8 -0
- package/floating-ui-react/safePolygon.mjs +248 -0
- package/floating-ui-react/types.d.mts +118 -0
- package/floating-ui-react/types.mjs +2 -0
- package/floating-ui-react/utils/composite.d.mts +51 -0
- package/floating-ui-react/utils/composite.d.ts +2 -3
- package/floating-ui-react/utils/composite.mjs +386 -0
- package/floating-ui-react/utils/createEventEmitter.d.mts +2 -0
- package/floating-ui-react/utils/element.d.mts +11 -0
- package/floating-ui-react/utils/element.js +2 -2
- package/floating-ui-react/utils/element.mjs +69 -0
- package/floating-ui-react/utils/enqueueFocus.d.mts +9 -0
- package/floating-ui-react/utils/event.js +4 -4
- package/floating-ui-react/utils/event.mjs +40 -0
- package/floating-ui-react/utils/getEmptyRootContext.d.mts +2 -0
- package/floating-ui-react/utils/getEmptyRootContext.mjs +15 -0
- package/floating-ui-react/utils/markOthers.d.mts +8 -0
- package/floating-ui-react/utils/markOthers.d.ts +0 -2
- package/floating-ui-react/utils/markOthers.js +10 -14
- package/floating-ui-react/utils/markOthers.mjs +157 -0
- package/floating-ui-react/utils/nodes.d.mts +4 -0
- package/floating-ui-react/utils/tabbable.mjs +196 -0
- package/floating-ui-react/utils.d.mts +5 -0
- package/floating-ui-react/utils.mjs +5 -0
- package/form/Form.d.mts +69 -0
- package/form/Form.d.ts +2 -2
- package/form/Form.js +3 -3
- package/form/Form.mjs +130 -0
- package/form/index.d.mts +2 -0
- package/form/index.mjs +1 -0
- package/index.d.mts +43 -0
- package/index.js +1 -1
- package/index.mjs +49 -0
- package/input/Input.d.mts +33 -0
- package/input/Input.mjs +19 -0
- package/input/index.d.mts +2 -0
- package/input/index.mjs +1 -0
- package/internals/composite/composite.d.mts +24 -0
- package/internals/composite/composite.d.ts +5 -9
- package/internals/composite/composite.js +0 -24
- package/internals/composite/composite.mjs +107 -0
- package/internals/composite/index.d.mts +13 -0
- package/internals/composite/index.d.ts +2 -0
- package/internals/composite/index.js +7 -0
- package/internals/composite/index.mjs +9 -0
- package/internals/composite/item/CompositeItem.d.mts +21 -0
- package/internals/composite/item/CompositeItem.mjs +34 -0
- package/internals/composite/item/useCompositeItem.d.mts +9 -0
- package/internals/composite/item/useCompositeItem.js +2 -2
- package/internals/composite/item/useCompositeItem.mjs +41 -0
- package/internals/composite/list/CompositeList.mjs +153 -0
- package/internals/composite/list/useCompositeListItem.js +2 -2
- package/internals/composite/list/useCompositeListItem.mjs +79 -0
- package/internals/composite/root/CompositeRoot.d.mts +36 -0
- package/internals/composite/root/CompositeRoot.d.ts +4 -5
- package/internals/composite/root/CompositeRoot.js +2 -6
- package/internals/composite/root/CompositeRoot.mjs +84 -0
- package/internals/composite/root/gridNavigation.d.mts +33 -0
- package/internals/composite/root/gridNavigation.d.ts +33 -0
- package/internals/composite/root/gridNavigation.js +65 -0
- package/internals/composite/root/gridNavigation.mjs +59 -0
- package/internals/composite/root/useCompositeRoot.d.mts +48 -0
- package/internals/composite/root/useCompositeRoot.d.ts +8 -9
- package/internals/composite/root/useCompositeRoot.js +158 -143
- package/internals/composite/root/useCompositeRoot.mjs +245 -0
- package/internals/constants.d.mts +34 -0
- package/internals/constants.d.ts +2 -2
- package/internals/createBaseUIEventDetails.d.mts +97 -0
- package/internals/createBaseUIEventDetails.mjs +52 -0
- package/internals/csp-context/index.d.mts +2 -0
- package/internals/csp-context/index.mjs +1 -0
- package/internals/direction-context/index.d.mts +2 -0
- package/internals/direction-context/index.mjs +1 -0
- package/internals/field-constants/constants.d.mts +19 -0
- package/internals/field-constants/constants.mjs +40 -0
- package/internals/field-constants/index.d.mts +1 -0
- package/internals/field-constants/index.mjs +1 -0
- package/internals/field-register-control/index.d.mts +3 -0
- package/internals/field-register-control/index.mjs +2 -0
- package/internals/field-register-control/useFieldControlRegistration.d.mts +20 -0
- package/internals/field-register-control/useFieldControlRegistration.d.ts +3 -1
- package/internals/field-register-control/useFieldControlRegistration.js +18 -14
- package/internals/field-register-control/useFieldControlRegistration.mjs +126 -0
- package/internals/field-register-control/useRegisterFieldControl.d.mts +2 -0
- package/internals/field-register-control/useRegisterFieldControl.d.ts +1 -1
- package/internals/field-register-control/useRegisterFieldControl.js +3 -2
- package/internals/field-register-control/useRegisterFieldControl.mjs +31 -0
- package/internals/field-root-context/FieldRootContext.d.mts +31 -0
- package/internals/field-root-context/FieldRootContext.js +4 -3
- package/internals/field-root-context/FieldRootContext.mjs +55 -0
- package/internals/field-root-context/index.d.mts +2 -0
- package/internals/field-root-context/index.mjs +1 -0
- package/internals/filter.js +2 -10
- package/internals/filter.mjs +48 -0
- package/internals/form-context/FormContext.d.mts +25 -0
- package/internals/form-context/FormContext.mjs +21 -0
- package/internals/form-context/index.d.mts +2 -0
- package/internals/form-context/index.mjs +1 -0
- package/internals/labelable-provider/LabelableContext.d.mts +27 -0
- package/internals/labelable-provider/LabelableContext.mjs +21 -0
- package/internals/labelable-provider/LabelableProvider.js +6 -4
- package/internals/labelable-provider/LabelableProvider.mjs +72 -0
- package/internals/labelable-provider/index.d.mts +6 -0
- package/internals/labelable-provider/index.mjs +5 -0
- package/internals/labelable-provider/useAriaLabelledBy.mjs +56 -0
- package/internals/labelable-provider/useLabel.mjs +73 -0
- package/internals/labelable-provider/useLabelableId.mjs +66 -0
- package/internals/reason-parts.d.mts +35 -0
- package/internals/reason-parts.d.ts +35 -35
- package/internals/reasons.d.mts +4 -0
- package/internals/reasons.mjs +2 -0
- package/internals/resolveValueLabel.mjs +108 -0
- package/internals/stateAttributesMapping.d.mts +14 -0
- package/internals/temporal/index.d.mts +2 -0
- package/internals/temporal/index.mjs +2 -0
- package/internals/temporal/temporal-adapter.d.mts +371 -0
- package/internals/temporal-adapter-date-fns/TemporalAdapterDateFns.d.mts +93 -0
- package/internals/temporal-adapter-date-fns/index.d.mts +1 -0
- package/internals/temporal-adapter-date-fns/index.mjs +1 -0
- package/internals/temporal-adapter-luxon/TemporalAdapterLuxon.d.mts +89 -0
- package/internals/temporal-adapter-luxon/index.d.mts +1 -0
- package/internals/temporal-adapter-luxon/index.mjs +1 -0
- package/internals/types.d.mts +70 -0
- package/internals/use-button/index.d.mts +1 -0
- package/internals/use-button/index.mjs +1 -0
- package/internals/use-button/useButton.mjs +181 -0
- package/internals/useAnimationsFinished.mjs +89 -0
- package/internals/useOpenChangeComplete.mjs +29 -0
- package/internals/usePressAndHold.d.mts +59 -0
- package/internals/usePressAndHold.d.ts +1 -0
- package/internals/usePressAndHold.js +15 -3
- package/internals/usePressAndHold.mjs +203 -0
- package/internals/useRenderElement.d.mts +59 -0
- package/internals/useRenderElement.mjs +169 -0
- package/menu/arrow/MenuArrow.d.mts +33 -0
- package/menu/arrow/MenuArrow.mjs +50 -0
- package/menu/arrow/MenuArrowDataAttributes.mjs +26 -0
- package/menu/backdrop/MenuBackdrop.d.mts +25 -0
- package/menu/backdrop/MenuBackdrop.mjs +55 -0
- package/menu/backdrop/MenuBackdropDataAttributes.mjs +20 -0
- package/menu/checkbox-item/MenuCheckboxItem.d.mts +73 -0
- package/menu/checkbox-item/MenuCheckboxItem.mjs +96 -0
- package/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.d.mts +39 -0
- package/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.mjs +57 -0
- package/menu/checkbox-item-indicator/MenuCheckboxItemIndicatorDataAttributes.mjs +24 -0
- package/menu/group/MenuGroup.d.mts +20 -0
- package/menu/group/MenuGroup.mjs +35 -0
- package/menu/group-label/MenuGroupLabel.d.mts +15 -0
- package/menu/group-label/MenuGroupLabel.mjs +40 -0
- package/menu/index.d.mts +20 -0
- package/menu/index.mjs +1 -0
- package/menu/index.parts.d.mts +21 -0
- package/menu/index.parts.mjs +21 -0
- package/menu/item/MenuItem.d.mts +48 -0
- package/menu/item/MenuItem.mjs +62 -0
- package/menu/item/useMenuItem.d.mts +66 -0
- package/menu/item/useMenuItem.d.ts +1 -1
- package/menu/item/useMenuItem.js +3 -1
- package/menu/item/useMenuItem.mjs +60 -0
- package/menu/item/useMenuItemCommonProps.d.mts +46 -0
- package/menu/item/useMenuItemCommonProps.js +5 -4
- package/menu/item/useMenuItemCommonProps.mjs +81 -0
- package/menu/link-item/MenuLinkItem.d.mts +34 -0
- package/menu/link-item/MenuLinkItem.mjs +70 -0
- package/menu/popup/MenuPopup.d.mts +59 -0
- package/menu/popup/MenuPopup.js +2 -0
- package/menu/popup/MenuPopup.mjs +127 -0
- package/menu/popup/MenuPopupDataAttributes.mjs +35 -0
- package/menu/portal/MenuPortal.d.mts +22 -0
- package/menu/portal/MenuPortal.mjs +37 -0
- package/menu/positioner/MenuPositioner.d.mts +41 -0
- package/menu/positioner/MenuPositioner.js +1 -1
- package/menu/positioner/MenuPositioner.mjs +260 -0
- package/menu/positioner/MenuPositionerContext.d.mts +6 -0
- package/menu/positioner/MenuPositionerDataAttributes.mjs +26 -0
- package/menu/radio-group/MenuRadioGroup.d.mts +52 -0
- package/menu/radio-group/MenuRadioGroup.mjs +67 -0
- package/menu/radio-group/MenuRadioGroupContext.d.mts +9 -0
- package/menu/radio-item/MenuRadioItem.d.mts +56 -0
- package/menu/radio-item/MenuRadioItem.mjs +92 -0
- package/menu/radio-item-indicator/MenuRadioItemIndicator.d.mts +39 -0
- package/menu/radio-item-indicator/MenuRadioItemIndicator.mjs +57 -0
- package/menu/radio-item-indicator/MenuRadioItemIndicatorDataAttributes.mjs +24 -0
- package/menu/root/MenuRoot.d.mts +135 -0
- package/menu/root/MenuRoot.d.ts +2 -3
- package/menu/root/MenuRoot.js +5 -35
- package/menu/root/MenuRoot.mjs +383 -0
- package/menu/root/MenuRootContext.d.mts +10 -0
- package/menu/store/MenuHandle.d.mts +28 -0
- package/menu/store/MenuHandle.mjs +48 -0
- package/menu/store/MenuStore.d.mts +409 -0
- package/menu/store/MenuStore.d.ts +21 -19
- package/menu/store/MenuStore.js +2 -0
- package/menu/store/MenuStore.mjs +142 -0
- package/menu/submenu-root/MenuSubmenuRoot.d.mts +35 -0
- package/menu/submenu-root/MenuSubmenuRoot.d.ts +6 -1
- package/menu/submenu-root/MenuSubmenuRoot.mjs +27 -0
- package/menu/submenu-root/MenuSubmenuRootContext.d.mts +7 -0
- package/menu/submenu-trigger/MenuSubmenuTrigger.d.mts +62 -0
- package/menu/submenu-trigger/MenuSubmenuTrigger.js +19 -14
- package/menu/submenu-trigger/MenuSubmenuTrigger.mjs +162 -0
- package/menu/submenu-trigger/MenuSubmenuTriggerDataAttributes.mjs +16 -0
- package/menu/trigger/MenuTrigger.d.mts +62 -0
- package/menu/trigger/MenuTrigger.d.ts +1 -1
- package/menu/trigger/MenuTrigger.mjs +293 -0
- package/menu/trigger/MenuTriggerDataAttributes.mjs +12 -0
- package/menu/utils/stateAttributesMapping.d.mts +4 -0
- package/menu/utils/stateAttributesMapping.mjs +15 -0
- package/menu/utils/types.d.mts +7 -0
- package/menu/viewport/MenuViewport.d.mts +35 -0
- package/menu/viewport/MenuViewport.d.ts +23 -18
- package/menu/viewport/MenuViewport.mjs +61 -0
- package/menu/viewport/MenuViewportDataAttributes.d.mts +26 -0
- package/menu/viewport/MenuViewportDataAttributes.d.ts +1 -1
- package/menu/viewport/MenuViewportDataAttributes.js +1 -1
- package/menu/viewport/MenuViewportDataAttributes.mjs +27 -0
- package/menubar/Menubar.d.mts +50 -0
- package/menubar/Menubar.js +3 -1
- package/menubar/Menubar.mjs +110 -0
- package/menubar/MenubarContext.d.mts +16 -0
- package/menubar/index.d.mts +2 -0
- package/menubar/index.mjs +1 -0
- package/merge-props/index.d.mts +1 -0
- package/merge-props/index.mjs +1 -0
- package/merge-props/mergeProps.d.mts +55 -0
- package/meter/index.d.mts +6 -0
- package/meter/index.mjs +1 -0
- package/meter/index.parts.d.mts +5 -0
- package/meter/index.parts.mjs +5 -0
- package/meter/indicator/MeterIndicator.d.mts +16 -0
- package/meter/indicator/MeterIndicator.js +4 -4
- package/meter/indicator/MeterIndicator.mjs +34 -0
- package/meter/label/MeterLabel.d.mts +16 -0
- package/meter/label/MeterLabel.mjs +34 -0
- package/meter/root/MeterRoot.d.mts +47 -0
- package/meter/root/MeterRoot.js +17 -6
- package/meter/root/MeterRoot.mjs +80 -0
- package/meter/root/MeterRootContext.d.mts +14 -0
- package/meter/root/MeterRootContext.d.ts +4 -0
- package/meter/track/MeterTrack.d.mts +16 -0
- package/meter/track/MeterTrack.mjs +24 -0
- package/meter/value/MeterValue.d.mts +18 -0
- package/meter/value/MeterValue.js +1 -1
- package/meter/value/MeterValue.mjs +33 -0
- package/navigation-menu/arrow/NavigationMenuArrow.d.mts +33 -0
- package/navigation-menu/arrow/NavigationMenuArrow.js +4 -2
- package/navigation-menu/arrow/NavigationMenuArrow.mjs +51 -0
- package/navigation-menu/arrow/NavigationMenuArrowDataAttributes.mjs +26 -0
- package/navigation-menu/backdrop/NavigationMenuBackdrop.d.mts +25 -0
- package/navigation-menu/backdrop/NavigationMenuBackdrop.mjs +50 -0
- package/navigation-menu/backdrop/NavigationMenuBackdropDataAttributes.mjs +20 -0
- package/navigation-menu/content/NavigationMenuContent.d.mts +37 -0
- package/navigation-menu/content/NavigationMenuContent.mjs +165 -0
- package/navigation-menu/content/NavigationMenuContentDataAttributes.d.mts +23 -0
- package/navigation-menu/content/NavigationMenuContentDataAttributes.d.ts +1 -0
- package/navigation-menu/content/NavigationMenuContentDataAttributes.js +1 -0
- package/navigation-menu/content/NavigationMenuContentDataAttributes.mjs +25 -0
- package/navigation-menu/icon/NavigationMenuIcon.d.mts +19 -0
- package/navigation-menu/icon/NavigationMenuIcon.mjs +43 -0
- package/navigation-menu/icon/NavigationMenuIconDataAttributes.d.mts +6 -0
- package/navigation-menu/icon/NavigationMenuIconDataAttributes.d.ts +6 -0
- package/navigation-menu/icon/NavigationMenuIconDataAttributes.js +14 -0
- package/navigation-menu/icon/NavigationMenuIconDataAttributes.mjs +8 -0
- package/navigation-menu/index.d.mts +14 -0
- package/navigation-menu/index.mjs +1 -0
- package/navigation-menu/index.parts.d.mts +13 -0
- package/navigation-menu/index.parts.mjs +13 -0
- package/navigation-menu/item/NavigationMenuItem.d.mts +22 -0
- package/navigation-menu/item/NavigationMenuItem.mjs +37 -0
- package/navigation-menu/link/NavigationMenuLink.d.mts +31 -0
- package/navigation-menu/link/NavigationMenuLink.mjs +70 -0
- package/navigation-menu/list/NavigationMenuDismissContext.d.mts +4 -0
- package/navigation-menu/list/NavigationMenuList.d.mts +20 -0
- package/navigation-menu/list/NavigationMenuList.js +5 -7
- package/navigation-menu/list/NavigationMenuList.mjs +105 -0
- package/navigation-menu/popup/NavigationMenuPopup.d.mts +38 -0
- package/navigation-menu/popup/NavigationMenuPopup.js +3 -4
- package/navigation-menu/popup/NavigationMenuPopup.mjs +71 -0
- package/navigation-menu/popup/NavigationMenuPopupDataAttributes.d.mts +32 -0
- package/navigation-menu/popup/NavigationMenuPopupDataAttributes.d.ts +4 -0
- package/navigation-menu/popup/NavigationMenuPopupDataAttributes.js +4 -0
- package/navigation-menu/popup/NavigationMenuPopupDataAttributes.mjs +34 -0
- package/navigation-menu/portal/NavigationMenuPortal.d.mts +26 -0
- package/navigation-menu/portal/NavigationMenuPortal.mjs +36 -0
- package/navigation-menu/positioner/NavigationMenuPositioner.d.mts +37 -0
- package/navigation-menu/positioner/NavigationMenuPositioner.js +15 -2
- package/navigation-menu/positioner/NavigationMenuPositioner.mjs +153 -0
- package/navigation-menu/positioner/NavigationMenuPositionerContext.d.mts +6 -0
- package/navigation-menu/positioner/NavigationMenuPositionerDataAttributes.mjs +30 -0
- package/navigation-menu/root/NavigationMenuRoot.d.mts +80 -0
- package/navigation-menu/root/NavigationMenuRoot.js +44 -21
- package/navigation-menu/root/NavigationMenuRoot.mjs +262 -0
- package/navigation-menu/root/NavigationMenuRootContext.d.mts +47 -0
- package/navigation-menu/trigger/NavigationMenuTrigger.d.mts +21 -0
- package/navigation-menu/trigger/NavigationMenuTrigger.js +14 -16
- package/navigation-menu/trigger/NavigationMenuTrigger.mjs +689 -0
- package/navigation-menu/trigger/NavigationMenuTriggerDataAttributes.mjs +12 -0
- package/navigation-menu/utils/isOutsideMenuEvent.d.mts +16 -0
- package/navigation-menu/utils/isOutsideMenuEvent.mjs +20 -0
- package/navigation-menu/utils/setSharedFixedSize.d.mts +1 -0
- package/navigation-menu/utils/setSharedFixedSize.d.ts +1 -0
- package/navigation-menu/utils/setSharedFixedSize.js +14 -0
- package/navigation-menu/utils/setSharedFixedSize.mjs +8 -0
- package/navigation-menu/viewport/NavigationMenuViewport.d.mts +15 -0
- package/navigation-menu/viewport/NavigationMenuViewport.mjs +116 -0
- package/number-field/decrement/NumberFieldDecrement.d.mts +16 -0
- package/number-field/decrement/NumberFieldDecrement.d.ts +2 -2
- package/number-field/decrement/NumberFieldDecrement.js +3 -71
- package/number-field/decrement/NumberFieldDecrement.mjs +14 -0
- package/number-field/group/NumberFieldGroup.d.mts +16 -0
- package/number-field/group/NumberFieldGroup.mjs +34 -0
- package/number-field/increment/NumberFieldIncrement.d.mts +16 -0
- package/number-field/increment/NumberFieldIncrement.d.ts +1 -1
- package/number-field/increment/NumberFieldIncrement.js +3 -71
- package/number-field/increment/NumberFieldIncrement.mjs +14 -0
- package/number-field/index.d.mts +8 -0
- package/number-field/index.mjs +1 -0
- package/number-field/index.parts.d.mts +7 -0
- package/number-field/index.parts.mjs +7 -0
- package/number-field/input/NumberFieldInput.d.mts +23 -0
- package/number-field/input/NumberFieldInput.d.ts +2 -1
- package/number-field/input/NumberFieldInput.js +153 -90
- package/number-field/input/NumberFieldInput.mjs +384 -0
- package/number-field/root/NumberFieldRoot.d.mts +175 -0
- package/number-field/root/NumberFieldRoot.d.ts +8 -7
- package/number-field/root/NumberFieldRoot.js +56 -45
- package/number-field/root/NumberFieldRoot.mjs +401 -0
- package/number-field/root/NumberFieldRootContext.d.mts +38 -0
- package/number-field/root/NumberFieldRootContext.d.ts +4 -4
- package/number-field/root/useNumberFieldButton.d.mts +21 -0
- package/number-field/root/useNumberFieldButton.d.ts +2 -7
- package/number-field/root/useNumberFieldButton.js +34 -21
- package/number-field/root/useNumberFieldButton.mjs +130 -0
- package/number-field/root/useNumberFieldStepperButton.d.mts +10 -0
- package/number-field/root/useNumberFieldStepperButton.d.ts +10 -0
- package/number-field/root/useNumberFieldStepperButton.js +86 -0
- package/number-field/root/useNumberFieldStepperButton.mjs +81 -0
- package/number-field/scrub-area/NumberFieldScrubArea.d.mts +33 -0
- package/number-field/scrub-area/NumberFieldScrubArea.js +39 -27
- package/number-field/scrub-area/NumberFieldScrubArea.mjs +290 -0
- package/number-field/scrub-area/NumberFieldScrubAreaContext.d.mts +9 -0
- package/number-field/scrub-area/NumberFieldScrubAreaContext.d.ts +0 -4
- package/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.d.mts +19 -0
- package/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.js +10 -8
- package/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.mjs +57 -0
- package/number-field/utils/constants.d.mts +3 -0
- package/number-field/utils/constants.d.ts +1 -2
- package/number-field/utils/constants.js +2 -3
- package/number-field/utils/constants.mjs +3 -0
- package/number-field/utils/getViewportRect.d.mts +6 -0
- package/number-field/utils/getViewportRect.d.ts +4 -4
- package/number-field/utils/getViewportRect.js +15 -15
- package/number-field/utils/getViewportRect.mjs +30 -0
- package/number-field/utils/parse.d.mts +32 -0
- package/number-field/utils/parse.d.ts +2 -1
- package/number-field/utils/parse.js +36 -11
- package/number-field/utils/parse.mjs +240 -0
- package/number-field/utils/stateAttributesMapping.d.mts +3 -0
- package/number-field/utils/stateAttributesMapping.mjs +6 -0
- package/number-field/utils/validate.d.mts +27 -0
- package/number-field/utils/validate.d.ts +10 -3
- package/number-field/utils/validate.js +71 -44
- package/number-field/utils/validate.mjs +101 -0
- package/otp-field/index.d.mts +3 -0
- package/otp-field/index.d.ts +1 -1
- package/otp-field/index.js +3 -3
- package/otp-field/index.mjs +1 -0
- package/otp-field/index.parts.d.mts +3 -0
- package/otp-field/index.parts.mjs +3 -0
- package/otp-field/input/OTPFieldInput.d.mts +29 -0
- package/otp-field/input/OTPFieldInput.js +3 -3
- package/otp-field/input/OTPFieldInput.mjs +246 -0
- package/otp-field/root/OTPFieldRoot.d.mts +168 -0
- package/otp-field/root/OTPFieldRoot.js +4 -11
- package/otp-field/root/OTPFieldRoot.mjs +357 -0
- package/otp-field/root/OTPFieldRootContext.d.mts +31 -0
- package/otp-field/utils/stateAttributesMapping.d.mts +5 -0
- package/otp-field/utils/stateAttributesMapping.mjs +11 -0
- package/package.json +328 -325
- package/popover/arrow/PopoverArrow.d.mts +33 -0
- package/popover/arrow/PopoverArrow.mjs +50 -0
- package/popover/arrow/PopoverArrowDataAttributes.mjs +26 -0
- package/popover/backdrop/PopoverBackdrop.d.mts +25 -0
- package/popover/backdrop/PopoverBackdrop.mjs +54 -0
- package/popover/backdrop/PopoverBackdropDataAttributes.mjs +20 -0
- package/popover/close/PopoverClose.d.mts +15 -0
- package/popover/close/PopoverClose.mjs +48 -0
- package/popover/description/PopoverDescription.d.mts +15 -0
- package/popover/description/PopoverDescription.mjs +34 -0
- package/popover/index.d.mts +12 -0
- package/popover/index.mjs +1 -0
- package/popover/index.parts.d.mts +12 -0
- package/popover/index.parts.mjs +12 -0
- package/popover/popup/PopoverPopup.d.mts +62 -0
- package/popover/popup/PopoverPopup.d.ts +4 -2
- package/popover/popup/PopoverPopup.js +1 -11
- package/popover/popup/PopoverPopup.mjs +125 -0
- package/popover/popup/PopoverPopupDataAttributes.mjs +35 -0
- package/popover/portal/PopoverPortal.d.mts +22 -0
- package/popover/portal/PopoverPortal.mjs +37 -0
- package/popover/positioner/PopoverPositioner.d.mts +37 -0
- package/popover/positioner/PopoverPositioner.mjs +135 -0
- package/popover/positioner/PopoverPositionerContext.d.mts +13 -0
- package/popover/positioner/PopoverPositionerDataAttributes.mjs +26 -0
- package/popover/root/PopoverRoot.d.mts +92 -0
- package/popover/root/PopoverRoot.d.ts +2 -3
- package/popover/root/PopoverRoot.js +1 -11
- package/popover/root/PopoverRoot.mjs +124 -0
- package/popover/root/PopoverRootContext.d.mts +8 -0
- package/popover/store/PopoverHandle.d.mts +28 -0
- package/popover/store/PopoverHandle.mjs +49 -0
- package/popover/store/PopoverStore.d.mts +393 -0
- package/popover/store/PopoverStore.d.ts +13 -13
- package/popover/store/PopoverStore.js +2 -4
- package/popover/store/PopoverStore.mjs +119 -0
- package/popover/title/PopoverTitle.d.mts +15 -0
- package/popover/title/PopoverTitle.mjs +34 -0
- package/popover/trigger/PopoverTrigger.d.mts +69 -0
- package/popover/trigger/PopoverTrigger.d.ts +2 -2
- package/popover/trigger/PopoverTrigger.js +1 -1
- package/popover/trigger/PopoverTrigger.mjs +143 -0
- package/popover/trigger/PopoverTriggerDataAttributes.mjs +12 -0
- package/popover/viewport/PopoverViewport.d.mts +35 -0
- package/popover/viewport/PopoverViewport.d.ts +8 -7
- package/popover/viewport/PopoverViewport.mjs +61 -0
- package/popover/viewport/PopoverViewportDataAttributes.d.mts +26 -0
- package/popover/viewport/PopoverViewportDataAttributes.d.ts +1 -1
- package/popover/viewport/PopoverViewportDataAttributes.js +1 -1
- package/popover/viewport/PopoverViewportDataAttributes.mjs +27 -0
- package/preview-card/arrow/PreviewCardArrow.d.mts +33 -0
- package/preview-card/arrow/PreviewCardArrow.mjs +48 -0
- package/preview-card/arrow/PreviewCardArrowDataAttributes.mjs +26 -0
- package/preview-card/backdrop/PreviewCardBackdrop.d.mts +25 -0
- package/preview-card/backdrop/PreviewCardBackdrop.mjs +50 -0
- package/preview-card/backdrop/PreviewCardBackdropDataAttributes.mjs +20 -0
- package/preview-card/index.d.mts +9 -0
- package/preview-card/index.mjs +1 -0
- package/preview-card/index.parts.d.mts +9 -0
- package/preview-card/index.parts.mjs +9 -0
- package/preview-card/popup/PreviewCardPopup.d.mts +38 -0
- package/preview-card/popup/PreviewCardPopup.mjs +69 -0
- package/preview-card/popup/PreviewCardPopupDataAttributes.mjs +30 -0
- package/preview-card/portal/PreviewCardPortal.d.mts +22 -0
- package/preview-card/portal/PreviewCardPortal.mjs +35 -0
- package/preview-card/positioner/PreviewCardPositioner.d.mts +37 -0
- package/preview-card/positioner/PreviewCardPositioner.mjs +100 -0
- package/preview-card/positioner/PreviewCardPositionerContext.d.mts +5 -0
- package/preview-card/positioner/PreviewCardPositionerDataAttributes.mjs +26 -0
- package/preview-card/root/PreviewCardContext.d.mts +6 -0
- package/preview-card/root/PreviewCardRoot.d.mts +77 -0
- package/preview-card/root/PreviewCardRoot.js +4 -12
- package/preview-card/root/PreviewCardRoot.mjs +108 -0
- package/preview-card/store/PreviewCardHandle.d.mts +33 -0
- package/preview-card/store/PreviewCardHandle.mjs +55 -0
- package/preview-card/store/PreviewCardStore.d.mts +364 -0
- package/preview-card/store/PreviewCardStore.d.ts +3 -3
- package/preview-card/store/PreviewCardStore.js +12 -37
- package/preview-card/store/PreviewCardStore.mjs +61 -0
- package/preview-card/trigger/PreviewCardTrigger.d.mts +43 -0
- package/preview-card/trigger/PreviewCardTrigger.d.ts +1 -1
- package/preview-card/trigger/PreviewCardTrigger.mjs +87 -0
- package/preview-card/trigger/PreviewCardTriggerDataAttributes.mjs +8 -0
- package/preview-card/viewport/PreviewCardViewport.d.mts +35 -0
- package/preview-card/viewport/PreviewCardViewport.d.ts +8 -7
- package/preview-card/viewport/PreviewCardViewport.mjs +57 -0
- package/preview-card/viewport/PreviewCardViewportDataAttributes.d.mts +26 -0
- package/preview-card/viewport/PreviewCardViewportDataAttributes.d.ts +1 -1
- package/preview-card/viewport/PreviewCardViewportDataAttributes.js +1 -1
- package/preview-card/viewport/PreviewCardViewportDataAttributes.mjs +27 -0
- package/progress/index.d.mts +6 -0
- package/progress/index.mjs +1 -0
- package/progress/index.parts.d.mts +6 -0
- package/progress/index.parts.mjs +5 -0
- package/progress/indicator/ProgressIndicator.d.mts +16 -0
- package/progress/indicator/ProgressIndicator.mjs +43 -0
- package/progress/label/ProgressLabel.d.mts +16 -0
- package/progress/label/ProgressLabel.mjs +38 -0
- package/progress/root/ProgressRoot.d.mts +54 -0
- package/progress/root/ProgressRoot.mjs +83 -0
- package/progress/root/ProgressRootContext.d.mts +28 -0
- package/progress/root/stateAttributesMapping.d.mts +3 -0
- package/progress/root/stateAttributesMapping.mjs +21 -0
- package/progress/track/ProgressTrack.d.mts +16 -0
- package/progress/track/ProgressTrack.mjs +31 -0
- package/progress/value/ProgressValue.d.mts +18 -0
- package/progress/value/ProgressValue.mjs +39 -0
- package/radio/index.d.mts +3 -0
- package/radio/index.mjs +1 -0
- package/radio/index.parts.d.mts +2 -0
- package/radio/index.parts.mjs +2 -0
- package/radio/indicator/RadioIndicator.d.mts +28 -0
- package/radio/indicator/RadioIndicator.d.ts +2 -5
- package/radio/indicator/RadioIndicator.mjs +57 -0
- package/radio/indicator/RadioIndicatorDataAttributes.mjs +56 -0
- package/radio/root/RadioRoot.d.mts +76 -0
- package/radio/root/RadioRoot.d.ts +20 -0
- package/radio/root/RadioRoot.js +4 -7
- package/radio/root/RadioRoot.mjs +232 -0
- package/radio/root/RadioRootContext.d.mts +5 -0
- package/radio/root/RadioRootContext.d.ts +4 -8
- package/radio/utils/stateAttributesMapping.d.mts +6 -0
- package/radio/utils/stateAttributesMapping.d.ts +1 -1
- package/radio/utils/stateAttributesMapping.mjs +17 -0
- package/radio-group/RadioGroup.d.mts +78 -0
- package/radio-group/RadioGroup.js +13 -9
- package/radio-group/RadioGroup.mjs +206 -0
- package/radio-group/RadioGroupContext.d.mts +20 -0
- package/radio-group/index.d.mts +2 -0
- package/radio-group/index.mjs +1 -0
- package/scroll-area/content/ScrollAreaContent.d.mts +16 -0
- package/scroll-area/content/ScrollAreaContent.js +10 -3
- package/scroll-area/content/ScrollAreaContent.mjs +70 -0
- package/scroll-area/content/ScrollAreaContentDataAttributes.d.mts +30 -0
- package/scroll-area/content/ScrollAreaContentDataAttributes.d.ts +30 -0
- package/scroll-area/content/ScrollAreaContentDataAttributes.js +37 -0
- package/scroll-area/content/ScrollAreaContentDataAttributes.mjs +31 -0
- package/scroll-area/corner/ScrollAreaCorner.d.mts +15 -0
- package/scroll-area/corner/ScrollAreaCorner.mjs +42 -0
- package/scroll-area/index.d.mts +7 -0
- package/scroll-area/index.mjs +1 -0
- package/scroll-area/index.parts.d.mts +6 -0
- package/scroll-area/index.parts.mjs +6 -0
- package/scroll-area/root/ScrollAreaRoot.d.mts +84 -0
- package/scroll-area/root/ScrollAreaRoot.js +18 -5
- package/scroll-area/root/ScrollAreaRoot.mjs +274 -0
- package/scroll-area/root/ScrollAreaRootContext.d.mts +42 -0
- package/scroll-area/root/stateAttributes.d.mts +3 -0
- package/scroll-area/root/stateAttributes.mjs +22 -0
- package/scroll-area/scrollbar/ScrollAreaScrollbar.d.mts +40 -0
- package/scroll-area/scrollbar/ScrollAreaScrollbar.js +20 -2
- package/scroll-area/scrollbar/ScrollAreaScrollbar.mjs +213 -0
- package/scroll-area/thumb/ScrollAreaThumb.d.mts +24 -0
- package/scroll-area/thumb/ScrollAreaThumb.d.ts +5 -1
- package/scroll-area/thumb/ScrollAreaThumb.js +14 -9
- package/scroll-area/thumb/ScrollAreaThumb.mjs +71 -0
- package/scroll-area/thumb/ScrollAreaThumbDataAttributes.d.mts +11 -0
- package/scroll-area/thumb/ScrollAreaThumbDataAttributes.d.ts +4 -0
- package/scroll-area/thumb/ScrollAreaThumbDataAttributes.js +4 -0
- package/scroll-area/thumb/ScrollAreaThumbDataAttributes.mjs +12 -0
- package/scroll-area/viewport/ScrollAreaViewport.d.mts +16 -0
- package/scroll-area/viewport/ScrollAreaViewport.js +6 -5
- package/scroll-area/viewport/ScrollAreaViewport.mjs +372 -0
- package/select/arrow/SelectArrow.d.mts +33 -0
- package/select/arrow/SelectArrow.js +1 -1
- package/select/arrow/SelectArrow.mjs +61 -0
- package/select/arrow/SelectArrowDataAttributes.mjs +26 -0
- package/select/backdrop/SelectBackdrop.d.mts +25 -0
- package/select/backdrop/SelectBackdrop.d.ts +1 -1
- package/select/backdrop/SelectBackdrop.js +1 -1
- package/select/backdrop/SelectBackdrop.mjs +53 -0
- package/select/backdrop/SelectBackdropDataAttributes.mjs +20 -0
- package/select/group/SelectGroup.d.mts +15 -0
- package/select/group/SelectGroup.mjs +38 -0
- package/select/group-label/SelectGroupLabel.d.mts +15 -0
- package/select/group-label/SelectGroupLabel.mjs +38 -0
- package/select/icon/SelectIcon.d.mts +20 -0
- package/select/icon/SelectIcon.mjs +41 -0
- package/select/icon/SelectIconDataAttributes.mjs +8 -0
- package/select/index.d.mts +19 -0
- package/select/index.mjs +1 -0
- package/select/index.parts.d.mts +19 -0
- package/select/index.parts.mjs +19 -0
- package/select/item/SelectItem.d.mts +46 -0
- package/select/item/SelectItem.js +15 -5
- package/select/item/SelectItem.mjs +217 -0
- package/select/item-indicator/SelectItemIndicator.d.mts +31 -0
- package/select/item-indicator/SelectItemIndicator.mjs +76 -0
- package/select/item-indicator/SelectItemIndicatorDataAttributes.mjs +12 -0
- package/select/item-text/SelectItemText.d.mts +15 -0
- package/select/item-text/SelectItemText.mjs +48 -0
- package/select/label/SelectLabel.d.mts +16 -0
- package/select/label/SelectLabel.mjs +50 -0
- package/select/list/SelectList.d.mts +15 -0
- package/select/list/SelectList.mjs +57 -0
- package/select/popup/SelectPopup.d.mts +47 -0
- package/select/popup/SelectPopup.js +18 -17
- package/select/popup/SelectPopup.mjs +437 -0
- package/select/popup/SelectPopupDataAttributes.mjs +30 -0
- package/select/popup/utils.d.mts +7 -0
- package/select/popup/utils.d.ts +4 -4
- package/select/portal/SelectPortal.d.mts +16 -0
- package/select/portal/SelectPortal.mjs +36 -0
- package/select/positioner/SelectPositioner.d.mts +39 -0
- package/select/positioner/SelectPositioner.mjs +202 -0
- package/select/positioner/SelectPositionerContext.d.mts +11 -0
- package/select/positioner/SelectPositionerDataAttributes.mjs +26 -0
- package/select/root/SelectRoot.d.mts +156 -0
- package/select/root/SelectRoot.d.ts +2 -3
- package/select/root/SelectRoot.js +44 -53
- package/select/root/SelectRoot.mjs +477 -0
- package/select/root/SelectRootContext.d.mts +41 -0
- package/select/root/SelectRootContext.d.ts +0 -3
- package/select/scroll-arrow/SelectScrollArrow.d.mts +38 -0
- package/select/scroll-arrow/SelectScrollArrow.js +5 -2
- package/select/scroll-arrow/SelectScrollArrow.mjs +167 -0
- package/select/scroll-down-arrow/SelectScrollDownArrow.d.mts +21 -0
- package/select/scroll-down-arrow/SelectScrollDownArrow.mjs +19 -0
- package/select/scroll-down-arrow/SelectScrollDownArrowDataAttributes.mjs +26 -0
- package/select/scroll-up-arrow/SelectScrollUpArrow.d.mts +21 -0
- package/select/scroll-up-arrow/SelectScrollUpArrow.mjs +19 -0
- package/select/scroll-up-arrow/SelectScrollUpArrowDataAttributes.mjs +26 -0
- package/select/store.d.mts +72 -0
- package/select/store.d.ts +3 -3
- package/select/store.js +4 -6
- package/select/store.mjs +63 -0
- package/select/trigger/SelectTrigger.d.mts +44 -0
- package/select/trigger/SelectTrigger.js +8 -18
- package/select/trigger/SelectTrigger.mjs +213 -0
- package/select/trigger/SelectTriggerDataAttributes.mjs +57 -0
- package/select/value/SelectValue.d.mts +40 -0
- package/select/value/SelectValue.mjs +64 -0
- package/separator/Separator.d.mts +26 -0
- package/separator/Separator.mjs +33 -0
- package/separator/index.d.mts +2 -0
- package/separator/index.mjs +1 -0
- package/slider/control/SliderControl.d.mts +16 -0
- package/slider/control/SliderControl.js +59 -31
- package/slider/control/SliderControl.mjs +437 -0
- package/slider/index.d.mts +8 -0
- package/slider/index.mjs +1 -0
- package/slider/index.parts.d.mts +7 -0
- package/slider/index.parts.mjs +7 -0
- package/slider/indicator/SliderIndicator.d.mts +16 -0
- package/slider/indicator/SliderIndicator.mjs +88 -0
- package/slider/label/SliderLabel.d.mts +16 -0
- package/slider/label/SliderLabel.mjs +59 -0
- package/slider/root/SliderRoot.d.mts +190 -0
- package/slider/root/SliderRoot.d.ts +3 -2
- package/slider/root/SliderRoot.js +12 -18
- package/slider/root/SliderRoot.mjs +294 -0
- package/slider/root/SliderRootContext.d.mts +93 -0
- package/slider/root/SliderRootContext.d.ts +4 -3
- package/slider/root/stateAttributesMapping.d.mts +3 -0
- package/slider/root/stateAttributesMapping.mjs +10 -0
- package/slider/thumb/SliderThumb.d.mts +74 -0
- package/slider/thumb/SliderThumb.d.ts +10 -1
- package/slider/thumb/SliderThumb.js +12 -2
- package/slider/thumb/SliderThumb.mjs +397 -0
- package/slider/track/SliderTrack.d.mts +16 -0
- package/slider/track/SliderTrack.mjs +36 -0
- package/slider/utils/getMidpoint.d.mts +2 -0
- package/slider/utils/getPushedThumbValues.mjs +50 -0
- package/slider/utils/getSliderValue.js +1 -1
- package/slider/utils/getSliderValue.mjs +12 -0
- package/slider/utils/replaceArrayItemAtIndex.mjs +6 -0
- package/slider/utils/resolveThumbCollision.d.mts +30 -0
- package/slider/utils/resolveThumbCollision.mjs +128 -0
- package/slider/utils/valueArrayToPercentages.mjs +9 -0
- package/slider/value/SliderValue.d.mts +18 -0
- package/slider/value/SliderValue.mjs +59 -0
- package/switch/index.d.mts +3 -0
- package/switch/index.mjs +1 -0
- package/switch/index.parts.d.mts +2 -0
- package/switch/index.parts.mjs +2 -0
- package/switch/root/SwitchRoot.d.mts +101 -0
- package/switch/root/SwitchRoot.d.ts +3 -1
- package/switch/root/SwitchRoot.js +6 -10
- package/switch/root/SwitchRoot.mjs +216 -0
- package/switch/root/SwitchRootContext.d.mts +5 -0
- package/switch/stateAttributesMapping.d.mts +3 -0
- package/switch/stateAttributesMapping.mjs +15 -0
- package/switch/thumb/SwitchThumb.d.mts +16 -0
- package/switch/thumb/SwitchThumb.mjs +29 -0
- package/tabs/index.d.mts +6 -0
- package/tabs/index.mjs +1 -0
- package/tabs/index.parts.d.mts +5 -0
- package/tabs/index.parts.mjs +5 -0
- package/tabs/indicator/TabsIndicator.d.mts +37 -0
- package/tabs/indicator/TabsIndicator.js +1 -1
- package/tabs/indicator/TabsIndicator.mjs +144 -0
- package/tabs/list/TabsList.d.mts +29 -0
- package/tabs/list/TabsList.js +2 -1
- package/tabs/list/TabsList.mjs +117 -0
- package/tabs/list/TabsListContext.d.mts +14 -0
- package/tabs/panel/TabsPanel.d.mts +42 -0
- package/tabs/panel/TabsPanel.mjs +110 -0
- package/tabs/panel/TabsPanelDataAttributes.mjs +30 -0
- package/tabs/root/TabsRoot.d.mts +71 -0
- package/tabs/root/TabsRoot.js +12 -6
- package/tabs/root/TabsRoot.mjs +323 -0
- package/tabs/root/TabsRootContext.d.mts +43 -0
- package/tabs/root/stateAttributesMapping.d.mts +3 -0
- package/tabs/root/stateAttributesMapping.mjs +6 -0
- package/tabs/tab/TabsTab.d.mts +70 -0
- package/tabs/tab/TabsTab.d.ts +4 -0
- package/tabs/tab/TabsTab.js +8 -4
- package/tabs/tab/TabsTab.mjs +186 -0
- package/toast/action/ToastAction.d.mts +20 -0
- package/toast/action/ToastAction.mjs +50 -0
- package/toast/arrow/ToastArrow.d.mts +29 -0
- package/toast/arrow/ToastArrow.mjs +42 -0
- package/toast/arrow/ToastArrowDataAttributes.mjs +18 -0
- package/toast/close/ToastClose.d.mts +20 -0
- package/toast/close/ToastClose.mjs +58 -0
- package/toast/content/ToastContent.d.mts +24 -0
- package/toast/content/ToastContent.mjs +61 -0
- package/toast/createToastManager.d.mts +16 -0
- package/toast/description/ToastDescription.d.mts +21 -0
- package/toast/description/ToastDescription.mjs +58 -0
- package/toast/index.d.mts +14 -0
- package/toast/index.mjs +1 -0
- package/toast/index.parts.d.mts +13 -0
- package/toast/index.parts.mjs +13 -0
- package/toast/portal/ToastPortal.d.mts +15 -0
- package/toast/portal/ToastPortal.mjs +12 -0
- package/toast/positioner/ToastPositioner.d.mts +45 -0
- package/toast/positioner/ToastPositioner.mjs +95 -0
- package/toast/positioner/ToastPositionerContext.d.mts +5 -0
- package/toast/positioner/ToastPositionerDataAttributes.mjs +18 -0
- package/toast/provider/ToastProvider.d.mts +33 -0
- package/toast/provider/ToastProvider.d.ts +2 -1
- package/toast/provider/ToastProvider.js +10 -4
- package/toast/provider/ToastProvider.mjs +69 -0
- package/toast/provider/ToastProviderContext.d.mts +5 -0
- package/toast/root/ToastRoot.d.mts +54 -0
- package/toast/root/ToastRoot.js +6 -2
- package/toast/root/ToastRoot.mjs +507 -0
- package/toast/root/ToastRootContext.d.mts +18 -0
- package/toast/root/ToastRootDataAttributes.mjs +37 -0
- package/toast/store.d.mts +71 -0
- package/toast/store.d.ts +5 -0
- package/toast/store.js +77 -62
- package/toast/store.mjs +430 -0
- package/toast/title/ToastTitle.d.mts +20 -0
- package/toast/title/ToastTitle.mjs +57 -0
- package/toast/useToastManager.d.mts +104 -0
- package/toast/useToastManager.mjs +22 -0
- package/toast/utils/focusVisible.d.mts +1 -0
- package/toast/utils/focusVisible.mjs +1 -0
- package/toast/utils/resolvePromiseOptions.d.mts +2 -0
- package/toast/viewport/ToastViewport.d.mts +20 -0
- package/toast/viewport/ToastViewport.js +24 -9
- package/toast/viewport/ToastViewport.mjs +265 -0
- package/toggle/Toggle.d.mts +58 -0
- package/toggle/Toggle.js +15 -1
- package/toggle/Toggle.mjs +120 -0
- package/toggle/ToggleDataAttributes.d.mts +10 -0
- package/toggle/ToggleDataAttributes.d.ts +4 -0
- package/toggle/ToggleDataAttributes.js +4 -0
- package/toggle/ToggleDataAttributes.mjs +11 -0
- package/toggle/index.d.mts +2 -0
- package/toggle/index.mjs +1 -0
- package/toggle-group/ToggleGroup.d.mts +77 -0
- package/toggle-group/ToggleGroup.js +3 -1
- package/toggle-group/ToggleGroup.mjs +110 -0
- package/toggle-group/ToggleGroupContext.d.mts +17 -0
- package/toggle-group/index.d.mts +2 -0
- package/toggle-group/index.mjs +1 -0
- package/toolbar/button/ToolbarButton.d.mts +36 -0
- package/toolbar/button/ToolbarButton.js +12 -7
- package/toolbar/button/ToolbarButton.mjs +70 -0
- package/toolbar/group/ToolbarGroup.d.mts +22 -0
- package/toolbar/group/ToolbarGroup.mjs +47 -0
- package/toolbar/index.d.mts +8 -0
- package/toolbar/index.mjs +1 -0
- package/toolbar/index.parts.d.mts +7 -0
- package/toolbar/index.parts.mjs +6 -0
- package/toolbar/input/ToolbarInput.d.mts +37 -0
- package/toolbar/input/ToolbarInput.js +4 -9
- package/toolbar/input/ToolbarInput.mjs +71 -0
- package/toolbar/link/ToolbarLink.d.mts +21 -0
- package/toolbar/link/ToolbarLink.js +1 -0
- package/toolbar/link/ToolbarLink.mjs +43 -0
- package/toolbar/root/ToolbarRoot.d.mts +44 -0
- package/toolbar/root/ToolbarRoot.d.ts +1 -0
- package/toolbar/root/ToolbarRoot.js +3 -1
- package/toolbar/root/ToolbarRoot.mjs +65 -0
- package/toolbar/root/ToolbarRootContext.d.mts +12 -0
- package/toolbar/separator/ToolbarSeparator.d.mts +22 -0
- package/toolbar/separator/ToolbarSeparator.d.ts +8 -2
- package/toolbar/separator/ToolbarSeparator.mjs +25 -0
- package/toolbar/separator/ToolbarSeparatorDataAttributes.d.mts +7 -0
- package/toolbar/separator/ToolbarSeparatorDataAttributes.d.ts +1 -1
- package/toolbar/separator/ToolbarSeparatorDataAttributes.js +1 -1
- package/toolbar/separator/ToolbarSeparatorDataAttributes.mjs +8 -0
- package/tooltip/arrow/TooltipArrow.d.mts +37 -0
- package/tooltip/arrow/TooltipArrow.mjs +50 -0
- package/tooltip/arrow/TooltipArrowDataAttributes.mjs +31 -0
- package/tooltip/index.d.mts +9 -0
- package/tooltip/index.mjs +1 -0
- package/tooltip/index.parts.d.mts +9 -0
- package/tooltip/index.parts.mjs +9 -0
- package/tooltip/popup/TooltipPopup.d.mts +38 -0
- package/tooltip/popup/TooltipPopup.mjs +71 -0
- package/tooltip/popup/TooltipPopupDataAttributes.mjs +35 -0
- package/tooltip/portal/TooltipPortal.d.mts +22 -0
- package/tooltip/portal/TooltipPortal.mjs +35 -0
- package/tooltip/positioner/TooltipPositioner.d.mts +44 -0
- package/tooltip/positioner/TooltipPositioner.mjs +86 -0
- package/tooltip/positioner/TooltipPositionerContext.d.mts +5 -0
- package/tooltip/positioner/TooltipPositionerDataAttributes.mjs +26 -0
- package/tooltip/provider/TooltipProvider.mjs +37 -0
- package/tooltip/root/TooltipRoot.d.mts +92 -0
- package/tooltip/root/TooltipRoot.js +4 -12
- package/tooltip/root/TooltipRoot.mjs +143 -0
- package/tooltip/root/TooltipRootContext.d.mts +6 -0
- package/tooltip/store/TooltipHandle.d.mts +33 -0
- package/tooltip/store/TooltipHandle.mjs +55 -0
- package/tooltip/store/TooltipStore.d.mts +378 -0
- package/tooltip/store/TooltipStore.d.ts +10 -10
- package/tooltip/store/TooltipStore.js +4 -34
- package/tooltip/store/TooltipStore.mjs +66 -0
- package/tooltip/trigger/TooltipTrigger.d.mts +55 -0
- package/tooltip/trigger/TooltipTrigger.d.ts +1 -1
- package/tooltip/trigger/TooltipTrigger.mjs +253 -0
- package/tooltip/trigger/TooltipTriggerDataAttributes.mjs +12 -0
- package/tooltip/viewport/TooltipViewport.d.mts +35 -0
- package/tooltip/viewport/TooltipViewport.d.ts +8 -7
- package/tooltip/viewport/TooltipViewport.mjs +57 -0
- package/tooltip/viewport/TooltipViewportDataAttributes.d.mts +26 -0
- package/tooltip/viewport/TooltipViewportDataAttributes.d.ts +1 -1
- package/tooltip/viewport/TooltipViewportDataAttributes.js +1 -1
- package/tooltip/viewport/TooltipViewportDataAttributes.mjs +27 -0
- package/types/index.d.mts +16 -0
- package/use-render/index.d.mts +2 -0
- package/use-render/index.mjs +2 -0
- package/use-render/useRender.d.mts +70 -0
- package/use-render/useRender.mjs +9 -0
- package/utils/FloatingPortalLite.d.mts +14 -0
- package/utils/FloatingPortalLite.mjs +38 -0
- package/utils/FocusGuard.js +6 -5
- package/utils/FocusGuard.mjs +37 -0
- package/utils/adaptiveOriginMiddleware.d.mts +6 -0
- package/utils/collapsibleOpenStateMapping.d.mts +11 -0
- package/utils/collapsibleOpenStateMapping.mjs +26 -0
- package/utils/formatNumber.d.mts +4 -0
- package/utils/formatNumber.d.ts +0 -1
- package/utils/formatNumber.js +2 -8
- package/utils/formatNumber.mjs +32 -0
- package/utils/getDisabledMountTransitionStyles.d.mts +4 -0
- package/utils/getDisabledMountTransitionStyles.mjs +5 -0
- package/utils/getPseudoElementBounds.js +4 -3
- package/utils/getPseudoElementBounds.mjs +37 -0
- package/utils/hideMiddleware.js +2 -1
- package/utils/hideMiddleware.mjs +20 -0
- package/utils/popupStateMapping.mjs +91 -0
- package/utils/popups/index.d.mts +4 -0
- package/utils/popups/index.mjs +4 -0
- package/utils/popups/inlineRect.js +3 -3
- package/utils/popups/inlineRect.mjs +191 -0
- package/utils/popups/popupStoreUtils.d.mts +109 -0
- package/utils/popups/popupStoreUtils.d.ts +48 -7
- package/utils/popups/popupStoreUtils.js +145 -13
- package/utils/popups/popupStoreUtils.mjs +374 -0
- package/utils/popups/store.d.mts +129 -0
- package/utils/popups/store.mjs +90 -0
- package/utils/popups/useTriggerFocusGuards.d.mts +28 -0
- package/utils/popups/useTriggerFocusGuards.mjs +54 -0
- package/utils/scrollEdges.mjs +25 -0
- package/utils/scrollable.d.mts +4 -0
- package/utils/scrollable.d.ts +2 -2
- package/utils/scrollable.js +23 -10
- package/utils/scrollable.mjs +45 -0
- package/utils/stringifyLocale.d.mts +1 -0
- package/utils/stringifyLocale.d.ts +1 -0
- package/utils/stringifyLocale.js +15 -0
- package/utils/stringifyLocale.mjs +9 -0
- package/utils/useAnchorPositioning.d.mts +242 -0
- package/utils/useAnchorPositioning.d.ts +0 -2
- package/utils/useAnchorPositioning.js +2 -2
- package/utils/useAnchorPositioning.mjs +406 -0
- package/utils/useIsHydrating.mjs +19 -0
- package/utils/useOpenInteractionType.js +2 -2
- package/utils/useOpenInteractionType.mjs +46 -0
- package/utils/usePopupAutoResize.d.mts +32 -0
- package/utils/usePopupAutoResize.d.ts +0 -4
- package/utils/usePopupAutoResize.js +4 -34
- package/utils/usePopupAutoResize.mjs +150 -0
- package/utils/usePopupViewport.d.mts +58 -0
- package/utils/usePopupViewport.js +5 -0
- package/utils/usePopupViewport.mjs +256 -0
- package/utils/usePositioner.d.mts +23 -0
- package/utils/usePositioner.mjs +34 -0
- package/utils/useRegisteredLabelId.mjs +14 -0
- package/utils/useSwipeDismiss.d.mts +109 -0
- package/utils/useSwipeDismiss.d.ts +3 -2
- package/utils/useSwipeDismiss.js +181 -157
- package/utils/useSwipeDismiss.mjs +971 -0
- package/esm/accordion/header/AccordionHeader.d.ts +0 -16
- package/esm/accordion/header/AccordionHeader.js +0 -32
- package/esm/accordion/index.d.ts +0 -6
- package/esm/accordion/index.js +0 -1
- package/esm/accordion/index.parts.d.ts +0 -5
- package/esm/accordion/index.parts.js +0 -5
- package/esm/accordion/item/AccordionItem.d.ts +0 -55
- package/esm/accordion/item/AccordionItem.js +0 -107
- package/esm/accordion/item/AccordionItemContext.d.ts +0 -10
- package/esm/accordion/item/stateAttributesMapping.d.ts +0 -3
- package/esm/accordion/item/stateAttributesMapping.js +0 -13
- package/esm/accordion/panel/AccordionPanel.d.ts +0 -23
- package/esm/accordion/panel/AccordionPanel.js +0 -122
- package/esm/accordion/panel/AccordionPanelDataAttributes.js +0 -29
- package/esm/accordion/root/AccordionRoot.d.ts +0 -92
- package/esm/accordion/root/AccordionRoot.js +0 -126
- package/esm/accordion/root/AccordionRootContext.d.ts +0 -18
- package/esm/accordion/trigger/AccordionTrigger.d.ts +0 -16
- package/esm/accordion/trigger/AccordionTrigger.js +0 -165
- package/esm/alert-dialog/handle.d.ts +0 -15
- package/esm/alert-dialog/handle.js +0 -24
- package/esm/alert-dialog/index.d.ts +0 -10
- package/esm/alert-dialog/index.js +0 -1
- package/esm/alert-dialog/index.parts.d.ts +0 -10
- package/esm/alert-dialog/index.parts.js +0 -10
- package/esm/alert-dialog/root/AlertDialogRoot.d.ts +0 -44
- package/esm/alert-dialog/root/AlertDialogRoot.js +0 -12
- package/esm/alert-dialog/trigger/AlertDialogTrigger.d.ts +0 -25
- package/esm/alert-dialog/trigger/AlertDialogTrigger.js +0 -10
- package/esm/alert-dialog/trigger/AlertDialogTriggerDataAttributes.js +0 -12
- package/esm/autocomplete/clear/AutocompleteClearDataAttributes.d.ts +0 -1
- package/esm/autocomplete/clear/AutocompleteClearDataAttributes.js +0 -1
- package/esm/autocomplete/index.d.ts +0 -22
- package/esm/autocomplete/index.js +0 -1
- package/esm/autocomplete/index.parts.d.ts +0 -23
- package/esm/autocomplete/index.parts.js +0 -23
- package/esm/autocomplete/input-group/AutocompleteInputGroup.d.ts +0 -41
- package/esm/autocomplete/input-group/AutocompleteInputGroup.js +0 -10
- package/esm/autocomplete/item/AutocompleteItem.d.ts +0 -48
- package/esm/autocomplete/item/AutocompleteItem.js +0 -10
- package/esm/autocomplete/item/AutocompleteItemDataAttributes.js +0 -12
- package/esm/autocomplete/root/AutocompleteRoot.d.ts +0 -121
- package/esm/autocomplete/root/AutocompleteRoot.js +0 -105
- package/esm/autocomplete/trigger/AutocompleteTrigger.d.ts +0 -43
- package/esm/autocomplete/trigger/AutocompleteTrigger.js +0 -10
- package/esm/autocomplete/trigger/AutocompleteTriggerDataAttributes.js +0 -57
- package/esm/autocomplete/value/AutocompleteValue.js +0 -29
- package/esm/avatar/fallback/AvatarFallback.d.ts +0 -21
- package/esm/avatar/fallback/AvatarFallback.js +0 -46
- package/esm/avatar/image/AvatarImage.d.ts +0 -28
- package/esm/avatar/image/AvatarImage.js +0 -80
- package/esm/avatar/image/AvatarImageDataAttributes.js +0 -12
- package/esm/avatar/image/useImageLoadingStatus.d.ts +0 -11
- package/esm/avatar/image/useImageLoadingStatus.js +0 -42
- package/esm/avatar/index.d.ts +0 -4
- package/esm/avatar/index.js +0 -1
- package/esm/avatar/index.parts.d.ts +0 -3
- package/esm/avatar/index.parts.js +0 -3
- package/esm/avatar/root/AvatarRoot.d.ts +0 -21
- package/esm/avatar/root/AvatarRoot.js +0 -41
- package/esm/avatar/root/AvatarRootContext.d.ts +0 -8
- package/esm/button/Button.d.ts +0 -26
- package/esm/button/Button.js +0 -39
- package/esm/button/index.d.ts +0 -2
- package/esm/button/index.js +0 -1
- package/esm/checkbox/index.d.ts +0 -3
- package/esm/checkbox/index.js +0 -1
- package/esm/checkbox/index.parts.d.ts +0 -2
- package/esm/checkbox/index.parts.js +0 -2
- package/esm/checkbox/indicator/CheckboxIndicator.d.ts +0 -28
- package/esm/checkbox/indicator/CheckboxIndicator.js +0 -65
- package/esm/checkbox/indicator/CheckboxIndicatorDataAttributes.js +0 -60
- package/esm/checkbox/root/CheckboxRoot.d.ts +0 -117
- package/esm/checkbox/root/CheckboxRoot.js +0 -340
- package/esm/checkbox/root/CheckboxRootContext.d.ts +0 -5
- package/esm/checkbox/utils/useStateAttributesMapping.d.ts +0 -3
- package/esm/checkbox/utils/useStateAttributesMapping.js +0 -24
- package/esm/checkbox-group/CheckboxGroup.d.ts +0 -53
- package/esm/checkbox-group/CheckboxGroup.js +0 -131
- package/esm/checkbox-group/CheckboxGroupContext.d.ts +0 -18
- package/esm/checkbox-group/index.d.ts +0 -2
- package/esm/checkbox-group/index.js +0 -1
- package/esm/checkbox-group/useCheckboxGroupParent.d.ts +0 -26
- package/esm/checkbox-group/useCheckboxGroupParent.js +0 -78
- package/esm/collapsible/index.d.ts +0 -4
- package/esm/collapsible/index.js +0 -1
- package/esm/collapsible/index.parts.d.ts +0 -3
- package/esm/collapsible/index.parts.js +0 -3
- package/esm/collapsible/panel/CollapsiblePanel.d.ts +0 -38
- package/esm/collapsible/panel/CollapsiblePanel.js +0 -111
- package/esm/collapsible/panel/CollapsiblePanelDataAttributes.js +0 -20
- package/esm/collapsible/panel/useCollapsiblePanel.d.ts +0 -47
- package/esm/collapsible/panel/useCollapsiblePanel.js +0 -382
- package/esm/collapsible/root/CollapsibleRoot.d.ts +0 -45
- package/esm/collapsible/root/CollapsibleRoot.js +0 -55
- package/esm/collapsible/root/CollapsibleRootContext.d.ts +0 -9
- package/esm/collapsible/root/stateAttributesMapping.d.ts +0 -3
- package/esm/collapsible/root/stateAttributesMapping.js +0 -6
- package/esm/collapsible/root/useCollapsibleRoot.d.ts +0 -51
- package/esm/collapsible/root/useCollapsibleRoot.js +0 -51
- package/esm/collapsible/trigger/CollapsibleTrigger.d.ts +0 -16
- package/esm/collapsible/trigger/CollapsibleTrigger.js +0 -57
- package/esm/combobox/arrow/ComboboxArrow.d.ts +0 -33
- package/esm/combobox/arrow/ComboboxArrow.js +0 -50
- package/esm/combobox/arrow/ComboboxArrowDataAttributes.js +0 -26
- package/esm/combobox/backdrop/ComboboxBackdrop.d.ts +0 -25
- package/esm/combobox/backdrop/ComboboxBackdrop.js +0 -50
- package/esm/combobox/backdrop/ComboboxBackdropDataAttributes.js +0 -20
- package/esm/combobox/chip/ComboboxChip.d.ts +0 -20
- package/esm/combobox/chip/ComboboxChip.js +0 -121
- package/esm/combobox/chip/ComboboxChipContext.js +0 -13
- package/esm/combobox/chip-remove/ComboboxChipRemove.d.ts +0 -20
- package/esm/combobox/chip-remove/ComboboxChipRemove.js +0 -106
- package/esm/combobox/chips/ComboboxChips.d.ts +0 -15
- package/esm/combobox/chips/ComboboxChips.js +0 -60
- package/esm/combobox/clear/ComboboxClear.d.ts +0 -44
- package/esm/combobox/clear/ComboboxClear.js +0 -124
- package/esm/combobox/clear/ComboboxClearDataAttributes.js +0 -24
- package/esm/combobox/collection/ComboboxCollection.js +0 -31
- package/esm/combobox/empty/ComboboxEmpty.d.ts +0 -21
- package/esm/combobox/empty/ComboboxEmpty.js +0 -44
- package/esm/combobox/group/ComboboxGroup.d.ts +0 -21
- package/esm/combobox/group/ComboboxGroup.js +0 -48
- package/esm/combobox/group-label/ComboboxGroupLabel.d.ts +0 -15
- package/esm/combobox/group-label/ComboboxGroupLabel.js +0 -41
- package/esm/combobox/icon/ComboboxIcon.d.ts +0 -15
- package/esm/combobox/icon/ComboboxIcon.js +0 -28
- package/esm/combobox/index.d.ts +0 -27
- package/esm/combobox/index.js +0 -1
- package/esm/combobox/index.parts.d.ts +0 -28
- package/esm/combobox/index.parts.js +0 -28
- package/esm/combobox/input/ComboboxInput.d.ts +0 -40
- package/esm/combobox/input/ComboboxInput.js +0 -414
- package/esm/combobox/input/ComboboxInputDataAttributes.js +0 -57
- package/esm/combobox/input-group/ComboboxInputGroup.d.ts +0 -42
- package/esm/combobox/input-group/ComboboxInputGroup.js +0 -72
- package/esm/combobox/item/ComboboxItem.d.ts +0 -49
- package/esm/combobox/item/ComboboxItem.js +0 -175
- package/esm/combobox/item-indicator/ComboboxItemIndicator.d.ts +0 -32
- package/esm/combobox/item-indicator/ComboboxItemIndicator.js +0 -76
- package/esm/combobox/item-indicator/ComboboxItemIndicatorDataAttributes.js +0 -12
- package/esm/combobox/label/ComboboxLabel.d.ts +0 -16
- package/esm/combobox/label/ComboboxLabel.js +0 -64
- package/esm/combobox/list/ComboboxList.d.ts +0 -22
- package/esm/combobox/list/ComboboxList.js +0 -112
- package/esm/combobox/popup/ComboboxPopup.d.ts +0 -64
- package/esm/combobox/popup/ComboboxPopup.js +0 -111
- package/esm/combobox/popup/ComboboxPopupDataAttributes.js +0 -39
- package/esm/combobox/portal/ComboboxPortal.d.ts +0 -22
- package/esm/combobox/portal/ComboboxPortal.js +0 -38
- package/esm/combobox/positioner/ComboboxPositioner.d.ts +0 -37
- package/esm/combobox/positioner/ComboboxPositioner.js +0 -110
- package/esm/combobox/positioner/ComboboxPositionerContext.d.ts +0 -6
- package/esm/combobox/positioner/ComboboxPositionerDataAttributes.js +0 -30
- package/esm/combobox/root/AriaCombobox.d.ts +0 -255
- package/esm/combobox/root/AriaCombobox.js +0 -1063
- package/esm/combobox/root/ComboboxRoot.d.ts +0 -103
- package/esm/combobox/root/ComboboxRoot.js +0 -30
- package/esm/combobox/root/ComboboxRootContext.d.ts +0 -16
- package/esm/combobox/root/ComboboxRootContext.js +0 -38
- package/esm/combobox/root/utils/index.d.ts +0 -13
- package/esm/combobox/root/utils/index.js +0 -39
- package/esm/combobox/root/utils/useFilter.d.ts +0 -21
- package/esm/combobox/root/utils/useFilter.js +0 -31
- package/esm/combobox/root/utils/useFilteredItems.js +0 -9
- package/esm/combobox/row/ComboboxRow.d.ts +0 -16
- package/esm/combobox/row/ComboboxRow.js +0 -33
- package/esm/combobox/status/ComboboxStatus.d.ts +0 -20
- package/esm/combobox/status/ComboboxStatus.js +0 -37
- package/esm/combobox/store.d.ts +0 -121
- package/esm/combobox/store.js +0 -71
- package/esm/combobox/trigger/ComboboxTrigger.d.ts +0 -44
- package/esm/combobox/trigger/ComboboxTrigger.js +0 -230
- package/esm/combobox/trigger/ComboboxTriggerDataAttributes.js +0 -61
- package/esm/combobox/utils/ComboboxInternalDismissButton.js +0 -37
- package/esm/combobox/utils/handleInputPress.d.ts +0 -5
- package/esm/combobox/utils/handleInputPress.js +0 -22
- package/esm/combobox/utils/stateAttributesMapping.d.ts +0 -14
- package/esm/combobox/utils/stateAttributesMapping.js +0 -12
- package/esm/combobox/utils/useInitialLiveRegionTextMutation.js +0 -55
- package/esm/combobox/value/ComboboxValue.js +0 -44
- package/esm/context-menu/index.d.ts +0 -19
- package/esm/context-menu/index.js +0 -1
- package/esm/context-menu/index.parts.d.ts +0 -19
- package/esm/context-menu/index.parts.js +0 -19
- package/esm/context-menu/root/ContextMenuRoot.d.ts +0 -27
- package/esm/context-menu/root/ContextMenuRoot.js +0 -53
- package/esm/context-menu/root/ContextMenuRootContext.d.ts +0 -23
- package/esm/context-menu/trigger/ContextMenuTrigger.d.ts +0 -20
- package/esm/context-menu/trigger/ContextMenuTrigger.js +0 -167
- package/esm/context-menu/trigger/ContextMenuTriggerDataAttributes.js +0 -12
- package/esm/csp-provider/CSPProvider.js +0 -27
- package/esm/csp-provider/index.d.ts +0 -2
- package/esm/csp-provider/index.js +0 -1
- package/esm/csp-provider/index.parts.d.ts +0 -1
- package/esm/csp-provider/index.parts.js +0 -1
- package/esm/dialog/backdrop/DialogBackdrop.d.ts +0 -31
- package/esm/dialog/backdrop/DialogBackdrop.js +0 -53
- package/esm/dialog/backdrop/DialogBackdropDataAttributes.js +0 -20
- package/esm/dialog/close/DialogClose.d.ts +0 -20
- package/esm/dialog/close/DialogClose.js +0 -52
- package/esm/dialog/description/DialogDescription.d.ts +0 -15
- package/esm/dialog/description/DialogDescription.js +0 -33
- package/esm/dialog/index.d.ts +0 -10
- package/esm/dialog/index.js +0 -1
- package/esm/dialog/index.parts.d.ts +0 -10
- package/esm/dialog/index.parts.js +0 -10
- package/esm/dialog/popup/DialogPopup.d.ts +0 -55
- package/esm/dialog/popup/DialogPopup.js +0 -121
- package/esm/dialog/popup/DialogPopupDataAttributes.js +0 -28
- package/esm/dialog/portal/DialogPortal.d.ts +0 -26
- package/esm/dialog/portal/DialogPortal.js +0 -45
- package/esm/dialog/root/DialogRoot.d.ts +0 -95
- package/esm/dialog/root/DialogRoot.js +0 -16
- package/esm/dialog/root/DialogRootContext.d.ts +0 -9
- package/esm/dialog/root/useDialogRoot.d.ts +0 -22
- package/esm/dialog/root/useDialogRoot.js +0 -130
- package/esm/dialog/root/useRenderDialogRoot.d.ts +0 -4
- package/esm/dialog/root/useRenderDialogRoot.js +0 -90
- package/esm/dialog/store/DialogHandle.d.ts +0 -40
- package/esm/dialog/store/DialogHandle.js +0 -67
- package/esm/dialog/store/DialogStore.d.ts +0 -385
- package/esm/dialog/store/DialogStore.js +0 -78
- package/esm/dialog/title/DialogTitle.d.ts +0 -15
- package/esm/dialog/title/DialogTitle.js +0 -33
- package/esm/dialog/trigger/DialogTrigger.d.ts +0 -43
- package/esm/dialog/trigger/DialogTrigger.js +0 -80
- package/esm/dialog/trigger/DialogTriggerDataAttributes.js +0 -12
- package/esm/dialog/viewport/DialogViewport.d.ts +0 -33
- package/esm/dialog/viewport/DialogViewport.js +0 -72
- package/esm/dialog/viewport/DialogViewportDataAttributes.js +0 -28
- package/esm/direction-provider/DirectionProvider.d.ts +0 -21
- package/esm/direction-provider/DirectionProvider.js +0 -24
- package/esm/direction-provider/index.d.ts +0 -2
- package/esm/direction-provider/index.js +0 -1
- package/esm/direction-provider/index.parts.d.ts +0 -3
- package/esm/direction-provider/index.parts.js +0 -2
- package/esm/drawer/backdrop/DrawerBackdrop.d.ts +0 -31
- package/esm/drawer/backdrop/DrawerBackdrop.js +0 -58
- package/esm/drawer/backdrop/DrawerBackdropDataAttributes.js +0 -20
- package/esm/drawer/close/DrawerClose.d.ts +0 -23
- package/esm/drawer/close/DrawerClose.js +0 -10
- package/esm/drawer/content/DrawerContent.d.ts +0 -15
- package/esm/drawer/content/DrawerContent.js +0 -29
- package/esm/drawer/description/DrawerDescription.d.ts +0 -18
- package/esm/drawer/description/DrawerDescription.js +0 -10
- package/esm/drawer/indent/DrawerIndent.d.ts +0 -21
- package/esm/drawer/indent/DrawerIndent.js +0 -83
- package/esm/drawer/indent-background/DrawerIndentBackground.d.ts +0 -20
- package/esm/drawer/indent-background/DrawerIndentBackground.js +0 -44
- package/esm/drawer/index.d.ts +0 -15
- package/esm/drawer/index.js +0 -1
- package/esm/drawer/index.parts.d.ts +0 -15
- package/esm/drawer/index.parts.js +0 -15
- package/esm/drawer/popup/DrawerPopup.d.ts +0 -72
- package/esm/drawer/popup/DrawerPopup.js +0 -361
- package/esm/drawer/popup/DrawerPopupDataAttributes.js +0 -45
- package/esm/drawer/portal/DrawerPortal.d.ts +0 -29
- package/esm/drawer/portal/DrawerPortal.js +0 -11
- package/esm/drawer/provider/DrawerProvider.js +0 -95
- package/esm/drawer/root/DrawerRoot.d.ts +0 -126
- package/esm/drawer/root/DrawerRoot.js +0 -238
- package/esm/drawer/root/DrawerRootContext.d.ts +0 -89
- package/esm/drawer/root/useDrawerSnapPoints.d.ts +0 -15
- package/esm/drawer/root/useDrawerSnapPoints.js +0 -149
- package/esm/drawer/swipe-area/DrawerSwipeArea.d.ts +0 -45
- package/esm/drawer/swipe-area/DrawerSwipeArea.js +0 -387
- package/esm/drawer/swipe-area/DrawerSwipeAreaDataAttributes.js +0 -25
- package/esm/drawer/title/DrawerTitle.d.ts +0 -18
- package/esm/drawer/title/DrawerTitle.js +0 -10
- package/esm/drawer/trigger/DrawerTrigger.d.ts +0 -43
- package/esm/drawer/trigger/DrawerTrigger.js +0 -10
- package/esm/drawer/viewport/DrawerViewport.d.ts +0 -33
- package/esm/drawer/viewport/DrawerViewport.js +0 -1000
- package/esm/drawer/viewport/DrawerViewportDataAttributes.js +0 -24
- package/esm/field/control/FieldControl.d.ts +0 -32
- package/esm/field/control/FieldControl.js +0 -132
- package/esm/field/description/FieldDescription.d.ts +0 -16
- package/esm/field/description/FieldDescription.js +0 -49
- package/esm/field/error/FieldError.d.ts +0 -30
- package/esm/field/error/FieldError.js +0 -118
- package/esm/field/error/FieldErrorDataAttributes.js +0 -40
- package/esm/field/index.d.ts +0 -8
- package/esm/field/index.js +0 -1
- package/esm/field/index.parts.d.ts +0 -8
- package/esm/field/index.parts.js +0 -7
- package/esm/field/item/FieldItem.d.ts +0 -23
- package/esm/field/item/FieldItem.js +0 -51
- package/esm/field/label/FieldLabel.d.ts +0 -25
- package/esm/field/label/FieldLabel.js +0 -64
- package/esm/field/root/FieldRoot.d.ts +0 -120
- package/esm/field/root/FieldRoot.js +0 -169
- package/esm/field/root/useFieldValidation.d.ts +0 -23
- package/esm/field/root/useFieldValidation.js +0 -243
- package/esm/field/utils/getCombinedFieldValidityData.d.ts +0 -24
- package/esm/field/validity/FieldValidity.d.ts +0 -38
- package/esm/field/validity/FieldValidity.js +0 -39
- package/esm/fieldset/index.d.ts +0 -3
- package/esm/fieldset/index.js +0 -1
- package/esm/fieldset/index.parts.d.ts +0 -2
- package/esm/fieldset/index.parts.js +0 -2
- package/esm/fieldset/legend/FieldsetLegend.d.ts +0 -20
- package/esm/fieldset/legend/FieldsetLegend.js +0 -45
- package/esm/fieldset/root/FieldsetRoot.d.ts +0 -20
- package/esm/fieldset/root/FieldsetRoot.js +0 -43
- package/esm/fieldset/root/FieldsetRootContext.d.ts +0 -9
- package/esm/fieldset/root/FieldsetRootContext.js +0 -17
- package/esm/floating-ui-react/components/FloatingDelayGroup.d.ts +0 -55
- package/esm/floating-ui-react/components/FloatingDelayGroup.js +0 -155
- package/esm/floating-ui-react/components/FloatingFocusManager.d.ts +0 -100
- package/esm/floating-ui-react/components/FloatingFocusManager.js +0 -555
- package/esm/floating-ui-react/components/FloatingPortal.d.ts +0 -55
- package/esm/floating-ui-react/components/FloatingPortal.js +0 -209
- package/esm/floating-ui-react/components/FloatingRootStore.d.ts +0 -68
- package/esm/floating-ui-react/components/FloatingRootStore.js +0 -78
- package/esm/floating-ui-react/components/FloatingTree.d.ts +0 -43
- package/esm/floating-ui-react/components/FloatingTree.js +0 -91
- package/esm/floating-ui-react/components/FloatingTreeStore.d.ts +0 -11
- package/esm/floating-ui-react/components/FloatingTreeStore.js +0 -21
- package/esm/floating-ui-react/hooks/useClick.d.ts +0 -49
- package/esm/floating-ui-react/hooks/useClick.js +0 -122
- package/esm/floating-ui-react/hooks/useClientPoint.d.ts +0 -22
- package/esm/floating-ui-react/hooks/useClientPoint.js +0 -181
- package/esm/floating-ui-react/hooks/useDismiss.d.ts +0 -84
- package/esm/floating-ui-react/hooks/useDismiss.js +0 -458
- package/esm/floating-ui-react/hooks/useFloating.d.ts +0 -6
- package/esm/floating-ui-react/hooks/useFloating.js +0 -123
- package/esm/floating-ui-react/hooks/useFloatingRootContext.d.ts +0 -12
- package/esm/floating-ui-react/hooks/useFloatingRootContext.js +0 -54
- package/esm/floating-ui-react/hooks/useFocus.d.ts +0 -20
- package/esm/floating-ui-react/hooks/useFocus.js +0 -169
- package/esm/floating-ui-react/hooks/useHover.d.ts +0 -35
- package/esm/floating-ui-react/hooks/useHover.js +0 -330
- package/esm/floating-ui-react/hooks/useHoverFloatingInteraction.d.ts +0 -24
- package/esm/floating-ui-react/hooks/useHoverFloatingInteraction.js +0 -165
- package/esm/floating-ui-react/hooks/useHoverInteractionSharedState.d.ts +0 -30
- package/esm/floating-ui-react/hooks/useHoverInteractionSharedState.js +0 -79
- package/esm/floating-ui-react/hooks/useHoverReferenceInteraction.d.ts +0 -34
- package/esm/floating-ui-react/hooks/useHoverReferenceInteraction.js +0 -314
- package/esm/floating-ui-react/hooks/useHoverShared.d.ts +0 -29
- package/esm/floating-ui-react/hooks/useHoverShared.js +0 -30
- package/esm/floating-ui-react/hooks/useListNavigation.d.ts +0 -138
- package/esm/floating-ui-react/hooks/useListNavigation.js +0 -607
- package/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.d.ts +0 -20
- package/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js +0 -61
- package/esm/floating-ui-react/hooks/useTypeahead.d.ts +0 -52
- package/esm/floating-ui-react/hooks/useTypeahead.js +0 -154
- package/esm/floating-ui-react/index.d.ts +0 -20
- package/esm/floating-ui-react/index.js +0 -19
- package/esm/floating-ui-react/safePolygon.d.ts +0 -8
- package/esm/floating-ui-react/safePolygon.js +0 -248
- package/esm/floating-ui-react/types.d.ts +0 -118
- package/esm/floating-ui-react/types.js +0 -2
- package/esm/floating-ui-react/utils/composite.d.ts +0 -52
- package/esm/floating-ui-react/utils/composite.js +0 -386
- package/esm/floating-ui-react/utils/createEventEmitter.d.ts +0 -2
- package/esm/floating-ui-react/utils/element.d.ts +0 -11
- package/esm/floating-ui-react/utils/element.js +0 -69
- package/esm/floating-ui-react/utils/enqueueFocus.d.ts +0 -9
- package/esm/floating-ui-react/utils/event.js +0 -40
- package/esm/floating-ui-react/utils/getEmptyRootContext.d.ts +0 -2
- package/esm/floating-ui-react/utils/getEmptyRootContext.js +0 -15
- package/esm/floating-ui-react/utils/markOthers.d.ts +0 -10
- package/esm/floating-ui-react/utils/markOthers.js +0 -159
- package/esm/floating-ui-react/utils/nodes.d.ts +0 -4
- package/esm/floating-ui-react/utils/tabbable.js +0 -196
- package/esm/floating-ui-react/utils.d.ts +0 -5
- package/esm/floating-ui-react/utils.js +0 -5
- package/esm/form/Form.d.ts +0 -69
- package/esm/form/Form.js +0 -130
- package/esm/form/index.d.ts +0 -2
- package/esm/form/index.js +0 -1
- package/esm/index.d.ts +0 -43
- package/esm/index.js +0 -49
- package/esm/input/Input.d.ts +0 -33
- package/esm/input/Input.js +0 -19
- package/esm/input/index.d.ts +0 -2
- package/esm/input/index.js +0 -1
- package/esm/internals/composite/composite.d.ts +0 -28
- package/esm/internals/composite/composite.js +0 -107
- package/esm/internals/composite/index.d.ts +0 -11
- package/esm/internals/composite/index.js +0 -8
- package/esm/internals/composite/item/CompositeItem.d.ts +0 -21
- package/esm/internals/composite/item/CompositeItem.js +0 -34
- package/esm/internals/composite/item/useCompositeItem.d.ts +0 -9
- package/esm/internals/composite/item/useCompositeItem.js +0 -41
- package/esm/internals/composite/list/CompositeList.js +0 -153
- package/esm/internals/composite/list/useCompositeListItem.js +0 -79
- package/esm/internals/composite/root/CompositeRoot.d.ts +0 -37
- package/esm/internals/composite/root/CompositeRoot.js +0 -88
- package/esm/internals/composite/root/useCompositeRoot.d.ts +0 -49
- package/esm/internals/composite/root/useCompositeRoot.js +0 -230
- package/esm/internals/constants.d.ts +0 -34
- package/esm/internals/createBaseUIEventDetails.d.ts +0 -97
- package/esm/internals/createBaseUIEventDetails.js +0 -52
- package/esm/internals/csp-context/index.d.ts +0 -2
- package/esm/internals/csp-context/index.js +0 -1
- package/esm/internals/direction-context/index.d.ts +0 -2
- package/esm/internals/direction-context/index.js +0 -1
- package/esm/internals/field-constants/constants.d.ts +0 -19
- package/esm/internals/field-constants/constants.js +0 -40
- package/esm/internals/field-constants/index.d.ts +0 -1
- package/esm/internals/field-constants/index.js +0 -1
- package/esm/internals/field-register-control/index.d.ts +0 -3
- package/esm/internals/field-register-control/index.js +0 -2
- package/esm/internals/field-register-control/useFieldControlRegistration.d.ts +0 -18
- package/esm/internals/field-register-control/useFieldControlRegistration.js +0 -122
- package/esm/internals/field-register-control/useRegisterFieldControl.d.ts +0 -2
- package/esm/internals/field-register-control/useRegisterFieldControl.js +0 -30
- package/esm/internals/field-root-context/FieldRootContext.d.ts +0 -31
- package/esm/internals/field-root-context/FieldRootContext.js +0 -54
- package/esm/internals/field-root-context/index.d.ts +0 -2
- package/esm/internals/field-root-context/index.js +0 -1
- package/esm/internals/filter.js +0 -56
- package/esm/internals/form-context/FormContext.d.ts +0 -25
- package/esm/internals/form-context/FormContext.js +0 -21
- package/esm/internals/form-context/index.d.ts +0 -2
- package/esm/internals/form-context/index.js +0 -1
- package/esm/internals/labelable-provider/LabelableContext.d.ts +0 -27
- package/esm/internals/labelable-provider/LabelableContext.js +0 -21
- package/esm/internals/labelable-provider/LabelableProvider.js +0 -70
- package/esm/internals/labelable-provider/index.d.ts +0 -6
- package/esm/internals/labelable-provider/index.js +0 -5
- package/esm/internals/labelable-provider/useAriaLabelledBy.js +0 -56
- package/esm/internals/labelable-provider/useLabel.js +0 -73
- package/esm/internals/labelable-provider/useLabelableId.js +0 -66
- package/esm/internals/reason-parts.d.ts +0 -35
- package/esm/internals/reasons.d.ts +0 -4
- package/esm/internals/reasons.js +0 -2
- package/esm/internals/resolveValueLabel.js +0 -108
- package/esm/internals/stateAttributesMapping.d.ts +0 -14
- package/esm/internals/temporal/index.d.ts +0 -2
- package/esm/internals/temporal/index.js +0 -2
- package/esm/internals/temporal/temporal-adapter.d.ts +0 -371
- package/esm/internals/temporal-adapter-date-fns/TemporalAdapterDateFns.d.ts +0 -93
- package/esm/internals/temporal-adapter-date-fns/index.d.ts +0 -1
- package/esm/internals/temporal-adapter-date-fns/index.js +0 -1
- package/esm/internals/temporal-adapter-luxon/TemporalAdapterLuxon.d.ts +0 -89
- package/esm/internals/temporal-adapter-luxon/index.d.ts +0 -1
- package/esm/internals/temporal-adapter-luxon/index.js +0 -1
- package/esm/internals/types.d.ts +0 -70
- package/esm/internals/use-button/index.d.ts +0 -1
- package/esm/internals/use-button/index.js +0 -1
- package/esm/internals/use-button/useButton.js +0 -181
- package/esm/internals/useAnimationsFinished.js +0 -89
- package/esm/internals/useOpenChangeComplete.js +0 -29
- package/esm/internals/usePressAndHold.d.ts +0 -58
- package/esm/internals/usePressAndHold.js +0 -192
- package/esm/internals/useRenderElement.d.ts +0 -59
- package/esm/internals/useRenderElement.js +0 -169
- package/esm/menu/arrow/MenuArrow.d.ts +0 -33
- package/esm/menu/arrow/MenuArrow.js +0 -50
- package/esm/menu/arrow/MenuArrowDataAttributes.js +0 -26
- package/esm/menu/backdrop/MenuBackdrop.d.ts +0 -25
- package/esm/menu/backdrop/MenuBackdrop.js +0 -55
- package/esm/menu/backdrop/MenuBackdropDataAttributes.js +0 -20
- package/esm/menu/checkbox-item/MenuCheckboxItem.d.ts +0 -73
- package/esm/menu/checkbox-item/MenuCheckboxItem.js +0 -96
- package/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.d.ts +0 -39
- package/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js +0 -57
- package/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicatorDataAttributes.js +0 -24
- package/esm/menu/group/MenuGroup.d.ts +0 -20
- package/esm/menu/group/MenuGroup.js +0 -35
- package/esm/menu/group-label/MenuGroupLabel.d.ts +0 -15
- package/esm/menu/group-label/MenuGroupLabel.js +0 -40
- package/esm/menu/index.d.ts +0 -20
- package/esm/menu/index.js +0 -1
- package/esm/menu/index.parts.d.ts +0 -21
- package/esm/menu/index.parts.js +0 -21
- package/esm/menu/item/MenuItem.d.ts +0 -48
- package/esm/menu/item/MenuItem.js +0 -62
- package/esm/menu/item/useMenuItem.d.ts +0 -66
- package/esm/menu/item/useMenuItem.js +0 -58
- package/esm/menu/item/useMenuItemCommonProps.d.ts +0 -46
- package/esm/menu/item/useMenuItemCommonProps.js +0 -80
- package/esm/menu/link-item/MenuLinkItem.d.ts +0 -34
- package/esm/menu/link-item/MenuLinkItem.js +0 -70
- package/esm/menu/popup/MenuPopup.d.ts +0 -59
- package/esm/menu/popup/MenuPopup.js +0 -125
- package/esm/menu/popup/MenuPopupDataAttributes.js +0 -35
- package/esm/menu/portal/MenuPortal.d.ts +0 -22
- package/esm/menu/portal/MenuPortal.js +0 -37
- package/esm/menu/positioner/MenuPositioner.d.ts +0 -41
- package/esm/menu/positioner/MenuPositioner.js +0 -260
- package/esm/menu/positioner/MenuPositionerContext.d.ts +0 -6
- package/esm/menu/positioner/MenuPositionerDataAttributes.js +0 -26
- package/esm/menu/radio-group/MenuRadioGroup.d.ts +0 -52
- package/esm/menu/radio-group/MenuRadioGroup.js +0 -67
- package/esm/menu/radio-group/MenuRadioGroupContext.d.ts +0 -9
- package/esm/menu/radio-item/MenuRadioItem.d.ts +0 -56
- package/esm/menu/radio-item/MenuRadioItem.js +0 -92
- package/esm/menu/radio-item-indicator/MenuRadioItemIndicator.d.ts +0 -39
- package/esm/menu/radio-item-indicator/MenuRadioItemIndicator.js +0 -57
- package/esm/menu/radio-item-indicator/MenuRadioItemIndicatorDataAttributes.js +0 -24
- package/esm/menu/root/MenuRoot.d.ts +0 -136
- package/esm/menu/root/MenuRoot.js +0 -413
- package/esm/menu/root/MenuRootContext.d.ts +0 -10
- package/esm/menu/store/MenuHandle.d.ts +0 -28
- package/esm/menu/store/MenuHandle.js +0 -48
- package/esm/menu/store/MenuStore.d.ts +0 -407
- package/esm/menu/store/MenuStore.js +0 -140
- package/esm/menu/submenu-root/MenuSubmenuRoot.d.ts +0 -30
- package/esm/menu/submenu-root/MenuSubmenuRoot.js +0 -27
- package/esm/menu/submenu-root/MenuSubmenuRootContext.d.ts +0 -7
- package/esm/menu/submenu-trigger/MenuSubmenuTrigger.d.ts +0 -62
- package/esm/menu/submenu-trigger/MenuSubmenuTrigger.js +0 -157
- package/esm/menu/submenu-trigger/MenuSubmenuTriggerDataAttributes.js +0 -16
- package/esm/menu/trigger/MenuTrigger.d.ts +0 -62
- package/esm/menu/trigger/MenuTrigger.js +0 -293
- package/esm/menu/trigger/MenuTriggerDataAttributes.js +0 -12
- package/esm/menu/utils/stateAttributesMapping.d.ts +0 -4
- package/esm/menu/utils/stateAttributesMapping.js +0 -15
- package/esm/menu/utils/types.d.ts +0 -7
- package/esm/menu/viewport/MenuViewport.d.ts +0 -30
- package/esm/menu/viewport/MenuViewport.js +0 -61
- package/esm/menu/viewport/MenuViewportDataAttributes.d.ts +0 -26
- package/esm/menu/viewport/MenuViewportDataAttributes.js +0 -27
- package/esm/menubar/Menubar.d.ts +0 -50
- package/esm/menubar/Menubar.js +0 -108
- package/esm/menubar/MenubarContext.d.ts +0 -16
- package/esm/menubar/index.d.ts +0 -2
- package/esm/menubar/index.js +0 -1
- package/esm/merge-props/index.d.ts +0 -1
- package/esm/merge-props/index.js +0 -1
- package/esm/merge-props/mergeProps.d.ts +0 -55
- package/esm/meter/index.d.ts +0 -6
- package/esm/meter/index.js +0 -1
- package/esm/meter/index.parts.d.ts +0 -5
- package/esm/meter/index.parts.js +0 -5
- package/esm/meter/indicator/MeterIndicator.d.ts +0 -16
- package/esm/meter/indicator/MeterIndicator.js +0 -34
- package/esm/meter/label/MeterLabel.d.ts +0 -16
- package/esm/meter/label/MeterLabel.js +0 -34
- package/esm/meter/root/MeterRoot.d.ts +0 -47
- package/esm/meter/root/MeterRoot.js +0 -69
- package/esm/meter/root/MeterRootContext.d.ts +0 -10
- package/esm/meter/track/MeterTrack.d.ts +0 -16
- package/esm/meter/track/MeterTrack.js +0 -24
- package/esm/meter/value/MeterValue.d.ts +0 -18
- package/esm/meter/value/MeterValue.js +0 -33
- package/esm/navigation-menu/arrow/NavigationMenuArrow.d.ts +0 -33
- package/esm/navigation-menu/arrow/NavigationMenuArrow.js +0 -49
- package/esm/navigation-menu/arrow/NavigationMenuArrowDataAttributes.js +0 -26
- package/esm/navigation-menu/backdrop/NavigationMenuBackdrop.d.ts +0 -25
- package/esm/navigation-menu/backdrop/NavigationMenuBackdrop.js +0 -50
- package/esm/navigation-menu/backdrop/NavigationMenuBackdropDataAttributes.js +0 -20
- package/esm/navigation-menu/content/NavigationMenuContent.d.ts +0 -37
- package/esm/navigation-menu/content/NavigationMenuContent.js +0 -165
- package/esm/navigation-menu/content/NavigationMenuContentDataAttributes.d.ts +0 -22
- package/esm/navigation-menu/content/NavigationMenuContentDataAttributes.js +0 -24
- package/esm/navigation-menu/icon/NavigationMenuIcon.d.ts +0 -19
- package/esm/navigation-menu/icon/NavigationMenuIcon.js +0 -43
- package/esm/navigation-menu/index.d.ts +0 -14
- package/esm/navigation-menu/index.js +0 -1
- package/esm/navigation-menu/index.parts.d.ts +0 -13
- package/esm/navigation-menu/index.parts.js +0 -13
- package/esm/navigation-menu/item/NavigationMenuItem.d.ts +0 -22
- package/esm/navigation-menu/item/NavigationMenuItem.js +0 -37
- package/esm/navigation-menu/link/NavigationMenuLink.d.ts +0 -31
- package/esm/navigation-menu/link/NavigationMenuLink.js +0 -70
- package/esm/navigation-menu/list/NavigationMenuDismissContext.d.ts +0 -4
- package/esm/navigation-menu/list/NavigationMenuList.d.ts +0 -20
- package/esm/navigation-menu/list/NavigationMenuList.js +0 -107
- package/esm/navigation-menu/popup/NavigationMenuPopup.d.ts +0 -38
- package/esm/navigation-menu/popup/NavigationMenuPopup.js +0 -72
- package/esm/navigation-menu/popup/NavigationMenuPopupDataAttributes.d.ts +0 -28
- package/esm/navigation-menu/popup/NavigationMenuPopupDataAttributes.js +0 -30
- package/esm/navigation-menu/portal/NavigationMenuPortal.d.ts +0 -26
- package/esm/navigation-menu/portal/NavigationMenuPortal.js +0 -36
- package/esm/navigation-menu/positioner/NavigationMenuPositioner.d.ts +0 -37
- package/esm/navigation-menu/positioner/NavigationMenuPositioner.js +0 -140
- package/esm/navigation-menu/positioner/NavigationMenuPositionerContext.d.ts +0 -6
- package/esm/navigation-menu/positioner/NavigationMenuPositionerDataAttributes.js +0 -30
- package/esm/navigation-menu/root/NavigationMenuRoot.d.ts +0 -80
- package/esm/navigation-menu/root/NavigationMenuRoot.js +0 -239
- package/esm/navigation-menu/root/NavigationMenuRootContext.d.ts +0 -47
- package/esm/navigation-menu/trigger/NavigationMenuTrigger.d.ts +0 -21
- package/esm/navigation-menu/trigger/NavigationMenuTrigger.js +0 -691
- package/esm/navigation-menu/trigger/NavigationMenuTriggerDataAttributes.js +0 -12
- package/esm/navigation-menu/utils/isOutsideMenuEvent.d.ts +0 -16
- package/esm/navigation-menu/utils/isOutsideMenuEvent.js +0 -20
- package/esm/navigation-menu/viewport/NavigationMenuViewport.d.ts +0 -15
- package/esm/navigation-menu/viewport/NavigationMenuViewport.js +0 -116
- package/esm/number-field/decrement/NumberFieldDecrement.d.ts +0 -16
- package/esm/number-field/decrement/NumberFieldDecrement.js +0 -83
- package/esm/number-field/group/NumberFieldGroup.d.ts +0 -16
- package/esm/number-field/group/NumberFieldGroup.js +0 -34
- package/esm/number-field/increment/NumberFieldIncrement.d.ts +0 -16
- package/esm/number-field/increment/NumberFieldIncrement.js +0 -83
- package/esm/number-field/index.d.ts +0 -8
- package/esm/number-field/index.js +0 -1
- package/esm/number-field/index.parts.d.ts +0 -7
- package/esm/number-field/index.parts.js +0 -7
- package/esm/number-field/input/NumberFieldInput.d.ts +0 -22
- package/esm/number-field/input/NumberFieldInput.js +0 -321
- package/esm/number-field/root/NumberFieldRoot.d.ts +0 -174
- package/esm/number-field/root/NumberFieldRoot.js +0 -390
- package/esm/number-field/root/NumberFieldRootContext.d.ts +0 -38
- package/esm/number-field/root/useNumberFieldButton.d.ts +0 -26
- package/esm/number-field/root/useNumberFieldButton.js +0 -118
- package/esm/number-field/scrub-area/NumberFieldScrubArea.d.ts +0 -33
- package/esm/number-field/scrub-area/NumberFieldScrubArea.js +0 -279
- package/esm/number-field/scrub-area/NumberFieldScrubAreaContext.d.ts +0 -13
- package/esm/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.d.ts +0 -19
- package/esm/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.js +0 -56
- package/esm/number-field/utils/constants.d.ts +0 -4
- package/esm/number-field/utils/constants.js +0 -4
- package/esm/number-field/utils/getViewportRect.d.ts +0 -6
- package/esm/number-field/utils/getViewportRect.js +0 -30
- package/esm/number-field/utils/parse.d.ts +0 -31
- package/esm/number-field/utils/parse.js +0 -216
- package/esm/number-field/utils/stateAttributesMapping.d.ts +0 -3
- package/esm/number-field/utils/stateAttributesMapping.js +0 -6
- package/esm/number-field/utils/validate.d.ts +0 -20
- package/esm/number-field/utils/validate.js +0 -74
- package/esm/otp-field/index.d.ts +0 -3
- package/esm/otp-field/index.js +0 -1
- package/esm/otp-field/index.parts.d.ts +0 -3
- package/esm/otp-field/index.parts.js +0 -3
- package/esm/otp-field/input/OTPFieldInput.d.ts +0 -29
- package/esm/otp-field/input/OTPFieldInput.js +0 -246
- package/esm/otp-field/root/OTPFieldRoot.d.ts +0 -168
- package/esm/otp-field/root/OTPFieldRoot.js +0 -364
- package/esm/otp-field/root/OTPFieldRootContext.d.ts +0 -31
- package/esm/otp-field/utils/stateAttributesMapping.d.ts +0 -5
- package/esm/otp-field/utils/stateAttributesMapping.js +0 -11
- package/esm/package.json +0 -1
- package/esm/popover/arrow/PopoverArrow.d.ts +0 -33
- package/esm/popover/arrow/PopoverArrow.js +0 -50
- package/esm/popover/arrow/PopoverArrowDataAttributes.js +0 -26
- package/esm/popover/backdrop/PopoverBackdrop.d.ts +0 -25
- package/esm/popover/backdrop/PopoverBackdrop.js +0 -54
- package/esm/popover/backdrop/PopoverBackdropDataAttributes.js +0 -20
- package/esm/popover/close/PopoverClose.d.ts +0 -15
- package/esm/popover/close/PopoverClose.js +0 -48
- package/esm/popover/description/PopoverDescription.d.ts +0 -15
- package/esm/popover/description/PopoverDescription.js +0 -34
- package/esm/popover/index.d.ts +0 -12
- package/esm/popover/index.js +0 -1
- package/esm/popover/index.parts.d.ts +0 -12
- package/esm/popover/index.parts.js +0 -12
- package/esm/popover/popup/PopoverPopup.d.ts +0 -60
- package/esm/popover/popup/PopoverPopup.js +0 -135
- package/esm/popover/popup/PopoverPopupDataAttributes.js +0 -35
- package/esm/popover/portal/PopoverPortal.d.ts +0 -22
- package/esm/popover/portal/PopoverPortal.js +0 -37
- package/esm/popover/positioner/PopoverPositioner.d.ts +0 -37
- package/esm/popover/positioner/PopoverPositioner.js +0 -135
- package/esm/popover/positioner/PopoverPositionerContext.d.ts +0 -13
- package/esm/popover/positioner/PopoverPositionerDataAttributes.js +0 -26
- package/esm/popover/root/PopoverRoot.d.ts +0 -93
- package/esm/popover/root/PopoverRoot.js +0 -134
- package/esm/popover/root/PopoverRootContext.d.ts +0 -8
- package/esm/popover/store/PopoverHandle.d.ts +0 -28
- package/esm/popover/store/PopoverHandle.js +0 -49
- package/esm/popover/store/PopoverStore.d.ts +0 -393
- package/esm/popover/store/PopoverStore.js +0 -121
- package/esm/popover/title/PopoverTitle.d.ts +0 -15
- package/esm/popover/title/PopoverTitle.js +0 -34
- package/esm/popover/trigger/PopoverTrigger.d.ts +0 -69
- package/esm/popover/trigger/PopoverTrigger.js +0 -143
- package/esm/popover/trigger/PopoverTriggerDataAttributes.js +0 -12
- package/esm/popover/viewport/PopoverViewport.d.ts +0 -34
- package/esm/popover/viewport/PopoverViewport.js +0 -61
- package/esm/popover/viewport/PopoverViewportDataAttributes.d.ts +0 -26
- package/esm/popover/viewport/PopoverViewportDataAttributes.js +0 -27
- package/esm/preview-card/arrow/PreviewCardArrow.d.ts +0 -33
- package/esm/preview-card/arrow/PreviewCardArrow.js +0 -48
- package/esm/preview-card/arrow/PreviewCardArrowDataAttributes.js +0 -26
- package/esm/preview-card/backdrop/PreviewCardBackdrop.d.ts +0 -25
- package/esm/preview-card/backdrop/PreviewCardBackdrop.js +0 -50
- package/esm/preview-card/backdrop/PreviewCardBackdropDataAttributes.js +0 -20
- package/esm/preview-card/index.d.ts +0 -9
- package/esm/preview-card/index.js +0 -1
- package/esm/preview-card/index.parts.d.ts +0 -9
- package/esm/preview-card/index.parts.js +0 -9
- package/esm/preview-card/popup/PreviewCardPopup.d.ts +0 -38
- package/esm/preview-card/popup/PreviewCardPopup.js +0 -69
- package/esm/preview-card/popup/PreviewCardPopupDataAttributes.js +0 -30
- package/esm/preview-card/portal/PreviewCardPortal.d.ts +0 -22
- package/esm/preview-card/portal/PreviewCardPortal.js +0 -35
- package/esm/preview-card/positioner/PreviewCardPositioner.d.ts +0 -37
- package/esm/preview-card/positioner/PreviewCardPositioner.js +0 -100
- package/esm/preview-card/positioner/PreviewCardPositionerContext.d.ts +0 -5
- package/esm/preview-card/positioner/PreviewCardPositionerDataAttributes.js +0 -26
- package/esm/preview-card/root/PreviewCardContext.d.ts +0 -6
- package/esm/preview-card/root/PreviewCardRoot.d.ts +0 -77
- package/esm/preview-card/root/PreviewCardRoot.js +0 -116
- package/esm/preview-card/store/PreviewCardHandle.d.ts +0 -33
- package/esm/preview-card/store/PreviewCardHandle.js +0 -55
- package/esm/preview-card/store/PreviewCardStore.d.ts +0 -364
- package/esm/preview-card/store/PreviewCardStore.js +0 -86
- package/esm/preview-card/trigger/PreviewCardTrigger.d.ts +0 -43
- package/esm/preview-card/trigger/PreviewCardTrigger.js +0 -87
- package/esm/preview-card/trigger/PreviewCardTriggerDataAttributes.js +0 -8
- package/esm/preview-card/viewport/PreviewCardViewport.d.ts +0 -34
- package/esm/preview-card/viewport/PreviewCardViewport.js +0 -57
- package/esm/preview-card/viewport/PreviewCardViewportDataAttributes.d.ts +0 -26
- package/esm/preview-card/viewport/PreviewCardViewportDataAttributes.js +0 -27
- package/esm/progress/index.d.ts +0 -6
- package/esm/progress/index.js +0 -1
- package/esm/progress/index.parts.d.ts +0 -6
- package/esm/progress/index.parts.js +0 -5
- package/esm/progress/indicator/ProgressIndicator.d.ts +0 -16
- package/esm/progress/indicator/ProgressIndicator.js +0 -43
- package/esm/progress/label/ProgressLabel.d.ts +0 -16
- package/esm/progress/label/ProgressLabel.js +0 -38
- package/esm/progress/root/ProgressRoot.d.ts +0 -54
- package/esm/progress/root/ProgressRoot.js +0 -83
- package/esm/progress/root/ProgressRootContext.d.ts +0 -28
- package/esm/progress/root/stateAttributesMapping.d.ts +0 -3
- package/esm/progress/root/stateAttributesMapping.js +0 -21
- package/esm/progress/track/ProgressTrack.d.ts +0 -16
- package/esm/progress/track/ProgressTrack.js +0 -31
- package/esm/progress/value/ProgressValue.d.ts +0 -18
- package/esm/progress/value/ProgressValue.js +0 -39
- package/esm/radio/index.d.ts +0 -3
- package/esm/radio/index.js +0 -1
- package/esm/radio/index.parts.d.ts +0 -2
- package/esm/radio/index.parts.js +0 -2
- package/esm/radio/indicator/RadioIndicator.d.ts +0 -31
- package/esm/radio/indicator/RadioIndicator.js +0 -57
- package/esm/radio/indicator/RadioIndicatorDataAttributes.js +0 -56
- package/esm/radio/root/RadioRoot.d.ts +0 -56
- package/esm/radio/root/RadioRoot.js +0 -235
- package/esm/radio/root/RadioRootContext.d.ts +0 -9
- package/esm/radio/utils/stateAttributesMapping.d.ts +0 -6
- package/esm/radio/utils/stateAttributesMapping.js +0 -17
- package/esm/radio-group/RadioGroup.d.ts +0 -78
- package/esm/radio-group/RadioGroup.js +0 -202
- package/esm/radio-group/RadioGroupContext.d.ts +0 -20
- package/esm/radio-group/index.d.ts +0 -2
- package/esm/radio-group/index.js +0 -1
- package/esm/scroll-area/content/ScrollAreaContent.d.ts +0 -16
- package/esm/scroll-area/content/ScrollAreaContent.js +0 -63
- package/esm/scroll-area/corner/ScrollAreaCorner.d.ts +0 -15
- package/esm/scroll-area/corner/ScrollAreaCorner.js +0 -42
- package/esm/scroll-area/index.d.ts +0 -7
- package/esm/scroll-area/index.js +0 -1
- package/esm/scroll-area/index.parts.d.ts +0 -6
- package/esm/scroll-area/index.parts.js +0 -6
- package/esm/scroll-area/root/ScrollAreaRoot.d.ts +0 -84
- package/esm/scroll-area/root/ScrollAreaRoot.js +0 -261
- package/esm/scroll-area/root/ScrollAreaRootContext.d.ts +0 -42
- package/esm/scroll-area/root/stateAttributes.d.ts +0 -3
- package/esm/scroll-area/root/stateAttributes.js +0 -22
- package/esm/scroll-area/scrollbar/ScrollAreaScrollbar.d.ts +0 -40
- package/esm/scroll-area/scrollbar/ScrollAreaScrollbar.js +0 -195
- package/esm/scroll-area/thumb/ScrollAreaThumb.d.ts +0 -20
- package/esm/scroll-area/thumb/ScrollAreaThumb.js +0 -66
- package/esm/scroll-area/thumb/ScrollAreaThumbDataAttributes.d.ts +0 -7
- package/esm/scroll-area/thumb/ScrollAreaThumbDataAttributes.js +0 -8
- package/esm/scroll-area/viewport/ScrollAreaViewport.d.ts +0 -16
- package/esm/scroll-area/viewport/ScrollAreaViewport.js +0 -371
- package/esm/select/arrow/SelectArrow.d.ts +0 -33
- package/esm/select/arrow/SelectArrow.js +0 -61
- package/esm/select/arrow/SelectArrowDataAttributes.js +0 -26
- package/esm/select/backdrop/SelectBackdrop.d.ts +0 -25
- package/esm/select/backdrop/SelectBackdrop.js +0 -53
- package/esm/select/backdrop/SelectBackdropDataAttributes.js +0 -20
- package/esm/select/group/SelectGroup.d.ts +0 -15
- package/esm/select/group/SelectGroup.js +0 -38
- package/esm/select/group-label/SelectGroupLabel.d.ts +0 -15
- package/esm/select/group-label/SelectGroupLabel.js +0 -38
- package/esm/select/icon/SelectIcon.d.ts +0 -20
- package/esm/select/icon/SelectIcon.js +0 -41
- package/esm/select/icon/SelectIconDataAttributes.js +0 -8
- package/esm/select/index.d.ts +0 -19
- package/esm/select/index.js +0 -1
- package/esm/select/index.parts.d.ts +0 -19
- package/esm/select/index.parts.js +0 -19
- package/esm/select/item/SelectItem.d.ts +0 -46
- package/esm/select/item/SelectItem.js +0 -207
- package/esm/select/item-indicator/SelectItemIndicator.d.ts +0 -31
- package/esm/select/item-indicator/SelectItemIndicator.js +0 -76
- package/esm/select/item-indicator/SelectItemIndicatorDataAttributes.js +0 -12
- package/esm/select/item-text/SelectItemText.d.ts +0 -15
- package/esm/select/item-text/SelectItemText.js +0 -48
- package/esm/select/label/SelectLabel.d.ts +0 -16
- package/esm/select/label/SelectLabel.js +0 -50
- package/esm/select/list/SelectList.d.ts +0 -15
- package/esm/select/list/SelectList.js +0 -57
- package/esm/select/popup/SelectPopup.d.ts +0 -47
- package/esm/select/popup/SelectPopup.js +0 -436
- package/esm/select/popup/SelectPopupDataAttributes.js +0 -30
- package/esm/select/popup/utils.d.ts +0 -7
- package/esm/select/portal/SelectPortal.d.ts +0 -16
- package/esm/select/portal/SelectPortal.js +0 -36
- package/esm/select/positioner/SelectPositioner.d.ts +0 -39
- package/esm/select/positioner/SelectPositioner.js +0 -202
- package/esm/select/positioner/SelectPositionerContext.d.ts +0 -11
- package/esm/select/positioner/SelectPositionerDataAttributes.js +0 -26
- package/esm/select/root/SelectRoot.d.ts +0 -157
- package/esm/select/root/SelectRoot.js +0 -486
- package/esm/select/root/SelectRootContext.d.ts +0 -44
- package/esm/select/scroll-arrow/SelectScrollArrow.d.ts +0 -38
- package/esm/select/scroll-arrow/SelectScrollArrow.js +0 -164
- package/esm/select/scroll-down-arrow/SelectScrollDownArrow.d.ts +0 -21
- package/esm/select/scroll-down-arrow/SelectScrollDownArrow.js +0 -19
- package/esm/select/scroll-down-arrow/SelectScrollDownArrowDataAttributes.js +0 -26
- package/esm/select/scroll-up-arrow/SelectScrollUpArrow.d.ts +0 -21
- package/esm/select/scroll-up-arrow/SelectScrollUpArrow.js +0 -19
- package/esm/select/scroll-up-arrow/SelectScrollUpArrowDataAttributes.js +0 -26
- package/esm/select/store.d.ts +0 -72
- package/esm/select/store.js +0 -65
- package/esm/select/trigger/SelectTrigger.d.ts +0 -44
- package/esm/select/trigger/SelectTrigger.js +0 -223
- package/esm/select/trigger/SelectTriggerDataAttributes.js +0 -57
- package/esm/select/value/SelectValue.d.ts +0 -40
- package/esm/select/value/SelectValue.js +0 -64
- package/esm/separator/Separator.d.ts +0 -26
- package/esm/separator/Separator.js +0 -33
- package/esm/separator/index.d.ts +0 -2
- package/esm/separator/index.js +0 -1
- package/esm/slider/control/SliderControl.d.ts +0 -16
- package/esm/slider/control/SliderControl.js +0 -409
- package/esm/slider/index.d.ts +0 -8
- package/esm/slider/index.js +0 -1
- package/esm/slider/index.parts.d.ts +0 -7
- package/esm/slider/index.parts.js +0 -7
- package/esm/slider/indicator/SliderIndicator.d.ts +0 -16
- package/esm/slider/indicator/SliderIndicator.js +0 -88
- package/esm/slider/label/SliderLabel.d.ts +0 -16
- package/esm/slider/label/SliderLabel.js +0 -59
- package/esm/slider/root/SliderRoot.d.ts +0 -189
- package/esm/slider/root/SliderRoot.js +0 -300
- package/esm/slider/root/SliderRootContext.d.ts +0 -92
- package/esm/slider/root/stateAttributesMapping.d.ts +0 -3
- package/esm/slider/root/stateAttributesMapping.js +0 -10
- package/esm/slider/thumb/SliderThumb.d.ts +0 -65
- package/esm/slider/thumb/SliderThumb.js +0 -387
- package/esm/slider/track/SliderTrack.d.ts +0 -16
- package/esm/slider/track/SliderTrack.js +0 -36
- package/esm/slider/utils/getMidpoint.d.ts +0 -2
- package/esm/slider/utils/getPushedThumbValues.js +0 -50
- package/esm/slider/utils/getSliderValue.js +0 -12
- package/esm/slider/utils/replaceArrayItemAtIndex.js +0 -6
- package/esm/slider/utils/resolveThumbCollision.d.ts +0 -30
- package/esm/slider/utils/resolveThumbCollision.js +0 -128
- package/esm/slider/utils/valueArrayToPercentages.js +0 -9
- package/esm/slider/value/SliderValue.d.ts +0 -18
- package/esm/slider/value/SliderValue.js +0 -59
- package/esm/switch/index.d.ts +0 -3
- package/esm/switch/index.js +0 -1
- package/esm/switch/index.parts.d.ts +0 -2
- package/esm/switch/index.parts.js +0 -2
- package/esm/switch/root/SwitchRoot.d.ts +0 -99
- package/esm/switch/root/SwitchRoot.js +0 -220
- package/esm/switch/root/SwitchRootContext.d.ts +0 -5
- package/esm/switch/stateAttributesMapping.d.ts +0 -3
- package/esm/switch/stateAttributesMapping.js +0 -15
- package/esm/switch/thumb/SwitchThumb.d.ts +0 -16
- package/esm/switch/thumb/SwitchThumb.js +0 -29
- package/esm/tabs/index.d.ts +0 -6
- package/esm/tabs/index.js +0 -1
- package/esm/tabs/index.parts.d.ts +0 -5
- package/esm/tabs/index.parts.js +0 -5
- package/esm/tabs/indicator/TabsIndicator.d.ts +0 -37
- package/esm/tabs/indicator/TabsIndicator.js +0 -144
- package/esm/tabs/list/TabsList.d.ts +0 -29
- package/esm/tabs/list/TabsList.js +0 -116
- package/esm/tabs/list/TabsListContext.d.ts +0 -14
- package/esm/tabs/panel/TabsPanel.d.ts +0 -42
- package/esm/tabs/panel/TabsPanel.js +0 -110
- package/esm/tabs/panel/TabsPanelDataAttributes.js +0 -30
- package/esm/tabs/root/TabsRoot.d.ts +0 -71
- package/esm/tabs/root/TabsRoot.js +0 -317
- package/esm/tabs/root/TabsRootContext.d.ts +0 -43
- package/esm/tabs/root/stateAttributesMapping.d.ts +0 -3
- package/esm/tabs/root/stateAttributesMapping.js +0 -6
- package/esm/tabs/tab/TabsTab.d.ts +0 -66
- package/esm/tabs/tab/TabsTab.js +0 -182
- package/esm/toast/action/ToastAction.d.ts +0 -20
- package/esm/toast/action/ToastAction.js +0 -50
- package/esm/toast/arrow/ToastArrow.d.ts +0 -29
- package/esm/toast/arrow/ToastArrow.js +0 -42
- package/esm/toast/arrow/ToastArrowDataAttributes.js +0 -18
- package/esm/toast/close/ToastClose.d.ts +0 -20
- package/esm/toast/close/ToastClose.js +0 -58
- package/esm/toast/content/ToastContent.d.ts +0 -24
- package/esm/toast/content/ToastContent.js +0 -61
- package/esm/toast/createToastManager.d.ts +0 -16
- package/esm/toast/description/ToastDescription.d.ts +0 -21
- package/esm/toast/description/ToastDescription.js +0 -58
- package/esm/toast/index.d.ts +0 -14
- package/esm/toast/index.js +0 -1
- package/esm/toast/index.parts.d.ts +0 -13
- package/esm/toast/index.parts.js +0 -13
- package/esm/toast/portal/ToastPortal.d.ts +0 -15
- package/esm/toast/portal/ToastPortal.js +0 -12
- package/esm/toast/positioner/ToastPositioner.d.ts +0 -45
- package/esm/toast/positioner/ToastPositioner.js +0 -95
- package/esm/toast/positioner/ToastPositionerContext.d.ts +0 -5
- package/esm/toast/positioner/ToastPositionerDataAttributes.js +0 -18
- package/esm/toast/provider/ToastProvider.d.ts +0 -32
- package/esm/toast/provider/ToastProvider.js +0 -63
- package/esm/toast/provider/ToastProviderContext.d.ts +0 -5
- package/esm/toast/root/ToastRoot.d.ts +0 -54
- package/esm/toast/root/ToastRoot.js +0 -503
- package/esm/toast/root/ToastRootContext.d.ts +0 -18
- package/esm/toast/root/ToastRootDataAttributes.js +0 -37
- package/esm/toast/store.d.ts +0 -66
- package/esm/toast/store.js +0 -415
- package/esm/toast/title/ToastTitle.d.ts +0 -20
- package/esm/toast/title/ToastTitle.js +0 -57
- package/esm/toast/useToastManager.d.ts +0 -104
- package/esm/toast/useToastManager.js +0 -22
- package/esm/toast/utils/focusVisible.d.ts +0 -1
- package/esm/toast/utils/focusVisible.js +0 -1
- package/esm/toast/utils/resolvePromiseOptions.d.ts +0 -2
- package/esm/toast/viewport/ToastViewport.d.ts +0 -20
- package/esm/toast/viewport/ToastViewport.js +0 -250
- package/esm/toggle/Toggle.d.ts +0 -58
- package/esm/toggle/Toggle.js +0 -106
- package/esm/toggle/ToggleDataAttributes.d.ts +0 -6
- package/esm/toggle/ToggleDataAttributes.js +0 -7
- package/esm/toggle/index.d.ts +0 -2
- package/esm/toggle/index.js +0 -1
- package/esm/toggle-group/ToggleGroup.d.ts +0 -77
- package/esm/toggle-group/ToggleGroup.js +0 -108
- package/esm/toggle-group/ToggleGroupContext.d.ts +0 -17
- package/esm/toggle-group/index.d.ts +0 -2
- package/esm/toggle-group/index.js +0 -1
- package/esm/toolbar/button/ToolbarButton.d.ts +0 -36
- package/esm/toolbar/button/ToolbarButton.js +0 -65
- package/esm/toolbar/group/ToolbarGroup.d.ts +0 -22
- package/esm/toolbar/group/ToolbarGroup.js +0 -47
- package/esm/toolbar/index.d.ts +0 -8
- package/esm/toolbar/index.js +0 -1
- package/esm/toolbar/index.parts.d.ts +0 -7
- package/esm/toolbar/index.parts.js +0 -6
- package/esm/toolbar/input/ToolbarInput.d.ts +0 -37
- package/esm/toolbar/input/ToolbarInput.js +0 -76
- package/esm/toolbar/link/ToolbarLink.d.ts +0 -21
- package/esm/toolbar/link/ToolbarLink.js +0 -42
- package/esm/toolbar/root/ToolbarRoot.d.ts +0 -43
- package/esm/toolbar/root/ToolbarRoot.js +0 -63
- package/esm/toolbar/root/ToolbarRootContext.d.ts +0 -12
- package/esm/toolbar/separator/ToolbarSeparator.d.ts +0 -16
- package/esm/toolbar/separator/ToolbarSeparator.js +0 -25
- package/esm/toolbar/separator/ToolbarSeparatorDataAttributes.d.ts +0 -7
- package/esm/toolbar/separator/ToolbarSeparatorDataAttributes.js +0 -8
- package/esm/tooltip/arrow/TooltipArrow.d.ts +0 -37
- package/esm/tooltip/arrow/TooltipArrow.js +0 -50
- package/esm/tooltip/arrow/TooltipArrowDataAttributes.js +0 -31
- package/esm/tooltip/index.d.ts +0 -9
- package/esm/tooltip/index.js +0 -1
- package/esm/tooltip/index.parts.d.ts +0 -9
- package/esm/tooltip/index.parts.js +0 -9
- package/esm/tooltip/popup/TooltipPopup.d.ts +0 -38
- package/esm/tooltip/popup/TooltipPopup.js +0 -71
- package/esm/tooltip/popup/TooltipPopupDataAttributes.js +0 -35
- package/esm/tooltip/portal/TooltipPortal.d.ts +0 -22
- package/esm/tooltip/portal/TooltipPortal.js +0 -35
- package/esm/tooltip/positioner/TooltipPositioner.d.ts +0 -44
- package/esm/tooltip/positioner/TooltipPositioner.js +0 -86
- package/esm/tooltip/positioner/TooltipPositionerContext.d.ts +0 -5
- package/esm/tooltip/positioner/TooltipPositionerDataAttributes.js +0 -26
- package/esm/tooltip/provider/TooltipProvider.js +0 -37
- package/esm/tooltip/root/TooltipRoot.d.ts +0 -92
- package/esm/tooltip/root/TooltipRoot.js +0 -151
- package/esm/tooltip/root/TooltipRootContext.d.ts +0 -6
- package/esm/tooltip/store/TooltipHandle.d.ts +0 -33
- package/esm/tooltip/store/TooltipHandle.js +0 -55
- package/esm/tooltip/store/TooltipStore.d.ts +0 -378
- package/esm/tooltip/store/TooltipStore.js +0 -96
- package/esm/tooltip/trigger/TooltipTrigger.d.ts +0 -55
- package/esm/tooltip/trigger/TooltipTrigger.js +0 -253
- package/esm/tooltip/trigger/TooltipTriggerDataAttributes.js +0 -12
- package/esm/tooltip/viewport/TooltipViewport.d.ts +0 -34
- package/esm/tooltip/viewport/TooltipViewport.js +0 -57
- package/esm/tooltip/viewport/TooltipViewportDataAttributes.d.ts +0 -26
- package/esm/tooltip/viewport/TooltipViewportDataAttributes.js +0 -27
- package/esm/types/index.d.ts +0 -16
- package/esm/use-render/index.d.ts +0 -2
- package/esm/use-render/index.js +0 -2
- package/esm/use-render/useRender.d.ts +0 -70
- package/esm/use-render/useRender.js +0 -9
- package/esm/utils/FloatingPortalLite.d.ts +0 -14
- package/esm/utils/FloatingPortalLite.js +0 -38
- package/esm/utils/FocusGuard.js +0 -36
- package/esm/utils/adaptiveOriginMiddleware.d.ts +0 -6
- package/esm/utils/collapsibleOpenStateMapping.d.ts +0 -11
- package/esm/utils/collapsibleOpenStateMapping.js +0 -26
- package/esm/utils/formatNumber.d.ts +0 -5
- package/esm/utils/formatNumber.js +0 -37
- package/esm/utils/getDisabledMountTransitionStyles.d.ts +0 -4
- package/esm/utils/getDisabledMountTransitionStyles.js +0 -5
- package/esm/utils/getPseudoElementBounds.js +0 -36
- package/esm/utils/hideMiddleware.js +0 -19
- package/esm/utils/popupStateMapping.js +0 -91
- package/esm/utils/popups/index.d.ts +0 -4
- package/esm/utils/popups/index.js +0 -4
- package/esm/utils/popups/inlineRect.js +0 -191
- package/esm/utils/popups/popupStoreUtils.d.ts +0 -68
- package/esm/utils/popups/popupStoreUtils.js +0 -246
- package/esm/utils/popups/store.d.ts +0 -129
- package/esm/utils/popups/store.js +0 -90
- package/esm/utils/popups/useTriggerFocusGuards.d.ts +0 -28
- package/esm/utils/popups/useTriggerFocusGuards.js +0 -54
- package/esm/utils/scrollEdges.js +0 -25
- package/esm/utils/scrollable.d.ts +0 -4
- package/esm/utils/scrollable.js +0 -32
- package/esm/utils/useAnchorPositioning.d.ts +0 -244
- package/esm/utils/useAnchorPositioning.js +0 -406
- package/esm/utils/useIsHydrating.js +0 -19
- package/esm/utils/useOpenInteractionType.js +0 -46
- package/esm/utils/usePopupAutoResize.d.ts +0 -36
- package/esm/utils/usePopupAutoResize.js +0 -180
- package/esm/utils/usePopupViewport.d.ts +0 -58
- package/esm/utils/usePopupViewport.js +0 -251
- package/esm/utils/usePositioner.d.ts +0 -23
- package/esm/utils/usePositioner.js +0 -34
- package/esm/utils/useRegisteredLabelId.js +0 -14
- package/esm/utils/useSwipeDismiss.d.ts +0 -108
- package/esm/utils/useSwipeDismiss.js +0 -947
- /package/{esm/accordion/header/AccordionHeaderDataAttributes.d.ts → accordion/header/AccordionHeaderDataAttributes.d.mts} +0 -0
- /package/{esm/accordion/header/AccordionHeaderDataAttributes.js → accordion/header/AccordionHeaderDataAttributes.mjs} +0 -0
- /package/{esm/accordion/item/AccordionItemContext.js → accordion/item/AccordionItemContext.mjs} +0 -0
- /package/{esm/accordion/item/AccordionItemDataAttributes.d.ts → accordion/item/AccordionItemDataAttributes.d.mts} +0 -0
- /package/{esm/accordion/item/AccordionItemDataAttributes.js → accordion/item/AccordionItemDataAttributes.mjs} +0 -0
- /package/{esm/accordion/panel/AccordionPanelCssVars.d.ts → accordion/panel/AccordionPanelCssVars.d.mts} +0 -0
- /package/{esm/accordion/panel/AccordionPanelCssVars.js → accordion/panel/AccordionPanelCssVars.mjs} +0 -0
- /package/{esm/accordion/panel/AccordionPanelDataAttributes.d.ts → accordion/panel/AccordionPanelDataAttributes.d.mts} +0 -0
- /package/{esm/accordion/root/AccordionRootContext.js → accordion/root/AccordionRootContext.mjs} +0 -0
- /package/{esm/accordion/root/AccordionRootDataAttributes.d.ts → accordion/root/AccordionRootDataAttributes.d.mts} +0 -0
- /package/{esm/accordion/root/AccordionRootDataAttributes.js → accordion/root/AccordionRootDataAttributes.mjs} +0 -0
- /package/{esm/accordion/trigger/AccordionTriggerDataAttributes.d.ts → accordion/trigger/AccordionTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/accordion/trigger/AccordionTriggerDataAttributes.js → accordion/trigger/AccordionTriggerDataAttributes.mjs} +0 -0
- /package/{esm/alert-dialog/trigger/AlertDialogTriggerDataAttributes.d.ts → alert-dialog/trigger/AlertDialogTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/autocomplete/input-group/AutocompleteInputGroupDataAttributes.d.ts → autocomplete/input-group/AutocompleteInputGroupDataAttributes.d.mts} +0 -0
- /package/{esm/autocomplete/input-group/AutocompleteInputGroupDataAttributes.js → autocomplete/input-group/AutocompleteInputGroupDataAttributes.mjs} +0 -0
- /package/{esm/autocomplete/item/AutocompleteItemDataAttributes.d.ts → autocomplete/item/AutocompleteItemDataAttributes.d.mts} +0 -0
- /package/{esm/autocomplete/trigger/AutocompleteTriggerDataAttributes.d.ts → autocomplete/trigger/AutocompleteTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/autocomplete/value/AutocompleteValue.d.ts → autocomplete/value/AutocompleteValue.d.mts} +0 -0
- /package/{esm/avatar/image/AvatarImageDataAttributes.d.ts → avatar/image/AvatarImageDataAttributes.d.mts} +0 -0
- /package/{esm/avatar/root/AvatarRootContext.js → avatar/root/AvatarRootContext.mjs} +0 -0
- /package/{esm/avatar/root/stateAttributesMapping.d.ts → avatar/root/stateAttributesMapping.d.mts} +0 -0
- /package/{esm/avatar/root/stateAttributesMapping.js → avatar/root/stateAttributesMapping.mjs} +0 -0
- /package/{esm/button/ButtonDataAttributes.d.ts → button/ButtonDataAttributes.d.mts} +0 -0
- /package/{esm/button/ButtonDataAttributes.js → button/ButtonDataAttributes.mjs} +0 -0
- /package/{esm/checkbox/indicator/CheckboxIndicatorDataAttributes.d.ts → checkbox/indicator/CheckboxIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/checkbox/root/CheckboxRootContext.js → checkbox/root/CheckboxRootContext.mjs} +0 -0
- /package/{esm/checkbox/root/CheckboxRootDataAttributes.d.ts → checkbox/root/CheckboxRootDataAttributes.d.mts} +0 -0
- /package/{esm/checkbox/root/CheckboxRootDataAttributes.js → checkbox/root/CheckboxRootDataAttributes.mjs} +0 -0
- /package/{esm/checkbox-group/CheckboxGroupContext.js → checkbox-group/CheckboxGroupContext.mjs} +0 -0
- /package/{esm/checkbox-group/CheckboxGroupDataAttributes.d.ts → checkbox-group/CheckboxGroupDataAttributes.d.mts} +0 -0
- /package/{esm/checkbox-group/CheckboxGroupDataAttributes.js → checkbox-group/CheckboxGroupDataAttributes.mjs} +0 -0
- /package/{esm/collapsible/panel/CollapsiblePanelCssVars.d.ts → collapsible/panel/CollapsiblePanelCssVars.d.mts} +0 -0
- /package/{esm/collapsible/panel/CollapsiblePanelCssVars.js → collapsible/panel/CollapsiblePanelCssVars.mjs} +0 -0
- /package/{esm/collapsible/panel/CollapsiblePanelDataAttributes.d.ts → collapsible/panel/CollapsiblePanelDataAttributes.d.mts} +0 -0
- /package/{esm/collapsible/root/CollapsibleRootContext.js → collapsible/root/CollapsibleRootContext.mjs} +0 -0
- /package/{esm/collapsible/trigger/CollapsibleTriggerDataAttributes.d.ts → collapsible/trigger/CollapsibleTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/collapsible/trigger/CollapsibleTriggerDataAttributes.js → collapsible/trigger/CollapsibleTriggerDataAttributes.mjs} +0 -0
- /package/{esm/combobox/arrow/ComboboxArrowDataAttributes.d.ts → combobox/arrow/ComboboxArrowDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/backdrop/ComboboxBackdropDataAttributes.d.ts → combobox/backdrop/ComboboxBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/chip/ComboboxChipContext.d.ts → combobox/chip/ComboboxChipContext.d.mts} +0 -0
- /package/{esm/combobox/chips/ComboboxChipsContext.d.ts → combobox/chips/ComboboxChipsContext.d.mts} +0 -0
- /package/{esm/combobox/chips/ComboboxChipsContext.js → combobox/chips/ComboboxChipsContext.mjs} +0 -0
- /package/{esm/combobox/clear/ComboboxClearDataAttributes.d.ts → combobox/clear/ComboboxClearDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/collection/ComboboxCollection.d.ts → combobox/collection/ComboboxCollection.d.mts} +0 -0
- /package/{esm/combobox/collection/GroupCollectionContext.d.ts → combobox/collection/GroupCollectionContext.d.mts} +0 -0
- /package/{esm/combobox/collection/GroupCollectionContext.js → combobox/collection/GroupCollectionContext.mjs} +0 -0
- /package/{esm/combobox/group/ComboboxGroupContext.d.ts → combobox/group/ComboboxGroupContext.d.mts} +0 -0
- /package/{esm/combobox/group/ComboboxGroupContext.js → combobox/group/ComboboxGroupContext.mjs} +0 -0
- /package/{esm/combobox/input/ComboboxInputDataAttributes.d.ts → combobox/input/ComboboxInputDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/input-group/ComboboxInputGroupDataAttributes.d.ts → combobox/input-group/ComboboxInputGroupDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/input-group/ComboboxInputGroupDataAttributes.js → combobox/input-group/ComboboxInputGroupDataAttributes.mjs} +0 -0
- /package/{esm/combobox/item/ComboboxItemContext.d.ts → combobox/item/ComboboxItemContext.d.mts} +0 -0
- /package/{esm/combobox/item/ComboboxItemContext.js → combobox/item/ComboboxItemContext.mjs} +0 -0
- /package/{esm/combobox/item/ComboboxItemDataAttributes.d.ts → combobox/item/ComboboxItemDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/item/ComboboxItemDataAttributes.js → combobox/item/ComboboxItemDataAttributes.mjs} +0 -0
- /package/{esm/combobox/item-indicator/ComboboxItemIndicatorDataAttributes.d.ts → combobox/item-indicator/ComboboxItemIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/popup/ComboboxPopupDataAttributes.d.ts → combobox/popup/ComboboxPopupDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/portal/ComboboxPortalContext.d.ts → combobox/portal/ComboboxPortalContext.d.mts} +0 -0
- /package/{esm/combobox/portal/ComboboxPortalContext.js → combobox/portal/ComboboxPortalContext.mjs} +0 -0
- /package/{esm/combobox/positioner/ComboboxPositionerContext.js → combobox/positioner/ComboboxPositionerContext.mjs} +0 -0
- /package/{esm/combobox/positioner/ComboboxPositionerCssVars.d.ts → combobox/positioner/ComboboxPositionerCssVars.d.mts} +0 -0
- /package/{esm/combobox/positioner/ComboboxPositionerCssVars.js → combobox/positioner/ComboboxPositionerCssVars.mjs} +0 -0
- /package/{esm/combobox/positioner/ComboboxPositionerDataAttributes.d.ts → combobox/positioner/ComboboxPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/root/utils/constants.d.ts → combobox/root/utils/constants.d.mts} +0 -0
- /package/{esm/combobox/root/utils/constants.js → combobox/root/utils/constants.mjs} +0 -0
- /package/{esm/combobox/root/utils/useFilteredItems.d.ts → combobox/root/utils/useFilteredItems.d.mts} +0 -0
- /package/{esm/combobox/row/ComboboxRowContext.d.ts → combobox/row/ComboboxRowContext.d.mts} +0 -0
- /package/{esm/combobox/row/ComboboxRowContext.js → combobox/row/ComboboxRowContext.mjs} +0 -0
- /package/{esm/combobox/trigger/ComboboxTriggerDataAttributes.d.ts → combobox/trigger/ComboboxTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/combobox/utils/ComboboxInternalDismissButton.d.ts → combobox/utils/ComboboxInternalDismissButton.d.mts} +0 -0
- /package/{esm/combobox/utils/useInitialLiveRegionTextMutation.d.ts → combobox/utils/useInitialLiveRegionTextMutation.d.mts} +0 -0
- /package/{esm/combobox/value/ComboboxValue.d.ts → combobox/value/ComboboxValue.d.mts} +0 -0
- /package/{esm/context-menu/root/ContextMenuRootContext.js → context-menu/root/ContextMenuRootContext.mjs} +0 -0
- /package/{esm/context-menu/trigger/ContextMenuTriggerDataAttributes.d.ts → context-menu/trigger/ContextMenuTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/csp-provider/CSPProvider.d.ts → csp-provider/CSPProvider.d.mts} +0 -0
- /package/{esm/dialog/backdrop/DialogBackdropDataAttributes.d.ts → dialog/backdrop/DialogBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/dialog/close/DialogCloseDataAttributes.d.ts → dialog/close/DialogCloseDataAttributes.d.mts} +0 -0
- /package/{esm/dialog/close/DialogCloseDataAttributes.js → dialog/close/DialogCloseDataAttributes.mjs} +0 -0
- /package/{esm/dialog/popup/DialogPopupCssVars.d.ts → dialog/popup/DialogPopupCssVars.d.mts} +0 -0
- /package/{esm/dialog/popup/DialogPopupCssVars.js → dialog/popup/DialogPopupCssVars.mjs} +0 -0
- /package/{esm/dialog/popup/DialogPopupDataAttributes.d.ts → dialog/popup/DialogPopupDataAttributes.d.mts} +0 -0
- /package/{esm/dialog/portal/DialogPortalContext.d.ts → dialog/portal/DialogPortalContext.d.mts} +0 -0
- /package/{esm/dialog/portal/DialogPortalContext.js → dialog/portal/DialogPortalContext.mjs} +0 -0
- /package/{esm/dialog/root/DialogRootContext.js → dialog/root/DialogRootContext.mjs} +0 -0
- /package/{esm/dialog/trigger/DialogTriggerDataAttributes.d.ts → dialog/trigger/DialogTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/dialog/viewport/DialogViewportDataAttributes.d.ts → dialog/viewport/DialogViewportDataAttributes.d.mts} +0 -0
- /package/{esm/drawer/backdrop/DrawerBackdropCssVars.d.ts → drawer/backdrop/DrawerBackdropCssVars.d.mts} +0 -0
- /package/{esm/drawer/backdrop/DrawerBackdropCssVars.js → drawer/backdrop/DrawerBackdropCssVars.mjs} +0 -0
- /package/{esm/drawer/backdrop/DrawerBackdropDataAttributes.d.ts → drawer/backdrop/DrawerBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/drawer/content/DrawerContentDataAttributes.d.ts → drawer/content/DrawerContentDataAttributes.d.mts} +0 -0
- /package/{esm/drawer/content/DrawerContentDataAttributes.js → drawer/content/DrawerContentDataAttributes.mjs} +0 -0
- /package/{esm/drawer/popup/DrawerPopupCssVars.d.ts → drawer/popup/DrawerPopupCssVars.d.mts} +0 -0
- /package/{esm/drawer/popup/DrawerPopupCssVars.js → drawer/popup/DrawerPopupCssVars.mjs} +0 -0
- /package/{esm/drawer/popup/DrawerPopupDataAttributes.d.ts → drawer/popup/DrawerPopupDataAttributes.d.mts} +0 -0
- /package/{esm/drawer/provider/DrawerProvider.d.ts → drawer/provider/DrawerProvider.d.mts} +0 -0
- /package/{esm/drawer/provider/DrawerProviderContext.d.ts → drawer/provider/DrawerProviderContext.d.mts} +0 -0
- /package/{esm/drawer/provider/DrawerProviderContext.js → drawer/provider/DrawerProviderContext.mjs} +0 -0
- /package/{esm/drawer/root/DrawerRootContext.js → drawer/root/DrawerRootContext.mjs} +0 -0
- /package/{esm/drawer/swipe-area/DrawerSwipeAreaDataAttributes.d.ts → drawer/swipe-area/DrawerSwipeAreaDataAttributes.d.mts} +0 -0
- /package/{esm/drawer/viewport/DrawerViewportContext.d.ts → drawer/viewport/DrawerViewportContext.d.mts} +0 -0
- /package/{esm/drawer/viewport/DrawerViewportContext.js → drawer/viewport/DrawerViewportContext.mjs} +0 -0
- /package/{esm/drawer/viewport/DrawerViewportDataAttributes.d.ts → drawer/viewport/DrawerViewportDataAttributes.d.mts} +0 -0
- /package/{esm/field/control/FieldControlDataAttributes.d.ts → field/control/FieldControlDataAttributes.d.mts} +0 -0
- /package/{esm/field/control/FieldControlDataAttributes.js → field/control/FieldControlDataAttributes.mjs} +0 -0
- /package/{esm/field/description/FieldDescriptionDataAttributes.d.ts → field/description/FieldDescriptionDataAttributes.d.mts} +0 -0
- /package/{esm/field/description/FieldDescriptionDataAttributes.js → field/description/FieldDescriptionDataAttributes.mjs} +0 -0
- /package/{esm/field/error/FieldErrorDataAttributes.d.ts → field/error/FieldErrorDataAttributes.d.mts} +0 -0
- /package/{esm/field/item/FieldItemContext.d.ts → field/item/FieldItemContext.d.mts} +0 -0
- /package/{esm/field/item/FieldItemContext.js → field/item/FieldItemContext.mjs} +0 -0
- /package/{esm/field/label/FieldLabelDataAttributes.d.ts → field/label/FieldLabelDataAttributes.d.mts} +0 -0
- /package/{esm/field/label/FieldLabelDataAttributes.js → field/label/FieldLabelDataAttributes.mjs} +0 -0
- /package/{esm/field/root/FieldRootDataAttributes.d.ts → field/root/FieldRootDataAttributes.d.mts} +0 -0
- /package/{esm/field/root/FieldRootDataAttributes.js → field/root/FieldRootDataAttributes.mjs} +0 -0
- /package/{esm/field/utils/getCombinedFieldValidityData.js → field/utils/getCombinedFieldValidityData.mjs} +0 -0
- /package/{esm/floating-ui-react/middleware/arrow.d.ts → floating-ui-react/middleware/arrow.d.mts} +0 -0
- /package/{esm/floating-ui-react/middleware/arrow.js → floating-ui-react/middleware/arrow.mjs} +0 -0
- /package/{esm/floating-ui-react/utils/constants.d.ts → floating-ui-react/utils/constants.d.mts} +0 -0
- /package/{esm/floating-ui-react/utils/constants.js → floating-ui-react/utils/constants.mjs} +0 -0
- /package/{esm/floating-ui-react/utils/createAttribute.d.ts → floating-ui-react/utils/createAttribute.d.mts} +0 -0
- /package/{esm/floating-ui-react/utils/createAttribute.js → floating-ui-react/utils/createAttribute.mjs} +0 -0
- /package/{esm/floating-ui-react/utils/createEventEmitter.js → floating-ui-react/utils/createEventEmitter.mjs} +0 -0
- /package/{esm/floating-ui-react/utils/enqueueFocus.js → floating-ui-react/utils/enqueueFocus.mjs} +0 -0
- /package/{esm/floating-ui-react/utils/event.d.ts → floating-ui-react/utils/event.d.mts} +0 -0
- /package/{esm/floating-ui-react/utils/nodes.js → floating-ui-react/utils/nodes.mjs} +0 -0
- /package/{esm/floating-ui-react/utils/tabbable.d.ts → floating-ui-react/utils/tabbable.d.mts} +0 -0
- /package/{esm/global.d.ts → global.d.mts} +0 -0
- /package/{esm/input/InputDataAttributes.d.ts → input/InputDataAttributes.d.mts} +0 -0
- /package/{esm/input/InputDataAttributes.js → input/InputDataAttributes.mjs} +0 -0
- /package/{esm/internals/RequestQueue.d.ts → internals/RequestQueue.d.mts} +0 -0
- /package/{esm/internals/RequestQueue.js → internals/RequestQueue.mjs} +0 -0
- /package/{esm/internals/TimeoutManager.d.ts → internals/TimeoutManager.d.mts} +0 -0
- /package/{esm/internals/TimeoutManager.js → internals/TimeoutManager.mjs} +0 -0
- /package/{esm/internals/areArraysEqual.d.ts → internals/areArraysEqual.d.mts} +0 -0
- /package/{esm/internals/areArraysEqual.js → internals/areArraysEqual.mjs} +0 -0
- /package/{esm/internals/clamp.d.ts → internals/clamp.d.mts} +0 -0
- /package/{esm/internals/clamp.js → internals/clamp.mjs} +0 -0
- /package/{esm/internals/composite/constants.d.ts → internals/composite/constants.d.mts} +0 -0
- /package/{esm/internals/composite/constants.js → internals/composite/constants.mjs} +0 -0
- /package/{esm/internals/composite/list/CompositeList.d.ts → internals/composite/list/CompositeList.d.mts} +0 -0
- /package/{esm/internals/composite/list/CompositeListContext.d.ts → internals/composite/list/CompositeListContext.d.mts} +0 -0
- /package/{esm/internals/composite/list/CompositeListContext.js → internals/composite/list/CompositeListContext.mjs} +0 -0
- /package/{esm/internals/composite/list/useCompositeListItem.d.ts → internals/composite/list/useCompositeListItem.d.mts} +0 -0
- /package/{esm/internals/composite/root/CompositeRootContext.d.ts → internals/composite/root/CompositeRootContext.d.mts} +0 -0
- /package/{esm/internals/composite/root/CompositeRootContext.js → internals/composite/root/CompositeRootContext.mjs} +0 -0
- /package/{esm/internals/constants.js → internals/constants.mjs} +0 -0
- /package/{esm/internals/csp-context/CSPContext.d.ts → internals/csp-context/CSPContext.d.mts} +0 -0
- /package/{esm/internals/csp-context/CSPContext.js → internals/csp-context/CSPContext.mjs} +0 -0
- /package/{esm/internals/direction-context/DirectionContext.d.ts → internals/direction-context/DirectionContext.d.mts} +0 -0
- /package/{esm/internals/direction-context/DirectionContext.js → internals/direction-context/DirectionContext.mjs} +0 -0
- /package/{esm/internals/filter.d.ts → internals/filter.d.mts} +0 -0
- /package/{esm/internals/getStateAttributesProps.d.ts → internals/getStateAttributesProps.d.mts} +0 -0
- /package/{esm/internals/getStateAttributesProps.js → internals/getStateAttributesProps.mjs} +0 -0
- /package/{esm/internals/itemEquality.d.ts → internals/itemEquality.d.mts} +0 -0
- /package/{esm/internals/itemEquality.js → internals/itemEquality.mjs} +0 -0
- /package/{esm/internals/labelable-provider/LabelableProvider.d.ts → internals/labelable-provider/LabelableProvider.d.mts} +0 -0
- /package/{esm/internals/labelable-provider/useAriaLabelledBy.d.ts → internals/labelable-provider/useAriaLabelledBy.d.mts} +0 -0
- /package/{esm/internals/labelable-provider/useLabel.d.ts → internals/labelable-provider/useLabel.d.mts} +0 -0
- /package/{esm/internals/labelable-provider/useLabelableId.d.ts → internals/labelable-provider/useLabelableId.d.mts} +0 -0
- /package/{esm/internals/noop.d.ts → internals/noop.d.mts} +0 -0
- /package/{esm/internals/noop.js → internals/noop.mjs} +0 -0
- /package/{esm/internals/reason-parts.js → internals/reason-parts.mjs} +0 -0
- /package/{esm/internals/resolveValueLabel.d.ts → internals/resolveValueLabel.d.mts} +0 -0
- /package/{esm/internals/serializeValue.d.ts → internals/serializeValue.d.mts} +0 -0
- /package/{esm/internals/serializeValue.js → internals/serializeValue.mjs} +0 -0
- /package/{esm/internals/shadowDom.d.ts → internals/shadowDom.d.mts} +0 -0
- /package/{esm/internals/shadowDom.js → internals/shadowDom.mjs} +0 -0
- /package/{esm/internals/stateAttributesMapping.js → internals/stateAttributesMapping.mjs} +0 -0
- /package/{esm/internals/temporal/temporal-adapter.js → internals/temporal/temporal-adapter.mjs} +0 -0
- /package/{esm/internals/temporal/temporal.d.ts → internals/temporal/temporal.d.mts} +0 -0
- /package/{esm/internals/temporal/temporal.js → internals/temporal/temporal.mjs} +0 -0
- /package/{esm/internals/temporal-adapter-date-fns/TemporalAdapterDateFns.js → internals/temporal-adapter-date-fns/TemporalAdapterDateFns.mjs} +0 -0
- /package/{esm/internals/temporal-adapter-luxon/TemporalAdapterLuxon.js → internals/temporal-adapter-luxon/TemporalAdapterLuxon.mjs} +0 -0
- /package/{esm/internals/types.js → internals/types.mjs} +0 -0
- /package/{esm/internals/use-button/useButton.d.ts → internals/use-button/useButton.d.mts} +0 -0
- /package/{esm/internals/useAnimationsFinished.d.ts → internals/useAnimationsFinished.d.mts} +0 -0
- /package/{esm/internals/useBaseUiId.d.ts → internals/useBaseUiId.d.mts} +0 -0
- /package/{esm/internals/useBaseUiId.js → internals/useBaseUiId.mjs} +0 -0
- /package/{esm/internals/useOpenChangeComplete.d.ts → internals/useOpenChangeComplete.d.mts} +0 -0
- /package/{esm/internals/useTransitionStatus.d.ts → internals/useTransitionStatus.d.mts} +0 -0
- /package/{esm/internals/useTransitionStatus.js → internals/useTransitionStatus.mjs} +0 -0
- /package/{esm/internals/useValueChanged.d.ts → internals/useValueChanged.d.mts} +0 -0
- /package/{esm/internals/useValueChanged.js → internals/useValueChanged.mjs} +0 -0
- /package/{esm/menu/arrow/MenuArrowDataAttributes.d.ts → menu/arrow/MenuArrowDataAttributes.d.mts} +0 -0
- /package/{esm/menu/backdrop/MenuBackdropDataAttributes.d.ts → menu/backdrop/MenuBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/menu/checkbox-item/MenuCheckboxItemContext.d.ts → menu/checkbox-item/MenuCheckboxItemContext.d.mts} +0 -0
- /package/{esm/menu/checkbox-item/MenuCheckboxItemContext.js → menu/checkbox-item/MenuCheckboxItemContext.mjs} +0 -0
- /package/{esm/menu/checkbox-item/MenuCheckboxItemDataAttributes.d.ts → menu/checkbox-item/MenuCheckboxItemDataAttributes.d.mts} +0 -0
- /package/{esm/menu/checkbox-item/MenuCheckboxItemDataAttributes.js → menu/checkbox-item/MenuCheckboxItemDataAttributes.mjs} +0 -0
- /package/{esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicatorDataAttributes.d.ts → menu/checkbox-item-indicator/MenuCheckboxItemIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/menu/group/MenuGroupContext.d.ts → menu/group/MenuGroupContext.d.mts} +0 -0
- /package/{esm/menu/group/MenuGroupContext.js → menu/group/MenuGroupContext.mjs} +0 -0
- /package/{esm/menu/item/MenuItemDataAttributes.d.ts → menu/item/MenuItemDataAttributes.d.mts} +0 -0
- /package/{esm/menu/item/MenuItemDataAttributes.js → menu/item/MenuItemDataAttributes.mjs} +0 -0
- /package/{esm/menu/link-item/MenuLinkItemDataAttributes.d.ts → menu/link-item/MenuLinkItemDataAttributes.d.mts} +0 -0
- /package/{esm/menu/link-item/MenuLinkItemDataAttributes.js → menu/link-item/MenuLinkItemDataAttributes.mjs} +0 -0
- /package/{esm/menu/popup/MenuPopupDataAttributes.d.ts → menu/popup/MenuPopupDataAttributes.d.mts} +0 -0
- /package/{esm/menu/portal/MenuPortalContext.d.ts → menu/portal/MenuPortalContext.d.mts} +0 -0
- /package/{esm/menu/portal/MenuPortalContext.js → menu/portal/MenuPortalContext.mjs} +0 -0
- /package/{esm/menu/positioner/MenuPositionerContext.js → menu/positioner/MenuPositionerContext.mjs} +0 -0
- /package/{esm/menu/positioner/MenuPositionerCssVars.d.ts → menu/positioner/MenuPositionerCssVars.d.mts} +0 -0
- /package/{esm/menu/positioner/MenuPositionerCssVars.js → menu/positioner/MenuPositionerCssVars.mjs} +0 -0
- /package/{esm/menu/positioner/MenuPositionerDataAttributes.d.ts → menu/positioner/MenuPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/menu/radio-group/MenuRadioGroupContext.js → menu/radio-group/MenuRadioGroupContext.mjs} +0 -0
- /package/{esm/menu/radio-item/MenuRadioItemContext.d.ts → menu/radio-item/MenuRadioItemContext.d.mts} +0 -0
- /package/{esm/menu/radio-item/MenuRadioItemContext.js → menu/radio-item/MenuRadioItemContext.mjs} +0 -0
- /package/{esm/menu/radio-item/MenuRadioItemDataAttributes.d.ts → menu/radio-item/MenuRadioItemDataAttributes.d.mts} +0 -0
- /package/{esm/menu/radio-item/MenuRadioItemDataAttributes.js → menu/radio-item/MenuRadioItemDataAttributes.mjs} +0 -0
- /package/{esm/menu/radio-item-indicator/MenuRadioItemIndicatorDataAttributes.d.ts → menu/radio-item-indicator/MenuRadioItemIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/menu/root/MenuRootContext.js → menu/root/MenuRootContext.mjs} +0 -0
- /package/{esm/menu/submenu-root/MenuSubmenuRootContext.js → menu/submenu-root/MenuSubmenuRootContext.mjs} +0 -0
- /package/{esm/menu/submenu-trigger/MenuSubmenuTriggerDataAttributes.d.ts → menu/submenu-trigger/MenuSubmenuTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/menu/trigger/MenuTriggerDataAttributes.d.ts → menu/trigger/MenuTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/menu/utils/findRootOwnerId.d.ts → menu/utils/findRootOwnerId.d.mts} +0 -0
- /package/{esm/menu/utils/findRootOwnerId.js → menu/utils/findRootOwnerId.mjs} +0 -0
- /package/{esm/menu/utils/types.js → menu/utils/types.mjs} +0 -0
- /package/{esm/menu/viewport/MenuViewportCssVars.d.ts → menu/viewport/MenuViewportCssVars.d.mts} +0 -0
- /package/{esm/menu/viewport/MenuViewportCssVars.js → menu/viewport/MenuViewportCssVars.mjs} +0 -0
- /package/{esm/menubar/MenubarContext.js → menubar/MenubarContext.mjs} +0 -0
- /package/{esm/menubar/MenubarDataAttributes.d.ts → menubar/MenubarDataAttributes.d.mts} +0 -0
- /package/{esm/menubar/MenubarDataAttributes.js → menubar/MenubarDataAttributes.mjs} +0 -0
- /package/{esm/merge-props/mergeProps.js → merge-props/mergeProps.mjs} +0 -0
- /package/{esm/meter/root/MeterRootContext.js → meter/root/MeterRootContext.mjs} +0 -0
- /package/{esm/navigation-menu/arrow/NavigationMenuArrowDataAttributes.d.ts → navigation-menu/arrow/NavigationMenuArrowDataAttributes.d.mts} +0 -0
- /package/{esm/navigation-menu/backdrop/NavigationMenuBackdropDataAttributes.d.ts → navigation-menu/backdrop/NavigationMenuBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/navigation-menu/item/NavigationMenuItemContext.d.ts → navigation-menu/item/NavigationMenuItemContext.d.mts} +0 -0
- /package/{esm/navigation-menu/item/NavigationMenuItemContext.js → navigation-menu/item/NavigationMenuItemContext.mjs} +0 -0
- /package/{esm/navigation-menu/link/NavigationMenuLinkDataAttributes.d.ts → navigation-menu/link/NavigationMenuLinkDataAttributes.d.mts} +0 -0
- /package/{esm/navigation-menu/link/NavigationMenuLinkDataAttributes.js → navigation-menu/link/NavigationMenuLinkDataAttributes.mjs} +0 -0
- /package/{esm/navigation-menu/list/NavigationMenuDismissContext.js → navigation-menu/list/NavigationMenuDismissContext.mjs} +0 -0
- /package/{esm/navigation-menu/popup/NavigationMenuPopupCssVars.d.ts → navigation-menu/popup/NavigationMenuPopupCssVars.d.mts} +0 -0
- /package/{esm/navigation-menu/popup/NavigationMenuPopupCssVars.js → navigation-menu/popup/NavigationMenuPopupCssVars.mjs} +0 -0
- /package/{esm/navigation-menu/portal/NavigationMenuPortalContext.d.ts → navigation-menu/portal/NavigationMenuPortalContext.d.mts} +0 -0
- /package/{esm/navigation-menu/portal/NavigationMenuPortalContext.js → navigation-menu/portal/NavigationMenuPortalContext.mjs} +0 -0
- /package/{esm/navigation-menu/positioner/NavigationMenuPositionerContext.js → navigation-menu/positioner/NavigationMenuPositionerContext.mjs} +0 -0
- /package/{esm/navigation-menu/positioner/NavigationMenuPositionerCssVars.d.ts → navigation-menu/positioner/NavigationMenuPositionerCssVars.d.mts} +0 -0
- /package/{esm/navigation-menu/positioner/NavigationMenuPositionerCssVars.js → navigation-menu/positioner/NavigationMenuPositionerCssVars.mjs} +0 -0
- /package/{esm/navigation-menu/positioner/NavigationMenuPositionerDataAttributes.d.ts → navigation-menu/positioner/NavigationMenuPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/navigation-menu/root/NavigationMenuRootContext.js → navigation-menu/root/NavigationMenuRootContext.mjs} +0 -0
- /package/{esm/navigation-menu/trigger/NavigationMenuTriggerDataAttributes.d.ts → navigation-menu/trigger/NavigationMenuTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/navigation-menu/utils/constants.d.ts → navigation-menu/utils/constants.d.mts} +0 -0
- /package/{esm/navigation-menu/utils/constants.js → navigation-menu/utils/constants.mjs} +0 -0
- /package/{esm/number-field/decrement/NumberFieldDecrementDataAttributes.d.ts → number-field/decrement/NumberFieldDecrementDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/decrement/NumberFieldDecrementDataAttributes.js → number-field/decrement/NumberFieldDecrementDataAttributes.mjs} +0 -0
- /package/{esm/number-field/group/NumberFieldGroupDataAttributes.d.ts → number-field/group/NumberFieldGroupDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/group/NumberFieldGroupDataAttributes.js → number-field/group/NumberFieldGroupDataAttributes.mjs} +0 -0
- /package/{esm/number-field/increment/NumberFieldIncrementDataAttributes.d.ts → number-field/increment/NumberFieldIncrementDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/increment/NumberFieldIncrementDataAttributes.js → number-field/increment/NumberFieldIncrementDataAttributes.mjs} +0 -0
- /package/{esm/number-field/input/NumberFieldInputDataAttributes.d.ts → number-field/input/NumberFieldInputDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/input/NumberFieldInputDataAttributes.js → number-field/input/NumberFieldInputDataAttributes.mjs} +0 -0
- /package/{esm/number-field/root/NumberFieldRootContext.js → number-field/root/NumberFieldRootContext.mjs} +0 -0
- /package/{esm/number-field/root/NumberFieldRootDataAttributes.d.ts → number-field/root/NumberFieldRootDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/root/NumberFieldRootDataAttributes.js → number-field/root/NumberFieldRootDataAttributes.mjs} +0 -0
- /package/{esm/number-field/scrub-area/NumberFieldScrubAreaContext.js → number-field/scrub-area/NumberFieldScrubAreaContext.mjs} +0 -0
- /package/{esm/number-field/scrub-area/NumberFieldScrubAreaDataAttributes.d.ts → number-field/scrub-area/NumberFieldScrubAreaDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/scrub-area/NumberFieldScrubAreaDataAttributes.js → number-field/scrub-area/NumberFieldScrubAreaDataAttributes.mjs} +0 -0
- /package/{esm/number-field/scrub-area-cursor/NumberFieldScrubAreaCursorDataAttributes.d.ts → number-field/scrub-area-cursor/NumberFieldScrubAreaCursorDataAttributes.d.mts} +0 -0
- /package/{esm/number-field/scrub-area-cursor/NumberFieldScrubAreaCursorDataAttributes.js → number-field/scrub-area-cursor/NumberFieldScrubAreaCursorDataAttributes.mjs} +0 -0
- /package/{esm/number-field/utils/subscribeToVisualViewportResize.d.ts → number-field/utils/subscribeToVisualViewportResize.d.mts} +0 -0
- /package/{esm/number-field/utils/subscribeToVisualViewportResize.js → number-field/utils/subscribeToVisualViewportResize.mjs} +0 -0
- /package/{esm/number-field/utils/types.d.ts → number-field/utils/types.d.mts} +0 -0
- /package/{esm/number-field/utils/types.js → number-field/utils/types.mjs} +0 -0
- /package/{esm/otp-field/input/OTPFieldInputDataAttributes.d.ts → otp-field/input/OTPFieldInputDataAttributes.d.mts} +0 -0
- /package/{esm/otp-field/input/OTPFieldInputDataAttributes.js → otp-field/input/OTPFieldInputDataAttributes.mjs} +0 -0
- /package/{esm/otp-field/root/OTPFieldRootContext.js → otp-field/root/OTPFieldRootContext.mjs} +0 -0
- /package/{esm/otp-field/root/OTPFieldRootDataAttributes.d.ts → otp-field/root/OTPFieldRootDataAttributes.d.mts} +0 -0
- /package/{esm/otp-field/root/OTPFieldRootDataAttributes.js → otp-field/root/OTPFieldRootDataAttributes.mjs} +0 -0
- /package/{esm/otp-field/utils/otp.d.ts → otp-field/utils/otp.d.mts} +0 -0
- /package/{esm/otp-field/utils/otp.js → otp-field/utils/otp.mjs} +0 -0
- /package/{esm/popover/arrow/PopoverArrowDataAttributes.d.ts → popover/arrow/PopoverArrowDataAttributes.d.mts} +0 -0
- /package/{esm/popover/backdrop/PopoverBackdropDataAttributes.d.ts → popover/backdrop/PopoverBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/popover/popup/PopoverPopupCssVars.d.ts → popover/popup/PopoverPopupCssVars.d.mts} +0 -0
- /package/{esm/popover/popup/PopoverPopupCssVars.js → popover/popup/PopoverPopupCssVars.mjs} +0 -0
- /package/{esm/popover/popup/PopoverPopupDataAttributes.d.ts → popover/popup/PopoverPopupDataAttributes.d.mts} +0 -0
- /package/{esm/popover/portal/PopoverPortalContext.d.ts → popover/portal/PopoverPortalContext.d.mts} +0 -0
- /package/{esm/popover/portal/PopoverPortalContext.js → popover/portal/PopoverPortalContext.mjs} +0 -0
- /package/{esm/popover/positioner/PopoverPositionerContext.js → popover/positioner/PopoverPositionerContext.mjs} +0 -0
- /package/{esm/popover/positioner/PopoverPositionerCssVars.d.ts → popover/positioner/PopoverPositionerCssVars.d.mts} +0 -0
- /package/{esm/popover/positioner/PopoverPositionerCssVars.js → popover/positioner/PopoverPositionerCssVars.mjs} +0 -0
- /package/{esm/popover/positioner/PopoverPositionerDataAttributes.d.ts → popover/positioner/PopoverPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/popover/root/PopoverRootContext.js → popover/root/PopoverRootContext.mjs} +0 -0
- /package/{esm/popover/trigger/PopoverTriggerDataAttributes.d.ts → popover/trigger/PopoverTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/popover/utils/constants.d.ts → popover/utils/constants.d.mts} +0 -0
- /package/{esm/popover/utils/constants.js → popover/utils/constants.mjs} +0 -0
- /package/{esm/popover/viewport/PopoverViewportCssVars.d.ts → popover/viewport/PopoverViewportCssVars.d.mts} +0 -0
- /package/{esm/popover/viewport/PopoverViewportCssVars.js → popover/viewport/PopoverViewportCssVars.mjs} +0 -0
- /package/{esm/preview-card/arrow/PreviewCardArrowDataAttributes.d.ts → preview-card/arrow/PreviewCardArrowDataAttributes.d.mts} +0 -0
- /package/{esm/preview-card/backdrop/PreviewCardBackdropDataAttributes.d.ts → preview-card/backdrop/PreviewCardBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/preview-card/popup/PreviewCardPopupDataAttributes.d.ts → preview-card/popup/PreviewCardPopupDataAttributes.d.mts} +0 -0
- /package/{esm/preview-card/portal/PreviewCardPortalContext.d.ts → preview-card/portal/PreviewCardPortalContext.d.mts} +0 -0
- /package/{esm/preview-card/portal/PreviewCardPortalContext.js → preview-card/portal/PreviewCardPortalContext.mjs} +0 -0
- /package/{esm/preview-card/positioner/PreviewCardPositionerContext.js → preview-card/positioner/PreviewCardPositionerContext.mjs} +0 -0
- /package/{esm/preview-card/positioner/PreviewCardPositionerCssVars.d.ts → preview-card/positioner/PreviewCardPositionerCssVars.d.mts} +0 -0
- /package/{esm/preview-card/positioner/PreviewCardPositionerCssVars.js → preview-card/positioner/PreviewCardPositionerCssVars.mjs} +0 -0
- /package/{esm/preview-card/positioner/PreviewCardPositionerDataAttributes.d.ts → preview-card/positioner/PreviewCardPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/preview-card/root/PreviewCardContext.js → preview-card/root/PreviewCardContext.mjs} +0 -0
- /package/{esm/preview-card/trigger/PreviewCardTriggerDataAttributes.d.ts → preview-card/trigger/PreviewCardTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/preview-card/utils/constants.d.ts → preview-card/utils/constants.d.mts} +0 -0
- /package/{esm/preview-card/utils/constants.js → preview-card/utils/constants.mjs} +0 -0
- /package/{esm/preview-card/viewport/PreviewCardViewportCssVars.d.ts → preview-card/viewport/PreviewCardViewportCssVars.d.mts} +0 -0
- /package/{esm/preview-card/viewport/PreviewCardViewportCssVars.js → preview-card/viewport/PreviewCardViewportCssVars.mjs} +0 -0
- /package/{esm/progress/indicator/ProgressIndicatorDataAttributes.d.ts → progress/indicator/ProgressIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/progress/indicator/ProgressIndicatorDataAttributes.js → progress/indicator/ProgressIndicatorDataAttributes.mjs} +0 -0
- /package/{esm/progress/label/ProgressLabelDataAttributes.d.ts → progress/label/ProgressLabelDataAttributes.d.mts} +0 -0
- /package/{esm/progress/label/ProgressLabelDataAttributes.js → progress/label/ProgressLabelDataAttributes.mjs} +0 -0
- /package/{esm/progress/root/ProgressRootContext.js → progress/root/ProgressRootContext.mjs} +0 -0
- /package/{esm/progress/root/ProgressRootDataAttributes.d.ts → progress/root/ProgressRootDataAttributes.d.mts} +0 -0
- /package/{esm/progress/root/ProgressRootDataAttributes.js → progress/root/ProgressRootDataAttributes.mjs} +0 -0
- /package/{esm/progress/track/ProgressTrackDataAttributes.d.ts → progress/track/ProgressTrackDataAttributes.d.mts} +0 -0
- /package/{esm/progress/track/ProgressTrackDataAttributes.js → progress/track/ProgressTrackDataAttributes.mjs} +0 -0
- /package/{esm/progress/value/ProgressValueDataAttributes.d.ts → progress/value/ProgressValueDataAttributes.d.mts} +0 -0
- /package/{esm/progress/value/ProgressValueDataAttributes.js → progress/value/ProgressValueDataAttributes.mjs} +0 -0
- /package/{esm/radio/indicator/RadioIndicatorDataAttributes.d.ts → radio/indicator/RadioIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/radio/root/RadioRootContext.js → radio/root/RadioRootContext.mjs} +0 -0
- /package/{esm/radio/root/RadioRootDataAttributes.d.ts → radio/root/RadioRootDataAttributes.d.mts} +0 -0
- /package/{esm/radio/root/RadioRootDataAttributes.js → radio/root/RadioRootDataAttributes.mjs} +0 -0
- /package/{esm/radio-group/RadioGroupContext.js → radio-group/RadioGroupContext.mjs} +0 -0
- /package/{esm/radio-group/RadioGroupDataAttributes.d.ts → radio-group/RadioGroupDataAttributes.d.mts} +0 -0
- /package/{esm/radio-group/RadioGroupDataAttributes.js → radio-group/RadioGroupDataAttributes.mjs} +0 -0
- /package/{esm/scroll-area/constants.d.ts → scroll-area/constants.d.mts} +0 -0
- /package/{esm/scroll-area/constants.js → scroll-area/constants.mjs} +0 -0
- /package/{esm/scroll-area/root/ScrollAreaRootContext.js → scroll-area/root/ScrollAreaRootContext.mjs} +0 -0
- /package/{esm/scroll-area/root/ScrollAreaRootCssVars.d.ts → scroll-area/root/ScrollAreaRootCssVars.d.mts} +0 -0
- /package/{esm/scroll-area/root/ScrollAreaRootCssVars.js → scroll-area/root/ScrollAreaRootCssVars.mjs} +0 -0
- /package/{esm/scroll-area/root/ScrollAreaRootDataAttributes.d.ts → scroll-area/root/ScrollAreaRootDataAttributes.d.mts} +0 -0
- /package/{esm/scroll-area/root/ScrollAreaRootDataAttributes.js → scroll-area/root/ScrollAreaRootDataAttributes.mjs} +0 -0
- /package/{esm/scroll-area/scrollbar/ScrollAreaScrollbarContext.d.ts → scroll-area/scrollbar/ScrollAreaScrollbarContext.d.mts} +0 -0
- /package/{esm/scroll-area/scrollbar/ScrollAreaScrollbarContext.js → scroll-area/scrollbar/ScrollAreaScrollbarContext.mjs} +0 -0
- /package/{esm/scroll-area/scrollbar/ScrollAreaScrollbarCssVars.d.ts → scroll-area/scrollbar/ScrollAreaScrollbarCssVars.d.mts} +0 -0
- /package/{esm/scroll-area/scrollbar/ScrollAreaScrollbarCssVars.js → scroll-area/scrollbar/ScrollAreaScrollbarCssVars.mjs} +0 -0
- /package/{esm/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.d.ts → scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.d.mts} +0 -0
- /package/{esm/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.js → scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.mjs} +0 -0
- /package/{esm/scroll-area/utils/getOffset.d.ts → scroll-area/utils/getOffset.d.mts} +0 -0
- /package/{esm/scroll-area/utils/getOffset.js → scroll-area/utils/getOffset.mjs} +0 -0
- /package/{esm/scroll-area/viewport/ScrollAreaViewportContext.d.ts → scroll-area/viewport/ScrollAreaViewportContext.d.mts} +0 -0
- /package/{esm/scroll-area/viewport/ScrollAreaViewportContext.js → scroll-area/viewport/ScrollAreaViewportContext.mjs} +0 -0
- /package/{esm/scroll-area/viewport/ScrollAreaViewportCssVars.d.ts → scroll-area/viewport/ScrollAreaViewportCssVars.d.mts} +0 -0
- /package/{esm/scroll-area/viewport/ScrollAreaViewportCssVars.js → scroll-area/viewport/ScrollAreaViewportCssVars.mjs} +0 -0
- /package/{esm/scroll-area/viewport/ScrollAreaViewportDataAttributes.d.ts → scroll-area/viewport/ScrollAreaViewportDataAttributes.d.mts} +0 -0
- /package/{esm/scroll-area/viewport/ScrollAreaViewportDataAttributes.js → scroll-area/viewport/ScrollAreaViewportDataAttributes.mjs} +0 -0
- /package/{esm/select/arrow/SelectArrowDataAttributes.d.ts → select/arrow/SelectArrowDataAttributes.d.mts} +0 -0
- /package/{esm/select/backdrop/SelectBackdropDataAttributes.d.ts → select/backdrop/SelectBackdropDataAttributes.d.mts} +0 -0
- /package/{esm/select/group/SelectGroupContext.d.ts → select/group/SelectGroupContext.d.mts} +0 -0
- /package/{esm/select/group/SelectGroupContext.js → select/group/SelectGroupContext.mjs} +0 -0
- /package/{esm/select/icon/SelectIconDataAttributes.d.ts → select/icon/SelectIconDataAttributes.d.mts} +0 -0
- /package/{esm/select/item/SelectItemContext.d.ts → select/item/SelectItemContext.d.mts} +0 -0
- /package/{esm/select/item/SelectItemContext.js → select/item/SelectItemContext.mjs} +0 -0
- /package/{esm/select/item/SelectItemDataAttributes.d.ts → select/item/SelectItemDataAttributes.d.mts} +0 -0
- /package/{esm/select/item/SelectItemDataAttributes.js → select/item/SelectItemDataAttributes.mjs} +0 -0
- /package/{esm/select/item-indicator/SelectItemIndicatorDataAttributes.d.ts → select/item-indicator/SelectItemIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/select/popup/SelectPopupDataAttributes.d.ts → select/popup/SelectPopupDataAttributes.d.mts} +0 -0
- /package/{esm/select/popup/utils.js → select/popup/utils.mjs} +0 -0
- /package/{esm/select/portal/SelectPortalContext.d.ts → select/portal/SelectPortalContext.d.mts} +0 -0
- /package/{esm/select/portal/SelectPortalContext.js → select/portal/SelectPortalContext.mjs} +0 -0
- /package/{esm/select/positioner/SelectPositionerContext.js → select/positioner/SelectPositionerContext.mjs} +0 -0
- /package/{esm/select/positioner/SelectPositionerCssVars.d.ts → select/positioner/SelectPositionerCssVars.d.mts} +0 -0
- /package/{esm/select/positioner/SelectPositionerCssVars.js → select/positioner/SelectPositionerCssVars.mjs} +0 -0
- /package/{esm/select/positioner/SelectPositionerDataAttributes.d.ts → select/positioner/SelectPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/select/root/SelectRootContext.js → select/root/SelectRootContext.mjs} +0 -0
- /package/{esm/select/scroll-down-arrow/SelectScrollDownArrowDataAttributes.d.ts → select/scroll-down-arrow/SelectScrollDownArrowDataAttributes.d.mts} +0 -0
- /package/{esm/select/scroll-up-arrow/SelectScrollUpArrowDataAttributes.d.ts → select/scroll-up-arrow/SelectScrollUpArrowDataAttributes.d.mts} +0 -0
- /package/{esm/select/trigger/SelectTriggerDataAttributes.d.ts → select/trigger/SelectTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/select/value/SelectValueDataAttributes.d.ts → select/value/SelectValueDataAttributes.d.mts} +0 -0
- /package/{esm/select/value/SelectValueDataAttributes.js → select/value/SelectValueDataAttributes.mjs} +0 -0
- /package/{esm/separator/SeparatorDataAttributes.d.ts → separator/SeparatorDataAttributes.d.mts} +0 -0
- /package/{esm/separator/SeparatorDataAttributes.js → separator/SeparatorDataAttributes.mjs} +0 -0
- /package/{esm/slider/control/SliderControlDataAttributes.d.ts → slider/control/SliderControlDataAttributes.d.mts} +0 -0
- /package/{esm/slider/control/SliderControlDataAttributes.js → slider/control/SliderControlDataAttributes.mjs} +0 -0
- /package/{esm/slider/indicator/SliderIndicatorDataAttributes.d.ts → slider/indicator/SliderIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/slider/indicator/SliderIndicatorDataAttributes.js → slider/indicator/SliderIndicatorDataAttributes.mjs} +0 -0
- /package/{esm/slider/root/SliderRootContext.js → slider/root/SliderRootContext.mjs} +0 -0
- /package/{esm/slider/root/SliderRootDataAttributes.d.ts → slider/root/SliderRootDataAttributes.d.mts} +0 -0
- /package/{esm/slider/root/SliderRootDataAttributes.js → slider/root/SliderRootDataAttributes.mjs} +0 -0
- /package/{esm/slider/thumb/SliderThumbDataAttributes.d.ts → slider/thumb/SliderThumbDataAttributes.d.mts} +0 -0
- /package/{esm/slider/thumb/SliderThumbDataAttributes.js → slider/thumb/SliderThumbDataAttributes.mjs} +0 -0
- /package/{esm/slider/thumb/prehydrationScript.min.d.ts → slider/thumb/prehydrationScript.min.d.mts} +0 -0
- /package/{esm/slider/thumb/prehydrationScript.min.js → slider/thumb/prehydrationScript.min.mjs} +0 -0
- /package/{esm/slider/track/SliderTrackDataAttributes.d.ts → slider/track/SliderTrackDataAttributes.d.mts} +0 -0
- /package/{esm/slider/track/SliderTrackDataAttributes.js → slider/track/SliderTrackDataAttributes.mjs} +0 -0
- /package/{esm/slider/utils/asc.d.ts → slider/utils/asc.d.mts} +0 -0
- /package/{esm/slider/utils/asc.js → slider/utils/asc.mjs} +0 -0
- /package/{esm/slider/utils/getMidpoint.js → slider/utils/getMidpoint.mjs} +0 -0
- /package/{esm/slider/utils/getPushedThumbValues.d.ts → slider/utils/getPushedThumbValues.d.mts} +0 -0
- /package/{esm/slider/utils/getSliderValue.d.ts → slider/utils/getSliderValue.d.mts} +0 -0
- /package/{esm/slider/utils/replaceArrayItemAtIndex.d.ts → slider/utils/replaceArrayItemAtIndex.d.mts} +0 -0
- /package/{esm/slider/utils/roundValueToStep.d.ts → slider/utils/roundValueToStep.d.mts} +0 -0
- /package/{esm/slider/utils/roundValueToStep.js → slider/utils/roundValueToStep.mjs} +0 -0
- /package/{esm/slider/utils/test-utils.d.ts → slider/utils/test-utils.d.mts} +0 -0
- /package/{esm/slider/utils/test-utils.js → slider/utils/test-utils.mjs} +0 -0
- /package/{esm/slider/utils/validateMinimumDistance.d.ts → slider/utils/validateMinimumDistance.d.mts} +0 -0
- /package/{esm/slider/utils/validateMinimumDistance.js → slider/utils/validateMinimumDistance.mjs} +0 -0
- /package/{esm/slider/utils/valueArrayToPercentages.d.ts → slider/utils/valueArrayToPercentages.d.mts} +0 -0
- /package/{esm/slider/value/SliderValueDataAttributes.d.ts → slider/value/SliderValueDataAttributes.d.mts} +0 -0
- /package/{esm/slider/value/SliderValueDataAttributes.js → slider/value/SliderValueDataAttributes.mjs} +0 -0
- /package/{esm/switch/root/SwitchRootContext.js → switch/root/SwitchRootContext.mjs} +0 -0
- /package/{esm/switch/root/SwitchRootDataAttributes.d.ts → switch/root/SwitchRootDataAttributes.d.mts} +0 -0
- /package/{esm/switch/root/SwitchRootDataAttributes.js → switch/root/SwitchRootDataAttributes.mjs} +0 -0
- /package/{esm/switch/thumb/SwitchThumbDataAttributes.d.ts → switch/thumb/SwitchThumbDataAttributes.d.mts} +0 -0
- /package/{esm/switch/thumb/SwitchThumbDataAttributes.js → switch/thumb/SwitchThumbDataAttributes.mjs} +0 -0
- /package/{esm/tabs/indicator/TabsIndicatorCssVars.d.ts → tabs/indicator/TabsIndicatorCssVars.d.mts} +0 -0
- /package/{esm/tabs/indicator/TabsIndicatorCssVars.js → tabs/indicator/TabsIndicatorCssVars.mjs} +0 -0
- /package/{esm/tabs/indicator/TabsIndicatorDataAttributes.d.ts → tabs/indicator/TabsIndicatorDataAttributes.d.mts} +0 -0
- /package/{esm/tabs/indicator/TabsIndicatorDataAttributes.js → tabs/indicator/TabsIndicatorDataAttributes.mjs} +0 -0
- /package/{esm/tabs/indicator/prehydrationScript.min.d.ts → tabs/indicator/prehydrationScript.min.d.mts} +0 -0
- /package/{esm/tabs/indicator/prehydrationScript.min.js → tabs/indicator/prehydrationScript.min.mjs} +0 -0
- /package/{esm/tabs/list/TabsListContext.js → tabs/list/TabsListContext.mjs} +0 -0
- /package/{esm/tabs/list/TabsListDataAttributes.d.ts → tabs/list/TabsListDataAttributes.d.mts} +0 -0
- /package/{esm/tabs/list/TabsListDataAttributes.js → tabs/list/TabsListDataAttributes.mjs} +0 -0
- /package/{esm/tabs/panel/TabsPanelDataAttributes.d.ts → tabs/panel/TabsPanelDataAttributes.d.mts} +0 -0
- /package/{esm/tabs/root/TabsRootContext.js → tabs/root/TabsRootContext.mjs} +0 -0
- /package/{esm/tabs/root/TabsRootDataAttributes.d.ts → tabs/root/TabsRootDataAttributes.d.mts} +0 -0
- /package/{esm/tabs/root/TabsRootDataAttributes.js → tabs/root/TabsRootDataAttributes.mjs} +0 -0
- /package/{esm/tabs/tab/TabsTabDataAttributes.d.ts → tabs/tab/TabsTabDataAttributes.d.mts} +0 -0
- /package/{esm/tabs/tab/TabsTabDataAttributes.js → tabs/tab/TabsTabDataAttributes.mjs} +0 -0
- /package/{esm/toast/action/ToastActionDataAttributes.d.ts → toast/action/ToastActionDataAttributes.d.mts} +0 -0
- /package/{esm/toast/action/ToastActionDataAttributes.js → toast/action/ToastActionDataAttributes.mjs} +0 -0
- /package/{esm/toast/arrow/ToastArrowDataAttributes.d.ts → toast/arrow/ToastArrowDataAttributes.d.mts} +0 -0
- /package/{esm/toast/close/ToastCloseDataAttributes.d.ts → toast/close/ToastCloseDataAttributes.d.mts} +0 -0
- /package/{esm/toast/close/ToastCloseDataAttributes.js → toast/close/ToastCloseDataAttributes.mjs} +0 -0
- /package/{esm/toast/content/ToastContentDataAttributes.d.ts → toast/content/ToastContentDataAttributes.d.mts} +0 -0
- /package/{esm/toast/content/ToastContentDataAttributes.js → toast/content/ToastContentDataAttributes.mjs} +0 -0
- /package/{esm/toast/createToastManager.js → toast/createToastManager.mjs} +0 -0
- /package/{esm/toast/description/ToastDescriptionDataAttributes.d.ts → toast/description/ToastDescriptionDataAttributes.d.mts} +0 -0
- /package/{esm/toast/description/ToastDescriptionDataAttributes.js → toast/description/ToastDescriptionDataAttributes.mjs} +0 -0
- /package/{esm/toast/positioner/ToastPositionerContext.js → toast/positioner/ToastPositionerContext.mjs} +0 -0
- /package/{esm/toast/positioner/ToastPositionerCssVars.d.ts → toast/positioner/ToastPositionerCssVars.d.mts} +0 -0
- /package/{esm/toast/positioner/ToastPositionerCssVars.js → toast/positioner/ToastPositionerCssVars.mjs} +0 -0
- /package/{esm/toast/positioner/ToastPositionerDataAttributes.d.ts → toast/positioner/ToastPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/toast/provider/ToastProviderContext.js → toast/provider/ToastProviderContext.mjs} +0 -0
- /package/{esm/toast/root/ToastRootContext.js → toast/root/ToastRootContext.mjs} +0 -0
- /package/{esm/toast/root/ToastRootCssVars.d.ts → toast/root/ToastRootCssVars.d.mts} +0 -0
- /package/{esm/toast/root/ToastRootCssVars.js → toast/root/ToastRootCssVars.mjs} +0 -0
- /package/{esm/toast/root/ToastRootDataAttributes.d.ts → toast/root/ToastRootDataAttributes.d.mts} +0 -0
- /package/{esm/toast/title/ToastTitleDataAttributes.d.ts → toast/title/ToastTitleDataAttributes.d.mts} +0 -0
- /package/{esm/toast/title/ToastTitleDataAttributes.js → toast/title/ToastTitleDataAttributes.mjs} +0 -0
- /package/{esm/toast/utils/resolvePromiseOptions.js → toast/utils/resolvePromiseOptions.mjs} +0 -0
- /package/{esm/toast/utils/test-utils.d.ts → toast/utils/test-utils.d.mts} +0 -0
- /package/{esm/toast/utils/test-utils.js → toast/utils/test-utils.mjs} +0 -0
- /package/{esm/toast/viewport/ToastViewportCssVars.d.ts → toast/viewport/ToastViewportCssVars.d.mts} +0 -0
- /package/{esm/toast/viewport/ToastViewportCssVars.js → toast/viewport/ToastViewportCssVars.mjs} +0 -0
- /package/{esm/toast/viewport/ToastViewportDataAttributes.d.ts → toast/viewport/ToastViewportDataAttributes.d.mts} +0 -0
- /package/{esm/toast/viewport/ToastViewportDataAttributes.js → toast/viewport/ToastViewportDataAttributes.mjs} +0 -0
- /package/{esm/toggle-group/ToggleGroupContext.js → toggle-group/ToggleGroupContext.mjs} +0 -0
- /package/{esm/toggle-group/ToggleGroupDataAttributes.d.ts → toggle-group/ToggleGroupDataAttributes.d.mts} +0 -0
- /package/{esm/toggle-group/ToggleGroupDataAttributes.js → toggle-group/ToggleGroupDataAttributes.mjs} +0 -0
- /package/{esm/toolbar/button/ToolbarButtonDataAttributes.d.ts → toolbar/button/ToolbarButtonDataAttributes.d.mts} +0 -0
- /package/{esm/toolbar/button/ToolbarButtonDataAttributes.js → toolbar/button/ToolbarButtonDataAttributes.mjs} +0 -0
- /package/{esm/toolbar/group/ToolbarGroupContext.d.ts → toolbar/group/ToolbarGroupContext.d.mts} +0 -0
- /package/{esm/toolbar/group/ToolbarGroupContext.js → toolbar/group/ToolbarGroupContext.mjs} +0 -0
- /package/{esm/toolbar/group/ToolbarGroupDataAttributes.d.ts → toolbar/group/ToolbarGroupDataAttributes.d.mts} +0 -0
- /package/{esm/toolbar/group/ToolbarGroupDataAttributes.js → toolbar/group/ToolbarGroupDataAttributes.mjs} +0 -0
- /package/{esm/toolbar/input/ToolbarInputDataAttributes.d.ts → toolbar/input/ToolbarInputDataAttributes.d.mts} +0 -0
- /package/{esm/toolbar/input/ToolbarInputDataAttributes.js → toolbar/input/ToolbarInputDataAttributes.mjs} +0 -0
- /package/{esm/toolbar/link/ToolbarLinkDataAttributes.d.ts → toolbar/link/ToolbarLinkDataAttributes.d.mts} +0 -0
- /package/{esm/toolbar/link/ToolbarLinkDataAttributes.js → toolbar/link/ToolbarLinkDataAttributes.mjs} +0 -0
- /package/{esm/toolbar/root/ToolbarRootContext.js → toolbar/root/ToolbarRootContext.mjs} +0 -0
- /package/{esm/toolbar/root/ToolbarRootDataAttributes.d.ts → toolbar/root/ToolbarRootDataAttributes.d.mts} +0 -0
- /package/{esm/toolbar/root/ToolbarRootDataAttributes.js → toolbar/root/ToolbarRootDataAttributes.mjs} +0 -0
- /package/{esm/tooltip/arrow/TooltipArrowDataAttributes.d.ts → tooltip/arrow/TooltipArrowDataAttributes.d.mts} +0 -0
- /package/{esm/tooltip/popup/TooltipPopupDataAttributes.d.ts → tooltip/popup/TooltipPopupDataAttributes.d.mts} +0 -0
- /package/{esm/tooltip/portal/TooltipPortalContext.d.ts → tooltip/portal/TooltipPortalContext.d.mts} +0 -0
- /package/{esm/tooltip/portal/TooltipPortalContext.js → tooltip/portal/TooltipPortalContext.mjs} +0 -0
- /package/{esm/tooltip/positioner/TooltipPositionerContext.js → tooltip/positioner/TooltipPositionerContext.mjs} +0 -0
- /package/{esm/tooltip/positioner/TooltipPositionerCssVars.d.ts → tooltip/positioner/TooltipPositionerCssVars.d.mts} +0 -0
- /package/{esm/tooltip/positioner/TooltipPositionerCssVars.js → tooltip/positioner/TooltipPositionerCssVars.mjs} +0 -0
- /package/{esm/tooltip/positioner/TooltipPositionerDataAttributes.d.ts → tooltip/positioner/TooltipPositionerDataAttributes.d.mts} +0 -0
- /package/{esm/tooltip/provider/TooltipProvider.d.ts → tooltip/provider/TooltipProvider.d.mts} +0 -0
- /package/{esm/tooltip/provider/TooltipProviderContext.d.ts → tooltip/provider/TooltipProviderContext.d.mts} +0 -0
- /package/{esm/tooltip/provider/TooltipProviderContext.js → tooltip/provider/TooltipProviderContext.mjs} +0 -0
- /package/{esm/tooltip/root/TooltipRootContext.js → tooltip/root/TooltipRootContext.mjs} +0 -0
- /package/{esm/tooltip/trigger/TooltipTriggerDataAttributes.d.ts → tooltip/trigger/TooltipTriggerDataAttributes.d.mts} +0 -0
- /package/{esm/tooltip/utils/constants.d.ts → tooltip/utils/constants.d.mts} +0 -0
- /package/{esm/tooltip/utils/constants.js → tooltip/utils/constants.mjs} +0 -0
- /package/{esm/tooltip/viewport/TooltipViewportCssVars.d.ts → tooltip/viewport/TooltipViewportCssVars.d.mts} +0 -0
- /package/{esm/tooltip/viewport/TooltipViewportCssVars.js → tooltip/viewport/TooltipViewportCssVars.mjs} +0 -0
- /package/{esm/types/index.js → types/index.mjs} +0 -0
- /package/{esm/unstable-use-media-query/index.d.ts → unstable-use-media-query/index.d.mts} +0 -0
- /package/{esm/unstable-use-media-query/index.js → unstable-use-media-query/index.mjs} +0 -0
- /package/{esm/utils/FocusGuard.d.ts → utils/FocusGuard.d.mts} +0 -0
- /package/{esm/utils/InternalBackdrop.d.ts → utils/InternalBackdrop.d.mts} +0 -0
- /package/{esm/utils/InternalBackdrop.js → utils/InternalBackdrop.mjs} +0 -0
- /package/{esm/utils/adaptiveOriginMiddleware.js → utils/adaptiveOriginMiddleware.mjs} +0 -0
- /package/{esm/utils/closePart.d.ts → utils/closePart.d.mts} +0 -0
- /package/{esm/utils/closePart.js → utils/closePart.mjs} +0 -0
- /package/{esm/utils/getCssDimensions.d.ts → utils/getCssDimensions.d.mts} +0 -0
- /package/{esm/utils/getCssDimensions.js → utils/getCssDimensions.mjs} +0 -0
- /package/{esm/utils/getElementAtPoint.d.ts → utils/getElementAtPoint.d.mts} +0 -0
- /package/{esm/utils/getElementAtPoint.js → utils/getElementAtPoint.mjs} +0 -0
- /package/{esm/utils/getPseudoElementBounds.d.ts → utils/getPseudoElementBounds.d.mts} +0 -0
- /package/{esm/utils/hideMiddleware.d.ts → utils/hideMiddleware.d.mts} +0 -0
- /package/{esm/utils/popupStateMapping.d.ts → utils/popupStateMapping.d.mts} +0 -0
- /package/{esm/utils/popups/inlineRect.d.ts → utils/popups/inlineRect.d.mts} +0 -0
- /package/{esm/utils/popups/popupTriggerMap.d.ts → utils/popups/popupTriggerMap.d.mts} +0 -0
- /package/{esm/utils/popups/popupTriggerMap.js → utils/popups/popupTriggerMap.mjs} +0 -0
- /package/{esm/utils/resolveAriaLabelledBy.d.ts → utils/resolveAriaLabelledBy.d.mts} +0 -0
- /package/{esm/utils/resolveAriaLabelledBy.js → utils/resolveAriaLabelledBy.mjs} +0 -0
- /package/{esm/utils/resolveClassName.d.ts → utils/resolveClassName.d.mts} +0 -0
- /package/{esm/utils/resolveClassName.js → utils/resolveClassName.mjs} +0 -0
- /package/{esm/utils/resolveRef.d.ts → utils/resolveRef.d.mts} +0 -0
- /package/{esm/utils/resolveRef.js → utils/resolveRef.mjs} +0 -0
- /package/{esm/utils/resolveStyle.d.ts → utils/resolveStyle.d.mts} +0 -0
- /package/{esm/utils/resolveStyle.js → utils/resolveStyle.mjs} +0 -0
- /package/{esm/utils/scrollEdges.d.ts → utils/scrollEdges.d.mts} +0 -0
- /package/{esm/utils/styles.d.ts → utils/styles.d.mts} +0 -0
- /package/{esm/utils/styles.js → utils/styles.mjs} +0 -0
- /package/{esm/utils/useAnchoredPopupScrollLock.d.ts → utils/useAnchoredPopupScrollLock.d.mts} +0 -0
- /package/{esm/utils/useAnchoredPopupScrollLock.js → utils/useAnchoredPopupScrollLock.mjs} +0 -0
- /package/{esm/utils/useFocusableWhenDisabled.d.ts → utils/useFocusableWhenDisabled.d.mts} +0 -0
- /package/{esm/utils/useFocusableWhenDisabled.js → utils/useFocusableWhenDisabled.mjs} +0 -0
- /package/{esm/utils/useIsHydrating.d.ts → utils/useIsHydrating.d.mts} +0 -0
- /package/{esm/utils/useMixedToggleClickHandler.d.ts → utils/useMixedToggleClickHandler.d.mts} +0 -0
- /package/{esm/utils/useMixedToggleClickHandler.js → utils/useMixedToggleClickHandler.mjs} +0 -0
- /package/{esm/utils/useOpenInteractionType.d.ts → utils/useOpenInteractionType.d.mts} +0 -0
- /package/{esm/utils/useRegisteredLabelId.d.ts → utils/useRegisteredLabelId.d.mts} +0 -0
- /package/{esm/utils/valueToPercent.d.ts → utils/valueToPercent.d.mts} +0 -0
- /package/{esm/utils/valueToPercent.js → utils/valueToPercent.mjs} +0 -0
|
@@ -1,1000 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import * as ReactDOM from 'react-dom';
|
|
5
|
-
import { isElement } from '@floating-ui/utils/dom';
|
|
6
|
-
import { addEventListener } from '@base-ui/utils/addEventListener';
|
|
7
|
-
import { ownerDocument, ownerWindow } from '@base-ui/utils/owner';
|
|
8
|
-
import { useAnimationFrame } from '@base-ui/utils/useAnimationFrame';
|
|
9
|
-
import { useStableCallback } from '@base-ui/utils/useStableCallback';
|
|
10
|
-
import { useDialogRootContext } from "../../dialog/root/DialogRootContext.js";
|
|
11
|
-
import { DialogViewport } from "../../dialog/viewport/DialogViewport.js";
|
|
12
|
-
import { mergeProps } from "../../merge-props/index.js";
|
|
13
|
-
import { useDrawerRootContext } from "../root/DrawerRootContext.js";
|
|
14
|
-
import { useDrawerSnapPoints } from "../root/useDrawerSnapPoints.js";
|
|
15
|
-
import { useDrawerProviderContext } from "../provider/DrawerProviderContext.js";
|
|
16
|
-
import { clamp } from "../../internals/clamp.js";
|
|
17
|
-
import { useSwipeDismiss } from "../../utils/useSwipeDismiss.js";
|
|
18
|
-
import { DrawerPopupCssVars } from "../popup/DrawerPopupCssVars.js";
|
|
19
|
-
import { DrawerPopupDataAttributes } from "../popup/DrawerPopupDataAttributes.js";
|
|
20
|
-
import { DrawerBackdropCssVars } from "../backdrop/DrawerBackdropCssVars.js";
|
|
21
|
-
import { DRAWER_CONTENT_ATTRIBUTE } from "../content/DrawerContentDataAttributes.js";
|
|
22
|
-
import { REASONS } from "../../internals/reasons.js";
|
|
23
|
-
import { createChangeEventDetails } from "../../internals/createBaseUIEventDetails.js";
|
|
24
|
-
import { activeElement, contains, getTarget } from "../../floating-ui-react/utils.js";
|
|
25
|
-
import { DrawerViewportContext } from "./DrawerViewportContext.js";
|
|
26
|
-
import { TransitionStatusDataAttributes } from "../../internals/stateAttributesMapping.js";
|
|
27
|
-
import { findScrollableTouchTarget } from "../../utils/scrollable.js";
|
|
28
|
-
import { BASE_UI_SWIPE_IGNORE_SELECTOR } from "../../internals/constants.js";
|
|
29
|
-
import { getElementAtPoint } from "../../utils/getElementAtPoint.js";
|
|
30
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
31
|
-
const MIN_SWIPE_THRESHOLD = 10;
|
|
32
|
-
const FAST_SWIPE_VELOCITY = 0.5;
|
|
33
|
-
const SNAP_VELOCITY_THRESHOLD = 0.5;
|
|
34
|
-
const SNAP_VELOCITY_MULTIPLIER = 300;
|
|
35
|
-
const MAX_SNAP_VELOCITY = 4;
|
|
36
|
-
const MIN_SWIPE_RELEASE_VELOCITY = 0.2;
|
|
37
|
-
const MAX_SWIPE_RELEASE_VELOCITY = 4;
|
|
38
|
-
const MIN_SWIPE_RELEASE_DURATION_MS = 80;
|
|
39
|
-
const MAX_SWIPE_RELEASE_DURATION_MS = 360;
|
|
40
|
-
const MIN_SWIPE_RELEASE_SCALAR = 0.1;
|
|
41
|
-
const MAX_SWIPE_RELEASE_SCALAR = 1;
|
|
42
|
-
const DRAWER_CONTENT_SELECTOR = `[${DRAWER_CONTENT_ATTRIBUTE}]`;
|
|
43
|
-
/**
|
|
44
|
-
* A positioning container for the drawer popup that can be made scrollable.
|
|
45
|
-
* Renders a `<div>` element.
|
|
46
|
-
*
|
|
47
|
-
* Documentation: [Base UI Drawer](https://base-ui.com/react/components/drawer)
|
|
48
|
-
*/
|
|
49
|
-
export const DrawerViewport = /*#__PURE__*/React.forwardRef(function DrawerViewport(props, forwardedRef) {
|
|
50
|
-
const {
|
|
51
|
-
render,
|
|
52
|
-
className,
|
|
53
|
-
style,
|
|
54
|
-
children,
|
|
55
|
-
...elementProps
|
|
56
|
-
} = props;
|
|
57
|
-
const {
|
|
58
|
-
store
|
|
59
|
-
} = useDialogRootContext();
|
|
60
|
-
const {
|
|
61
|
-
swipeDirection,
|
|
62
|
-
notifyParentSwipingChange,
|
|
63
|
-
notifyParentSwipeProgressChange,
|
|
64
|
-
frontmostHeight,
|
|
65
|
-
snapToSequentialPoints
|
|
66
|
-
} = useDrawerRootContext();
|
|
67
|
-
const providerContext = useDrawerProviderContext(true);
|
|
68
|
-
const {
|
|
69
|
-
snapPoints,
|
|
70
|
-
resolvedSnapPoints,
|
|
71
|
-
activeSnapPoint,
|
|
72
|
-
activeSnapPointOffset,
|
|
73
|
-
setActiveSnapPoint,
|
|
74
|
-
popupHeight
|
|
75
|
-
} = useDrawerSnapPoints();
|
|
76
|
-
const open = store.useState('open');
|
|
77
|
-
const mounted = store.useState('mounted');
|
|
78
|
-
const nested = store.useState('nested');
|
|
79
|
-
const nestedOpenDrawerCount = store.useState('nestedOpenDrawerCount');
|
|
80
|
-
const viewportElement = store.useState('viewportElement');
|
|
81
|
-
const popupElementState = store.useState('popupElement');
|
|
82
|
-
const visualStateStore = providerContext?.visualStateStore;
|
|
83
|
-
const nestedDrawerOpen = nestedOpenDrawerCount > 0;
|
|
84
|
-
const scrollAxis = swipeDirection === 'left' || swipeDirection === 'right' ? 'horizontal' : 'vertical';
|
|
85
|
-
const isVerticalScrollAxis = scrollAxis === 'vertical';
|
|
86
|
-
const crossScrollAxis = isVerticalScrollAxis ? 'horizontal' : 'vertical';
|
|
87
|
-
const [swipeRelease, setSwipeRelease] = React.useState(null);
|
|
88
|
-
const pendingSwipeCloseSnapPointRef = React.useRef(undefined);
|
|
89
|
-
const resetSwipeRef = React.useRef(null);
|
|
90
|
-
const controlledDismissFrame = useAnimationFrame();
|
|
91
|
-
const nestedSwipeActiveRef = React.useRef(false);
|
|
92
|
-
const lastPointerTypeRef = React.useRef('');
|
|
93
|
-
const ignoreNextTouchStartFromPenRef = React.useRef(false);
|
|
94
|
-
const ignoreTouchSwipeRef = React.useRef(false);
|
|
95
|
-
const touchScrollStateRef = React.useRef(null);
|
|
96
|
-
const snapPointRange = React.useMemo(() => {
|
|
97
|
-
if (!snapPoints || snapPoints.length < 2) {
|
|
98
|
-
return null;
|
|
99
|
-
}
|
|
100
|
-
if (swipeDirection !== 'down' && swipeDirection !== 'up') {
|
|
101
|
-
return null;
|
|
102
|
-
}
|
|
103
|
-
if (resolvedSnapPoints.length < 2) {
|
|
104
|
-
return null;
|
|
105
|
-
}
|
|
106
|
-
const offsets = resolvedSnapPoints.map(point => point.offset).filter(offset => Number.isFinite(offset)).sort((a, b) => a - b);
|
|
107
|
-
if (offsets.length < 2) {
|
|
108
|
-
return null;
|
|
109
|
-
}
|
|
110
|
-
const minOffset = offsets[0];
|
|
111
|
-
const nextOffset = offsets[1];
|
|
112
|
-
const maxOffset = offsets[offsets.length - 1];
|
|
113
|
-
let range = nextOffset - minOffset;
|
|
114
|
-
if (!Number.isFinite(range) || range <= 0) {
|
|
115
|
-
const fallbackRange = maxOffset - minOffset;
|
|
116
|
-
if (!Number.isFinite(fallbackRange) || fallbackRange <= 0) {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
range = fallbackRange;
|
|
120
|
-
}
|
|
121
|
-
return {
|
|
122
|
-
minOffset,
|
|
123
|
-
range
|
|
124
|
-
};
|
|
125
|
-
}, [resolvedSnapPoints, snapPoints, swipeDirection]);
|
|
126
|
-
const snapPointProgress = React.useMemo(() => {
|
|
127
|
-
if (!snapPointRange || activeSnapPointOffset === null) {
|
|
128
|
-
return null;
|
|
129
|
-
}
|
|
130
|
-
return clamp((activeSnapPointOffset - snapPointRange.minOffset) / snapPointRange.range, 0, 1);
|
|
131
|
-
}, [activeSnapPointOffset, snapPointRange]);
|
|
132
|
-
const swipeDirections = React.useMemo(() => {
|
|
133
|
-
if (snapPoints && snapPoints.length > 0 && (swipeDirection === 'down' || swipeDirection === 'up')) {
|
|
134
|
-
return swipeDirection === 'down' ? ['down', 'up'] : ['up', 'down'];
|
|
135
|
-
}
|
|
136
|
-
return [swipeDirection];
|
|
137
|
-
}, [snapPoints, swipeDirection]);
|
|
138
|
-
const setSwipeDismissed = useStableCallback(dismissed => {
|
|
139
|
-
setSwipeDismissedElements(store.context.popupRef.current, store.context.backdropRef.current, dismissed);
|
|
140
|
-
});
|
|
141
|
-
const clearSwipeRelease = useStableCallback(() => {
|
|
142
|
-
setSwipeDismissed(false);
|
|
143
|
-
store.context.popupRef.current?.removeAttribute(TransitionStatusDataAttributes.endingStyle);
|
|
144
|
-
setSwipeRelease(null);
|
|
145
|
-
});
|
|
146
|
-
const finishNestedSwipe = useStableCallback(() => {
|
|
147
|
-
if (!nestedSwipeActiveRef.current) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
nestedSwipeActiveRef.current = false;
|
|
151
|
-
notifyParentSwipingChange?.(false);
|
|
152
|
-
});
|
|
153
|
-
const applySwipeProgress = useStableCallback(({
|
|
154
|
-
resolvedProgress,
|
|
155
|
-
shouldTrackProgress,
|
|
156
|
-
notifyParent
|
|
157
|
-
}) => {
|
|
158
|
-
const isActive = open && !nested && shouldTrackProgress;
|
|
159
|
-
const swipeProgress = isActive ? resolvedProgress : 0;
|
|
160
|
-
const nestedSwipeProgress = open && shouldTrackProgress ? resolvedProgress : 0;
|
|
161
|
-
if (notifyParent && notifyParentSwipeProgressChange) {
|
|
162
|
-
notifyParentSwipeProgressChange(nestedSwipeProgress);
|
|
163
|
-
if (nestedSwipeProgress <= 0) {
|
|
164
|
-
finishNestedSwipe();
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
visualStateStore?.set({
|
|
168
|
-
swipeProgress,
|
|
169
|
-
frontmostHeight: swipeProgress > 0 ? frontmostHeight : 0
|
|
170
|
-
});
|
|
171
|
-
const backdropElement = store.context.backdropRef.current;
|
|
172
|
-
if (!backdropElement) {
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
if (!isActive || swipeProgress <= 0) {
|
|
176
|
-
backdropElement.style.setProperty(DrawerBackdropCssVars.swipeProgress, '0');
|
|
177
|
-
backdropElement.style.removeProperty(DrawerPopupCssVars.height);
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
backdropElement.style.setProperty(DrawerBackdropCssVars.swipeProgress, `${swipeProgress}`);
|
|
181
|
-
if (frontmostHeight > 0) {
|
|
182
|
-
backdropElement.style.setProperty(DrawerPopupCssVars.height, `${frontmostHeight}px`);
|
|
183
|
-
} else {
|
|
184
|
-
backdropElement.style.removeProperty(DrawerPopupCssVars.height);
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
function resolveSwipeRelease({
|
|
188
|
-
direction,
|
|
189
|
-
deltaX,
|
|
190
|
-
deltaY,
|
|
191
|
-
velocityX,
|
|
192
|
-
velocityY,
|
|
193
|
-
releaseVelocityX,
|
|
194
|
-
releaseVelocityY
|
|
195
|
-
}) {
|
|
196
|
-
if (!direction) {
|
|
197
|
-
return null;
|
|
198
|
-
}
|
|
199
|
-
const popupElement = store.context.popupRef.current;
|
|
200
|
-
if (!popupElement) {
|
|
201
|
-
return null;
|
|
202
|
-
}
|
|
203
|
-
const size = direction === 'left' || direction === 'right' ? popupElement.offsetWidth : popupElement.offsetHeight;
|
|
204
|
-
if (!Number.isFinite(size) || size <= 0) {
|
|
205
|
-
return null;
|
|
206
|
-
}
|
|
207
|
-
const axisDelta = direction === 'left' || direction === 'right' ? deltaX : deltaY;
|
|
208
|
-
const snapPointBaseOffset = snapPoints && snapPoints.length > 0 ? activeSnapPointOffset ?? 0 : 0;
|
|
209
|
-
let baseOffset = 0;
|
|
210
|
-
if (direction === 'down') {
|
|
211
|
-
baseOffset = snapPointBaseOffset;
|
|
212
|
-
} else if (direction === 'up') {
|
|
213
|
-
baseOffset = -snapPointBaseOffset;
|
|
214
|
-
}
|
|
215
|
-
const translation = baseOffset + axisDelta;
|
|
216
|
-
const translationAlongDirection = direction === 'left' || direction === 'up' ? -translation : translation;
|
|
217
|
-
const remainingDistance = Math.max(0, size - translationAlongDirection);
|
|
218
|
-
if (!Number.isFinite(remainingDistance) || remainingDistance <= 0) {
|
|
219
|
-
return null;
|
|
220
|
-
}
|
|
221
|
-
const axisVelocity = direction === 'left' || direction === 'right' ? releaseVelocityX : releaseVelocityY;
|
|
222
|
-
const fallbackVelocity = direction === 'left' || direction === 'right' ? velocityX : velocityY;
|
|
223
|
-
const resolvedVelocity = Math.abs(axisVelocity) > 0 && Number.isFinite(axisVelocity) ? axisVelocity : fallbackVelocity;
|
|
224
|
-
const directionalVelocity = direction === 'left' || direction === 'up' ? -resolvedVelocity : resolvedVelocity;
|
|
225
|
-
if (!Number.isFinite(directionalVelocity) || directionalVelocity <= MIN_SWIPE_RELEASE_VELOCITY) {
|
|
226
|
-
return null;
|
|
227
|
-
}
|
|
228
|
-
const clampedVelocity = clamp(directionalVelocity, MIN_SWIPE_RELEASE_VELOCITY, MAX_SWIPE_RELEASE_VELOCITY);
|
|
229
|
-
const durationMs = clamp(remainingDistance / clampedVelocity, MIN_SWIPE_RELEASE_DURATION_MS, MAX_SWIPE_RELEASE_DURATION_MS);
|
|
230
|
-
if (!Number.isFinite(durationMs)) {
|
|
231
|
-
return null;
|
|
232
|
-
}
|
|
233
|
-
const normalizedDuration = (durationMs - MIN_SWIPE_RELEASE_DURATION_MS) / (MAX_SWIPE_RELEASE_DURATION_MS - MIN_SWIPE_RELEASE_DURATION_MS);
|
|
234
|
-
const durationScalar = clamp(MIN_SWIPE_RELEASE_SCALAR + normalizedDuration * (MAX_SWIPE_RELEASE_SCALAR - MIN_SWIPE_RELEASE_SCALAR), MIN_SWIPE_RELEASE_SCALAR, MAX_SWIPE_RELEASE_SCALAR);
|
|
235
|
-
if (!Number.isFinite(durationScalar) || durationScalar <= 0) {
|
|
236
|
-
return null;
|
|
237
|
-
}
|
|
238
|
-
return durationScalar;
|
|
239
|
-
}
|
|
240
|
-
function updateNestedSwipeActive(details) {
|
|
241
|
-
if (nestedSwipeActiveRef.current || !details) {
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
const direction = details.direction ?? swipeDirection;
|
|
245
|
-
const delta = direction === 'left' || direction === 'right' ? details.deltaX : details.deltaY;
|
|
246
|
-
if (!Number.isFinite(delta) || Math.abs(delta) < MIN_SWIPE_THRESHOLD) {
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
nestedSwipeActiveRef.current = true;
|
|
250
|
-
notifyParentSwipingChange?.(true);
|
|
251
|
-
}
|
|
252
|
-
const swipe = useSwipeDismiss({
|
|
253
|
-
enabled: mounted && !nestedDrawerOpen,
|
|
254
|
-
directions: swipeDirections,
|
|
255
|
-
elementRef: store.context.popupRef,
|
|
256
|
-
ignoreSelectorWhenTouch: false,
|
|
257
|
-
ignoreScrollableAncestors: true,
|
|
258
|
-
movementCssVars: {
|
|
259
|
-
x: DrawerPopupCssVars.swipeMovementX,
|
|
260
|
-
y: DrawerPopupCssVars.swipeMovementY
|
|
261
|
-
},
|
|
262
|
-
onSwipeStart(event) {
|
|
263
|
-
if ('touches' in event || 'pointerType' in event && event.pointerType === 'touch') {
|
|
264
|
-
return;
|
|
265
|
-
}
|
|
266
|
-
const popupElement = store.context.popupRef.current;
|
|
267
|
-
if (!popupElement) {
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
const doc = ownerDocument(popupElement);
|
|
271
|
-
const selection = doc.getSelection?.();
|
|
272
|
-
if (!selection || selection.isCollapsed) {
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
const anchorElement = isElement(selection.anchorNode) ? selection.anchorNode : selection.anchorNode?.parentElement;
|
|
276
|
-
const focusElement = isElement(selection.focusNode) ? selection.focusNode : selection.focusNode?.parentElement;
|
|
277
|
-
if (!contains(popupElement, anchorElement) && !contains(popupElement, focusElement)) {
|
|
278
|
-
return;
|
|
279
|
-
}
|
|
280
|
-
selection.removeAllRanges();
|
|
281
|
-
},
|
|
282
|
-
onSwipingChange(swiping) {
|
|
283
|
-
setBackdropSwipingAttribute(store.context.backdropRef.current, swiping);
|
|
284
|
-
if (!swiping && !notifyParentSwipeProgressChange) {
|
|
285
|
-
finishNestedSwipe();
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
swipeThreshold({
|
|
289
|
-
element,
|
|
290
|
-
direction
|
|
291
|
-
}) {
|
|
292
|
-
return getBaseSwipeThreshold(element, direction);
|
|
293
|
-
},
|
|
294
|
-
canStart(position, details) {
|
|
295
|
-
const popupElement = store.context.popupRef.current;
|
|
296
|
-
if (!popupElement) {
|
|
297
|
-
return false;
|
|
298
|
-
}
|
|
299
|
-
const doc = popupElement.ownerDocument;
|
|
300
|
-
const elementAtPoint = getElementAtPoint(doc, position.x, position.y);
|
|
301
|
-
if (!elementAtPoint || !contains(popupElement, elementAtPoint)) {
|
|
302
|
-
return false;
|
|
303
|
-
}
|
|
304
|
-
const nativeEvent = details.nativeEvent;
|
|
305
|
-
const touchLike = 'touches' in nativeEvent || 'pointerType' in nativeEvent && nativeEvent.pointerType === 'touch';
|
|
306
|
-
if (touchLike && shouldIgnoreSwipeForTextSelection(doc, popupElement)) {
|
|
307
|
-
return false;
|
|
308
|
-
}
|
|
309
|
-
if (nativeEvent.type === 'touchstart' && isSwipeIgnoredTarget(elementAtPoint)) {
|
|
310
|
-
return false;
|
|
311
|
-
}
|
|
312
|
-
return true;
|
|
313
|
-
},
|
|
314
|
-
onProgress(progress, details) {
|
|
315
|
-
updateNestedSwipeActive(details);
|
|
316
|
-
const currentDirection = details?.direction ?? swipe.swipeDirection;
|
|
317
|
-
const isDismissSwipe = currentDirection === undefined || currentDirection === swipeDirection;
|
|
318
|
-
const hasSnapPoints = Boolean(snapPoints && snapPoints.length > 0);
|
|
319
|
-
const isVerticalSwipe = swipeDirection === 'down' || swipeDirection === 'up';
|
|
320
|
-
const shouldTrackProgress = hasSnapPoints && isVerticalSwipe || !hasSnapPoints || swipeDirection === 'left' || swipeDirection === 'right' || isDismissSwipe;
|
|
321
|
-
let resolvedProgress = progress;
|
|
322
|
-
if (snapPointRange && popupHeight > 0) {
|
|
323
|
-
if (details && Number.isFinite(details.deltaY)) {
|
|
324
|
-
const baseOffset = activeSnapPointOffset ?? snapPointRange.minOffset;
|
|
325
|
-
const nextOffset = clamp(baseOffset + details.deltaY, 0, popupHeight);
|
|
326
|
-
resolvedProgress = clamp((nextOffset - snapPointRange.minOffset) / snapPointRange.range, 0, 1);
|
|
327
|
-
} else if (snapPointProgress !== null) {
|
|
328
|
-
resolvedProgress = snapPointProgress;
|
|
329
|
-
} else if (currentDirection === 'down' || currentDirection === 'up') {
|
|
330
|
-
const displacement = progress * popupHeight;
|
|
331
|
-
const baseOffset = activeSnapPointOffset ?? snapPointRange.minOffset;
|
|
332
|
-
const nextOffset = currentDirection === 'down' ? baseOffset + displacement : baseOffset - displacement;
|
|
333
|
-
resolvedProgress = clamp((nextOffset - snapPointRange.minOffset) / snapPointRange.range, 0, 1);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
applySwipeProgress({
|
|
337
|
-
resolvedProgress,
|
|
338
|
-
shouldTrackProgress,
|
|
339
|
-
notifyParent: true
|
|
340
|
-
});
|
|
341
|
-
},
|
|
342
|
-
onRelease({
|
|
343
|
-
event,
|
|
344
|
-
deltaX,
|
|
345
|
-
deltaY,
|
|
346
|
-
direction,
|
|
347
|
-
velocityX,
|
|
348
|
-
velocityY,
|
|
349
|
-
releaseVelocityX,
|
|
350
|
-
releaseVelocityY
|
|
351
|
-
}) {
|
|
352
|
-
const swipeReleasePayload = {
|
|
353
|
-
deltaX,
|
|
354
|
-
deltaY,
|
|
355
|
-
velocityX,
|
|
356
|
-
velocityY,
|
|
357
|
-
releaseVelocityX,
|
|
358
|
-
releaseVelocityY
|
|
359
|
-
};
|
|
360
|
-
function startSwipeRelease(resolvedDirection) {
|
|
361
|
-
// Start ending transition styles earlier and synchronously to prevent a period where
|
|
362
|
-
// the popup appears stuck on release before the actual closing animation starts.
|
|
363
|
-
const popupElement = store.context.popupRef.current;
|
|
364
|
-
if (!popupElement) {
|
|
365
|
-
return;
|
|
366
|
-
}
|
|
367
|
-
finishNestedSwipe();
|
|
368
|
-
setSwipeDismissed(true);
|
|
369
|
-
popupElement.style.removeProperty('transition');
|
|
370
|
-
popupElement.setAttribute(TransitionStatusDataAttributes.endingStyle, '');
|
|
371
|
-
ReactDOM.flushSync(() => {
|
|
372
|
-
setSwipeRelease(resolveSwipeRelease({
|
|
373
|
-
direction: resolvedDirection,
|
|
374
|
-
...swipeReleasePayload
|
|
375
|
-
}));
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
if (!snapPoints || snapPoints.length === 0) {
|
|
379
|
-
if (!direction) {
|
|
380
|
-
clearSwipeRelease();
|
|
381
|
-
return undefined;
|
|
382
|
-
}
|
|
383
|
-
const element = store.context.popupRef.current;
|
|
384
|
-
if (!element) {
|
|
385
|
-
clearSwipeRelease();
|
|
386
|
-
return undefined;
|
|
387
|
-
}
|
|
388
|
-
const baseThreshold = getBaseSwipeThreshold(element, direction);
|
|
389
|
-
const delta = direction === 'left' || direction === 'right' ? deltaX : deltaY;
|
|
390
|
-
if (!Number.isFinite(delta)) {
|
|
391
|
-
clearSwipeRelease();
|
|
392
|
-
return undefined;
|
|
393
|
-
}
|
|
394
|
-
const directionalDelta = direction === 'left' || direction === 'up' ? -delta : delta;
|
|
395
|
-
if (directionalDelta <= 0) {
|
|
396
|
-
clearSwipeRelease();
|
|
397
|
-
return false;
|
|
398
|
-
}
|
|
399
|
-
const velocity = direction === 'left' || direction === 'right' ? velocityX : velocityY;
|
|
400
|
-
const directionalVelocity = direction === 'left' || direction === 'up' ? -velocity : velocity;
|
|
401
|
-
if (directionalVelocity >= FAST_SWIPE_VELOCITY && directionalDelta > 0) {
|
|
402
|
-
startSwipeRelease(direction);
|
|
403
|
-
return true;
|
|
404
|
-
}
|
|
405
|
-
const shouldClose = directionalDelta > baseThreshold;
|
|
406
|
-
if (shouldClose) {
|
|
407
|
-
startSwipeRelease(direction);
|
|
408
|
-
} else {
|
|
409
|
-
clearSwipeRelease();
|
|
410
|
-
}
|
|
411
|
-
return shouldClose;
|
|
412
|
-
}
|
|
413
|
-
if (swipeDirection !== 'down' && swipeDirection !== 'up') {
|
|
414
|
-
clearSwipeRelease();
|
|
415
|
-
return undefined;
|
|
416
|
-
}
|
|
417
|
-
if (!popupHeight || resolvedSnapPoints.length === 0) {
|
|
418
|
-
clearSwipeRelease();
|
|
419
|
-
return undefined;
|
|
420
|
-
}
|
|
421
|
-
const dragDelta = swipeDirection === 'down' ? deltaY : -deltaY;
|
|
422
|
-
if (!Number.isFinite(dragDelta)) {
|
|
423
|
-
clearSwipeRelease();
|
|
424
|
-
return undefined;
|
|
425
|
-
}
|
|
426
|
-
const dragDirection = Math.sign(dragDelta);
|
|
427
|
-
const releaseDirectionalVelocity = swipeDirection === 'down' ? releaseVelocityY : -releaseVelocityY;
|
|
428
|
-
const fallbackDirectionalVelocity = swipeDirection === 'down' ? velocityY : -velocityY;
|
|
429
|
-
let resolvedDirectionalVelocity = Number.isFinite(releaseDirectionalVelocity) ? releaseDirectionalVelocity : fallbackDirectionalVelocity;
|
|
430
|
-
if (dragDirection !== 0 && Math.abs(dragDelta) >= MIN_SWIPE_THRESHOLD && Number.isFinite(resolvedDirectionalVelocity)) {
|
|
431
|
-
const velocityDirection = Math.sign(resolvedDirectionalVelocity);
|
|
432
|
-
if (velocityDirection !== 0 && velocityDirection !== dragDirection) {
|
|
433
|
-
// Ignore touch reversals that would otherwise flip the snap decision.
|
|
434
|
-
resolvedDirectionalVelocity = fallbackDirectionalVelocity;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
const currentOffset = activeSnapPointOffset ?? 0;
|
|
438
|
-
const dragTargetOffset = clamp(currentOffset + dragDelta, 0, popupHeight);
|
|
439
|
-
const velocityOffset = Number.isFinite(resolvedDirectionalVelocity) && Math.abs(resolvedDirectionalVelocity) >= SNAP_VELOCITY_THRESHOLD ? clamp(resolvedDirectionalVelocity, -MAX_SNAP_VELOCITY, MAX_SNAP_VELOCITY) * SNAP_VELOCITY_MULTIPLIER : 0;
|
|
440
|
-
const targetOffset = snapToSequentialPoints ? dragTargetOffset : clamp(dragTargetOffset + velocityOffset, 0, popupHeight);
|
|
441
|
-
const snapPointEventDetails = createChangeEventDetails(REASONS.swipe, event);
|
|
442
|
-
const closeFromSnapPoints = () => {
|
|
443
|
-
pendingSwipeCloseSnapPointRef.current = activeSnapPoint;
|
|
444
|
-
setActiveSnapPoint?.(null, snapPointEventDetails);
|
|
445
|
-
startSwipeRelease(swipeDirection);
|
|
446
|
-
return true;
|
|
447
|
-
};
|
|
448
|
-
if (snapToSequentialPoints) {
|
|
449
|
-
const orderedSnapPoints = [...resolvedSnapPoints].sort((first, second) => first.offset - second.offset);
|
|
450
|
-
if (orderedSnapPoints.length === 0) {
|
|
451
|
-
clearSwipeRelease();
|
|
452
|
-
return false;
|
|
453
|
-
}
|
|
454
|
-
let currentIndex = 0;
|
|
455
|
-
let closestDistance = Math.abs(currentOffset - orderedSnapPoints[0].offset);
|
|
456
|
-
for (let index = 1; index < orderedSnapPoints.length; index += 1) {
|
|
457
|
-
const distance = Math.abs(currentOffset - orderedSnapPoints[index].offset);
|
|
458
|
-
if (distance < closestDistance) {
|
|
459
|
-
closestDistance = distance;
|
|
460
|
-
currentIndex = index;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
let targetSnapPoint = orderedSnapPoints[0];
|
|
464
|
-
closestDistance = Math.abs(targetOffset - targetSnapPoint.offset);
|
|
465
|
-
for (const snapPoint of orderedSnapPoints) {
|
|
466
|
-
const distance = Math.abs(targetOffset - snapPoint.offset);
|
|
467
|
-
if (distance < closestDistance) {
|
|
468
|
-
closestDistance = distance;
|
|
469
|
-
targetSnapPoint = snapPoint;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
const velocityDirection = Math.sign(resolvedDirectionalVelocity);
|
|
473
|
-
const shouldAdvance = dragDirection !== 0 && velocityDirection !== 0 && velocityDirection === dragDirection && Math.abs(resolvedDirectionalVelocity) >= SNAP_VELOCITY_THRESHOLD;
|
|
474
|
-
let effectiveTargetOffset = targetOffset;
|
|
475
|
-
if (shouldAdvance) {
|
|
476
|
-
const adjacentIndex = clamp(currentIndex + dragDirection, 0, orderedSnapPoints.length - 1);
|
|
477
|
-
if (adjacentIndex !== currentIndex) {
|
|
478
|
-
const adjacentPoint = orderedSnapPoints[adjacentIndex];
|
|
479
|
-
const shouldForceAdjacent = dragDirection > 0 ? targetOffset < adjacentPoint.offset : targetOffset > adjacentPoint.offset;
|
|
480
|
-
if (shouldForceAdjacent) {
|
|
481
|
-
targetSnapPoint = adjacentPoint;
|
|
482
|
-
effectiveTargetOffset = adjacentPoint.offset;
|
|
483
|
-
}
|
|
484
|
-
} else if (dragDirection > 0) {
|
|
485
|
-
return closeFromSnapPoints();
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
const closeOffset = popupHeight;
|
|
489
|
-
const closeDistance = Math.abs(effectiveTargetOffset - closeOffset);
|
|
490
|
-
const snapDistance = Math.abs(effectiveTargetOffset - targetSnapPoint.offset);
|
|
491
|
-
if (closeDistance < snapDistance) {
|
|
492
|
-
return closeFromSnapPoints();
|
|
493
|
-
}
|
|
494
|
-
setActiveSnapPoint?.(targetSnapPoint.value, snapPointEventDetails);
|
|
495
|
-
clearSwipeRelease();
|
|
496
|
-
return false;
|
|
497
|
-
}
|
|
498
|
-
if (resolvedDirectionalVelocity >= FAST_SWIPE_VELOCITY && dragDelta > 0) {
|
|
499
|
-
return closeFromSnapPoints();
|
|
500
|
-
}
|
|
501
|
-
let closestSnapPoint = resolvedSnapPoints[0];
|
|
502
|
-
let closestDistance = Math.abs(targetOffset - closestSnapPoint.offset);
|
|
503
|
-
for (const snapPoint of resolvedSnapPoints) {
|
|
504
|
-
const distance = Math.abs(targetOffset - snapPoint.offset);
|
|
505
|
-
if (distance < closestDistance) {
|
|
506
|
-
closestDistance = distance;
|
|
507
|
-
closestSnapPoint = snapPoint;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
const closeOffset = popupHeight;
|
|
511
|
-
const closeDistance = Math.abs(targetOffset - closeOffset);
|
|
512
|
-
if (closeDistance < closestDistance) {
|
|
513
|
-
return closeFromSnapPoints();
|
|
514
|
-
}
|
|
515
|
-
setActiveSnapPoint?.(closestSnapPoint.value, snapPointEventDetails);
|
|
516
|
-
clearSwipeRelease();
|
|
517
|
-
return false;
|
|
518
|
-
},
|
|
519
|
-
onDismiss(event) {
|
|
520
|
-
visualStateStore?.set({
|
|
521
|
-
swipeProgress: 0,
|
|
522
|
-
frontmostHeight: 0
|
|
523
|
-
});
|
|
524
|
-
const backdropElement = store.context.backdropRef.current;
|
|
525
|
-
if (backdropElement) {
|
|
526
|
-
backdropElement.style.setProperty(DrawerBackdropCssVars.swipeProgress, '0');
|
|
527
|
-
backdropElement.style.removeProperty(DrawerPopupCssVars.height);
|
|
528
|
-
}
|
|
529
|
-
const dismissEventDetails = createChangeEventDetails(REASONS.swipe, event);
|
|
530
|
-
store.setOpen(false, dismissEventDetails);
|
|
531
|
-
if (dismissEventDetails.isCanceled) {
|
|
532
|
-
const pendingSnapPoint = pendingSwipeCloseSnapPointRef.current;
|
|
533
|
-
if (pendingSnapPoint !== undefined) {
|
|
534
|
-
setActiveSnapPoint?.(pendingSnapPoint, createChangeEventDetails(REASONS.swipe, event));
|
|
535
|
-
}
|
|
536
|
-
pendingSwipeCloseSnapPointRef.current = undefined;
|
|
537
|
-
resetSwipeRef.current?.();
|
|
538
|
-
clearSwipeRelease();
|
|
539
|
-
return;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
// In controlled mode, the effective open state may not have changed yet
|
|
543
|
-
// (openProp takes precedence over state.open). Proceed optimistically with the
|
|
544
|
-
// dismiss animation — React's Scheduler flushes before the next rAF, so we can
|
|
545
|
-
// reliably check whether the parent accepted or rejected the close.
|
|
546
|
-
// Note: if onOpenChange is asynchronous (e.g., closes the drawer after a network
|
|
547
|
-
// call), the rAF check will see open === true, revert the animation, and the
|
|
548
|
-
// drawer will close without animation when the parent eventually sets open={false}.
|
|
549
|
-
if (store.select('open')) {
|
|
550
|
-
const savedEvent = event;
|
|
551
|
-
controlledDismissFrame.request(() => {
|
|
552
|
-
if (store.select('open')) {
|
|
553
|
-
// Parent rejected: revert animation and restore snap point.
|
|
554
|
-
const pendingSnapPoint = pendingSwipeCloseSnapPointRef.current;
|
|
555
|
-
if (pendingSnapPoint !== undefined) {
|
|
556
|
-
setActiveSnapPoint?.(pendingSnapPoint, createChangeEventDetails(REASONS.swipe, savedEvent));
|
|
557
|
-
}
|
|
558
|
-
pendingSwipeCloseSnapPointRef.current = undefined;
|
|
559
|
-
clearSwipeRelease();
|
|
560
|
-
resetSwipeRef.current?.();
|
|
561
|
-
} else {
|
|
562
|
-
// Parent accepted: clean up the ref.
|
|
563
|
-
pendingSwipeCloseSnapPointRef.current = undefined;
|
|
564
|
-
}
|
|
565
|
-
});
|
|
566
|
-
return;
|
|
567
|
-
}
|
|
568
|
-
pendingSwipeCloseSnapPointRef.current = undefined;
|
|
569
|
-
setSwipeDismissed(true);
|
|
570
|
-
}
|
|
571
|
-
});
|
|
572
|
-
const swipePointerProps = swipe.getPointerProps();
|
|
573
|
-
const swipeTouchProps = swipe.getTouchProps();
|
|
574
|
-
const resetSwipe = swipe.reset;
|
|
575
|
-
resetSwipeRef.current = resetSwipe;
|
|
576
|
-
React.useEffect(() => {
|
|
577
|
-
const rootElement = viewportElement ?? popupElementState;
|
|
578
|
-
if (!rootElement) {
|
|
579
|
-
return undefined;
|
|
580
|
-
}
|
|
581
|
-
const resolvedRootElement = rootElement;
|
|
582
|
-
const doc = ownerDocument(resolvedRootElement);
|
|
583
|
-
const win = ownerWindow(doc);
|
|
584
|
-
function handleNativeTouchMove(event) {
|
|
585
|
-
if (ignoreTouchSwipeRef.current) {
|
|
586
|
-
return;
|
|
587
|
-
}
|
|
588
|
-
const touchState = touchScrollStateRef.current;
|
|
589
|
-
const touch = event.touches[0];
|
|
590
|
-
if (!touch || !touchState) {
|
|
591
|
-
return;
|
|
592
|
-
}
|
|
593
|
-
const drawerAxisDelta = isVerticalScrollAxis ? touch.clientY - touchState.lastY : touch.clientX - touchState.lastX;
|
|
594
|
-
|
|
595
|
-
// Preserve native range interaction by never locking touchmove for range inputs.
|
|
596
|
-
if (isEventOnRangeInput(event, win)) {
|
|
597
|
-
touchState.allowSwipe = false;
|
|
598
|
-
updateTouchScrollPosition(touchState, touch);
|
|
599
|
-
return;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
// Avoid blocking pinch zoom or text selection adjustments on iOS Safari.
|
|
603
|
-
if (event.touches.length === 2) {
|
|
604
|
-
updateTouchScrollPosition(touchState, touch);
|
|
605
|
-
return;
|
|
606
|
-
}
|
|
607
|
-
const allowTouchMove = shouldIgnoreSwipeForTextSelection(doc, resolvedRootElement);
|
|
608
|
-
if (allowTouchMove || !open || !mounted || nestedDrawerOpen) {
|
|
609
|
-
updateTouchScrollPosition(touchState, touch);
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
if (preserveNativeCrossAxisScrollOnMove(touchState, touch, isVerticalScrollAxis)) {
|
|
613
|
-
updateTouchScrollPosition(touchState, touch);
|
|
614
|
-
return;
|
|
615
|
-
}
|
|
616
|
-
const scrollTarget = touchState.scrollTarget;
|
|
617
|
-
if (!scrollTarget || scrollTarget === doc.documentElement || scrollTarget === doc.body) {
|
|
618
|
-
if (event.cancelable) {
|
|
619
|
-
event.preventDefault();
|
|
620
|
-
}
|
|
621
|
-
updateTouchScrollPosition(touchState, touch);
|
|
622
|
-
return;
|
|
623
|
-
}
|
|
624
|
-
const hasScrollableContent = hasScrollableContentOnAxis(scrollTarget, scrollAxis);
|
|
625
|
-
if (!hasScrollableContent) {
|
|
626
|
-
// If the scroll container doesn't overflow on the drawer axis, prevent the window from
|
|
627
|
-
// scrolling instead.
|
|
628
|
-
if (event.cancelable) {
|
|
629
|
-
event.preventDefault();
|
|
630
|
-
}
|
|
631
|
-
updateTouchScrollPosition(touchState, touch);
|
|
632
|
-
return;
|
|
633
|
-
}
|
|
634
|
-
const delta = drawerAxisDelta;
|
|
635
|
-
if (delta !== 0) {
|
|
636
|
-
const canSwipeFromScrollEdge = canSwipeFromScrollEdgeOnMove(scrollTarget, scrollAxis, swipeDirection, delta);
|
|
637
|
-
if (!touchState.allowSwipe) {
|
|
638
|
-
if (!event.cancelable) {
|
|
639
|
-
touchState.allowSwipe = false;
|
|
640
|
-
} else if (canSwipeFromScrollEdge) {
|
|
641
|
-
touchState.allowSwipe = true;
|
|
642
|
-
event.preventDefault();
|
|
643
|
-
} else {
|
|
644
|
-
touchState.allowSwipe = false;
|
|
645
|
-
}
|
|
646
|
-
} else if (event.cancelable) {
|
|
647
|
-
event.preventDefault();
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
updateTouchScrollPosition(touchState, touch);
|
|
651
|
-
}
|
|
652
|
-
return addEventListener(doc, 'touchmove', handleNativeTouchMove, {
|
|
653
|
-
passive: false,
|
|
654
|
-
capture: true
|
|
655
|
-
});
|
|
656
|
-
}, [mounted, nestedDrawerOpen, open, popupElementState, isVerticalScrollAxis, scrollAxis, swipeDirection, viewportElement]);
|
|
657
|
-
React.useEffect(() => {
|
|
658
|
-
if (!snapPointRange || swipe.swiping) {
|
|
659
|
-
return;
|
|
660
|
-
}
|
|
661
|
-
const resolvedProgress = !open || nested ? 0 : snapPointProgress ?? 0;
|
|
662
|
-
applySwipeProgress({
|
|
663
|
-
resolvedProgress,
|
|
664
|
-
shouldTrackProgress: true,
|
|
665
|
-
notifyParent: false
|
|
666
|
-
});
|
|
667
|
-
}, [applySwipeProgress, frontmostHeight, nested, notifyParentSwipeProgressChange, open, snapPointProgress, snapPointRange, swipe.swiping, store, visualStateStore]);
|
|
668
|
-
React.useEffect(() => {
|
|
669
|
-
if (!notifyParentSwipeProgressChange) {
|
|
670
|
-
return undefined;
|
|
671
|
-
}
|
|
672
|
-
if (!open) {
|
|
673
|
-
notifyParentSwipeProgressChange(0);
|
|
674
|
-
}
|
|
675
|
-
return () => {
|
|
676
|
-
notifyParentSwipeProgressChange(0);
|
|
677
|
-
};
|
|
678
|
-
}, [notifyParentSwipeProgressChange, open]);
|
|
679
|
-
React.useEffect(() => {
|
|
680
|
-
if (open) {
|
|
681
|
-
resetSwipe();
|
|
682
|
-
clearSwipeRelease();
|
|
683
|
-
}
|
|
684
|
-
}, [clearSwipeRelease, open, resetSwipe]);
|
|
685
|
-
React.useEffect(() => {
|
|
686
|
-
return () => {
|
|
687
|
-
visualStateStore?.set({
|
|
688
|
-
swipeProgress: 0,
|
|
689
|
-
frontmostHeight: 0
|
|
690
|
-
});
|
|
691
|
-
setBackdropSwipingAttribute(store.context.backdropRef.current, false);
|
|
692
|
-
finishNestedSwipe();
|
|
693
|
-
};
|
|
694
|
-
}, [finishNestedSwipe, store, visualStateStore]);
|
|
695
|
-
const swipeProviderValue = React.useMemo(() => ({
|
|
696
|
-
swiping: swipe.swiping,
|
|
697
|
-
getDragStyles: swipe.getDragStyles,
|
|
698
|
-
swipeStrength: swipeRelease ?? null,
|
|
699
|
-
setSwipeDismissed
|
|
700
|
-
}), [setSwipeDismissed, swipe.getDragStyles, swipe.swiping, swipeRelease]);
|
|
701
|
-
function resetTouchTrackingState() {
|
|
702
|
-
ignoreTouchSwipeRef.current = false;
|
|
703
|
-
touchScrollStateRef.current = null;
|
|
704
|
-
lastPointerTypeRef.current = '';
|
|
705
|
-
ignoreNextTouchStartFromPenRef.current = false;
|
|
706
|
-
}
|
|
707
|
-
return /*#__PURE__*/_jsx(DialogViewport, {
|
|
708
|
-
ref: forwardedRef,
|
|
709
|
-
className: className,
|
|
710
|
-
style: style,
|
|
711
|
-
render: render,
|
|
712
|
-
...mergeProps(elementProps, {
|
|
713
|
-
onPointerDown(event) {
|
|
714
|
-
lastPointerTypeRef.current = event.pointerType;
|
|
715
|
-
ignoreNextTouchStartFromPenRef.current = event.pointerType === 'pen';
|
|
716
|
-
if (!open || !mounted || nestedDrawerOpen) {
|
|
717
|
-
return;
|
|
718
|
-
}
|
|
719
|
-
const doc = ownerDocument(event.currentTarget);
|
|
720
|
-
const elementAtPoint = getElementAtPoint(doc, event.clientX, event.clientY);
|
|
721
|
-
if (isSwipeIgnoredTarget(elementAtPoint) || isDrawerContentTarget(elementAtPoint)) {
|
|
722
|
-
return;
|
|
723
|
-
}
|
|
724
|
-
if (event.pointerType === 'touch') {
|
|
725
|
-
return;
|
|
726
|
-
}
|
|
727
|
-
swipePointerProps.onPointerDown?.(event);
|
|
728
|
-
},
|
|
729
|
-
onPointerMove(event) {
|
|
730
|
-
if (event.pointerType === 'touch') {
|
|
731
|
-
return;
|
|
732
|
-
}
|
|
733
|
-
swipePointerProps.onPointerMove?.(event);
|
|
734
|
-
},
|
|
735
|
-
onPointerUp(event) {
|
|
736
|
-
if (lastPointerTypeRef.current === event.pointerType) {
|
|
737
|
-
lastPointerTypeRef.current = '';
|
|
738
|
-
}
|
|
739
|
-
if (event.pointerType === 'touch') {
|
|
740
|
-
return;
|
|
741
|
-
}
|
|
742
|
-
swipePointerProps.onPointerUp?.(event);
|
|
743
|
-
},
|
|
744
|
-
onPointerCancel(event) {
|
|
745
|
-
if (lastPointerTypeRef.current === event.pointerType) {
|
|
746
|
-
lastPointerTypeRef.current = '';
|
|
747
|
-
}
|
|
748
|
-
if (event.pointerType === 'touch') {
|
|
749
|
-
return;
|
|
750
|
-
}
|
|
751
|
-
swipePointerProps.onPointerCancel?.(event);
|
|
752
|
-
},
|
|
753
|
-
onTouchStart(event) {
|
|
754
|
-
const startedFromPenPointerDown = lastPointerTypeRef.current === 'pen' && ignoreNextTouchStartFromPenRef.current;
|
|
755
|
-
if (startedFromPenPointerDown) {
|
|
756
|
-
ignoreNextTouchStartFromPenRef.current = false;
|
|
757
|
-
ignoreTouchSwipeRef.current = false;
|
|
758
|
-
touchScrollStateRef.current = null;
|
|
759
|
-
return;
|
|
760
|
-
}
|
|
761
|
-
if (!open || !mounted || nestedDrawerOpen) {
|
|
762
|
-
ignoreTouchSwipeRef.current = false;
|
|
763
|
-
touchScrollStateRef.current = null;
|
|
764
|
-
return;
|
|
765
|
-
}
|
|
766
|
-
const touch = event.touches[0];
|
|
767
|
-
if (!touch) {
|
|
768
|
-
return;
|
|
769
|
-
}
|
|
770
|
-
if (isReactTouchEventOnRangeInput(event)) {
|
|
771
|
-
ignoreTouchSwipeRef.current = false;
|
|
772
|
-
touchScrollStateRef.current = null;
|
|
773
|
-
return;
|
|
774
|
-
}
|
|
775
|
-
const doc = ownerDocument(event.currentTarget);
|
|
776
|
-
const elementAtPoint = getElementAtPoint(doc, touch.clientX, touch.clientY);
|
|
777
|
-
ignoreTouchSwipeRef.current = isSwipeIgnoredTarget(elementAtPoint);
|
|
778
|
-
if (ignoreTouchSwipeRef.current) {
|
|
779
|
-
touchScrollStateRef.current = null;
|
|
780
|
-
return;
|
|
781
|
-
}
|
|
782
|
-
const rootElement = viewportElement ?? popupElementState;
|
|
783
|
-
const eventTarget = getTarget(event.nativeEvent);
|
|
784
|
-
const target = isElement(eventTarget) ? eventTarget : null;
|
|
785
|
-
if (rootElement && target && !contains(rootElement, target)) {
|
|
786
|
-
ignoreTouchSwipeRef.current = true;
|
|
787
|
-
touchScrollStateRef.current = null;
|
|
788
|
-
return;
|
|
789
|
-
}
|
|
790
|
-
let scrollTarget = null;
|
|
791
|
-
let hasCrossAxisScrollableContent = false;
|
|
792
|
-
if (rootElement && target) {
|
|
793
|
-
scrollTarget = findScrollableTouchTarget(target, rootElement, scrollAxis);
|
|
794
|
-
hasCrossAxisScrollableContent = findScrollableTouchTarget(target, rootElement, crossScrollAxis) != null;
|
|
795
|
-
}
|
|
796
|
-
let allowSwipe = null;
|
|
797
|
-
if (scrollTarget) {
|
|
798
|
-
const canSwipeFromEdge = isAtSwipeStartEdge(scrollTarget, scrollAxis, swipeDirection);
|
|
799
|
-
allowSwipe = canSwipeFromEdge ? null : false;
|
|
800
|
-
}
|
|
801
|
-
touchScrollStateRef.current = {
|
|
802
|
-
startX: touch.clientX,
|
|
803
|
-
startY: touch.clientY,
|
|
804
|
-
lastX: touch.clientX,
|
|
805
|
-
lastY: touch.clientY,
|
|
806
|
-
scrollTarget,
|
|
807
|
-
hasCrossAxisScrollableContent,
|
|
808
|
-
allowSwipe,
|
|
809
|
-
preserveNativeCrossAxisScroll: false
|
|
810
|
-
};
|
|
811
|
-
swipeTouchProps.onTouchStart?.(event);
|
|
812
|
-
},
|
|
813
|
-
onTouchMove(event) {
|
|
814
|
-
if (ignoreTouchSwipeRef.current) {
|
|
815
|
-
return;
|
|
816
|
-
}
|
|
817
|
-
if (isReactTouchEventOnRangeInput(event)) {
|
|
818
|
-
return;
|
|
819
|
-
}
|
|
820
|
-
const touchState = touchScrollStateRef.current;
|
|
821
|
-
if (touchState?.preserveNativeCrossAxisScroll) {
|
|
822
|
-
return;
|
|
823
|
-
}
|
|
824
|
-
if (touchState?.allowSwipe === false || touchState?.scrollTarget != null && !touchState.allowSwipe) {
|
|
825
|
-
return;
|
|
826
|
-
}
|
|
827
|
-
swipeTouchProps.onTouchMove?.(event);
|
|
828
|
-
},
|
|
829
|
-
onTouchEnd(event) {
|
|
830
|
-
resetTouchTrackingState();
|
|
831
|
-
swipeTouchProps.onTouchEnd?.(event);
|
|
832
|
-
},
|
|
833
|
-
onTouchCancel(event) {
|
|
834
|
-
resetTouchTrackingState();
|
|
835
|
-
swipeTouchProps.onTouchCancel?.(event);
|
|
836
|
-
},
|
|
837
|
-
// Drawer popups use drawer-specific nested state attributes.
|
|
838
|
-
// Suppress DialogViewport's generic nested dialog attribute.
|
|
839
|
-
['data-nested-dialog-open']: undefined
|
|
840
|
-
}),
|
|
841
|
-
children: /*#__PURE__*/_jsx(DrawerViewportContext.Provider, {
|
|
842
|
-
value: swipeProviderValue,
|
|
843
|
-
children: children
|
|
844
|
-
})
|
|
845
|
-
});
|
|
846
|
-
});
|
|
847
|
-
if (process.env.NODE_ENV !== "production") DrawerViewport.displayName = "DrawerViewport";
|
|
848
|
-
function setSwipeDismissedElements(popupElement, backdropElement, dismissed) {
|
|
849
|
-
if (dismissed) {
|
|
850
|
-
popupElement?.setAttribute(DrawerPopupDataAttributes.swipeDismiss, '');
|
|
851
|
-
backdropElement?.setAttribute(DrawerPopupDataAttributes.swipeDismiss, '');
|
|
852
|
-
return;
|
|
853
|
-
}
|
|
854
|
-
popupElement?.removeAttribute(DrawerPopupDataAttributes.swipeDismiss);
|
|
855
|
-
backdropElement?.removeAttribute(DrawerPopupDataAttributes.swipeDismiss);
|
|
856
|
-
}
|
|
857
|
-
function setBackdropSwipingAttribute(backdropElement, swiping) {
|
|
858
|
-
if (!backdropElement) {
|
|
859
|
-
return;
|
|
860
|
-
}
|
|
861
|
-
if (swiping) {
|
|
862
|
-
backdropElement.setAttribute(DrawerPopupDataAttributes.swiping, '');
|
|
863
|
-
return;
|
|
864
|
-
}
|
|
865
|
-
backdropElement.removeAttribute(DrawerPopupDataAttributes.swiping);
|
|
866
|
-
}
|
|
867
|
-
function isSwipeIgnoredTarget(target) {
|
|
868
|
-
return Boolean(target?.closest(BASE_UI_SWIPE_IGNORE_SELECTOR));
|
|
869
|
-
}
|
|
870
|
-
function isDrawerContentTarget(target) {
|
|
871
|
-
return Boolean(target?.closest(DRAWER_CONTENT_SELECTOR));
|
|
872
|
-
}
|
|
873
|
-
function getBaseSwipeThreshold(element, direction) {
|
|
874
|
-
const size = direction === 'left' || direction === 'right' ? element.offsetWidth : element.offsetHeight;
|
|
875
|
-
return Math.max(size * 0.5, MIN_SWIPE_THRESHOLD);
|
|
876
|
-
}
|
|
877
|
-
function isRangeInput(target, win) {
|
|
878
|
-
return target instanceof win.HTMLInputElement && target.type === 'range';
|
|
879
|
-
}
|
|
880
|
-
function isTextSelectionControl(target) {
|
|
881
|
-
if (!isElement(target)) {
|
|
882
|
-
return false;
|
|
883
|
-
}
|
|
884
|
-
return target.tagName === 'INPUT' || target.tagName === 'TEXTAREA';
|
|
885
|
-
}
|
|
886
|
-
function hasExpandedSelectionWithinTarget(selection, target) {
|
|
887
|
-
const anchorElement = isElement(selection.anchorNode) ? selection.anchorNode : selection.anchorNode?.parentElement;
|
|
888
|
-
const focusElement = isElement(selection.focusNode) ? selection.focusNode : selection.focusNode?.parentElement;
|
|
889
|
-
return selection.containsNode(target, true) || contains(target, anchorElement) || contains(target, focusElement);
|
|
890
|
-
}
|
|
891
|
-
function shouldIgnoreSwipeForTextSelection(doc, rootElement) {
|
|
892
|
-
const activeEl = activeElement(doc);
|
|
893
|
-
const activeElementWithinRoot = Boolean(activeEl && contains(rootElement, activeEl));
|
|
894
|
-
if (activeElementWithinRoot && isTextSelectionControl(activeEl)) {
|
|
895
|
-
const {
|
|
896
|
-
selectionStart,
|
|
897
|
-
selectionEnd
|
|
898
|
-
} = activeEl;
|
|
899
|
-
if (selectionStart != null && selectionEnd != null && selectionStart < selectionEnd) {
|
|
900
|
-
return true;
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
const selection = doc.getSelection?.();
|
|
904
|
-
if (!selection || selection.isCollapsed) {
|
|
905
|
-
return false;
|
|
906
|
-
}
|
|
907
|
-
return hasExpandedSelectionWithinTarget(selection, rootElement);
|
|
908
|
-
}
|
|
909
|
-
function isEventOnRangeInput(event, win) {
|
|
910
|
-
const composedPath = event.composedPath();
|
|
911
|
-
if (composedPath) {
|
|
912
|
-
return composedPath.some(pathTarget => isRangeInput(pathTarget, win));
|
|
913
|
-
}
|
|
914
|
-
return isRangeInput(getTarget(event), win);
|
|
915
|
-
}
|
|
916
|
-
function isReactTouchEventOnRangeInput(event) {
|
|
917
|
-
return isEventOnRangeInput(event.nativeEvent, ownerWindow(event.currentTarget));
|
|
918
|
-
}
|
|
919
|
-
function updateTouchScrollPosition(touchState, touch) {
|
|
920
|
-
touchState.lastX = touch.clientX;
|
|
921
|
-
touchState.lastY = touch.clientY;
|
|
922
|
-
}
|
|
923
|
-
function preserveNativeCrossAxisScrollOnMove(touchState, touch, isVerticalScrollAxis) {
|
|
924
|
-
if (touchState.preserveNativeCrossAxisScroll) {
|
|
925
|
-
return true;
|
|
926
|
-
}
|
|
927
|
-
if (touchState.allowSwipe === true || !touchState.hasCrossAxisScrollableContent) {
|
|
928
|
-
return false;
|
|
929
|
-
}
|
|
930
|
-
const drawerAxisGestureDelta = isVerticalScrollAxis ? touch.clientY - touchState.startY : touch.clientX - touchState.startX;
|
|
931
|
-
const crossAxisGestureDelta = isVerticalScrollAxis ? touch.clientX - touchState.startX : touch.clientY - touchState.startY;
|
|
932
|
-
const absDrawerAxisGestureDelta = Math.abs(drawerAxisGestureDelta);
|
|
933
|
-
const absCrossAxisGestureDelta = Math.abs(crossAxisGestureDelta);
|
|
934
|
-
if (absCrossAxisGestureDelta < 6 || absCrossAxisGestureDelta <= absDrawerAxisGestureDelta + 2) {
|
|
935
|
-
return false;
|
|
936
|
-
}
|
|
937
|
-
touchState.preserveNativeCrossAxisScroll = true;
|
|
938
|
-
return true;
|
|
939
|
-
}
|
|
940
|
-
function hasScrollableContentOnAxis(scrollTarget, axis) {
|
|
941
|
-
return axis === 'vertical' ? scrollTarget.scrollHeight > scrollTarget.clientHeight : scrollTarget.scrollWidth > scrollTarget.clientWidth;
|
|
942
|
-
}
|
|
943
|
-
function getScrollMetrics(scrollTarget, axis) {
|
|
944
|
-
if (axis === 'vertical') {
|
|
945
|
-
const max = Math.max(0, scrollTarget.scrollHeight - scrollTarget.clientHeight);
|
|
946
|
-
return {
|
|
947
|
-
offset: scrollTarget.scrollTop,
|
|
948
|
-
max
|
|
949
|
-
};
|
|
950
|
-
}
|
|
951
|
-
const max = Math.max(0, scrollTarget.scrollWidth - scrollTarget.clientWidth);
|
|
952
|
-
return {
|
|
953
|
-
offset: scrollTarget.scrollLeft,
|
|
954
|
-
max
|
|
955
|
-
};
|
|
956
|
-
}
|
|
957
|
-
function isAtSwipeStartEdge(scrollTarget, axis, direction) {
|
|
958
|
-
const {
|
|
959
|
-
offset,
|
|
960
|
-
max
|
|
961
|
-
} = getScrollMetrics(scrollTarget, axis);
|
|
962
|
-
const dismissFromStartEdge = shouldDismissFromStartEdge(direction, axis);
|
|
963
|
-
if (dismissFromStartEdge === null) {
|
|
964
|
-
return false;
|
|
965
|
-
}
|
|
966
|
-
return dismissFromStartEdge ? offset <= 0 : offset >= max;
|
|
967
|
-
}
|
|
968
|
-
function canSwipeFromScrollEdgeOnMove(scrollTarget, axis, direction, delta) {
|
|
969
|
-
const {
|
|
970
|
-
offset,
|
|
971
|
-
max
|
|
972
|
-
} = getScrollMetrics(scrollTarget, axis);
|
|
973
|
-
const dismissFromStartEdge = shouldDismissFromStartEdge(direction, axis);
|
|
974
|
-
if (dismissFromStartEdge === null) {
|
|
975
|
-
return false;
|
|
976
|
-
}
|
|
977
|
-
const movingTowardDismiss = dismissFromStartEdge ? delta > 0 : delta < 0;
|
|
978
|
-
if (!movingTowardDismiss) {
|
|
979
|
-
return false;
|
|
980
|
-
}
|
|
981
|
-
return dismissFromStartEdge ? offset <= 0 : offset >= max;
|
|
982
|
-
}
|
|
983
|
-
function shouldDismissFromStartEdge(direction, axis) {
|
|
984
|
-
if (axis === 'vertical') {
|
|
985
|
-
if (direction === 'down') {
|
|
986
|
-
return true;
|
|
987
|
-
}
|
|
988
|
-
if (direction === 'up') {
|
|
989
|
-
return false;
|
|
990
|
-
}
|
|
991
|
-
return null;
|
|
992
|
-
}
|
|
993
|
-
if (direction === 'right') {
|
|
994
|
-
return true;
|
|
995
|
-
}
|
|
996
|
-
if (direction === 'left') {
|
|
997
|
-
return false;
|
|
998
|
-
}
|
|
999
|
-
return null;
|
|
1000
|
-
}
|