@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.
Files changed (560) hide show
  1. package/README.md +133 -133
  2. package/dist/globals.css +4 -4
  3. package/dist/lib/Typography/Header/index.mjs +1 -1
  4. package/dist/lib/Typography/Header/index.mjs.map +1 -1
  5. package/dist/lib/Typography/Text/index.mjs +1 -1
  6. package/dist/lib/Typography/Text/index.mjs.map +1 -1
  7. package/dist/lib/components/Accordion/index.mjs +1 -1
  8. package/dist/lib/components/Accordion/index.mjs.map +1 -1
  9. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +1 -1
  10. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
  11. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -1
  12. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
  13. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +1 -1
  14. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
  15. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -1
  16. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
  17. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -1
  18. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
  19. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +1 -1
  20. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
  21. package/dist/lib/components/AspectRatio/index.mjs +1 -1
  22. package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
  23. package/dist/lib/components/Avatar/index.mjs +1 -1
  24. package/dist/lib/components/Avatar/index.mjs.map +1 -1
  25. package/dist/lib/components/Badge/index.mjs +1 -1
  26. package/dist/lib/components/Badge/index.mjs.map +1 -1
  27. package/dist/lib/components/BarChart/index.mjs +1 -1
  28. package/dist/lib/components/BarChart/index.mjs.map +1 -1
  29. package/dist/lib/components/BubbleChart/index.mjs +1 -1
  30. package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  31. package/dist/lib/components/Button/index.mjs +1 -1
  32. package/dist/lib/components/Button/index.mjs.map +1 -1
  33. package/dist/lib/components/Callout/CalloutIcon.mjs +1 -1
  34. package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
  35. package/dist/lib/components/Callout/CalloutRoot.mjs +1 -1
  36. package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
  37. package/dist/lib/components/Callout/CalloutText.mjs +1 -1
  38. package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
  39. package/dist/lib/components/Card/index.mjs +1 -1
  40. package/dist/lib/components/Card/index.mjs.map +1 -1
  41. package/dist/lib/components/Checkbox/index.mjs +1 -1
  42. package/dist/lib/components/Checkbox/index.mjs.map +1 -1
  43. package/dist/lib/components/CheckboxCard/index.mjs +1 -1
  44. package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
  45. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +1 -1
  46. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
  47. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -1
  48. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
  49. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +1 -1
  50. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
  51. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -1
  52. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
  53. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -1
  54. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
  55. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -1
  56. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
  57. package/dist/lib/components/DataList/DataListItem.mjs +1 -1
  58. package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
  59. package/dist/lib/components/DataList/DataListLabel.mjs +1 -1
  60. package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
  61. package/dist/lib/components/DataList/DataListRoot.mjs +1 -1
  62. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
  63. package/dist/lib/components/DataList/DataListValue.mjs +1 -1
  64. package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
  65. package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
  66. package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
  67. package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
  68. package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
  69. package/dist/lib/components/Dialog/DialogContent.mjs +1 -1
  70. package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
  71. package/dist/lib/components/Dialog/DialogDescription.mjs +1 -1
  72. package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
  73. package/dist/lib/components/Dialog/DialogSlot.mjs +1 -1
  74. package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
  75. package/dist/lib/components/Dialog/DialogTitle.mjs +1 -1
  76. package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
  77. package/dist/lib/components/DoughnutChart/index.mjs +1 -1
  78. package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
  79. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -1
  80. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
  81. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -1
  82. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
  83. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +1 -1
  84. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
  85. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -1
  86. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
  87. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -1
  88. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
  89. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -1
  90. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
  91. package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -1
  92. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
  93. package/dist/lib/components/IconButton/index.mjs +1 -1
  94. package/dist/lib/components/IconButton/index.mjs.map +1 -1
  95. package/dist/lib/components/Inset/index.mjs +1 -1
  96. package/dist/lib/components/Inset/index.mjs.map +1 -1
  97. package/dist/lib/components/Label/index.mjs +1 -1
  98. package/dist/lib/components/Label/index.mjs.map +1 -1
  99. package/dist/lib/components/LineChart/index.mjs +1 -1
  100. package/dist/lib/components/LineChart/index.mjs.map +1 -1
  101. package/dist/lib/components/Menubar/MenubarContent.mjs +1 -1
  102. package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
  103. package/dist/lib/components/Menubar/MenubarItem.mjs +1 -1
  104. package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
  105. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -1
  106. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
  107. package/dist/lib/components/Menubar/MenubarRoot.mjs +1 -1
  108. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
  109. package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -1
  110. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
  111. package/dist/lib/components/Menubar/MenubarTrigger.mjs +1 -1
  112. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
  113. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +1 -1
  114. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
  115. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +1 -1
  116. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
  117. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +1 -1
  118. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
  119. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +1 -1
  120. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
  121. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +1 -1
  122. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
  123. package/dist/lib/components/PieChart/index.mjs +1 -1
  124. package/dist/lib/components/PieChart/index.mjs.map +1 -1
  125. package/dist/lib/components/Popover/PopoverClose.mjs +1 -1
  126. package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
  127. package/dist/lib/components/Popover/PopoverContent.mjs +1 -1
  128. package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
  129. package/dist/lib/components/Progress/index.mjs +1 -1
  130. package/dist/lib/components/Progress/index.mjs.map +1 -1
  131. package/dist/lib/components/RadarChart/index.mjs +1 -1
  132. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  133. package/dist/lib/components/Radio/index.mjs +1 -1
  134. package/dist/lib/components/Radio/index.mjs.map +1 -1
  135. package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -1
  136. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
  137. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +1 -1
  138. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
  139. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -1
  140. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
  141. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +1 -1
  142. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
  143. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
  144. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
  145. package/dist/lib/components/Select/index.mjs +1 -1
  146. package/dist/lib/components/Select/index.mjs.map +1 -1
  147. package/dist/lib/components/Separator/index.mjs +1 -1
  148. package/dist/lib/components/Separator/index.mjs.map +1 -1
  149. package/dist/lib/components/Skeleton/index.mjs +1 -1
  150. package/dist/lib/components/Skeleton/index.mjs.map +1 -1
  151. package/dist/lib/components/Slider/index.mjs +1 -1
  152. package/dist/lib/components/Slider/index.mjs.map +1 -1
  153. package/dist/lib/components/Spinner/index.mjs +1 -1
  154. package/dist/lib/components/Spinner/index.mjs.map +1 -1
  155. package/dist/lib/components/TabNav/index.mjs +1 -1
  156. package/dist/lib/components/TabNav/index.mjs.map +1 -1
  157. package/dist/lib/components/Table/index.mjs +1 -1
  158. package/dist/lib/components/Table/index.mjs.map +1 -1
  159. package/dist/lib/components/Tabs/index.mjs +1 -1
  160. package/dist/lib/components/Tabs/index.mjs.map +1 -1
  161. package/dist/lib/components/TextArea/index.mjs +1 -1
  162. package/dist/lib/components/TextArea/index.mjs.map +1 -1
  163. package/dist/lib/components/TextField/index.mjs +1 -1
  164. package/dist/lib/components/TextField/index.mjs.map +1 -1
  165. package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
  166. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
  167. package/dist/lib/components/Toast/ToastDescription.mjs +1 -1
  168. package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
  169. package/dist/lib/components/Toast/ToastRoot.mjs +1 -1
  170. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
  171. package/dist/lib/components/Toast/ToastTitle.mjs +1 -1
  172. package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
  173. package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
  174. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
  175. package/dist/lib/components/Toggle/index.mjs +1 -1
  176. package/dist/lib/components/Toggle/index.mjs.map +1 -1
  177. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +1 -1
  178. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
  179. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +1 -1
  180. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
  181. package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
  182. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
  183. package/dist/lib/components/Tooltip/index.mjs +1 -1
  184. package/dist/lib/components/Tooltip/index.mjs.map +1 -1
  185. package/dist/lib/utils/utils.mjs +1 -1
  186. package/dist/lib/utils/utils.mjs.map +1 -1
  187. package/dist/tsconfig.tsbuildinfo +1 -1
  188. package/package.json +138 -135
  189. package/dist/_virtual/_commonjsHelpers.mjs +0 -2
  190. package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
  191. package/dist/_virtual/index.mjs +0 -2
  192. package/dist/_virtual/index.mjs.map +0 -1
  193. package/dist/_virtual/index2.mjs +0 -2
  194. package/dist/_virtual/index2.mjs.map +0 -1
  195. package/dist/_virtual/jsx-runtime.mjs +0 -2
  196. package/dist/_virtual/jsx-runtime.mjs.map +0 -1
  197. package/dist/_virtual/jsx-runtime2.mjs +0 -2
  198. package/dist/_virtual/jsx-runtime2.mjs.map +0 -1
  199. package/dist/_virtual/react-jsx-runtime.development.mjs +0 -2
  200. package/dist/_virtual/react-jsx-runtime.development.mjs.map +0 -1
  201. package/dist/_virtual/react-jsx-runtime.production.min.mjs +0 -2
  202. package/dist/_virtual/react-jsx-runtime.production.min.mjs.map +0 -1
  203. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -2
  204. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.map +0 -1
  205. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -2
  206. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.map +0 -1
  207. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +0 -2
  208. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.map +0 -1
  209. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -2
  210. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.map +0 -1
  211. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -2
  212. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.map +0 -1
  213. package/dist/node_modules/@kurkle/color/dist/color.esm.mjs +0 -8
  214. package/dist/node_modules/@kurkle/color/dist/color.esm.mjs.map +0 -1
  215. package/dist/node_modules/@radix-ui/number/dist/index.mjs +0 -2
  216. package/dist/node_modules/@radix-ui/number/dist/index.mjs.map +0 -1
  217. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs +0 -2
  218. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.map +0 -1
  219. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs +0 -2
  220. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.map +0 -1
  221. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs +0 -2
  222. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs.map +0 -1
  223. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs +0 -2
  224. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.map +0 -1
  225. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs +0 -2
  226. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs.map +0 -1
  227. package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs +0 -2
  228. package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.map +0 -1
  229. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs +0 -2
  230. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.map +0 -1
  231. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs +0 -2
  232. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.map +0 -1
  233. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs +0 -2
  234. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.map +0 -1
  235. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +0 -2
  236. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +0 -1
  237. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs +0 -2
  238. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.map +0 -1
  239. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs +0 -2
  240. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs.map +0 -1
  241. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs +0 -2
  242. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.map +0 -1
  243. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs +0 -2
  244. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.map +0 -1
  245. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +0 -2
  246. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +0 -1
  247. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +0 -2
  248. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.map +0 -1
  249. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +0 -2
  250. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +0 -1
  251. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +0 -2
  252. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map +0 -1
  253. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs +0 -2
  254. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.map +0 -1
  255. package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs +0 -2
  256. package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs.map +0 -1
  257. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs +0 -2
  258. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.map +0 -1
  259. package/dist/node_modules/@radix-ui/react-label/dist/index.mjs +0 -2
  260. package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.map +0 -1
  261. package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs +0 -2
  262. package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.map +0 -1
  263. package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs +0 -2
  264. package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs.map +0 -1
  265. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs +0 -2
  266. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.map +0 -1
  267. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs +0 -2
  268. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.map +0 -1
  269. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs +0 -2
  270. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.map +0 -1
  271. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs +0 -2
  272. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.map +0 -1
  273. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -2
  274. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +0 -1
  275. package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs +0 -2
  276. package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.map +0 -1
  277. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs +0 -2
  278. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.map +0 -1
  279. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +0 -2
  280. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +0 -1
  281. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs +0 -2
  282. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.map +0 -1
  283. package/dist/node_modules/@radix-ui/react-select/dist/index.mjs +0 -2
  284. package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.map +0 -1
  285. package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs +0 -2
  286. package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs.map +0 -1
  287. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs +0 -2
  288. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.map +0 -1
  289. package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs +0 -2
  290. package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.map +0 -1
  291. package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs +0 -2
  292. package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +0 -1
  293. package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs +0 -2
  294. package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs.map +0 -1
  295. package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs +0 -2
  296. package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.map +0 -1
  297. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs +0 -2
  298. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.map +0 -1
  299. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs +0 -2
  300. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.map +0 -1
  301. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +0 -2
  302. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +0 -1
  303. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +0 -2
  304. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +0 -1
  305. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +0 -2
  306. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +0 -1
  307. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +0 -2
  308. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +0 -1
  309. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs +0 -2
  310. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +0 -1
  311. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs +0 -2
  312. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +0 -1
  313. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +0 -2
  314. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +0 -1
  315. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs +0 -2
  316. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs.map +0 -1
  317. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs +0 -2
  318. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs.map +0 -1
  319. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs +0 -2
  320. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs.map +0 -1
  321. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs +0 -2
  322. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs.map +0 -1
  323. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs +0 -2
  324. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs.map +0 -1
  325. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs +0 -2
  326. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs.map +0 -1
  327. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs +0 -2
  328. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs.map +0 -1
  329. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs +0 -2
  330. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs.map +0 -1
  331. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs +0 -2
  332. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs.map +0 -1
  333. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs +0 -2
  334. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs.map +0 -1
  335. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs +0 -2
  336. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs.map +0 -1
  337. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs +0 -2
  338. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs.map +0 -1
  339. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs +0 -2
  340. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs.map +0 -1
  341. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs +0 -2
  342. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs.map +0 -1
  343. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs +0 -2
  344. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs.map +0 -1
  345. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs +0 -2
  346. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs.map +0 -1
  347. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs +0 -2
  348. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs.map +0 -1
  349. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs +0 -2
  350. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs.map +0 -1
  351. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs +0 -2
  352. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs.map +0 -1
  353. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs +0 -2
  354. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs.map +0 -1
  355. package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs +0 -2
  356. package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs.map +0 -1
  357. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs +0 -2
  358. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs.map +0 -1
  359. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs +0 -2
  360. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs.map +0 -1
  361. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs +0 -2
  362. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs.map +0 -1
  363. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs +0 -2
  364. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs.map +0 -1
  365. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs +0 -2
  366. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs.map +0 -1
  367. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs +0 -2
  368. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs.map +0 -1
  369. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs +0 -2
  370. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs.map +0 -1
  371. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs +0 -2
  372. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs.map +0 -1
  373. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs +0 -2
  374. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs.map +0 -1
  375. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs +0 -2
  376. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs.map +0 -1
  377. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs +0 -2
  378. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs.map +0 -1
  379. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs +0 -2
  380. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs.map +0 -1
  381. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs +0 -2
  382. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs.map +0 -1
  383. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs +0 -2
  384. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs.map +0 -1
  385. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs +0 -2
  386. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs.map +0 -1
  387. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs +0 -2
  388. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs.map +0 -1
  389. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs +0 -2
  390. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs.map +0 -1
  391. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs +0 -2
  392. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs.map +0 -1
  393. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs +0 -2
  394. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs.map +0 -1
  395. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs +0 -2
  396. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs.map +0 -1
  397. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs +0 -2
  398. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs.map +0 -1
  399. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs +0 -2
  400. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs.map +0 -1
  401. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs +0 -2
  402. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs.map +0 -1
  403. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs +0 -2
  404. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs.map +0 -1
  405. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs +0 -2
  406. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs.map +0 -1
  407. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs +0 -2
  408. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs.map +0 -1
  409. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs +0 -2
  410. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs.map +0 -1
  411. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs +0 -2
  412. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs.map +0 -1
  413. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs +0 -2
  414. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs.map +0 -1
  415. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs +0 -2
  416. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs.map +0 -1
  417. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs +0 -2
  418. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs.map +0 -1
  419. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs +0 -2
  420. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs.map +0 -1
  421. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs +0 -2
  422. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs.map +0 -1
  423. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs +0 -2
  424. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs.map +0 -1
  425. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs +0 -2
  426. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs.map +0 -1
  427. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs +0 -2
  428. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs.map +0 -1
  429. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs +0 -2
  430. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs.map +0 -1
  431. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs +0 -2
  432. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs.map +0 -1
  433. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs +0 -2
  434. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs.map +0 -1
  435. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs +0 -2
  436. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs.map +0 -1
  437. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs +0 -2
  438. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs.map +0 -1
  439. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs +0 -2
  440. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs.map +0 -1
  441. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs +0 -2
  442. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs.map +0 -1
  443. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs +0 -2
  444. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs.map +0 -1
  445. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs +0 -2
  446. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs.map +0 -1
  447. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs +0 -2
  448. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs.map +0 -1
  449. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs +0 -2
  450. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs.map +0 -1
  451. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs +0 -2
  452. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs.map +0 -1
  453. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs +0 -2
  454. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs.map +0 -1
  455. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs +0 -2
  456. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs.map +0 -1
  457. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs +0 -2
  458. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs.map +0 -1
  459. package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs +0 -2
  460. package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs.map +0 -1
  461. package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs +0 -2
  462. package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs.map +0 -1
  463. package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs +0 -2
  464. package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs.map +0 -1
  465. package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs +0 -2
  466. package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs.map +0 -1
  467. package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs +0 -2
  468. package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs.map +0 -1
  469. package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs +0 -2
  470. package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs.map +0 -1
  471. package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs +0 -2
  472. package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs.map +0 -1
  473. package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs +0 -2
  474. package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs.map +0 -1
  475. package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs +0 -2
  476. package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs.map +0 -1
  477. package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs +0 -2
  478. package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs.map +0 -1
  479. package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs +0 -2
  480. package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs.map +0 -1
  481. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs +0 -2
  482. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs.map +0 -1
  483. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs +0 -2
  484. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs.map +0 -1
  485. package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs +0 -2
  486. package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs.map +0 -1
  487. package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs +0 -2
  488. package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs.map +0 -1
  489. package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs +0 -2
  490. package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs.map +0 -1
  491. package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs +0 -2
  492. package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.map +0 -1
  493. package/dist/node_modules/aria-hidden/dist/es2015/index.mjs +0 -2
  494. package/dist/node_modules/aria-hidden/dist/es2015/index.mjs.map +0 -1
  495. package/dist/node_modules/chart.js/auto/auto.mjs +0 -2
  496. package/dist/node_modules/chart.js/auto/auto.mjs.map +0 -1
  497. package/dist/node_modules/chart.js/dist/chart.mjs +0 -8
  498. package/dist/node_modules/chart.js/dist/chart.mjs.map +0 -1
  499. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs +0 -8
  500. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs.map +0 -1
  501. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +0 -8
  502. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map +0 -1
  503. package/dist/node_modules/class-variance-authority/dist/index.mjs +0 -2
  504. package/dist/node_modules/class-variance-authority/dist/index.mjs.map +0 -1
  505. package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs +0 -2
  506. package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.map +0 -1
  507. package/dist/node_modules/classnames/index.mjs +0 -7
  508. package/dist/node_modules/classnames/index.mjs.map +0 -1
  509. package/dist/node_modules/clsx/dist/clsx.mjs +0 -2
  510. package/dist/node_modules/clsx/dist/clsx.mjs.map +0 -1
  511. package/dist/node_modules/get-nonce/dist/es2015/index.mjs +0 -2
  512. package/dist/node_modules/get-nonce/dist/es2015/index.mjs.map +0 -1
  513. package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +0 -11
  514. package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs.map +0 -1
  515. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +0 -11
  516. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs.map +0 -1
  517. package/dist/node_modules/react/jsx-runtime.mjs +0 -2
  518. package/dist/node_modules/react/jsx-runtime.mjs.map +0 -1
  519. package/dist/node_modules/react-chartjs-2/dist/index.mjs +0 -2
  520. package/dist/node_modules/react-chartjs-2/dist/index.mjs.map +0 -1
  521. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +0 -2
  522. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs.map +0 -1
  523. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +0 -2
  524. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs.map +0 -1
  525. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs +0 -2
  526. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs.map +0 -1
  527. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +0 -2
  528. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs.map +0 -1
  529. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +0 -2
  530. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs.map +0 -1
  531. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs +0 -2
  532. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs.map +0 -1
  533. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +0 -2
  534. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs.map +0 -1
  535. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +0 -2
  536. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs.map +0 -1
  537. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +0 -2
  538. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs.map +0 -1
  539. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +0 -2
  540. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs.map +0 -1
  541. package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs +0 -2
  542. package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs.map +0 -1
  543. package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs +0 -2
  544. package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs.map +0 -1
  545. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs +0 -2
  546. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs.map +0 -1
  547. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -2
  548. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +0 -1
  549. package/dist/node_modules/tslib/tslib.es6.mjs +0 -2
  550. package/dist/node_modules/tslib/tslib.es6.mjs.map +0 -1
  551. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +0 -2
  552. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs.map +0 -1
  553. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +0 -2
  554. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs.map +0 -1
  555. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs +0 -2
  556. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs.map +0 -1
  557. package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs +0 -2
  558. package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs.map +0 -1
  559. package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs +0 -2
  560. 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.90",
5
- "private": false,
6
- "type": "module",
7
- "files": [
8
- "dist",
9
- "dist/globals.css"
10
- ],
11
- "main": "dist/lib/index.js",
12
- "module": "dist/lib/index.mjs",
13
- "types": "dist/lib/index.d.ts",
14
- "publishConfig": {
15
- "access": "public"
16
- },
17
- "browser": "./browser/specific/main.js",
18
- "babel": {
19
- "presets": [
20
- "@babel/preset-react",
21
- "@babel/preset-env"
22
- ]
23
- },
24
- "browserslist": {
25
- "production": [
26
- ">0.2%",
27
- "not dead",
28
- "not op_mini all"
29
- ],
30
- "development": [
31
- "last 1 chrome version",
32
- "last 1 firefox version",
33
- "last 1 safari version"
34
- ]
35
- },
36
- "scripts": {
37
- "dev": "next dev",
38
- "lint": "next lint",
39
- "prepare": "next build",
40
- "start": "next start",
41
- "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
42
- "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
43
- "compile": "tsc --jsx react-jsx",
44
- "clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
45
- "update-tailwind": "node update-tailwind-import.js",
46
- "build": "next build && npm run compile",
47
- "build-storybook": "storybook build",
48
- "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
49
- "build:esm": "rollup -c && node src/utils/post-rollup.js",
50
- "build:all": "npm run clean && npm run compile && node src/utils/post-build.js && npm run build:css && tsc-alias && npm run update-tailwind",
51
- "publish:npm": "npm run build:all && npm run build:esm && npm publish && node src/utils/post-publish.js"
52
- },
53
- "dependencies": {
54
- "@babel/runtime": "^7.24.7",
55
- "@babel/runtime-corejs3": "^7.24.7",
56
- "@radix-ui/colors": "^3.0.0",
57
- "@radix-ui/react-accordion": "^1.2.0",
58
- "@radix-ui/react-checkbox": "^1.0.4",
59
- "@radix-ui/react-dialog": "^1.1.1",
60
- "@radix-ui/react-dropdown-menu": "^2.1.1",
61
- "@radix-ui/react-hover-card": "^1.1.1",
62
- "@radix-ui/react-icons": "^1.3.0",
63
- "@radix-ui/react-label": "^2.1.0",
64
- "@radix-ui/react-menubar": "^1.1.1",
65
- "@radix-ui/react-navigation-menu": "^1.2.0",
66
- "@radix-ui/react-popover": "1.0.7",
67
- "@radix-ui/react-radio-group": "^1.1.3",
68
- "@radix-ui/react-select": "^2.1.1",
69
- "@radix-ui/react-separator": "^1.1.0",
70
- "@radix-ui/react-slider": "^1.2.0",
71
- "@radix-ui/react-switch": "^1.1.0",
72
- "@radix-ui/react-tabs": "^1.1.0",
73
- "@radix-ui/react-toast": "^1.2.1",
74
- "@radix-ui/react-tooltip": "^1.1.1",
75
- "@radix-ui/themes": "^3.1.1",
76
- "@stitches/core": "^1.2.8",
77
- "@stitches/react": "^1.2.8",
78
- "@storybook/addon-a11y": "^8.3.5",
79
- "@storybook/manager-api": "^8.3.5",
80
- "chart.js": "^4.4.4",
81
- "chartjs-plugin-datalabels": "^2.2.0",
82
- "class-variance-authority": "^0.7.0",
83
- "clsx": "^2.1.0",
84
- "cross-env": "^7.0.3",
85
- "dotenv": "^16.4.5",
86
- "lucide-react": "^0.364.0",
87
- "next": "14.1.4",
88
- "react": "^18",
89
- "react-chartjs-2": "^5.2.0",
90
- "react-dom": "^18",
91
- "react-tabs": "^6.0.2",
92
- "storybook-addon-deep-controls": "^0.7.1",
93
- "storybook-dark-mode": "^4.0.2",
94
- "tailwind-merge": "^2.2.2"
95
- },
96
- "devDependencies": {
97
- "@babel/cli": "^7.24.7",
98
- "@babel/core": "^7.24.7",
99
- "@babel/plugin-transform-runtime": "^7.24.7",
100
- "@babel/preset-env": "^7.25.8",
101
- "@babel/preset-react": "^7.25.7",
102
- "@babel/preset-typescript": "^7.24.7",
103
- "@chromatic-com/storybook": "^1.2.25",
104
- "@rollup/plugin-babel": "^6.0.4",
105
- "@rollup/plugin-commonjs": "^28.0.0",
106
- "@rollup/plugin-node-resolve": "^15.3.0",
107
- "@rollup/plugin-typescript": "^12.1.0",
108
- "@storybook/addon-essentials": "^8.3.5",
109
- "@storybook/addon-interactions": "^8.3.5",
110
- "@storybook/addon-links": "^8.0.4",
111
- "@storybook/addon-styling-webpack": "^1.0.0",
112
- "@storybook/blocks": "^8.3.5",
113
- "@storybook/nextjs": "^8.3.5",
114
- "@storybook/react": "^8.3.5",
115
- "@storybook/test": "^8.3.5",
116
- "@storybook/theming": "^8.2.4",
117
- "@types/node": "^20",
118
- "@types/react": "^18",
119
- "@types/react-dom": "^18",
120
- "autoprefixer": "^10.0.1",
121
- "chromatic": "^11.5.4",
122
- "eslint": "^8",
123
- "eslint-config-next": "14.1.4",
124
- "eslint-plugin-storybook": "^0.8.0",
125
- "postcss": "^8",
126
- "prettier": "^3.3.3",
127
- "prettier-plugin-tailwindcss": "^0.6.6",
128
- "rimraf": "^6.0.1",
129
- "rollup-plugin-terser": "^7.0.2",
130
- "storybook": "^8.3.5",
131
- "tailwindcss": "^3.3.0",
132
- "tsc-alias": "^1.8.10",
133
- "typescript": "^5"
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,2 +0,0 @@
1
- function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as getDefaultExportFromCjs};
2
- //# sourceMappingURL=_commonjsHelpers.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_commonjsHelpers.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{getDefaultExportFromCjs as e}from"./_commonjsHelpers.mjs";import{__require as m}from"../node_modules/classnames/index.mjs";var s=e(m());export{s as default};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e={exports:{}};export{e as __module};
2
- //# sourceMappingURL=index2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as r}from"../node_modules/react/jsx-runtime.mjs";var e=r();export{e as j};
2
- //# sourceMappingURL=jsx-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsx-runtime.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e={exports:{}};export{e as __module};
2
- //# sourceMappingURL=jsx-runtime2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsx-runtime2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=react-jsx-runtime.development.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-jsx-runtime.development.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=react-jsx-runtime.production.min.mjs.map
@@ -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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0G,EAAkB5B,GAAa2B,EAAUvF,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