@lotte-innovate/ui-component-test 0.1.54 → 0.1.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1462) hide show
  1. package/dist/_virtual/_commonjsHelpers.mjs +2 -0
  2. package/dist/_virtual/_commonjsHelpers.mjs.map +1 -0
  3. package/dist/_virtual/index.mjs +2 -0
  4. package/dist/_virtual/index.mjs.map +1 -0
  5. package/dist/_virtual/index2.mjs +2 -0
  6. package/dist/_virtual/index2.mjs.map +1 -0
  7. package/dist/_virtual/jsx-runtime.mjs +2 -0
  8. package/dist/_virtual/jsx-runtime.mjs.map +1 -0
  9. package/dist/_virtual/jsx-runtime2.mjs +2 -0
  10. package/dist/_virtual/jsx-runtime2.mjs.map +1 -0
  11. package/dist/_virtual/react-jsx-runtime.development.mjs +2 -0
  12. package/dist/_virtual/react-jsx-runtime.development.mjs.map +1 -0
  13. package/dist/_virtual/react-jsx-runtime.production.min.mjs +2 -0
  14. package/dist/_virtual/react-jsx-runtime.production.min.mjs.map +1 -0
  15. package/dist/globals.css +1 -1
  16. package/dist/lib/Typography/Header/index.d.ts +13 -0
  17. package/dist/lib/Typography/Header/index.js +55 -0
  18. package/dist/lib/Typography/Header/index.mjs +2 -0
  19. package/dist/lib/Typography/Header/index.mjs.map +1 -0
  20. package/dist/lib/Typography/Text/index.d.ts +15 -0
  21. package/dist/lib/Typography/Text/index.js +44 -0
  22. package/dist/lib/Typography/Text/index.mjs +2 -0
  23. package/dist/lib/Typography/Text/index.mjs.map +1 -0
  24. package/dist/lib/color/alpha.mjs +2 -0
  25. package/dist/lib/color/alpha.mjs.map +1 -0
  26. package/dist/lib/color/constants.mjs +2 -0
  27. package/dist/lib/color/constants.mjs.map +1 -0
  28. package/dist/lib/color/light.mjs +2 -0
  29. package/dist/lib/color/light.mjs.map +1 -0
  30. package/dist/lib/components/Accordion/index.d.ts +22 -0
  31. package/dist/lib/components/Accordion/index.js +64 -0
  32. package/dist/lib/components/Accordion/index.mjs +2 -0
  33. package/dist/lib/components/Accordion/index.mjs.map +1 -0
  34. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
  35. package/dist/lib/components/AlertDialog/AlertDialogAction.js +61 -0
  36. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +2 -0
  37. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  38. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
  39. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +60 -0
  40. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +2 -0
  41. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  42. package/dist/lib/components/AlertDialog/AlertDialogContent.js +51 -0
  43. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +2 -0
  44. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  45. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +47 -0
  46. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +2 -0
  47. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  48. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
  49. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -0
  50. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
  51. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +47 -0
  52. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +2 -0
  53. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  54. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
  55. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +55 -0
  56. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +2 -0
  57. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  58. package/dist/lib/components/AlertDialog/index.mjs +2 -0
  59. package/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  60. package/dist/lib/components/AspectRatio/index.js +42 -0
  61. package/dist/lib/components/AspectRatio/index.mjs +2 -0
  62. package/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  63. package/dist/lib/components/Avatar/index.js +58 -0
  64. package/dist/lib/components/Avatar/index.mjs +2 -0
  65. package/dist/lib/components/Avatar/index.mjs.map +1 -0
  66. package/dist/lib/components/Badge/index.d.ts +18 -0
  67. package/dist/lib/components/Badge/index.js +54 -0
  68. package/dist/lib/components/Badge/index.mjs +2 -0
  69. package/dist/lib/components/Badge/index.mjs.map +1 -0
  70. package/dist/lib/components/BarChart/index.d.ts +37 -0
  71. package/dist/lib/components/BarChart/index.js +63 -0
  72. package/dist/lib/components/BarChart/index.mjs +2 -0
  73. package/dist/lib/components/BarChart/index.mjs.map +1 -0
  74. package/dist/lib/components/BubbleChart/index.d.ts +28 -0
  75. package/dist/lib/components/BubbleChart/index.js +73 -0
  76. package/dist/lib/components/BubbleChart/index.mjs +2 -0
  77. package/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  78. package/dist/lib/components/Button/index.d.ts +16 -0
  79. package/dist/lib/components/Button/index.js +56 -0
  80. package/dist/lib/components/Button/index.mjs +2 -0
  81. package/dist/lib/components/Button/index.mjs.map +1 -0
  82. package/dist/lib/components/Callout/CalloutIcon.js +57 -0
  83. package/dist/lib/components/Callout/CalloutIcon.mjs +2 -0
  84. package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  85. package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
  86. package/dist/lib/components/Callout/CalloutRoot.js +72 -0
  87. package/dist/lib/components/Callout/CalloutRoot.mjs +2 -0
  88. package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
  89. package/dist/lib/components/Callout/CalloutText.js +52 -0
  90. package/dist/lib/components/Callout/CalloutText.mjs +2 -0
  91. package/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  92. package/dist/lib/components/Callout/index.mjs +2 -0
  93. package/dist/lib/components/Callout/index.mjs.map +1 -0
  94. package/dist/lib/components/Card/index.d.ts +14 -0
  95. package/dist/lib/components/Card/index.js +64 -0
  96. package/dist/lib/components/Card/index.mjs +2 -0
  97. package/dist/lib/components/Card/index.mjs.map +1 -0
  98. package/dist/lib/components/Checkbox/index.d.ts +17 -0
  99. package/dist/lib/components/Checkbox/index.js +89 -0
  100. package/dist/lib/components/Checkbox/index.mjs +2 -0
  101. package/dist/lib/components/Checkbox/index.mjs.map +1 -0
  102. package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
  103. package/dist/lib/components/CheckboxCard/index.js +58 -0
  104. package/dist/lib/components/CheckboxCard/index.mjs +2 -0
  105. package/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  106. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
  107. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +33 -0
  108. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +2 -0
  109. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  110. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
  111. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +34 -0
  112. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -0
  113. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
  114. package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
  115. package/dist/lib/components/CheckboxGroup/index.mjs +2 -0
  116. package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  117. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +42 -0
  118. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +2 -0
  119. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  120. package/dist/lib/components/ContextMenu/ContextMenuContent.js +56 -0
  121. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +2 -0
  122. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  123. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
  124. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  125. package/dist/lib/components/ContextMenu/ContextMenuItem.js +59 -0
  126. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +2 -0
  127. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  128. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +50 -0
  129. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +2 -0
  130. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  131. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +48 -0
  132. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +2 -0
  133. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  134. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +2 -0
  135. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
  136. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +44 -0
  137. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +2 -0
  138. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  139. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
  140. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -0
  141. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
  142. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
  143. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
  144. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  145. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +54 -0
  146. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +2 -0
  147. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  148. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +40 -0
  149. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +2 -0
  150. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  151. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
  152. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
  153. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  154. package/dist/lib/components/ContextMenu/index.mjs +2 -0
  155. package/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  156. package/dist/lib/components/DataList/DataListItem.js +43 -0
  157. package/dist/lib/components/DataList/DataListItem.mjs +2 -0
  158. package/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  159. package/dist/lib/components/DataList/DataListLabel.js +49 -0
  160. package/dist/lib/components/DataList/DataListLabel.mjs +2 -0
  161. package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  162. package/dist/lib/components/DataList/DataListRoot.js +54 -0
  163. package/dist/lib/components/DataList/DataListRoot.mjs +2 -0
  164. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
  165. package/dist/lib/components/DataList/DataListValue.js +51 -0
  166. package/dist/lib/components/DataList/DataListValue.mjs +2 -0
  167. package/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  168. package/dist/lib/components/DataList/index.mjs +2 -0
  169. package/dist/lib/components/DataList/index.mjs.map +1 -0
  170. package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
  171. package/dist/lib/components/Dialog/DialogAction.js +59 -0
  172. package/dist/lib/components/Dialog/DialogAction.mjs +2 -0
  173. package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  174. package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
  175. package/dist/lib/components/Dialog/DialogCancel.js +55 -0
  176. package/dist/lib/components/Dialog/DialogCancel.mjs +2 -0
  177. package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  178. package/dist/lib/components/Dialog/DialogContent.js +57 -0
  179. package/dist/lib/components/Dialog/DialogContent.mjs +2 -0
  180. package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  181. package/dist/lib/components/Dialog/DialogDescription.js +47 -0
  182. package/dist/lib/components/Dialog/DialogDescription.mjs +2 -0
  183. package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  184. package/dist/lib/components/Dialog/DialogRoot.mjs +2 -0
  185. package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
  186. package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
  187. package/dist/lib/components/Dialog/DialogSlot.js +46 -0
  188. package/dist/lib/components/Dialog/DialogSlot.mjs +2 -0
  189. package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  190. package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
  191. package/dist/lib/components/Dialog/DialogTitle.js +47 -0
  192. package/dist/lib/components/Dialog/DialogTitle.mjs +2 -0
  193. package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  194. package/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
  195. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  196. package/dist/lib/components/Dialog/index.mjs +2 -0
  197. package/dist/lib/components/Dialog/index.mjs.map +1 -0
  198. package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
  199. package/dist/lib/components/DoughnutChart/index.js +65 -0
  200. package/dist/lib/components/DoughnutChart/index.mjs +2 -0
  201. package/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  202. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
  203. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  204. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +60 -0
  205. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +2 -0
  206. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  207. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +41 -0
  208. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -0
  209. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  210. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +56 -0
  211. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +2 -0
  212. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  213. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
  214. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +58 -0
  215. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +2 -0
  216. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  217. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +48 -0
  218. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +2 -0
  219. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  220. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +45 -0
  221. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +2 -0
  222. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  223. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +41 -0
  224. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +2 -0
  225. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  226. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
  227. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -0
  228. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
  229. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
  230. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
  231. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  232. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
  233. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  234. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +40 -0
  235. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +2 -0
  236. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  237. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
  238. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +53 -0
  239. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +2 -0
  240. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  241. package/dist/lib/components/DropdownMenu/index.mjs +2 -0
  242. package/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  243. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
  244. package/dist/lib/components/HoverCard/HoverCardContent.js +61 -0
  245. package/dist/lib/components/HoverCard/HoverCardContent.mjs +2 -0
  246. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  247. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -0
  248. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
  249. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
  250. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  251. package/dist/lib/components/HoverCard/index.d.ts +10 -0
  252. package/dist/lib/components/HoverCard/index.mjs +2 -0
  253. package/dist/lib/components/HoverCard/index.mjs.map +1 -0
  254. package/dist/lib/components/IconButton/index.d.ts +15 -0
  255. package/dist/lib/components/IconButton/index.js +63 -0
  256. package/dist/lib/components/IconButton/index.mjs +2 -0
  257. package/dist/lib/components/IconButton/index.mjs.map +1 -0
  258. package/dist/lib/components/Inset/index.js +50 -0
  259. package/dist/lib/components/Inset/index.mjs +2 -0
  260. package/dist/lib/components/Inset/index.mjs.map +1 -0
  261. package/dist/lib/components/Label/index.d.ts +17 -0
  262. package/dist/lib/components/Label/index.js +53 -0
  263. package/dist/lib/components/Label/index.mjs +2 -0
  264. package/dist/lib/components/Label/index.mjs.map +1 -0
  265. package/dist/lib/components/LineChart/index.d.ts +43 -0
  266. package/dist/lib/components/LineChart/index.js +61 -0
  267. package/dist/lib/components/LineChart/index.mjs +2 -0
  268. package/dist/lib/components/LineChart/index.mjs.map +1 -0
  269. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +38 -0
  270. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +2 -0
  271. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  272. package/dist/lib/components/Menubar/MenubarContent.js +60 -0
  273. package/dist/lib/components/Menubar/MenubarContent.mjs +2 -0
  274. package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  275. package/dist/lib/components/Menubar/MenubarItem.js +54 -0
  276. package/dist/lib/components/Menubar/MenubarItem.mjs +2 -0
  277. package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  278. package/dist/lib/components/Menubar/MenubarItemIndicator.js +49 -0
  279. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +2 -0
  280. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  281. package/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
  282. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  283. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +2 -0
  284. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
  285. package/dist/lib/components/Menubar/MenubarRadioItem.js +40 -0
  286. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +2 -0
  287. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  288. package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
  289. package/dist/lib/components/Menubar/MenubarRoot.js +61 -0
  290. package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -0
  291. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
  292. package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
  293. package/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
  294. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  295. package/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
  296. package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  297. package/dist/lib/components/Menubar/MenubarSubContent.js +51 -0
  298. package/dist/lib/components/Menubar/MenubarSubContent.mjs +2 -0
  299. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  300. package/dist/lib/components/Menubar/MenubarSubTrigger.js +41 -0
  301. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +2 -0
  302. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  303. package/dist/lib/components/Menubar/MenubarTrigger.js +57 -0
  304. package/dist/lib/components/Menubar/MenubarTrigger.mjs +2 -0
  305. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  306. package/dist/lib/components/Menubar/index.mjs +2 -0
  307. package/dist/lib/components/Menubar/index.mjs.map +1 -0
  308. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +48 -0
  309. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +2 -0
  310. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  311. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
  312. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
  313. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  314. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
  315. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  316. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +51 -0
  317. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +2 -0
  318. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  319. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +47 -0
  320. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +2 -0
  321. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  322. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
  323. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +43 -0
  324. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -0
  325. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
  326. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +58 -0
  327. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +2 -0
  328. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  329. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +53 -0
  330. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +2 -0
  331. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  332. package/dist/lib/components/NavigationMenu/index.mjs +2 -0
  333. package/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  334. package/dist/lib/components/PieChart/index.d.ts +22 -0
  335. package/dist/lib/components/PieChart/index.js +65 -0
  336. package/dist/lib/components/PieChart/index.mjs +2 -0
  337. package/dist/lib/components/PieChart/index.mjs.map +1 -0
  338. package/dist/lib/components/Popover/PopoverClose.js +48 -0
  339. package/dist/lib/components/Popover/PopoverClose.mjs +2 -0
  340. package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  341. package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
  342. package/dist/lib/components/Popover/PopoverContent.js +65 -0
  343. package/dist/lib/components/Popover/PopoverContent.mjs +2 -0
  344. package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  345. package/dist/lib/components/Popover/PopoverRoot.mjs +2 -0
  346. package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
  347. package/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
  348. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  349. package/dist/lib/components/Popover/index.mjs +2 -0
  350. package/dist/lib/components/Popover/index.mjs.map +1 -0
  351. package/dist/lib/components/Progress/index.d.ts +13 -0
  352. package/dist/lib/components/Progress/index.js +56 -0
  353. package/dist/lib/components/Progress/index.mjs +2 -0
  354. package/dist/lib/components/Progress/index.mjs.map +1 -0
  355. package/dist/lib/components/RadarChart/index.d.ts +32 -0
  356. package/dist/lib/components/RadarChart/index.js +76 -0
  357. package/dist/lib/components/RadarChart/index.mjs +2 -0
  358. package/dist/lib/components/RadarChart/index.mjs.map +1 -0
  359. package/dist/lib/components/Radio/index.d.ts +13 -0
  360. package/dist/lib/components/Radio/index.js +53 -0
  361. package/dist/lib/components/Radio/index.mjs +2 -0
  362. package/dist/lib/components/Radio/index.mjs.map +1 -0
  363. package/dist/lib/components/RadioCards/RadioCardsItem.js +54 -0
  364. package/dist/lib/components/RadioCards/RadioCardsItem.mjs +2 -0
  365. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  366. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
  367. package/dist/lib/components/RadioCards/RadioCardsRoot.js +46 -0
  368. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -0
  369. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
  370. package/dist/lib/components/RadioCards/index.d.ts +6 -0
  371. package/dist/lib/components/RadioCards/index.mjs +2 -0
  372. package/dist/lib/components/RadioCards/index.mjs.map +1 -0
  373. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
  374. package/dist/lib/components/RadioGroup/RadioGroupItem.js +46 -0
  375. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +2 -0
  376. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  377. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
  378. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +53 -0
  379. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -0
  380. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
  381. package/dist/lib/components/RadioGroup/index.d.ts +6 -0
  382. package/dist/lib/components/RadioGroup/index.mjs +2 -0
  383. package/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  384. package/dist/lib/components/ScrollArea/index.d.ts +9 -0
  385. package/dist/lib/components/ScrollArea/index.mjs +2 -0
  386. package/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  387. package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
  388. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
  389. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  390. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
  391. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +47 -0
  392. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +2 -0
  393. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  394. package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
  395. package/dist/lib/components/SegmentedControl/index.mjs +2 -0
  396. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  397. package/dist/lib/components/Select/index.d.ts +34 -0
  398. package/dist/lib/components/Select/index.js +92 -0
  399. package/dist/lib/components/Select/index.mjs +2 -0
  400. package/dist/lib/components/Select/index.mjs.map +1 -0
  401. package/dist/lib/components/Separator/index.js +47 -0
  402. package/dist/lib/components/Separator/index.mjs +2 -0
  403. package/dist/lib/components/Separator/index.mjs.map +1 -0
  404. package/dist/lib/components/Skeleton/index.d.ts +14 -0
  405. package/dist/lib/components/Skeleton/index.js +42 -0
  406. package/dist/lib/components/Skeleton/index.mjs +2 -0
  407. package/dist/lib/components/Skeleton/index.mjs.map +1 -0
  408. package/dist/lib/components/Slider/index.d.ts +14 -0
  409. package/dist/lib/components/Slider/index.js +49 -0
  410. package/dist/lib/components/Slider/index.mjs +2 -0
  411. package/dist/lib/components/Slider/index.mjs.map +1 -0
  412. package/dist/lib/components/Spinner/index.d.ts +15 -0
  413. package/dist/lib/components/Spinner/index.js +47 -0
  414. package/dist/lib/components/Spinner/index.mjs +2 -0
  415. package/dist/lib/components/Spinner/index.mjs.map +1 -0
  416. package/dist/lib/components/TabNav/index.js +50 -0
  417. package/dist/lib/components/TabNav/index.mjs +2 -0
  418. package/dist/lib/components/TabNav/index.mjs.map +1 -0
  419. package/dist/lib/components/Table/index.d.ts +30 -0
  420. package/dist/lib/components/Table/index.js +98 -0
  421. package/dist/lib/components/Table/index.mjs +2 -0
  422. package/dist/lib/components/Table/index.mjs.map +1 -0
  423. package/dist/lib/components/Tabs/index.js +65 -0
  424. package/dist/lib/components/Tabs/index.mjs +2 -0
  425. package/dist/lib/components/Tabs/index.mjs.map +1 -0
  426. package/dist/lib/components/TextArea/index.d.ts +16 -0
  427. package/dist/lib/components/TextArea/index.js +58 -0
  428. package/dist/lib/components/TextArea/index.mjs +2 -0
  429. package/dist/lib/components/TextArea/index.mjs.map +1 -0
  430. package/dist/lib/components/TextField/index.d.ts +21 -0
  431. package/dist/lib/components/TextField/index.js +56 -0
  432. package/dist/lib/components/TextField/index.mjs +2 -0
  433. package/dist/lib/components/TextField/index.mjs.map +1 -0
  434. package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
  435. package/dist/lib/components/Toast/ToastActionButton.js +67 -0
  436. package/dist/lib/components/Toast/ToastActionButton.mjs +2 -0
  437. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  438. package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
  439. package/dist/lib/components/Toast/ToastDescription.js +53 -0
  440. package/dist/lib/components/Toast/ToastDescription.mjs +2 -0
  441. package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  442. package/dist/lib/components/Toast/ToastRoot.js +90 -0
  443. package/dist/lib/components/Toast/ToastRoot.mjs +2 -0
  444. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
  445. package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
  446. package/dist/lib/components/Toast/ToastTitle.js +53 -0
  447. package/dist/lib/components/Toast/ToastTitle.mjs +2 -0
  448. package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  449. package/dist/lib/components/Toast/index.mjs +2 -0
  450. package/dist/lib/components/Toast/index.mjs.map +1 -0
  451. package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
  452. package/dist/lib/components/Toggle/ToggleWithText.js +58 -0
  453. package/dist/lib/components/Toggle/ToggleWithText.mjs +2 -0
  454. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  455. package/dist/lib/components/Toggle/index.d.ts +21 -0
  456. package/dist/lib/components/Toggle/index.js +58 -0
  457. package/dist/lib/components/Toggle/index.mjs +2 -0
  458. package/dist/lib/components/Toggle/index.mjs.map +1 -0
  459. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
  460. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +54 -0
  461. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +2 -0
  462. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  463. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
  464. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +48 -0
  465. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -0
  466. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
  467. package/dist/lib/components/ToggleGroup/index.mjs +2 -0
  468. package/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  469. package/dist/lib/components/ToggleSwitch/index.js +71 -0
  470. package/dist/lib/components/ToggleSwitch/index.mjs +2 -0
  471. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  472. package/dist/lib/components/Tooltip/index.d.ts +19 -0
  473. package/dist/lib/components/Tooltip/index.js +49 -0
  474. package/dist/lib/components/Tooltip/index.mjs +2 -0
  475. package/dist/lib/components/Tooltip/index.mjs.map +1 -0
  476. package/dist/lib/constants.js +914 -0
  477. package/dist/lib/constants.mjs +2 -0
  478. package/dist/lib/constants.mjs.map +1 -0
  479. package/dist/lib/index.mjs +2 -0
  480. package/dist/lib/index.mjs.map +1 -0
  481. package/dist/lib/utils/useDarkMode.js +49 -0
  482. package/dist/lib/utils/useDarkMode.mjs +2 -0
  483. package/dist/lib/utils/useDarkMode.mjs.map +1 -0
  484. package/dist/lib/utils/utils.mjs +2 -0
  485. package/dist/lib/utils/utils.mjs.map +1 -0
  486. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +2 -0
  487. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.map +1 -0
  488. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -0
  489. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.map +1 -0
  490. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +2 -0
  491. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.map +1 -0
  492. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +2 -0
  493. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.map +1 -0
  494. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +2 -0
  495. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.map +1 -0
  496. package/dist/node_modules/@kurkle/color/dist/color.esm.mjs +8 -0
  497. package/dist/node_modules/@kurkle/color/dist/color.esm.mjs.map +1 -0
  498. package/dist/node_modules/@radix-ui/number/dist/index.mjs +2 -0
  499. package/dist/node_modules/@radix-ui/number/dist/index.mjs.map +1 -0
  500. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs +2 -0
  501. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.map +1 -0
  502. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs +2 -0
  503. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.map +1 -0
  504. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs +2 -0
  505. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs.map +1 -0
  506. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs +2 -0
  507. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.map +1 -0
  508. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs +2 -0
  509. package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs.map +1 -0
  510. package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs +2 -0
  511. package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.map +1 -0
  512. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs +2 -0
  513. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.map +1 -0
  514. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs +2 -0
  515. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.map +1 -0
  516. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs +2 -0
  517. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.map +1 -0
  518. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +2 -0
  519. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +1 -0
  520. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs +2 -0
  521. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.map +1 -0
  522. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs +2 -0
  523. package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs.map +1 -0
  524. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs +2 -0
  525. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.map +1 -0
  526. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs +2 -0
  527. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.map +1 -0
  528. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +2 -0
  529. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +1 -0
  530. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +2 -0
  531. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.map +1 -0
  532. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +2 -0
  533. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +1 -0
  534. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +2 -0
  535. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map +1 -0
  536. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs +2 -0
  537. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.map +1 -0
  538. package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs +2 -0
  539. package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs.map +1 -0
  540. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs +2 -0
  541. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.map +1 -0
  542. package/dist/node_modules/@radix-ui/react-label/dist/index.mjs +2 -0
  543. package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.map +1 -0
  544. package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs +2 -0
  545. package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.map +1 -0
  546. package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs +2 -0
  547. package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs.map +1 -0
  548. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs +2 -0
  549. package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.map +1 -0
  550. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs +2 -0
  551. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.map +1 -0
  552. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs +2 -0
  553. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.map +1 -0
  554. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs +2 -0
  555. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.map +1 -0
  556. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs +2 -0
  557. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +1 -0
  558. package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs +2 -0
  559. package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.map +1 -0
  560. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs +2 -0
  561. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.map +1 -0
  562. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +2 -0
  563. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +1 -0
  564. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs +2 -0
  565. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.map +1 -0
  566. package/dist/node_modules/@radix-ui/react-select/dist/index.mjs +2 -0
  567. package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.map +1 -0
  568. package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs +2 -0
  569. package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs.map +1 -0
  570. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs +2 -0
  571. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.map +1 -0
  572. package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs +2 -0
  573. package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.map +1 -0
  574. package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs +2 -0
  575. package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +1 -0
  576. package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs +2 -0
  577. package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs.map +1 -0
  578. package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs +2 -0
  579. package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.map +1 -0
  580. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs +2 -0
  581. package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.map +1 -0
  582. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs +2 -0
  583. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.map +1 -0
  584. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +2 -0
  585. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +1 -0
  586. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +2 -0
  587. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +1 -0
  588. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +2 -0
  589. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +1 -0
  590. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +2 -0
  591. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +1 -0
  592. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs +2 -0
  593. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +1 -0
  594. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs +2 -0
  595. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +1 -0
  596. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +2 -0
  597. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +1 -0
  598. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs +2 -0
  599. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs.map +1 -0
  600. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs +2 -0
  601. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs.map +1 -0
  602. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs +2 -0
  603. package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs.map +1 -0
  604. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs +2 -0
  605. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs.map +1 -0
  606. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs +2 -0
  607. package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs.map +1 -0
  608. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs +2 -0
  609. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs.map +1 -0
  610. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs +2 -0
  611. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs.map +1 -0
  612. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs +2 -0
  613. package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs.map +1 -0
  614. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs +2 -0
  615. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs.map +1 -0
  616. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs +2 -0
  617. package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs.map +1 -0
  618. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs +2 -0
  619. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs.map +1 -0
  620. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs +2 -0
  621. package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs.map +1 -0
  622. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs +2 -0
  623. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs.map +1 -0
  624. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs +2 -0
  625. package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs.map +1 -0
  626. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs +2 -0
  627. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs.map +1 -0
  628. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs +2 -0
  629. package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs.map +1 -0
  630. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs +2 -0
  631. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs.map +1 -0
  632. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs +2 -0
  633. package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs.map +1 -0
  634. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs +2 -0
  635. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs.map +1 -0
  636. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs +2 -0
  637. package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs.map +1 -0
  638. package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs +2 -0
  639. package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs.map +1 -0
  640. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs +2 -0
  641. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs.map +1 -0
  642. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs +2 -0
  643. package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs.map +1 -0
  644. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs +2 -0
  645. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs.map +1 -0
  646. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs +2 -0
  647. package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs.map +1 -0
  648. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs +2 -0
  649. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs.map +1 -0
  650. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs +2 -0
  651. package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs.map +1 -0
  652. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs +2 -0
  653. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs.map +1 -0
  654. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs +2 -0
  655. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs.map +1 -0
  656. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs +2 -0
  657. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs.map +1 -0
  658. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs +2 -0
  659. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs.map +1 -0
  660. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs +2 -0
  661. package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs.map +1 -0
  662. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs +2 -0
  663. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs.map +1 -0
  664. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs +2 -0
  665. package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs.map +1 -0
  666. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs +2 -0
  667. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs.map +1 -0
  668. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs +2 -0
  669. package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs.map +1 -0
  670. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs +2 -0
  671. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs.map +1 -0
  672. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs +2 -0
  673. package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs.map +1 -0
  674. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs +2 -0
  675. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs.map +1 -0
  676. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs +2 -0
  677. package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs.map +1 -0
  678. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs +2 -0
  679. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs.map +1 -0
  680. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs +2 -0
  681. package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs.map +1 -0
  682. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs +2 -0
  683. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs.map +1 -0
  684. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs +2 -0
  685. package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs.map +1 -0
  686. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs +2 -0
  687. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs.map +1 -0
  688. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs +2 -0
  689. package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs.map +1 -0
  690. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs +2 -0
  691. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs.map +1 -0
  692. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs +2 -0
  693. package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs.map +1 -0
  694. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs +2 -0
  695. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs.map +1 -0
  696. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs +2 -0
  697. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs.map +1 -0
  698. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs +2 -0
  699. package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs.map +1 -0
  700. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs +2 -0
  701. package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs.map +1 -0
  702. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs +2 -0
  703. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs.map +1 -0
  704. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs +2 -0
  705. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs.map +1 -0
  706. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs +2 -0
  707. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs.map +1 -0
  708. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs +2 -0
  709. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs.map +1 -0
  710. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs +2 -0
  711. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs.map +1 -0
  712. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs +2 -0
  713. package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs.map +1 -0
  714. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs +2 -0
  715. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs.map +1 -0
  716. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs +2 -0
  717. package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs.map +1 -0
  718. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs +2 -0
  719. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs.map +1 -0
  720. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs +2 -0
  721. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs.map +1 -0
  722. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs +2 -0
  723. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs.map +1 -0
  724. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs +2 -0
  725. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs.map +1 -0
  726. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs +2 -0
  727. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs.map +1 -0
  728. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs +2 -0
  729. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs.map +1 -0
  730. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs +2 -0
  731. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs.map +1 -0
  732. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs +2 -0
  733. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs.map +1 -0
  734. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs +2 -0
  735. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs.map +1 -0
  736. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs +2 -0
  737. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs.map +1 -0
  738. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs +2 -0
  739. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs.map +1 -0
  740. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs +2 -0
  741. package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs.map +1 -0
  742. package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs +2 -0
  743. package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs.map +1 -0
  744. package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs +2 -0
  745. package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs.map +1 -0
  746. package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs +2 -0
  747. package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs.map +1 -0
  748. package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs +2 -0
  749. package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs.map +1 -0
  750. package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs +2 -0
  751. package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs.map +1 -0
  752. package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs +2 -0
  753. package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs.map +1 -0
  754. package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs +2 -0
  755. package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs.map +1 -0
  756. package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs +2 -0
  757. package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs.map +1 -0
  758. package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs +2 -0
  759. package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs.map +1 -0
  760. package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs +2 -0
  761. package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs.map +1 -0
  762. package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs +2 -0
  763. package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs.map +1 -0
  764. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs +2 -0
  765. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs.map +1 -0
  766. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs +2 -0
  767. package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs.map +1 -0
  768. package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs +2 -0
  769. package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs.map +1 -0
  770. package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs +2 -0
  771. package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs.map +1 -0
  772. package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs +2 -0
  773. package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs.map +1 -0
  774. package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs +2 -0
  775. package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.map +1 -0
  776. package/dist/node_modules/aria-hidden/dist/es2015/index.mjs +2 -0
  777. package/dist/node_modules/aria-hidden/dist/es2015/index.mjs.map +1 -0
  778. package/dist/node_modules/chart.js/auto/auto.mjs +2 -0
  779. package/dist/node_modules/chart.js/auto/auto.mjs.map +1 -0
  780. package/dist/node_modules/chart.js/dist/chart.mjs +8 -0
  781. package/dist/node_modules/chart.js/dist/chart.mjs.map +1 -0
  782. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs +8 -0
  783. package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs.map +1 -0
  784. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +8 -0
  785. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map +1 -0
  786. package/dist/node_modules/class-variance-authority/dist/index.mjs +2 -0
  787. package/dist/node_modules/class-variance-authority/dist/index.mjs.map +1 -0
  788. package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs +2 -0
  789. package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.map +1 -0
  790. package/dist/node_modules/classnames/index.mjs +7 -0
  791. package/dist/node_modules/classnames/index.mjs.map +1 -0
  792. package/dist/node_modules/clsx/dist/clsx.mjs +2 -0
  793. package/dist/node_modules/clsx/dist/clsx.mjs.map +1 -0
  794. package/dist/node_modules/get-nonce/dist/es2015/index.mjs +2 -0
  795. package/dist/node_modules/get-nonce/dist/es2015/index.mjs.map +1 -0
  796. package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +11 -0
  797. package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs.map +1 -0
  798. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +11 -0
  799. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs.map +1 -0
  800. package/dist/node_modules/react/jsx-runtime.mjs +2 -0
  801. package/dist/node_modules/react/jsx-runtime.mjs.map +1 -0
  802. package/dist/node_modules/react-chartjs-2/dist/index.mjs +2 -0
  803. package/dist/node_modules/react-chartjs-2/dist/index.mjs.map +1 -0
  804. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +2 -0
  805. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs.map +1 -0
  806. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +2 -0
  807. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs.map +1 -0
  808. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs +2 -0
  809. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs.map +1 -0
  810. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +2 -0
  811. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs.map +1 -0
  812. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +2 -0
  813. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs.map +1 -0
  814. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs +2 -0
  815. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs.map +1 -0
  816. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +2 -0
  817. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs.map +1 -0
  818. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +2 -0
  819. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs.map +1 -0
  820. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +2 -0
  821. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs.map +1 -0
  822. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +2 -0
  823. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs.map +1 -0
  824. package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs +2 -0
  825. package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs.map +1 -0
  826. package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs +2 -0
  827. package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs.map +1 -0
  828. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs +2 -0
  829. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs.map +1 -0
  830. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs +2 -0
  831. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +1 -0
  832. package/dist/node_modules/tslib/tslib.es6.mjs +2 -0
  833. package/dist/node_modules/tslib/tslib.es6.mjs.map +1 -0
  834. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +2 -0
  835. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs.map +1 -0
  836. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +2 -0
  837. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs.map +1 -0
  838. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs +2 -0
  839. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs.map +1 -0
  840. package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs +2 -0
  841. package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs.map +1 -0
  842. package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs +2 -0
  843. package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs.map +1 -0
  844. package/dist/tailwind.config.js +2 -5
  845. package/dist/tsconfig.tsbuildinfo +1 -0
  846. package/package.json +20 -26
  847. package/dist/cjs/lib/Typography/Header/index.d.ts +0 -13
  848. package/dist/cjs/lib/Typography/Header/index.js +0 -61
  849. package/dist/cjs/lib/Typography/Text/index.d.ts +0 -15
  850. package/dist/cjs/lib/Typography/Text/index.js +0 -47
  851. package/dist/cjs/lib/Typography/index.js +0 -10
  852. package/dist/cjs/lib/color/alpha.js +0 -788
  853. package/dist/cjs/lib/color/constants.js +0 -299
  854. package/dist/cjs/lib/color/dark.js +0 -395
  855. package/dist/cjs/lib/color/krdsColors.js +0 -312
  856. package/dist/cjs/lib/color/light.js +0 -396
  857. package/dist/cjs/lib/components/Accordion/index.d.ts +0 -22
  858. package/dist/cjs/lib/components/Accordion/index.js +0 -93
  859. package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
  860. package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.js +0 -87
  861. package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
  862. package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.js +0 -86
  863. package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.js +0 -77
  864. package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.js +0 -73
  865. package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
  866. package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.js +0 -73
  867. package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.js +0 -73
  868. package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
  869. package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.js +0 -81
  870. package/dist/cjs/lib/components/AlertDialog/index.js +0 -19
  871. package/dist/cjs/lib/components/AspectRatio/index.js +0 -68
  872. package/dist/cjs/lib/components/Avatar/index.js +0 -83
  873. package/dist/cjs/lib/components/Badge/index.d.ts +0 -18
  874. package/dist/cjs/lib/components/Badge/index.js +0 -56
  875. package/dist/cjs/lib/components/BarChart/index.d.ts +0 -37
  876. package/dist/cjs/lib/components/BarChart/index.js +0 -65
  877. package/dist/cjs/lib/components/BubbleChart/index.d.ts +0 -28
  878. package/dist/cjs/lib/components/BubbleChart/index.js +0 -80
  879. package/dist/cjs/lib/components/Button/index.d.ts +0 -16
  880. package/dist/cjs/lib/components/Button/index.js +0 -59
  881. package/dist/cjs/lib/components/Callout/CalloutIcon.js +0 -60
  882. package/dist/cjs/lib/components/Callout/CalloutRoot.d.ts +0 -18
  883. package/dist/cjs/lib/components/Callout/CalloutRoot.js +0 -76
  884. package/dist/cjs/lib/components/Callout/CalloutText.js +0 -55
  885. package/dist/cjs/lib/components/Callout/index.js +0 -11
  886. package/dist/cjs/lib/components/Card/index.d.ts +0 -14
  887. package/dist/cjs/lib/components/Card/index.js +0 -66
  888. package/dist/cjs/lib/components/Checkbox/index.d.ts +0 -17
  889. package/dist/cjs/lib/components/Checkbox/index.js +0 -115
  890. package/dist/cjs/lib/components/CheckboxCard/index.d.ts +0 -20
  891. package/dist/cjs/lib/components/CheckboxCard/index.js +0 -64
  892. package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
  893. package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -39
  894. package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
  895. package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -61
  896. package/dist/cjs/lib/components/CheckboxGroup/index.d.ts +0 -6
  897. package/dist/cjs/lib/components/CheckboxGroup/index.js +0 -6
  898. package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -68
  899. package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.js +0 -82
  900. package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.js +0 -56
  901. package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.js +0 -85
  902. package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -76
  903. package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.js +0 -74
  904. package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.js +0 -57
  905. package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -70
  906. package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
  907. package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.js +0 -69
  908. package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.js +0 -57
  909. package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.js +0 -80
  910. package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -66
  911. package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.js +0 -57
  912. package/dist/cjs/lib/components/ContextMenu/index.js +0 -31
  913. package/dist/cjs/lib/components/DataList/DataListItem.js +0 -46
  914. package/dist/cjs/lib/components/DataList/DataListLabel.js +0 -52
  915. package/dist/cjs/lib/components/DataList/DataListRoot.js +0 -58
  916. package/dist/cjs/lib/components/DataList/DataListValue.js +0 -54
  917. package/dist/cjs/lib/components/DataList/index.js +0 -8
  918. package/dist/cjs/lib/components/Dialog/DialogAction.d.ts +0 -13
  919. package/dist/cjs/lib/components/Dialog/DialogAction.js +0 -62
  920. package/dist/cjs/lib/components/Dialog/DialogCancel.d.ts +0 -11
  921. package/dist/cjs/lib/components/Dialog/DialogCancel.js +0 -58
  922. package/dist/cjs/lib/components/Dialog/DialogContent.js +0 -60
  923. package/dist/cjs/lib/components/Dialog/DialogDescription.js +0 -50
  924. package/dist/cjs/lib/components/Dialog/DialogRoot.js +0 -41
  925. package/dist/cjs/lib/components/Dialog/DialogSlot.d.ts +0 -9
  926. package/dist/cjs/lib/components/Dialog/DialogSlot.js +0 -49
  927. package/dist/cjs/lib/components/Dialog/DialogTitle.d.ts +0 -11
  928. package/dist/cjs/lib/components/Dialog/DialogTitle.js +0 -50
  929. package/dist/cjs/lib/components/Dialog/DialogTrigger.js +0 -33
  930. package/dist/cjs/lib/components/Dialog/index.js +0 -21
  931. package/dist/cjs/lib/components/DoughnutChart/index.d.ts +0 -22
  932. package/dist/cjs/lib/components/DoughnutChart/index.js +0 -70
  933. package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -56
  934. package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -86
  935. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -67
  936. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.js +0 -82
  937. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
  938. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.js +0 -84
  939. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -74
  940. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.js +0 -71
  941. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -67
  942. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
  943. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.js +0 -65
  944. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -57
  945. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.js +0 -56
  946. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -66
  947. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
  948. package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -79
  949. package/dist/cjs/lib/components/DropdownMenu/index.js +0 -31
  950. package/dist/cjs/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
  951. package/dist/cjs/lib/components/HoverCard/HoverCardContent.js +0 -64
  952. package/dist/cjs/lib/components/HoverCard/HoverCardRoot.js +0 -42
  953. package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.js +0 -33
  954. package/dist/cjs/lib/components/HoverCard/index.d.ts +0 -10
  955. package/dist/cjs/lib/components/HoverCard/index.js +0 -11
  956. package/dist/cjs/lib/components/IconButton/index.d.ts +0 -15
  957. package/dist/cjs/lib/components/IconButton/index.js +0 -89
  958. package/dist/cjs/lib/components/Inset/index.js +0 -53
  959. package/dist/cjs/lib/components/Label/index.d.ts +0 -17
  960. package/dist/cjs/lib/components/Label/index.js +0 -82
  961. package/dist/cjs/lib/components/LineChart/index.d.ts +0 -43
  962. package/dist/cjs/lib/components/LineChart/index.js +0 -63
  963. package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.js +0 -64
  964. package/dist/cjs/lib/components/Menubar/MenubarContent.js +0 -86
  965. package/dist/cjs/lib/components/Menubar/MenubarItem.js +0 -80
  966. package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.js +0 -75
  967. package/dist/cjs/lib/components/Menubar/MenubarMenu.js +0 -56
  968. package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.js +0 -57
  969. package/dist/cjs/lib/components/Menubar/MenubarRadioItem.js +0 -66
  970. package/dist/cjs/lib/components/Menubar/MenubarRoot.d.ts +0 -19
  971. package/dist/cjs/lib/components/Menubar/MenubarRoot.js +0 -88
  972. package/dist/cjs/lib/components/Menubar/MenubarSeparator.js +0 -57
  973. package/dist/cjs/lib/components/Menubar/MenubarSub.js +0 -56
  974. package/dist/cjs/lib/components/Menubar/MenubarSubContent.js +0 -77
  975. package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.js +0 -67
  976. package/dist/cjs/lib/components/Menubar/MenubarTrigger.js +0 -83
  977. package/dist/cjs/lib/components/Menubar/index.js +0 -31
  978. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.js +0 -74
  979. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -57
  980. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.js +0 -56
  981. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.js +0 -77
  982. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.js +0 -73
  983. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
  984. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -70
  985. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -84
  986. package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -79
  987. package/dist/cjs/lib/components/NavigationMenu/index.js +0 -12
  988. package/dist/cjs/lib/components/PieChart/index.d.ts +0 -22
  989. package/dist/cjs/lib/components/PieChart/index.js +0 -70
  990. package/dist/cjs/lib/components/Popover/PopoverClose.js +0 -51
  991. package/dist/cjs/lib/components/Popover/PopoverContent.d.ts +0 -11
  992. package/dist/cjs/lib/components/Popover/PopoverContent.js +0 -68
  993. package/dist/cjs/lib/components/Popover/PopoverRoot.js +0 -40
  994. package/dist/cjs/lib/components/Popover/PopoverTrigger.js +0 -33
  995. package/dist/cjs/lib/components/Popover/index.js +0 -13
  996. package/dist/cjs/lib/components/Progress/index.d.ts +0 -13
  997. package/dist/cjs/lib/components/Progress/index.js +0 -59
  998. package/dist/cjs/lib/components/RadarChart/index.d.ts +0 -32
  999. package/dist/cjs/lib/components/RadarChart/index.js +0 -83
  1000. package/dist/cjs/lib/components/Radio/index.d.ts +0 -13
  1001. package/dist/cjs/lib/components/Radio/index.js +0 -59
  1002. package/dist/cjs/lib/components/RadioCards/RadioCardsItem.js +0 -57
  1003. package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
  1004. package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.js +0 -49
  1005. package/dist/cjs/lib/components/RadioCards/index.d.ts +0 -6
  1006. package/dist/cjs/lib/components/RadioCards/index.js +0 -9
  1007. package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
  1008. package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.js +0 -49
  1009. package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
  1010. package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.js +0 -56
  1011. package/dist/cjs/lib/components/RadioGroup/index.d.ts +0 -6
  1012. package/dist/cjs/lib/components/RadioGroup/index.js +0 -9
  1013. package/dist/cjs/lib/components/ScrollArea/index.d.ts +0 -9
  1014. package/dist/cjs/lib/components/ScrollArea/index.js +0 -39
  1015. package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.js +0 -38
  1016. package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
  1017. package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -76
  1018. package/dist/cjs/lib/components/SegmentedControl/index.d.ts +0 -6
  1019. package/dist/cjs/lib/components/SegmentedControl/index.js +0 -9
  1020. package/dist/cjs/lib/components/Select/index.d.ts +0 -34
  1021. package/dist/cjs/lib/components/Select/index.js +0 -98
  1022. package/dist/cjs/lib/components/Separator/index.js +0 -53
  1023. package/dist/cjs/lib/components/Skeleton/index.d.ts +0 -14
  1024. package/dist/cjs/lib/components/Skeleton/index.js +0 -48
  1025. package/dist/cjs/lib/components/Slider/index.d.ts +0 -14
  1026. package/dist/cjs/lib/components/Slider/index.js +0 -55
  1027. package/dist/cjs/lib/components/Spinner/index.d.ts +0 -15
  1028. package/dist/cjs/lib/components/Spinner/index.js +0 -53
  1029. package/dist/cjs/lib/components/TabNav/index.js +0 -56
  1030. package/dist/cjs/lib/components/Table/index.d.ts +0 -30
  1031. package/dist/cjs/lib/components/Table/index.js +0 -104
  1032. package/dist/cjs/lib/components/Tabs/index.js +0 -71
  1033. package/dist/cjs/lib/components/TextArea/index.d.ts +0 -16
  1034. package/dist/cjs/lib/components/TextArea/index.js +0 -64
  1035. package/dist/cjs/lib/components/TextField/index.d.ts +0 -21
  1036. package/dist/cjs/lib/components/TextField/index.js +0 -62
  1037. package/dist/cjs/lib/components/Toast/ToastActionButton.d.ts +0 -14
  1038. package/dist/cjs/lib/components/Toast/ToastActionButton.js +0 -96
  1039. package/dist/cjs/lib/components/Toast/ToastDescription.d.ts +0 -13
  1040. package/dist/cjs/lib/components/Toast/ToastDescription.js +0 -79
  1041. package/dist/cjs/lib/components/Toast/ToastRoot.js +0 -117
  1042. package/dist/cjs/lib/components/Toast/ToastTitle.d.ts +0 -13
  1043. package/dist/cjs/lib/components/Toast/ToastTitle.js +0 -79
  1044. package/dist/cjs/lib/components/Toast/index.js +0 -13
  1045. package/dist/cjs/lib/components/Toggle/ToggleWithText.d.ts +0 -21
  1046. package/dist/cjs/lib/components/Toggle/ToggleWithText.js +0 -84
  1047. package/dist/cjs/lib/components/Toggle/index.d.ts +0 -21
  1048. package/dist/cjs/lib/components/Toggle/index.js +0 -87
  1049. package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
  1050. package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.js +0 -80
  1051. package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
  1052. package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -74
  1053. package/dist/cjs/lib/components/ToggleGroup/index.js +0 -9
  1054. package/dist/cjs/lib/components/ToggleSwitch/index.js +0 -77
  1055. package/dist/cjs/lib/components/Tooltip/index.d.ts +0 -19
  1056. package/dist/cjs/lib/components/Tooltip/index.js +0 -77
  1057. package/dist/cjs/lib/components/index.js +0 -108
  1058. package/dist/cjs/lib/constants.js +0 -950
  1059. package/dist/cjs/lib/index.js +0 -18
  1060. package/dist/cjs/lib/types.js +0 -2
  1061. package/dist/cjs/lib/utils/useDarkMode.js +0 -53
  1062. package/dist/cjs/lib/utils/utils.js +0 -14
  1063. package/dist/esm/lib/Typography/Header/index.d.ts +0 -13
  1064. package/dist/esm/lib/Typography/Header/index.js +0 -55
  1065. package/dist/esm/lib/Typography/Text/index.d.ts +0 -15
  1066. package/dist/esm/lib/Typography/Text/index.js +0 -44
  1067. package/dist/esm/lib/Typography/index.d.ts +0 -2
  1068. package/dist/esm/lib/color/alpha.d.ts +0 -784
  1069. package/dist/esm/lib/color/constants.d.ts +0 -29
  1070. package/dist/esm/lib/color/dark.d.ts +0 -392
  1071. package/dist/esm/lib/color/krdsColors.d.ts +0 -309
  1072. package/dist/esm/lib/color/light.d.ts +0 -392
  1073. package/dist/esm/lib/components/Accordion/index.d.ts +0 -22
  1074. package/dist/esm/lib/components/Accordion/index.js +0 -64
  1075. package/dist/esm/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
  1076. package/dist/esm/lib/components/AlertDialog/AlertDialogAction.js +0 -61
  1077. package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
  1078. package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.js +0 -60
  1079. package/dist/esm/lib/components/AlertDialog/AlertDialogContent.d.ts +0 -11
  1080. package/dist/esm/lib/components/AlertDialog/AlertDialogContent.js +0 -51
  1081. package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.d.ts +0 -10
  1082. package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.js +0 -47
  1083. package/dist/esm/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
  1084. package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.d.ts +0 -10
  1085. package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.js +0 -47
  1086. package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
  1087. package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.js +0 -55
  1088. package/dist/esm/lib/components/AlertDialog/index.d.ts +0 -11
  1089. package/dist/esm/lib/components/AspectRatio/index.d.ts +0 -10
  1090. package/dist/esm/lib/components/AspectRatio/index.js +0 -42
  1091. package/dist/esm/lib/components/Avatar/index.d.ts +0 -21
  1092. package/dist/esm/lib/components/Avatar/index.js +0 -58
  1093. package/dist/esm/lib/components/Badge/index.d.ts +0 -18
  1094. package/dist/esm/lib/components/Badge/index.js +0 -54
  1095. package/dist/esm/lib/components/BarChart/index.d.ts +0 -37
  1096. package/dist/esm/lib/components/BarChart/index.js +0 -63
  1097. package/dist/esm/lib/components/BubbleChart/index.d.ts +0 -28
  1098. package/dist/esm/lib/components/BubbleChart/index.js +0 -73
  1099. package/dist/esm/lib/components/Button/index.d.ts +0 -16
  1100. package/dist/esm/lib/components/Button/index.js +0 -56
  1101. package/dist/esm/lib/components/Callout/CalloutIcon.d.ts +0 -13
  1102. package/dist/esm/lib/components/Callout/CalloutIcon.js +0 -57
  1103. package/dist/esm/lib/components/Callout/CalloutRoot.d.ts +0 -18
  1104. package/dist/esm/lib/components/Callout/CalloutRoot.js +0 -72
  1105. package/dist/esm/lib/components/Callout/CalloutText.d.ts +0 -10
  1106. package/dist/esm/lib/components/Callout/CalloutText.js +0 -52
  1107. package/dist/esm/lib/components/Callout/index.d.ts +0 -7
  1108. package/dist/esm/lib/components/Card/index.d.ts +0 -14
  1109. package/dist/esm/lib/components/Card/index.js +0 -64
  1110. package/dist/esm/lib/components/Checkbox/index.d.ts +0 -17
  1111. package/dist/esm/lib/components/Checkbox/index.js +0 -89
  1112. package/dist/esm/lib/components/CheckboxCard/index.d.ts +0 -20
  1113. package/dist/esm/lib/components/CheckboxCard/index.js +0 -58
  1114. package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
  1115. package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -33
  1116. package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
  1117. package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -34
  1118. package/dist/esm/lib/components/CheckboxGroup/index.d.ts +0 -6
  1119. package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -4
  1120. package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -42
  1121. package/dist/esm/lib/components/ContextMenu/ContextMenuContent.d.ts +0 -11
  1122. package/dist/esm/lib/components/ContextMenu/ContextMenuContent.js +0 -56
  1123. package/dist/esm/lib/components/ContextMenu/ContextMenuGroup.d.ts +0 -4
  1124. package/dist/esm/lib/components/ContextMenu/ContextMenuItem.d.ts +0 -13
  1125. package/dist/esm/lib/components/ContextMenu/ContextMenuItem.js +0 -59
  1126. package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -10
  1127. package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -50
  1128. package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.d.ts +0 -11
  1129. package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.js +0 -48
  1130. package/dist/esm/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -8
  1131. package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -4
  1132. package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -44
  1133. package/dist/esm/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
  1134. package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.d.ts +0 -3
  1135. package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.js +0 -31
  1136. package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.d.ts +0 -11
  1137. package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.js +0 -54
  1138. package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -4
  1139. package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -40
  1140. package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.d.ts +0 -4
  1141. package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.js +0 -31
  1142. package/dist/esm/lib/components/ContextMenu/index.d.ts +0 -17
  1143. package/dist/esm/lib/components/DataList/DataListItem.d.ts +0 -9
  1144. package/dist/esm/lib/components/DataList/DataListItem.js +0 -43
  1145. package/dist/esm/lib/components/DataList/DataListLabel.d.ts +0 -10
  1146. package/dist/esm/lib/components/DataList/DataListLabel.js +0 -49
  1147. package/dist/esm/lib/components/DataList/DataListRoot.d.ts +0 -14
  1148. package/dist/esm/lib/components/DataList/DataListRoot.js +0 -54
  1149. package/dist/esm/lib/components/DataList/DataListValue.d.ts +0 -11
  1150. package/dist/esm/lib/components/DataList/DataListValue.js +0 -51
  1151. package/dist/esm/lib/components/DataList/index.d.ts +0 -8
  1152. package/dist/esm/lib/components/Dialog/DialogAction.d.ts +0 -13
  1153. package/dist/esm/lib/components/Dialog/DialogAction.js +0 -59
  1154. package/dist/esm/lib/components/Dialog/DialogCancel.d.ts +0 -11
  1155. package/dist/esm/lib/components/Dialog/DialogCancel.js +0 -55
  1156. package/dist/esm/lib/components/Dialog/DialogContent.d.ts +0 -11
  1157. package/dist/esm/lib/components/Dialog/DialogContent.js +0 -57
  1158. package/dist/esm/lib/components/Dialog/DialogDescription.d.ts +0 -9
  1159. package/dist/esm/lib/components/Dialog/DialogDescription.js +0 -47
  1160. package/dist/esm/lib/components/Dialog/DialogRoot.d.ts +0 -15
  1161. package/dist/esm/lib/components/Dialog/DialogSlot.d.ts +0 -9
  1162. package/dist/esm/lib/components/Dialog/DialogSlot.js +0 -46
  1163. package/dist/esm/lib/components/Dialog/DialogTitle.d.ts +0 -11
  1164. package/dist/esm/lib/components/Dialog/DialogTitle.js +0 -47
  1165. package/dist/esm/lib/components/Dialog/DialogTrigger.d.ts +0 -3
  1166. package/dist/esm/lib/components/Dialog/index.d.ts +0 -15
  1167. package/dist/esm/lib/components/DoughnutChart/index.d.ts +0 -22
  1168. package/dist/esm/lib/components/DoughnutChart/index.js +0 -65
  1169. package/dist/esm/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -3
  1170. package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -11
  1171. package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -60
  1172. package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -7
  1173. package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -41
  1174. package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.d.ts +0 -11
  1175. package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.js +0 -56
  1176. package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
  1177. package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.js +0 -58
  1178. package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -10
  1179. package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -48
  1180. package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -10
  1181. package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.js +0 -45
  1182. package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -6
  1183. package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -41
  1184. package/dist/esm/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
  1185. package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -3
  1186. package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -31
  1187. package/dist/esm/lib/components/DropdownMenu/DropdownMenuSub.d.ts +0 -3
  1188. package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -4
  1189. package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -40
  1190. package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
  1191. package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -53
  1192. package/dist/esm/lib/components/DropdownMenu/index.d.ts +0 -20
  1193. package/dist/esm/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
  1194. package/dist/esm/lib/components/HoverCard/HoverCardContent.js +0 -61
  1195. package/dist/esm/lib/components/HoverCard/HoverCardRoot.d.ts +0 -11
  1196. package/dist/esm/lib/components/HoverCard/HoverCardTrigger.d.ts +0 -3
  1197. package/dist/esm/lib/components/HoverCard/index.d.ts +0 -10
  1198. package/dist/esm/lib/components/IconButton/index.d.ts +0 -15
  1199. package/dist/esm/lib/components/IconButton/index.js +0 -63
  1200. package/dist/esm/lib/components/Inset/index.d.ts +0 -10
  1201. package/dist/esm/lib/components/Inset/index.js +0 -50
  1202. package/dist/esm/lib/components/Label/index.d.ts +0 -17
  1203. package/dist/esm/lib/components/Label/index.js +0 -53
  1204. package/dist/esm/lib/components/LineChart/index.d.ts +0 -43
  1205. package/dist/esm/lib/components/LineChart/index.js +0 -61
  1206. package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.d.ts +0 -4
  1207. package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.js +0 -38
  1208. package/dist/esm/lib/components/Menubar/MenubarContent.d.ts +0 -11
  1209. package/dist/esm/lib/components/Menubar/MenubarContent.js +0 -60
  1210. package/dist/esm/lib/components/Menubar/MenubarItem.d.ts +0 -13
  1211. package/dist/esm/lib/components/Menubar/MenubarItem.js +0 -54
  1212. package/dist/esm/lib/components/Menubar/MenubarItemIndicator.d.ts +0 -10
  1213. package/dist/esm/lib/components/Menubar/MenubarItemIndicator.js +0 -49
  1214. package/dist/esm/lib/components/Menubar/MenubarMenu.d.ts +0 -5
  1215. package/dist/esm/lib/components/Menubar/MenubarRadioGroup.d.ts +0 -8
  1216. package/dist/esm/lib/components/Menubar/MenubarRadioItem.d.ts +0 -4
  1217. package/dist/esm/lib/components/Menubar/MenubarRadioItem.js +0 -40
  1218. package/dist/esm/lib/components/Menubar/MenubarRoot.d.ts +0 -19
  1219. package/dist/esm/lib/components/Menubar/MenubarRoot.js +0 -61
  1220. package/dist/esm/lib/components/Menubar/MenubarSeparator.d.ts +0 -3
  1221. package/dist/esm/lib/components/Menubar/MenubarSeparator.js +0 -31
  1222. package/dist/esm/lib/components/Menubar/MenubarSub.d.ts +0 -3
  1223. package/dist/esm/lib/components/Menubar/MenubarSubContent.d.ts +0 -10
  1224. package/dist/esm/lib/components/Menubar/MenubarSubContent.js +0 -51
  1225. package/dist/esm/lib/components/Menubar/MenubarSubTrigger.d.ts +0 -4
  1226. package/dist/esm/lib/components/Menubar/MenubarSubTrigger.js +0 -41
  1227. package/dist/esm/lib/components/Menubar/MenubarTrigger.d.ts +0 -12
  1228. package/dist/esm/lib/components/Menubar/MenubarTrigger.js +0 -57
  1229. package/dist/esm/lib/components/Menubar/index.d.ts +0 -19
  1230. package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.d.ts +0 -11
  1231. package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.js +0 -48
  1232. package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -3
  1233. package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  1234. package/dist/esm/lib/components/NavigationMenu/NavigationMenuItem.d.ts +0 -3
  1235. package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.d.ts +0 -13
  1236. package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.js +0 -51
  1237. package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.d.ts +0 -12
  1238. package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.js +0 -47
  1239. package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
  1240. package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -43
  1241. package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -13
  1242. package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -58
  1243. package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -12
  1244. package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -53
  1245. package/dist/esm/lib/components/NavigationMenu/index.d.ts +0 -12
  1246. package/dist/esm/lib/components/PieChart/index.d.ts +0 -22
  1247. package/dist/esm/lib/components/PieChart/index.js +0 -65
  1248. package/dist/esm/lib/components/Popover/PopoverClose.d.ts +0 -9
  1249. package/dist/esm/lib/components/Popover/PopoverClose.js +0 -48
  1250. package/dist/esm/lib/components/Popover/PopoverContent.d.ts +0 -11
  1251. package/dist/esm/lib/components/Popover/PopoverContent.js +0 -65
  1252. package/dist/esm/lib/components/Popover/PopoverRoot.d.ts +0 -12
  1253. package/dist/esm/lib/components/Popover/PopoverTrigger.d.ts +0 -3
  1254. package/dist/esm/lib/components/Popover/index.d.ts +0 -11
  1255. package/dist/esm/lib/components/Progress/index.d.ts +0 -13
  1256. package/dist/esm/lib/components/Progress/index.js +0 -56
  1257. package/dist/esm/lib/components/RadarChart/index.d.ts +0 -32
  1258. package/dist/esm/lib/components/RadarChart/index.js +0 -76
  1259. package/dist/esm/lib/components/Radio/index.d.ts +0 -13
  1260. package/dist/esm/lib/components/Radio/index.js +0 -53
  1261. package/dist/esm/lib/components/RadioCards/RadioCardsItem.d.ts +0 -10
  1262. package/dist/esm/lib/components/RadioCards/RadioCardsItem.js +0 -54
  1263. package/dist/esm/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
  1264. package/dist/esm/lib/components/RadioCards/RadioCardsRoot.js +0 -46
  1265. package/dist/esm/lib/components/RadioCards/index.d.ts +0 -6
  1266. package/dist/esm/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
  1267. package/dist/esm/lib/components/RadioGroup/RadioGroupItem.js +0 -46
  1268. package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
  1269. package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.js +0 -53
  1270. package/dist/esm/lib/components/RadioGroup/index.d.ts +0 -6
  1271. package/dist/esm/lib/components/ScrollArea/index.d.ts +0 -9
  1272. package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.d.ts +0 -6
  1273. package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.js +0 -35
  1274. package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
  1275. package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -47
  1276. package/dist/esm/lib/components/SegmentedControl/index.d.ts +0 -6
  1277. package/dist/esm/lib/components/Select/index.d.ts +0 -34
  1278. package/dist/esm/lib/components/Select/index.js +0 -92
  1279. package/dist/esm/lib/components/Separator/index.d.ts +0 -11
  1280. package/dist/esm/lib/components/Separator/index.js +0 -47
  1281. package/dist/esm/lib/components/Skeleton/index.d.ts +0 -14
  1282. package/dist/esm/lib/components/Skeleton/index.js +0 -42
  1283. package/dist/esm/lib/components/Slider/index.d.ts +0 -14
  1284. package/dist/esm/lib/components/Slider/index.js +0 -49
  1285. package/dist/esm/lib/components/Spinner/index.d.ts +0 -15
  1286. package/dist/esm/lib/components/Spinner/index.js +0 -47
  1287. package/dist/esm/lib/components/TabNav/index.d.ts +0 -15
  1288. package/dist/esm/lib/components/TabNav/index.js +0 -50
  1289. package/dist/esm/lib/components/Table/index.d.ts +0 -30
  1290. package/dist/esm/lib/components/Table/index.js +0 -98
  1291. package/dist/esm/lib/components/Tabs/index.d.ts +0 -22
  1292. package/dist/esm/lib/components/Tabs/index.js +0 -65
  1293. package/dist/esm/lib/components/TextArea/index.d.ts +0 -16
  1294. package/dist/esm/lib/components/TextArea/index.js +0 -58
  1295. package/dist/esm/lib/components/TextField/index.d.ts +0 -21
  1296. package/dist/esm/lib/components/TextField/index.js +0 -56
  1297. package/dist/esm/lib/components/Toast/ToastActionButton.d.ts +0 -14
  1298. package/dist/esm/lib/components/Toast/ToastActionButton.js +0 -67
  1299. package/dist/esm/lib/components/Toast/ToastDescription.d.ts +0 -13
  1300. package/dist/esm/lib/components/Toast/ToastDescription.js +0 -53
  1301. package/dist/esm/lib/components/Toast/ToastRoot.d.ts +0 -27
  1302. package/dist/esm/lib/components/Toast/ToastRoot.js +0 -90
  1303. package/dist/esm/lib/components/Toast/ToastTitle.d.ts +0 -13
  1304. package/dist/esm/lib/components/Toast/ToastTitle.js +0 -53
  1305. package/dist/esm/lib/components/Toast/index.d.ts +0 -8
  1306. package/dist/esm/lib/components/Toggle/ToggleWithText.d.ts +0 -21
  1307. package/dist/esm/lib/components/Toggle/ToggleWithText.js +0 -58
  1308. package/dist/esm/lib/components/Toggle/index.d.ts +0 -21
  1309. package/dist/esm/lib/components/Toggle/index.js +0 -58
  1310. package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
  1311. package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.js +0 -54
  1312. package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
  1313. package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -48
  1314. package/dist/esm/lib/components/ToggleGroup/index.d.ts +0 -6
  1315. package/dist/esm/lib/components/ToggleSwitch/index.d.ts +0 -13
  1316. package/dist/esm/lib/components/ToggleSwitch/index.js +0 -71
  1317. package/dist/esm/lib/components/Tooltip/index.d.ts +0 -19
  1318. package/dist/esm/lib/components/Tooltip/index.js +0 -49
  1319. package/dist/esm/lib/components/index.d.ts +0 -50
  1320. package/dist/esm/lib/constants.d.ts +0 -655
  1321. package/dist/esm/lib/constants.js +0 -914
  1322. package/dist/esm/lib/index.d.ts +0 -2
  1323. package/dist/esm/lib/types.d.ts +0 -81
  1324. package/dist/esm/lib/utils/useDarkMode.d.ts +0 -1
  1325. package/dist/esm/lib/utils/useDarkMode.js +0 -49
  1326. package/dist/esm/lib/utils/utils.d.ts +0 -2
  1327. /package/dist/{cjs/lib → lib}/Typography/index.d.ts +0 -0
  1328. /package/dist/{esm/lib → lib}/Typography/index.js +0 -0
  1329. /package/dist/{cjs/lib → lib}/color/alpha.d.ts +0 -0
  1330. /package/dist/{esm/lib → lib}/color/alpha.js +0 -0
  1331. /package/dist/{cjs/lib → lib}/color/constants.d.ts +0 -0
  1332. /package/dist/{esm/lib → lib}/color/constants.js +0 -0
  1333. /package/dist/{cjs/lib → lib}/color/dark.d.ts +0 -0
  1334. /package/dist/{esm/lib → lib}/color/dark.js +0 -0
  1335. /package/dist/{cjs/lib → lib}/color/krdsColors.d.ts +0 -0
  1336. /package/dist/{esm/lib → lib}/color/krdsColors.js +0 -0
  1337. /package/dist/{cjs/lib → lib}/color/light.d.ts +0 -0
  1338. /package/dist/{esm/lib → lib}/color/light.js +0 -0
  1339. /package/dist/{cjs/lib → lib}/components/AlertDialog/AlertDialogContent.d.ts +0 -0
  1340. /package/dist/{cjs/lib → lib}/components/AlertDialog/AlertDialogDescription.d.ts +0 -0
  1341. /package/dist/{esm/lib → lib}/components/AlertDialog/AlertDialogRoot.js +0 -0
  1342. /package/dist/{cjs/lib → lib}/components/AlertDialog/AlertDialogTitle.d.ts +0 -0
  1343. /package/dist/{cjs/lib → lib}/components/AlertDialog/index.d.ts +0 -0
  1344. /package/dist/{esm/lib → lib}/components/AlertDialog/index.js +0 -0
  1345. /package/dist/{cjs/lib → lib}/components/AspectRatio/index.d.ts +0 -0
  1346. /package/dist/{cjs/lib → lib}/components/Avatar/index.d.ts +0 -0
  1347. /package/dist/{cjs/lib → lib}/components/Callout/CalloutIcon.d.ts +0 -0
  1348. /package/dist/{cjs/lib → lib}/components/Callout/CalloutText.d.ts +0 -0
  1349. /package/dist/{cjs/lib → lib}/components/Callout/index.d.ts +0 -0
  1350. /package/dist/{esm/lib → lib}/components/Callout/index.js +0 -0
  1351. /package/dist/{esm/lib → lib}/components/CheckboxGroup/index.js +0 -0
  1352. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
  1353. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuContent.d.ts +0 -0
  1354. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuGroup.d.ts +0 -0
  1355. /package/dist/{esm/lib → lib}/components/ContextMenu/ContextMenuGroup.js +0 -0
  1356. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuItem.d.ts +0 -0
  1357. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -0
  1358. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuLabel.d.ts +0 -0
  1359. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
  1360. /package/dist/{esm/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.js +0 -0
  1361. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
  1362. /package/dist/{esm/lib → lib}/components/ContextMenu/ContextMenuRoot.js +0 -0
  1363. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuSeparator.d.ts +0 -0
  1364. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuSubContent.d.ts +0 -0
  1365. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
  1366. /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuTrigger.d.ts +0 -0
  1367. /package/dist/{cjs/lib → lib}/components/ContextMenu/index.d.ts +0 -0
  1368. /package/dist/{esm/lib → lib}/components/ContextMenu/index.js +0 -0
  1369. /package/dist/{cjs/lib → lib}/components/DataList/DataListItem.d.ts +0 -0
  1370. /package/dist/{cjs/lib → lib}/components/DataList/DataListLabel.d.ts +0 -0
  1371. /package/dist/{cjs/lib → lib}/components/DataList/DataListRoot.d.ts +0 -0
  1372. /package/dist/{cjs/lib → lib}/components/DataList/DataListValue.d.ts +0 -0
  1373. /package/dist/{cjs/lib → lib}/components/DataList/index.d.ts +0 -0
  1374. /package/dist/{esm/lib → lib}/components/DataList/index.js +0 -0
  1375. /package/dist/{cjs/lib → lib}/components/Dialog/DialogContent.d.ts +0 -0
  1376. /package/dist/{cjs/lib → lib}/components/Dialog/DialogDescription.d.ts +0 -0
  1377. /package/dist/{cjs/lib → lib}/components/Dialog/DialogRoot.d.ts +0 -0
  1378. /package/dist/{esm/lib → lib}/components/Dialog/DialogRoot.js +0 -0
  1379. /package/dist/{cjs/lib → lib}/components/Dialog/DialogTrigger.d.ts +0 -0
  1380. /package/dist/{esm/lib → lib}/components/Dialog/DialogTrigger.js +0 -0
  1381. /package/dist/{cjs/lib → lib}/components/Dialog/index.d.ts +0 -0
  1382. /package/dist/{esm/lib → lib}/components/Dialog/index.js +0 -0
  1383. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
  1384. /package/dist/{esm/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -0
  1385. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -0
  1386. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
  1387. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuContent.d.ts +0 -0
  1388. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -0
  1389. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuLable.d.ts +0 -0
  1390. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
  1391. /package/dist/{esm/lib → lib}/components/DropdownMenu/DropdownMenuRoot.js +0 -0
  1392. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
  1393. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuSub.d.ts +0 -0
  1394. /package/dist/{esm/lib → lib}/components/DropdownMenu/DropdownMenuSub.js +0 -0
  1395. /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
  1396. /package/dist/{cjs/lib → lib}/components/DropdownMenu/index.d.ts +0 -0
  1397. /package/dist/{esm/lib → lib}/components/DropdownMenu/index.js +0 -0
  1398. /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardRoot.d.ts +0 -0
  1399. /package/dist/{esm/lib → lib}/components/HoverCard/HoverCardRoot.js +0 -0
  1400. /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardTrigger.d.ts +0 -0
  1401. /package/dist/{esm/lib → lib}/components/HoverCard/HoverCardTrigger.js +0 -0
  1402. /package/dist/{esm/lib → lib}/components/HoverCard/index.js +0 -0
  1403. /package/dist/{cjs/lib → lib}/components/Inset/index.d.ts +0 -0
  1404. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarCheckboxItem.d.ts +0 -0
  1405. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarContent.d.ts +0 -0
  1406. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarItem.d.ts +0 -0
  1407. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarItemIndicator.d.ts +0 -0
  1408. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarMenu.d.ts +0 -0
  1409. /package/dist/{esm/lib → lib}/components/Menubar/MenubarMenu.js +0 -0
  1410. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarRadioGroup.d.ts +0 -0
  1411. /package/dist/{esm/lib → lib}/components/Menubar/MenubarRadioGroup.js +0 -0
  1412. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarRadioItem.d.ts +0 -0
  1413. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSeparator.d.ts +0 -0
  1414. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSub.d.ts +0 -0
  1415. /package/dist/{esm/lib → lib}/components/Menubar/MenubarSub.js +0 -0
  1416. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSubContent.d.ts +0 -0
  1417. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSubTrigger.d.ts +0 -0
  1418. /package/dist/{cjs/lib → lib}/components/Menubar/MenubarTrigger.d.ts +0 -0
  1419. /package/dist/{cjs/lib → lib}/components/Menubar/index.d.ts +0 -0
  1420. /package/dist/{esm/lib → lib}/components/Menubar/index.js +0 -0
  1421. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuContent.d.ts +0 -0
  1422. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
  1423. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuItem.d.ts +0 -0
  1424. /package/dist/{esm/lib → lib}/components/NavigationMenu/NavigationMenuItem.js +0 -0
  1425. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuLink.d.ts +0 -0
  1426. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuList.d.ts +0 -0
  1427. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -0
  1428. /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -0
  1429. /package/dist/{cjs/lib → lib}/components/NavigationMenu/index.d.ts +0 -0
  1430. /package/dist/{esm/lib → lib}/components/NavigationMenu/index.js +0 -0
  1431. /package/dist/{cjs/lib → lib}/components/Popover/PopoverClose.d.ts +0 -0
  1432. /package/dist/{cjs/lib → lib}/components/Popover/PopoverRoot.d.ts +0 -0
  1433. /package/dist/{esm/lib → lib}/components/Popover/PopoverRoot.js +0 -0
  1434. /package/dist/{cjs/lib → lib}/components/Popover/PopoverTrigger.d.ts +0 -0
  1435. /package/dist/{esm/lib → lib}/components/Popover/PopoverTrigger.js +0 -0
  1436. /package/dist/{cjs/lib → lib}/components/Popover/index.d.ts +0 -0
  1437. /package/dist/{esm/lib → lib}/components/Popover/index.js +0 -0
  1438. /package/dist/{cjs/lib → lib}/components/RadioCards/RadioCardsItem.d.ts +0 -0
  1439. /package/dist/{esm/lib → lib}/components/RadioCards/index.js +0 -0
  1440. /package/dist/{esm/lib → lib}/components/RadioGroup/index.js +0 -0
  1441. /package/dist/{esm/lib → lib}/components/ScrollArea/index.js +0 -0
  1442. /package/dist/{cjs/lib → lib}/components/SegmentedControl/SegmentedControlItem.d.ts +0 -0
  1443. /package/dist/{esm/lib → lib}/components/SegmentedControl/index.js +0 -0
  1444. /package/dist/{cjs/lib → lib}/components/Separator/index.d.ts +0 -0
  1445. /package/dist/{cjs/lib → lib}/components/TabNav/index.d.ts +0 -0
  1446. /package/dist/{cjs/lib → lib}/components/Tabs/index.d.ts +0 -0
  1447. /package/dist/{cjs/lib → lib}/components/Toast/ToastRoot.d.ts +0 -0
  1448. /package/dist/{cjs/lib → lib}/components/Toast/index.d.ts +0 -0
  1449. /package/dist/{esm/lib → lib}/components/Toast/index.js +0 -0
  1450. /package/dist/{cjs/lib → lib}/components/ToggleGroup/index.d.ts +0 -0
  1451. /package/dist/{esm/lib → lib}/components/ToggleGroup/index.js +0 -0
  1452. /package/dist/{cjs/lib → lib}/components/ToggleSwitch/index.d.ts +0 -0
  1453. /package/dist/{cjs/lib → lib}/components/index.d.ts +0 -0
  1454. /package/dist/{esm/lib → lib}/components/index.js +0 -0
  1455. /package/dist/{cjs/lib → lib}/constants.d.ts +0 -0
  1456. /package/dist/{cjs/lib → lib}/index.d.ts +0 -0
  1457. /package/dist/{esm/lib → lib}/index.js +0 -0
  1458. /package/dist/{cjs/lib → lib}/types.d.ts +0 -0
  1459. /package/dist/{esm/lib → lib}/types.js +0 -0
  1460. /package/dist/{cjs/lib → lib}/utils/useDarkMode.d.ts +0 -0
  1461. /package/dist/{cjs/lib → lib}/utils/utils.d.ts +0 -0
  1462. /package/dist/{esm/lib → lib}/utils/utils.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/context-menu/src/ContextMenu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar CONTEXT_MENU_NAME = \"ContextMenu\";\nvar [createContextMenuContext, createContextMenuScope] = createContextScope(CONTEXT_MENU_NAME, [\n createMenuScope\n]);\nvar useMenuScope = createMenuScope();\nvar [ContextMenuProvider, useContextMenuContext] = createContextMenuContext(CONTEXT_MENU_NAME);\nvar ContextMenu = (props) => {\n const { __scopeContextMenu, children, onOpenChange, dir, modal = true } = props;\n const [open, setOpen] = React.useState(false);\n const menuScope = useMenuScope(__scopeContextMenu);\n const handleOpenChangeProp = useCallbackRef(onOpenChange);\n const handleOpenChange = React.useCallback(\n (open2) => {\n setOpen(open2);\n handleOpenChangeProp(open2);\n },\n [handleOpenChangeProp]\n );\n return /* @__PURE__ */ jsx(\n ContextMenuProvider,\n {\n scope: __scopeContextMenu,\n open,\n onOpenChange: handleOpenChange,\n modal,\n children: /* @__PURE__ */ jsx(\n MenuPrimitive.Root,\n {\n ...menuScope,\n dir,\n open,\n onOpenChange: handleOpenChange,\n modal,\n children\n }\n )\n }\n );\n};\nContextMenu.displayName = CONTEXT_MENU_NAME;\nvar TRIGGER_NAME = \"ContextMenuTrigger\";\nvar ContextMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeContextMenu, disabled = false, ...triggerProps } = props;\n const context = useContextMenuContext(TRIGGER_NAME, __scopeContextMenu);\n const menuScope = useMenuScope(__scopeContextMenu);\n const pointRef = React.useRef({ x: 0, y: 0 });\n const virtualRef = React.useRef({\n getBoundingClientRect: () => DOMRect.fromRect({ width: 0, height: 0, ...pointRef.current })\n });\n const longPressTimerRef = React.useRef(0);\n const clearLongPress = React.useCallback(\n () => window.clearTimeout(longPressTimerRef.current),\n []\n );\n const handleOpen = (event) => {\n pointRef.current = { x: event.clientX, y: event.clientY };\n context.onOpenChange(true);\n };\n React.useEffect(() => clearLongPress, [clearLongPress]);\n React.useEffect(() => void (disabled && clearLongPress()), [disabled, clearLongPress]);\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { ...menuScope, virtualRef }),\n /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n ...triggerProps,\n ref: forwardedRef,\n style: { WebkitTouchCallout: \"none\", ...props.style },\n onContextMenu: disabled ? props.onContextMenu : composeEventHandlers(props.onContextMenu, (event) => {\n clearLongPress();\n handleOpen(event);\n event.preventDefault();\n }),\n onPointerDown: disabled ? props.onPointerDown : composeEventHandlers(\n props.onPointerDown,\n whenTouchOrPen((event) => {\n clearLongPress();\n longPressTimerRef.current = window.setTimeout(() => handleOpen(event), 700);\n })\n ),\n onPointerMove: disabled ? props.onPointerMove : composeEventHandlers(props.onPointerMove, whenTouchOrPen(clearLongPress)),\n onPointerCancel: disabled ? props.onPointerCancel : composeEventHandlers(props.onPointerCancel, whenTouchOrPen(clearLongPress)),\n onPointerUp: disabled ? props.onPointerUp : composeEventHandlers(props.onPointerUp, whenTouchOrPen(clearLongPress))\n }\n )\n ] });\n }\n);\nContextMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"ContextMenuPortal\";\nvar ContextMenuPortal = (props) => {\n const { __scopeContextMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nContextMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"ContextMenuContent\";\nvar ContextMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeContextMenu, ...contentProps } = props;\n const context = useContextMenuContext(CONTENT_NAME, __scopeContextMenu);\n const menuScope = useMenuScope(__scopeContextMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n side: \"right\",\n sideOffset: 2,\n align: \"start\",\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented && hasInteractedOutsideRef.current) {\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented && !context.modal) hasInteractedOutsideRef.current = true;\n },\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-context-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-context-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-context-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-context-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-context-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nContextMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"ContextMenuGroup\";\nvar ContextMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeContextMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nContextMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"ContextMenuLabel\";\nvar ContextMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeContextMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nContextMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"ContextMenuItem\";\nvar ContextMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeContextMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nContextMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"ContextMenuCheckboxItem\";\nvar ContextMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nContextMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"ContextMenuRadioGroup\";\nvar ContextMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nContextMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"ContextMenuRadioItem\";\nvar ContextMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nContextMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"ContextMenuItemIndicator\";\nvar ContextMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nContextMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"ContextMenuSeparator\";\nvar ContextMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nContextMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"ContextMenuArrow\";\nvar ContextMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeContextMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nContextMenuArrow.displayName = ARROW_NAME;\nvar SUB_NAME = \"ContextMenuSub\";\nvar ContextMenuSub = (props) => {\n const { __scopeContextMenu, children, onOpenChange, open: openProp, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nContextMenuSub.displayName = SUB_NAME;\nvar SUB_TRIGGER_NAME = \"ContextMenuSubTrigger\";\nvar ContextMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...triggerItemProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...triggerItemProps, ref: forwardedRef });\n});\nContextMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"ContextMenuSubContent\";\nvar ContextMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeContextMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeContextMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-context-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-context-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-context-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-context-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-context-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nContextMenuSubContent.displayName = SUB_CONTENT_NAME;\nfunction whenTouchOrPen(handler) {\n return (event) => event.pointerType !== \"mouse\" ? handler(event) : void 0;\n}\nvar Root2 = ContextMenu;\nvar Trigger = ContextMenuTrigger;\nvar Portal2 = ContextMenuPortal;\nvar Content2 = ContextMenuContent;\nvar Group2 = ContextMenuGroup;\nvar Label2 = ContextMenuLabel;\nvar Item2 = ContextMenuItem;\nvar CheckboxItem2 = ContextMenuCheckboxItem;\nvar RadioGroup2 = ContextMenuRadioGroup;\nvar RadioItem2 = ContextMenuRadioItem;\nvar ItemIndicator2 = ContextMenuItemIndicator;\nvar Separator2 = ContextMenuSeparator;\nvar Arrow2 = ContextMenuArrow;\nvar Sub2 = ContextMenuSub;\nvar SubTrigger2 = ContextMenuSubTrigger;\nvar SubContent2 = ContextMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n ContextMenu,\n ContextMenuArrow,\n ContextMenuCheckboxItem,\n ContextMenuContent,\n ContextMenuGroup,\n ContextMenuItem,\n ContextMenuItemIndicator,\n ContextMenuLabel,\n ContextMenuPortal,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuSeparator,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createContextMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["CONTEXT_MENU_NAME","createContextMenuContext","createContextMenuScope","createContextScope","createMenuScope","useMenuScope","ContextMenuProvider","useContextMenuContext","ContextMenu","props","__scopeContextMenu","children","onOpenChange","dir","modal","open","setOpen","React","useState","menuScope","handleOpenChangeProp","useCallbackRef","handleOpenChange","useCallback","open2","jsx","scope","MenuPrimitive.Root","displayName","TRIGGER_NAME","ContextMenuTrigger","forwardRef","forwardedRef","disabled","triggerProps","context","pointRef","useRef","x","y","virtualRef","getBoundingClientRect","DOMRect","fromRect","width","height","current","longPressTimerRef","clearLongPress","window","clearTimeout","handleOpen","event","clientX","clientY","useEffect","jsxs","Fragment","MenuPrimitive.Anchor","Primitive","span","ref","style","WebkitTouchCallout","onContextMenu","composeEventHandlers","preventDefault","onPointerDown","whenTouchOrPen","setTimeout","onPointerMove","onPointerCancel","onPointerUp","ContextMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","ContextMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","side","sideOffset","align","onCloseAutoFocus","defaultPrevented","onInteractOutside","ContextMenuGroup","groupProps","MenuPrimitive.Group","ContextMenuLabel","labelProps","MenuPrimitive.Label","ContextMenuItem","itemProps","MenuPrimitive.Item","ContextMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","ContextMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","ContextMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","ContextMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","ContextMenuSeparator","separatorProps","MenuPrimitive.Separator","ContextMenuArrow","arrowProps","MenuPrimitive.Arrow","ContextMenuSub","openProp","defaultOpen","useControllableState","prop","defaultProp","onChange","MenuPrimitive.Sub","ContextMenuSubTrigger","triggerItemProps","MenuPrimitive.SubTrigger","ContextMenuSubContent","subContentProps","MenuPrimitive.SubContent","handler","pointerType","Root2","Trigger","Portal2","Content2","Group2","Label2","Item2","CheckboxItem2","RadioGroup2","RadioItem2","ItemIndicator2","Separator2","Sub2","SubTrigger2","SubContent2"],"mappings":"ytBAYA,IAAIA,EAAoB,eACnBC,EAA0BC,GAA0BC,EAAmBH,EAAmB,CAC7FI,IAEEC,EAAeD,KACdE,EAAqBC,GAAyBN,EAAyBD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bI,SAAU5G,IAEZ,OAAuBa,EAAGA,IAACgG,EAAmB,IAAKtG,EAAWJ,OAAMH,aAAcI,EAASL,YAAW,EAExGuG,EAAetF,YAXA,iBAYf,IACI8F,EAAwBzG,EAAMc,YAAW,CAACtB,EAAOuB,KACnD,MAAMtB,mBAAEA,KAAuBiH,GAAqBlH,EAC9CU,EAAYd,EAAaK,GAC/B,OAAuBe,EAAGA,IAACmG,EAA0B,IAAKzG,KAAcwG,EAAkB9D,IAAK7B,GAAe,IAEhH0F,EAAsB9F,YANC,wBAOvB,IACIiG,EAAwB5G,EAAMc,YAAW,CAACtB,EAAOuB,KACnD,MAAMtB,mBAAEA,KAAuBoH,GAAoBrH,EAC7CU,EAAYd,EAAaK,GAC/B,OAAuBe,EAAGA,IACxBsG,EACA,IACK5G,KACA2G,EACHjE,IAAK7B,EACL8B,MAAO,IACFrD,EAAMqD,MAGP,gDAAiD,uCACjD,+CAAgD,sCAChD,gDAAiD,uCACjD,qCAAsC,mCACtC,sCAAuC,sCAI9C,IAGH,SAASM,EAAe4D,GACtB,OAAQ5E,GAAgC,UAAtBA,EAAM6E,YAA0BD,EAAQ5E,QAAS,CACrE,CAHAyE,EAAsBjG,YAxBC,wBA4BpB,IAACsG,EAAQ1H,EACR2H,EAAUrG,EACVsG,EAAU3D,EACV4D,EAAWxD,EACXyD,EAAS/C,EACTgD,GAAS7C,EACT8C,GAAQ3C,EACR4C,GAAgBzC,EAChB0C,GAAcvC,EACdwC,GAAarC,EACbsC,GAAiBnC,EACjBoC,GAAajC,EAEbkC,GAAO5B,EACP6B,GAAcrB,EACdsB,GAAcnB"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";import{composeEventHandlers as t}from"../../primitive/dist/index.mjs";import{useComposedRefs as o}from"../../react-compose-refs/dist/index.mjs";import{createContextScope as r,createContext as n}from"../../react-context/dist/index.mjs";import{useId as i}from"../../react-id/dist/index.mjs";import{useControllableState as s}from"../../react-use-controllable-state/dist/index.mjs";import{DismissableLayer as a}from"../../react-dismissable-layer/dist/index.mjs";import{FocusScope as c}from"../../react-focus-scope/dist/index.mjs";import{Portal as d}from"../../react-portal/dist/index.mjs";import{Presence as l}from"../../react-presence/dist/index.mjs";import{Primitive as u}from"../../react-primitive/dist/index.mjs";import{useFocusGuards as p}from"../../react-focus-guards/dist/index.mjs";import f from"../../../react-remove-scroll/dist/es2015/Combination.mjs";import{hideOthers as m}from"../../../aria-hidden/dist/es2015/index.mjs";import{Slot as g}from"../../react-slot/dist/index.mjs";import{j as x}from"../../../../_virtual/jsx-runtime.mjs";var j="Dialog",[D,v]=r(j),[h,_]=D(j),y=t=>{const{__scopeDialog:o,children:r,open:n,defaultOpen:a,onOpenChange:c,modal:d=!0}=t,l=e.useRef(null),u=e.useRef(null),[p=!1,f]=s({prop:n,defaultProp:a,onChange:c});return x.jsx(h,{scope:o,triggerRef:l,contentRef:u,contentId:i(),titleId:i(),descriptionId:i(),open:p,onOpenChange:f,onOpenToggle:e.useCallback((()=>f((e=>!e))),[f]),modal:d,children:r})};y.displayName=j;var R="DialogTrigger",b=e.forwardRef(((e,r)=>{const{__scopeDialog:n,...i}=e,s=_(R,n),a=o(r,s.triggerRef);return x.jsx(u.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":K(s.open),...i,ref:a,onClick:t(e.onClick,s.onOpenToggle)})}));b.displayName=R;var C="DialogPortal",[I,w]=D(C,{forceMount:void 0}),O=t=>{const{__scopeDialog:o,forceMount:r,children:n,container:i}=t,s=_(C,o);return x.jsx(I,{scope:o,forceMount:r,children:e.Children.map(n,(e=>x.jsx(l,{present:r||s.open,children:x.jsx(d,{asChild:!0,container:i,children:e})})))})};O.displayName=C;var F="DialogOverlay",N=e.forwardRef(((e,t)=>{const o=w(F,e.__scopeDialog),{forceMount:r=o.forceMount,...n}=e,i=_(F,e.__scopeDialog);return i.modal?x.jsx(l,{present:r||i.open,children:x.jsx(E,{...n,ref:t})}):null}));N.displayName=F;var E=e.forwardRef(((e,t)=>{const{__scopeDialog:o,...r}=e,n=_(F,o);return x.jsx(f,{as:g,allowPinchZoom:!0,shards:[n.contentRef],children:x.jsx(u.div,{"data-state":K(n.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})})),P="DialogContent",A=e.forwardRef(((e,t)=>{const o=w(P,e.__scopeDialog),{forceMount:r=o.forceMount,...n}=e,i=_(P,e.__scopeDialog);return x.jsx(l,{present:r||i.open,children:i.modal?x.jsx(M,{...n,ref:t}):x.jsx(k,{...n,ref:t})})}));A.displayName=P;var M=e.forwardRef(((r,n)=>{const i=_(P,r.__scopeDialog),s=e.useRef(null),a=o(n,i.contentRef,s);return e.useEffect((()=>{const e=s.current;if(e)return m(e)}),[]),x.jsx(T,{...r,ref:a,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:t(r.onCloseAutoFocus,(e=>{e.preventDefault(),i.triggerRef.current?.focus()})),onPointerDownOutside:t(r.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,o=0===t.button&&!0===t.ctrlKey;(2===t.button||o)&&e.preventDefault()})),onFocusOutside:t(r.onFocusOutside,(e=>e.preventDefault()))})})),k=e.forwardRef(((t,o)=>{const r=_(P,t.__scopeDialog),n=e.useRef(!1),i=e.useRef(!1);return x.jsx(T,{...t,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{t.onCloseAutoFocus?.(e),e.defaultPrevented||(n.current||r.triggerRef.current?.focus(),e.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:e=>{t.onInteractOutside?.(e),e.defaultPrevented||(n.current=!0,"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));const o=e.target,s=r.triggerRef.current?.contains(o);s&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}})})),T=e.forwardRef(((t,r)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:d,...l}=t,u=_(P,n),f=e.useRef(null),m=o(r,f);return p(),x.jsxs(x.Fragment,{children:[x.jsx(c,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:d,children:x.jsx(a,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":K(u.open),...l,ref:m,onDismiss:()=>u.onOpenChange(!1)})}),x.jsxs(x.Fragment,{children:[x.jsx(z,{titleId:u.titleId}),x.jsx(G,{contentRef:f,descriptionId:u.descriptionId})]})]})})),$="DialogTitle",W=e.forwardRef(((e,t)=>{const{__scopeDialog:o,...r}=e,n=_($,o);return x.jsx(u.h2,{id:n.titleId,...r,ref:t})}));W.displayName=$;var B="DialogDescription",S=e.forwardRef(((e,t)=>{const{__scopeDialog:o,...r}=e,n=_(B,o);return x.jsx(u.p,{id:n.descriptionId,...r,ref:t})}));S.displayName=B;var q="DialogClose",H=e.forwardRef(((e,o)=>{const{__scopeDialog:r,...n}=e,i=_(q,r);return x.jsx(u.button,{type:"button",...n,ref:o,onClick:t(e.onClick,(()=>i.onOpenChange(!1)))})}));function K(e){return e?"open":"closed"}H.displayName=q;var U="DialogTitleWarning",[V,Z]=n(U,{contentName:P,titleName:$,docsSlug:"dialog"}),z=({titleId:t})=>{const o=Z(U),r=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;return e.useEffect((()=>{if(t){document.getElementById(t)||console.error(r)}}),[r,t]),null},G=({contentRef:t,descriptionId:o})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Z("DialogDescriptionWarning").contentName}}.`;return e.useEffect((()=>{const e=t.current?.getAttribute("aria-describedby");if(o&&e){document.getElementById(o)||console.warn(r)}}),[r,t,o]),null},J=y,L=b,Q=O,X=N,Y=A,ee=W,te=S,oe=H;export{oe as Close,Y as Content,te as Description,y as Dialog,H as DialogClose,A as DialogContent,S as DialogDescription,N as DialogOverlay,O as DialogPortal,W as DialogTitle,b as DialogTrigger,X as Overlay,Q as Portal,J as Root,ee as Title,L as Trigger,V as WarningProvider,v as createDialogScope};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dialog/src/Dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","open","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","useRef","contentRef","setOpen","useControllableState","prop","defaultProp","onChange","jsx","scope","contentId","useId","titleId","descriptionId","onOpenToggle","useCallback","prevOpen","displayName","TRIGGER_NAME","DialogTrigger","forwardRef","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","button","type","getState","ref","onClick","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","forceMount","DialogPortal","container","Children","map","child","Presence","present","PortalPrimitive","asChild","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","RemoveScroll","as","Slot","allowPinchZoom","shards","div","style","pointerEvents","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","useEffect","content","current","hideOthers","DialogContentImpl","trapFocus","disableOutsidePointerEvents","onCloseAutoFocus","event","preventDefault","focus","onPointerDownOutside","originalEvent","detail","ctrlLeftClick","ctrlKey","onFocusOutside","hasInteractedOutsideRef","hasPointerDownOutsideRef","defaultPrevented","onInteractOutside","target","targetIsTrigger","contains","onOpenAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","loop","trapped","onMountAutoFocus","onUnmountAutoFocus","DismissableLayer","role","id","onDismiss","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","h2","DESCRIPTION_NAME","DialogDescription","descriptionProps","p","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","contentName","titleName","docsSlug","titleWarningContext","MESSAGE","document","getElementById","console","error","describedById","getAttribute","warn","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":"0iCAmBA,IAAIA,EAAc,UACbC,EAAqBC,GAAqBC,EAAmBH,IAC7DI,EAAgBC,GAAoBJ,EAAoBD,GACzDM,EAAUC,IACZ,MAAMC,cACJA,EAAaC,SACbA,EACAC,KAAMC,EAAQC,YACdA,EAAWC,aACXA,EAAYC,MACZA,GAAQ,GACNP,EACEQ,EAAaC,EAAMC,OAAO,MAC1BC,E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W,IAClB,IAAI,EAETsH,EAAO7I,EACP8I,EAAUjH,EACVkH,EAAShG,EACTiG,EAAUvF,EACVwF,EAAU3E,EACV4E,GAAQ/B,EACRgC,GAAc5B,EACd6B,GAAQzB"}
@@ -0,0 +1,2 @@
1
+ import*as r from"react";import{j as t}from"../../../../_virtual/jsx-runtime.mjs";var e=r.createContext(void 0),o=r=>{const{dir:o,children:n}=r;return t.jsx(e.Provider,{value:o,children:n})};function n(t){const o=r.useContext(e);return t||o||"ltr"}export{o as DirectionProvider,n as useDirection};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/Direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","createContext","DirectionProvider","props","dir","children","jsx","Provider","value","useDirection","localDir","globalDir","useContext"],"mappings":"iFAGA,IAAIA,EAAmBC,EAAMC,mBAAc,GACvCC,EAAqBC,IACvB,MAAMC,IAAEA,EAAGC,SAAEA,GAAaF,EAC1B,OAAuBG,EAAAA,IAAIP,EAAiBQ,SAAU,CAAEC,MAAOJ,EAAKC,YAAW,EAEjF,SAASI,EAAaC,GACpB,MAAMC,EAAYX,EAAMY,WAAWb,GACnC,OAAOW,GAAYC,GAAa,KAClC"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";import{composeEventHandlers as t}from"../../primitive/dist/index.mjs";import{Primitive as n,dispatchDiscreteCustomEvent as r}from"../../react-primitive/dist/index.mjs";import{useComposedRefs as s}from"../../react-compose-refs/dist/index.mjs";import{useCallbackRef as i}from"../../react-use-callback-ref/dist/index.mjs";import{useEscapeKeydown as o}from"../../react-use-escape-keydown/dist/index.mjs";import{j as a}from"../../../../_virtual/jsx-runtime.mjs";var u,c="dismissableLayer.update",d="dismissableLayer.pointerDownOutside",l="dismissableLayer.focusOutside",m=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=e.forwardRef(((r,f)=>{const{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:w,onInteractOutside:h,onDismiss:D,...C}=r,L=e.useContext(m),[P,O]=e.useState(null),x=P?.ownerDocument??globalThis?.document,[,g]=e.useState({}),j=s(f,(e=>O(e))),W=Array.from(L.layers),[k]=[...L.layersWithOutsidePointerEventsDisabled].slice(-1),R=W.indexOf(k),T=P?W.indexOf(P):-1,B=L.layersWithOutsidePointerEventsDisabled.size>0,F=T>=R,S=function(t,n=globalThis?.document){const r=i(t),s=e.useRef(!1),o=e.useRef((()=>{}));return e.useEffect((()=>{const e=e=>{if(e.target&&!s.current){let t=function(){E(d,r,s,{discrete:!0})};const s={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);s.current=!1},t=window.setTimeout((()=>{n.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}}),[n,r]),{onPointerDownCapture:()=>s.current=!0}}((e=>{const t=e.target,n=[...L.branches].some((e=>e.contains(t)));F&&!n&&(b?.(e),h?.(e),e.defaultPrevented||D?.())}),x),z=function(t,n=globalThis?.document){const r=i(t),s=e.useRef(!1);return e.useEffect((()=>{const e=e=>{if(e.target&&!s.current){E(l,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)}),[n,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}((e=>{const t=e.target;[...L.branches].some((e=>e.contains(t)))||(w?.(e),h?.(e),e.defaultPrevented||D?.())}),x);return o((e=>{T===L.layers.size-1&&(y?.(e),!e.defaultPrevented&&D&&(e.preventDefault(),D()))}),x),e.useEffect((()=>{if(P)return v&&(0===L.layersWithOutsidePointerEventsDisabled.size&&(u=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),L.layersWithOutsidePointerEventsDisabled.add(P)),L.layers.add(P),p(),()=>{v&&1===L.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=u)}}),[P,x,v,L]),e.useEffect((()=>()=>{P&&(L.layers.delete(P),L.layersWithOutsidePointerEventsDisabled.delete(P),p())}),[P,L]),e.useEffect((()=>{const e=()=>g({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)}),[]),a.jsx(n.div,{...C,ref:j,style:{pointerEvents:B?F?"auto":"none":void 0,...r.style},onFocusCapture:t(r.onFocusCapture,z.onFocusCapture),onBlurCapture:t(r.onBlurCapture,z.onBlurCapture),onPointerDownCapture:t(r.onPointerDownCapture,S.onPointerDownCapture)})}));f.displayName="DismissableLayer";var v=e.forwardRef(((t,r)=>{const i=e.useContext(m),o=e.useRef(null),u=s(r,o);return e.useEffect((()=>{const e=o.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}}),[i.branches]),a.jsx(n.div,{...t,ref:u})}));function p(){const e=new CustomEvent(c);document.dispatchEvent(e)}function E(e,t,n,{discrete:s}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),s?r(i,o):i.dispatchEvent(o)}v.displayName="DismissableLayerBranch";var y=f,b=v;export{b as Branch,f as DismissableLayer,v as DismissableLayerBranch,y as Root};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dismissable-layer/src/DismissableLayer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["originalBodyPointerEvents","CONTEXT_UPDATE","POINTER_DOWN_OUTSIDE","FOCUS_OUTSIDE","DismissableLayerContext","React","createContext","layers","Set","layersWithOutsidePointerEventsDisabled","branches","DismissableLayer","forwardRef","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","useContext","node","setNode","useState","ownerDocument","globalThis","document","force","composedRefs","useComposedRefs","node2","Array","from","highestLayerWithOutsidePointerEventsDisabled","slice","highestLayerWithOutsidePointerEventsDisabledIndex","indexOf","index","isBodyPointerEventsDisabled","size","isPointerEventsEnabled","pointerDownOutside","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","useRef","handleClickRef","useEffect","handlePointerDown","event","target","current","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","discrete","originalEvent","pointerType","removeEventListener","addEventListener","once","timerId","window","setTimeout","clearTimeout","onPointerDownCapture","usePointerDownOutside","isPointerDownOnBranch","some","branch","contains","defaultPrevented","focusOutside","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","onFocusCapture","onBlurCapture","useFocusOutside","useEscapeKeydown","preventDefault","body","style","pointerEvents","add","dispatchUpdate","delete","handleUpdate","jsx","Primitive","div","ref","composeEventHandlers","displayName","DismissableLayerBranch","CustomEvent","dispatchEvent","name","handler","detail","bubbles","cancelable","dispatchDiscreteCustomEvent","Root","Branch"],"mappings":"ieAUA,IAIIA,EAHAC,EAAiB,0BACjBC,EAAuB,sCACvBC,EAAgB,gCAEhBC,EAA0BC,EAAMC,cAAc,CAChDC,OAAwB,IAAIC,IAC5BC,uCAAwD,IAAID,IAC5DE,SAA0B,IAAIF,MAE5BG,EAAmBN,EAAMO,YAC3B,CAACC,EAAOC,KACN,MAAMC,4BACJA,GAA8B,EAAKC,gBACnCA,EAAeC,qBACfA,EAAoBC,eACpBA,EAAcC,kBACdA,EAAiBC,UACjBA,KACGC,GACDR,EACES,EAAUjB,EAAMkB,WAAWnB,IAC1BoB,EAAMC,GAAWpB,EAAMqB,SAAS,MACjCC,EAAgBH,GAAMG,eAAiBC,YAAYC,UAChD,CAAAC,GAASzB,EAAMq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AAI8C,YAAYE,EAAM,CAAEG,SAAS,EAAOC,YAAY,EAAMF,WACpED,GAAShD,EAAOS,iBAAiBsC,EAAMC,EAAS,CAAEtC,MAAM,IACxDL,EACF+C,EAA4BpD,EAAQD,GAEpCC,EAAO8C,cAAc/C,EAEzB,CA9EA6C,EAAuBD,YAhBL,yBA+Ff,IAACU,EAAO/F,EACPgG,EAASV"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";import{composeEventHandlers as r}from"../../primitive/dist/index.mjs";import{composeRefs as o}from"../../react-compose-refs/dist/index.mjs";import{createContextScope as n}from"../../react-context/dist/index.mjs";import{useControllableState as a}from"../../react-use-controllable-state/dist/index.mjs";import{Primitive as t}from"../../react-primitive/dist/index.mjs";import{createMenuScope as d,Anchor as p,Content as i,Group as s,Label as u,Item as c,CheckboxItem as l,RadioGroup as m,RadioItem as w,ItemIndicator as f,Separator as g,Arrow as x,SubTrigger as h,SubContent as v,Portal as D,Sub as _,Root as M}from"../../react-menu/dist/index.mjs";import{useId as b}from"../../react-id/dist/index.mjs";import{j}from"../../../../_virtual/jsx-runtime.mjs";var y="DropdownMenu",[R,C]=n(y,[d]),I=d(),[N,O]=R(y),A=r=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:d,defaultOpen:p,onOpenChange:i,modal:s=!0}=r,u=I(o),c=e.useRef(null),[l=!1,m]=a({prop:d,defaultProp:p,onChange:i});return j.jsx(N,{scope:o,triggerId:b(),triggerRef:c,contentId:b(),open:l,onOpenChange:m,onOpenToggle:e.useCallback((()=>m((e=>!e))),[m]),modal:s,children:j.jsx(M,{...u,open:l,onOpenChange:m,dir:t,modal:s,children:n})})};A.displayName=y;var S="DropdownMenuTrigger",k=e.forwardRef(((e,n)=>{const{__scopeDropdownMenu:a,disabled:d=!1,...i}=e,s=O(S,a),u=I(a);return j.jsx(p,{asChild:!0,...u,children:j.jsx(t.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":d?"":void 0,disabled:d,...i,ref:o(n,s.triggerRef),onPointerDown:r(e.onPointerDown,(e=>{d||0!==e.button||!1!==e.ctrlKey||(s.onOpenToggle(),s.open||e.preventDefault())})),onKeyDown:r(e.onKeyDown,(e=>{d||(["Enter"," "].includes(e.key)&&s.onOpenToggle(),"ArrowDown"===e.key&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})})}));k.displayName=S;var P=e=>{const{__scopeDropdownMenu:r,...o}=e,n=I(r);return j.jsx(D,{...n,...o})};P.displayName="DropdownMenuPortal";var T="DropdownMenuContent",K=e.forwardRef(((o,n)=>{const{__scopeDropdownMenu:a,...t}=o,d=O(T,a),p=I(a),s=e.useRef(!1);return j.jsx(i,{id:d.contentId,"aria-labelledby":d.triggerId,...p,...t,ref:n,onCloseAutoFocus:r(o.onCloseAutoFocus,(e=>{s.current||d.triggerRef.current?.focus(),s.current=!1,e.preventDefault()})),onInteractOutside:r(o.onInteractOutside,(e=>{const r=e.detail.originalEvent,o=0===r.button&&!0===r.ctrlKey,n=2===r.button||o;d.modal&&!n||(s.current=!0)})),style:{...o.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));K.displayName=T;var E=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(s,{...a,...n,ref:r})}));E.displayName="DropdownMenuGroup";var G=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(u,{...a,...n,ref:r})}));G.displayName="DropdownMenuLabel";var F=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(c,{...a,...n,ref:r})}));F.displayName="DropdownMenuItem";var L=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(l,{...a,...n,ref:r})}));L.displayName="DropdownMenuCheckboxItem";var q=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(m,{...a,...n,ref:r})}));q.displayName="DropdownMenuRadioGroup";var z=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(w,{...a,...n,ref:r})}));z.displayName="DropdownMenuRadioItem";var B=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(f,{...a,...n,ref:r})}));B.displayName="DropdownMenuItemIndicator";var H=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(g,{...a,...n,ref:r})}));H.displayName="DropdownMenuSeparator";var J=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(x,{...a,...n,ref:r})}));J.displayName="DropdownMenuArrow";var Q=e=>{const{__scopeDropdownMenu:r,children:o,open:n,onOpenChange:t,defaultOpen:d}=e,p=I(r),[i=!1,s]=a({prop:n,defaultProp:d,onChange:t});return j.jsx(_,{...p,open:i,onOpenChange:s,children:o})},U=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(h,{...a,...n,ref:r})}));U.displayName="DropdownMenuSubTrigger";var V=e.forwardRef(((e,r)=>{const{__scopeDropdownMenu:o,...n}=e,a=I(o);return j.jsx(v,{...a,...n,ref:r,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}));V.displayName="DropdownMenuSubContent";var W=A,X=k,Y=P,Z=K,$=G,ee=F,re=L,oe=q,ne=z,ae=B,te=H,de=Q,pe=U,ie=V;export{re as CheckboxItem,Z as Content,A as DropdownMenu,J as DropdownMenuArrow,L as DropdownMenuCheckboxItem,K as DropdownMenuContent,E as DropdownMenuGroup,F as DropdownMenuItem,B as DropdownMenuItemIndicator,G as DropdownMenuLabel,P as DropdownMenuPortal,q as DropdownMenuRadioGroup,z as DropdownMenuRadioItem,H as DropdownMenuSeparator,Q as DropdownMenuSub,V as DropdownMenuSubContent,U as DropdownMenuSubTrigger,k as DropdownMenuTrigger,ee as Item,ae as ItemIndicator,$ as Label,Y as Portal,oe as RadioGroup,ne as RadioItem,W as Root,te as Separator,de as Sub,ie as SubContent,pe as SubTrigger,X as Trigger,C as createDropdownMenuScope};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dropdown-menu/src/DropdownMenu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DROPDOWN_MENU_NAME","createDropdownMenuContext","createDropdownMenuScope","createContextScope","createMenuScope","useMenuScope","DropdownMenuProvider","useDropdownMenuContext","DropdownMenu","props","__scopeDropdownMenu","children","dir","open","openProp","defaultOpen","onOpenChange","modal","menuScope","triggerRef","React","useRef","setOpen","useControllableState","prop","defaultProp","onChange","jsx","scope","triggerId","useId","contentId","onOpenToggle","useCallback","prevOpen","MenuPrimitive.Root","displayName","TRIGGER_NAME","DropdownMenuTrigger","forwardRef","forwardedRef","disabled","triggerProps","context","MenuPrimitive.Anchor","asChild","Primitive","button","type","id","ref","composeRefs","onPointerDown","composeEventHandlers","event","ctrlKey","preventDefault","onKeyDown","includes","key","DropdownMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","DropdownMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","onCloseAutoFocus","current","focus","onInteractOutside","originalEvent","detail","ctrlLeftClick","isRightClick","style","DropdownMenuGroup","groupProps","MenuPrimitive.Group","DropdownMenuLabel","labelProps","MenuPrimitive.Label","DropdownMenuItem","itemProps","MenuPrimitive.Item","DropdownMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","DropdownMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","DropdownMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","DropdownMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","DropdownMenuSeparator","separatorProps","MenuPrimitive.Separator","DropdownMenuArrow","arrowProps","MenuPrimitive.Arrow","DropdownMenuSub","MenuPrimitive.Sub","DropdownMenuSubTrigger","subTriggerProps","MenuPrimitive.SubTrigger","DropdownMenuSubContent","subContentProps","MenuPrimitive.SubContent","Root2","Trigger","Portal2","Content2","Label2","Item2","CheckboxItem2","RadioGroup2","RadioItem2","ItemIndicator2","Separator2","Sub2","SubTrigger2","SubContent2"],"mappings":"wwBAaA,IAAIA,EAAqB,gBACpBC,EAA2BC,GAA2BC,EACzDH,EACA,CAACI,IAECC,EAAeD,KACdE,EAAsBC,GAA0BN,EAA0BD,GAC3EQ,EAAgBC,IAClB,MAAMC,oBACJA,EAAmBC,SACnBA,EAAQC,IACRA,EACAC,KAAMC,EAAQC,YACdA,EAAWC,aACXA,EAAYC,MACZA,GAAQ,GACNR,EACES,EAAYb,EAAaK,GACzBS,EAAaC,EAAMC,OAAO,OACzBR,GAAO,EAAOS,GAAWC,EAAqB,CACnDC,KAAMV,EACNW,YAAaV,EACbW,SAAUV,IAEZ,OAAuBW,EAAGA,IACxBrB,EACA,CACEsB,MAAOlB,EACPmB,UAAWC,IACXX,aACAY,UAAWD,IAC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AAwC,sCAI/C,IAEHiC,EAAuBzE,YAxBA,yBAyBpB,IAAC4E,EAAQxG,EACRyG,EAAU3E,EACV4E,EAAUtD,EACVuD,EAAWnD,EAEXoD,EAASpC,EACTqC,GAAQlC,EACRmC,GAAgBhC,EAChBiC,GAAc9B,EACd+B,GAAa5B,EACb6B,GAAiB1B,EACjB2B,GAAaxB,EAEbyB,GAAOnB,EACPoB,GAAclB,EACdmB,GAAchB"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";var t=0;function n(){e.useEffect((()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),t++,()=>{1===t&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),t--}}),[])}function o(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}export{n as useFocusGuards};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/FocusGuards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.cssText = \"outline: none; opacity: 0; position: fixed; pointer-events: none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","useEffect","edgeGuards","document","querySelectorAll","body","insertAdjacentElement","createFocusGuard","forEach","node","remove","element","createElement","setAttribute","tabIndex","style","cssText"],"mappings":"wBAIA,IAAIA,EAAQ,EAKZ,SAASC,IACPC,EAAMC,WAAU,KACd,MAAMC,EAAaC,SAASC,iBAAiB,4BAI7C,OAHAD,SAASE,KAAKC,sBAAsB,aAAcJ,EAAW,IAAMK,KACnEJ,SAASE,KAAKC,sBAAsB,YAAaJ,EAAW,IAAMK,KAClET,IACO,KACS,IAAVA,GACFK,SAASC,iBAAiB,4BAA4BI,SAASC,GAASA,EAAKC,WAE/EZ,GAAO,CACR,GACA,GACL,CACA,SAASS,IACP,MAAMI,EAAUR,SAASS,cAAc,QAIvC,OAHAD,EAAQE,aAAa,yBAA0B,IAC/CF,EAAQG,SAAW,EACnBH,EAAQI,MAAMC,QAAU,mEACjBL,CACT"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";import{useComposedRefs as t}from"../../react-compose-refs/dist/index.mjs";import{Primitive as n}from"../../react-primitive/dist/index.mjs";import{useCallbackRef as o}from"../../react-use-callback-ref/dist/index.mjs";import{j as r}from"../../../../_virtual/jsx-runtime.mjs";var u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},i=e.forwardRef(((i,f)=>{const{loop:v=!1,trapped:p=!1,onMountAutoFocus:E,onUnmountAutoFocus:b,...y}=i,[L,T]=e.useState(null),h=o(E),N=o(b),F=e.useRef(null),x=t(f,(e=>T(e))),S=e.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;e.useEffect((()=>{if(p){let e=function(e){if(S.paused||!L)return;const t=e.target;L.contains(t)?F.current=t:l(F.current,{select:!0})},t=function(e){if(S.paused||!L)return;const t=e.relatedTarget;null!==t&&(L.contains(t)||l(F.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&l(L)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return L&&o.observe(L,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}}),[p,L,S.paused]),e.useEffect((()=>{if(L){m.add(S);const t=document.activeElement;if(!L.contains(t)){const n=new CustomEvent(u,s);L.addEventListener(u,h),L.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(l(o,{select:t}),document.activeElement!==n)return}((e=d(L),e.filter((e=>"A"!==e.tagName))),{select:!0}),document.activeElement===t&&l(L))}return()=>{L.removeEventListener(u,h),setTimeout((()=>{const e=new CustomEvent(c,s);L.addEventListener(c,N),L.dispatchEvent(e),e.defaultPrevented||l(t??document.body,{select:!0}),L.removeEventListener(c,N),m.remove(S)}),0)}}var e}),[L,h,N,S]);const I=e.useCallback((e=>{if(!v&&!p)return;if(S.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[o,r]=function(e){const t=d(e),n=a(t,e),o=a(t.reverse(),e);return[n,o]}(t);o&&r?e.shiftKey||n!==r?e.shiftKey&&n===o&&(e.preventDefault(),v&&l(r,{select:!0})):(e.preventDefault(),v&&l(o,{select:!0})):n===t&&e.preventDefault()}}),[v,p,S.paused]);return r.jsx(n.div,{tabIndex:-1,...y,ref:x,onKeyDown:I})}));function d(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function a(e,t){for(const n of e)if(!f(n,{upTo:t}))return n}function f(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function l(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}i.displayName="FocusScope";var m=function(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=v(e,t),e.unshift(t)},remove(t){e=v(e,t),e[0]?.resume()}}}();function v(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}export{i as FocusScope};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-scope/src/FocusScope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","bubbles","cancelable","FocusScope","React","forwardRef","props","forwardedRef","loop","trapped","onMountAutoFocus","onMountAutoFocusProp","onUnmountAutoFocus","onUnmountAutoFocusProp","scopeProps","container","setContainer","useState","useCallbackRef","lastFocusedElementRef","useRef","composedRefs","useComposedRefs","node","focusScope","paused","pause","this","resume","current","useEffect","handleFocusIn2","event","target","contains","focus","select","handleFocusOut2","relatedTarget","handleMutations2","mutations","document","activeElement","body","mutation","removedNodes","length","addEventListener","mutationObserver","MutationObserver","observe","childList","subtree","removeEventListener","disconnect","focusScopesStack","add","previouslyFocusedElement","mountEvent","CustomEvent","dispatchEvent","defaultPrevented","candidates","candidate","focusFirst","items","getTabbableCandidates","filter","item","tagName","setTimeout","unmountEvent","remove","handleKeyDown","useCallback","isTabKey","key","altKey","ctrlKey","metaKey","focusedElement","container2","currentTarget","first","last","findVisible","reverse","getTabbableEdges","shiftKey","preventDefault","jsx","Primitive","div","tabIndex","ref","onKeyDown","nodes","walker","createTreeWalker","NodeFilter","SHOW_ELEMENT","acceptNode","isHiddenInput","type","disabled","hidden","FILTER_SKIP","FILTER_ACCEPT","nextNode","push","currentNode","elements","element","isHidden","upTo","getComputedStyle","visibility","display","parentElement","preventScroll","HTMLInputElement","isSelectableInput","displayName","stack","activeFocusScope","arrayRemove","unshift","createFocusScopesStack","array","updatedArray","index","indexOf","splice"],"mappings":"ySAQA,IAAIA,EAAqB,8BACrBC,EAAuB,gCACvBC,EAAgB,CAAEC,SAAS,EAAOC,YAAY,GAE9CC,EAAaC,EAAMC,YAAW,CAACC,EAAOC,KACxC,MAAMC,KACJA,GAAO,EAAKC,QACZA,GAAU,EACVC,iBAAkBC,EAClBC,mBAAoBC,KACjBC,GACDR,GACGS,EAAWC,GAAgBZ,EAAMa,SAAS,MAC3CP,EAAmBQ,EAAeP,GAClCC,EAAqBM,EAAeL,GACpCM,EAAwBf,EAAMgB,OAAO,MACrCC,EAAeC,EAAgBf,GAAegB,GAASP,EAAaO,KACpEC,EAAapB,EAAMgB,OAAO,CAC9BK,QAAQ,EACR,KAAAC,GACEC,KAAKF,QAAS,CACf,EACD,MAAAG,GACED,KAAKF,QAAS,CACf,IACAI,QAC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,EAAWuH,YArHY,aAwKvB,IAAInE,EACJ,WACE,IAAIoE,EAAQ,GACZ,MAAO,CACL,GAAAnE,CAAIhC,GACF,MAAMoG,EAAmBD,EAAM,GAC3BnG,IAAeoG,GACjBA,GAAkBlG,QAEpBiG,EAAQE,EAAYF,EAAOnG,GAC3BmG,EAAMG,QAAQtG,EACf,EACD,MAAAgD,CAAOhD,GACLmG,EAAQE,EAAYF,EAAOnG,GAC3BmG,EAAM,IAAI/F,QACX,EAEL,CAjBuBmG,GAkBvB,SAASF,EAAYG,EAAO5D,GAC1B,MAAM6D,EAAe,IAAID,GACnBE,EAAQD,EAAaE,QAAQ/D,GAInC,OAHe,IAAX8D,GACFD,EAAaG,OAAOF,EAAO,GAEtBD,CACT"}
@@ -0,0 +1,2 @@
1
+ import*as e from"react";import{composeEventHandlers as r}from"../../primitive/dist/index.mjs";import{createContextScope as t}from"../../react-context/dist/index.mjs";import{useControllableState as o}from"../../react-use-controllable-state/dist/index.mjs";import{useComposedRefs as n}from"../../react-compose-refs/dist/index.mjs";import{createPopperScope as i,Anchor as s,Content as a,Arrow as c,Root as d}from"../../react-popper/dist/index.mjs";import{Portal as u}from"../../react-portal/dist/index.mjs";import{Presence as l}from"../../react-presence/dist/index.mjs";import{Primitive as p}from"../../react-primitive/dist/index.mjs";import{DismissableLayer as f}from"../../react-dismissable-layer/dist/index.mjs";import{j as m}from"../../../../_virtual/jsx-runtime.mjs";var v,h="HoverCard",[x,C]=t(h,[i]),w=i(),[j,P]=x(h),R=r=>{const{__scopeHoverCard:t,children:n,open:i,defaultOpen:s,onOpenChange:a,openDelay:c=700,closeDelay:u=300}=r,l=w(t),p=e.useRef(0),f=e.useRef(0),v=e.useRef(!1),h=e.useRef(!1),[x=!1,C]=o({prop:i,defaultProp:s,onChange:a}),P=e.useCallback((()=>{clearTimeout(f.current),p.current=window.setTimeout((()=>C(!0)),c)}),[c,C]),R=e.useCallback((()=>{clearTimeout(p.current),v.current||h.current||(f.current=window.setTimeout((()=>C(!1)),u))}),[u,C]),y=e.useCallback((()=>C(!1)),[C]);return e.useEffect((()=>()=>{clearTimeout(p.current),clearTimeout(f.current)}),[]),m.jsx(j,{scope:t,open:x,onOpenChange:C,onOpen:P,onClose:R,onDismiss:y,hasSelectionRef:v,isPointerDownOnContentRef:h,children:m.jsx(d,{...l,children:n})})};R.displayName=h;var y="HoverCardTrigger",E=e.forwardRef(((e,t)=>{const{__scopeHoverCard:o,...n}=e,i=P(y,o),a=w(o);return m.jsx(s,{asChild:!0,...a,children:m.jsx(p.a,{"data-state":i.open?"open":"closed",...n,ref:t,onPointerEnter:r(e.onPointerEnter,N(i.onOpen)),onPointerLeave:r(e.onPointerLeave,N(i.onClose)),onFocus:r(e.onFocus,i.onOpen),onBlur:r(e.onBlur,i.onClose),onTouchStart:r(e.onTouchStart,(e=>e.preventDefault()))})})}));E.displayName=y;var O="HoverCardPortal",[S,g]=x(O,{forceMount:void 0}),b=e=>{const{__scopeHoverCard:r,forceMount:t,children:o,container:n}=e,i=P(O,r);return m.jsx(S,{scope:r,forceMount:t,children:m.jsx(l,{present:t||i.open,children:m.jsx(u,{asChild:!0,container:n,children:o})})})};b.displayName=O;var D="HoverCardContent",_=e.forwardRef(((e,t)=>{const o=g(D,e.__scopeHoverCard),{forceMount:n=o.forceMount,...i}=e,s=P(D,e.__scopeHoverCard);return m.jsx(l,{present:n||s.open,children:m.jsx(T,{"data-state":s.open?"open":"closed",...i,onPointerEnter:r(e.onPointerEnter,N(s.onOpen)),onPointerLeave:r(e.onPointerLeave,N(s.onClose)),ref:t})})}));_.displayName=D;var T=e.forwardRef(((t,o)=>{const{__scopeHoverCard:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:u,...l}=t,p=P(D,i),h=w(i),x=e.useRef(null),C=n(o,x),[j,R]=e.useState(!1);return e.useEffect((()=>{if(j){const e=document.body;return v=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=v,e.style.webkitUserSelect=v}}}),[j]),e.useEffect((()=>{if(x.current){const e=()=>{R(!1),p.isPointerDownOnContentRef.current=!1,setTimeout((()=>{""!==document.getSelection()?.toString()&&(p.hasSelectionRef.current=!0)}))};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),p.hasSelectionRef.current=!1,p.isPointerDownOnContentRef.current=!1}}}),[p.isPointerDownOnContentRef,p.hasSelectionRef]),e.useEffect((()=>{if(x.current){(function(e){const r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();)r.push(t.currentNode);return r})(x.current).forEach((e=>e.setAttribute("tabindex","-1")))}})),m.jsx(f,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:r(d,(e=>{e.preventDefault()})),onDismiss:p.onDismiss,children:m.jsx(a,{...h,...l,onPointerDown:r(l.onPointerDown,(e=>{e.currentTarget.contains(e.target)&&R(!0),p.hasSelectionRef.current=!1,p.isPointerDownOnContentRef.current=!0})),ref:C,style:{...l.style,userSelect:j?"text":void 0,WebkitUserSelect:j?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})})),H=e.forwardRef(((e,r)=>{const{__scopeHoverCard:t,...o}=e,n=w(t);return m.jsx(c,{...n,...o,ref:r})}));function N(e){return r=>"touch"===r.pointerType?void 0:e()}H.displayName="HoverCardArrow";var F=R,L=E,k=b,I=_;export{I as Content,R as HoverCard,H as HoverCardArrow,_ as HoverCardContent,b as HoverCardPortal,E as HoverCardTrigger,k as Portal,F as Root,L as Trigger,C as createHoverCardScope};
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../node_modules/@radix-ui/react-hover-card/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/hover-card/src/HoverCard.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { jsx } from \"react/jsx-runtime\";\nvar originalBodyUserSelect;\nvar HOVERCARD_NAME = \"HoverCard\";\nvar [createHoverCardContext, createHoverCardScope] = createContextScope(HOVERCARD_NAME, [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar [HoverCardProvider, useHoverCardContext] = createHoverCardContext(HOVERCARD_NAME);\nvar HoverCard = (props) => {\n const {\n __scopeHoverCard,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n openDelay = 700,\n closeDelay = 300\n } = props;\n const popperScope = usePopperScope(__scopeHoverCard);\n const openTimerRef = React.useRef(0);\n const closeTimerRef = React.useRef(0);\n const hasSelectionRef = React.useRef(false);\n const isPointerDownOnContentRef = React.useRef(false);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n const handleOpen = React.useCallback(() => {\n clearTimeout(closeTimerRef.current);\n openTimerRef.current = window.setTimeout(() => setOpen(true), openDelay);\n }, [openDelay, setOpen]);\n const handleClose = React.useCallback(() => {\n clearTimeout(openTimerRef.current);\n if (!hasSelectionRef.current && !isPointerDownOnContentRef.current) {\n closeTimerRef.current = window.setTimeout(() => setOpen(false), closeDelay);\n }\n }, [closeDelay, setOpen]);\n const handleDismiss = React.useCallback(() => setOpen(false), [setOpen]);\n React.useEffect(() => {\n return () => {\n clearTimeout(openTimerRef.current);\n clearTimeout(closeTimerRef.current);\n };\n }, []);\n return /* @__PURE__ */ jsx(\n HoverCardProvider,\n {\n scope: __scopeHoverCard,\n open,\n onOpenChange: setOpen,\n onOpen: handleOpen,\n onClose: handleClose,\n onDismiss: handleDismiss,\n hasSelectionRef,\n isPointerDownOnContentRef,\n children: /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children })\n }\n );\n};\nHoverCard.displayName = HOVERCARD_NAME;\nvar TRIGGER_NAME = \"HoverCardTrigger\";\nvar HoverCardTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeHoverCard, ...triggerProps } = props;\n const context = useHoverCardContext(TRIGGER_NAME, __scopeHoverCard);\n const popperScope = usePopperScope(__scopeHoverCard);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(\n Primitive.a,\n {\n \"data-state\": context.open ? \"open\" : \"closed\",\n ...triggerProps,\n ref: forwardedRef,\n onPointerEnter: composeEventHandlers(props.onPointerEnter, excludeTouch(context.onOpen)),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, excludeTouch(context.onClose)),\n onFocus: composeEventHandlers(props.onFocus, context.onOpen),\n onBlur: composeEventHandlers(props.onBlur, context.onClose),\n onTouchStart: composeEventHandlers(props.onTouchStart, (event) => event.preventDefault())\n }\n ) });\n }\n);\nHoverCardTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"HoverCardPortal\";\nvar [PortalProvider, usePortalContext] = createHoverCardContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar HoverCardPortal = (props) => {\n const { __scopeHoverCard, forceMount, children, container } = props;\n const context = useHoverCardContext(PORTAL_NAME, __scopeHoverCard);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeHoverCard, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nHoverCardPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"HoverCardContent\";\nvar HoverCardContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeHoverCard);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useHoverCardContext(CONTENT_NAME, props.__scopeHoverCard);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(\n HoverCardContentImpl,\n {\n \"data-state\": context.open ? \"open\" : \"closed\",\n ...contentProps,\n onPointerEnter: composeEventHandlers(props.onPointerEnter, excludeTouch(context.onOpen)),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, excludeTouch(context.onClose)),\n ref: forwardedRef\n }\n ) });\n }\n);\nHoverCardContent.displayName = CONTENT_NAME;\nvar HoverCardContentImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeHoverCard,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n ...contentProps\n } = props;\n const context = useHoverCardContext(CONTENT_NAME, __scopeHoverCard);\n const popperScope = usePopperScope(__scopeHoverCard);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [containSelection, setContainSelection] = React.useState(false);\n React.useEffect(() => {\n if (containSelection) {\n const body = document.body;\n originalBodyUserSelect = body.style.userSelect || body.style.webkitUserSelect;\n body.style.userSelect = \"none\";\n body.style.webkitUserSelect = \"none\";\n return () => {\n body.style.userSelect = originalBodyUserSelect;\n body.style.webkitUserSelect = originalBodyUserSelect;\n };\n }\n }, [containSelection]);\n React.useEffect(() => {\n if (ref.current) {\n const handlePointerUp = () => {\n setContainSelection(false);\n context.isPointerDownOnContentRef.current = false;\n setTimeout(() => {\n const hasSelection = document.getSelection()?.toString() !== \"\";\n if (hasSelection) context.hasSelectionRef.current = true;\n });\n };\n document.addEventListener(\"pointerup\", handlePointerUp);\n return () => {\n document.removeEventListener(\"pointerup\", handlePointerUp);\n context.hasSelectionRef.current = false;\n context.isPointerDownOnContentRef.current = false;\n };\n }\n }, [context.isPointerDownOnContentRef, context.hasSelectionRef]);\n React.useEffect(() => {\n if (ref.current) {\n const tabbables = getTabbableNodes(ref.current);\n tabbables.forEach((tabbable) => tabbable.setAttribute(\"tabindex\", \"-1\"));\n }\n });\n return /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents: false,\n onInteractOutside,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside: composeEventHandlers(onFocusOutside, (event) => {\n event.preventDefault();\n }),\n onDismiss: context.onDismiss,\n children: /* @__PURE__ */ jsx(\n PopperPrimitive.Content,\n {\n ...popperScope,\n ...contentProps,\n onPointerDown: composeEventHandlers(contentProps.onPointerDown, (event) => {\n if (event.currentTarget.contains(event.target)) {\n setContainSelection(true);\n }\n context.hasSelectionRef.current = false;\n context.isPointerDownOnContentRef.current = true;\n }),\n ref: composedRefs,\n style: {\n ...contentProps.style,\n userSelect: containSelection ? \"text\" : void 0,\n // Safari requires prefix\n WebkitUserSelect: containSelection ? \"text\" : void 0,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-hover-card-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-hover-card-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-hover-card-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-hover-card-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-hover-card-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n )\n }\n );\n});\nvar ARROW_NAME = \"HoverCardArrow\";\nvar HoverCardArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeHoverCard, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeHoverCard);\n return /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nHoverCardArrow.displayName = ARROW_NAME;\nfunction excludeTouch(eventHandler) {\n return (event) => event.pointerType === \"touch\" ? void 0 : eventHandler();\n}\nfunction getTabbableNodes(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nvar Root2 = HoverCard;\nvar Trigger = HoverCardTrigger;\nvar Portal = HoverCardPortal;\nvar Content2 = HoverCardContent;\nvar Arrow2 = HoverCardArrow;\nexport {\n Arrow2 as Arrow,\n Content2 as Content,\n HoverCard,\n HoverCardArrow,\n HoverCardContent,\n HoverCardPortal,\n HoverCardTrigger,\n Portal,\n Root2 as Root,\n Trigger,\n createHoverCardScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["originalBodyUserSelect","HOVERCARD_NAME","createHoverCardContext","createHoverCardScope","createContextScope","createPopperScope","usePopperScope","HoverCardProvider","useHoverCardContext","HoverCard","props","__scopeHoverCard","children","open","openProp","defaultOpen","onOpenChange","openDelay","closeDelay","popperScope","openTimerRef","React","useRef","closeTimerRef","hasSelectionRef","isPointerDownOnContentRef","setOpen","useControllableState","prop","defaultProp","onChange","handleOpen","useCallback","clearTimeout","current","window","setTimeout","handleClose","handleDismiss","useEffect","jsx","scope","onOpen","onClose","onDismiss","PopperPrimitive.Root","displayName","TRIGGER_NAME","HoverCardTrigger","forwardRef","forwardedRef","triggerProps","context","PopperPrimitive.Anchor","asChild","Primitive","a","ref","onPointerEnter","composeEventHandlers","excludeTouch","onPointerLeave","onFocus","onBlur","onTouchStart","event","preventDefault","PORTAL_NAME","PortalProvider","usePortalContext","forceMount","HoverCardPortal","container","Presence","present","PortalPrimitive","CONTENT_NAME","HoverCardContent","portalContext","contentProps","HoverCardContentImpl","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","composedRefs","useComposedRefs","containSelection","setContainSelection","useState","body","document","style","userSelect","webkitUserSelect","handlePointerUp","getSelection","toString","addEventListener","removeEventListener","nodes","walker","createTreeWalker","NodeFilter","SHOW_ELEMENT","acceptNode","node","tabIndex","FILTER_ACCEPT","FILTER_SKIP","nextNode","push","currentNode","getTabbableNodes","forEach","tabbable","setAttribute","DismissableLayer","disableOutsidePointerEvents","PopperPrimitive.Content","onPointerDown","currentTarget","contains","target","WebkitUserSelect","HoverCardArrow","arrowProps","PopperPrimitive.Arrow","eventHandler","pointerType","Root2","Trigger","Portal","Content2"],"mappings":"iwBAeA,IAAIA,EACAC,EAAiB,aAChBC,EAAwBC,GAAwBC,EAAmBH,EAAgB,CACtFI,IAEEC,EAAiBD,KAChBE,EAAmBC,GAAuBN,EAAuBD,GAClEQ,EAAaC,IACf,MAAMC,iBACJA,EAAgBC,SAChBA,EACAC,KAAMC,EAAQC,YACdA,EAAWC,aACXA,EAAYC,UACZA,EAAY,IAAGC,WACfA,EAAa,KACXR,EACES,EAAcb,EAAeK,GAC7BS,EAAeC,EAAMC,OAAO,GAC5BC,EAAgBF,EAAMC,OAAO,GAC7BE,EAAkBH,EAAMC,QAAO,GAC/BG,EAA4BJ,EAAMC,QAAO,IACxCT,GAAO,EAAOa,GAAWC,EAAqB,CACnDC,KAAMd,EACNe,YAAad,EACbe,SAAUd,IAENe,EAAaV,EAAMW,aAAY,KACnCC,aAAaV,EAAcW,SAC3Bd,EAAac,QAAUC,OAAOC,YAAW,IAAMV,GAAQ,IAAOT,EAAU,GACvE,CAACA,EAAWS,IACTW,EAAchB,EAAMW,aAAY,KACpCC,aAAab,EAAac,SACrBV,EAAgBU,SAAYT,EAA0BS,UACzDX,EAAcW,QAAUC,OAAOC,YAAW,IAAMV,GAAQ,IAAQR,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IAElDuB,IAAK4B,EACLO,MAAO,IACFb,EAAaa,MAChBC,WAAYN,EAAmB,YAAS,EAExCqC,iBAAkBrC,EAAmB,YAAS,EAG5C,8CAA+C,uCAC/C,6CAA8C,sCAC9C,8CAA+C,uCAC/C,mCAAoC,mCACpC,oCAAqC,wCAMhD,IAGCsC,EAAiBxG,EAAM4B,YACzB,CAACvC,EAAOwC,KACN,MAAMvC,iBAAEA,KAAqBmH,GAAepH,EACtCS,EAAcb,EAAeK,GACnC,OAAuB6B,EAAGA,IAACuF,EAAuB,IAAK5G,KAAgB2G,EAAYrE,IAAKP,GAAe,IAI3G,SAASU,EAAaoE,GACpB,OAAQ/D,GAAgC,UAAtBA,EAAMgE,iBAA0B,EAASD,GAC7D,CAHAH,EAAe/E,YARE,iBAsBd,IAACoF,EAAQzH,EACR0H,EAAUnF,EACVoF,EAAS7D,EACT8D,EAAWxD"}
@@ -0,0 +1,2 @@
1
+ import{forwardRef as o,createElement as e}from"react";function l(o,e){if(null==o)return{};var l,r,n={},i=Object.keys(o);for(r=0;r<i.length;r++)l=i[r],e.indexOf(l)>=0||(n[l]=o[l]);return n}var r=["color"],n=o((function(o,n){var i=o.color,t=void 0===i?"currentColor":i,C=l(o,r);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C,{ref:n}),e("path",{d:"M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))})),i=["color"],t=o((function(o,r){var n=o.color,t=void 0===n?"currentColor":n,C=l(o,i);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C,{ref:r}),e("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))})),C=["color"],v=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,C);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))})),d=["color"],c=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,d);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))})),w=["color"],f=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,w);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))})),u=["color"],g=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,u);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:i}))})),h=["color"],s=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,h);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))})),a=["color"],p=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,a);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))})),L=["color"],x=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,L);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))})),H=["color"],M=o((function(o,r){var n=o.color,i=void 0===n?"currentColor":n,t=l(o,H);return e("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:r}),e("path",{d:"M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))}));export{n as CaretDownIcon,v as CheckCircledIcon,t as CheckIcon,c as ChevronDownIcon,f as ChevronRightIcon,g as DotFilledIcon,s as ExclamationTriangleIcon,p as InfoCircledIcon,x as LockClosedIcon,M as MinusIcon};
2
+ //# sourceMappingURL=react-icons.esm.mjs.map