@lotte-innovate/ui-component-test 0.1.73 → 0.1.75

Sign up to get free protection for your applications and to get access to all the features.
Files changed (983) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +2 -0
  2. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/_virtual/index.js +2 -0
  4. package/dist/_virtual/index2.js +2 -0
  5. package/dist/_virtual/index2.js.map +1 -0
  6. package/dist/_virtual/jsx-runtime.js +2 -0
  7. package/dist/_virtual/jsx-runtime.js.map +1 -0
  8. package/dist/_virtual/jsx-runtime2.js +2 -0
  9. package/dist/_virtual/jsx-runtime2.js.map +1 -0
  10. package/dist/_virtual/react-jsx-runtime.development.js +2 -0
  11. package/dist/_virtual/react-jsx-runtime.development.js.map +1 -0
  12. package/dist/_virtual/react-jsx-runtime.production.min.js +2 -0
  13. package/dist/_virtual/react-jsx-runtime.production.min.js.map +1 -0
  14. package/dist/dist/lib/Typography/Header/index.js +2 -0
  15. package/dist/dist/lib/Typography/Text/index.js +2 -0
  16. package/dist/dist/lib/color/alpha.js +2 -0
  17. package/dist/dist/lib/color/constants.js +2 -0
  18. package/dist/dist/lib/color/light.js +2 -0
  19. package/dist/dist/lib/components/Accordion/index.js +2 -0
  20. package/dist/dist/lib/components/AlertDialog/AlertDialogAction.js +2 -0
  21. package/dist/dist/lib/components/AlertDialog/AlertDialogCancel.js +2 -0
  22. package/dist/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -0
  23. package/dist/dist/lib/components/AlertDialog/AlertDialogDescription.js +2 -0
  24. package/dist/dist/lib/components/AlertDialog/AlertDialogRoot.js +2 -0
  25. package/dist/dist/lib/components/AlertDialog/AlertDialogTitle.js +2 -0
  26. package/dist/dist/lib/components/AlertDialog/AlertDialogTrigger.js +2 -0
  27. package/dist/dist/lib/components/AlertDialog/index.js +2 -0
  28. package/dist/dist/lib/components/AspectRatio/index.js +2 -0
  29. package/dist/dist/lib/components/Avatar/index.js +2 -0
  30. package/dist/dist/lib/components/Badge/index.js +2 -0
  31. package/dist/dist/lib/components/BarChart/index.js +2 -0
  32. package/dist/dist/lib/components/BubbleChart/index.js +2 -0
  33. package/dist/dist/lib/components/Button/index.js +2 -0
  34. package/dist/dist/lib/components/Callout/CalloutIcon.js +2 -0
  35. package/dist/dist/lib/components/Callout/CalloutRoot.js +2 -0
  36. package/dist/dist/lib/components/Callout/CalloutText.js +2 -0
  37. package/dist/dist/lib/components/Callout/index.js +2 -0
  38. package/dist/dist/lib/components/Card/index.js +2 -0
  39. package/dist/dist/lib/components/Checkbox/index.js +2 -0
  40. package/dist/dist/lib/components/CheckboxCard/index.js +2 -0
  41. package/dist/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +2 -0
  42. package/dist/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +2 -0
  43. package/dist/dist/lib/components/CheckboxGroup/index.js +2 -0
  44. package/dist/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -0
  45. package/dist/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -0
  46. package/dist/dist/lib/components/ContextMenu/ContextMenuGroup.js +2 -0
  47. package/dist/dist/lib/components/ContextMenu/ContextMenuItem.js +2 -0
  48. package/dist/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +2 -0
  49. package/dist/dist/lib/components/ContextMenu/ContextMenuLabel.js +2 -0
  50. package/dist/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +2 -0
  51. package/dist/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -0
  52. package/dist/dist/lib/components/ContextMenu/ContextMenuRoot.js +2 -0
  53. package/dist/dist/lib/components/ContextMenu/ContextMenuSeparator.js +2 -0
  54. package/dist/dist/lib/components/ContextMenu/ContextMenuSubContent.js +2 -0
  55. package/dist/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +2 -0
  56. package/dist/dist/lib/components/ContextMenu/ContextMenuTrigger.js +2 -0
  57. package/dist/dist/lib/components/ContextMenu/index.js +2 -0
  58. package/dist/dist/lib/components/DataList/DataListItem.js +2 -0
  59. package/dist/dist/lib/components/DataList/DataListLabel.js +2 -0
  60. package/dist/dist/lib/components/DataList/DataListRoot.js +2 -0
  61. package/dist/dist/lib/components/DataList/DataListValue.js +2 -0
  62. package/dist/dist/lib/components/DataList/index.js +2 -0
  63. package/dist/dist/lib/components/Dialog/DialogAction.js +2 -0
  64. package/dist/dist/lib/components/Dialog/DialogCancel.js +2 -0
  65. package/dist/dist/lib/components/Dialog/DialogContent.js +2 -0
  66. package/dist/dist/lib/components/Dialog/DialogDescription.js +2 -0
  67. package/dist/dist/lib/components/Dialog/DialogRoot.js +2 -0
  68. package/dist/dist/lib/components/Dialog/DialogSlot.js +2 -0
  69. package/dist/dist/lib/components/Dialog/DialogTitle.js +2 -0
  70. package/dist/dist/lib/components/Dialog/DialogTrigger.js +2 -0
  71. package/dist/dist/lib/components/Dialog/index.js +2 -0
  72. package/dist/dist/lib/components/DoughnutChart/index.js +2 -0
  73. package/dist/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +2 -0
  74. package/dist/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +2 -0
  75. package/dist/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -0
  76. package/dist/dist/lib/components/DropdownMenu/DropdownMenuContent.js +2 -0
  77. package/dist/dist/lib/components/DropdownMenu/DropdownMenuItem.js +2 -0
  78. package/dist/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -0
  79. package/dist/dist/lib/components/DropdownMenu/DropdownMenuLable.js +2 -0
  80. package/dist/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -0
  81. package/dist/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +2 -0
  82. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +2 -0
  83. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSub.js +2 -0
  84. package/dist/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +2 -0
  85. package/dist/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +2 -0
  86. package/dist/dist/lib/components/DropdownMenu/index.js +2 -0
  87. package/dist/dist/lib/components/HoverCard/HoverCardContent.js +2 -0
  88. package/dist/dist/lib/components/HoverCard/HoverCardRoot.js +2 -0
  89. package/dist/dist/lib/components/HoverCard/HoverCardTrigger.js +2 -0
  90. package/dist/dist/lib/components/HoverCard/index.js +2 -0
  91. package/dist/dist/lib/components/IconButton/index.js +2 -0
  92. package/dist/dist/lib/components/Inset/index.js +2 -0
  93. package/dist/dist/lib/components/Label/index.js +2 -0
  94. package/dist/dist/lib/components/LineChart/index.js +2 -0
  95. package/dist/dist/lib/components/Menubar/MenubarCheckboxItem.js +2 -0
  96. package/dist/dist/lib/components/Menubar/MenubarContent.js +2 -0
  97. package/dist/dist/lib/components/Menubar/MenubarItem.js +2 -0
  98. package/dist/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -0
  99. package/dist/dist/lib/components/Menubar/MenubarMenu.js +2 -0
  100. package/dist/dist/lib/components/Menubar/MenubarRadioGroup.js +2 -0
  101. package/dist/dist/lib/components/Menubar/MenubarRadioItem.js +2 -0
  102. package/dist/dist/lib/components/Menubar/MenubarRoot.js +2 -0
  103. package/dist/dist/lib/components/Menubar/MenubarSeparator.js +2 -0
  104. package/dist/dist/lib/components/Menubar/MenubarSub.js +2 -0
  105. package/dist/dist/lib/components/Menubar/MenubarSubContent.js +2 -0
  106. package/dist/dist/lib/components/Menubar/MenubarSubTrigger.js +2 -0
  107. package/dist/dist/lib/components/Menubar/MenubarTrigger.js +2 -0
  108. package/dist/dist/lib/components/Menubar/index.js +2 -0
  109. package/dist/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -0
  110. package/dist/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +2 -0
  111. package/dist/dist/lib/components/NavigationMenu/NavigationMenuItem.js +2 -0
  112. package/dist/dist/lib/components/NavigationMenu/NavigationMenuLink.js +2 -0
  113. package/dist/dist/lib/components/NavigationMenu/NavigationMenuList.js +2 -0
  114. package/dist/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +2 -0
  115. package/dist/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +2 -0
  116. package/dist/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -0
  117. package/dist/dist/lib/components/NavigationMenu/index.js +2 -0
  118. package/dist/dist/lib/components/PieChart/index.js +2 -0
  119. package/dist/dist/lib/components/Popover/PopoverClose.js +2 -0
  120. package/dist/dist/lib/components/Popover/PopoverContent.js +2 -0
  121. package/dist/dist/lib/components/Popover/PopoverRoot.js +2 -0
  122. package/dist/dist/lib/components/Popover/PopoverTrigger.js +2 -0
  123. package/dist/dist/lib/components/Popover/index.js +2 -0
  124. package/dist/dist/lib/components/Progress/index.js +2 -0
  125. package/dist/dist/lib/components/RadarChart/index.js +2 -0
  126. package/dist/dist/lib/components/Radio/index.js +2 -0
  127. package/dist/dist/lib/components/RadioCards/RadioCardsItem.js +2 -0
  128. package/dist/dist/lib/components/RadioCards/RadioCardsRoot.js +2 -0
  129. package/dist/dist/lib/components/RadioCards/index.js +2 -0
  130. package/dist/dist/lib/components/RadioGroup/RadioGroupItem.js +2 -0
  131. package/dist/dist/lib/components/RadioGroup/RadioGroupRoot.js +2 -0
  132. package/dist/dist/lib/components/RadioGroup/index.js +2 -0
  133. package/dist/dist/lib/components/ScrollArea/index.js +2 -0
  134. package/dist/dist/lib/components/SegmentedControl/SegmentedControlItem.js +2 -0
  135. package/dist/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +2 -0
  136. package/dist/dist/lib/components/SegmentedControl/index.js +2 -0
  137. package/dist/dist/lib/components/Select/index.js +2 -0
  138. package/dist/dist/lib/components/Separator/index.js +2 -0
  139. package/dist/dist/lib/components/Skeleton/index.js +2 -0
  140. package/dist/dist/lib/components/Slider/index.js +2 -0
  141. package/dist/dist/lib/components/Spinner/index.js +2 -0
  142. package/dist/dist/lib/components/TabNav/index.js +2 -0
  143. package/dist/dist/lib/components/Table/index.js +2 -0
  144. package/dist/dist/lib/components/Tabs/index.js +2 -0
  145. package/dist/dist/lib/components/TextArea/index.js +2 -0
  146. package/dist/dist/lib/components/TextField/index.js +2 -0
  147. package/dist/dist/lib/components/Toast/ToastActionButton.js +2 -0
  148. package/dist/dist/lib/components/Toast/ToastDescription.js +2 -0
  149. package/dist/dist/lib/components/Toast/ToastRoot.js +2 -0
  150. package/dist/dist/lib/components/Toast/ToastTitle.js +2 -0
  151. package/dist/dist/lib/components/Toast/index.js +2 -0
  152. package/dist/dist/lib/components/Toggle/ToggleWithText.js +2 -0
  153. package/dist/dist/lib/components/Toggle/index.js +2 -0
  154. package/dist/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -0
  155. package/dist/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +2 -0
  156. package/dist/dist/lib/components/ToggleGroup/index.js +2 -0
  157. package/dist/dist/lib/components/ToggleSwitch/index.js +2 -0
  158. package/dist/dist/lib/components/Tooltip/index.js +2 -0
  159. package/dist/dist/lib/constants.js +2 -0
  160. package/dist/dist/lib/index.js +2 -0
  161. package/dist/dist/lib/index.js.map +1 -0
  162. package/dist/dist/lib/utils/useDarkMode.js +2 -0
  163. package/dist/dist/lib/utils/utils.js +2 -0
  164. package/dist/lib/Typography/Header/index.d.ts +13 -0
  165. package/dist/lib/Typography/Header/index.js +55 -2
  166. package/dist/lib/Typography/Text/index.d.ts +15 -0
  167. package/dist/lib/Typography/Text/index.js +44 -2
  168. package/dist/lib/Typography/index.d.ts +2 -0
  169. package/dist/lib/Typography/index.js +2 -0
  170. package/dist/lib/color/alpha.d.ts +784 -0
  171. package/dist/lib/color/alpha.js +784 -2
  172. package/dist/lib/color/constants.d.ts +29 -0
  173. package/dist/lib/color/constants.js +296 -2
  174. package/dist/lib/color/dark.d.ts +392 -0
  175. package/dist/lib/color/dark.js +392 -0
  176. package/dist/lib/color/krdsColors.d.ts +309 -0
  177. package/dist/lib/color/krdsColors.js +309 -0
  178. package/dist/lib/color/light.d.ts +392 -0
  179. package/dist/lib/color/light.js +393 -2
  180. package/dist/lib/components/Accordion/index.d.ts +22 -0
  181. package/dist/lib/components/Accordion/index.js +64 -2
  182. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
  183. package/dist/lib/components/AlertDialog/AlertDialogAction.js +61 -2
  184. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
  185. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +60 -2
  186. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
  187. package/dist/lib/components/AlertDialog/AlertDialogContent.js +51 -2
  188. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
  189. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +47 -2
  190. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
  191. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +46 -2
  192. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
  193. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +47 -2
  194. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
  195. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +55 -2
  196. package/dist/lib/components/AlertDialog/index.d.ts +10 -0
  197. package/dist/lib/components/AlertDialog/index.js +17 -2
  198. package/dist/lib/components/AspectRatio/index.d.ts +10 -0
  199. package/dist/lib/components/AspectRatio/index.js +42 -2
  200. package/dist/lib/components/Avatar/index.d.ts +21 -0
  201. package/dist/lib/components/Avatar/index.js +58 -2
  202. package/dist/lib/components/Badge/index.d.ts +18 -0
  203. package/dist/lib/components/Badge/index.js +54 -2
  204. package/dist/lib/components/BarChart/index.d.ts +37 -0
  205. package/dist/lib/components/BarChart/index.js +63 -2
  206. package/dist/lib/components/BubbleChart/index.d.ts +28 -0
  207. package/dist/lib/components/BubbleChart/index.js +73 -2
  208. package/dist/lib/components/Button/index.d.ts +16 -0
  209. package/dist/lib/components/Button/index.js +56 -2
  210. package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
  211. package/dist/lib/components/Callout/CalloutIcon.js +57 -2
  212. package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
  213. package/dist/lib/components/Callout/CalloutRoot.js +72 -2
  214. package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
  215. package/dist/lib/components/Callout/CalloutText.js +52 -2
  216. package/dist/lib/components/Callout/index.d.ts +6 -0
  217. package/dist/lib/components/Callout/index.js +9 -2
  218. package/dist/lib/components/Card/index.d.ts +14 -0
  219. package/dist/lib/components/Card/index.js +64 -2
  220. package/dist/lib/components/Checkbox/index.d.ts +17 -0
  221. package/dist/lib/components/Checkbox/index.js +89 -2
  222. package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
  223. package/dist/lib/components/CheckboxCard/index.js +58 -2
  224. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
  225. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +33 -2
  226. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
  227. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +34 -2
  228. package/dist/lib/components/CheckboxGroup/index.d.ts +5 -0
  229. package/dist/lib/components/CheckboxGroup/index.js +4 -2
  230. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
  231. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +42 -2
  232. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
  233. package/dist/lib/components/ContextMenu/ContextMenuContent.js +56 -2
  234. package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
  235. package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -2
  236. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
  237. package/dist/lib/components/ContextMenu/ContextMenuItem.js +59 -2
  238. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
  239. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +50 -2
  240. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
  241. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +48 -2
  242. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
  243. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +31 -2
  244. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
  245. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +44 -2
  246. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
  247. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +42 -2
  248. package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
  249. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -2
  250. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
  251. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +54 -2
  252. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
  253. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +40 -2
  254. package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
  255. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -2
  256. package/dist/lib/components/ContextMenu/index.d.ts +16 -0
  257. package/dist/lib/components/ContextMenu/index.js +29 -2
  258. package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
  259. package/dist/lib/components/DataList/DataListItem.js +43 -2
  260. package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
  261. package/dist/lib/components/DataList/DataListLabel.js +49 -2
  262. package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
  263. package/dist/lib/components/DataList/DataListRoot.js +54 -2
  264. package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
  265. package/dist/lib/components/DataList/DataListValue.js +51 -2
  266. package/dist/lib/components/DataList/index.d.ts +7 -0
  267. package/dist/lib/components/DataList/index.js +6 -2
  268. package/dist/lib/components/Dialog/DialogAction.d.ts +13 -0
  269. package/dist/lib/components/Dialog/DialogAction.js +59 -2
  270. package/dist/lib/components/Dialog/DialogCancel.d.ts +11 -0
  271. package/dist/lib/components/Dialog/DialogCancel.js +55 -2
  272. package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
  273. package/dist/lib/components/Dialog/DialogContent.js +57 -2
  274. package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
  275. package/dist/lib/components/Dialog/DialogDescription.js +47 -2
  276. package/dist/lib/components/Dialog/DialogRoot.d.ts +15 -0
  277. package/dist/lib/components/Dialog/DialogRoot.js +37 -2
  278. package/dist/lib/components/Dialog/DialogSlot.d.ts +9 -0
  279. package/dist/lib/components/Dialog/DialogSlot.js +46 -2
  280. package/dist/lib/components/Dialog/DialogTitle.d.ts +11 -0
  281. package/dist/lib/components/Dialog/DialogTitle.js +47 -2
  282. package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
  283. package/dist/lib/components/Dialog/DialogTrigger.js +30 -2
  284. package/dist/lib/components/Dialog/index.d.ts +14 -0
  285. package/dist/lib/components/Dialog/index.js +19 -2
  286. package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
  287. package/dist/lib/components/DoughnutChart/index.js +65 -2
  288. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
  289. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -2
  290. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
  291. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +60 -2
  292. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
  293. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +41 -2
  294. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
  295. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +56 -2
  296. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
  297. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +58 -2
  298. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
  299. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +48 -2
  300. package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
  301. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +45 -2
  302. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
  303. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +41 -2
  304. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
  305. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +38 -2
  306. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
  307. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -2
  308. package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
  309. package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -2
  310. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
  311. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +40 -2
  312. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
  313. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +53 -2
  314. package/dist/lib/components/DropdownMenu/index.d.ts +19 -0
  315. package/dist/lib/components/DropdownMenu/index.js +29 -2
  316. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +14 -0
  317. package/dist/lib/components/HoverCard/HoverCardContent.js +61 -2
  318. package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
  319. package/dist/lib/components/HoverCard/HoverCardRoot.js +38 -2
  320. package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
  321. package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -2
  322. package/dist/lib/components/HoverCard/index.d.ts +9 -0
  323. package/dist/lib/components/HoverCard/index.js +9 -2
  324. package/dist/lib/components/IconButton/index.d.ts +15 -0
  325. package/dist/lib/components/IconButton/index.js +63 -2
  326. package/dist/lib/components/Inset/index.d.ts +10 -0
  327. package/dist/lib/components/Inset/index.js +50 -2
  328. package/dist/lib/components/Label/index.d.ts +17 -0
  329. package/dist/lib/components/Label/index.js +53 -2
  330. package/dist/lib/components/LineChart/index.d.ts +43 -0
  331. package/dist/lib/components/LineChart/index.js +61 -2
  332. package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
  333. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +38 -2
  334. package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
  335. package/dist/lib/components/Menubar/MenubarContent.js +60 -2
  336. package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
  337. package/dist/lib/components/Menubar/MenubarItem.js +54 -2
  338. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
  339. package/dist/lib/components/Menubar/MenubarItemIndicator.js +49 -2
  340. package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
  341. package/dist/lib/components/Menubar/MenubarMenu.js +30 -2
  342. package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
  343. package/dist/lib/components/Menubar/MenubarRadioGroup.js +31 -2
  344. package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
  345. package/dist/lib/components/Menubar/MenubarRadioItem.js +40 -2
  346. package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
  347. package/dist/lib/components/Menubar/MenubarRoot.js +61 -2
  348. package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
  349. package/dist/lib/components/Menubar/MenubarSeparator.js +31 -2
  350. package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
  351. package/dist/lib/components/Menubar/MenubarSub.js +30 -2
  352. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
  353. package/dist/lib/components/Menubar/MenubarSubContent.js +51 -2
  354. package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
  355. package/dist/lib/components/Menubar/MenubarSubTrigger.js +41 -2
  356. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
  357. package/dist/lib/components/Menubar/MenubarTrigger.js +57 -2
  358. package/dist/lib/components/Menubar/index.d.ts +18 -0
  359. package/dist/lib/components/Menubar/index.js +29 -2
  360. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
  361. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +48 -2
  362. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
  363. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -2
  364. package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
  365. package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -2
  366. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
  367. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +51 -2
  368. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
  369. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +47 -2
  370. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
  371. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +43 -2
  372. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
  373. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +58 -2
  374. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
  375. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +53 -2
  376. package/dist/lib/components/NavigationMenu/index.d.ts +11 -0
  377. package/dist/lib/components/NavigationMenu/index.js +10 -2
  378. package/dist/lib/components/PieChart/index.d.ts +22 -0
  379. package/dist/lib/components/PieChart/index.js +65 -2
  380. package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
  381. package/dist/lib/components/Popover/PopoverClose.js +48 -2
  382. package/dist/lib/components/Popover/PopoverContent.d.ts +11 -0
  383. package/dist/lib/components/Popover/PopoverContent.js +65 -2
  384. package/dist/lib/components/Popover/PopoverRoot.d.ts +12 -0
  385. package/dist/lib/components/Popover/PopoverRoot.js +36 -2
  386. package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
  387. package/dist/lib/components/Popover/PopoverTrigger.js +30 -2
  388. package/dist/lib/components/Popover/index.d.ts +10 -0
  389. package/dist/lib/components/Popover/index.js +11 -2
  390. package/dist/lib/components/Progress/index.d.ts +13 -0
  391. package/dist/lib/components/Progress/index.js +56 -2
  392. package/dist/lib/components/RadarChart/index.d.ts +32 -0
  393. package/dist/lib/components/RadarChart/index.js +76 -2
  394. package/dist/lib/components/Radio/index.d.ts +13 -0
  395. package/dist/lib/components/Radio/index.js +53 -2
  396. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
  397. package/dist/lib/components/RadioCards/RadioCardsItem.js +54 -2
  398. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
  399. package/dist/lib/components/RadioCards/RadioCardsRoot.js +46 -2
  400. package/dist/lib/components/RadioCards/index.d.ts +5 -0
  401. package/dist/lib/components/RadioCards/index.js +7 -2
  402. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +13 -0
  403. package/dist/lib/components/RadioGroup/RadioGroupItem.js +46 -2
  404. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
  405. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +53 -2
  406. package/dist/lib/components/RadioGroup/index.d.ts +5 -0
  407. package/dist/lib/components/RadioGroup/index.js +7 -2
  408. package/dist/lib/components/ScrollArea/index.d.ts +9 -0
  409. package/dist/lib/components/ScrollArea/index.js +36 -2
  410. package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
  411. package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -2
  412. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
  413. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +47 -2
  414. package/dist/lib/components/SegmentedControl/index.d.ts +5 -0
  415. package/dist/lib/components/SegmentedControl/index.js +7 -2
  416. package/dist/lib/components/Select/index.d.ts +34 -0
  417. package/dist/lib/components/Select/index.js +92 -2
  418. package/dist/lib/components/Separator/index.d.ts +11 -0
  419. package/dist/lib/components/Separator/index.js +47 -2
  420. package/dist/lib/components/Skeleton/index.d.ts +14 -0
  421. package/dist/lib/components/Skeleton/index.js +42 -2
  422. package/dist/lib/components/Slider/index.d.ts +14 -0
  423. package/dist/lib/components/Slider/index.js +49 -2
  424. package/dist/lib/components/Spinner/index.d.ts +15 -0
  425. package/dist/lib/components/Spinner/index.js +47 -2
  426. package/dist/lib/components/TabNav/index.d.ts +15 -0
  427. package/dist/lib/components/TabNav/index.js +50 -2
  428. package/dist/lib/components/Table/index.d.ts +30 -0
  429. package/dist/lib/components/Table/index.js +98 -2
  430. package/dist/lib/components/Tabs/index.d.ts +22 -0
  431. package/dist/lib/components/Tabs/index.js +65 -2
  432. package/dist/lib/components/TextArea/index.d.ts +16 -0
  433. package/dist/lib/components/TextArea/index.js +58 -2
  434. package/dist/lib/components/TextField/index.d.ts +21 -0
  435. package/dist/lib/components/TextField/index.js +56 -2
  436. package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
  437. package/dist/lib/components/Toast/ToastActionButton.js +67 -2
  438. package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
  439. package/dist/lib/components/Toast/ToastDescription.js +53 -2
  440. package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
  441. package/dist/lib/components/Toast/ToastRoot.js +90 -2
  442. package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
  443. package/dist/lib/components/Toast/ToastTitle.js +53 -2
  444. package/dist/lib/components/Toast/index.d.ts +7 -0
  445. package/dist/lib/components/Toast/index.js +11 -2
  446. package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
  447. package/dist/lib/components/Toggle/ToggleWithText.js +58 -2
  448. package/dist/lib/components/Toggle/index.d.ts +21 -0
  449. package/dist/lib/components/Toggle/index.js +58 -2
  450. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
  451. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +54 -2
  452. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
  453. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +48 -2
  454. package/dist/lib/components/ToggleGroup/index.d.ts +5 -0
  455. package/dist/lib/components/ToggleGroup/index.js +7 -2
  456. package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
  457. package/dist/lib/components/ToggleSwitch/index.js +71 -2
  458. package/dist/lib/components/Tooltip/index.d.ts +19 -0
  459. package/dist/lib/components/Tooltip/index.js +49 -2
  460. package/dist/lib/components/index.d.ts +50 -0
  461. package/dist/lib/components/index.js +52 -0
  462. package/dist/lib/constants.d.ts +655 -0
  463. package/dist/lib/constants.js +914 -2
  464. package/dist/lib/index.d.ts +2 -0
  465. package/dist/lib/index.js +2 -2
  466. package/dist/lib/types.d.ts +81 -0
  467. package/dist/lib/types.js +1 -0
  468. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  469. package/dist/lib/utils/useDarkMode.js +49 -2
  470. package/dist/lib/utils/utils.d.ts +2 -0
  471. package/dist/lib/utils/utils.js +10 -2
  472. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +2 -0
  473. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js.map +1 -0
  474. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +2 -0
  475. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js.map +1 -0
  476. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js +2 -0
  477. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js.map +1 -0
  478. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +2 -0
  479. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js.map +1 -0
  480. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +2 -0
  481. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js.map +1 -0
  482. package/dist/node_modules/@kurkle/color/dist/color.esm.js +8 -0
  483. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  484. package/dist/node_modules/@radix-ui/number/dist/index.mjs.js +2 -0
  485. package/dist/node_modules/@radix-ui/number/dist/index.mjs.js.map +1 -0
  486. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js +2 -0
  487. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +1 -0
  488. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js +2 -0
  489. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js.map +1 -0
  490. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs.js +2 -0
  491. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs.js.map +1 -0
  492. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.js +2 -0
  493. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.js.map +1 -0
  494. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs.js +2 -0
  495. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs.js.map +1 -0
  496. package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.js +2 -0
  497. package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.js.map +1 -0
  498. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js +2 -0
  499. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.js.map +1 -0
  500. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js +2 -0
  501. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js.map +1 -0
  502. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js +2 -0
  503. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js.map +1 -0
  504. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +2 -0
  505. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +1 -0
  506. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js +2 -0
  507. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -0
  508. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs.js +2 -0
  509. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs.js.map +1 -0
  510. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js +2 -0
  511. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js.map +1 -0
  512. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js +2 -0
  513. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +1 -0
  514. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +2 -0
  515. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -0
  516. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js +2 -0
  517. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.js.map +1 -0
  518. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js +2 -0
  519. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js.map +1 -0
  520. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js +2 -0
  521. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js.map +1 -0
  522. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js +2 -0
  523. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.js.map +1 -0
  524. package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +2 -0
  525. package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -0
  526. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js +2 -0
  527. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js.map +1 -0
  528. package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.js +2 -0
  529. package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.js.map +1 -0
  530. package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.js +2 -0
  531. package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.js.map +1 -0
  532. package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs.js +2 -0
  533. package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs.js.map +1 -0
  534. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js +2 -0
  535. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.js.map +1 -0
  536. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js +2 -0
  537. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -0
  538. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js +2 -0
  539. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js.map +1 -0
  540. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js +2 -0
  541. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +1 -0
  542. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +2 -0
  543. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -0
  544. package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.js +2 -0
  545. package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.js.map +1 -0
  546. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js +2 -0
  547. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.js.map +1 -0
  548. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js +2 -0
  549. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.js.map +1 -0
  550. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.js +2 -0
  551. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.js.map +1 -0
  552. package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.js +2 -0
  553. package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.js.map +1 -0
  554. package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs.js +2 -0
  555. package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs.js.map +1 -0
  556. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.js +2 -0
  557. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -0
  558. package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.js +2 -0
  559. package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.js.map +1 -0
  560. package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.js +2 -0
  561. package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.js.map +1 -0
  562. package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs.js +2 -0
  563. package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs.js.map +1 -0
  564. package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.js +2 -0
  565. package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.js.map +1 -0
  566. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js +2 -0
  567. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.js.map +1 -0
  568. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js +2 -0
  569. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js.map +1 -0
  570. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +2 -0
  571. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +1 -0
  572. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js +2 -0
  573. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js.map +1 -0
  574. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js +2 -0
  575. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js.map +1 -0
  576. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +2 -0
  577. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +1 -0
  578. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js +2 -0
  579. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.js.map +1 -0
  580. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js +2 -0
  581. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js.map +1 -0
  582. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js +2 -0
  583. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js.map +1 -0
  584. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.js +2 -0
  585. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.js.map +1 -0
  586. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.js +2 -0
  587. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.js.map +1 -0
  588. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.js +2 -0
  589. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.js.map +1 -0
  590. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.js +2 -0
  591. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.js.map +1 -0
  592. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.js +2 -0
  593. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.js.map +1 -0
  594. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.js +2 -0
  595. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.js.map +1 -0
  596. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.js +2 -0
  597. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.js.map +1 -0
  598. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.js +2 -0
  599. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.js.map +1 -0
  600. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.js +2 -0
  601. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.js.map +1 -0
  602. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.js +2 -0
  603. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.js.map +1 -0
  604. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.js +2 -0
  605. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.js.map +1 -0
  606. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.js +2 -0
  607. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.js.map +1 -0
  608. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.js +2 -0
  609. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.js.map +1 -0
  610. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.js +2 -0
  611. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.js.map +1 -0
  612. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.js +2 -0
  613. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.js.map +1 -0
  614. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.js +2 -0
  615. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.js.map +1 -0
  616. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.js +2 -0
  617. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.js.map +1 -0
  618. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.js +2 -0
  619. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.js.map +1 -0
  620. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.js +2 -0
  621. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.js.map +1 -0
  622. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.js +2 -0
  623. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.js.map +1 -0
  624. package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.js +2 -0
  625. package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.js.map +1 -0
  626. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.js +2 -0
  627. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.js.map +1 -0
  628. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.js +2 -0
  629. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.js.map +1 -0
  630. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.js +2 -0
  631. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.js.map +1 -0
  632. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.js +2 -0
  633. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.js.map +1 -0
  634. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.js +2 -0
  635. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.js.map +1 -0
  636. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.js +2 -0
  637. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.js.map +1 -0
  638. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.js +2 -0
  639. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.js.map +1 -0
  640. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.js +2 -0
  641. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.js.map +1 -0
  642. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.js +2 -0
  643. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.js.map +1 -0
  644. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.js +2 -0
  645. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.js.map +1 -0
  646. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.js +2 -0
  647. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.js.map +1 -0
  648. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.js +2 -0
  649. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.js.map +1 -0
  650. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js +2 -0
  651. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js.map +1 -0
  652. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.js +2 -0
  653. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.js.map +1 -0
  654. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.js +2 -0
  655. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.js.map +1 -0
  656. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.js +2 -0
  657. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.js.map +1 -0
  658. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.js +2 -0
  659. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.js.map +1 -0
  660. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.js +2 -0
  661. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.js.map +1 -0
  662. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.js +2 -0
  663. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.js.map +1 -0
  664. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.js +2 -0
  665. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.js.map +1 -0
  666. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.js +2 -0
  667. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.js.map +1 -0
  668. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.js +2 -0
  669. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.js.map +1 -0
  670. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.js +2 -0
  671. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.js.map +1 -0
  672. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.js +2 -0
  673. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.js.map +1 -0
  674. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.js +2 -0
  675. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.js.map +1 -0
  676. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.js +2 -0
  677. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.js.map +1 -0
  678. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.js +2 -0
  679. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.js.map +1 -0
  680. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.js +2 -0
  681. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.js.map +1 -0
  682. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.js +2 -0
  683. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.js.map +1 -0
  684. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.js +2 -0
  685. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.js.map +1 -0
  686. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.js +2 -0
  687. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.js.map +1 -0
  688. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.js +2 -0
  689. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.js.map +1 -0
  690. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.js +2 -0
  691. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.js.map +1 -0
  692. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.js +2 -0
  693. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.js.map +1 -0
  694. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js +2 -0
  695. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js.map +1 -0
  696. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.js +2 -0
  697. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.js.map +1 -0
  698. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.js +2 -0
  699. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.js.map +1 -0
  700. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.js +2 -0
  701. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.js.map +1 -0
  702. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js +2 -0
  703. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js.map +1 -0
  704. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js +2 -0
  705. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js.map +1 -0
  706. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.js +2 -0
  707. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.js.map +1 -0
  708. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js +2 -0
  709. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js.map +1 -0
  710. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.js +2 -0
  711. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.js.map +1 -0
  712. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js +2 -0
  713. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js.map +1 -0
  714. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.js +2 -0
  715. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.js.map +1 -0
  716. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js +2 -0
  717. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js.map +1 -0
  718. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.js +2 -0
  719. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.js.map +1 -0
  720. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js +2 -0
  721. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js.map +1 -0
  722. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js +2 -0
  723. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js.map +1 -0
  724. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js +2 -0
  725. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js.map +1 -0
  726. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.js +2 -0
  727. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.js.map +1 -0
  728. package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js +2 -0
  729. package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js.map +1 -0
  730. package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.js +2 -0
  731. package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.js.map +1 -0
  732. package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.js +2 -0
  733. package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.js.map +1 -0
  734. package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.js +2 -0
  735. package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.js.map +1 -0
  736. package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js +2 -0
  737. package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js.map +1 -0
  738. package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.js +2 -0
  739. package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.js.map +1 -0
  740. package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.js +2 -0
  741. package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.js.map +1 -0
  742. package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.js +2 -0
  743. package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.js.map +1 -0
  744. package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.js +2 -0
  745. package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.js.map +1 -0
  746. package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.js +2 -0
  747. package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.js.map +1 -0
  748. package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js +2 -0
  749. package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js.map +1 -0
  750. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.js +2 -0
  751. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.js.map +1 -0
  752. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.js +2 -0
  753. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.js.map +1 -0
  754. package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.js +2 -0
  755. package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.js.map +1 -0
  756. package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.js +2 -0
  757. package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.js.map +1 -0
  758. package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.js +2 -0
  759. package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.js.map +1 -0
  760. package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.js +2 -0
  761. package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.js.map +1 -0
  762. package/dist/node_modules/aria-hidden/dist/es2015/index.js +2 -0
  763. package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  764. package/dist/node_modules/chart.js/auto/auto.js +2 -0
  765. package/dist/node_modules/chart.js/auto/auto.js.map +1 -0
  766. package/dist/node_modules/chart.js/dist/chart.js +8 -0
  767. package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
  768. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js +8 -0
  769. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.js.map +1 -0
  770. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +8 -0
  771. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  772. package/dist/node_modules/class-variance-authority/dist/index.mjs.js +2 -0
  773. package/dist/node_modules/class-variance-authority/dist/index.mjs.js.map +1 -0
  774. package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.js +2 -0
  775. package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.js.map +1 -0
  776. package/dist/node_modules/classnames/index.js +7 -0
  777. package/dist/node_modules/classnames/index.js.map +1 -0
  778. package/dist/node_modules/clsx/dist/clsx.mjs.js +2 -0
  779. package/dist/node_modules/clsx/dist/clsx.mjs.js.map +1 -0
  780. package/dist/node_modules/get-nonce/dist/es2015/index.js +2 -0
  781. package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  782. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +11 -0
  783. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -0
  784. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
  785. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +1 -0
  786. package/dist/node_modules/react/jsx-runtime.js +2 -0
  787. package/dist/node_modules/react/jsx-runtime.js.map +1 -0
  788. package/dist/node_modules/react-chartjs-2/dist/index.js +2 -0
  789. package/dist/node_modules/react-chartjs-2/dist/index.js.map +1 -0
  790. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +2 -0
  791. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  792. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +2 -0
  793. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  794. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +2 -0
  795. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  796. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +2 -0
  797. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  798. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +2 -0
  799. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  800. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +2 -0
  801. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  802. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +2 -0
  803. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  804. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +2 -0
  805. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  806. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +2 -0
  807. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  808. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +2 -0
  809. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  810. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +2 -0
  811. package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  812. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +2 -0
  813. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  814. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +2 -0
  815. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  816. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.js +2 -0
  817. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.js.map +1 -0
  818. package/dist/node_modules/tslib/tslib.es6.js +2 -0
  819. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  820. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +2 -0
  821. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  822. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +2 -0
  823. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  824. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +2 -0
  825. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  826. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +2 -0
  827. package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  828. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +2 -0
  829. package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  830. package/package.json +2 -13
  831. /package/dist/{lib → _virtual}/index.js.map +0 -0
  832. /package/dist/{lib → dist/lib}/Typography/Header/index.js.map +0 -0
  833. /package/dist/{lib → dist/lib}/Typography/Text/index.js.map +0 -0
  834. /package/dist/{lib → dist/lib}/color/alpha.js.map +0 -0
  835. /package/dist/{lib → dist/lib}/color/constants.js.map +0 -0
  836. /package/dist/{lib → dist/lib}/color/light.js.map +0 -0
  837. /package/dist/{lib → dist/lib}/components/Accordion/index.js.map +0 -0
  838. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogAction.js.map +0 -0
  839. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogCancel.js.map +0 -0
  840. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogContent.js.map +0 -0
  841. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogDescription.js.map +0 -0
  842. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogRoot.js.map +0 -0
  843. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogTitle.js.map +0 -0
  844. /package/dist/{lib → dist/lib}/components/AlertDialog/AlertDialogTrigger.js.map +0 -0
  845. /package/dist/{lib → dist/lib}/components/AlertDialog/index.js.map +0 -0
  846. /package/dist/{lib → dist/lib}/components/AspectRatio/index.js.map +0 -0
  847. /package/dist/{lib → dist/lib}/components/Avatar/index.js.map +0 -0
  848. /package/dist/{lib → dist/lib}/components/Badge/index.js.map +0 -0
  849. /package/dist/{lib → dist/lib}/components/BarChart/index.js.map +0 -0
  850. /package/dist/{lib → dist/lib}/components/BubbleChart/index.js.map +0 -0
  851. /package/dist/{lib → dist/lib}/components/Button/index.js.map +0 -0
  852. /package/dist/{lib → dist/lib}/components/Callout/CalloutIcon.js.map +0 -0
  853. /package/dist/{lib → dist/lib}/components/Callout/CalloutRoot.js.map +0 -0
  854. /package/dist/{lib → dist/lib}/components/Callout/CalloutText.js.map +0 -0
  855. /package/dist/{lib → dist/lib}/components/Callout/index.js.map +0 -0
  856. /package/dist/{lib → dist/lib}/components/Card/index.js.map +0 -0
  857. /package/dist/{lib → dist/lib}/components/Checkbox/index.js.map +0 -0
  858. /package/dist/{lib → dist/lib}/components/CheckboxCard/index.js.map +0 -0
  859. /package/dist/{lib → dist/lib}/components/CheckboxGroup/CheckboxGroupItem.js.map +0 -0
  860. /package/dist/{lib → dist/lib}/components/CheckboxGroup/CheckboxGroupRoot.js.map +0 -0
  861. /package/dist/{lib → dist/lib}/components/CheckboxGroup/index.js.map +0 -0
  862. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuCheckboxItem.js.map +0 -0
  863. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuContent.js.map +0 -0
  864. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuGroup.js.map +0 -0
  865. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuItem.js.map +0 -0
  866. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuItemIndicator.js.map +0 -0
  867. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuLabel.js.map +0 -0
  868. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuRadioGroup.js.map +0 -0
  869. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuRadioItem.js.map +0 -0
  870. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuRoot.js.map +0 -0
  871. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuSeparator.js.map +0 -0
  872. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuSubContent.js.map +0 -0
  873. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuSubTrigger.js.map +0 -0
  874. /package/dist/{lib → dist/lib}/components/ContextMenu/ContextMenuTrigger.js.map +0 -0
  875. /package/dist/{lib → dist/lib}/components/ContextMenu/index.js.map +0 -0
  876. /package/dist/{lib → dist/lib}/components/DataList/DataListItem.js.map +0 -0
  877. /package/dist/{lib → dist/lib}/components/DataList/DataListLabel.js.map +0 -0
  878. /package/dist/{lib → dist/lib}/components/DataList/DataListRoot.js.map +0 -0
  879. /package/dist/{lib → dist/lib}/components/DataList/DataListValue.js.map +0 -0
  880. /package/dist/{lib → dist/lib}/components/DataList/index.js.map +0 -0
  881. /package/dist/{lib → dist/lib}/components/Dialog/DialogAction.js.map +0 -0
  882. /package/dist/{lib → dist/lib}/components/Dialog/DialogCancel.js.map +0 -0
  883. /package/dist/{lib → dist/lib}/components/Dialog/DialogContent.js.map +0 -0
  884. /package/dist/{lib → dist/lib}/components/Dialog/DialogDescription.js.map +0 -0
  885. /package/dist/{lib → dist/lib}/components/Dialog/DialogRoot.js.map +0 -0
  886. /package/dist/{lib → dist/lib}/components/Dialog/DialogSlot.js.map +0 -0
  887. /package/dist/{lib → dist/lib}/components/Dialog/DialogTitle.js.map +0 -0
  888. /package/dist/{lib → dist/lib}/components/Dialog/DialogTrigger.js.map +0 -0
  889. /package/dist/{lib → dist/lib}/components/Dialog/index.js.map +0 -0
  890. /package/dist/{lib → dist/lib}/components/DoughnutChart/index.js.map +0 -0
  891. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdonMenuRadioGroup.js.map +0 -0
  892. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdonMenuSubContent.js.map +0 -0
  893. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuCheckboxItem.js.map +0 -0
  894. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuContent.js.map +0 -0
  895. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuItem.js.map +0 -0
  896. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuItemIndicator.js.map +0 -0
  897. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuLable.js.map +0 -0
  898. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuRadioItem.js.map +0 -0
  899. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuRoot.js.map +0 -0
  900. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuSeparator.js.map +0 -0
  901. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuSub.js.map +0 -0
  902. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuSubTrigger.js.map +0 -0
  903. /package/dist/{lib → dist/lib}/components/DropdownMenu/DropdownMenuTrigger.js.map +0 -0
  904. /package/dist/{lib → dist/lib}/components/DropdownMenu/index.js.map +0 -0
  905. /package/dist/{lib → dist/lib}/components/HoverCard/HoverCardContent.js.map +0 -0
  906. /package/dist/{lib → dist/lib}/components/HoverCard/HoverCardRoot.js.map +0 -0
  907. /package/dist/{lib → dist/lib}/components/HoverCard/HoverCardTrigger.js.map +0 -0
  908. /package/dist/{lib → dist/lib}/components/HoverCard/index.js.map +0 -0
  909. /package/dist/{lib → dist/lib}/components/IconButton/index.js.map +0 -0
  910. /package/dist/{lib → dist/lib}/components/Inset/index.js.map +0 -0
  911. /package/dist/{lib → dist/lib}/components/Label/index.js.map +0 -0
  912. /package/dist/{lib → dist/lib}/components/LineChart/index.js.map +0 -0
  913. /package/dist/{lib → dist/lib}/components/Menubar/MenubarCheckboxItem.js.map +0 -0
  914. /package/dist/{lib → dist/lib}/components/Menubar/MenubarContent.js.map +0 -0
  915. /package/dist/{lib → dist/lib}/components/Menubar/MenubarItem.js.map +0 -0
  916. /package/dist/{lib → dist/lib}/components/Menubar/MenubarItemIndicator.js.map +0 -0
  917. /package/dist/{lib → dist/lib}/components/Menubar/MenubarMenu.js.map +0 -0
  918. /package/dist/{lib → dist/lib}/components/Menubar/MenubarRadioGroup.js.map +0 -0
  919. /package/dist/{lib → dist/lib}/components/Menubar/MenubarRadioItem.js.map +0 -0
  920. /package/dist/{lib → dist/lib}/components/Menubar/MenubarRoot.js.map +0 -0
  921. /package/dist/{lib → dist/lib}/components/Menubar/MenubarSeparator.js.map +0 -0
  922. /package/dist/{lib → dist/lib}/components/Menubar/MenubarSub.js.map +0 -0
  923. /package/dist/{lib → dist/lib}/components/Menubar/MenubarSubContent.js.map +0 -0
  924. /package/dist/{lib → dist/lib}/components/Menubar/MenubarSubTrigger.js.map +0 -0
  925. /package/dist/{lib → dist/lib}/components/Menubar/MenubarTrigger.js.map +0 -0
  926. /package/dist/{lib → dist/lib}/components/Menubar/index.js.map +0 -0
  927. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuContent.js.map +0 -0
  928. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuIndicator.js.map +0 -0
  929. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuItem.js.map +0 -0
  930. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuLink.js.map +0 -0
  931. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuList.js.map +0 -0
  932. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuRoot.js.map +0 -0
  933. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuTrigger.js.map +0 -0
  934. /package/dist/{lib → dist/lib}/components/NavigationMenu/NavigationMenuViewport.js.map +0 -0
  935. /package/dist/{lib → dist/lib}/components/NavigationMenu/index.js.map +0 -0
  936. /package/dist/{lib → dist/lib}/components/PieChart/index.js.map +0 -0
  937. /package/dist/{lib → dist/lib}/components/Popover/PopoverClose.js.map +0 -0
  938. /package/dist/{lib → dist/lib}/components/Popover/PopoverContent.js.map +0 -0
  939. /package/dist/{lib → dist/lib}/components/Popover/PopoverRoot.js.map +0 -0
  940. /package/dist/{lib → dist/lib}/components/Popover/PopoverTrigger.js.map +0 -0
  941. /package/dist/{lib → dist/lib}/components/Popover/index.js.map +0 -0
  942. /package/dist/{lib → dist/lib}/components/Progress/index.js.map +0 -0
  943. /package/dist/{lib → dist/lib}/components/RadarChart/index.js.map +0 -0
  944. /package/dist/{lib → dist/lib}/components/Radio/index.js.map +0 -0
  945. /package/dist/{lib → dist/lib}/components/RadioCards/RadioCardsItem.js.map +0 -0
  946. /package/dist/{lib → dist/lib}/components/RadioCards/RadioCardsRoot.js.map +0 -0
  947. /package/dist/{lib → dist/lib}/components/RadioCards/index.js.map +0 -0
  948. /package/dist/{lib → dist/lib}/components/RadioGroup/RadioGroupItem.js.map +0 -0
  949. /package/dist/{lib → dist/lib}/components/RadioGroup/RadioGroupRoot.js.map +0 -0
  950. /package/dist/{lib → dist/lib}/components/RadioGroup/index.js.map +0 -0
  951. /package/dist/{lib → dist/lib}/components/ScrollArea/index.js.map +0 -0
  952. /package/dist/{lib → dist/lib}/components/SegmentedControl/SegmentedControlItem.js.map +0 -0
  953. /package/dist/{lib → dist/lib}/components/SegmentedControl/SegmentedControlRoot.js.map +0 -0
  954. /package/dist/{lib → dist/lib}/components/SegmentedControl/index.js.map +0 -0
  955. /package/dist/{lib → dist/lib}/components/Select/index.js.map +0 -0
  956. /package/dist/{lib → dist/lib}/components/Separator/index.js.map +0 -0
  957. /package/dist/{lib → dist/lib}/components/Skeleton/index.js.map +0 -0
  958. /package/dist/{lib → dist/lib}/components/Slider/index.js.map +0 -0
  959. /package/dist/{lib → dist/lib}/components/Spinner/index.js.map +0 -0
  960. /package/dist/{lib → dist/lib}/components/TabNav/index.js.map +0 -0
  961. /package/dist/{lib → dist/lib}/components/Table/index.js.map +0 -0
  962. /package/dist/{lib → dist/lib}/components/Tabs/index.js.map +0 -0
  963. /package/dist/{lib → dist/lib}/components/TextArea/index.js.map +0 -0
  964. /package/dist/{lib → dist/lib}/components/TextField/index.js.map +0 -0
  965. /package/dist/{lib → dist/lib}/components/Toast/ToastActionButton.js.map +0 -0
  966. /package/dist/{lib → dist/lib}/components/Toast/ToastDescription.js.map +0 -0
  967. /package/dist/{lib → dist/lib}/components/Toast/ToastRoot.js.map +0 -0
  968. /package/dist/{lib → dist/lib}/components/Toast/ToastTitle.js.map +0 -0
  969. /package/dist/{lib → dist/lib}/components/Toast/index.js.map +0 -0
  970. /package/dist/{lib → dist/lib}/components/Toggle/ToggleWithText.js.map +0 -0
  971. /package/dist/{lib → dist/lib}/components/Toggle/index.js.map +0 -0
  972. /package/dist/{lib → dist/lib}/components/ToggleGroup/ToggleGroupItem.js.map +0 -0
  973. /package/dist/{lib → dist/lib}/components/ToggleGroup/ToggleGroupRoot.js.map +0 -0
  974. /package/dist/{lib → dist/lib}/components/ToggleGroup/index.js.map +0 -0
  975. /package/dist/{lib → dist/lib}/components/ToggleSwitch/index.js.map +0 -0
  976. /package/dist/{lib → dist/lib}/components/Tooltip/index.js.map +0 -0
  977. /package/dist/{lib → dist/lib}/constants.js.map +0 -0
  978. /package/dist/{lib → dist/lib}/utils/useDarkMode.js.map +0 -0
  979. /package/dist/{lib → dist/lib}/utils/utils.js.map +0 -0
  980. /package/dist/{lib/globals.css → globals.css} +0 -0
  981. /package/dist/{lib/tailwind.config.d.ts → tailwind.config.d.ts} +0 -0
  982. /package/dist/{lib/tailwind.config.js → tailwind.config.js} +0 -0
  983. /package/dist/{lib/tsconfig.tsbuildinfo → tsconfig.tsbuildinfo} +0 -0
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export * from './Typography';
package/dist/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{default as Accordion}from"./components/Accordion/index.js";export{default as AlertDialog}from"./components/AlertDialog/index.js";export{default as AspectRatio}from"./components/AspectRatio/index.js";export{default as Avatar}from"./components/Avatar/index.js";export{default as Badge}from"./components/Badge/index.js";export{Button}from"./components/Button/index.js";export{default as Callout}from"./components/Callout/index.js";export{default as Card}from"./components/Card/index.js";export{Checkbox}from"./components/Checkbox/index.js";export{default as CheckboxCard}from"./components/CheckboxCard/index.js";export{default as CheckboxGroup}from"./components/CheckboxGroup/index.js";export{default as ContextMenu}from"./components/ContextMenu/index.js";export{default as DataList}from"./components/DataList/index.js";export{default as Dialog}from"./components/Dialog/index.js";export{default as DropdownMenu}from"./components/DropdownMenu/index.js";export{default as HoverCard}from"./components/HoverCard/index.js";export{IconButton}from"./components/IconButton/index.js";export{Inset}from"./components/Inset/index.js";export{Label}from"./components/Label/index.js";export{default as Menubar}from"./components/Menubar/index.js";export{default as NavigationMenu}from"./components/NavigationMenu/index.js";export{default as Popover}from"./components/Popover/index.js";export{Progress}from"./components/Progress/index.js";export{Radio}from"./components/Radio/index.js";export{default as RadioCards}from"./components/RadioCards/index.js";export{default as RadioGroup}from"./components/RadioGroup/index.js";export{ScrollArea}from"./components/ScrollArea/index.js";export{default as SegmentedControl}from"./components/SegmentedControl/index.js";export{default as Select}from"./components/Select/index.js";export{Separator}from"./components/Separator/index.js";export{Skeleton}from"./components/Skeleton/index.js";export{Slider}from"./components/Slider/index.js";export{Spinner}from"./components/Spinner/index.js";export{default as Table}from"./components/Table/index.js";export{default as TabNav}from"./components/TabNav/index.js";export{default as Tabs}from"./components/Tabs/index.js";export{TextArea}from"./components/TextArea/index.js";export{default as TextField}from"./components/TextField/index.js";export{default as Toast}from"./components/Toast/index.js";export{Toggle}from"./components/Toggle/index.js";export{ToggleWithText}from"./components/Toggle/ToggleWithText.js";export{default as ToggleGroup}from"./components/ToggleGroup/index.js";export{ToggleSwitch}from"./components/ToggleSwitch/index.js";export{default as Tooltip}from"./components/Tooltip/index.js";export{default as BarChart}from"./components/BarChart/index.js";export{BubbleChart}from"./components/BubbleChart/index.js";export{RadarChart}from"./components/RadarChart/index.js";export{default as LineChart}from"./components/LineChart/index.js";export{default as PieChart}from"./components/PieChart/index.js";export{default as DoughnutChart}from"./components/DoughnutChart/index.js";export{Header}from"./Typography/Header/index.js";export{Text}from"./Typography/Text/index.js";
2
- //# sourceMappingURL=index.js.map
1
+ export * from './components';
2
+ export * from './Typography';
@@ -0,0 +1,81 @@
1
+ export type IRadius = 'none' | 'small' | 'medium' | 'large' | 'full';
2
+ export type IScaling = '90%' | '95%' | '100%' | '105%' | '110%';
3
+ export type IWeight = 'regular' | 'medium' | 'semibold' | 'bold';
4
+ export type ITheme = 'light' | 'dark';
5
+ export type ITypoSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
6
+ export type ISize = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
7
+ export type IAppearance = 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
8
+ export type PointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle' | false;
9
+ export type IColor = 'slate' | 'olive' | 'sand' | 'tomato' | 'red' | 'ruby' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'brown' | 'bronze' | 'gold' | 'sky' | 'mint' | 'lime' | 'yellow' | 'amber' | 'orange' | 'black' | 'white';
10
+ export type IDarkColor = 'blackDark' | 'whiteDark' | 'slateDark' | 'oliveDark' | 'sandDark' | 'tomatoDark' | 'redDark' | 'rubyDark' | 'crimsonDark' | 'pinkDark' | 'plumDark' | 'purpleDark' | 'violetDark' | 'irisDark' | 'indigoDark' | 'blueDark' | 'cyanDark' | 'tealDark' | 'jadeDark' | 'greenDark' | 'grassDark' | 'brownDark' | 'bronzeDark' | 'goldDark' | 'skyDark' | 'mintDark' | 'limeDark' | 'yellowDark' | 'amberDark' | 'orangeDark' | 'slateDarkA' | 'oliveDarkA' | 'sandDarkA' | 'tomatoDarkA' | 'redDarkA' | 'rubyDarkA' | 'crimsonDarkA' | 'pinkDarkA' | 'plumDarkA' | 'purpleDarkA' | 'violetDarkA' | 'irisDarkA' | 'indigoDarkA' | 'blueDarkA' | 'cyanDarkA' | 'tealDarkA' | 'jadeDarkA' | 'greenDarkA' | 'grassDarkA' | 'brownDarkA' | 'bronzeDarkA' | 'goldDarkA' | 'skyDarkA' | 'mintDarkA' | 'limeDarkA' | 'yellowDarkA' | 'amberDarkA' | 'orangeDarkA';
11
+ export type IAlphaColor = 'slateA' | 'oliveA' | 'sandA' | 'tomatoA' | 'redA' | 'rubyA' | 'crimsonA' | 'pinkA' | 'plumA' | 'purpleA' | 'violetA' | 'irisA' | 'indigoA' | 'blueA' | 'cyanA' | 'tealA' | 'jadeA' | 'greenA' | 'grassA' | 'brownA' | 'bronzeA' | 'goldA' | 'skyA' | 'mintA' | 'limeA' | 'yellowA' | 'amberA' | 'orangeA';
12
+ export type IChartTitle = {
13
+ text?: string | string[];
14
+ display?: boolean;
15
+ position?: 'top' | 'right' | 'bottom' | 'left';
16
+ align?: 'start' | 'center' | 'end';
17
+ font?: {
18
+ size?: number;
19
+ weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number;
20
+ lineHeight?: number;
21
+ };
22
+ };
23
+ export type IChartLegend = {
24
+ display?: boolean;
25
+ align?: 'start' | 'center' | 'end';
26
+ position?: 'top' | 'right' | 'bottom' | 'left';
27
+ maxHeight?: number;
28
+ maxWidth?: number;
29
+ fullSize?: boolean;
30
+ reverse?: boolean;
31
+ labels?: {
32
+ boxWidth?: number;
33
+ boxHeight?: number;
34
+ padding?: number;
35
+ textAlign?: 'left' | 'right' | 'center';
36
+ color?: string;
37
+ usePointStyle?: boolean;
38
+ pointStyle?: PointStyle;
39
+ pointStyleWidth?: number;
40
+ useBorderRadius?: boolean;
41
+ borderRadius?: number;
42
+ };
43
+ rtl?: boolean;
44
+ textDirection?: 'rtl' | 'ltr';
45
+ title?: {
46
+ color?: string;
47
+ display?: boolean;
48
+ padding?: number;
49
+ text?: string;
50
+ };
51
+ };
52
+ export type IChartDatasets = {
53
+ label?: string;
54
+ backgroundColor?: string[] | string;
55
+ borderColor?: string[] | string;
56
+ borderWidth?: number;
57
+ borderRadius?: number;
58
+ borderDash?: number[];
59
+ borderDashOffset?: number;
60
+ hoverBackgroundColor?: string;
61
+ hoverBorderColor?: string;
62
+ hoverBorderWidth?: number;
63
+ pointStyle?: PointStyle;
64
+ offset?: number;
65
+ spacing?: number;
66
+ weight?: number;
67
+ order?: number;
68
+ hidden?: boolean;
69
+ };
70
+ export type IChartDataLabels = {
71
+ display?: boolean;
72
+ color?: string;
73
+ align?: 'start' | 'center' | 'end' | number;
74
+ backgroundColor?: string | ((context: any) => string);
75
+ borderColor?: string;
76
+ borderRadius?: number;
77
+ borderWidth?: number;
78
+ font?: object;
79
+ formatter?: (x: number) => number;
80
+ padding?: number;
81
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export declare const useDarkMode: (isRAxes?: boolean) => any[];
@@ -1,2 +1,49 @@
1
- import{slateA as r,slateDarkA as o}from"../color/alpha.js";import{useState as c,useEffect as t}from"react";var n=function(n){void 0===n&&(n=!1);var i={},e={};!0===n?(i={r:{grid:{color:r[8]}}},e={r:{grid:{color:o[8]},ticks:{backdropColor:"rgba(0, 0, 0, 0)"}}}):(i={x:{grid:{color:r[8]}},y:{grid:{color:r[8]}}},e={x:{grid:{color:o[8]}},y:{grid:{color:o[8]}}});var a=c(b()),l=a[0],s=a[1],d=c({linescale:{}}),u=d[0],f=d[1];function b(){return document.body.classList.contains("dark")}return t((function(){s(b()),f({linescale:b()?e:i});var r=new MutationObserver((function(r){r.forEach((function(r){"class"===r.attributeName&&(s(b()),f({linescale:b()?e:i}))}))}));return r.observe(document.body,{attributes:!0}),function(){r.disconnect()}}),[]),[l,u]};export{n as useDarkMode};
2
- //# sourceMappingURL=useDarkMode.js.map
1
+ import { slateA, slateDarkA } from '../../lib/color/alpha';
2
+ import { useEffect, useState } from 'react';
3
+ export var useDarkMode = function (isRAxes) {
4
+ if (isRAxes === void 0) { isRAxes = false; }
5
+ var lightmode = {};
6
+ var darkmode = {};
7
+ if (isRAxes === true) {
8
+ lightmode = {
9
+ r: { grid: { color: slateA[8] } },
10
+ };
11
+ darkmode = {
12
+ r: { grid: { color: slateDarkA[8] }, ticks: { backdropColor: 'rgba(0, 0, 0, 0)' } },
13
+ };
14
+ }
15
+ else {
16
+ lightmode = {
17
+ x: { grid: { color: slateA[8] } },
18
+ y: { grid: { color: slateA[8] } },
19
+ };
20
+ darkmode = {
21
+ x: { grid: { color: slateDarkA[8] } },
22
+ y: { grid: { color: slateDarkA[8] } },
23
+ };
24
+ }
25
+ var _a = useState(checkDarkMode()), isDarkMode = _a[0], setIsDarkMode = _a[1];
26
+ var _b = useState({
27
+ linescale: {},
28
+ }), defaultOptions = _b[0], setDefaultOptions = _b[1];
29
+ function checkDarkMode() {
30
+ return document.body.classList.contains('dark');
31
+ }
32
+ useEffect(function () {
33
+ setIsDarkMode(checkDarkMode());
34
+ setDefaultOptions({ linescale: !checkDarkMode() ? lightmode : darkmode });
35
+ var mutationObserver = new MutationObserver(function (mutations) {
36
+ mutations.forEach(function (mutation) {
37
+ if (mutation.attributeName === 'class') {
38
+ setIsDarkMode(checkDarkMode());
39
+ setDefaultOptions({ linescale: !checkDarkMode() ? lightmode : darkmode });
40
+ }
41
+ });
42
+ });
43
+ mutationObserver.observe(document.body, { attributes: true });
44
+ return function () {
45
+ mutationObserver.disconnect();
46
+ };
47
+ }, []);
48
+ return [isDarkMode, defaultOptions];
49
+ };
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -1,2 +1,10 @@
1
- import{clsx as o}from"../../../node_modules/clsx/dist/clsx.mjs.js";import{twMerge as s}from"../../../node_modules/tailwind-merge/dist/bundle-mjs.mjs.js";function e(){for(var e=[],m=0;m<arguments.length;m++)e[m]=arguments[m];return s(o(e))}export{e as cn};
2
- //# sourceMappingURL=utils.js.map
1
+ import { clsx } from 'clsx';
2
+ import { twMerge } from 'tailwind-merge';
3
+ // tailwind를 merge할 때 발생할 수 있는 클래스 충돌 문제 해결
4
+ export function cn() {
5
+ var inputs = [];
6
+ for (var _i = 0; _i < arguments.length; _i++) {
7
+ inputs[_i] = arguments[_i];
8
+ }
9
+ return twMerge(clsx(inputs));
10
+ }
@@ -0,0 +1,2 @@
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.js";export{rectToClientRect}from"../../utils/dist/floating-ui.utils.mjs.js";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,j=L/2-A[b]/2-1,B=c(w[D],j),C=c(w[O],j),S=B,F=L-A[b]-C,V=L/2-A[b]/2+H,W=s(S,V,F),z=!g.arrow&&null!=r(o)&&V!==W&&l.reference[b]/2-(V<S?B:C)-A[b]/2<0,q=z?V<S?V-S: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 j,B;const e=((null==(j=m.flip)?void 0:j.index)||0)+1,t=T[e];if(t)return{data:{index:e,overflows:H},reset:{placement:t}};let n=null==(B=H.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:B.placement;if(!n)switch(v){case"bestFit":{var C;const e=null==(C=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:C[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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.core.mjs.js","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":"0b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AClBI,EAAiBH,EACrB,GAAIjG,EAAS,CACX,MAAMqG,EAAuBvK,EAAQ0G,EAAS9C,KAAO8C,EAAS7C,MAC9DyG,EAAiB7B,GAAa2B,EAAUvF,EAAIsF,EAAwBI,GAAwBA,CACpG,KAAa,CACL,MAAMC,EAAwBrK,EAASuG,EAAShD,IAAMgD,EAAS/C,OAC/D0G,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"}
@@ -0,0 +1,2 @@
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.js";export{detectOverflow,offset}from"../../core/dist/floating-ui.core.mjs.js";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.js";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 j}from"../../utils/dist/floating-ui.utils.dom.mjs.js";export{getOverflowAncestors}from"../../utils/dist/floating-ui.utils.dom.mjs.js";function O(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 W(t){return g(t)?t:t.contextElement}function H(t){const e=W(t);if(!y(e))return l(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=O(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 z=l(0);function A(t){const e=p(t);return w()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:z}function C(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=W(t);let s=l(1);e&&(i?g(i)&&(s=H(i)):s=H(t));const f=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==p(t))&&e}(r,n,i)?A(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=H(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 P=[":popover-open",":modal"];function B(t){return P.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function D(t){return C(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=C(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=y(t)?H(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=A(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)||j(n))&&("fixed"===m(n).position||S(n,e))}function I(t,e,n){const i=y(e),o=x(e),r="fixed"===n,s=C(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=C(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=C(i);u=H(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)&&!j(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}=O(t);return{width:e,height:n}},getScale:H,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=W(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?C(t):null;return c&&function e(){const i=C(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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.dom.mjs.js","sources":["../../../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { detectOverflow, offset } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getDocumentElement, getNodeName, isOverflowElement, getNodeScroll, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = currentWin.frameElement;\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = currentWin.frameElement;\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(floating) {\n return topLayerSelectors.some(selector => {\n try {\n return floating.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n ...clippingAncestor,\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const x = rect.left + scroll.scrollLeft - offsets.x;\n const y = rect.top + scroll.scrollTop - offsets.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n return element.offsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const window = getWindow(element);\n if (!isHTMLElement(element) || isTopLayer(element)) {\n return window;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n ...(await getDimensionsFn(data.floating))\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const {\n left,\n top,\n width,\n height\n } = element.getBoundingClientRect();\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 100);\n } else {\n refresh(false, ratio);\n }\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, flip, hide, inline, limitShift, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","parseFloat","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","$","unwrapElement","isElement","contextElement","getScale","domElement","createCoords","rect","getBoundingClientRect","x","y","Number","isFinite","noOffsets","getVisualOffsets","win","getWindow","isWebKit","visualViewport","offsetLeft","offsetTop","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","isFixed","floatingOffsetParent","shouldAddVisualOffsets","left","top","offsetWin","currentWin","currentIFrame","frameElement","iframeScale","iframeRect","clientLeft","paddingLeft","clientTop","paddingTop","rectToClientRect","topLayerSelectors","isTopLayer","floating","some","selector","matches","e","getWindowScrollBarX","getDocumentElement","getNodeScroll","scrollLeft","getClientRectFromClippingAncestor","clippingAncestor","strategy","html","clientWidth","clientHeight","visualViewportBased","getViewportRect","scroll","body","ownerDocument","max","scrollWidth","scrollHeight","scrollTop","direction","getDocumentRect","getInnerBoundingClientRect","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","position","getRectRelativeToOffsetParent","isOffsetParentAnElement","documentElement","offsets","getNodeName","isOverflowElement","offsetRect","getTrueOffsetParent","polyfill","getOffsetParent","window","isTableElement","isContainingBlock","getContainingBlock","platform","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","topLayer","getClippingRect","boundary","rootBoundary","clippingAncestors","cache","cachedResult","get","result","getOverflowAncestors","filter","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","includes","ancestor","set","getClippingElementAncestors","this","_c","concat","firstClippingAncestor","clippingRect","reduce","accRect","right","min","bottom","getElementRects","async","data","getOffsetParentFn","getDimensionsFn","getDimensions","reference","getClientRects","Array","from","isRTL","autoUpdate","update","options","ancestorScroll","ancestorResize","elementResize","ResizeObserver","layoutShift","IntersectionObserver","animationFrame","referenceEl","ancestors","forEach","addEventListener","passive","cleanupIo","onMove","timeoutId","io","root","cleanup","_io","clearTimeout","disconnect","refresh","skip","threshold","rootMargin","floor","isFirstUpdate","handleObserve","entries","ratio","intersectionRatio","setTimeout","observe","observeMove","frameId","reobserveFrame","resizeObserver","firstEntry","target","unobserve","cancelAnimationFrame","requestAnimationFrame","_resizeObserver","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","removeEventListener","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","Map","mergedOptions","platformWithCache","computePosition$1"],"mappings":"8xBAMA,SAASA,EAAiBC,GACxB,MAAMC,EAAMC,EAAiBF,GAG7B,IAAIG,EAAQC,WAAWH,EAAIE,QAAU,EACjCE,EAASD,WAAWH,EAAII,SAAW,EACvC,MAAMC,EAAYC,EAAcP,GAC1BQ,EAAcF,EAAYN,EAAQQ,YAAcL,EAChDM,EAAeH,EAAYN,EAAQS,aAAeJ,EAClDK,EAAiBC,EAAMR,KAAWK,GAAeG,EAAMN,KAAYI,EAKzE,OAJIC,IACFP,EAAQK,EACRH,EAASI,GAEJ,CACLN,QACAE,SACAO,EAAGF,EAEP,CAEA,SAASG,EAAcb,GACrB,OAAQc,EAAUd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computePosition as t}from"../../dom/dist/floating-ui.dom.mjs.js";export{autoUpdate,computePosition,flip,hide,limitShift,platform,shift,size}from"../../dom/dist/floating-ui.dom.mjs.js";import*as r from"react";import{useLayoutEffect as n,useEffect as o}from"react";import*as i from"react-dom";const u=t=>({name:"arrow",options:t,fn(r){const{element:n,padding:o}="function"==typeof t?t(r):t;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?e({element:n.current,padding:o}).fn(r):{}:n?e({element:n,padding:o}).fn(r):{};var i}});var f="undefined"!=typeof document?n:o;function s(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function a(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){const r=a(e);return Math.round(t*r)/r}function l(e){const t=r.useRef(e);return f((()=>{t.current=e})),t}function m(e){void 0===e&&(e={});const{placement:n="bottom",strategy:o="absolute",middleware:u=[],platform:m,elements:{reference:d,floating:p}={},transform:g=!0,whileElementsMounted:y,open:w}=e,[h,P]=r.useState({x:0,y:0,strategy:o,placement:n,middlewareData:{},isPositioned:!1}),[S,b]=r.useState(u);s(S,u)||b(u);const[x,j]=r.useState(null),[R,M]=r.useState(null),k=r.useCallback((e=>{e!==A.current&&(A.current=e,j(e))}),[]),v=r.useCallback((e=>{e!==D.current&&(D.current=e,M(e))}),[]),C=d||x,O=p||R,A=r.useRef(null),D=r.useRef(null),$=r.useRef(h),z=null!=y,E=l(y),F=l(m),U=r.useCallback((()=>{if(!A.current||!D.current)return;const e={placement:n,strategy:o,middleware:S};F.current&&(e.platform=F.current),t(A.current,D.current,e).then((e=>{const t={...e,isPositioned:!0};V.current&&!s($.current,t)&&($.current=t,i.flushSync((()=>{P(t)})))}))}),[S,n,o,F]);f((()=>{!1===w&&$.current.isPositioned&&($.current.isPositioned=!1,P((e=>({...e,isPositioned:!1}))))}),[w]);const V=r.useRef(!1);f((()=>(V.current=!0,()=>{V.current=!1})),[]),f((()=>{if(C&&(A.current=C),O&&(D.current=O),C&&O){if(E.current)return E.current(C,O,U);U()}}),[C,O,U,E,z]);const _=r.useMemo((()=>({reference:A,floating:D,setReference:k,setFloating:v})),[k,v]),q=r.useMemo((()=>({reference:C,floating:O})),[C,O]),B=r.useMemo((()=>{const e={position:o,left:0,top:0};if(!q.floating)return e;const t=c(q.floating,h.x),r=c(q.floating,h.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...a(q.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:t,top:r}}),[o,g,q.floating,h.x,h.y]);return r.useMemo((()=>({...h,update:U,refs:_,elements:q,floatingStyles:B})),[h,U,_,q,B])}export{u as arrow,m as useFloating};
2
+ //# sourceMappingURL=floating-ui.react-dom.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.react-dom.mjs.js","sources":["../../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { arrow as arrow$1, computePosition } from '@floating-ui/dom';\nexport { autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\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 * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$1({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$1({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n\n // biome-ignore lint/suspicious/noSelfCompare: in source\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n isPositioned: true\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n\n // biome-ignore lint/correctness/useExhaustiveDependencies: `hasWhileElementsMounted` is intentionally included.\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\nexport { arrow, useFloating };\n"],"names":["arrow","options","name","fn","state","element","padding","value","hasOwnProperty","call","current","arrow$1","index","document","useLayoutEffect","useEffect","deepEqual","a","b","toString","length","i","keys","Array","isArray","Object","key","$$typeof","getDPR","window","ownerDocument","defaultView","devicePixelRatio","roundByDPR","dpr","Math","round","useLatestRef","ref","React","useRef","useFloating","placement","strategy","middleware","platform","elements","reference","externalReference","floating","externalFloating","transform","whileElementsMounted","open","data","setData","useState","x","y","middlewareData","isPositioned","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","useCallback","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","update","config","computePosition","then","fullData","isMountedRef","ReactDOM","flushSync","refs","useMemo","floatingStyles","initialStyles","position","left","top","willChange"],"mappings":"qTAYK,MAACA,EAAQC,IAIL,CACLC,KAAM,QACND,UACA,EAAAE,CAAGC,GACD,MAAMC,QACJA,EAAOC,QACPA,GACqB,mBAAZL,EAAyBA,EAAQG,GAASH,EACrD,OAAII,IAXOE,EAWUF,EAVhB,CAAE,EAACG,eAAeC,KAAKF,EAAO,YAWV,MAAnBF,EAAQK,QACHC,EAAQ,CACbN,QAASA,EAAQK,QACjBJ,YACCH,GAAGC,GAED,GAELC,EACKM,EAAQ,CACbN,UACAC,YACCH,GAAGC,GAED,GA1BX,IAAeG,CA2BZ,IAIL,IAAIK,EAA4B,oBAAbC,SAA2BC,EAAkBC,EAIhE,SAASC,EAAUC,EAAGC,GACpB,GAAID,IAAMC,EACR,OAAO,EAET,UAAWD,UAAaC,EACtB,OAAO,EAET,GAAiB,mBAAND,GAAoBA,EAAEE,aAAeD,EAAEC,WAChD,OAAO,EAET,IAAIC,EACAC,EACAC,EACJ,GAAIL,GAAKC,GAAkB,iBAAND,EAAgB,CACnC,GAAIM,MAAMC,QAAQP,GAAI,CAEpB,GADAG,EAASH,EAAEG,OACPA,IAAWF,EAAEE,OAAQ,OAAO,EAChC,IAAKC,EAAID,EAAgB,GAARC,KACf,IAAKL,EAAUC,EAAEI,GAAIH,EAAEG,IACrB,OAAO,EAGX,OAAO,CACR,CAGD,GAFAC,EAAOG,OAAOH,KAAKL,GACnBG,EAASE,EAAKF,OACVA,IAAWK,OAAOH,KAAKJ,GAAGE,OAC5B,OAAO,EAET,IAAKC,EAAID,EAAgB,GAARC,KACf,IAAK,CAAE,EAACb,eAAeC,KAAKS,EAAGI,EAAKD,IAClC,OAAO,EAGX,IAAKA,EAAID,EAAgB,GAARC,KAAY,CAC3B,MAAMK,EAAMJ,EAAKD,GACjB,IAAY,WAARK,IAAoBT,EAAEU,YAGrBX,EAAUC,EAAES,GAAMR,EAAEQ,IACvB,OAAO,CAEV,CACD,OAAO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,EAAMiD,SAAQ,KACnC,MAAME,EAAgB,CACpBC,SAAUhD,EACViD,KAAM,EACNC,IAAK,GAEP,IAAK/C,EAASG,SACZ,OAAOyC,EAET,MAAMjC,EAAIxB,EAAWa,EAASG,SAAUK,EAAKG,GACvCC,EAAIzB,EAAWa,EAASG,SAAUK,EAAKI,GAC7C,OAAIP,EACK,IACFuC,EACHvC,UAAW,aAAeM,EAAI,OAASC,EAAI,SACvC9B,EAAOkB,EAASG,WAAa,KAAO,CACtC6C,WAAY,cAIX,CACLH,SAAUhD,EACViD,KAAMnC,EACNoC,IAAKnC,EACN,GACA,CAACf,EAAUQ,EAAWL,EAASG,SAAUK,EAAKG,EAAGH,EAAKI,IACzD,OAAOnB,EAAMiD,SAAQ,KAAO,IACvBlC,EACHyB,SACAQ,OACAzC,WACA2C,oBACE,CAACnC,EAAMyB,EAAQQ,EAAMzC,EAAU2C,GACrC"}
@@ -0,0 +1,2 @@
1
+ function n(n){return o(n)?(n.nodeName||"").toLowerCase():"#document"}function e(n){var e;return(null==n||null==(e=n.ownerDocument)?void 0:e.defaultView)||window}function t(n){var e;return null==(e=(o(n)?n.ownerDocument:n.document)||window.document)?void 0:e.documentElement}function o(n){return n instanceof Node||n instanceof e(n).Node}function r(n){return n instanceof Element||n instanceof e(n).Element}function c(n){return n instanceof HTMLElement||n instanceof e(n).HTMLElement}function u(n){return"undefined"!=typeof ShadowRoot&&(n instanceof ShadowRoot||n instanceof e(n).ShadowRoot)}function i(n){const{overflow:e,overflowX:t,overflowY:o,display:r}=m(n);return/auto|scroll|overlay|hidden|clip/.test(e+o+t)&&!["inline","contents"].includes(r)}function l(e){return["table","td","th"].includes(n(e))}function f(n){const e=a(),t=m(n);return"none"!==t.transform||"none"!==t.perspective||!!t.containerType&&"normal"!==t.containerType||!e&&!!t.backdropFilter&&"none"!==t.backdropFilter||!e&&!!t.filter&&"none"!==t.filter||["transform","perspective","filter"].some((n=>(t.willChange||"").includes(n)))||["paint","layout","strict","content"].some((n=>(t.contain||"").includes(n)))}function s(n){let e=w(n);for(;c(e)&&!d(e);){if(f(e))return e;e=w(e)}return null}function a(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function d(e){return["html","body","#document"].includes(n(e))}function m(n){return e(n).getComputedStyle(n)}function p(n){return r(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function w(e){if("html"===n(e))return e;const o=e.assignedSlot||e.parentNode||u(e)&&e.host||t(e);return u(o)?o.host:o}function v(n){const e=w(n);return d(e)?n.ownerDocument?n.ownerDocument.body:n.body:c(e)&&i(e)?e:v(e)}function y(n,t,o){var r;void 0===t&&(t=[]),void 0===o&&(o=!0);const c=v(n),u=c===(null==(r=n.ownerDocument)?void 0:r.body),l=e(c);return u?t.concat(l,l.visualViewport||[],i(c)?c:[],l.frameElement&&o?y(l.frameElement):[]):t.concat(c,y(c,[],o))}export{m as getComputedStyle,s as getContainingBlock,t as getDocumentElement,v as getNearestOverflowAncestor,n as getNodeName,p as getNodeScroll,y as getOverflowAncestors,w as getParentNode,e as getWindow,f as isContainingBlock,r as isElement,c as isHTMLElement,d as isLastTraversableNode,o as isNode,i as isOverflowElement,u as isShadowRoot,l as isTableElement,a as isWebKit};
2
+ //# sourceMappingURL=floating-ui.utils.dom.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.dom.mjs.js","sources":["../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n // Browsers without `ShadowRoot` support.\n if (typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isContainingBlock(element) {\n const webkit = isWebKit();\n const css = getComputedStyle(element);\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else {\n currentNode = getParentNode(currentNode);\n }\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.pageXOffset,\n scrollTop: element.pageYOffset\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isWebKit };\n"],"names":["getNodeName","node","isNode","nodeName","toLowerCase","getWindow","_node$ownerDocument","ownerDocument","defaultView","window","getDocumentElement","_ref","document","documentElement","value","Node","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","test","includes","isTableElement","isContainingBlock","webkit","isWebKit","css","transform","perspective","containerType","backdropFilter","filter","some","willChange","contain","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","CSS","supports","getNodeScroll","scrollLeft","scrollTop","pageXOffset","pageYOffset","result","assignedSlot","parentNode","host","getNearestOverflowAncestor","body","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","concat","visualViewport","frameElement"],"mappings":"AAAA,SAASA,EAAYC,GACnB,OAAIC,EAAOD,IACDA,EAAKE,UAAY,IAAIC,cAKxB,WACT,CACA,SAASC,EAAUJ,GACjB,IAAIK,EACJ,OAAgB,MAARL,GAA8D,OAA7CK,EAAsBL,EAAKM,oBAAyB,EAASD,EAAoBE,cAAgBC,MAC5H,CACA,SAASC,EAAmBT,GAC1B,IAAIU,EACJ,OAA0F,OAAlFA,GAAQT,EAAOD,GAAQA,EAAKM,cAAgBN,EAAKW,WAAaH,OAAOG,eAAoB,EAASD,EAAKE,eACjH,CACA,SAASX,EAAOY,GACd,OAAOA,aAAiBC,MAAQD,aAAiBT,EAAUS,GAAOC,IACpE,CACA,SAASC,EAAUF,GACjB,OAAOA,aAAiBG,SAAWH,aAAiBT,EAAUS,GAAOG,OACvE,CACA,SAASC,EAAcJ,GACrB,OAAOA,aAAiBK,aAAeL,aAAiBT,EAAUS,GAAOK,WAC3E,CACA,SAASC,EAAaN,GAEpB,MAA0B,oBAAfO,aAGJP,aAAiBO,YAAcP,aAAiBT,EAAUS,GAAOO,WAC1E,CACA,SAASC,EAAkBC,GACzB,MAAMC,SACJA,EAAQC,UACRA,EAASC,UACTA,EAASC,QACTA,GACEC,EAAiBL,GACrB,MAAO,kCAAkCM,KAAKL,EAAWE,EAAYD,KAAe,CAAC,SAAU,YAAYK,SAASH,EACtH,CACA,SAASI,EAAeR,GACtB,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H,CAC9C,CACA,SAASI,EAA2B1D,GAClC,MAAMwD,EAAaX,EAAc7C,GACjC,OAAI8C,EAAsBU,GACjBxD,EAAKM,cAAgBN,EAAKM,cAAcqD,KAAO3D,EAAK2D,KAEzD1C,EAAcuC,IAAenC,EAAkBmC,GAC1CA,EAEFE,EAA2BF,EACpC,CACA,SAASI,EAAqB5D,EAAM6D,EAAMC,GACxC,IAAIC,OACS,IAATF,IACFA,EAAO,SAEe,IAApBC,IACFA,GAAkB,GAEpB,MAAME,EAAqBN,EAA2B1D,GAChDiE,EAASD,KAAuE,OAA9CD,EAAuB/D,EAAKM,oBAAyB,EAASyD,EAAqBJ,MACrHO,EAAM9D,EAAU4D,GACtB,OAAIC,EACKJ,EAAKM,OAAOD,EAAKA,EAAIE,gBAAkB,GAAI/C,EAAkB2C,GAAsBA,EAAqB,GAAIE,EAAIG,cAAgBP,EAAkBF,EAAqBM,EAAIG,cAAgB,IAE7LR,EAAKM,OAAOH,EAAoBJ,EAAqBI,EAAoB,GAAIF,GACtF"}
@@ -0,0 +1,2 @@
1
+ const t=["top","right","bottom","left"],n=Math.min,o=Math.max,r=Math.round,e=Math.floor,u=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function c(t,r,e){return o(t,n(r,e))}function a(t,n){return"function"==typeof t?t(n):t}function h(t){return t.split("-")[0]}function l(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function s(t){return"y"===t?"height":"width"}function m(t){return["top","bottom"].includes(h(t))?"y":"x"}function g(t){return p(m(t))}function b(t,n,o){void 0===o&&(o=!1);const r=l(t),e=g(t),u=s(e);let i="x"===e?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[u]>n.floating[u]&&(i=M(i)),[i,M(i)]}function d(t){const n=M(t);return[x(t),n,x(n)]}function x(t){return t.replace(/start|end/g,(t=>f[t]))}function y(t,n,o,r){const e=l(t);let u=function(t,n,o){const r=["left","right"],e=["right","left"],u=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return o?n?e:r:n?r:e;case"left":case"right":return n?u:i;default:return[]}}(h(t),"start"===o,r);return e&&(u=u.map((t=>t+"-"+e)),n&&(u=u.concat(u.map(x)))),u}function M(t){return t.replace(/left|right|bottom|top/g,(t=>i[t]))}function w(t){return{top:0,right:0,bottom:0,left:0,...t}}function v(t){return"number"!=typeof t?w(t):{top:t,right:t,bottom:t,left:t}}function j(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}export{c as clamp,u as createCoords,a as evaluate,w as expandPaddingObject,e as floor,l as getAlignment,g as getAlignmentAxis,b as getAlignmentSides,s as getAxisLength,d as getExpandedPlacements,x as getOppositeAlignmentPlacement,p as getOppositeAxis,y as getOppositeAxisPlacements,M as getOppositePlacement,v as getPaddingObject,h as getSide,m as getSideAxis,o as max,n as min,j as rectToClientRect,r as round,t as sides};
2
+ //# sourceMappingURL=floating-ui.utils.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.mjs.js","sources":["../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n return {\n ...rect,\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","Math","max","round","floor","createCoords","v","x","y","oppositeSideMap","left","right","bottom","top","oppositeAlignmentMap","start","end","clamp","value","evaluate","param","getSide","placement","split","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","includes","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","reference","floating","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","replace","getOppositeAxisPlacements","flipAlignment","direction","list","side","isStart","lr","rl","tb","bt","getSideList","map","concat","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","width","height"],"mappings":"AAKK,MAACA,EAAQ,CAAC,MAAO,QAAS,SAAU,QAGnCC,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MACbC,EAAQH,KAAKG,MACbC,EAAeC,IAAM,CACzBC,EAAGD,EACHE,EAAGF,IAECG,EAAkB,CACtBC,KAAM,QACNC,MAAO,OACPC,OAAQ,MACRC,IAAK,UAEDC,EAAuB,CAC3BC,MAAO,MACPC,IAAK,SAEP,SAASC,EAAMF,EAAOG,EAAOF,GAC3B,OAAOd,EAAIa,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B,OAAQL,GACN,IAAK,MACL,IAAK,SACH,OAAIhB,EAAYiB,EAAUE,EAAKD,EACxBD,EAAUC,EAAKC,EACxB,IAAK,OACL,IAAK,QACH,OAAOF,EAAUG,EAAKC,EACxB,QACE,MAAO,GAEb,CAGaC,CAAYlC,EAAQC,GAA0B,UAAdyB,EAAuBd,GAOlE,OANIC,IACFc,EAAOA,EAAKQ,KAAIP,GAAQA,EAAO,IAAMf,IACjCY,IACFE,EAAOA,EAAKS,OAAOT,EAAKQ,IAAIb,MAGzBK,CACT,CACA,SAASR,EAAqBlB,GAC5B,OAAOA,EAAUsB,QAAQ,0BAA0BK,GAAQxC,EAAgBwC,IAC7E,CACA,SAASS,EAAoBC,GAC3B,MAAO,CACL9C,IAAK,EACLF,MAAO,EACPC,OAAQ,EACRF,KAAM,KACHiD,EAEP,CACA,SAASC,EAAiBD,GACxB,MAA0B,iBAAZA,EAAuBD,EAAoBC,GAAW,CAClE9C,IAAK8C,EACLhD,MAAOgD,EACP/C,OAAQ+C,EACRjD,KAAMiD,EAEV,CACA,SAASE,EAAiBC,GACxB,MAAO,IACFA,EACHjD,IAAKiD,EAAKtD,EACVE,KAAMoD,EAAKvD,EACXI,MAAOmD,EAAKvD,EAAIuD,EAAKC,MACrBnD,OAAQkD,EAAKtD,EAAIsD,EAAKE,OAE1B"}
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * @kurkle/color v0.3.2
3
+ * https://github.com/kurkle/color#readme
4
+ * (c) 2023 Jukka Kurkela
5
+ * Released under the MIT License
6
+ */
7
+ function e(e){return e+.5|0}const t=(e,t,f)=>Math.max(Math.min(e,f),t);function f(f){return t(e(2.55*f),0,255)}function r(f){return t(e(255*f),0,255)}function a(f){return t(e(f/2.55)/100,0,1)}function n(f){return t(e(100*f),0,100)}const i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},s=[..."0123456789ABCDEF"],c=e=>s[15&e],b=e=>s[(240&e)>>4]+s[15&e],g=e=>(240&e)>>4==(15&e);function d(e){var t,f=e.length;return"#"===e[0]&&(4===f||5===f?t={r:255&17*i[e[1]],g:255&17*i[e[2]],b:255&17*i[e[3]],a:5===f?17*i[e[4]]:255}:7!==f&&9!==f||(t={r:i[e[1]]<<4|i[e[2]],g:i[e[3]]<<4|i[e[4]],b:i[e[5]]<<4|i[e[6]],a:9===f?i[e[7]]<<4|i[e[8]]:255})),t}function o(e){var t=(e=>g(e.r)&&g(e.g)&&g(e.b)&&g(e.a))(e)?c:b;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const u=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function h(e,t,f){const r=t*Math.min(f,1-f),a=(t,a=(t+e/30)%12)=>f-r*Math.max(Math.min(a-3,9-a,1),-1);return[a(0),a(8),a(4)]}function l(e,t,f){const r=(r,a=(r+e/60)%6)=>f-f*t*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function m(e,t,f){const r=h(e,1,.5);let a;for(t+f>1&&(a=1/(t+f),t*=a,f*=a),a=0;a<3;a++)r[a]*=1-t-f,r[a]+=t;return r}function y(e){const t=e.r/255,f=e.g/255,r=e.b/255,a=Math.max(t,f,r),n=Math.min(t,f,r),i=(a+n)/2;let s,c,b;return a!==n&&(b=a-n,c=i>.5?b/(2-a-n):b/(a+n),s=function(e,t,f,r,a){return e===a?(t-f)/r+(t<f?6:0):t===a?(f-e)/r+2:(e-t)/r+4}(t,f,r,b,a),s=60*s+.5),[0|s,c||0,i]}function p(e,t,f,a){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,f,a)).map(r)}function Y(e,t,f){return p(h,e,t,f)}function v(e,t,f){return p(m,e,t,f)}function x(e,t,f){return p(l,e,t,f)}function w(e){return(e%360+360)%360}function F(e){const t=u.exec(e);let a,n=255;if(!t)return;t[5]!==a&&(n=t[6]?f(+t[5]):r(+t[5]));const i=w(+t[2]),s=+t[3]/100,c=+t[4]/100;return a="hwb"===t[1]?v(i,s,c):"hsv"===t[1]?x(i,s,c):Y(i,s,c),{r:a[0],g:a[1],b:a[2],a:n}}function _(e,t){var f=y(e);f[0]=w(f[0]+t),f=Y(f),e.r=f[0],e.g=f[1],e.b=f[2]}function M(e){if(!e)return;const t=y(e),f=t[0],r=n(t[1]),i=n(t[2]);return e.a<255?`hsla(${f}, ${r}%, ${i}%, ${a(e.a)})`:`hsl(${f}, ${r}%, ${i}%)`}const X={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},k={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let O;function S(e){O||(O=function(){const e={},t=Object.keys(k),f=Object.keys(X);let r,a,n,i,s;for(r=0;r<t.length;r++){for(i=s=t[r],a=0;a<f.length;a++)n=f[a],s=s.replace(n,X[n]);n=parseInt(k[i],16),e[s]=[n>>16&255,n>>8&255,255&n]}return e}(),O.transparent=[0,0,0,0]);const t=O[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const T=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Z(e){const r=T.exec(e);let a,n,i,s=255;if(r){if(r[7]!==a){const e=+r[7];s=r[8]?f(e):t(255*e,0,255)}return a=+r[1],n=+r[3],i=+r[5],a=255&(r[2]?f(a):t(a,0,255)),n=255&(r[4]?f(n):t(n,0,255)),i=255&(r[6]?f(i):t(i,0,255)),{r:a,g:n,b:i,a:s}}}function $(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${a(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const E=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,R=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function A(e,t,f){if(e){let r=y(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*f,0===t?360:1)),r=Y(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function P(e,t){return e?Object.assign(t||{},e):e}function U(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=r(e[3]))):(t=P(e,{r:0,g:0,b:0,a:1})).a=r(t.a),t}class V{constructor(e){if(e instanceof V)return e;const t=typeof e;let f;var r;"object"===t?f=U(e):"string"===t&&(f=d(e)||S(e)||("r"===(r=e).charAt(0)?Z(r):F(r))),this._rgb=f,this._valid=!!f}get valid(){return this._valid}get rgb(){var e=P(this._rgb);return e&&(e.a=a(e.a)),e}set rgb(e){this._rgb=U(e)}rgbString(){return this._valid?$(this._rgb):void 0}hexString(){return this._valid?o(this._rgb):void 0}hslString(){return this._valid?M(this._rgb):void 0}mix(e,t){if(e){const f=this.rgb,r=e.rgb;let a;const n=t===a?.5:t,i=2*n-1,s=f.a-r.a,c=((i*s==-1?i:(i+s)/(1+i*s))+1)/2;a=1-c,f.r=255&c*f.r+a*r.r+.5,f.g=255&c*f.g+a*r.g+.5,f.b=255&c*f.b+a*r.b+.5,f.a=n*f.a+(1-n)*r.a,this.rgb=f}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,f){const n=R(a(e.r)),i=R(a(e.g)),s=R(a(e.b));return{r:r(E(n+f*(R(a(t.r))-n))),g:r(E(i+f*(R(a(t.g))-i))),b:r(E(s+f*(R(a(t.b))-s))),a:e.a+f*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new V(this.rgb)}alpha(e){return this._rgb.a=r(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const t=this._rgb,f=e(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=f,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return A(this._rgb,2,e),this}darken(e){return A(this._rgb,2,-e),this}saturate(e){return A(this._rgb,1,e),this}desaturate(e){return A(this._rgb,1,-e),this}rotate(e){return _(this._rgb,e),this}}export{V as Color,a as b2n,d as hexParse,o as hexString,Y as hsl2rgb,M as hslString,x as hsv2rgb,F as hueParse,v as hwb2rgb,t as lim,r as n2b,n as n2p,S as nameParse,f as p2b,y as rgb2hsl,Z as rgbParse,$ as rgbString,_ as rotate,e as round};
8
+ //# sourceMappingURL=color.esm.js.map