@lotte-innovate/ui-component-test 0.1.90 → 0.1.92
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -133
- package/dist/globals.css +4 -4
- package/dist/lib/Typography/Header/index.mjs +1 -1
- package/dist/lib/Typography/Header/index.mjs.map +1 -1
- package/dist/lib/Typography/Text/index.mjs +1 -1
- package/dist/lib/Typography/Text/index.mjs.map +1 -1
- package/dist/lib/components/Accordion/index.mjs +1 -1
- package/dist/lib/components/Accordion/index.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
- package/dist/lib/components/AspectRatio/index.mjs +1 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
- package/dist/lib/components/Avatar/index.mjs +1 -1
- package/dist/lib/components/Avatar/index.mjs.map +1 -1
- package/dist/lib/components/Badge/index.mjs +1 -1
- package/dist/lib/components/Badge/index.mjs.map +1 -1
- package/dist/lib/components/BarChart/index.mjs +1 -1
- package/dist/lib/components/BarChart/index.mjs.map +1 -1
- package/dist/lib/components/BubbleChart/index.mjs +1 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
- package/dist/lib/components/Button/index.mjs +1 -1
- package/dist/lib/components/Button/index.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
- package/dist/lib/components/Card/index.mjs +1 -1
- package/dist/lib/components/Card/index.mjs.map +1 -1
- package/dist/lib/components/Checkbox/index.mjs +1 -1
- package/dist/lib/components/Checkbox/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
- package/dist/lib/components/IconButton/index.mjs +1 -1
- package/dist/lib/components/IconButton/index.mjs.map +1 -1
- package/dist/lib/components/Inset/index.mjs +1 -1
- package/dist/lib/components/Inset/index.mjs.map +1 -1
- package/dist/lib/components/Label/index.mjs +1 -1
- package/dist/lib/components/Label/index.mjs.map +1 -1
- package/dist/lib/components/LineChart/index.mjs +1 -1
- package/dist/lib/components/LineChart/index.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
- package/dist/lib/components/PieChart/index.mjs +1 -1
- package/dist/lib/components/PieChart/index.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
- package/dist/lib/components/Progress/index.mjs +1 -1
- package/dist/lib/components/Progress/index.mjs.map +1 -1
- package/dist/lib/components/RadarChart/index.mjs +1 -1
- package/dist/lib/components/RadarChart/index.mjs.map +1 -1
- package/dist/lib/components/Radio/index.mjs +1 -1
- package/dist/lib/components/Radio/index.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Select/index.mjs.map +1 -1
- package/dist/lib/components/Separator/index.mjs +1 -1
- package/dist/lib/components/Separator/index.mjs.map +1 -1
- package/dist/lib/components/Skeleton/index.mjs +1 -1
- package/dist/lib/components/Skeleton/index.mjs.map +1 -1
- package/dist/lib/components/Slider/index.mjs +1 -1
- package/dist/lib/components/Slider/index.mjs.map +1 -1
- package/dist/lib/components/Spinner/index.mjs +1 -1
- package/dist/lib/components/Spinner/index.mjs.map +1 -1
- package/dist/lib/components/TabNav/index.mjs +1 -1
- package/dist/lib/components/TabNav/index.mjs.map +1 -1
- package/dist/lib/components/Table/index.mjs +1 -1
- package/dist/lib/components/Table/index.mjs.map +1 -1
- package/dist/lib/components/Tabs/index.mjs +1 -1
- package/dist/lib/components/Tabs/index.mjs.map +1 -1
- package/dist/lib/components/TextArea/index.mjs +1 -1
- package/dist/lib/components/TextArea/index.mjs.map +1 -1
- package/dist/lib/components/TextField/index.mjs +1 -1
- package/dist/lib/components/TextField/index.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
- package/dist/lib/components/Toggle/index.mjs +1 -1
- package/dist/lib/components/Toggle/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
- package/dist/lib/components/Tooltip/index.mjs +1 -1
- package/dist/lib/components/Tooltip/index.mjs.map +1 -1
- package/dist/lib/utils/utils.mjs +1 -1
- package/dist/lib/utils/utils.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +138 -135
- package/dist/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/_virtual/index.mjs +0 -2
- package/dist/_virtual/index.mjs.map +0 -1
- package/dist/_virtual/index2.mjs +0 -2
- package/dist/_virtual/index2.mjs.map +0 -1
- package/dist/_virtual/jsx-runtime.mjs +0 -2
- package/dist/_virtual/jsx-runtime.mjs.map +0 -1
- package/dist/_virtual/jsx-runtime2.mjs +0 -2
- package/dist/_virtual/jsx-runtime2.mjs.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.mjs +0 -2
- package/dist/_virtual/react-jsx-runtime.development.mjs.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.mjs +0 -2
- package/dist/_virtual/react-jsx-runtime.production.min.mjs.map +0 -1
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -2
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.map +0 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -2
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.map +0 -1
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +0 -2
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -2
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.map +0 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -2
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.map +0 -1
- package/dist/node_modules/@kurkle/color/dist/color.esm.mjs +0 -8
- package/dist/node_modules/@kurkle/color/dist/color.esm.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/number/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/number/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs.map +0 -1
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs +0 -2
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs +0 -2
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs.map +0 -1
- package/dist/node_modules/chart.js/auto/auto.mjs +0 -2
- package/dist/node_modules/chart.js/auto/auto.mjs.map +0 -1
- package/dist/node_modules/chart.js/dist/chart.mjs +0 -8
- package/dist/node_modules/chart.js/dist/chart.mjs.map +0 -1
- package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs +0 -8
- package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs.map +0 -1
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +0 -8
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map +0 -1
- package/dist/node_modules/class-variance-authority/dist/index.mjs +0 -2
- package/dist/node_modules/class-variance-authority/dist/index.mjs.map +0 -1
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs +0 -2
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.map +0 -1
- package/dist/node_modules/classnames/index.mjs +0 -7
- package/dist/node_modules/classnames/index.mjs.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.mjs +0 -2
- package/dist/node_modules/clsx/dist/clsx.mjs.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs +0 -2
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +0 -11
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +0 -11
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs.map +0 -1
- package/dist/node_modules/react/jsx-runtime.mjs +0 -2
- package/dist/node_modules/react/jsx-runtime.mjs.map +0 -1
- package/dist/node_modules/react-chartjs-2/dist/index.mjs +0 -2
- package/dist/node_modules/react-chartjs-2/dist/index.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -2
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.mjs +0 -2
- package/dist/node_modules/tslib/tslib.es6.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs.map +0 -1
package/package.json
CHANGED
@@ -1,135 +1,138 @@
|
|
1
|
-
{
|
2
|
-
"name": "@lotte-innovate/ui-component-test",
|
3
|
-
"description": "Lotte UI Library",
|
4
|
-
"version": "0.1.
|
5
|
-
"private": false,
|
6
|
-
"type": "module",
|
7
|
-
"files": [
|
8
|
-
"dist",
|
9
|
-
"dist/
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
"
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
"
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"build
|
50
|
-
"build
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
"@
|
58
|
-
"@
|
59
|
-
"@radix-ui/
|
60
|
-
"@radix-ui/react-
|
61
|
-
"@radix-ui/react-
|
62
|
-
"@radix-ui/react-
|
63
|
-
"@radix-ui/react-
|
64
|
-
"@radix-ui/react-
|
65
|
-
"@radix-ui/react-
|
66
|
-
"@radix-ui/react-
|
67
|
-
"@radix-ui/react-
|
68
|
-
"@radix-ui/react-
|
69
|
-
"@radix-ui/react-
|
70
|
-
"@radix-ui/react-
|
71
|
-
"@radix-ui/react-
|
72
|
-
"@radix-ui/react-
|
73
|
-
"@radix-ui/react-
|
74
|
-
"@radix-ui/react-
|
75
|
-
"@radix-ui/
|
76
|
-
"@
|
77
|
-
"@
|
78
|
-
"@
|
79
|
-
"@
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
88
|
-
"
|
89
|
-
"react
|
90
|
-
"
|
91
|
-
"react
|
92
|
-
"
|
93
|
-
"
|
94
|
-
"
|
95
|
-
|
96
|
-
|
97
|
-
"
|
98
|
-
|
99
|
-
|
100
|
-
"@babel/
|
101
|
-
"@babel/
|
102
|
-
"@babel/
|
103
|
-
"@
|
104
|
-
"@
|
105
|
-
"@
|
106
|
-
"@
|
107
|
-
"@rollup/plugin-
|
108
|
-
"@
|
109
|
-
"@
|
110
|
-
"@
|
111
|
-
"@storybook/addon-
|
112
|
-
"@storybook/
|
113
|
-
"@storybook/
|
114
|
-
"@storybook/
|
115
|
-
"@storybook/
|
116
|
-
"@storybook/
|
117
|
-
"@
|
118
|
-
"@
|
119
|
-
"@
|
120
|
-
"
|
121
|
-
"
|
122
|
-
"
|
123
|
-
"
|
124
|
-
"
|
125
|
-
"
|
126
|
-
"
|
127
|
-
"
|
128
|
-
"
|
129
|
-
"
|
130
|
-
"
|
131
|
-
"
|
132
|
-
"
|
133
|
-
"
|
134
|
-
|
135
|
-
|
1
|
+
{
|
2
|
+
"name": "@lotte-innovate/ui-component-test",
|
3
|
+
"description": "Lotte UI Library",
|
4
|
+
"version": "0.1.92",
|
5
|
+
"private": false,
|
6
|
+
"type": "module",
|
7
|
+
"files": [
|
8
|
+
"dist/lib",
|
9
|
+
"dist/tailwind.config.d.ts",
|
10
|
+
"dist/tailwind.config.js",
|
11
|
+
"dist/tsconfig.tsbuildinfo",
|
12
|
+
"dist/globals.css"
|
13
|
+
],
|
14
|
+
"main": "dist/lib/index.js",
|
15
|
+
"module": "dist/lib/index.mjs",
|
16
|
+
"types": "dist/lib/index.d.ts",
|
17
|
+
"publishConfig": {
|
18
|
+
"access": "public"
|
19
|
+
},
|
20
|
+
"browser": "./browser/specific/main.js",
|
21
|
+
"babel": {
|
22
|
+
"presets": [
|
23
|
+
"@babel/preset-react",
|
24
|
+
"@babel/preset-env"
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"browserslist": {
|
28
|
+
"production": [
|
29
|
+
">0.2%",
|
30
|
+
"not dead",
|
31
|
+
"not op_mini all"
|
32
|
+
],
|
33
|
+
"development": [
|
34
|
+
"last 1 chrome version",
|
35
|
+
"last 1 firefox version",
|
36
|
+
"last 1 safari version"
|
37
|
+
]
|
38
|
+
},
|
39
|
+
"scripts": {
|
40
|
+
"dev": "next dev",
|
41
|
+
"lint": "next lint",
|
42
|
+
"prepare": "next build",
|
43
|
+
"start": "next start",
|
44
|
+
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
45
|
+
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
46
|
+
"compile": "tsc --jsx react-jsx",
|
47
|
+
"clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
|
48
|
+
"update-tailwind": "node update-tailwind-import.js",
|
49
|
+
"build": "next build && npm run compile",
|
50
|
+
"build-storybook": "storybook build",
|
51
|
+
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
|
52
|
+
"build:esm": "rollup -c && node src/utils/post-rollup.js",
|
53
|
+
"build:all": "npm run clean && npm run compile && node src/utils/post-build.js && npm run build:css && tsc-alias && npm run update-tailwind",
|
54
|
+
"publish:npm": "npm run build:all && npm run build:esm && npm publish && node src/utils/post-publish.js"
|
55
|
+
},
|
56
|
+
"dependencies": {
|
57
|
+
"@babel/runtime": "^7.24.7",
|
58
|
+
"@babel/runtime-corejs3": "^7.24.7",
|
59
|
+
"@radix-ui/colors": "^3.0.0",
|
60
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
61
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
62
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
63
|
+
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
64
|
+
"@radix-ui/react-hover-card": "^1.1.1",
|
65
|
+
"@radix-ui/react-icons": "^1.3.0",
|
66
|
+
"@radix-ui/react-label": "^2.1.0",
|
67
|
+
"@radix-ui/react-menubar": "^1.1.1",
|
68
|
+
"@radix-ui/react-navigation-menu": "^1.2.0",
|
69
|
+
"@radix-ui/react-popover": "1.0.7",
|
70
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
71
|
+
"@radix-ui/react-select": "^2.1.1",
|
72
|
+
"@radix-ui/react-separator": "^1.1.0",
|
73
|
+
"@radix-ui/react-slider": "^1.2.0",
|
74
|
+
"@radix-ui/react-switch": "^1.1.0",
|
75
|
+
"@radix-ui/react-tabs": "^1.1.0",
|
76
|
+
"@radix-ui/react-toast": "^1.2.1",
|
77
|
+
"@radix-ui/react-tooltip": "^1.1.1",
|
78
|
+
"@radix-ui/themes": "^3.1.1",
|
79
|
+
"@stitches/core": "^1.2.8",
|
80
|
+
"@stitches/react": "^1.2.8",
|
81
|
+
"@storybook/addon-a11y": "^8.3.5",
|
82
|
+
"@storybook/manager-api": "^8.3.5",
|
83
|
+
"chart.js": "^4.4.4",
|
84
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
85
|
+
"class-variance-authority": "^0.7.0",
|
86
|
+
"clsx": "^2.1.0",
|
87
|
+
"cross-env": "^7.0.3",
|
88
|
+
"dotenv": "^16.4.5",
|
89
|
+
"lucide-react": "^0.364.0",
|
90
|
+
"next": "14.1.4",
|
91
|
+
"react": "^18",
|
92
|
+
"react-chartjs-2": "^5.2.0",
|
93
|
+
"react-dom": "^18",
|
94
|
+
"react-tabs": "^6.0.2",
|
95
|
+
"storybook-addon-deep-controls": "^0.7.1",
|
96
|
+
"storybook-dark-mode": "^4.0.2",
|
97
|
+
"tailwind-merge": "^2.2.2"
|
98
|
+
},
|
99
|
+
"devDependencies": {
|
100
|
+
"@babel/cli": "^7.24.7",
|
101
|
+
"@babel/core": "^7.24.7",
|
102
|
+
"@babel/plugin-transform-runtime": "^7.24.7",
|
103
|
+
"@babel/preset-env": "^7.25.8",
|
104
|
+
"@babel/preset-react": "^7.25.7",
|
105
|
+
"@babel/preset-typescript": "^7.24.7",
|
106
|
+
"@chromatic-com/storybook": "^1.2.25",
|
107
|
+
"@rollup/plugin-babel": "^6.0.4",
|
108
|
+
"@rollup/plugin-commonjs": "^28.0.0",
|
109
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
110
|
+
"@rollup/plugin-typescript": "^12.1.0",
|
111
|
+
"@storybook/addon-essentials": "^8.3.5",
|
112
|
+
"@storybook/addon-interactions": "^8.3.5",
|
113
|
+
"@storybook/addon-links": "^8.0.4",
|
114
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
115
|
+
"@storybook/blocks": "^8.3.5",
|
116
|
+
"@storybook/nextjs": "^8.3.5",
|
117
|
+
"@storybook/react": "^8.3.5",
|
118
|
+
"@storybook/test": "^8.3.5",
|
119
|
+
"@storybook/theming": "^8.2.4",
|
120
|
+
"@types/node": "^20",
|
121
|
+
"@types/react": "^18",
|
122
|
+
"@types/react-dom": "^18",
|
123
|
+
"autoprefixer": "^10.0.1",
|
124
|
+
"chromatic": "^11.5.4",
|
125
|
+
"eslint": "^8",
|
126
|
+
"eslint-config-next": "14.1.4",
|
127
|
+
"eslint-plugin-storybook": "^0.8.0",
|
128
|
+
"postcss": "^8",
|
129
|
+
"prettier": "^3.3.3",
|
130
|
+
"prettier-plugin-tailwindcss": "^0.6.6",
|
131
|
+
"rimraf": "^6.0.1",
|
132
|
+
"rollup-plugin-terser": "^7.0.2",
|
133
|
+
"storybook": "^8.3.5",
|
134
|
+
"tailwindcss": "^3.3.0",
|
135
|
+
"tsc-alias": "^1.8.10",
|
136
|
+
"typescript": "^5"
|
137
|
+
}
|
138
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/_virtual/index.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/_virtual/index2.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"jsx-runtime.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"jsx-runtime2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-jsx-runtime.development.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-jsx-runtime.production.min.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{evaluate as e,getSide as t,getOppositePlacement as n,getExpandedPlacements as i,getOppositeAxisPlacements as a,getAlignmentSides as o,getAlignment as r,getSideAxis as l,clamp as s,min as c,max as f,getPaddingObject as m,rectToClientRect as d,getAlignmentAxis as u,sides as g,getOppositeAxis as p,getAxisLength as y}from"../../utils/dist/floating-ui.utils.mjs";export{rectToClientRect}from"../../utils/dist/floating-ui.utils.mjs";function x(e,n,i){let{reference:a,floating:o}=e;const s=l(n),c=u(n),f=y(c),m=t(n),d="y"===s,g=a.x+a.width/2-o.width/2,p=a.y+a.height/2-o.height/2,x=a[f]/2-o[f]/2;let w;switch(m){case"top":w={x:g,y:a.y-o.height};break;case"bottom":w={x:g,y:a.y+a.height};break;case"right":w={x:a.x+a.width,y:p};break;case"left":w={x:a.x-o.width,y:p};break;default:w={x:a.x,y:a.y}}switch(r(n)){case"start":w[c]-=x*(i&&d?-1:1);break;case"end":w[c]+=x*(i&&d?-1:1)}return w}const w=async(e,t,n)=>{const{placement:i="bottom",strategy:a="absolute",middleware:o=[],platform:r}=n,l=o.filter(Boolean),s=await(null==r.isRTL?void 0:r.isRTL(t));let c=await r.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:m}=x(c,i,s),d=i,u={},g=0;for(let n=0;n<l.length;n++){const{name:o,fn:p}=l[n],{x:y,y:w,data:h,reset:v}=await p({x:f,y:m,initialPlacement:i,placement:d,strategy:a,middlewareData:u,rects:c,platform:r,elements:{reference:e,floating:t}});f=null!=y?y:f,m=null!=w?w:m,u={...u,[o]:{...u[o],...h}},v&&g<=50&&(g++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await r.getElementRects({reference:e,floating:t,strategy:a}):v.rects),({x:f,y:m}=x(c,d,s))),n=-1)}return{x:f,y:m,placement:d,strategy:a,middlewareData:u}};async function h(t,n){var i;void 0===n&&(n={});const{x:a,y:o,platform:r,rects:l,elements:s,strategy:c}=t,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:g="floating",altBoundary:p=!1,padding:y=0}=e(n,t),x=m(y),w=s[p?"floating"===g?"reference":"floating":g],h=d(await r.getClippingRect({element:null==(i=await(null==r.isElement?void 0:r.isElement(w)))||i?w:w.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:c})),v="floating"===g?{...l.floating,x:a,y:o}:l.reference,b=await(null==r.getOffsetParent?void 0:r.getOffsetParent(s.floating)),A=await(null==r.isElement?void 0:r.isElement(b))&&await(null==r.getScale?void 0:r.getScale(b))||{x:1,y:1},R=d(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:c}):v);return{top:(h.top-R.top+x.top)/A.y,bottom:(R.bottom-h.bottom+x.bottom)/A.y,left:(h.left-R.left+x.left)/A.x,right:(R.right-h.right+x.right)/A.x}}const v=t=>({name:"arrow",options:t,async fn(n){const{x:i,y:a,placement:o,rects:l,platform:f,elements:d,middlewareData:g}=n,{element:p,padding:x=0}=e(t,n)||{};if(null==p)return{};const w=m(x),h={x:i,y:a},v=u(o),b=y(v),A=await f.getDimensions(p),R="y"===v,D=R?"top":"left",O=R?"bottom":"right",E=R?"clientHeight":"clientWidth",P=l.reference[b]+l.reference[v]-h[v]-l.floating[b],T=h[v]-l.reference[v],k=await(null==f.getOffsetParent?void 0:f.getOffsetParent(p));let L=k?k[E]:0;L&&await(null==f.isElement?void 0:f.isElement(k))||(L=d.floating[E]||l.floating[b]);const H=P/2-T/2,B=L/2-A[b]/2-1,C=c(w[D],B),S=c(w[O],B),j=C,F=L-A[b]-S,V=L/2-A[b]/2+H,W=s(j,V,F),z=!g.arrow&&null!=r(o)&&V!==W&&l.reference[b]/2-(V<j?C:S)-A[b]/2<0,q=z?V<j?V-j:V-F:0;return{[v]:h[v]+q,data:{[v]:W,centerOffset:V-W-q,...z&&{alignmentOffset:q}},reset:z}}}),b=function(r){return void 0===r&&(r={}),{name:"flip",options:r,async fn(l){var s,c;const{placement:f,middlewareData:m,rects:d,initialPlacement:u,platform:g,elements:p}=l,{mainAxis:y=!0,crossAxis:x=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:A=!0,...R}=e(r,l);if(null!=(s=m.arrow)&&s.alignmentOffset)return{};const D=t(f),O=t(u)===u,E=await(null==g.isRTL?void 0:g.isRTL(p.floating)),P=w||(O||!A?[n(u)]:i(u));w||"none"===b||P.push(...a(u,A,b,E));const T=[u,...P],k=await h(l,R),L=[];let H=(null==(c=m.flip)?void 0:c.overflows)||[];if(y&&L.push(k[D]),x){const e=o(f,d,E);L.push(k[e[0]],k[e[1]])}if(H=[...H,{placement:f,overflows:L}],!L.every((e=>e<=0))){var B,C;const e=((null==(B=m.flip)?void 0:B.index)||0)+1,t=T[e];if(t)return{data:{index:e,overflows:H},reset:{placement:t}};let n=null==(C=H.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement;if(!n)switch(v){case"bestFit":{var S;const e=null==(S=H.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:S[0];e&&(n=e);break}case"initialPlacement":n=u}if(f!==n)return{reset:{placement:n}}}return{}}}};function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return g.some((t=>e[t]>=0))}const D=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:i}=n,{strategy:a="referenceHidden",...o}=e(t,n);switch(a){case"referenceHidden":{const e=A(await h(n,{...o,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:R(e)}}}case"escaped":{const e=A(await h(n,{...o,altBoundary:!0}),i.floating);return{data:{escapedOffsets:e,escaped:R(e)}}}default:return{}}}}};const O=function(n){return void 0===n&&(n=0),{name:"offset",options:n,async fn(i){var a,o;const{x:s,y:c,placement:f,middlewareData:m}=i,d=await async function(n,i){const{placement:a,platform:o,elements:s}=n,c=await(null==o.isRTL?void 0:o.isRTL(s.floating)),f=t(a),m=r(a),d="y"===l(a),u=["left","top"].includes(f)?-1:1,g=c&&d?-1:1,p=e(i,n);let{mainAxis:y,crossAxis:x,alignmentAxis:w}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return m&&"number"==typeof w&&(x="end"===m?-1*w:w),d?{x:x*g,y:y*u}:{x:y*u,y:x*g}}(i,n);return f===(null==(a=m.offset)?void 0:a.placement)&&null!=(o=m.arrow)&&o.alignmentOffset?{}:{x:s+d.x,y:c+d.y,data:{...d,placement:f}}}}},E=function(n){return void 0===n&&(n={}),{name:"shift",options:n,async fn(i){const{x:a,y:o,placement:r}=i,{mainAxis:c=!0,crossAxis:f=!1,limiter:m={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=e(n,i),u={x:a,y:o},g=await h(i,d),y=l(t(r)),x=p(y);let w=u[x],v=u[y];if(c){const e="y"===x?"bottom":"right",t=w+g["y"===x?"top":"left"],n=w-g[e];w=s(t,w,n)}if(f){const e="y"===y?"bottom":"right",t=v+g["y"===y?"top":"left"],n=v-g[e];v=s(t,v,n)}const b=m.fn({...i,[x]:w,[y]:v});return{...b,data:{x:b.x-a,y:b.y-o}}}}},P=function(n){return void 0===n&&(n={}),{options:n,fn(i){const{x:a,y:o,placement:r,rects:s,middlewareData:c}=i,{offset:f=0,mainAxis:m=!0,crossAxis:d=!0}=e(n,i),u={x:a,y:o},g=l(r),y=p(g);let x=u[y],w=u[g];const h=e(f,i),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(m){const e="y"===y?"height":"width",t=s.reference[y]-s.floating[e]+v.mainAxis,n=s.reference[y]+s.reference[e]-v.mainAxis;x<t?x=t:x>n&&(x=n)}if(d){var b,A;const e="y"===y?"width":"height",n=["top","left"].includes(t(r)),i=s.reference[g]-s.floating[e]+(n&&(null==(b=c.offset)?void 0:b[g])||0)+(n?0:v.crossAxis),a=s.reference[g]+s.reference[e]+(n?0:(null==(A=c.offset)?void 0:A[g])||0)-(n?v.crossAxis:0);w<i?w=i:w>a&&(w=a)}return{[y]:x,[g]:w}}}},T=function(n){return void 0===n&&(n={}),{name:"size",options:n,async fn(i){const{placement:a,rects:o,platform:s,elements:m}=i,{apply:d=(()=>{}),...u}=e(n,i),g=await h(i,u),p=t(a),y=r(a),x="y"===l(a),{width:w,height:v}=o.floating;let b,A;"top"===p||"bottom"===p?(b=p,A=y===(await(null==s.isRTL?void 0:s.isRTL(m.floating))?"start":"end")?"left":"right"):(A=p,b="end"===y?"top":"bottom");const R=v-g[b],D=w-g[A],O=!i.middlewareData.shift;let E=R,P=D;if(x){const e=w-g.left-g.right;P=y||O?c(D,e):e}else{const e=v-g.top-g.bottom;E=y||O?c(R,e):e}if(O&&!y){const e=f(g.left,0),t=f(g.right,0),n=f(g.top,0),i=f(g.bottom,0);x?P=w-2*(0!==e||0!==t?e+t:f(g.left,g.right)):E=v-2*(0!==n||0!==i?n+i:f(g.top,g.bottom))}await d({...i,availableWidth:P,availableHeight:E});const T=await s.getDimensions(m.floating);return w!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}};export{v as arrow,w as computePosition,h as detectOverflow,b as flip,D as hide,P as limitShift,O as offset,E as shift,T as size};
|
2
|
-
//# sourceMappingURL=floating-ui.core.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"floating-ui.core.mjs","sources":["../../../../../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 ...rects.floating,\n x,\n y\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 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 if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {\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 // 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 // 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$map$so;\n const placement = (_overflowsData$map$so = overflowsData.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$map$so[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\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 = ['left', 'top'].includes(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: 0,\n crossAxis: 0,\n alignmentAxis: null,\n ...rawValue\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 }\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 = ['top', 'left'].includes(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 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 overflowAvailableHeight = height - overflow[heightSide];\n const overflowAvailableWidth = width - overflow[widthSide];\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if (isYAxis) {\n const maximumClippingWidth = width - overflow.left - overflow.right;\n availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;\n } else {\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : 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","x","width","commonY","y","height","commonAlign","coords","getAlignment","computePosition","async","config","strategy","middleware","platform","validMiddleware","filter","Boolean","isRTL","rects","getElementRects","statefulPlacement","middlewareData","resetCount","i","length","name","fn","nextX","nextY","data","reset","initialPlacement","elements","detectOverflow","state","options","_await$platform$isEle","boundary","rootBoundary","elementContext","altBoundary","padding","evaluate","paddingObject","getPaddingObject","element","clippingClientRect","rectToClientRect","getClippingRect","isElement","contextElement","getDocumentElement","rect","offsetParent","getOffsetParent","offsetScale","getScale","elementClientRect","convertOffsetParentRelativeRectToViewportRelativeRect","top","bottom","left","right","arrow","axis","arrowDimensions","getDimensions","isYAxis","minProp","maxProp","clientProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","largestPossiblePadding","minPadding","min","maxPadding","min$1","max","center","offset","clamp","shouldAddOffset","alignmentOffset","centerOffset","flip","_middlewareData$arrow","_middlewareData$flip","mainAxis","checkMainAxis","crossAxis","checkCrossAxis","fallbackPlacements","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","detectOverflowOptions","isBasePlacement","getOppositePlacement","getExpandedPlacements","push","getOppositeAxisPlacements","placements","overflow","overflows","overflowsData","sides","getAlignmentSides","every","_middlewareData$flip2","_overflowsData$filter","nextIndex","index","nextPlacement","resetPlacement","d","sort","a","b","_overflowsData$map$so","map","reduce","acc","getSideOffsets","isAnySideFullyClipped","some","hide","offsets","referenceHiddenOffsets","referenceHidden","escapedOffsets","escaped","_middlewareData$offse","diffCoords","alignment","mainAxisMulti","includes","crossAxisMulti","rawValue","convertValueToCoords","shift","limiter","getOppositeAxis","mainAxisCoord","crossAxisCoord","maxSide","limitedCoords","limitShift","rawOffset","computedOffset","len","limitMin","limitMax","_middlewareData$offse2","isOriginSide","size","apply","heightSide","widthSide","overflowAvailableHeight","overflowAvailableWidth","noShift","availableHeight","availableWidth","maximumClippingWidth","maximumClippingHeight","xMin","xMax","yMin","yMax","nextDimensions"],"mappings":"obAGA,SAASA,EAA2BC,EAAMC,EAAWC,GACnD,IAAIC,UACFA,EAASC,SACTA,GACEJ,EACJ,MAAMK,EAAWC,EAAYL,GACvBM,EAAgBC,EAAiBP,GACjCQ,EAAcC,EAAcH,GAC5BI,EAAOC,EAAQX,GACfY,EAA0B,MAAbR,EACbS,EAAUX,EAAUY,EAAIZ,EAAUa,MAAQ,EAAIZ,EAASY,MAAQ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F,EAAIqF,EAAyBM,GAAyBA,CAChG,CACD,GAAIJ,IAAY3B,EAAW,CACzB,MAAMgC,EAAOzF,EAAI0B,EAAS9C,KAAM,GAC1B8G,EAAO1F,EAAI0B,EAAS7C,MAAO,GAC3B8G,EAAO3F,EAAI0B,EAAShD,IAAK,GACzBkH,EAAO5F,EAAI0B,EAAS/C,OAAQ,GAC9BO,EACFoG,EAAiBtK,EAAQ,GAAc,IAATyK,GAAuB,IAATC,EAAaD,EAAOC,EAAO1F,EAAI0B,EAAS9C,KAAM8C,EAAS7C,QAEnGwG,EAAkBlK,EAAS,GAAc,IAATwK,GAAuB,IAATC,EAAaD,EAAOC,EAAO5F,EAAI0B,EAAShD,IAAKgD,EAAS/C,QAEvG,OACKoG,EAAM,IACP9H,EACHqI,iBACAD,oBAEF,MAAMQ,QAAuBjK,EAASqD,cAAclC,EAAS3C,UAC7D,OAAIY,IAAU6K,EAAe7K,OAASG,IAAW0K,EAAe1K,OACvD,CACL0B,MAAO,CACLZ,OAAO,IAIN,EACR,EAEL"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{shift as t,flip as e,size as n,hide as i,limitShift as o,arrow as r,computePosition as s}from"../../core/dist/floating-ui.core.mjs";export{detectOverflow,offset}from"../../core/dist/floating-ui.core.mjs";import{createCoords as l,rectToClientRect as c,round as f,floor as u,max as h,min as a}from"../../utils/dist/floating-ui.utils.mjs";import{getOverflowAncestors as d,isElement as g,getWindow as p,getComputedStyle as m,getDocumentElement as x,isHTMLElement as y,isWebKit as w,getNodeName as v,isOverflowElement as b,getNodeScroll as L,isTableElement as R,isContainingBlock as T,getContainingBlock as E,getParentNode as F,isLastTraversableNode as O}from"../../utils/dist/floating-ui.utils.dom.mjs";export{getOverflowAncestors}from"../../utils/dist/floating-ui.utils.dom.mjs";function W(t){const e=m(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=y(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=f(n)!==r||f(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function H(t){return g(t)?t:t.contextElement}function z(t){const e=H(t);if(!y(e))return l(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=W(e);let s=(r?f(n.width):n.width)/i,c=(r?f(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}const A=l(0);function C(t){const e=p(t);return w()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:A}function P(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=H(t);let s=l(1);e&&(i?g(i)&&(s=z(i)):s=z(t));const f=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==p(t))&&e}(r,n,i)?C(r):l(0);let u=(o.left+f.x)/s.x,h=(o.top+f.y)/s.y,a=o.width/s.x,d=o.height/s.y;if(r){const t=p(r),e=i&&g(i)?p(i):i;let n=t,o=n.frameElement;for(;o&&i&&e!==n;){const t=z(o),e=o.getBoundingClientRect(),i=m(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;u*=t.x,h*=t.y,a*=t.x,d*=t.y,u+=r,h+=s,n=p(o),o=n.frameElement}}return c({width:a,height:d,x:u,y:h})}const j=[":popover-open",":modal"];function B(t){return j.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function D(t){return P(x(t)).left+L(t).scrollLeft}function V(t,e,n){let i;if("viewport"===e)i=function(t,e){const n=p(t),i=x(t),o=n.visualViewport;let r=i.clientWidth,s=i.clientHeight,l=0,c=0;if(o){r=o.width,s=o.height;const t=w();(!t||t&&"fixed"===e)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:l,y:c}}(t,n);else if("document"===e)i=function(t){const e=x(t),n=L(t),i=t.ownerDocument.body,o=h(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=h(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+D(t);const l=-n.scrollTop;return"rtl"===m(i).direction&&(s+=h(e.clientWidth,i.clientWidth)-o),{width:o,height:r,x:s,y:l}}(x(t));else if(g(e))i=function(t,e){const n=P(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=y(t)?z(t):l(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=C(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return c(i)}function S(t,e){const n=F(t);return!(n===e||!g(n)||O(n))&&("fixed"===m(n).position||S(n,e))}function I(t,e,n){const i=y(e),o=x(e),r="fixed"===n,s=P(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const f=l(0);if(i||!i&&!r)if(("body"!==v(e)||b(o))&&(c=L(e)),i){const t=P(e,!0,r,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else o&&(f.x=D(o));return{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function q(t,e){return y(t)&&"fixed"!==m(t).position?e?e(t):t.offsetParent:null}function M(t,e){const n=p(t);if(!y(t)||B(t))return n;let i=q(t,e);for(;i&&R(i)&&"static"===m(i).position;)i=q(i,e);return i&&("html"===v(i)||"body"===v(i)&&"static"===m(i).position&&!T(i))?n:i||E(t)||n}const N={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=x(i),c=!!e&&B(e.floating);if(i===s||c&&r)return n;let f={scrollLeft:0,scrollTop:0},u=l(1);const h=l(0),a=y(i);if((a||!a&&!r)&&(("body"!==v(i)||b(s))&&(f=L(i)),y(i))){const t=P(i);u=z(i),h.x=t.x+i.clientLeft,h.y=t.y+i.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+h.x,y:n.y*u.y-f.scrollTop*u.y+h.y}},getDocumentElement:x,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?function(t,e){const n=e.get(t);if(n)return n;let i=d(t,[],!1).filter((t=>g(t)&&"body"!==v(t))),o=null;const r="fixed"===m(t).position;let s=r?F(t):t;for(;g(s)&&!O(s);){const e=m(s),n=T(s);n||"fixed"!==e.position||(o=null),(r?!n&&!o:!n&&"static"===e.position&&o&&["absolute","fixed"].includes(o.position)||b(s)&&!n&&S(t,s))?i=i.filter((t=>t!==s)):o=e,s=F(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],s=r[0],l=r.reduce(((t,n)=>{const i=V(e,n,o);return t.top=h(i.top,t.top),t.right=a(i.right,t.right),t.bottom=a(i.bottom,t.bottom),t.left=h(i.left,t.left),t}),V(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:M,getElementRects:async function(t){const e=this.getOffsetParent||M,n=this.getDimensions;return{reference:I(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=W(t);return{width:e,height:n}},getScale:z,isElement:g,isRTL:function(t){return"rtl"===m(t).direction}};function $(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,f=H(t),g=o||r?[...f?d(f):[],...d(e)]:[];g.forEach((t=>{o&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const p=f&&l?function(t,e){let n,i=null;const o=x(t);function r(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return function s(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),r();const{left:f,top:d,width:g,height:p}=t.getBoundingClientRect();if(l||e(),!g||!p)return;const m={rootMargin:-u(d)+"px "+-u(o.clientWidth-(f+g))+"px "+-u(o.clientHeight-(d+p))+"px "+-u(f)+"px",threshold:h(0,a(1,c))||1};let x=!0;function y(t){const e=t[0].intersectionRatio;if(e!==c){if(!x)return s();e?s(!1,e):n=setTimeout((()=>{s(!1,1e-7)}),100)}x=!1}try{i=new IntersectionObserver(y,{...m,root:o.ownerDocument})}catch(t){i=new IntersectionObserver(y,m)}i.observe(t)}(!0),r}(f,n):null;let m,y=-1,w=null;s&&(w=new ResizeObserver((t=>{let[i]=t;i&&i.target===f&&w&&(w.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(e)}))),n()})),f&&!c&&w.observe(f),w.observe(e));let v=c?P(t):null;return c&&function e(){const i=P(t);!v||i.x===v.x&&i.y===v.y&&i.width===v.width&&i.height===v.height||n();v=i,m=requestAnimationFrame(e)}(),n(),()=>{var t;g.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==p||p(),null==(t=w)||t.disconnect(),w=null,c&&cancelAnimationFrame(m)}}const _=t,k=e,G=n,J=i,K=r,Q=o,U=(t,e,n)=>{const i=new Map,o={platform:N,...n},r={...o.platform,_c:i};return s(t,e,{...o,platform:r})};export{K as arrow,$ as autoUpdate,U as computePosition,k as flip,J as hide,Q as limitShift,N as platform,_ as shift,G as size};
|
2
|
-
//# sourceMappingURL=floating-ui.dom.mjs.map
|