@nationaldesignstudio/react 0.3.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index.js +6 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/_virtual/with-selector.development.js +5 -0
- package/dist/_virtual/with-selector.development.js.map +1 -0
- package/dist/_virtual/with-selector.js +6 -0
- package/dist/_virtual/with-selector.js.map +1 -0
- package/dist/_virtual/with-selector.production.js +5 -0
- package/dist/_virtual/with-selector.production.js.map +1 -0
- package/dist/_virtual/with-selector2.js +5 -0
- package/dist/_virtual/with-selector2.js.map +1 -0
- package/dist/component-registry.md +1310 -127
- package/dist/components/atoms/accordion/accordion.js +136 -0
- package/dist/components/atoms/accordion/accordion.js.map +1 -0
- package/dist/components/atoms/background/background.js +190 -0
- package/dist/components/atoms/background/background.js.map +1 -0
- package/dist/components/atoms/button/button.d.ts +55 -47
- package/dist/components/atoms/button/button.figma.d.ts +1 -0
- package/dist/components/atoms/button/button.js +68 -0
- package/dist/components/atoms/button/button.js.map +1 -0
- package/dist/components/atoms/button/icon-button.js +69 -0
- package/dist/components/atoms/button/icon-button.js.map +1 -0
- package/dist/components/atoms/input/input-group.js +221 -0
- package/dist/components/atoms/input/input-group.js.map +1 -0
- package/dist/components/atoms/input/input.d.ts +24 -24
- package/dist/components/atoms/input/input.js +45 -0
- package/dist/components/atoms/input/input.js.map +1 -0
- package/dist/components/atoms/ndstudio-footer/ndstudio-footer.js +27 -0
- package/dist/components/atoms/ndstudio-footer/ndstudio-footer.js.map +1 -0
- package/dist/components/atoms/pager-control/pager-control.js +165 -0
- package/dist/components/atoms/pager-control/pager-control.js.map +1 -0
- package/dist/components/atoms/popover/popover.d.ts +195 -0
- package/dist/components/atoms/popover/popover.js +230 -0
- package/dist/components/atoms/popover/popover.js.map +1 -0
- package/dist/components/atoms/select/select.d.ts +24 -24
- package/dist/components/atoms/select/select.js +192 -0
- package/dist/components/atoms/select/select.js.map +1 -0
- package/dist/components/atoms/tooltip/tooltip.d.ts +161 -0
- package/dist/components/atoms/tooltip/tooltip.js +139 -0
- package/dist/components/atoms/tooltip/tooltip.js.map +1 -0
- package/dist/components/dev-tools/dev-toolbar/dev-toolbar.js +134 -0
- package/dist/components/dev-tools/dev-toolbar/dev-toolbar.js.map +1 -0
- package/dist/components/dev-tools/grid-overlay/grid-overlay.js +36 -0
- package/dist/components/dev-tools/grid-overlay/grid-overlay.js.map +1 -0
- package/dist/components/organisms/card/card.d.ts +1 -1
- package/dist/components/organisms/card/card.js +163 -0
- package/dist/components/organisms/card/card.js.map +1 -0
- package/dist/components/organisms/navbar/navbar.js +204 -0
- package/dist/components/organisms/navbar/navbar.js.map +1 -0
- package/dist/components/organisms/us-gov-banner/us-gov-banner.js +97 -0
- package/dist/components/organisms/us-gov-banner/us-gov-banner.js.map +1 -0
- package/dist/components/sections/banner/banner.js +73 -0
- package/dist/components/sections/banner/banner.js.map +1 -0
- package/dist/components/sections/card-grid/card-grid.js +66 -0
- package/dist/components/sections/card-grid/card-grid.js.map +1 -0
- package/dist/components/sections/faq-section/faq-section.js +37 -0
- package/dist/components/sections/faq-section/faq-section.js.map +1 -0
- package/dist/components/sections/hero/hero.d.ts +2 -2
- package/dist/components/sections/hero/hero.js +159 -0
- package/dist/components/sections/hero/hero.js.map +1 -0
- package/dist/components/sections/prose/prose.js +48 -0
- package/dist/components/sections/prose/prose.js.map +1 -0
- package/dist/components/sections/quote-block/quote-block.js +130 -0
- package/dist/components/sections/quote-block/quote-block.js.map +1 -0
- package/dist/components/sections/river/river.js +100 -0
- package/dist/components/sections/river/river.js.map +1 -0
- package/dist/components/sections/tout/tout.d.ts +3 -3
- package/dist/components/sections/tout/tout.js +178 -0
- package/dist/components/sections/tout/tout.js.map +1 -0
- package/dist/components/sections/two-column-section/two-column-section.js +113 -0
- package/dist/components/sections/two-column-section/two-column-section.js.map +1 -0
- package/dist/components/shared/floating-arrow.d.ts +34 -0
- package/dist/components/shared/floating-arrow.js +51 -0
- package/dist/components/shared/floating-arrow.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +160 -15786
- package/dist/index.js.map +1 -1
- package/dist/lib/form-control.d.ts +25 -24
- package/dist/lib/form-control.js +43 -0
- package/dist/lib/form-control.js.map +1 -0
- package/dist/lib/theme.js +100 -0
- package/dist/lib/theme.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/header/AccordionHeader.js +24 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/header/AccordionHeader.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/AccordionItem.js +79 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/AccordionItem.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/AccordionItemContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/AccordionItemContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/AccordionItemDataAttributes.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/AccordionItemDataAttributes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/stateAttributesMapping.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/item/stateAttributesMapping.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/panel/AccordionPanel.js +113 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/panel/AccordionPanel.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/panel/AccordionPanelCssVars.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/panel/AccordionPanelCssVars.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/root/AccordionRoot.js +97 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/root/AccordionRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/root/AccordionRootContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/root/AccordionRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/root/AccordionRootDataAttributes.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/root/AccordionRootDataAttributes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/trigger/AccordionTrigger.js +112 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/accordion/trigger/AccordionTrigger.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/button/Button.js +32 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/button/Button.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/panel/CollapsiblePanelDataAttributes.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/panel/CollapsiblePanelDataAttributes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/panel/useCollapsiblePanel.js +168 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/panel/useCollapsiblePanel.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/root/CollapsibleRootContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/root/CollapsibleRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/root/useCollapsibleRoot.js +67 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/root/useCollapsibleRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/trigger/CollapsibleTriggerDataAttributes.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/collapsible/trigger/CollapsibleTriggerDataAttributes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/composite.js +16 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/composite.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/list/CompositeList.js +82 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/list/CompositeList.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/list/CompositeListContext.js +24 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/list/CompositeListContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/list/useCompositeListItem.js +56 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/list/useCompositeListItem.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/root/CompositeRootContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/composite/root/CompositeRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/popup/DialogPopup.js +80 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/popup/DialogPopup.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/popup/DialogPopupCssVars.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/popup/DialogPopupCssVars.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/popup/DialogPopupDataAttributes.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/popup/DialogPopupDataAttributes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/portal/DialogPortal.js +31 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/portal/DialogPortal.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/portal/DialogPortalContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/portal/DialogPortalContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/root/DialogRoot.js +51 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/root/DialogRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/root/DialogRootContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/root/DialogRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/root/useDialogRoot.js +90 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/root/useDialogRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/store/DialogStore.js +66 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/store/DialogStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/title/DialogTitle.js +25 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/dialog/title/DialogTitle.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/direction-provider/DirectionContext.js +11 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/direction-provider/DirectionContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/control/FieldControlDataAttributes.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/control/FieldControlDataAttributes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/root/FieldRootContext.js +61 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/root/FieldRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/useField.js +52 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/useField.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/utils/constants.js +27 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/utils/constants.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/utils/getCombinedFieldValidityData.js +13 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/field/utils/getCombinedFieldValidityData.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingDelayGroup.js +94 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingDelayGroup.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingFocusManager.js +299 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingFocusManager.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingPortal.js +128 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingPortal.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingRootStore.js +61 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingRootStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingTree.js +59 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingTree.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingTreeStore.js +18 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingTreeStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClick.js +67 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClick.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClientPoint.js +93 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClientPoint.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useDismiss.js +234 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useDismiss.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloating.js +79 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloating.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloatingRootContext.js +39 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloatingRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFocus.js +79 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFocus.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHover.js +17 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHover.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHoverFloatingInteraction.js +91 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHoverFloatingInteraction.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHoverInteractionSharedState.js +33 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHoverInteractionSharedState.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHoverReferenceInteraction.js +159 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHoverReferenceInteraction.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useInteractions.js +49 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useInteractions.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useListNavigation.js +287 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useListNavigation.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useRole.js +78 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useRole.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js +36 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useTypeahead.js +57 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useTypeahead.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/middleware/arrow.js +48 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/middleware/arrow.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/safePolygon.js +117 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/safePolygon.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/composite.js +210 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/composite.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/constants.js +12 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/constants.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createAttribute.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createAttribute.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createEventEmitter.js +18 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createEventEmitter.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/element.js +73 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/element.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/enqueueFocus.js +17 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/enqueueFocus.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/event.js +31 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/event.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/getEmptyRootContext.js +18 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/getEmptyRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/markOthers.js +51 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/markOthers.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/nodes.js +16 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/nodes.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/tabbable.js +68 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/tabbable.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/form/FormContext.js +24 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/form/FormContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/labelable-provider/LabelableContext.js +20 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/labelable-provider/LabelableContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/labelable-provider/useLabelableId.js +30 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/labelable-provider/useLabelableId.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/merge-props/mergeProps.js +83 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/merge-props/mergeProps.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/arrow/PopoverArrow.js +39 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/arrow/PopoverArrow.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/backdrop/PopoverBackdrop.js +40 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/backdrop/PopoverBackdrop.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/close/PopoverClose.js +37 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/close/PopoverClose.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/description/PopoverDescription.js +27 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/description/PopoverDescription.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/popup/PopoverPopup.js +106 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/popup/PopoverPopup.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/portal/PopoverPortal.js +26 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/portal/PopoverPortal.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/portal/PopoverPortalContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/portal/PopoverPortalContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/positioner/PopoverPositioner.js +111 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/positioner/PopoverPositioner.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/positioner/PopoverPositionerContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/positioner/PopoverPositionerContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/root/PopoverRoot.js +111 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/root/PopoverRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/root/PopoverRootContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/root/PopoverRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/store/PopoverStore.js +93 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/store/PopoverStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/title/PopoverTitle.js +27 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/title/PopoverTitle.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/trigger/PopoverTrigger.js +121 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/trigger/PopoverTrigger.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/utils/constants.js +5 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/popover/utils/constants.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/group/SelectGroup.js +29 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/group/SelectGroup.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/group/SelectGroupContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/group/SelectGroupContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/group-label/SelectGroupLabel.js +28 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/group-label/SelectGroupLabel.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/icon/SelectIcon.js +31 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/icon/SelectIcon.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item/SelectItem.js +148 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item/SelectItem.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item/SelectItemContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item/SelectItemContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item-indicator/SelectItemIndicator.js +53 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item-indicator/SelectItemIndicator.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item-text/SelectItemText.js +32 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/item-text/SelectItemText.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/popup/SelectPopup.js +200 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/popup/SelectPopup.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/popup/utils.js +14 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/popup/utils.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/portal/SelectPortal.js +24 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/portal/SelectPortal.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/portal/SelectPortalContext.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/portal/SelectPortalContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/positioner/SelectPositioner.js +143 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/positioner/SelectPositioner.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/positioner/SelectPositionerContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/positioner/SelectPositionerContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/root/SelectRoot.js +314 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/root/SelectRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/root/SelectRootContext.js +25 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/root/SelectRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/store.js +46 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/store.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/trigger/SelectTrigger.js +142 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/trigger/SelectTrigger.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/value/SelectValue.js +35 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/select/value/SelectValue.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/toolbar/root/ToolbarRootContext.js +11 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/toolbar/root/ToolbarRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/arrow/TooltipArrow.js +39 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/arrow/TooltipArrow.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/popup/TooltipPopup.js +74 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/popup/TooltipPopup.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortal.js +23 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortal.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortalContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortalContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositioner.js +82 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositioner.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositionerContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositionerContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProvider.js +30 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProvider.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProviderContext.js +11 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProviderContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRoot.js +91 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRoot.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRootContext.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRootContext.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/store/TooltipStore.js +72 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/store/TooltipStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/trigger/TooltipTrigger.js +76 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/trigger/TooltipTrigger.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/utils/constants.js +5 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/tooltip/utils/constants.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/use-button/useButton.js +92 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/use-button/useButton.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/use-render/useRender.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/use-render/useRender.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/FloatingPortalLite.js +29 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/FloatingPortalLite.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/FocusGuard.js +27 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/FocusGuard.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/InternalBackdrop.js +42 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/InternalBackdrop.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/adaptiveOriginMiddleware.js +64 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/adaptiveOriginMiddleware.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/collapsibleOpenStateMapping.js +22 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/collapsibleOpenStateMapping.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/constants.js +23 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/constants.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/createBaseUIEventDetails.js +27 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/createBaseUIEventDetails.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getCssDimensions.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getCssDimensions.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getDisabledMountTransitionStyles.js +9 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getDisabledMountTransitionStyles.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getPseudoElementBounds.js +19 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getPseudoElementBounds.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getStateAttributesProps.js +17 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/getStateAttributesProps.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/hideMiddleware.js +21 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/hideMiddleware.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/itemEquality.js +21 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/itemEquality.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popupStateMapping.js +41 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popupStateMapping.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popups/popupStoreUtils.js +84 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popups/popupStoreUtils.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popups/popupTriggerMap.js +51 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popups/popupTriggerMap.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popups/store.js +51 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/popups/store.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/reason-parts.js +18 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/reason-parts.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveClassName.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveClassName.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveRef.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveRef.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveStyle.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveStyle.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveValueLabel.js +54 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/resolveValueLabel.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/serializeValue.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/serializeValue.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/stateAttributesMapping.js +17 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/stateAttributesMapping.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/styles.js +13 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/styles.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useAnchorPositioning.js +266 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useAnchorPositioning.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useAnimationsFinished.js +29 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useAnimationsFinished.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useBaseUiId.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useBaseUiId.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useFocusableWhenDisabled.js +25 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useFocusableWhenDisabled.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useOpenChangeComplete.js +21 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useOpenChangeComplete.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useOpenInteractionType.js +25 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useOpenInteractionType.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/usePopupAutoResize.js +76 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/usePopupAutoResize.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useRenderElement.js +58 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useRenderElement.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useTransitionStatus.js +46 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useTransitionStatus.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useValueChanged.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_react@1.0.0-rc.0_6526322f93af6249/node_modules/@base-ui-components/react/esm/utils/useValueChanged.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/detectBrowser.js +43 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/detectBrowser.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/empty.js +9 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/empty.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/error.js +12 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/error.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/formatErrorMessage.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/formatErrorMessage.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/getReactElementRef.js +12 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/getReactElementRef.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/inertValue.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/inertValue.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/isElementDisabled.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/isElementDisabled.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/isMouseWithinBounds.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/isMouseWithinBounds.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/mergeObjects.js +15 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/mergeObjects.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/owner.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/owner.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/reactVersion.js +9 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/reactVersion.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/safeReact.js +8 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/safeReact.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/ReactStore.js +203 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/ReactStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/Store.js +83 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/Store.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/createSelector.js +23 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/createSelector.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/useStore.js +19 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/store/useStore.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useAnimationFrame.js +69 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useAnimationFrame.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useControlled.js +32 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useControlled.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useEnhancedClickHandler.js +20 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useEnhancedClickHandler.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useId.js +21 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useId.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useIsoLayoutEffect.js +7 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useIsoLayoutEffect.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useMergedRefs.js +70 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useMergedRefs.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useOnFirstRender.js +9 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useOnFirstRender.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useOnMount.js +9 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useOnMount.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useRefWithInit.js +10 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useRefWithInit.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useScrollLock.js +107 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useScrollLock.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useStableCallback.js +30 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useStableCallback.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useTimeout.js +33 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useTimeout.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useValueAsRef.js +20 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/useValueAsRef.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/visuallyHidden.js +17 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/visuallyHidden.js.map +1 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/warn.js +12 -0
- package/dist/node_modules/.bun/@base-ui-components_utils@0.2.2_6526322f93af6249/node_modules/@base-ui-components/utils/esm/warn.js.map +1 -0
- package/dist/node_modules/.bun/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +490 -0
- package/dist/node_modules/.bun/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
- package/dist/node_modules/.bun/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/.bun/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
- package/dist/node_modules/.bun/@floating-ui_react-dom@2.1.6_67f6792bdf102c28/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +184 -0
- package/dist/node_modules/.bun/@floating-ui_react-dom@2.1.6_67f6792bdf102c28/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -0
- package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
- package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +131 -0
- package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.2_09a4a3ac15cb54ba/node_modules/@radix-ui/react-compose-refs/dist/index.js +26 -0
- package/dist/node_modules/.bun/@radix-ui_react-compose-refs@1.1.2_09a4a3ac15cb54ba/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.2.4_09a4a3ac15cb54ba/node_modules/@radix-ui/react-slot/dist/index.js +62 -0
- package/dist/node_modules/.bun/@radix-ui_react-slot@1.2.4_09a4a3ac15cb54ba/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/reselect@5.1.1/node_modules/reselect/dist/reselect.js +325 -0
- package/dist/node_modules/.bun/reselect@5.1.1/node_modules/reselect/dist/reselect.js.map +1 -0
- package/dist/node_modules/.bun/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +212 -0
- package/dist/node_modules/.bun/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js.map +1 -0
- package/dist/node_modules/.bun/tailwind-merge@2.5.4/node_modules/tailwind-merge/dist/bundle-mjs.js +2294 -0
- package/dist/node_modules/.bun/tailwind-merge@2.5.4/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/.bun/tailwind-variants@0.3.1_b0c4767bcd570450/node_modules/tailwind-variants/dist/chunk-I2QGXAA3.js +29 -0
- package/dist/node_modules/.bun/tailwind-variants@0.3.1_b0c4767bcd570450/node_modules/tailwind-variants/dist/chunk-I2QGXAA3.js.map +1 -0
- package/dist/node_modules/.bun/tailwind-variants@0.3.1_b0c4767bcd570450/node_modules/tailwind-variants/dist/index.js +127 -0
- package/dist/node_modules/.bun/tailwind-variants@0.3.1_b0c4767bcd570450/node_modules/tailwind-variants/dist/index.js.map +1 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +59 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +58 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +59 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +47 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/shim/index.js +11 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/shim/with-selector.js +11 -0
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_83d5fd7b249dbeef/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
- package/dist/packages/design-tokens-format/dist/definitions/tokenTypes.js +20 -0
- package/dist/packages/design-tokens-format/dist/definitions/tokenTypes.js.map +1 -0
- package/dist/packages/design-tokens-format/dist/utils/colorConversions.js +29 -0
- package/dist/packages/design-tokens-format/dist/utils/colorConversions.js.map +1 -0
- package/dist/packages/tokens/dist/collections/types.js +17 -0
- package/dist/packages/tokens/dist/collections/types.js.map +1 -0
- package/dist/packages/tokens/dist/merge.js +21 -0
- package/dist/packages/tokens/dist/merge.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/animation.js +107 -0
- package/dist/packages/tokens/dist/primitives/animation.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/breakpoints.js +32 -0
- package/dist/packages/tokens/dist/primitives/breakpoints.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/colors.js +354 -0
- package/dist/packages/tokens/dist/primitives/colors.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/opacity.js +22 -0
- package/dist/packages/tokens/dist/primitives/opacity.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/radii.js +37 -0
- package/dist/packages/tokens/dist/primitives/radii.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/shadow.js +66 -0
- package/dist/packages/tokens/dist/primitives/shadow.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/spacing.js +56 -0
- package/dist/packages/tokens/dist/primitives/spacing.js.map +1 -0
- package/dist/packages/tokens/dist/primitives/typography.js +162 -0
- package/dist/packages/tokens/dist/primitives/typography.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/base.js +242 -0
- package/dist/packages/tokens/dist/semantic/color/base.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/bop.js +47 -0
- package/dist/packages/tokens/dist/semantic/color/bop.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/civic.js +50 -0
- package/dist/packages/tokens/dist/semantic/color/civic.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/dark.js +146 -0
- package/dist/packages/tokens/dist/semantic/color/dark.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/darktech.js +149 -0
- package/dist/packages/tokens/dist/semantic/color/darktech.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/institution.js +67 -0
- package/dist/packages/tokens/dist/semantic/color/institution.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/oceana.js +155 -0
- package/dist/packages/tokens/dist/semantic/color/oceana.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/color/recreation.js +155 -0
- package/dist/packages/tokens/dist/semantic/color/recreation.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/spatial/base.js +651 -0
- package/dist/packages/tokens/dist/semantic/spatial/base.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/surface/base.js +93 -0
- package/dist/packages/tokens/dist/semantic/surface/base.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/surface/framed.js +39 -0
- package/dist/packages/tokens/dist/semantic/surface/framed.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/surface/sharp.js +39 -0
- package/dist/packages/tokens/dist/semantic/surface/sharp.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/surface/soft.js +39 -0
- package/dist/packages/tokens/dist/semantic/surface/soft.js.map +1 -0
- package/dist/packages/tokens/dist/semantic/typography/base.js +858 -0
- package/dist/packages/tokens/dist/semantic/typography/base.js.map +1 -0
- package/dist/packages/tokens/dist/theme-registry.js +32 -0
- package/dist/packages/tokens/dist/theme-registry.js.map +1 -0
- package/dist/packages/tokens/dist/themes/resolver.js +44 -0
- package/dist/packages/tokens/dist/themes/resolver.js.map +1 -0
- package/dist/packages/tokens/dist/tokens.js +33 -0
- package/dist/packages/tokens/dist/tokens.js.map +1 -0
- package/dist/packages/tokens/dist/types.js +7 -0
- package/dist/packages/tokens/dist/types.js.map +1 -0
- package/dist/packages/tokens/dist/utils.js +70 -0
- package/dist/packages/tokens/dist/utils.js.map +1 -0
- package/dist/theme/hooks.js +22 -0
- package/dist/theme/hooks.js.map +1 -0
- package/dist/theme/theme-provider.js +96 -0
- package/dist/theme/theme-provider.js.map +1 -0
- package/dist/theme/utils.js +44 -0
- package/dist/theme/utils.js.map +1 -0
- package/dist/tokens.css +4797 -3940
- package/package.json +86 -1
- package/src/components/atoms/accordion/accordion.stories.tsx +1 -1
- package/src/components/atoms/accordion/accordion.tsx +2 -2
- package/src/components/atoms/button/button.figma.tsx +37 -0
- package/src/components/atoms/button/button.stories.tsx +236 -140
- package/src/components/atoms/button/button.test.tsx +289 -5
- package/src/components/atoms/button/button.tsx +37 -33
- package/src/components/atoms/button/button.visual.test.tsx +26 -76
- package/src/components/atoms/button/icon-button.stories.tsx +44 -101
- package/src/components/atoms/button/icon-button.test.tsx +26 -94
- package/src/components/atoms/button/icon-button.tsx +3 -3
- package/src/components/atoms/input/input-group.stories.tsx +4 -8
- package/src/components/atoms/input/input-group.test.tsx +14 -28
- package/src/components/atoms/input/input-group.tsx +57 -32
- package/src/components/atoms/input/input.stories.tsx +14 -18
- package/src/components/atoms/input/input.test.tsx +4 -20
- package/src/components/atoms/input/input.tsx +16 -9
- package/src/components/atoms/pager-control/pager-control.stories.tsx +6 -8
- package/src/components/atoms/pager-control/pager-control.tsx +12 -12
- package/src/components/atoms/popover/index.ts +30 -0
- package/src/components/atoms/popover/popover.stories.tsx +531 -0
- package/src/components/atoms/popover/popover.test.tsx +486 -0
- package/src/components/atoms/popover/popover.tsx +488 -0
- package/src/components/atoms/select/select.tsx +12 -8
- package/src/components/atoms/tooltip/index.ts +24 -0
- package/src/components/atoms/tooltip/tooltip.stories.tsx +348 -0
- package/src/components/atoms/tooltip/tooltip.test.tsx +363 -0
- package/src/components/atoms/tooltip/tooltip.tsx +347 -0
- package/src/components/dev-tools/dev-toolbar/dev-toolbar.stories.tsx +8 -13
- package/src/components/dev-tools/dev-toolbar/dev-toolbar.tsx +3 -3
- package/src/components/organisms/card/card.stories.tsx +19 -19
- package/src/components/organisms/card/card.tsx +1 -1
- package/src/components/organisms/card/card.visual.test.tsx +11 -11
- package/src/components/organisms/navbar/navbar.visual.test.tsx +2 -2
- package/src/components/organisms/us-gov-banner/us-gov-banner.tsx +2 -2
- package/src/components/sections/banner/banner.stories.tsx +1 -5
- package/src/components/sections/banner/banner.test.tsx +2 -2
- package/src/components/sections/banner/banner.tsx +6 -6
- package/src/components/sections/card-grid/card-grid.tsx +4 -4
- package/src/components/sections/hero/hero.stories.tsx +7 -7
- package/src/components/sections/hero/hero.tsx +10 -11
- package/src/components/sections/prose/prose.tsx +2 -2
- package/src/components/sections/river/river.test.tsx +3 -3
- package/src/components/sections/river/river.tsx +6 -12
- package/src/components/sections/tout/tout.stories.tsx +7 -31
- package/src/components/sections/tout/tout.tsx +9 -9
- package/src/components/sections/two-column-section/two-column-section.tsx +7 -9
- package/src/components/shared/floating-arrow.tsx +78 -0
- package/src/components/shared/index.ts +5 -0
- package/src/index.ts +57 -0
- package/src/lib/form-control.ts +8 -6
- package/src/stories/grid-system.stories.tsx +309 -0
- package/src/stories/{ThemeProvider.stories.tsx → theme-provider.stories.tsx} +7 -19
- package/src/stories/{TokenShowcase.stories.tsx → token-showcase.stories.tsx} +1 -1
- package/src/stories/{TokenShowcase.tsx → token-showcase.tsx} +34 -34
- package/src/styles.css +3 -3
- package/src/tests/token-resolution.test.tsx +6 -9
- package/src/theme/hooks.ts +1 -1
- package/src/theme/index.ts +1 -1
- package/src/theme/theme-provider.test.tsx +270 -0
- package/src/theme/{ThemeProvider.tsx → theme-provider.tsx} +18 -2
- package/src/stories/GridSystem.stories.tsx +0 -84
- /package/src/stories/{Introduction.mdx → introduction.mdx} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floating-ui.core.js","sources":["../../../../../../../../../../node_modules/.bun/@floating-ui+core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.mjs"],"sourcesContent":["import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const validMiddleware = middleware.filter(Boolean);\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let middlewareData = {};\n let resetCount = 0;\n for (let i = 0; i < validMiddleware.length; i++) {\n const {\n name,\n fn\n } = validMiddleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = {\n ...middlewareData,\n [name]: {\n ...middlewareData[name],\n ...data\n }\n };\n if (reset && resetCount <= 50) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n if (!ignoreCrossAxisOverflow ||\n // We leave the current main axis only if every placement on that axis\n // overflows the main axis.\n overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\nconst originSides = /*#__PURE__*/new Set(['left', 'top']);\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = originSides.has(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = originSides.has(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n"],"names":["computeCoordsFromPlacement","_ref","placement","rtl","reference","floating","sideAxis","getSideAxis","alignmentAxis","getAlignmentAxis","alignLength","getAxisLength","side","getSide","isVertical","commonX","commonY","commonAlign","coords","getAlignment","computePosition","config","strategy","middleware","platform","validMiddleware","rects","x","y","statefulPlacement","middlewareData","resetCount","i","name","fn","nextX","nextY","data","reset","detectOverflow","state","options","_await$platform$isEle","elements","boundary","rootBoundary","elementContext","altBoundary","padding","evaluate","paddingObject","getPaddingObject","element","clippingClientRect","rectToClientRect","rect","offsetParent","offsetScale","elementClientRect","flip","_middlewareData$arrow","_middlewareData$flip","initialPlacement","checkMainAxis","checkCrossAxis","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","detectOverflowOptions","initialSideAxis","isBasePlacement","fallbackPlacements","getOppositePlacement","getExpandedPlacements","hasFallbackAxisSideDirection","getOppositeAxisPlacements","placements","overflow","overflows","overflowsData","sides","getAlignmentSides","_middlewareData$flip2","_overflowsData$filter","nextIndex","nextPlacement","d","resetPlacement","a","_overflowsData$filter2","currentSideAxis","acc","b","getSideOffsets","isAnySideFullyClipped","hide","offsets","originSides","convertValueToCoords","alignment","mainAxisMulti","crossAxisMulti","rawValue","mainAxis","crossAxis","offset","_middlewareData$offse","diffCoords","shift","limiter","getOppositeAxis","mainAxisCoord","crossAxisCoord","minSide","maxSide","min","max","clamp","limitedCoords","limitShift","rawOffset","computedOffset","len","limitMin","limitMax","_middlewareData$offse2","isOriginSide","size","_state$middlewareData","_state$middlewareData2","apply","isYAxis","width","height","heightSide","widthSide","maximumClippingHeight","maximumClippingWidth","overflowAvailableHeight","overflowAvailableWidth","noShift","availableHeight","availableWidth","xMin","xMax","yMin","yMax","nextDimensions"],"mappings":";AAGA,SAASA,EAA2BC,GAAMC,GAAWC,GAAK;AACxD,MAAI;AAAA,IACF,WAAAC;AAAA,IACA,UAAAC;AAAA,EACJ,IAAMJ;AACJ,QAAMK,IAAWC,EAAYL,CAAS,GAChCM,IAAgBC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IkB,IAASxD,EAASyD,CAAU,GAAGE,CAAqB,GAClFG,IAAyBxB,EAAIiB,IAAQvD,EAAS0D,CAAS,GAAGE,CAAoB,GAC9EG,IAAU,CAACrG,EAAM,eAAe;AACtC,UAAIsG,IAAkBH,GAClBI,IAAiBH;AAOrB,WANKX,IAAwBzF,EAAM,eAAe,UAAU,QAAQyF,EAAsB,QAAQ,MAChGc,IAAiBL,KAEdR,IAAyB1F,EAAM,eAAe,UAAU,QAAQ0F,EAAuB,QAAQ,MAClGY,IAAkBL,IAEhBI,KAAW,CAACzC,GAAW;AACzB,cAAM4C,IAAO3B,EAAIvC,EAAS,MAAM,CAAC,GAC3BmE,IAAO5B,EAAIvC,EAAS,OAAO,CAAC,GAC5BoE,IAAO7B,EAAIvC,EAAS,KAAK,CAAC,GAC1BqE,IAAO9B,EAAIvC,EAAS,QAAQ,CAAC;AACnC,QAAIsD,IACFW,IAAiBV,IAAQ,KAAKW,MAAS,KAAKC,MAAS,IAAID,IAAOC,IAAO5B,EAAIvC,EAAS,MAAMA,EAAS,KAAK,KAExGgE,IAAkBR,IAAS,KAAKY,MAAS,KAAKC,MAAS,IAAID,IAAOC,IAAO9B,EAAIvC,EAAS,KAAKA,EAAS,MAAM;AAAA,MAE9G;AACA,YAAMqD,EAAM;AAAA,QACV,GAAG3F;AAAA,QACH,gBAAAuG;AAAA,QACA,iBAAAD;AAAA,MACR,CAAO;AACD,YAAMM,IAAiB,MAAM5H,EAAS,cAAcmB,EAAS,QAAQ;AACrE,aAAI0F,MAAUe,EAAe,SAASd,MAAWc,EAAe,SACvD;AAAA,QACL,OAAO;AAAA,UACL,OAAO;AAAA,QACnB;AAAA,MACA,IAEa,CAAA;AAAA,IACT;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import { flip as st, offset as rt, size as ct, hide as lt, computePosition as ft, shift as ut, limitShift as ht } from "../../../../../@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js";
|
|
2
|
+
import { createCoords as w, rectToClientRect as J, floor as A, max as E, round as D, min as N } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
|
|
3
|
+
import { getOverflowAncestors as V, isElement as v, getDocumentElement as R, getWindow as L, getFrameElement as U, getComputedStyle as b, isHTMLElement as C, isWebKit as Q, isTopLayer as $, getParentNode as S, isLastTraversableNode as z, isTableElement as at, isContainingBlock as Y, getContainingBlock as dt, getNodeName as _, isOverflowElement as q, getNodeScroll as H } from "../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
|
|
4
|
+
function Z(t) {
|
|
5
|
+
const e = b(t);
|
|
6
|
+
let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
|
7
|
+
const o = C(t), r = o ? t.offsetWidth : n, s = o ? t.offsetHeight : i, c = D(n) !== r || D(i) !== s;
|
|
8
|
+
return c && (n = r, i = s), {
|
|
9
|
+
width: n,
|
|
10
|
+
height: i,
|
|
11
|
+
$: c
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function X(t) {
|
|
15
|
+
return v(t) ? t : t.contextElement;
|
|
16
|
+
}
|
|
17
|
+
function F(t) {
|
|
18
|
+
const e = X(t);
|
|
19
|
+
if (!C(e))
|
|
20
|
+
return w(1);
|
|
21
|
+
const n = e.getBoundingClientRect(), {
|
|
22
|
+
width: i,
|
|
23
|
+
height: o,
|
|
24
|
+
$: r
|
|
25
|
+
} = Z(e);
|
|
26
|
+
let s = (r ? D(n.width) : n.width) / i, c = (r ? D(n.height) : n.height) / o;
|
|
27
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
28
|
+
x: s,
|
|
29
|
+
y: c
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
const gt = /* @__PURE__ */ w(0);
|
|
33
|
+
function tt(t) {
|
|
34
|
+
const e = L(t);
|
|
35
|
+
return !Q() || !e.visualViewport ? gt : {
|
|
36
|
+
x: e.visualViewport.offsetLeft,
|
|
37
|
+
y: e.visualViewport.offsetTop
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function pt(t, e, n) {
|
|
41
|
+
return e === void 0 && (e = !1), !n || e && n !== L(t) ? !1 : e;
|
|
42
|
+
}
|
|
43
|
+
function T(t, e, n, i) {
|
|
44
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
45
|
+
const o = t.getBoundingClientRect(), r = X(t);
|
|
46
|
+
let s = w(1);
|
|
47
|
+
e && (i ? v(i) && (s = F(i)) : s = F(t));
|
|
48
|
+
const c = pt(r, n, i) ? tt(r) : w(0);
|
|
49
|
+
let f = (o.left + c.x) / s.x, l = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
|
|
50
|
+
if (r) {
|
|
51
|
+
const d = L(r), a = i && v(i) ? L(i) : i;
|
|
52
|
+
let m = d, p = U(m);
|
|
53
|
+
for (; p && i && a !== m; ) {
|
|
54
|
+
const y = F(p), g = p.getBoundingClientRect(), x = b(p), O = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, W = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
|
|
55
|
+
f *= y.x, l *= y.y, u *= y.x, h *= y.y, f += O, l += W, m = L(p), p = U(m);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return J({
|
|
59
|
+
width: u,
|
|
60
|
+
height: h,
|
|
61
|
+
x: f,
|
|
62
|
+
y: l
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function I(t, e) {
|
|
66
|
+
const n = H(t).scrollLeft;
|
|
67
|
+
return e ? e.left + n : T(R(t)).left + n;
|
|
68
|
+
}
|
|
69
|
+
function et(t, e) {
|
|
70
|
+
const n = t.getBoundingClientRect(), i = n.left + e.scrollLeft - I(t, n), o = n.top + e.scrollTop;
|
|
71
|
+
return {
|
|
72
|
+
x: i,
|
|
73
|
+
y: o
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function mt(t) {
|
|
77
|
+
let {
|
|
78
|
+
elements: e,
|
|
79
|
+
rect: n,
|
|
80
|
+
offsetParent: i,
|
|
81
|
+
strategy: o
|
|
82
|
+
} = t;
|
|
83
|
+
const r = o === "fixed", s = R(i), c = e ? $(e.floating) : !1;
|
|
84
|
+
if (i === s || c && r)
|
|
85
|
+
return n;
|
|
86
|
+
let f = {
|
|
87
|
+
scrollLeft: 0,
|
|
88
|
+
scrollTop: 0
|
|
89
|
+
}, l = w(1);
|
|
90
|
+
const u = w(0), h = C(i);
|
|
91
|
+
if ((h || !h && !r) && ((_(i) !== "body" || q(s)) && (f = H(i)), C(i))) {
|
|
92
|
+
const a = T(i);
|
|
93
|
+
l = F(i), u.x = a.x + i.clientLeft, u.y = a.y + i.clientTop;
|
|
94
|
+
}
|
|
95
|
+
const d = s && !h && !r ? et(s, f) : w(0);
|
|
96
|
+
return {
|
|
97
|
+
width: n.width * l.x,
|
|
98
|
+
height: n.height * l.y,
|
|
99
|
+
x: n.x * l.x - f.scrollLeft * l.x + u.x + d.x,
|
|
100
|
+
y: n.y * l.y - f.scrollTop * l.y + u.y + d.y
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function yt(t) {
|
|
104
|
+
return Array.from(t.getClientRects());
|
|
105
|
+
}
|
|
106
|
+
function wt(t) {
|
|
107
|
+
const e = R(t), n = H(t), i = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
108
|
+
let s = -n.scrollLeft + I(t);
|
|
109
|
+
const c = -n.scrollTop;
|
|
110
|
+
return b(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - o), {
|
|
111
|
+
width: o,
|
|
112
|
+
height: r,
|
|
113
|
+
x: s,
|
|
114
|
+
y: c
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
const K = 25;
|
|
118
|
+
function xt(t, e) {
|
|
119
|
+
const n = L(t), i = R(t), o = n.visualViewport;
|
|
120
|
+
let r = i.clientWidth, s = i.clientHeight, c = 0, f = 0;
|
|
121
|
+
if (o) {
|
|
122
|
+
r = o.width, s = o.height;
|
|
123
|
+
const u = Q();
|
|
124
|
+
(!u || u && e === "fixed") && (c = o.offsetLeft, f = o.offsetTop);
|
|
125
|
+
}
|
|
126
|
+
const l = I(i);
|
|
127
|
+
if (l <= 0) {
|
|
128
|
+
const u = i.ownerDocument, h = u.body, d = getComputedStyle(h), a = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, m = Math.abs(i.clientWidth - h.clientWidth - a);
|
|
129
|
+
m <= K && (r -= m);
|
|
130
|
+
} else l <= K && (r += l);
|
|
131
|
+
return {
|
|
132
|
+
width: r,
|
|
133
|
+
height: s,
|
|
134
|
+
x: c,
|
|
135
|
+
y: f
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
const vt = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
139
|
+
function bt(t, e) {
|
|
140
|
+
const n = T(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, r = C(t) ? F(t) : w(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = o * r.x, l = i * r.y;
|
|
141
|
+
return {
|
|
142
|
+
width: s,
|
|
143
|
+
height: c,
|
|
144
|
+
x: f,
|
|
145
|
+
y: l
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function j(t, e, n) {
|
|
149
|
+
let i;
|
|
150
|
+
if (e === "viewport")
|
|
151
|
+
i = xt(t, n);
|
|
152
|
+
else if (e === "document")
|
|
153
|
+
i = wt(R(t));
|
|
154
|
+
else if (v(e))
|
|
155
|
+
i = bt(e, n);
|
|
156
|
+
else {
|
|
157
|
+
const o = tt(t);
|
|
158
|
+
i = {
|
|
159
|
+
x: e.x - o.x,
|
|
160
|
+
y: e.y - o.y,
|
|
161
|
+
width: e.width,
|
|
162
|
+
height: e.height
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
return J(i);
|
|
166
|
+
}
|
|
167
|
+
function it(t, e) {
|
|
168
|
+
const n = S(t);
|
|
169
|
+
return n === e || !v(n) || z(n) ? !1 : b(n).position === "fixed" || it(n, e);
|
|
170
|
+
}
|
|
171
|
+
function Rt(t, e) {
|
|
172
|
+
const n = e.get(t);
|
|
173
|
+
if (n)
|
|
174
|
+
return n;
|
|
175
|
+
let i = V(t, [], !1).filter((c) => v(c) && _(c) !== "body"), o = null;
|
|
176
|
+
const r = b(t).position === "fixed";
|
|
177
|
+
let s = r ? S(t) : t;
|
|
178
|
+
for (; v(s) && !z(s); ) {
|
|
179
|
+
const c = b(s), f = Y(s);
|
|
180
|
+
!f && c.position === "fixed" && (o = null), (r ? !f && !o : !f && c.position === "static" && !!o && vt.has(o.position) || q(s) && !f && it(t, s)) ? i = i.filter((u) => u !== s) : o = c, s = S(s);
|
|
181
|
+
}
|
|
182
|
+
return e.set(t, i), i;
|
|
183
|
+
}
|
|
184
|
+
function Ct(t) {
|
|
185
|
+
let {
|
|
186
|
+
element: e,
|
|
187
|
+
boundary: n,
|
|
188
|
+
rootBoundary: i,
|
|
189
|
+
strategy: o
|
|
190
|
+
} = t;
|
|
191
|
+
const s = [...n === "clippingAncestors" ? $(e) ? [] : Rt(e, this._c) : [].concat(n), i], c = s[0], f = s.reduce((l, u) => {
|
|
192
|
+
const h = j(e, u, o);
|
|
193
|
+
return l.top = E(h.top, l.top), l.right = N(h.right, l.right), l.bottom = N(h.bottom, l.bottom), l.left = E(h.left, l.left), l;
|
|
194
|
+
}, j(e, c, o));
|
|
195
|
+
return {
|
|
196
|
+
width: f.right - f.left,
|
|
197
|
+
height: f.bottom - f.top,
|
|
198
|
+
x: f.left,
|
|
199
|
+
y: f.top
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
function Ot(t) {
|
|
203
|
+
const {
|
|
204
|
+
width: e,
|
|
205
|
+
height: n
|
|
206
|
+
} = Z(t);
|
|
207
|
+
return {
|
|
208
|
+
width: e,
|
|
209
|
+
height: n
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function Lt(t, e, n) {
|
|
213
|
+
const i = C(e), o = R(e), r = n === "fixed", s = T(t, !0, r, e);
|
|
214
|
+
let c = {
|
|
215
|
+
scrollLeft: 0,
|
|
216
|
+
scrollTop: 0
|
|
217
|
+
};
|
|
218
|
+
const f = w(0);
|
|
219
|
+
function l() {
|
|
220
|
+
f.x = I(o);
|
|
221
|
+
}
|
|
222
|
+
if (i || !i && !r)
|
|
223
|
+
if ((_(e) !== "body" || q(o)) && (c = H(e)), i) {
|
|
224
|
+
const a = T(e, !0, r, e);
|
|
225
|
+
f.x = a.x + e.clientLeft, f.y = a.y + e.clientTop;
|
|
226
|
+
} else o && l();
|
|
227
|
+
r && !i && o && l();
|
|
228
|
+
const u = o && !i && !r ? et(o, c) : w(0), h = s.left + c.scrollLeft - f.x - u.x, d = s.top + c.scrollTop - f.y - u.y;
|
|
229
|
+
return {
|
|
230
|
+
x: h,
|
|
231
|
+
y: d,
|
|
232
|
+
width: s.width,
|
|
233
|
+
height: s.height
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
function M(t) {
|
|
237
|
+
return b(t).position === "static";
|
|
238
|
+
}
|
|
239
|
+
function G(t, e) {
|
|
240
|
+
if (!C(t) || b(t).position === "fixed")
|
|
241
|
+
return null;
|
|
242
|
+
if (e)
|
|
243
|
+
return e(t);
|
|
244
|
+
let n = t.offsetParent;
|
|
245
|
+
return R(t) === n && (n = n.ownerDocument.body), n;
|
|
246
|
+
}
|
|
247
|
+
function nt(t, e) {
|
|
248
|
+
const n = L(t);
|
|
249
|
+
if ($(t))
|
|
250
|
+
return n;
|
|
251
|
+
if (!C(t)) {
|
|
252
|
+
let o = S(t);
|
|
253
|
+
for (; o && !z(o); ) {
|
|
254
|
+
if (v(o) && !M(o))
|
|
255
|
+
return o;
|
|
256
|
+
o = S(o);
|
|
257
|
+
}
|
|
258
|
+
return n;
|
|
259
|
+
}
|
|
260
|
+
let i = G(t, e);
|
|
261
|
+
for (; i && at(i) && M(i); )
|
|
262
|
+
i = G(i, e);
|
|
263
|
+
return i && z(i) && M(i) && !Y(i) ? n : i || dt(t) || n;
|
|
264
|
+
}
|
|
265
|
+
const Tt = async function(t) {
|
|
266
|
+
const e = this.getOffsetParent || nt, n = this.getDimensions, i = await n(t.floating);
|
|
267
|
+
return {
|
|
268
|
+
reference: Lt(t.reference, await e(t.floating), t.strategy),
|
|
269
|
+
floating: {
|
|
270
|
+
x: 0,
|
|
271
|
+
y: 0,
|
|
272
|
+
width: i.width,
|
|
273
|
+
height: i.height
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
function Et(t) {
|
|
278
|
+
return b(t).direction === "rtl";
|
|
279
|
+
}
|
|
280
|
+
const Ft = {
|
|
281
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: mt,
|
|
282
|
+
getDocumentElement: R,
|
|
283
|
+
getClippingRect: Ct,
|
|
284
|
+
getOffsetParent: nt,
|
|
285
|
+
getElementRects: Tt,
|
|
286
|
+
getClientRects: yt,
|
|
287
|
+
getDimensions: Ot,
|
|
288
|
+
getScale: F,
|
|
289
|
+
isElement: v,
|
|
290
|
+
isRTL: Et
|
|
291
|
+
};
|
|
292
|
+
function ot(t, e) {
|
|
293
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
294
|
+
}
|
|
295
|
+
function St(t, e) {
|
|
296
|
+
let n = null, i;
|
|
297
|
+
const o = R(t);
|
|
298
|
+
function r() {
|
|
299
|
+
var c;
|
|
300
|
+
clearTimeout(i), (c = n) == null || c.disconnect(), n = null;
|
|
301
|
+
}
|
|
302
|
+
function s(c, f) {
|
|
303
|
+
c === void 0 && (c = !1), f === void 0 && (f = 1), r();
|
|
304
|
+
const l = t.getBoundingClientRect(), {
|
|
305
|
+
left: u,
|
|
306
|
+
top: h,
|
|
307
|
+
width: d,
|
|
308
|
+
height: a
|
|
309
|
+
} = l;
|
|
310
|
+
if (c || e(), !d || !a)
|
|
311
|
+
return;
|
|
312
|
+
const m = A(h), p = A(o.clientWidth - (u + d)), y = A(o.clientHeight - (h + a)), g = A(u), O = {
|
|
313
|
+
rootMargin: -m + "px " + -p + "px " + -y + "px " + -g + "px",
|
|
314
|
+
threshold: E(0, N(1, f)) || 1
|
|
315
|
+
};
|
|
316
|
+
let W = !0;
|
|
317
|
+
function k(P) {
|
|
318
|
+
const B = P[0].intersectionRatio;
|
|
319
|
+
if (B !== f) {
|
|
320
|
+
if (!W)
|
|
321
|
+
return s();
|
|
322
|
+
B ? s(!1, B) : i = setTimeout(() => {
|
|
323
|
+
s(!1, 1e-7);
|
|
324
|
+
}, 1e3);
|
|
325
|
+
}
|
|
326
|
+
B === 1 && !ot(l, t.getBoundingClientRect()) && s(), W = !1;
|
|
327
|
+
}
|
|
328
|
+
try {
|
|
329
|
+
n = new IntersectionObserver(k, {
|
|
330
|
+
...O,
|
|
331
|
+
// Handle <iframe>s
|
|
332
|
+
root: o.ownerDocument
|
|
333
|
+
});
|
|
334
|
+
} catch {
|
|
335
|
+
n = new IntersectionObserver(k, O);
|
|
336
|
+
}
|
|
337
|
+
n.observe(t);
|
|
338
|
+
}
|
|
339
|
+
return s(!0), r;
|
|
340
|
+
}
|
|
341
|
+
function Dt(t, e, n, i) {
|
|
342
|
+
i === void 0 && (i = {});
|
|
343
|
+
const {
|
|
344
|
+
ancestorScroll: o = !0,
|
|
345
|
+
ancestorResize: r = !0,
|
|
346
|
+
elementResize: s = typeof ResizeObserver == "function",
|
|
347
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
|
348
|
+
animationFrame: f = !1
|
|
349
|
+
} = i, l = X(t), u = o || r ? [...l ? V(l) : [], ...V(e)] : [];
|
|
350
|
+
u.forEach((g) => {
|
|
351
|
+
o && g.addEventListener("scroll", n, {
|
|
352
|
+
passive: !0
|
|
353
|
+
}), r && g.addEventListener("resize", n);
|
|
354
|
+
});
|
|
355
|
+
const h = l && c ? St(l, n) : null;
|
|
356
|
+
let d = -1, a = null;
|
|
357
|
+
s && (a = new ResizeObserver((g) => {
|
|
358
|
+
let [x] = g;
|
|
359
|
+
x && x.target === l && a && (a.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
360
|
+
var O;
|
|
361
|
+
(O = a) == null || O.observe(e);
|
|
362
|
+
})), n();
|
|
363
|
+
}), l && !f && a.observe(l), a.observe(e));
|
|
364
|
+
let m, p = f ? T(t) : null;
|
|
365
|
+
f && y();
|
|
366
|
+
function y() {
|
|
367
|
+
const g = T(t);
|
|
368
|
+
p && !ot(p, g) && n(), p = g, m = requestAnimationFrame(y);
|
|
369
|
+
}
|
|
370
|
+
return n(), () => {
|
|
371
|
+
var g;
|
|
372
|
+
u.forEach((x) => {
|
|
373
|
+
o && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
|
|
374
|
+
}), h?.(), (g = a) == null || g.disconnect(), a = null, f && cancelAnimationFrame(m);
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
const zt = rt, Ht = ut, It = st, Mt = ct, Nt = lt, Vt = ht, $t = (t, e, n) => {
|
|
378
|
+
const i = /* @__PURE__ */ new Map(), o = {
|
|
379
|
+
platform: Ft,
|
|
380
|
+
...n
|
|
381
|
+
}, r = {
|
|
382
|
+
...o.platform,
|
|
383
|
+
_c: i
|
|
384
|
+
};
|
|
385
|
+
return ft(t, e, {
|
|
386
|
+
...o,
|
|
387
|
+
platform: r
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
export {
|
|
391
|
+
Dt as autoUpdate,
|
|
392
|
+
$t as computePosition,
|
|
393
|
+
It as flip,
|
|
394
|
+
V as getOverflowAncestors,
|
|
395
|
+
Nt as hide,
|
|
396
|
+
Vt as limitShift,
|
|
397
|
+
zt as offset,
|
|
398
|
+
Ft as platform,
|
|
399
|
+
Ht as shift,
|
|
400
|
+
Mt as size
|
|
401
|
+
};
|
|
402
|
+
//# sourceMappingURL=floating-ui.dom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floating-ui.dom.js","sources":["../../../../../../../../../../node_modules/.bun/@floating-ui+dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle as getComputedStyle$1, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle$1(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll) {\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Safety check: ensure the scrollbar space is reasonable in case this\n// calculation is affected by unusual styles.\n// Most scrollbars leave 15-18px of space.\nconst SCROLLBAR_MAX = 25;\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n const windowScrollbarX = getWindowScrollBarX(html);\n // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the\n // visual width of the <html> but this is not considered in the size\n // of `html.clientWidth`.\n if (windowScrollbarX <= 0) {\n const doc = html.ownerDocument;\n const body = doc.body;\n const bodyStyles = getComputedStyle(body);\n const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;\n const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);\n if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {\n width -= clippingStableScrollbarWidth;\n }\n } else if (windowScrollbarX <= SCROLLBAR_MAX) {\n // If the <body> scrollbar is on the left, the width needs to be extended\n // by the scrollbar amount so there isn't extra space on the right.\n width += windowScrollbarX;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nconst absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle$1(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle$1(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle$1","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","left","top","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","getDocumentElement","getHTMLOffset","documentElement","scroll","htmlRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","topLayer","isTopLayer","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","body","max","SCROLLBAR_MAX","getViewportRect","visualViewport","visualViewportBased","windowScrollbarX","doc","bodyStyles","bodyMarginInline","clippingStableScrollbarWidth","absoluteOrFixed","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","setLeftRTLScrollbarOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","floatingDimensions","isRTL","platform","rectsAreEqual","a","b","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","floating","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","limitShift","limitShift$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":";;;AAKA,SAASA,EAAiBC,GAAS;AACjC,QAAMC,IAAMC,EAAmBF,CAAO;AAGtC,MAAIG,IAAQ,WAAWF,EAAI,KAAK,KAAK,GACjCG,IAAS,WAAWH,EAAI,MAAM,KAAK;AACvC,QAAMI,IAAYC,EAAcN,CAAO,GACjCO,IAAcF,IAAYL,EAAQ,cAAcG,GAChDK,IAAeH,IAAYL,EAAQ,eAAeI,GAClDK,IAAiBC,EAAMP,CAAK,MAAMI,KAAeG,EAAMN,CAAM,MAAMI;AACzE,SAAIC,MACFN,IAAQI,GACRH,IAAS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