@lotte-innovate/ui-component-test 0.1.67 → 0.1.69-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (654) hide show
  1. package/README.md +76 -6
  2. package/dist/globals.css +1 -1
  3. package/dist/lib/Typography/Header/index.d.ts +6 -4
  4. package/dist/lib/Typography/Header/index.js +5 -2
  5. package/dist/lib/Typography/Text/index.js +4 -1
  6. package/dist/lib/color/constants.d.ts +1 -0
  7. package/dist/lib/color/constants.js +1 -0
  8. package/dist/lib/components/Accordion/index.js +7 -4
  9. package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
  10. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
  11. package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
  12. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
  13. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +5 -4
  14. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
  15. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
  16. package/dist/lib/components/AlertDialog/index.js +1 -1
  17. package/dist/lib/components/AspectRatio/index.js +2 -1
  18. package/dist/lib/components/Avatar/index.js +6 -5
  19. package/dist/lib/components/Badge/index.js +8 -6
  20. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  21. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  22. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  23. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  24. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  25. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  26. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  27. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  28. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  29. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  30. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  31. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  32. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  33. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  34. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  35. package/dist/lib/components/Breadcrumb/index.js +17 -0
  36. package/dist/lib/components/Button/index.js +8 -6
  37. package/dist/lib/components/Callout/CalloutIcon.js +1 -0
  38. package/dist/lib/components/Callout/CalloutRoot.js +2 -2
  39. package/dist/lib/components/Callout/CalloutText.js +1 -0
  40. package/dist/lib/components/Card/index.js +3 -2
  41. package/dist/lib/components/Checkbox/index.js +5 -4
  42. package/dist/lib/components/CheckboxCard/index.js +3 -2
  43. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
  44. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +5 -4
  45. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
  46. package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
  47. package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
  48. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
  49. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
  50. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
  51. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +5 -4
  52. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
  53. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
  54. package/dist/lib/components/DataList/DataListItem.js +1 -0
  55. package/dist/lib/components/DataList/DataListLabel.js +1 -0
  56. package/dist/lib/components/DataList/DataListRoot.js +2 -2
  57. package/dist/lib/components/DataList/DataListValue.js +1 -0
  58. package/dist/lib/components/Dialog/DialogAction.js +3 -1
  59. package/dist/lib/components/Dialog/DialogCancel.js +1 -0
  60. package/dist/lib/components/Dialog/DialogContent.js +1 -0
  61. package/dist/lib/components/Dialog/DialogDescription.js +2 -1
  62. package/dist/lib/components/Dialog/DialogRoot.js +5 -4
  63. package/dist/lib/components/Dialog/DialogSlot.js +1 -0
  64. package/dist/lib/components/Dialog/DialogTitle.js +1 -0
  65. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
  66. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
  67. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
  68. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
  69. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
  70. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
  71. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
  72. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +5 -4
  73. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
  74. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
  75. package/dist/lib/components/Footer/index.d.ts +11 -0
  76. package/dist/lib/components/Footer/index.js +50 -0
  77. package/dist/lib/components/Grid/index.d.ts +5 -0
  78. package/dist/lib/components/Grid/index.js +52 -0
  79. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  80. package/dist/lib/components/Grid/useGrid.js +67 -0
  81. package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
  82. package/dist/lib/components/HoverCard/HoverCardRoot.js +6 -5
  83. package/dist/lib/components/IconButton/index.js +7 -5
  84. package/dist/lib/components/Inset/index.js +3 -2
  85. package/dist/lib/components/Label/index.d.ts +4 -3
  86. package/dist/lib/components/Label/index.js +9 -6
  87. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
  88. package/dist/lib/components/Menubar/MenubarContent.js +1 -0
  89. package/dist/lib/components/Menubar/MenubarItem.js +3 -1
  90. package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
  91. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
  92. package/dist/lib/components/Menubar/MenubarRoot.js +7 -5
  93. package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
  94. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
  95. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
  96. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
  97. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  98. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
  99. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
  100. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +5 -4
  101. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
  102. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
  103. package/dist/lib/components/Popover/PopoverClose.js +1 -0
  104. package/dist/lib/components/Popover/PopoverContent.js +1 -0
  105. package/dist/lib/components/Popover/PopoverRoot.js +2 -2
  106. package/dist/lib/components/Progress/index.js +9 -8
  107. package/dist/lib/components/Radio/index.js +7 -6
  108. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
  109. package/dist/lib/components/RadioCards/RadioCardsRoot.js +7 -7
  110. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
  111. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +6 -6
  112. package/dist/lib/components/ScrollArea/index.js +2 -1
  113. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +5 -3
  114. package/dist/lib/components/SegmentedControl/index.d.ts +1 -1
  115. package/dist/lib/components/SegmentedControl/index.js +1 -1
  116. package/dist/lib/components/Select/index.js +8 -5
  117. package/dist/lib/components/Separator/index.js +5 -3
  118. package/dist/lib/components/Skeleton/index.js +3 -2
  119. package/dist/lib/components/Slider/index.js +8 -9
  120. package/dist/lib/components/Spinner/index.js +2 -1
  121. package/dist/lib/components/TabNav/index.js +5 -4
  122. package/dist/lib/components/Table/index.js +4 -4
  123. package/dist/lib/components/Tabs/index.d.ts +2 -1
  124. package/dist/lib/components/Tabs/index.js +5 -2
  125. package/dist/lib/components/TextArea/index.js +8 -7
  126. package/dist/lib/components/TextField/index.js +8 -7
  127. package/dist/lib/components/Toast/ToastActionButton.js +1 -0
  128. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  129. package/dist/lib/components/Toast/ToastRoot.js +2 -2
  130. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  131. package/dist/lib/components/Toggle/ToggleWithText.js +7 -4
  132. package/dist/lib/components/Toggle/index.js +7 -4
  133. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  134. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +5 -3
  135. package/dist/lib/components/ToggleSwitch/index.js +8 -9
  136. package/dist/lib/components/Tooltip/index.js +4 -4
  137. package/dist/lib/components/index.d.ts +2 -0
  138. package/dist/lib/components/index.js +2 -0
  139. package/dist/lib/constants.d.ts +5 -4
  140. package/dist/lib/constants.js +13 -1
  141. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  142. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  143. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  144. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  145. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  146. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  147. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  148. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  149. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  150. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  151. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  152. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs +1 -0
  153. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  154. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs +2 -1
  155. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  156. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs +1 -0
  157. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  158. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  159. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs +1 -0
  160. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  161. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  162. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  163. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  164. package/dist/lib/{components → dist/lib/components}/AspectRatio/index.mjs +2 -1
  165. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  166. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  167. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  168. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  169. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  170. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  171. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  172. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  173. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  174. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  175. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  176. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  177. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  178. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  179. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  180. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  181. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  182. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  183. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  184. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  185. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  186. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  187. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  188. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  189. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  190. package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs +1 -0
  191. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  192. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  193. package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs +1 -0
  194. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  195. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  196. package/dist/lib/{components → dist/lib/components}/Card/index.mjs +2 -1
  197. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  198. package/dist/lib/{components → dist/lib/components}/Checkbox/index.mjs +2 -1
  199. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  200. package/dist/lib/{components → dist/lib/components}/CheckboxCard/index.mjs +2 -1
  201. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  202. package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
  203. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  204. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  205. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  206. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
  207. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  208. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs +1 -0
  209. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  210. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  211. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  212. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  213. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
  214. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  215. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs +1 -0
  216. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  217. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs +2 -1
  218. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  219. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  220. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  221. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs +1 -0
  222. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  223. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  224. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  225. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  226. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  227. package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs +1 -0
  228. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  229. package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs +1 -0
  230. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  231. package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs +1 -1
  232. package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs +1 -0
  233. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  234. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  235. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  236. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  237. package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs +1 -0
  238. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  239. package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs +1 -0
  240. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  241. package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs +2 -1
  242. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  243. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  244. package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs +1 -0
  245. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  246. package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs +1 -0
  247. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  248. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  249. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  250. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  251. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  252. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
  253. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  254. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
  255. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  256. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs +1 -0
  257. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  258. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  259. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  260. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
  261. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  262. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs +1 -0
  263. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  264. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
  265. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  266. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  267. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  268. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  269. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  270. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  271. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
  272. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  273. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  274. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  275. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  276. package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs +1 -0
  277. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  278. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  279. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  280. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  281. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  282. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  283. package/dist/lib/{components → dist/lib/components}/Inset/index.mjs +2 -1
  284. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  285. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  286. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  287. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  288. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  289. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  290. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs +1 -0
  291. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  292. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  293. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  294. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs +1 -0
  295. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  296. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  297. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  298. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  299. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  300. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  301. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  302. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs +1 -0
  303. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  304. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  305. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  306. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs +2 -1
  307. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  308. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  309. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  310. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  311. package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
  312. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  313. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  314. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  315. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  316. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  317. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  318. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  319. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  320. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  321. package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs +2 -1
  322. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  323. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  324. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  325. package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs +1 -0
  326. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  327. package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs +1 -0
  328. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  329. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  330. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  331. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  332. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  333. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  334. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  335. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  336. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  337. package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs +1 -0
  338. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  339. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  340. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  341. package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs +1 -0
  342. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  343. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  344. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  345. package/dist/lib/{components → dist/lib/components}/ScrollArea/index.mjs +2 -1
  346. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  347. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  348. package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlRoot.mjs +2 -1
  349. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  350. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  351. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  352. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  353. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  354. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  355. package/dist/lib/{components → dist/lib/components}/Skeleton/index.mjs +2 -1
  356. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  357. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  358. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  359. package/dist/lib/{components → dist/lib/components}/Spinner/index.mjs +2 -1
  360. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  361. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  362. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  363. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  364. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  365. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  366. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  367. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  368. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  369. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  370. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  371. package/dist/lib/{components → dist/lib/components}/Toast/ToastActionButton.mjs +1 -0
  372. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  373. package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs +1 -0
  374. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  375. package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs +1 -1
  376. package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs +1 -0
  377. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  378. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  379. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  380. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  381. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  382. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  383. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  384. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  385. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  386. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  387. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  388. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  389. package/dist/lib/{components → dist/lib/components}/Tooltip/index.mjs +2 -1
  390. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  391. package/dist/lib/dist/lib/constants.mjs +2 -0
  392. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  393. package/dist/lib/dist/lib/index.mjs +2 -0
  394. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  395. package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs +8 -0
  396. package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs.map +1 -0
  397. package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs +8 -0
  398. package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs.map +1 -0
  399. package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs +8 -0
  400. package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs.map +1 -0
  401. package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs +8 -0
  402. package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs.map +1 -0
  403. package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs +8 -0
  404. package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs.map +1 -0
  405. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  406. package/dist/lib/types.d.ts +3 -0
  407. package/dist/tsconfig.tsbuildinfo +1 -1
  408. package/package.json +4 -2
  409. package/dist/lib/Typography/Header/index.mjs +0 -2
  410. package/dist/lib/Typography/Header/index.mjs.map +0 -1
  411. package/dist/lib/Typography/Text/index.mjs +0 -2
  412. package/dist/lib/Typography/Text/index.mjs.map +0 -1
  413. package/dist/lib/color/alpha.mjs.map +0 -1
  414. package/dist/lib/color/constants.mjs +0 -2
  415. package/dist/lib/color/constants.mjs.map +0 -1
  416. package/dist/lib/color/light.mjs.map +0 -1
  417. package/dist/lib/components/Accordion/index.mjs +0 -2
  418. package/dist/lib/components/Accordion/index.mjs.map +0 -1
  419. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +0 -2
  420. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +0 -1
  421. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +0 -1
  422. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +0 -1
  423. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +0 -1
  424. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +0 -3
  425. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +0 -1
  426. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +0 -2
  427. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +0 -1
  428. package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
  429. package/dist/lib/components/AspectRatio/index.mjs.map +0 -1
  430. package/dist/lib/components/Avatar/index.mjs +0 -3
  431. package/dist/lib/components/Badge/index.mjs +0 -2
  432. package/dist/lib/components/Badge/index.mjs.map +0 -1
  433. package/dist/lib/components/BarChart/index.mjs.map +0 -1
  434. package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
  435. package/dist/lib/components/Button/index.mjs +0 -2
  436. package/dist/lib/components/Button/index.mjs.map +0 -1
  437. package/dist/lib/components/Callout/CalloutIcon.mjs.map +0 -1
  438. package/dist/lib/components/Callout/CalloutRoot.mjs +0 -3
  439. package/dist/lib/components/Callout/CalloutText.mjs.map +0 -1
  440. package/dist/lib/components/Callout/index.mjs.map +0 -1
  441. package/dist/lib/components/Card/index.mjs.map +0 -1
  442. package/dist/lib/components/Checkbox/index.mjs.map +0 -1
  443. package/dist/lib/components/CheckboxCard/index.mjs.map +0 -1
  444. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -1
  445. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +0 -3
  446. package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
  447. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -1
  448. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +0 -1
  449. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
  450. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +0 -2
  451. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +0 -1
  452. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -1
  453. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +0 -1
  454. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +0 -1
  455. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +0 -3
  456. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
  457. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +0 -1
  458. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +0 -2
  459. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -1
  460. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
  461. package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
  462. package/dist/lib/components/DataList/DataListItem.mjs.map +0 -1
  463. package/dist/lib/components/DataList/DataListLabel.mjs.map +0 -1
  464. package/dist/lib/components/DataList/DataListValue.mjs.map +0 -1
  465. package/dist/lib/components/DataList/index.mjs.map +0 -1
  466. package/dist/lib/components/Dialog/DialogAction.mjs +0 -2
  467. package/dist/lib/components/Dialog/DialogAction.mjs.map +0 -1
  468. package/dist/lib/components/Dialog/DialogCancel.mjs.map +0 -1
  469. package/dist/lib/components/Dialog/DialogContent.mjs.map +0 -1
  470. package/dist/lib/components/Dialog/DialogDescription.mjs.map +0 -1
  471. package/dist/lib/components/Dialog/DialogRoot.mjs +0 -3
  472. package/dist/lib/components/Dialog/DialogSlot.mjs.map +0 -1
  473. package/dist/lib/components/Dialog/DialogTitle.mjs.map +0 -1
  474. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
  475. package/dist/lib/components/Dialog/index.mjs.map +0 -1
  476. package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
  477. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
  478. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -1
  479. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -1
  480. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +0 -1
  481. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +0 -2
  482. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +0 -1
  483. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -1
  484. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +0 -1
  485. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -1
  486. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +0 -3
  487. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
  488. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
  489. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -2
  490. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -1
  491. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -1
  492. package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
  493. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +0 -1
  494. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +0 -3
  495. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
  496. package/dist/lib/components/HoverCard/index.mjs.map +0 -1
  497. package/dist/lib/components/IconButton/index.mjs +0 -2
  498. package/dist/lib/components/IconButton/index.mjs.map +0 -1
  499. package/dist/lib/components/Inset/index.mjs.map +0 -1
  500. package/dist/lib/components/Label/index.mjs +0 -2
  501. package/dist/lib/components/Label/index.mjs.map +0 -1
  502. package/dist/lib/components/LineChart/index.mjs.map +0 -1
  503. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +0 -2
  504. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +0 -1
  505. package/dist/lib/components/Menubar/MenubarContent.mjs.map +0 -1
  506. package/dist/lib/components/Menubar/MenubarItem.mjs +0 -2
  507. package/dist/lib/components/Menubar/MenubarItem.mjs.map +0 -1
  508. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +0 -1
  509. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
  510. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +0 -2
  511. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +0 -1
  512. package/dist/lib/components/Menubar/MenubarRoot.mjs +0 -3
  513. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
  514. package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
  515. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +0 -1
  516. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +0 -2
  517. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +0 -1
  518. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +0 -1
  519. package/dist/lib/components/Menubar/index.mjs.map +0 -1
  520. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +0 -2
  521. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +0 -1
  522. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
  523. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
  524. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +0 -2
  525. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +0 -1
  526. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +0 -2
  527. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +0 -1
  528. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +0 -3
  529. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +0 -2
  530. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -1
  531. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +0 -1
  532. package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
  533. package/dist/lib/components/PieChart/index.mjs.map +0 -1
  534. package/dist/lib/components/Popover/PopoverClose.mjs.map +0 -1
  535. package/dist/lib/components/Popover/PopoverContent.mjs.map +0 -1
  536. package/dist/lib/components/Popover/PopoverRoot.mjs +0 -3
  537. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
  538. package/dist/lib/components/Popover/index.mjs.map +0 -1
  539. package/dist/lib/components/Progress/index.mjs +0 -2
  540. package/dist/lib/components/Progress/index.mjs.map +0 -1
  541. package/dist/lib/components/RadarChart/index.mjs.map +0 -1
  542. package/dist/lib/components/Radio/index.mjs +0 -2
  543. package/dist/lib/components/Radio/index.mjs.map +0 -1
  544. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +0 -1
  545. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +0 -3
  546. package/dist/lib/components/RadioCards/index.mjs.map +0 -1
  547. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +0 -1
  548. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +0 -3
  549. package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
  550. package/dist/lib/components/ScrollArea/index.mjs.map +0 -1
  551. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
  552. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +0 -1
  553. package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
  554. package/dist/lib/components/Select/index.mjs +0 -2
  555. package/dist/lib/components/Select/index.mjs.map +0 -1
  556. package/dist/lib/components/Separator/index.mjs +0 -2
  557. package/dist/lib/components/Separator/index.mjs.map +0 -1
  558. package/dist/lib/components/Skeleton/index.mjs.map +0 -1
  559. package/dist/lib/components/Slider/index.mjs +0 -2
  560. package/dist/lib/components/Slider/index.mjs.map +0 -1
  561. package/dist/lib/components/Spinner/index.mjs.map +0 -1
  562. package/dist/lib/components/TabNav/index.mjs +0 -2
  563. package/dist/lib/components/TabNav/index.mjs.map +0 -1
  564. package/dist/lib/components/Table/index.mjs +0 -2
  565. package/dist/lib/components/Table/index.mjs.map +0 -1
  566. package/dist/lib/components/Tabs/index.mjs +0 -2
  567. package/dist/lib/components/Tabs/index.mjs.map +0 -1
  568. package/dist/lib/components/TextArea/index.mjs +0 -2
  569. package/dist/lib/components/TextArea/index.mjs.map +0 -1
  570. package/dist/lib/components/TextField/index.mjs +0 -2
  571. package/dist/lib/components/TextField/index.mjs.map +0 -1
  572. package/dist/lib/components/Toast/ToastActionButton.mjs.map +0 -1
  573. package/dist/lib/components/Toast/ToastDescription.mjs.map +0 -1
  574. package/dist/lib/components/Toast/ToastTitle.mjs.map +0 -1
  575. package/dist/lib/components/Toast/index.mjs.map +0 -1
  576. package/dist/lib/components/Toggle/ToggleWithText.mjs +0 -2
  577. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +0 -1
  578. package/dist/lib/components/Toggle/index.mjs +0 -2
  579. package/dist/lib/components/Toggle/index.mjs.map +0 -1
  580. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +0 -2
  581. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +0 -1
  582. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +0 -3
  583. package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
  584. package/dist/lib/components/ToggleSwitch/index.mjs +0 -2
  585. package/dist/lib/components/ToggleSwitch/index.mjs.map +0 -1
  586. package/dist/lib/components/Tooltip/index.mjs.map +0 -1
  587. package/dist/lib/constants.mjs +0 -2
  588. package/dist/lib/constants.mjs.map +0 -1
  589. package/dist/lib/index.mjs +0 -2
  590. package/dist/lib/utils/utils.mjs.map +0 -1
  591. /package/dist/lib/{components/Avatar → dist/lib/Typography/Header}/index.mjs.map +0 -0
  592. /package/dist/lib/{color → dist/lib/color}/alpha.mjs +0 -0
  593. /package/dist/lib/{color → dist/lib/color}/light.mjs +0 -0
  594. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogRoot.mjs.map +0 -0
  595. /package/dist/lib/{components → dist/lib/components}/AlertDialog/index.mjs +0 -0
  596. /package/dist/lib/{components → dist/lib/components}/BarChart/index.mjs +0 -0
  597. /package/dist/lib/{components → dist/lib/components}/BubbleChart/index.mjs +0 -0
  598. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutRoot.mjs.map +0 -0
  599. /package/dist/lib/{components → dist/lib/components}/Callout/index.mjs +0 -0
  600. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -0
  601. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/index.mjs +0 -0
  602. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuGroup.mjs +0 -0
  603. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs +0 -0
  604. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -0
  605. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRoot.mjs.map +0 -0
  606. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
  607. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
  608. /package/dist/lib/{components → dist/lib/components}/ContextMenu/index.mjs +0 -0
  609. /package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs.map +0 -0
  610. /package/dist/lib/{components → dist/lib/components}/DataList/index.mjs +0 -0
  611. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogRoot.mjs.map +0 -0
  612. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTrigger.mjs +0 -0
  613. /package/dist/lib/{components → dist/lib/components}/Dialog/index.mjs +0 -0
  614. /package/dist/lib/{components → dist/lib/components}/DoughnutChart/index.mjs +0 -0
  615. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
  616. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRoot.mjs.map +0 -0
  617. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
  618. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
  619. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/index.mjs +0 -0
  620. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardRoot.mjs.map +0 -0
  621. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardTrigger.mjs +0 -0
  622. /package/dist/lib/{components → dist/lib/components}/HoverCard/index.mjs +0 -0
  623. /package/dist/lib/{components → dist/lib/components}/LineChart/index.mjs +0 -0
  624. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarMenu.mjs +0 -0
  625. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs +0 -0
  626. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs.map +0 -0
  627. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRoot.mjs.map +0 -0
  628. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSeparator.mjs +0 -0
  629. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSub.mjs +0 -0
  630. /package/dist/lib/{components → dist/lib/components}/Menubar/index.mjs +0 -0
  631. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
  632. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuRoot.mjs.map +0 -0
  633. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/index.mjs +0 -0
  634. /package/dist/lib/{components → dist/lib/components}/PieChart/index.mjs +0 -0
  635. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverRoot.mjs.map +0 -0
  636. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverTrigger.mjs +0 -0
  637. /package/dist/lib/{components → dist/lib/components}/Popover/index.mjs +0 -0
  638. /package/dist/lib/{components → dist/lib/components}/RadarChart/index.mjs +0 -0
  639. /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsRoot.mjs.map +0 -0
  640. /package/dist/lib/{components → dist/lib/components}/RadioCards/index.mjs +0 -0
  641. /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupRoot.mjs.map +0 -0
  642. /package/dist/lib/{components → dist/lib/components}/RadioGroup/index.mjs +0 -0
  643. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
  644. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/index.mjs +0 -0
  645. /package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs.map +0 -0
  646. /package/dist/lib/{components → dist/lib/components}/Toast/index.mjs +0 -0
  647. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupRoot.mjs.map +0 -0
  648. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/index.mjs +0 -0
  649. /package/dist/lib/{index.mjs.map → dist/lib/index.mjs.map} +0 -0
  650. /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs +0 -0
  651. /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs.map +0 -0
  652. /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs +0 -0
  653. /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs.map +0 -0
  654. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lotte-innovate/ui-component-test",
3
3
  "description": "Lotte UI Library",
4
- "version": "0.1.67",
4
+ "version": "0.1.69-beta.0",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
@@ -40,10 +40,11 @@
40
40
  "start": "next start",
41
41
  "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
42
42
  "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
43
+ "compile": "tsc --jsx react-jsx",
43
44
  "build": "next build && npm run compile",
44
45
  "build-storybook": "storybook build",
45
46
  "clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
46
- "compile:typescript": "tsc --jsx react-jsx && node src/utils/post-compile.js && tsc-alias",
47
+ "compile:typescript": "npm run compile && node src/utils/post-compile.js && tsc-alias",
47
48
  "bundle:rollup": "rollup -c && node src/utils/post-rollup.js",
48
49
  "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify && node update-tailwind-import.js",
49
50
  "build:test": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css",
@@ -77,6 +78,7 @@
77
78
  "@stitches/react": "^1.2.8",
78
79
  "@storybook/addon-a11y": "^8.3.5",
79
80
  "@storybook/manager-api": "^8.3.5",
81
+ "@tanstack/react-table": "^8.20.5",
80
82
  "chart.js": "^4.4.4",
81
83
  "chartjs-plugin-datalabels": "^2.2.0",
82
84
  "class-variance-authority": "^0.7.0",
@@ -1,2 +0,0 @@
1
- import{jsx as r}from"react/jsx-runtime";import{cn as e}from"../../utils/utils.mjs";import{cva as t}from"class-variance-authority";import{weightVariants as a,textColorStyle as o}from"../../constants.mjs";import{Theme as i,Heading as n}from"@radix-ui/themes";import l from"react";var s=function(){return s=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},s.apply(this,arguments)},c=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(r);o<a.length;o++)e.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(r,a[o])&&(t[a[o]]=r[a[o]])}return t},h=t("",{variants:{weight:s({},a),headers:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},color:o()},defaultVariants:{color:"black"}}),f=l.forwardRef((function(t,a){var o=t.className,l=t.children,f=t.size,m=t.weight,p=t.color,u=t.headers,d=t.align,y=c(t,["className","children","size","weight","color","headers","align"]);return u||(u="h1"),r(i,{children:r(n,s({ref:a,as:u,size:f,align:d,className:e("leading-normal",h({weight:m,color:p}),o)},y,{children:l}))})}));f.displayName="Header";export{f as Header,f as default};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/Typography/Header/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { textColorStyle, weightVariants } from '../../../lib/constants';\nimport { Heading as HeadingTheme, Theme } from '@radix-ui/themes';\nimport React from 'react';\nvar weights = __assign({}, weightVariants);\nvar headers = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n};\nvar headerVariants = cva('', {\n variants: {\n weight: weights,\n headers: headers,\n color: textColorStyle(),\n },\n defaultVariants: {\n color: 'black',\n },\n});\nexport var Header = React.forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, size = _a.size, weight = _a.weight, color = _a.color, headers = _a.headers, align = _a.align, rootProps = __rest(_a, [\"className\", \"children\", \"size\", \"weight\", \"color\", \"headers\", \"align\"]);\n if (!headers)\n headers = 'h1';\n return (_jsx(Theme, { children: _jsx(HeadingTheme, __assign({ ref: ref, as: headers, size: size, align: align, className: cn('leading-normal', headerVariants({ weight: weight, color: color }), className) }, rootProps, { children: children })) }));\n});\nHeader.displayName = 'Header';\nexport default Header;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","headerVariants","cva","variants","weight","weightVariants","headers","h1","h2","h3","h4","h5","h6","color","textColorStyle","defaultVariants","Header","React","forwardRef","_a","ref","className","children","size","align","rootProps","_jsx","Theme","HeadingTheme","as","cn","displayName"],"mappings":"sRAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAgBIiB,EAAiBC,EAAI,GAAI,CACzBC,SAAU,CACNC,OAXMvB,EAAS,GAAIwB,GAYnBC,QAXM,CACVC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,KACJC,GAAI,MAMAC,MAAOC,KAEXC,gBAAiB,CACbF,MAAO,WAGJG,EAASC,EAAMC,YAAW,SAAUC,EAAIC,GAC/C,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAOJ,EAAGI,KAAMnB,EAASe,EAAGf,OAAQS,EAAQM,EAAGN,MAAOP,EAAUa,EAAGb,QAASkB,EAAQL,EAAGK,MAAOC,EAAY7B,EAAOuB,EAAI,CAAC,YAAa,WAAY,OAAQ,SAAU,QAAS,UAAW,UAG3O,OAFKb,IACDA,EAAU,MACNoB,EAAKC,EAAO,CAAEL,SAAUI,EAAKE,EAAc/C,EAAS,CAAEuC,IAAKA,EAAKS,GAAIvB,EAASiB,KAAMA,EAAMC,MAAOA,EAAOH,UAAWS,EAAG,iBAAkB7B,EAAe,CAAEG,OAAQA,EAAQS,MAAOA,IAAUQ,IAAcI,EAAW,CAAEH,SAAUA,MAC1O,IACAN,EAAOe,YAAc"}
@@ -1,2 +0,0 @@
1
- import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{cva as e}from"class-variance-authority";import{Theme as o,Text as a}from"@radix-ui/themes";import{weightVariants as i,textColorStyle as n}from"../../constants.mjs";import{cn as l}from"../../utils/utils.mjs";var s=function(){return s=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++)for(var a in t=arguments[e])Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a]);return r},s.apply(this,arguments)},c=function(r,t){var e={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&t.indexOf(o)<0&&(e[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(r);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(r,o[a])&&(e[o[a]]=r[o[a]])}return e},m=e("",{variants:{weight:s({light:"font-light"},i),color:n()},defaultVariants:{weight:"medium",color:"black"}}),f=t((function(t,e){var i=t.className,n=t.children,f=t.as,p=t.align,u=t.weight,h=t.color,g=t.size,y=c(t,["className","children","as","align","weight","color","size"]);return r(o,{children:r(a,s({as:f,ref:e,size:g,align:p,className:l(m({weight:u,color:h}),i)},y,{children:n}))})}));f.displayName="Text";export{f as Text,f as default};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/Typography/Text/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { Text as TextTheme, Theme } from '@radix-ui/themes';\nimport { textColorStyle, weightVariants } from '../../../lib/constants';\nimport { cn } from '../../../lib/utils/utils';\nvar textVariants = cva('', {\n variants: {\n weight: __assign({ light: 'font-light' }, weightVariants),\n color: textColorStyle(),\n },\n defaultVariants: {\n weight: 'medium',\n color: 'black',\n },\n});\nexport var Text = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, as = _a.as, align = _a.align, weight = _a.weight, color = _a.color, size = _a.size, props = __rest(_a, [\"className\", \"children\", \"as\", \"align\", \"weight\", \"color\", \"size\"]);\n return (_jsx(Theme, { children: _jsx(TextTheme, __assign({ as: as, ref: ref, size: size, align: align, className: cn(textVariants({ weight: weight, color: color }), className) }, props, { children: children })) }));\n});\nText.displayName = 'Text';\nexport default Text;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","textVariants","cva","variants","weight","light","weightVariants","color","textColorStyle","defaultVariants","Text","forwardRef","_a","ref","className","children","as","align","size","props","_jsx","Theme","TextTheme","cn","displayName"],"mappings":"iSAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOIiB,EAAeC,EAAI,GAAI,CACvBC,SAAU,CACNC,OAAQvB,EAAS,CAAEwB,MAAO,cAAgBC,GAC1CC,MAAOC,KAEXC,gBAAiB,CACbL,OAAQ,SACRG,MAAO,WAGJG,EAAOC,GAAW,SAAUC,EAAIC,GACvC,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAKJ,EAAGI,GAAIC,EAAQL,EAAGK,MAAOb,EAASQ,EAAGR,OAAQG,EAAQK,EAAGL,MAAOW,EAAON,EAAGM,KAAMC,EAAQvB,EAAOgB,EAAI,CAAC,YAAa,WAAY,KAAM,QAAS,SAAU,QAAS,SACzN,OAAQQ,EAAKC,EAAO,CAAEN,SAAUK,EAAKE,EAAWzC,EAAS,CAAEmC,GAAIA,EAAIH,IAAKA,EAAKK,KAAMA,EAAMD,MAAOA,EAAOH,UAAWS,EAAGtB,EAAa,CAAEG,OAAQA,EAAQG,MAAOA,IAAUO,IAAcK,EAAO,CAAEJ,SAAUA,MAC1M,IACAL,EAAKc,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"alpha.mjs","sources":["../../lib/color/alpha.js"],"sourcesContent":["export var slateA = {\n 1: '#00005503',\n 2: '#00005506',\n 3: '#0000330f',\n 4: '#00002d17',\n 5: '#0009321f',\n 6: '#00002f26',\n 7: '#00062e32',\n 8: '#00083046',\n 9: '#00051d74',\n 10: '#00071b7f',\n 11: '#0007149f',\n 12: '#000509e3',\n};\nexport var oliveA = {\n 1: '#00550003',\n 2: '#00490007',\n 3: '#00200010',\n 4: '#00160018',\n 5: '#00180020',\n 6: '#00140028',\n 7: '#000f0033',\n 8: '#040f0047',\n 9: '#050f0078',\n 10: '#040e0082',\n 11: '#020a00a0',\n 12: '#010600e3',\n};\nexport var sandA = {\n 1: '#55550003',\n 2: '#25250007',\n 3: '#20100010',\n 4: '#1f150019',\n 5: '#1f180021',\n 6: '#19130029',\n 7: '#19140035',\n 8: '#1915014a',\n 9: '#0f0f0079',\n 10: '#0c0c0083',\n 11: '#080800a1',\n 12: '#060500e3',\n};\nexport var tomatoA = {\n 1: '#ff000003',\n 2: '#ff200008',\n 3: '#f52b0018',\n 4: '#ff35002c',\n 5: '#ff2e003d',\n 6: '#f92d0050',\n 7: '#e7280067',\n 8: '#db250084',\n 9: '#df2600d1',\n 10: '#d72400da',\n 11: '#cd2200ea',\n 12: '#460900e0',\n};\nexport var redA = {\n 1: '#ff000003',\n 2: '#ff000008',\n 3: '#f3000d14',\n 4: '#ff000824',\n 5: '#ff000632',\n 6: '#f8000442',\n 7: '#df000356',\n 8: '#d2000571',\n 9: '#db0007b7',\n 10: '#d10005c1',\n 11: '#c40006d3',\n 12: '#55000de8',\n};\nexport var rubyA = {\n 1: '#ff005503',\n 2: '#ff002008',\n 3: '#f3002515',\n 4: '#ff002523',\n 5: '#ff002a31',\n 6: '#e4002440',\n 7: '#ce002553',\n 8: '#c300286d',\n 9: '#db002cb9',\n 10: '#d2002cc4',\n 11: '#c10030db',\n 12: '#550016e8',\n};\nexport var crimsonA = {\n 1: '#ff005503',\n 2: '#e0004008',\n 3: '#ff005216',\n 4: '#f8005123',\n 5: '#e5004f31',\n 6: '#d0004b41',\n 7: '#bf004753',\n 8: '#b6004a6c',\n 9: '#e2005bc2',\n 10: '#d70056cb',\n 11: '#c4004fe2',\n 12: '#530026e9',\n};\nexport var pinkA = {\n 1: '#ff00aa03',\n 2: '#e0008008',\n 3: '#f4008c16',\n 4: '#e2008b23',\n 5: '#d1008331',\n 6: '#c0007840',\n 7: '#b6006f53',\n 8: '#af006f6c',\n 9: '#c8007fbf',\n 10: '#c2007ac7',\n 11: '#b60074d6',\n 12: '#59003bed',\n};\nexport var plumA = {\n 1: '#aa00ff03',\n 2: '#c000c008',\n 3: '#cc00cc14',\n 4: '#c200c921',\n 5: '#b700bd2e',\n 6: '#a400b03d',\n 7: '#9900a852',\n 8: '#9000a56e',\n 9: '#89009eb5',\n 10: '#7f0092bb',\n 11: '#730086c1',\n 12: '#40004be6',\n};\nexport var purpleA = {\n 1: '#aa00aa03',\n 2: '#8000e008',\n 3: '#8e00f112',\n 4: '#8d00e51d',\n 5: '#8000db2a',\n 6: '#7a01d03b',\n 7: '#6d00c350',\n 8: '#6600c06c',\n 9: '#5c00adb1',\n 10: '#53009eb8',\n 11: '#52009aba',\n 12: '#250049df',\n};\nexport var violetA = {\n 1: '#5500aa03',\n 2: '#4900ff07',\n 3: '#4400ee0f',\n 4: '#4300ff1b',\n 5: '#3600ff26',\n 6: '#3100fb35',\n 7: '#2d01dd4a',\n 8: '#2b00d066',\n 9: '#2400b7a9',\n 10: '#2300abb2',\n 11: '#1f0099af',\n 12: '#0b0043d9',\n};\nexport var irisA = {\n 1: '#0000ff02',\n 2: '#0000ff07',\n 3: '#0011ee0f',\n 4: '#000bff19',\n 5: '#000eff25',\n 6: '#000aff34',\n 7: '#0008e647',\n 8: '#0008d964',\n 9: '#0000c0a4',\n 10: '#0000b6ae',\n 11: '#0600abac',\n 12: '#000246d8',\n};\nexport var indigoA = {\n 1: '#00008002',\n 2: '#0040ff08',\n 3: '#0047f112',\n 4: '#0044ff1e',\n 5: '#0044ff2d',\n 6: '#003eff3e',\n 7: '#0037ed54',\n 8: '#0034dc72',\n 9: '#0031d2c1',\n 10: '#002ec9cc',\n 11: '#002bb7c5',\n 12: '#001046e0',\n};\nexport var blueA = {\n 1: '#0080ff04',\n 2: '#008cff0b',\n 3: '#008ff519',\n 4: '#009eff2a',\n 5: '#0093ff3d',\n 6: '#0088f653',\n 7: '#0083eb71',\n 8: '#0084e6a1',\n 9: '#0090ff',\n 10: '#0086f0fa',\n 11: '#006dcbf2',\n 12: '#002359ee',\n};\nexport var cyanA = {\n 1: '#0099cc05',\n 2: '#009db10d',\n 3: '#00c2d121',\n 4: '#00bcd435',\n 5: '#01b4cc4a',\n 6: '#00a7c162',\n 7: '#009fbb82',\n 8: '#00a3c0c2',\n 9: '#00a2c7',\n 10: '#0094b7f8',\n 11: '#007491ef',\n 12: '#00323ef2',\n};\nexport var tealA = {\n 1: '#00cc9905',\n 2: '#00aa800c',\n 3: '#00c69d1f',\n 4: '#00c39633',\n 5: '#00b49047',\n 6: '#00a6855e',\n 7: '#0099807c',\n 8: '#009783ac',\n 9: '#009e8ced',\n 10: '#009684f2',\n 11: '#008573',\n 12: '#00332df2',\n};\nexport var jadeA = {\n 1: '#00c08004',\n 2: '#00a3460b',\n 3: '#00ae4819',\n 4: '#00a85129',\n 5: '#00a2553c',\n 6: '#009a5753',\n 7: '#00945f74',\n 8: '#00976ea9',\n 9: '#00916bd6',\n 10: '#008764d9',\n 11: '#007152df',\n 12: '#002217e2',\n};\nexport var greenA = {\n 1: '#00c04004',\n 2: '#00a32f0b',\n 3: '#00a43319',\n 4: '#00a83829',\n 5: '#019c393b',\n 6: '#00963c52',\n 7: '#00914071',\n 8: '#00924ba4',\n 9: '#008f4acf',\n 10: '#008647d4',\n 11: '#00713fde',\n 12: '#002616e6',\n};\nexport var grassA = {\n 1: '#00c00004',\n 2: '#0099000a',\n 3: '#00970016',\n 4: '#009f0725',\n 5: '#00930536',\n 6: '#008f0a4d',\n 7: '#018b0f6b',\n 8: '#008d199a',\n 9: '#008619b9',\n 10: '#007b17c1',\n 11: '#006514d5',\n 12: '#002006df',\n};\nexport var brownA = {\n 1: '#aa550003',\n 2: '#aa550009',\n 3: '#a04b0018',\n 4: '#9b4a0026',\n 5: '#9f4d0035',\n 6: '#a04e0048',\n 7: '#a34e0060',\n 8: '#9f4a0081',\n 9: '#823c00a7',\n 10: '#723300ac',\n 11: '#522100b9',\n 12: '#140600d1',\n};\nexport var bronzeA = {\n 1: '#55000003',\n 2: '#cc33000a',\n 3: '#92250015',\n 4: '#80280020',\n 5: '#7423002c',\n 6: '#7324003a',\n 7: '#6c1f004c',\n 8: '#671c0066',\n 9: '#551a008d',\n 10: '#4c150097',\n 11: '#3d0f00ab',\n 12: '#1d0600d4',\n};\nexport var goldA = {\n 1: '#55550003',\n 2: '#9d8a000d',\n 3: '#75600018',\n 4: '#6b4e0024',\n 5: '#60460030',\n 6: '#64440040',\n 7: '#63420055',\n 8: '#633d0072',\n 9: '#5332009a',\n 10: '#492d00a1',\n 11: '#362100b4',\n 12: '#130c00d4',\n};\nexport var skyA = {\n 1: '#00d5ff06',\n 2: '#00a4db0e',\n 3: '#00b3ee1e',\n 4: '#00ace42e',\n 5: '#00a1d841',\n 6: '#0092ca56',\n 7: '#0089c172',\n 8: '#0085bf9f',\n 9: '#00c7fe83',\n 10: '#00bcf38b',\n 11: '#00749e',\n 12: '#002540e2',\n};\nexport var mintA = {\n 1: '#00d5aa06',\n 2: '#00b18a0d',\n 3: '#00d29e22',\n 4: '#00cc9937',\n 5: '#00c0914c',\n 6: '#00b08663',\n 7: '#00a17d81',\n 8: '#009e7fb3',\n 9: '#00d3a579',\n 10: '#00c39982',\n 11: '#007763fd',\n 12: '#00312ae9',\n};\nexport var limeA = {\n 1: '#66990005',\n 2: '#6b95000c',\n 3: '#96c80029',\n 4: '#8fc60042',\n 5: '#81bb0059',\n 6: '#72aa006e',\n 7: '#61990087',\n 8: '#559200ab',\n 9: '#93e4009c',\n 10: '#8fdc00b3',\n 11: '#375f00d0',\n 12: '#1e2900e3',\n};\nexport var yellowA = {\n 1: '#aaaa0006',\n 2: '#f4dd0016',\n 3: '#ffee0047',\n 4: '#ffe3016b',\n 5: '#ffd5008f',\n 6: '#ebbc0097',\n 7: '#d2a10098',\n 8: '#c99700c6',\n 9: '#ffe100d6',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#2e2000e0',\n};\nexport var amberA = {\n 1: '#c0800004',\n 2: '#f4d10016',\n 3: '#ffde003d',\n 4: '#ffd40063',\n 5: '#f8cf0088',\n 6: '#eab5008c',\n 7: '#dc9b009d',\n 8: '#da8a00c9',\n 9: '#ffb300c2',\n 10: '#ffb300e7',\n 11: '#ab6400',\n 12: '#341500dd',\n};\nexport var orangeA = {\n 1: '#c0400004',\n 2: '#ff8e0012',\n 3: '#ff9c0029',\n 4: '#ff91014a',\n 5: '#ff8b0065',\n 6: '#ff81007d',\n 7: '#ed6c008c',\n 8: '#e35f00aa',\n 9: '#f65e00ea',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#431200e2',\n};\nexport var slateDarkA = {\n 1: '#FFFFFF0D',\n 2: '#FFFFFF1A',\n 3: '#FFFFFF26',\n 4: '#FFFFFF33',\n 5: '#FFFFFF4D',\n 6: '#FFFFFF66',\n 7: '#FFFFFF80',\n 8: '#FFFFFF99',\n 9: '#FFFFFFB2',\n 10: '#FFFFFFCC',\n 11: '#FFFFFFE5',\n 12: '#FFFFFFF2',\n};\nexport var oliveDarkA = {\n 1: '#00000000',\n 2: '#F1F2F008',\n 3: '#F4F5F312',\n 4: '#F3FEF21A',\n 5: '#F2FBF122',\n 6: '#F4FAED2C',\n 7: '#F2FCED3B',\n 8: '#EDFDEB57',\n 9: '#EBFDE766',\n 10: '#F0FDEC74',\n 11: '#F6FEF4B0',\n 12: '#FDFFFDED',\n};\nexport var sandDarkA = {\n 1: '#00000000',\n 2: '#F4F4F309',\n 3: '#F6F6F513',\n 4: '#FEFEF31B',\n 5: '#FBFBEB23',\n 6: '#FFFAED2D',\n 7: '#FFFBED3C',\n 8: '#FFF9EB57',\n 9: '#FFFAE965',\n 10: '#FFFDEE73',\n 11: '#FFFCF4B0',\n 12: '#FFFFFDED',\n};\nexport var tomatoDarkA = {\n 1: '#F1121208',\n 2: '#FF55330F',\n 3: '#FF35232B',\n 4: '#FD201142',\n 5: '#FE332153',\n 6: '#FF4F3864',\n 7: '#FD644A7D',\n 8: '#FE6D4EA7',\n 9: '#FF5F3DDA',\n 10: '#FF876EE1',\n 11: '#FF977D',\n 12: '#FFD6CEFB',\n};\nexport var redDarkA = {\n 1: '#F4121209',\n 2: '#F22F3E11',\n 3: '#FF173F2D',\n 4: '#FE0A3B44',\n 5: '#FF204756',\n 6: '#FF3E5668',\n 7: '#FF536184',\n 8: '#FF5D61B0',\n 9: '#FF5C61D2',\n 10: '#FF8789DD',\n 11: '#FF9592',\n 12: '#FFD1D9',\n};\nexport var rubyDarkA = {\n 1: '#F4124A09',\n 2: '#FE5A7F0E',\n 3: '#FF235D2C',\n 4: '#FD195E42',\n 5: '#FE2D6B53',\n 6: '#FF447665',\n 7: '#FF577D80',\n 8: '#FF5C7CAE',\n 9: '#FF5F80CD',\n 10: '#FE88A2D8',\n 11: '#FF949D',\n 12: '#FFD3E2FE',\n};\nexport var crimsonDarkA = {\n 1: '#F4126709',\n 2: '#F22F7A11',\n 3: '#FE2A8B2A',\n 4: '#FD158741',\n 5: '#FD278F51',\n 6: '#FE459763',\n 7: '#FD559B7F',\n 8: '#FE5B9BAB',\n 9: '#FF428DDD',\n 10: '#FE6FA8E5',\n 11: '#FF92AD',\n 12: '#FFD5EAFD',\n};\nexport var pinkDarkA = {\n 1: '#F412BC09',\n 2: '#F420BB12',\n 3: '#FE37CC29',\n 4: '#FC1EC43F',\n 5: '#FD35C24E',\n 6: '#FD51C75F',\n 7: '#FD62C87B',\n 8: '#FF68C8A2',\n 9: '#FE5CC3D9',\n 10: '#FE5CC3D9',\n 11: '#FF8DCC',\n 12: '#FFD3ECFD',\n};\nexport var plumDarkA = {\n 1: '#F112F108',\n 2: '#F22FF211',\n 3: '#FD4CFD27',\n 4: '#F646FF3A',\n 5: '#F455FF48',\n 6: '#F66DFF56',\n 7: '#F07CFD70',\n 8: '#EE84FF95',\n 9: '#EC73FFBB',\n 10: '#EE87FFC3',\n 11: '#F19CFEF3',\n 12: '#FEDDFEF4',\n};\nexport var purpleDarkA = {\n 1: '#B412F90B',\n 2: '#B744F714',\n 3: '#C150FF2D',\n 4: '#BB53FD42',\n 5: '#BE5CFD51',\n 6: '#C16DFD61',\n 7: '#C378FD7A',\n 8: '#C47EFFA4',\n 9: '#C787FFC3',\n 10: '#D8ABFFD2',\n 11: '#D19DFF',\n 12: '#F1DDFFFA',\n};\nexport var violetDarkA = {\n 1: '#4422FF0F',\n 2: '#853FF916',\n 3: '#8354FE36',\n 4: '#7D51FD50',\n 5: '#845FFD5F',\n 6: '#8F6CFD6D',\n 7: '#9879FF83',\n 8: '#977DFEA8',\n 9: '#9C83FED0',\n 10: '#BBAAFEDD',\n 11: '#BAA7FF',\n 12: '#E3DEFFFE',\n};\nexport var irisDarkA = {\n 1: '#3636FE0E',\n 2: '#564BF916',\n 3: '#525BFF3B',\n 4: '#4D58FF5A',\n 5: '#5B62FD6B',\n 6: '#6D6FFD7A',\n 7: '#7777FE8E',\n 8: '#7B7AFEAC',\n 9: '#8F98FEBF',\n 10: '#B2B9FECF',\n 11: '#B1A9FF',\n 12: '#E1E0FFFE',\n};\nexport var indigoDarkA = {\n 1: '#1133FF0F',\n 2: '#3354FA17',\n 3: '#2F62FF3C',\n 4: '#3566FF57',\n 5: '#4171FD6B',\n 6: '#5178FD7C',\n 7: '#5A7FFF90',\n 8: '#5B81FEAC',\n 9: '#5279FEF5',\n 10: '#6889FEF6',\n 11: '#9EB1FF',\n 12: '#D6E1FF',\n};\nexport var blueDarkA = {\n 1: '#004DF211',\n 2: '#1166FB18',\n 3: '#0077FF3A',\n 4: '#0075FF57',\n 5: '#0081FD6B',\n 6: '#0F89FD7F',\n 7: '#2A91FE98',\n 8: '#3094FEB9',\n 9: '#48A1FEDB',\n 10: '#60AEFFDF',\n 11: '#70B8FF',\n 12: '#C2E6FF',\n};\nexport var cyanDarkA = {\n 1: '#0091F70A',\n 2: '#02A7F211',\n 3: '#00BEFD28',\n 4: '#00BAFF3B',\n 5: '#00BEFD4D',\n 6: '#00C7FD5E',\n 7: '#14CDFF75',\n 8: '#11CFFF95',\n 9: '#16D4FFAD',\n 10: '#19D4FECB',\n 11: '#52E1FEE5',\n 12: '#BBF3FEF7',\n};\nexport var tealDarkA = {\n 1: '#00DEAB05',\n 2: '#12FBE60C',\n 3: '#00FFE61E',\n 4: '#00FFE92D',\n 5: '#00FFEA3B',\n 6: '#1CFFE84B',\n 7: '#2EFDE85F',\n 8: '#32FFE775',\n 9: '#57FEFD8D',\n 10: '#5BFEFEAC',\n 11: '#0AFED5D6',\n 12: '#B8FFEBEF',\n};\nexport var jadeDarkA = {\n 1: '#00DE4505',\n 2: '#27FBA60C',\n 3: '#02F99920',\n 4: '#00FFAA2D',\n 5: '#11FFB63B',\n 6: '#34FFC24B',\n 7: '#45FDC75E',\n 8: '#48FFCF75',\n 9: '#42FECB98',\n 10: '#45FECCBA',\n 11: '#21FEC0D6',\n 12: '#B8FFE1EF',\n};\nexport var greenDarkA = {\n 1: '#00DE4505',\n 2: '#29F99D0B',\n 3: '#22FF991E',\n 4: '#11FF992D',\n 5: '#2BFFA23C',\n 6: '#44FFAA4B',\n 7: '#50FDAC5E',\n 8: '#54FFAD73',\n 9: '#4DFFA892',\n 10: '#4EFEA8A7',\n 11: '#46FEA5D4',\n 12: '#BBFFD7F0',\n};\nexport var grassDarkA = {\n 1: '#00DE1205',\n 2: '#5EF7780A',\n 3: '#70FE8C1B',\n 4: '#57FF802C',\n 5: '#68FF8B3B',\n 6: '#71FF8F4B',\n 7: '#77FD925D',\n 8: '#77FD9070',\n 9: '#4DFFA892',\n 10: '#4EFEA8A7',\n 11: '#89FF9FCD',\n 12: '#CEFFCEEF',\n};\nexport var brownDarkA = {\n 1: '#91110002',\n 2: '#FBA67C0C',\n 3: '#FCB58C19',\n 4: '#FBBB8A24',\n 5: '#FCB88931',\n 6: '#FDBA8741',\n 7: '#FFBB8856',\n 8: '#FFBE8773',\n 9: '#FFA34BAE',\n 10: '#FEB168C6',\n 11: '#FED1AAD9',\n 12: '#FEECD4F2',\n};\nexport var bronzeDarkA = {\n 1: '#D1110004',\n 2: '#FBBC910C',\n 3: '#FACEB817',\n 4: '#FACDB622',\n 5: '#FFD2C12D',\n 6: '#FFD1C03C',\n 7: '#FDD0C04F',\n 8: '#FFD6C565',\n 9: '#FECCB58C',\n 10: '#FFDDCCA3',\n 11: '#FFD7C6D1',\n 12: '#FFF1E9EC',\n};\nexport var goldDarkA = {\n 1: '#91911102',\n 2: '#F9E29D0B',\n 3: '#F8ECBB15',\n 4: '#FFEEC41E',\n 5: '#FEECC22A',\n 6: '#FEEBCB37',\n 7: '#FFEDCD48',\n 8: '#FDEACA5F',\n 9: '#FFDBA590',\n 10: '#FFECC7A2',\n 11: '#FEE7C6C8',\n 12: '#FEF7EDE7',\n};\nexport var skyDarkA = {\n 1: '#0044FF0F',\n 2: '#1171FB18',\n 3: '#1184FC33',\n 4: '#128FFF49',\n 5: '#1C9DFD5D',\n 6: '#28A5FF72',\n 7: '#2BADFE8B',\n 8: '#1DB2FEA9',\n 9: '#97E9FFDE',\n 10: '#AAEDFFE3',\n 11: '#7CD3FFEF',\n 12: '#C2F3FF',\n};\nexport var mintDarkA = {\n 1: '#00DEDE05',\n 2: '#00F9F90B',\n 3: '#00FFF61D',\n 4: '#00FFF42C',\n 5: '#00FFF23A',\n 6: '#0EFFEB4A',\n 7: '#34FDE55E',\n 8: '#41FFDF76',\n 9: '#91FFE6BE',\n 10: '#A2FEEBC6',\n 11: '#67FFDED2',\n 12: '#CBFEE9F5',\n};\nexport var limeDarkA = {\n 1: '#11BB0003',\n 2: '#78F7000A',\n 3: '#9BFD4C1A',\n 4: '#A7FE5C29',\n 5: '#AFFE6537',\n 6: '#B2FE6D46',\n 7: '#B6FF6F57',\n 8: '#B6FD6D6C',\n 9: '#B6FE4CD5',\n 10: '#C0FE63D9',\n 11: '#D1FE77E4',\n 12: '#E9FEBFF7',\n};\nexport var yellowDarkA = {\n 1: '#D1510004',\n 2: '#F9B4000B',\n 3: '#FFAA001E',\n 4: '#FDB70028',\n 5: '#FEBB0036',\n 6: '#FEC40046',\n 7: '#FDCB225C',\n 8: '#FDCA327B',\n 9: '#FED81BE4',\n 10: '#FFE14DE9',\n 11: '#FEE949F5',\n 12: '#FEF6BAF6',\n};\nexport var amberDarkA = {\n 1: '#E63C0006',\n 2: '#FD9B000D',\n 3: '#FA820022',\n 4: '#FC820032',\n 5: '#FD8B0041',\n 6: '#FD9B0051',\n 7: '#FFAB2567',\n 8: '#FFAE3587',\n 9: '#FEC024E6',\n 10: '#FFCF56EB',\n 11: '#FFCA16',\n 12: '#FFE7B3',\n};\nexport var orangeDarkA = {\n 1: '#EC360007',\n 2: '#FE6D000E',\n 3: '#FB6A0025',\n 4: '#FF590039',\n 5: '#FF61004A',\n 6: '#FD75045C',\n 7: '#FF832C75',\n 8: '#FE84389D',\n 9: '#FF7A45EF',\n 10: '#FE9C75F4',\n 11: '#FFA057',\n 12: '#FFE0C2',\n};\n"],"names":["slateA","redA","crimsonA","plumA","purpleA","indigoA","blueA","cyanA","tealA","grassA","brownA","skyA","limeA","yellowA","amberA","orangeA","slateDarkA"],"mappings":"AAAU,IAACA,EAAS,CAChB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aA4CGC,EAAO,CACd,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAgBGC,EAAW,CAClB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAgBGC,EAAQ,CACf,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,G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H,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI,aAEGC,EAAU,CACjB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,UACJ,GAAI,UACJ,GAAI,aAEGC,EAAS,CAChB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,UACJ,GAAI,aAEGC,EAAU,CACjB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,UACJ,GAAI,UACJ,GAAI,aAEGC,EAAa,CACpB,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,EAAG,YACH,GAAI,YACJ,GAAI,YACJ,GAAI"}
@@ -1,2 +0,0 @@
1
- import{crimson as r,orange as a,amber as k,teal as e,blue as D,purple as l,slate as o,red as i,brown as n,yellow as s,lime as t,grass as m,sky as g,cyan as b,indigo as d,plum as p}from"./light.mjs";import{crimsonA as u,orangeA as y,amberA as c,tealA as w,blueA as v,purpleA as f,slateA as j,redA as h,brownA as z,yellowA as x,limeA as q,grassA as A,skyA as B,cyanA as C,indigoA as E,plumA as F}from"./alpha.mjs";var G={black:"slate-12",white:"#ffffff",slate:"slate-9",olive:"olive-9",sand:"sand-9",tomato:"tomato-9",red:"red-9",ruby:"ruby-9",crimson:"crimson-9",pink:"pink-9",plum:"plum-9",purple:"purple-9",violet:"violet-9",iris:"iris-9",indigo:"indigo-9",blue:"blue-9",cyan:"cyan-9",teal:"teal-9",jade:"jade-9",green:"green-9",grass:"grass-9",brown:"brown-9",bronze:"bronze-9",gold:"gold-9",sky:"sky-9",mint:"mint-9",lime:"lime-9",yellow:"yellow-9",amber:"amber-9",orange:"orange-9"},H={blackDark:"slateDark-12",whiteDark:"slateDark-1",slateDark:"slateDark-9",oliveDark:"oliveDark-9",sandDark:"sandDark-9",tomatoDark:"tomatoDark-9",redDark:"redDark-9",rubyDark:"rubyDark-9",crimsonDark:"crimsonDark-9",pinkDark:"pinkDark-9",plumDark:"plumDark-9",purpleDark:"purpleDark-9",violetDark:"violetDark-9",irisDark:"irisDark-9",indigoDark:"indigoDark-9",blueDark:"blueDark-9",cyanDark:"cyanDark-9",tealDark:"tealDark-9",jadeDark:"jadeDark-9",greenDark:"greenDark-9",grassDark:"grassDark-9",brownDark:"brownDark-9",bronzeDark:"bronzeDark-9",goldDark:"goldDark-9",skyDark:"skyDark-9",mintDark:"mintDark-9",limeDark:"limeDark-9",yellowDark:"yellowDark-9",amberDark:"amberDark-9",orangeDark:"orangeDark-9"},I={sorting:[r[9],a[9],k[9],e[9],D[9],l[9],o[9],i[9],n[9],s[9],t[9],m[9],g[9],b[9],d[9],p[9]],mixed:[D[9],r[9],e[9],a[9],l[9],k[9],o[9],b[9],i[9],m[9],n[9],d[9],p[9],s[9],g[9],t[9]]},J={sorting:[u[2],y[2],c[2],w[2],v[2],f[2],j[2],h[2],z[2],x[2],q[2],A[2],B[2],C[2],E[2],F[2]],mixed:[v[2],u[2],w[2],y[2],f[2],c[2],j[2],C[2],h[2],A[2],z[2],E[2],F[2],x[2],B[2],q[2]]};export{G as ColorStyle,H as DarkColorStyle,J as chartAlphaColorList,I as chartColorList};
2
- //# sourceMappingURL=constants.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.mjs","sources":["../../lib/color/constants.js"],"sourcesContent":["import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';\nimport { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';\nexport var colorOptions = [\n // 'black',\n 'slate',\n 'olive',\n 'sand',\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'bronze',\n 'gold',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'orange',\n // 'white',\n];\nexport var alphaColorOptions = [\n 'slateA',\n 'oliveA',\n 'sandA',\n 'tomatoA',\n 'redA',\n 'rubyA',\n 'crimsonA',\n 'pinkA',\n 'plumA',\n 'purpleA',\n 'violetA',\n 'irisA',\n 'indigoA',\n 'blueA',\n 'cyanA',\n 'tealA',\n 'jadeA',\n 'greenA',\n 'grassA',\n 'brownA',\n 'bronzeA',\n 'goldA',\n 'skyA',\n 'mintA',\n 'limeA',\n 'yellowA',\n 'amberA',\n 'orangeA',\n];\nexport var darkColorOptions = [\n 'blackDark',\n 'slateDark',\n 'oliveDark',\n 'sandDark',\n 'tomatoDark',\n 'redDark',\n 'rubyDark',\n 'crimsonDark',\n 'pinkDark',\n 'plumDark',\n 'purpleDark',\n 'violetDark',\n 'irisDark',\n 'indigoDark',\n 'blueDark',\n 'cyanDark',\n 'tealDark',\n 'jadeDark',\n 'greenDark',\n 'grassDark',\n 'brownDark',\n 'bronzeDark',\n 'goldDark',\n 'skyDark',\n 'mintDark',\n 'limeDark',\n 'yellowDark',\n 'amberDark',\n 'orangeDark',\n 'slateDarkA',\n 'oliveDarkA',\n 'sandDarkA',\n 'tomatoDarkA',\n 'redDarkA',\n 'rubyDarkA',\n 'crimsonDarkA',\n 'pinkDarkA',\n 'plumDarkA',\n 'purpleDarkA',\n 'violetDarkA',\n 'irisDarkA',\n 'indigoDarkA',\n 'blueDarkA',\n 'cyanDarkA',\n 'tealDarkA',\n 'jadeDarkA',\n 'greenDarkA',\n 'grassDarkA',\n 'brownDarkA',\n 'bronzeDarkA',\n 'goldDarkA',\n 'skyDarkA',\n 'mintDarkA',\n 'limeDarkA',\n 'yellowDarkA',\n 'amberDarkA',\n 'orangeDarkA',\n 'whiteDark',\n];\nexport var ColorStyle = {\n black: 'slate-12',\n white: '#ffffff',\n slate: 'slate-9',\n olive: 'olive-9',\n sand: 'sand-9',\n tomato: 'tomato-9',\n red: 'red-9',\n ruby: 'ruby-9',\n crimson: 'crimson-9',\n pink: 'pink-9',\n plum: 'plum-9',\n purple: 'purple-9',\n violet: 'violet-9',\n iris: 'iris-9',\n indigo: 'indigo-9',\n blue: 'blue-9',\n cyan: 'cyan-9',\n teal: 'teal-9',\n jade: 'jade-9',\n green: 'green-9',\n grass: 'grass-9',\n brown: 'brown-9',\n bronze: 'bronze-9',\n gold: 'gold-9',\n sky: 'sky-9',\n mint: 'mint-9',\n lime: 'lime-9',\n yellow: 'yellow-9',\n amber: 'amber-9',\n orange: 'orange-9',\n};\nexport var DarkColorStyle = {\n blackDark: 'slateDark-12',\n whiteDark: 'slateDark-1',\n slateDark: 'slateDark-9',\n oliveDark: 'oliveDark-9',\n sandDark: 'sandDark-9',\n tomatoDark: 'tomatoDark-9',\n redDark: 'redDark-9',\n rubyDark: 'rubyDark-9',\n crimsonDark: 'crimsonDark-9',\n pinkDark: 'pinkDark-9',\n plumDark: 'plumDark-9',\n purpleDark: 'purpleDark-9',\n violetDark: 'violetDark-9',\n irisDark: 'irisDark-9',\n indigoDark: 'indigoDark-9',\n blueDark: 'blueDark-9',\n cyanDark: 'cyanDark-9',\n tealDark: 'tealDark-9',\n jadeDark: 'jadeDark-9',\n greenDark: 'greenDark-9',\n grassDark: 'grassDark-9',\n brownDark: 'brownDark-9',\n bronzeDark: 'bronzeDark-9',\n goldDark: 'goldDark-9',\n skyDark: 'skyDark-9',\n mintDark: 'mintDark-9',\n limeDark: 'limeDark-9',\n yellowDark: 'yellowDark-9',\n amberDark: 'amberDark-9',\n orangeDark: 'orangeDark-9',\n};\nexport var chartColorList = {\n sorting: [\n crimson[9],\n orange[9],\n amber[9],\n teal[9],\n blue[9],\n purple[9],\n slate[9],\n red[9],\n brown[9],\n yellow[9],\n lime[9],\n grass[9],\n sky[9],\n cyan[9],\n indigo[9],\n plum[9],\n ],\n mixed: [\n blue[9],\n crimson[9],\n teal[9],\n orange[9],\n purple[9],\n amber[9],\n slate[9],\n cyan[9],\n red[9],\n grass[9],\n brown[9],\n indigo[9],\n plum[9],\n yellow[9],\n sky[9],\n lime[9],\n ],\n};\nexport var chartAlphaColorList = {\n sorting: [\n crimsonA[2],\n orangeA[2],\n amberA[2],\n tealA[2],\n blueA[2],\n purpleA[2],\n slateA[2],\n redA[2],\n brownA[2],\n yellowA[2],\n limeA[2],\n grassA[2],\n skyA[2],\n cyanA[2],\n indigoA[2],\n plumA[2],\n ],\n mixed: [\n blueA[2],\n crimsonA[2],\n tealA[2],\n orangeA[2],\n purpleA[2],\n amberA[2],\n slateA[2],\n cyanA[2],\n redA[2],\n grassA[2],\n brownA[2],\n indigoA[2],\n plumA[2],\n yellowA[2],\n skyA[2],\n limeA[2],\n ],\n};\n"],"names":["ColorStyle","black","white","slate","olive","sand","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","brown","bronze","gold","sky","mint","lime","yellow","amber","orange","DarkColorStyle","blackDark","whiteDark","slateDark","oliveDark","sandDark","tomatoDark","redDark","rubyDark","crimsonDark","pinkDark","plumDark","purpleDark","violetDark","irisDark","indigoDark","blueDark","cyanDark","tealDark","jadeDark","greenDark","grassDark","brownDark","bronzeDark","goldDark","skyDark","mintDark","limeDark","yellowDark","amberDark","orangeDark","chartColorList","sorting","mixed","chartAlphaColorList","crimsonA","orangeA","amberA","tealA","blueA","purpleA","slateA","redA","brownA","yellowA","limeA","grassA","skyA","cyanA","indigoA","plumA"],"mappings":"4ZA4HU,IAACA,EAAa,CACpBC,MAAO,WACPC,MAAO,UACPC,MAAO,UACPC,MAAO,UACPC,KAAM,SACNC,OAAQ,WACRC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EAAK,GACLC,EAAO,GACPC,EAAQ,GACRC,EAAM,GACNC,EAAO,GACPC,EAAK,GACLC,EAAM,GACNC,EAAQ,GACRC,EAAM,IAEVjB,MAAO,CACHM,EAAM,GACNJ,EAAS,GACTG,EAAM,GACNF,EAAQ,GACRI,EAAQ,GACRH,EAAO,GACPI,EAAO,GACPO,EAAM,GACNN,EAAK,GACLI,EAAO,GACPH,EAAO,GACPM,EAAQ,GACRC,EAAM,GACNN,EAAQ,GACRG,EAAK,GACLF,EAAM"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"light.mjs","sources":["../../lib/color/light.js"],"sourcesContent":["// 기본 그레이 색상\nexport var slate = {\n 1: '#fcfcfd',\n 2: '#f9f9fb',\n 3: '#f0f0f3',\n 4: '#e8e8ec',\n 5: '#e0e1e6',\n 6: '#d9d9e0',\n 7: '#cdced6',\n 8: '#b9bbc6',\n 9: '#8b8d98',\n 10: '#80838d',\n 11: '#60646c',\n 12: '#1c2024',\n};\nexport var olive = {\n 1: '#fcfdfc',\n 2: '#f8faf8',\n 3: '#eff1ef',\n 4: '#e7e9e7',\n 5: '#dfe2df',\n 6: '#d7dad7',\n 7: '#cccfcc',\n 8: '#b9bcb8',\n 9: '#898e87',\n 10: '#7f847d',\n 11: '#60655f',\n 12: '#1d211c',\n};\nexport var sand = {\n 1: '#fdfdfc',\n 2: '#f9f9f8',\n 3: '#f1f0ef',\n 4: '#e9e8e6',\n 5: '#e2e1de',\n 6: '#dad9d6',\n 7: '#cfceca',\n 8: '#bcbbb5',\n 9: '#8d8d86',\n 10: '#82827c',\n 11: '#63635e',\n 12: '#21201c',\n};\nexport var tomato = {\n 1: '#fffcfc',\n 2: '#fff8f7',\n 3: '#feebe7',\n 4: '#ffdcd3',\n 5: '#ffcdc2',\n 6: '#fdbdaf',\n 7: '#f5a898',\n 8: '#ec8e7b',\n 9: '#e54d2e',\n 10: '#dd4425',\n 11: '#d13415',\n 12: '#5c271f',\n};\nexport var red = {\n 1: '#fffcfc',\n 2: '#fff7f7',\n 3: '#feebec',\n 4: '#ffdbdc',\n 5: '#ffcdce',\n 6: '#fdbdbe',\n 7: '#f4a9aa',\n 8: '#eb8e90',\n 9: '#da291c',\n 10: '#b52217',\n 11: '#881a11',\n 12: '#641723',\n};\nexport var ruby = {\n 1: '#fffcfd',\n 2: '#fff7f8',\n 3: '#feeaed',\n 4: '#ffdce1',\n 5: '#ffced6',\n 6: '#f8bfc8',\n 7: '#efacb8',\n 8: '#e592a3',\n 9: '#e54666',\n 10: '#dc3b5d',\n 11: '#ca244d',\n 12: '#64172b',\n};\nexport var crimson = {\n 1: '#fffcfd',\n 2: '#fef7f9',\n 3: '#ffe9f0',\n 4: '#fedce7',\n 5: '#facedd',\n 6: '#f3bed1',\n 7: '#eaacc3',\n 8: '#e093b2',\n 9: '#e93d82',\n 10: '#df3478',\n 11: '#cb1d63',\n 12: '#621639',\n};\nexport var pink = {\n 1: '#fffcfe',\n 2: '#fef7fb',\n 3: '#fee9f5',\n 4: '#fbdcef',\n 5: '#f6cee7',\n 6: '#efbfdd',\n 7: '#e7acd0',\n 8: '#dd93c2',\n 9: '#d6409f',\n 10: '#cf3897',\n 11: '#c2298a',\n 12: '#651249',\n};\nexport var plum = {\n 1: '#fefcff',\n 2: '#fdf7fd',\n 3: '#fbebfb',\n 4: '#f7def8',\n 5: '#f2d1f3',\n 6: '#e9c2ec',\n 7: '#deade3',\n 8: '#cf91d8',\n 9: '#ab4aba',\n 10: '#a144af',\n 11: '#953ea3',\n 12: '#53195d',\n};\nexport var purple = {\n 1: '#fefcfe',\n 2: '#fbf7fe',\n 3: '#f7edfe',\n 4: '#f2e2fc',\n 5: '#ead5f9',\n 6: '#e0c4f4',\n 7: '#d1afec',\n 8: '#be93e4',\n 9: '#8e4ec6',\n 10: '#8347b9',\n 11: '#8145b5',\n 12: '#402060',\n};\nexport var violet = {\n 1: '#fdfcfe',\n 2: '#faf8ff',\n 3: '#f4f0fe',\n 4: '#ebe4ff',\n 5: '#e1d9ff',\n 6: '#d4cafe',\n 7: '#c2b5f5',\n 8: '#aa99ec',\n 9: '#6e56cf',\n 10: '#654dc4',\n 11: '#6550b9',\n 12: '#2f265f',\n};\nexport var iris = {\n 1: '#fdfdff',\n 2: '#f8f8ff',\n 3: '#f0f1fe',\n 4: '#e6e7ff',\n 5: '#dadcff',\n 6: '#cbcdff',\n 7: '#b8baf8',\n 8: '#9b9ef0',\n 9: '#5b5bd6',\n 10: '#5151cd',\n 11: '#5753c6',\n 12: '#272962',\n};\nexport var indigo = {\n 1: '#fdfdfe',\n 2: '#f7f9ff',\n 3: '#edf2fe',\n 4: '#e1e9ff',\n 5: '#d2deff',\n 6: '#c1d0ff',\n 7: '#abbdf9',\n 8: '#8da4ef',\n 9: '#3e63dd',\n 10: '#3358d4',\n 11: '#3a5bc7',\n 12: '#1f2d5c',\n};\nexport var blue = {\n 1: '#fbfdff',\n 2: '#f4faff',\n 3: '#e6f4fe',\n 4: '#d5efff',\n 5: '#c2e5ff',\n 6: '#acd8fc',\n 7: '#8ec8f6',\n 8: '#5eb1ef',\n 9: '#0090ff',\n 10: '#0588f0',\n 11: '#0d74ce',\n 12: '#113264',\n};\nexport var cyan = {\n 1: '#fafdfe',\n 2: '#f2fafb',\n 3: '#def7f9',\n 4: '#caf1f6',\n 5: '#b5e9f0',\n 6: '#9ddde7',\n 7: '#7dcedc',\n 8: '#3db9cf',\n 9: '#00a2c7',\n 10: '#0797b9',\n 11: '#107d98',\n 12: '#0d3c48',\n};\nexport var teal = {\n 1: '#fafefd',\n 2: '#f3fbf9',\n 3: '#e0f8f3',\n 4: '#ccf3ea',\n 5: '#b8eae0',\n 6: '#a1ded2',\n 7: '#83cdc1',\n 8: '#53b9ab',\n 9: '#12a594',\n 10: '#0d9b8a',\n 11: '#008573',\n 12: '#0d3d38',\n};\nexport var jade = {\n 1: '#fbfefd',\n 2: '#f4fbf7',\n 3: '#e6f7ed',\n 4: '#d6f1e3',\n 5: '#c3e9d7',\n 6: '#acdec8',\n 7: '#8bceb6',\n 8: '#56ba9f',\n 9: '#29a383',\n 10: '#26997b',\n 11: '#208368',\n 12: '#1d3b31',\n};\nexport var green = {\n 1: '#fbfefc',\n 2: '#f4fbf6',\n 3: '#e6f6eb',\n 4: '#d6f1df',\n 5: '#c4e8d1',\n 6: '#adddc0',\n 7: '#8eceaa',\n 8: '#5bb98b',\n 9: '#30a46c',\n 10: '#2b9a66',\n 11: '#218358',\n 12: '#193b2d',\n};\nexport var grass = {\n 1: '#fbfefb',\n 2: '#f5fbf5',\n 3: '#e9f6e9',\n 4: '#daf1db',\n 5: '#c9e8ca',\n 6: '#b2ddb5',\n 7: '#94ce9a',\n 8: '#65ba74',\n 9: '#46a758',\n 10: '#3e9b4f',\n 11: '#2a7e3b',\n 12: '#203c25',\n};\nexport var brown = {\n 1: '#fefdfc',\n 2: '#fcf9f6',\n 3: '#f6eee7',\n 4: '#f0e4d9',\n 5: '#ebdaca',\n 6: '#e4cdb7',\n 7: '#dcbc9f',\n 8: '#cea37e',\n 9: '#ad7f58',\n 10: '#a07553',\n 11: '#815e46',\n 12: '#3e332e',\n};\nexport var bronze = {\n 1: '#fdfcfc',\n 2: '#fdf7f5',\n 3: '#f6edea',\n 4: '#efe4df',\n 5: '#e7d9d3',\n 6: '#dfcdc5',\n 7: '#d3bcb3',\n 8: '#c2a499',\n 9: '#a18072',\n 10: '#957468',\n 11: '#7d5e54',\n 12: '#43302b',\n};\nexport var gold = {\n 1: '#fdfdfc',\n 2: '#faf9f2',\n 3: '#f2f0e7',\n 4: '#eae6db',\n 5: '#e1dccf',\n 6: '#d8d0bf',\n 7: '#cbc0aa',\n 8: '#b9a88d',\n 9: '#978365',\n 10: '#8c7a5e',\n 11: '#71624b',\n 12: '#3b352b',\n};\nexport var sky = {\n 1: '#f9feff',\n 2: '#f1fafd',\n 3: '#e1f6fd',\n 4: '#d1f0fa',\n 5: '#bee7f5',\n 6: '#a9daed',\n 7: '#8dcae3',\n 8: '#60b3d7',\n 9: '#7ce2fe',\n 10: '#74daf8',\n 11: '#00749e',\n 12: '#1d3e56',\n};\nexport var mint = {\n 1: '#f9fefd',\n 2: '#f2fbf9',\n 3: '#ddf9f2',\n 4: '#c8f4e9',\n 5: '#b3ecde',\n 6: '#9ce0d0',\n 7: '#7ecfbd',\n 8: '#4cbba5',\n 9: '#86ead4',\n 10: '#7de0cb',\n 11: '#027864',\n 12: '#16433c',\n};\nexport var lime = {\n 1: '#fcfdfa',\n 2: '#f8faf3',\n 3: '#eef6d6',\n 4: '#e2f0bd',\n 5: '#d3e7a6',\n 6: '#c2da91',\n 7: '#abc978',\n 8: '#8db654',\n 9: '#bdee63',\n 10: '#b0e64c',\n 11: '#5c7c2f',\n 12: '#37401c',\n};\nexport var yellow = {\n 1: '#fdfdf9',\n 2: '#fefce9',\n 3: '#fffab8',\n 4: '#fff394',\n 5: '#ffe770',\n 6: '#f3d768',\n 7: '#e4c767',\n 8: '#d5ae39',\n 9: '#ffe629',\n 10: '#ffdc00',\n 11: '#9e6c00',\n 12: '#473b1f',\n};\nexport var amber = {\n 1: '#fefdfb',\n 2: '#fefbe9',\n 3: '#fff7c2',\n 4: '#ffee9c',\n 5: '#fbe577',\n 6: '#f3d673',\n 7: '#e9c162',\n 8: '#e2a336',\n 9: '#ffc53d',\n 10: '#ffba18',\n 11: '#ab6400',\n 12: '#4f3422',\n};\nexport var orange = {\n 1: '#fefcfb',\n 2: '#fff7ed',\n 3: '#ffefd6',\n 4: '#ffdfb5',\n 5: '#ffd19a',\n 6: '#ffc182',\n 7: '#f5ae73',\n 8: '#ec9455',\n 9: '#f76b15',\n 10: '#ef5f00',\n 11: '#cc4e00',\n 12: '#582d1d',\n};\n"],"names":["slate","red","crimson","plum","purple","indigo","blue","cyan","teal","grass","brown","sky","lime","yellow","amber","orange"],"mappings":"AACU,IAACA,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH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ACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WA8BGC,EAAM,CACb,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAgBGC,EAAO,CACd,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAQ,CACf,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI,WAEGC,EAAS,CAChB,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,EAAG,UACH,GAAI,UACJ,GAAI,UACJ,GAAI"}
@@ -1,2 +0,0 @@
1
- import{jsx as r,jsxs as e}from"react/jsx-runtime";import a,{createContext as t,useContext as o}from"react";import*as n from"@radix-ui/react-accordion";import{ChevronDownIcon as c}from"@radix-ui/react-icons";import{cn as s}from"../../utils/utils.mjs";import{cva as i}from"class-variance-authority";import{scalingVariants as l}from"../../constants.mjs";import{useTheme as d}from"../../theme/ThemeProvider.mjs";var m=function(){return m=Object.assign||function(r){for(var e,a=1,t=arguments.length;a<t;a++)for(var o in e=arguments[a])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},m.apply(this,arguments)},p=function(r,e){var a={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(a[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(r);o<t.length;o++)e.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(r,t[o])&&(a[t[o]]=r[t[o]])}return a},f=i("",{variants:{scaling:m({},l)},defaultVariants:{scaling:"100%"}}),u=t({scaling:"100%",color:"red"}),h=function(){return o(u)},x=a.forwardRef((function(e,a){var t=e.className,o=e.children,c=e.scaling,i=e.color,l=void 0===i?"red":i,h=p(e,["className","children","scaling","color"]),x=d().theme,b={scaling:x.themeScaling||c,color:x.themeColor||l};return r(u.Provider,{value:b,children:r(n.Root,m({className:s("w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4",f({scaling:b.scaling}),t)},h,{ref:a,children:o}))})}));x.displayName="Accordion.Root";var b=a.forwardRef((function(e,a){var t=e.className,o=e.children,c=p(e,["className","children"]);return r(n.Item,m({},c,{ref:a,className:s("mt-px w-[278px] overflow-hidden first:mt-0 first:rounded-t last:rounded-b",t),children:o}))}));b.displayName="Accordion.Item";var g=a.forwardRef((function(a,t){var o=a.className,i=a.children,l=p(a,["className","children"]),d=h().color;return r(n.Header,m({},l,{className:s("flex",o),children:e(n.Trigger,m({},l,{ref:t,className:s("group flex h-[44px] w-[278px] cursor-default items-center justify-between px-[20px] py-[10px] text-base font-normal","dark:bg-[#111113] text-".concat(d,"A-11 dark:text-").concat(d,"Dark-11 "),"hover:bg-".concat(d,"A-4 dark:hover:bg-").concat(d,"Dark-4 hover:text-").concat(d,"A-11 dark:hover:text-").concat(d,"DarkA-11"),"data-[state=open]:bg-".concat(d,"A-5 dark:data-[state=open]:bg-").concat(d,"DarkA-5"),"disabled:bg-slateA-3 disabled:text-slateA-8 disabled:dark:bg-slateDarkA-3 disabled:dark:text-slateDarkA-8",o),children:[i,r(c,{className:"transition-transform duration-300 ease-[cubic-bezier(0.87,_0,_0.13,_1)] group-data-[state=open]:rotate-180","aria-hidden":!0})]}))}))}));g.displayName="Accordion.Trigger";var v=a.forwardRef((function(e,a){var t=e.className,o=e.children,c=p(e,["className","children"]);return r(n.Content,m({},c,{ref:a,className:s("max-h-[800px] w-[278px] overflow-hidden border-t border-t-slateA-4 bg-slateA-2 text-[16px] text-slateA-11 data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown dark:border-t-slateDarkA-4 dark:bg-slateDarkA-2 dark:text-slateDarkA-11",t),children:r("div",{className:"h-auto max-h-[1000px] overflow-y-auto px-[20px] py-[15px] text-base font-normal",children:o})}))}));v.displayName="Accordion.Content";var A={Root:x,Item:b,Trigger:g,Content:v};export{v as Content,b as Item,x as Root,g as Trigger,A as default,h as useAccordionContext};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Accordion/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport React, { createContext, useContext } from 'react';\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { useTheme } from '../../../lib/theme';\nvar accoridanVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nvar AccordionContext = createContext({\n scaling: '100%',\n color: 'red',\n});\nexport var useAccordionContext = function () {\n return useContext(AccordionContext);\n};\nexport var Root = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, children = _a.children, scaling = _a.scaling, _b = _a.color, color = _b === void 0 ? 'red' : _b, rootProps = __rest(_a, [\"className\", \"children\", \"scaling\", \"color\"]);\n var theme = useTheme().theme;\n var contextValue = {\n scaling: theme.themeScaling || scaling,\n color: theme.themeColor || color,\n };\n return (_jsx(AccordionContext.Provider, { value: contextValue, children: _jsx(AccordionPrimitive.Root, __assign({ className: cn('w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4', accoridanVariants({ scaling: contextValue.scaling }), className) }, rootProps, { ref: forwardedRef, children: children })) }));\n});\nRoot.displayName = 'Accordion.Root';\nexport var Item = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, children = _a.children, rootProps = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(AccordionPrimitive.Item, __assign({}, rootProps, { ref: forwardedRef, className: cn('mt-px w-[278px] overflow-hidden first:mt-0 first:rounded-t last:rounded-b', className), children: children })));\n});\nItem.displayName = 'Accordion.Item';\nexport var Trigger = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, children = _a.children, rootProps = __rest(_a, [\"className\", \"children\"]);\n var color = useAccordionContext().color;\n return (_jsx(AccordionPrimitive.Header, __assign({}, rootProps, { className: cn('flex', className), children: _jsxs(AccordionPrimitive.Trigger, __assign({}, rootProps, { ref: forwardedRef, className: cn(\"group flex h-[44px] w-[278px] cursor-default items-center justify-between px-[20px] py-[10px] text-base font-normal\", \"dark:bg-[#111113] text-\".concat(color, \"A-11 dark:text-\").concat(color, \"Dark-11 \"), \"hover:bg-\".concat(color, \"A-4 dark:hover:bg-\").concat(color, \"Dark-4 hover:text-\").concat(color, \"A-11 dark:hover:text-\").concat(color, \"DarkA-11\"), \"data-[state=open]:bg-\".concat(color, \"A-5 dark:data-[state=open]:bg-\").concat(color, \"DarkA-5\"), \"disabled:bg-slateA-3 disabled:text-slateA-8 disabled:dark:bg-slateDarkA-3 disabled:dark:text-slateDarkA-8\", className), children: [children, _jsx(ChevronDownIcon, { className: \"transition-transform duration-300 ease-[cubic-bezier(0.87,_0,_0.13,_1)] group-data-[state=open]:rotate-180\", \"aria-hidden\": true })] })) })));\n});\nTrigger.displayName = 'Accordion.Trigger';\nexport var Content = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, children = _a.children, rootProps = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(AccordionPrimitive.Content, __assign({}, rootProps, { ref: forwardedRef, className: cn('max-h-[800px] w-[278px] overflow-hidden border-t border-t-slateA-4 bg-slateA-2 text-[16px] text-slateA-11 data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown dark:border-t-slateDarkA-4 dark:bg-slateDarkA-2 dark:text-slateDarkA-11', className), children: _jsx(\"div\", { className: \"h-auto max-h-[1000px] overflow-y-auto px-[20px] py-[15px] text-base font-normal\", children: children }) })));\n});\nContent.displayName = 'Accordion.Content';\nvar Accordion = {\n Root: Root,\n Item: Item,\n Trigger: Trigger,\n Content: Content,\n};\nexport default Accordion;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","accoridanVariants","cva","variants","scaling","scalingVariants","defaultVariants","AccordionContext","createContext","color","useAccordionContext","useContext","Root","React","forwardRef","_a","forwardedRef","className","children","_b","rootProps","theme","useTheme","contextValue","themeScaling","themeColor","_jsx","Provider","value","AccordionPrimitive","cn","ref","displayName","Item","Trigger","Header","_jsxs","concat","ChevronDownIcon","Content","Accordion"],"mappings":"wZAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EASIiB,EAAoBC,EAAI,GAAI,CAC5BC,SAAU,CACNC,QAASvB,EAAS,CAAE,EAAEwB,IAE1BC,gBAAiB,CACbF,QAAS,UAGbG,EAAmBC,EAAc,CACjCJ,QAAS,OACTK,MAAO,QAEAC,EAAsB,WAC7B,OAAOC,EAAWJ,EACtB,EACWK,EAAOC,EAAMC,YAAW,SAAUC,EAAIC,GAC7C,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUd,EAAUW,EAAGX,QAASe,EAAKJ,EAAGN,MAAOA,OA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AAwB4B,OAAO5B,EAAO,kCAAkC4B,OAAO5B,EAAO,WAAY,4GAA6GQ,GAAYC,SAAU,CAACA,EAAUQ,EAAKY,EAAiB,CAAErB,UAAW,6GAA8G,eAAe,UACl8B,IACAiB,EAAQF,YAAc,oBACZ,IAACO,EAAU1B,EAAMC,YAAW,SAAUC,EAAIC,GAChD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUE,EAAYxB,EAAOmB,EAAI,CAAC,YAAa,aAC3F,OAAQW,EAAKG,EAAmBU,QAAS1D,EAAS,CAAA,EAAIuC,EAAW,CAAEW,IAAKf,EAAcC,UAAWa,EAAG,4PAA6Pb,GAAYC,SAAUQ,EAAK,MAAO,CAAET,UAAW,kFAAmFC,SAAUA,MACjf,IACAqB,EAAQP,YAAc,oBACnB,IAACQ,EAAY,CACZ5B,KAAMA,EACNqB,KAAMA,EACNC,QAASA,EACTK,QAASA"}
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as t from"@radix-ui/react-alert-dialog";import{cva as o}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{weightVariants as n,primaryColorStyle as a,appearanceStyle as l}from"../../constants.mjs";import{useAlertDialogContext as s}from"./AlertDialogRoot.mjs";var m=function(){return m=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},m.apply(this,arguments)},p=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)r.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(t[o[i]]=e[o[i]])}return t},c=o("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded",full:"rounded-full"},size:{small:"text-xs min-w-[40px] h-[24px] px-2",medium:"text-sm min-w-[50px] h-[32px] px-3",large:"text-sm min-w-[50px] h-[32px] px-3","x-large":"text-base min-w-[62px] h-[40px] px-4"},weight:m({},n),color:a()},defaultVariants:{radius:"large",weight:"medium",size:"medium",color:"red"}}),u=r((function(r,o){var n=r.className,a=r.children,u=r.weight,d=p(r,["className","children","weight"]),f=s(),x=f.radius,h=f.size,g=f.color,w=void 0===g?"red":g,y=f.appearance,O=void 0===y?"solid":y,j=i(c({radius:x,size:h,weight:u,color:w}),l(O,w),n);return e(t.Action,m({ref:o,className:j},d,{children:a}))}));u.displayName="AlertDialog.Action";export{u as AlertDialogAction,c as alertDialogActionVariants};
2
- //# sourceMappingURL=AlertDialogAction.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDialogAction.mjs","sources":["../../../lib/components/AlertDialog/AlertDialogAction.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { appearanceStyle, primaryColorStyle, weightVariants } from '../../../lib/constants';\nimport { useAlertDialogContext } from './AlertDialogRoot';\nexport var alertDialogActionVariants = cva(\"inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit\", {\n variants: {\n radius: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded',\n full: 'rounded-full',\n },\n size: {\n small: 'text-xs min-w-[40px] h-[24px] px-2',\n medium: 'text-sm min-w-[50px] h-[32px] px-3',\n large: 'text-sm min-w-[50px] h-[32px] px-3',\n 'x-large': 'text-base min-w-[62px] h-[40px] px-4',\n },\n weight: __assign({}, weightVariants),\n color: primaryColorStyle(),\n },\n defaultVariants: {\n radius: 'large',\n weight: 'medium',\n size: 'medium',\n color: 'red',\n },\n});\nexport var AlertDialogAction = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, weight = _a.weight, props = __rest(_a, [\"className\", \"children\", \"weight\"]);\n var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var buttonClassName = cn(alertDialogActionVariants({ radius: radius, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);\n return (_jsx(AlertDialogPrimitive.Action, __assign({ ref: ref, className: buttonClassName }, props, { children: children })));\n});\nAlertDialogAction.displayName = 'AlertDialog.Action';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","alertDialogActionVariants","cva","variants","radius","none","small","medium","large","full","size","weight","weightVariants","color","primaryColorStyle","defaultVariants","AlertDialogAction","forwardRef","_a","ref","className","children","props","_b","useAlertDialogContext","_c","_d","appearance","buttonClassName","cn","appearanceStyle","_jsx","AlertDialogPrimitive","Action","displayName"],"mappings":"mXAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OA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AAQM,EAAOa,EAAGb,KAAMe,EAAKF,EAAGV,MAAOA,OAAe,IAAPY,EAAgB,MAAQA,EAAIC,EAAKH,EAAGI,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAChLE,EAAkBC,EAAG5B,EAA0B,CAAEG,OAAQA,EAAQM,KAAMA,EAAMC,OAAQA,EAAQE,MAAOA,IAAUiB,EAAgBH,EAAYd,GAAQO,GACtJ,OAAQW,EAAKC,EAAqBC,OAAQpD,EAAS,CAAEsC,IAAKA,EAAKC,UAAWQ,GAAmBN,EAAO,CAAED,SAAUA,IACpH,IACAL,EAAkBkB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDialogCancel.mjs","sources":["../../../lib/components/AlertDialog/AlertDialogCancel.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { appearanceStyle, weightVariants } from '../../../lib/constants';\nimport { useAlertDialogContext } from './AlertDialogRoot';\nexport var alertDialogCancelVariants = cva(\"inline-flex justify-center items-center outline-none w-fit\", {\n variants: {\n radius: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded',\n full: 'rounded-full',\n },\n size: {\n small: 'text-xs min-w-[40px] h-[24px] px-2 mr-2',\n medium: 'text-sm min-w-[50px] h-[32px] px-3 mr-2',\n large: 'text-sm min-w-[50px] h-[32px] px-3 mr-3',\n 'x-large': 'text-base min-w-[62px] h-[40px] px-4 mr-3',\n },\n weight: __assign({}, weightVariants),\n },\n defaultVariants: {\n radius: 'large',\n weight: 'medium',\n size: 'large',\n },\n});\nexport var AlertDialogCancel = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, weight = _a.weight, props = __rest(_a, [\"className\", \"children\", \"weight\"]);\n var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;\n var disabledButtonStyle = \"border-none text-slate-11 bg-slate-3 \\n active:bg-slate-4 active:border-none hover:cursor-pointer hover:bg-slateA-4\\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\";\n var buttonClassName = cn(alertDialogCancelVariants({ radius: radius, size: size, weight: weight }), appearanceStyle(appearance, 'slate'), disabledButtonStyle, className);\n return (_jsx(AlertDialogPrimitive.Cancel, __assign({ ref: ref }, props, { className: buttonClassName, children: children })));\n});\nAlertDialogCancel.displayName = 'AlertDialog.Cancel';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","alertDialogCancelVariants","cva","variants","radius","none","small","medium","large","full","size","weight","weightVariants","defaultVariants","AlertDialogCancel","forwardRef","_a","ref","className","children","props","_b","useAlertDialogContext","_c","appearance","buttonClassName","cn","appearanceStyle","_jsx","AlertDialogPrimitive","Cancel","displayName"],"mappings":"4VAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,U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BC,EAAGzB,EAA0B,CAAEG,OAAQA,EAAQM,KAAMA,EAAMC,OAAQA,IAAWgB,EAAgBH,EAAY,SADtG,oMACqIN,GAC/J,OAAQU,EAAKC,EAAqBC,OAAQjD,EAAS,CAAEoC,IAAKA,GAAOG,EAAO,CAAEF,UAAWO,EAAiBN,SAAUA,IACpH,IACAL,EAAkBiB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDialogContent.mjs","sources":["../../../lib/components/AlertDialog/AlertDialogContent.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { radiusVariants, scalingVariants } from '../../../lib/constants';\nimport { useAlertDialogContext } from './AlertDialogRoot';\nexport var alertDialogContentVariants = cva(\"fixed max-h-[85vh] top-[50%] left-[50%] focus:outline-none\\n translate-x-[-50%] translate-y-[-50%] data-[state=open]:animate-contentShow bg-white dark:bg-slateDark-1 \\n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]\", {\n variants: {\n size: {\n small: 'p-3 w-[300px]',\n medium: 'p-4 w-[400px]',\n large: 'p-5 w-[500px]',\n 'x-large': 'p-6 w-[600px]',\n },\n scaling: __assign({}, scalingVariants),\n radius: __assign({}, radiusVariants['extra-large']),\n },\n defaultVariants: {\n radius: 'large',\n size: 'large',\n },\n});\nexport var AlertDialogContent = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;\n return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: \"fixed data-[state=open]:animate-overlayShow inset-0\" }), _jsx(AlertDialogPrimitive.Content, __assign({ className: cn(alertDialogContentVariants({ radius: radius, size: size, scaling: scaling }), className), ref: ref }, props, { children: children }))] }));\n});\nAlertDialogContent.displayName = 'AlertDialog.Content';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","alertDialogContentVariants","cva","variants","size","small","medium","large","scaling","scalingVariants","radius","radiusVariants","defaultVariants","AlertDialogContent","forwardRef","_a","ref","className","children","props","_b","useAlertDialogContext","_jsxs","AlertDialogPrimitive","Portal","_jsx","Overlay","Content","cn","displayName"],"mappings":"sWAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAA6BC,EAAI,2QAA4Q,CACpTC,SAAU,CACNC,KAAM,CACFC,MAAO,gBACPC,OAAQ,gBACRC,MAAO,gBACP,UAAW,iBAEfC,QAAS3B,EAAS,CAAE,EAAE4B,GACtBC,OAAQ7B,EAAS,CAAA,EAAI8B,EAAe,iBAExCC,gBAAiB,CACbF,OAAQ,QACRN,KAAM,WAGHS,EAAqBC,GAAW,SAAUC,EAAIC,GACrD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQvB,EAAOmB,EAAI,CAAC,YAAa,aACnFK,EAAKC,IAAyBX,EAASU,EAAGV,OAAQN,EAAOgB,EAAGhB,KAAMI,EAAUY,EAAGZ,QACnF,OAAQc,EAAMC,EAAqBC,OAAQ,CAAEN,SAAU,CAACO,EAAKF,EAAqBG,QAAS,CAAET,UAAW,wDAA0DQ,EAAKF,EAAqBI,QAAS9C,EAAS,CAAEoC,UAAWW,EAAG3B,EAA2B,CAAES,OAAQA,EAAQN,KAAMA,EAAMI,QAASA,IAAYS,GAAYD,IAAKA,GAAOG,EAAO,CAAED,SAAUA,OAC3V,IACAL,EAAmBgB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDialogDescription.mjs","sources":["../../../lib/components/AlertDialog/AlertDialogDescription.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { useAlertDialogContext } from './AlertDialogRoot';\nexport var alertDialogDescriptionVariants = cva(\"text-slate-12 dark:text-slateDark-12 font-normal\", {\n variants: {\n size: {\n small: 'text-xs mb-3',\n medium: 'text-sm mb-4',\n large: 'text-base mb-5',\n 'x-large': 'text-lg mb-6',\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n});\nexport var AlertDialogDescription = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, contentText = _a.contentText, props = __rest(_a, [\"className\", \"children\", \"contentText\"]);\n var size = useAlertDialogContext().size;\n return (_jsx(AlertDialogPrimitive.Description, __assign({ className: cn(alertDialogDescriptionVariants({ size: size }), className), ref: ref }, props, { children: contentText !== null && contentText !== void 0 ? contentText : children })));\n});\nAlertDialogDescription.displayName = 'AlertDialog.Description';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","alertDialogDescriptionVariants","cva","variants","size","small","medium","large","defaultVariants","AlertDialogDescription","forwardRef","_a","ref","className","children","contentText","props","useAlertDialogContext","_jsx","AlertDialogPrimitive","Description","cn","displayName"],"mappings":"kRAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOWiB,EAAiCC,EAAI,mDAAoD,CAChGC,SAAU,CACNC,KAAM,CACFC,MAAO,eACPC,OAAQ,eACRC,MAAO,iBACP,UAAW,iBAGnBC,gBAAiB,CACbJ,KAAM,YAGHK,EAAyBC,GAAW,SAAUC,EAAIC,GACzD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAcJ,EAAGI,YAAaC,EAAQpB,EAAOe,EAAI,CAAC,YAAa,WAAY,gBAC7HP,EAAOa,IAAwBb,KACnC,OAAQc,EAAKC,EAAqBC,YAAavC,EAAS,CAAEgC,UAAWQ,EAAGpB,EAA+B,CAAEG,KAAMA,IAASS,GAAYD,IAAKA,GAAOI,EAAO,CAAEF,SAAUC,QAAiDA,EAAcD,IACtO,IACAL,EAAuBa,YAAc"}
@@ -1,3 +0,0 @@
1
- "use client";
2
- import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as o,useContext as t}from"react";import*as i from"@radix-ui/react-alert-dialog";import{useTheme as n}from"../../theme/ThemeProvider.mjs";var a=function(){return a=Object.assign||function(r){for(var e,o=1,t=arguments.length;o<t;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},a.apply(this,arguments)},l=function(r,e){var o={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(o[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)e.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(o[t[i]]=r[t[i]])}return o},c=e({size:"medium",scaling:"100%",color:"red",radius:"medium",appearance:"solid"}),s=function(){return t(c)},m=o((function(e,o){var t=e.children,s=e.radius,m=e.size,p=e.scaling,u=e.color,d=l(e,["children","radius","size","scaling","color"]),f=n().theme,h={radius:f.themeRadius||s,scaling:f.themeScaling||p,color:f.themeColor||u,size:m};return r(c.Provider,{value:h,children:r("div",{ref:o,children:r(i.Root,a({},d,{children:t}))})})}));m.displayName="AlertDialog.Root";export{m as AlertDialogRoot,s as useAlertDialogContext};
3
- //# sourceMappingURL=AlertDialogRoot.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDialogTitle.mjs","sources":["../../../lib/components/AlertDialog/AlertDialogTitle.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { useAlertDialogContext } from './AlertDialogRoot';\nexport var alertDialogTitleVariants = cva(\"m-0 text-slate-12 dark:text-slateDark-12 font-bold\", {\n variants: {\n size: {\n small: 'text-sm mb-1',\n medium: 'text-lg mb-2',\n large: 'text-xl mb-3',\n 'x-large': 'text-2xl mb-4',\n },\n },\n defaultVariants: {\n size: 'large',\n },\n});\nexport var AlertDialogTitle = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, titleText = _a.titleText, props = __rest(_a, [\"className\", \"children\", \"titleText\"]);\n var size = useAlertDialogContext().size;\n return (_jsx(AlertDialogPrimitive.Title, __assign({ className: cn(alertDialogTitleVariants({ size: size }), className), ref: ref }, props, { children: titleText !== null && titleText !== void 0 ? titleText : children })));\n});\nAlertDialogTitle.displayName = 'AlertDialog.Title';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","alertDialogTitleVariants","cva","variants","size","small","medium","large","defaultVariants","AlertDialogTitle","forwardRef","_a","ref","className","children","titleText","props","useAlertDialogContext","_jsx","AlertDialogPrimitive","Title","cn","displayName"],"mappings":"kRAAA,IAAIA,EAAsC,WAStC,OARAA,EAA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
@@ -1,2 +0,0 @@
1
- import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as t from"@radix-ui/react-alert-dialog";import{cva as i}from"class-variance-authority";import{cn as a}from"../../utils/utils.mjs";import{radiusVariants as o,scalingVariants as s,weightVariants as l,primaryColorStyle as n,appearanceStyle as c}from"../../constants.mjs";var p=function(){return p=Object.assign||function(r){for(var e,t=1,i=arguments.length;t<i;t++)for(var a in e=arguments[t])Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},p.apply(this,arguments)},m=function(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(r);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(r,i[a])&&(t[i[a]]=r[i[a]])}return t},d=i("inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8",{variants:{radius:p({},o.base),size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3",large:"text-base h-[40px] px-4","x-large":"text-lg h-[48px] px-6"},scaling:p({},s),weight:p({},l),color:n()},defaultVariants:{radius:"large",scaling:"100%",weight:"medium",color:"red",size:"medium"}}),u=e((function(e,i){var o=e.children,s=e.className,l=e.radius,n=e.scaling,u=e.size,g=e.weight,f=e.color,x=void 0===f?"red":f,h=e.appearance,b=void 0===h?"solid":h,y=m(e,["children","className","radius","scaling","size","weight","color","appearance"]),v=a(d({radius:l,scaling:n,size:u,weight:g,color:x}),c(b,x),s);return r(t.Trigger,p({asChild:!0,ref:i,className:v},y,{children:o}))}));u.displayName="AlertDialog.Trigger";export{u as AlertDialogTrigger};
2
- //# sourceMappingURL=AlertDialogTrigger.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDialogTrigger.mjs","sources":["../../../lib/components/AlertDialog/AlertDialogTrigger.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '../../../lib/constants';\nvar buttonVariants = cva(\"inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8\", {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n small: 'text-xs h-[24px] px-2',\n medium: 'text-sm h-[32px] px-3',\n large: 'text-base h-[40px] px-4',\n 'x-large': 'text-lg h-[48px] px-6',\n },\n scaling: __assign({}, scalingVariants),\n weight: __assign({}, weightVariants),\n color: primaryColorStyle(),\n },\n defaultVariants: {\n radius: 'large',\n scaling: '100%',\n weight: 'medium',\n color: 'red',\n size: 'medium',\n },\n});\nexport var AlertDialogTrigger = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, weight = _a.weight, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, [\"children\", \"className\", \"radius\", \"scaling\", \"size\", \"weight\", \"color\", \"appearance\"]);\n var buttonClassName = cn(buttonVariants({ radius: radius, scaling: scaling, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);\n return (_jsx(AlertDialogPrimitive.Trigger, __assign({ asChild: true, ref: ref, className: buttonClassName }, props, { children: children })));\n});\nAlertDialogTrigger.displayName = 'AlertDialog.Trigger';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","buttonVariants","cva","variants","radius","radiusVariants","size","small","medium","large","scaling","scalingVariants","weight","weightVariants","color","primaryColorStyle","defaultVariants","AlertDialogTrigger","forwardRef","_a","ref","children","className","_b","_c","appearance","props","buttonClassName","cn","appearanceStyle","_jsx","AlertDialogPrimitive","Trigger","asChild","displayName"],"mappings":"8VAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOIiB,EAAiBC,EAAI,8JAA+J,CACpLC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,KAAM,CACFC,MAAO,wBACPC,OAAQ,wBACRC,MAAO,0BACP,UAAW,yBAEfC,QAAS7B,EAAS,CAAE,EAAE8B,GACtBC,OAAQ/B,EAAS,CAAE,EAAEgC,GACrBC,MAAOC,KAEXC,gBAAiB,CACbZ,OAAQ,QACRM,QAAS,OACTE,OAAQ,SACRE,MAAO,MACPR,KAAM,YAGHW,EAAqBC,GAAW,SAAUC,EAAIC,GACrD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWlB,EAASe,EAAGf,OAAQM,EAAUS,EAAGT,QAASJ,EAAOa,EAAGb,KAAMM,EAASO,EAAGP,OAAQW,EAAKJ,EAAGL,MAAOA,OAAe,IAAPS,EAAgB,MAAQA,EAAIC,EAAKL,EAAGM,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAAQ9B,EAAOuB,EAAI,CAAC,WAAY,YAAa,SAAU,UAAW,OAAQ,SAAU,QAAS,eAC/UQ,EAAkBC,EAAG3B,EAAe,CAAEG,OAAQA,EAAQM,QAASA,EAASJ,KAAMA,EAAMM,OAAQA,EAAQE,MAAOA,IAAUe,EAAgBJ,EAAYX,GAAQQ,GAC7J,OAAQQ,EAAKC,EAAqBC,QAASnD,EAAS,CAAEoD,SAAS,EAAMb,IAAKA,EAAKE,UAAWK,GAAmBD,EAAO,CAAEL,SAAUA,IACpI,IACAJ,EAAmBiB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/AlertDialog/index.js"],"sourcesContent":["import { AlertDialogRoot as Root } from './AlertDialogRoot';\nimport { AlertDialogTrigger as Trigger } from './AlertDialogTrigger';\nimport { AlertDialogContent as Content } from './AlertDialogContent';\nimport { AlertDialogTitle as Title } from './AlertDialogTitle';\nimport { AlertDialogDescription as Description } from './AlertDialogDescription';\nimport { AlertDialogCancel as Cancel } from './AlertDialogCancel';\nimport { AlertDialogAction as Action } from './AlertDialogAction';\nvar AlertDialog = {\n Root: Root,\n Trigger: Trigger,\n Content: Content,\n Title: Title,\n Description: Description,\n Cancel: Cancel,\n Action: Action\n};\nexport default AlertDialog;\n"],"names":["AlertDialog","Root","Trigger","Content","Title","Description","Cancel","Action"],"mappings":"4aAOG,IAACA,EAAc,CACdC,KAAMA,EACNC,QAASA,EACTC,QAASA,EACTC,MAAOA,EACPC,YAAaA,EACbC,OAAQA,EACRC,OAAQA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/AspectRatio/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { scalingVariants } from '../../../lib/constants';\nimport { useTheme } from '../../../lib/theme';\nexport var aspectRatioVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nvar AspectRatio = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, _b = _a.ratio, ratio = _b === void 0 ? 16 / 9 : _b, scaling = _a.scaling, props = __rest(_a, [\"children\", \"className\", \"ratio\", \"scaling\"]);\n var theme = useTheme().theme;\n return (_jsx(AspectRatioPrimitive.Root, __assign({ ratio: ratio, ref: ref }, props, { className: cn(aspectRatioVariants({ scaling: theme.themeScaling || scaling }), className), children: children })));\n});\nAspectRatio.displayName = 'AspectRatio';\nexport default AspectRatio;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","aspectRatioVariants","cva","variants","scaling","scalingVariants","defaultVariants","AspectRatio","forwardRef","_a","ref","children","className","_b","ratio","props","theme","useTheme","_jsx","AspectRatioPrimitive","Root","cn","themeScaling","displayName"],"mappings":"mUAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAAsBC,EAAI,GAAI,CACrCC,SAAU,CACNC,QAASvB,EAAS,CAAE,EAAEwB,IAE1BC,gBAAiB,CACbF,QAAS,UAGbG,EAAcC,GAAW,SAAUC,EAAIC,GACvC,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAKJ,EAAGK,MAAOA,OAAe,IAAPD,EAAgB,GAAK,EAAIA,EAAIT,EAAUK,EAAGL,QAASW,EAAQnB,EAAOa,EAAI,CAAC,WAAY,YAAa,QAAS,YAClLO,EAAQC,IAAWD,MACvB,OAAQE,EAAKC,EAAqBC,KAAMvC,EAAS,CAAEiC,MAAOA,EAAOJ,IAAKA,GAAOK,EAAO,CAAEH,UAAWS,EAAGpB,EAAoB,CAAEG,QAASY,EAAMM,cAAgBlB,IAAYQ,GAAYD,SAAUA,IAC/L,IACAJ,EAAYgB,YAAc"}
@@ -1,3 +0,0 @@
1
- "use client";
2
- import{jsxs as e,jsx as a}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as r from"@radix-ui/react-avatar";import{cva as l}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{radiusVariants as o,scalingVariants as s,primaryColorStyle as n,appearanceStyle as p}from"../../constants.mjs";import{useTheme as c}from"../../theme/ThemeProvider.mjs";var x=function(){return x=Object.assign||function(e){for(var a,t=1,r=arguments.length;t<r;t++)for(var l in a=arguments[t])Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l]);return e},x.apply(this,arguments)},m=function(e,a){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&a.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(r=Object.getOwnPropertySymbols(e);l<r.length;l++)a.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(t[r[l]]=e[r[l]])}return t},f=l("font-medium",{variants:{radius:x({},o.base),size:{1:"h-[24px] w-[24px] text-[12px]",2:"h-[32px] w-[32px] text-[14px]",3:"h-[40px] w-[40px] text-[16px]",4:"h-[48px] w-[48px] text-[18px]",5:"h-[64px] w-[64px] text-[24px]",6:"h-[80px] w-[80px] text-[28px]",7:"h-[96px] w-[96px] text-[28px]",8:"h-[128px] w-[128px] text-[35px]",9:"h-[160px] w-[160px] text-[60px]"},scaling:x({},s),color:n()},defaultVariants:{radius:"full",color:"red",size:"3"}}),d=t((function(t,l){var o=t.className;t.fallbackClassName;var s=t.radius,n=t.scaling;t.size;var d=t.fallbackText,u=t.imagePath,h=t.alt,b=t.appearance,y=void 0===b?"solid":b,v=t.color,g=void 0===v?"red":v,w=t.ariaLabel,j=t.ariaLabelledby,O=t.title,N=t.delayMs,P=void 0===N?300:N,k=m(t,["className","fallbackClassName","radius","scaling","size","fallbackText","imagePath","alt","appearance","color","ariaLabel","ariaLabelledby","title","delayMs"]),z=c().theme,I={radius:z.themeRadius||s,scaling:z.themeScaling||n,color:z.themeColor||g},L=h||w||d||"Avatar Image";return e(r.Root,x({className:i("inline-flex select-none items-center justify-center overflow-hidden align-middle",f(I),p(y,I.color,!1),o)},k,{ref:l,role:"img","aria-label":w||L,"aria-labelledby":j,title:O||L,tabIndex:0,children:[a(r.Image,{className:"h-full w-full border-none object-cover",src:u,alt:L,title:O||L}),a(r.Fallback,{className:i("leading-1 flex h-full w-full items-center justify-center",o),delayMs:P,"aria-hidden":"true",children:d})]}))}));d.displayName="Avatar";export{d as default};
3
- //# sourceMappingURL=index.mjs.map
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import{cva as t}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{radiusVariants as o,scalingVariants as a,weightVariants as s,primaryColorStyle as n,appearanceStyle as l}from"../../constants.mjs";import{useTheme as c}from"../../theme/ThemeProvider.mjs";var m=function(){return m=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},m.apply(this,arguments)},p=function(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)r.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(t[i[o]]=e[i[o]])}return t},u=t("inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 w-fit",{variants:{radius:m({},o.base),size:{small:"text-xs h-[20px] px-1.5 py-0.5",medium:"text-xs h-[24px] px-2 py-1",large:"text-sm h-[28px] px-2.5 py-1"},scaling:m({},a),weight:m({},s),color:n()},defaultVariants:{radius:"medium",size:"medium",scaling:"100%",weight:"medium",color:"red"}}),f=r((function(r,t){var o=r.className,a=r.children,s=r.radius,n=r.scaling,f=r.weight,d=r.size,h=r.color,g=void 0===h?"red":h,y=r.appearance,x=void 0===y?"solid":y,v=p(r,["className","children","radius","scaling","weight","size","color","appearance"]),O=c().theme,b={radius:O.themeRadius||s,scaling:O.themeScaling||n,weight:O.themeWeight||f,color:O.themeColor||g,size:d},j=i(u(b),l(x,b.color,!1),o);return e("div",m({ref:t,className:j},v,{children:a}))}));f.displayName="Badge";export{f as default};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Badge/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '../../../lib/constants';\nimport { useTheme } from '../../../lib/theme';\nvar BadgeVariants = cva('inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 w-fit', {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n small: 'text-xs h-[20px] px-1.5 py-0.5',\n medium: 'text-xs h-[24px] px-2 py-1',\n large: 'text-sm h-[28px] px-2.5 py-1',\n },\n scaling: __assign({}, scalingVariants),\n weight: __assign({}, weightVariants),\n color: primaryColorStyle(),\n },\n defaultVariants: {\n radius: 'medium',\n size: 'medium',\n scaling: '100%',\n weight: 'medium',\n color: 'red',\n },\n});\nvar Badge = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, weight = _a.weight, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, [\"className\", \"children\", \"radius\", \"scaling\", \"weight\", \"size\", \"color\", \"appearance\"]);\n var theme = useTheme().theme;\n var badgeStyle = {\n radius: theme.themeRadius || radius,\n scaling: theme.themeScaling || scaling,\n weight: theme.themeWeight || weight,\n color: theme.themeColor || color,\n size: size,\n };\n var badgeClassName = cn(BadgeVariants(badgeStyle), appearanceStyle(appearance, badgeStyle.color, false), className);\n return (_jsx(\"div\", __assign({ ref: ref, className: badgeClassName }, props, { children: children })));\n});\nBadge.displayName = 'Badge';\nexport default Badge;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","BadgeVariants","cva","variants","radius","radiusVariants","size","small","medium","large","scaling","scalingVariants","weight","weightVariants","color","primaryColorStyle","defaultVariants","Badge","forwardRef","_a","ref","className","children","_b","_c","appearance","props","theme","useTheme","badgeStyle","themeRadius","themeScaling","themeWeight","themeColor","badgeClassName","cn","appearanceStyle","_jsx","displayName"],"mappings":"wWAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOIiB,EAAgBC,EAAI,uHAAwH,CAC5IC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,KAAM,CACFC,MAAO,iCACPC,OAAQ,6BACRC,MAAO,gCAEXC,QAAS7B,EAAS,CAAE,EAAE8B,GACtBC,OAAQ/B,EAAS,CAAE,EAAEgC,GACrBC,MAAOC,KAEXC,gBAAiB,CACbZ,OAAQ,SACRE,KAAM,SACNI,QAAS,OACTE,OAAQ,SACRE,MAAO,SAGXG,EAAQC,GAAW,SAAUC,EAAIC,GACjC,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUlB,EAASe,EAAGf,OAAQM,EAAUS,EAAGT,QAASE,EAASO,EAAGP,OAAQN,EAAOa,EAAGb,KAAMiB,EAAKJ,EAAGL,MAAOA,OAAe,IAAPS,EAAgB,MAAQA,EAAIC,EAAKL,EAAGM,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAAQ9B,EAAOuB,EAAI,CAAC,YAAa,WAAY,SAAU,UAAW,SAAU,OAAQ,QAAS,eAC/UQ,EAAQC,IAAWD,MACnBE,EAAa,CACbzB,OAAQuB,EAAMG,aAAe1B,EAC7BM,QAASiB,EAAMI,cAAgBrB,EAC/BE,OAAQe,EAAMK,aAAepB,EAC7BE,MAAOa,EAAMM,YAAcnB,EAC3BR,KAAMA,GAEN4B,EAAiBC,EAAGlC,EAAc4B,GAAaO,EAAgBX,EAAYI,EAAWf,OAAO,GAAQO,GACzG,OAAQgB,EAAK,MAAOxD,EAAS,CAAEuC,IAAKA,EAAKC,UAAWa,GAAkBR,EAAO,CAAEJ,SAAUA,IAC7F,IACAL,EAAMqB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/BarChart/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Bar } from 'react-chartjs-2';\nimport { Chart as ChartJS, CategoryScale, LinearScale, BarElement, Tooltip, Legend, } from 'chart.js/auto';\nimport { scalingVariants } from '../../../lib/constants';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { chartAlphaColorList, chartColorList } from '../../../lib/color/constants';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);\nvar barChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nvar BarChart = function (_a) {\n var className = _a.className, title = _a.title, datasets = _a.datasets, labels = _a.labels, scaling = _a.scaling, legend = _a.legend, width = _a.width, height = _a.height, indexAxis = _a.indexAxis, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"datasets\", \"labels\", \"scaling\", \"legend\", \"width\", \"height\", \"indexAxis\", \"appearance\", \"isColorMixed\"]);\n var _d = useDarkMode(), isDark = _d[0], defaultScales = _d[1];\n datasets.forEach(function (dataset, index) {\n if (!dataset.backgroundColor) {\n if (isColorMixed) {\n datasets[index] = __assign(__assign({}, dataset), { backgroundColor: appearance === 'solid' ? chartColorList.mixed : chartAlphaColorList.mixed, borderColor: chartColorList.mixed });\n }\n else {\n datasets[index] = __assign(__assign({}, dataset), { backgroundColor: appearance === 'solid' ? chartColorList.sorting : chartAlphaColorList.sorting, borderColor: chartColorList.sorting });\n }\n }\n });\n return (_jsx(Bar, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n },\n indexAxis: indexAxis,\n scales: __assign({}, defaultScales.linescale),\n }, className: cn(barChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nBarChart.displayName = 'BarChart';\nexport default BarChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ChartJS","register","CategoryScale","LinearScale","BarElement","Tooltip","Legend","barChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","BarChart","_a","className","title","datasets","labels","legend","width","height","indexAxis","_b","appearance","_c","isColorMixed","props","defaultScales","useDarkMode","forEach","dataset","index","backgroundColor","chartColorList","mixed","chartAlphaColorList","borderColor","sorting","_jsx","Bar","data","options","plugins","scales","linescale","cn","displayName"],"mappings":"+dAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBA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YyB,QAAS,CAC5EC,QAAS,CACL3B,MAAOA,EACPG,OAAQA,GAEZG,UAAWA,EACXsB,OAAQhE,EAAS,GAAIgD,EAAciB,YACpC9B,UAAW+B,EAAGvC,EAAiB,CAAEG,QAASA,IAAYK,GAAYK,MAAOA,EAAOC,OAAQA,GAAUM,GAC7G,EACAd,EAASkC,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/BubbleChart/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Bubble } from 'react-chartjs-2';\nimport { Chart as ChartJS, registerables } from 'chart.js';\nimport { scalingVariants } from '../../../lib/constants';\nimport { cva } from 'class-variance-authority';\nimport { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nimport { cn } from '../../../lib/utils/utils';\nChartJS.register.apply(ChartJS, __spreadArray(__spreadArray([], registerables, false), [ChartDataLabels], false));\nChartJS.defaults.set('plugins.datalabels', {\n display: false,\n});\nvar bubbleChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nexport var BubbleChart = function (_a) {\n var className = _a.className, title = _a.title, legend = _a.legend, datalabels = _a.datalabels, datasets = _a.datasets, scaling = _a.scaling, width = _a.width, height = _a.height, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"legend\", \"datalabels\", \"datasets\", \"scaling\", \"width\", \"height\", \"appearance\", \"isColorMixed\"]);\n var _d = useDarkMode(), defaultScales = _d[1];\n var getChartColor = function (isColorMixed, appearance) {\n if (appearance === 'solid') {\n return isColorMixed ? chartColorList.mixed : chartColorList.sorting;\n }\n if (appearance === 'soft') {\n return isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;\n }\n };\n datasets.forEach(function (dataset, index) {\n var ChartColor = getChartColor(isColorMixed, appearance);\n var BorderColor = getChartColor(isColorMixed, 'solid');\n if (!ChartColor || !BorderColor)\n return;\n dataset.backgroundColor = ChartColor[index];\n dataset.borderColor = BorderColor[index];\n });\n return (_jsx(Bubble, __assign({ data: { datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n datalabels: datalabels,\n },\n scales: __assign({}, defaultScales.linescale),\n }, className: cn(bubbleChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nBubbleChart.displayName = 'BubbleChart';\nexport default BubbleChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__spreadArray","to","from","pack","ar","l","Array","slice","concat","ChartJS","register","registerables","ChartDataLabels","defaults","set","display","bubbleChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","BubbleChart","_a","className","title","legend","datalabels","datasets","width","height","_b","appearance","_c","isColorMixed","props","defaultScales","useDarkMode","getChartColor","chartColorList","mixed","sorting","chartAlphaColorList","forEach","dataset","index","ChartColor","BorderColor","backgroundColor","borderColor","_jsx","Bubble","data","options","plugins","scales","linescale","cn","displayName"],"mappings":"4cAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EACIiB,EAAgD,SAAUC,EAAIC,EAAMC,GACpE,GAAIA,GAA6B,IAArBhB,UAAUC,OAAc,IAAK,IAA4BgB,EAAxBnB,EAAI,EAAGoB,EAAIH,EAAKd,OAAYH,EAAIoB,EAAGpB,KACxEmB,GAAQnB,KAAKiB,IACRE,IAAIA,EAAKE,MAAMhB,UAAUiB,MAAMf,KAAKU,EAA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A,EACRC,WAAYA,GAEhB4B,OAAQ3E,EAAS,GAAIwD,EAAcoB,YACpChC,UAAWiC,EAAGzC,EAAoB,CAAEG,QAASA,IAAYK,GAAYK,MAAOA,EAAOC,OAAQA,GAAUK,GAChH,EACAb,EAAYoC,YAAc"}
@@ -1,2 +0,0 @@
1
- import{jsx as e}from"react/jsx-runtime";import{forwardRef as t}from"react";import{cva as r}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{radiusVariants as o,scalingVariants as a,weightVariants as s,primaryColorStyle as n,appearanceStyle as l}from"../../constants.mjs";import{useTheme as m}from"../../theme/ThemeProvider.mjs";var c=function(){return c=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]])}return r},u=r("inline-flex items-center w-fit transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8 justify-center",{variants:{radius:c({},o.base),size:{"x-small":"text-xs min-w-[36px] h-[20px] px-1.5",small:"text-xs min-w-[40px] h-[24px] px-2",medium:"text-sm min-w-[50px] h-[32px] px-3",large:"text-base min-w-[62px] h-[40px] px-4","x-large":"text-lg min-w-[82px] h-[48px] px-6"},scaling:c({},a),weight:c({},s),color:n()},defaultVariants:{radius:"medium",scaling:"100%",weight:"medium",color:"red",size:"medium"}}),d=t((function(t,r){var o=t.className,a=t.children,s=t.radius,n=t.scaling,d=t.size,x=t.weight,h=t.color,f=void 0===h?"red":h,g=t.appearance,b=void 0===g?"solid":g,w=p(t,["className","children","radius","scaling","size","weight","color","appearance"]),y=m().theme,v={radius:y.themeRadius||s,scaling:y.themeScaling||n,weight:y.themeWeight||x,color:y.themeColor||f,size:d},O=i(u(v),l(b,v.color,!0),o);return e("button",c({ref:r,className:O},w,{children:a}))}));d.displayName="Button";export{d as Button,d as default};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Button/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { radiusVariants, weightVariants, primaryColorStyle, appearanceStyle, scalingVariants, } from '../../../lib/constants';\nimport { useTheme } from '../../../lib/theme';\nvar buttonVariants = cva(\"inline-flex items-center w-fit transition-colors focus:outline-none hover:cursor-pointer\\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8 justify-center\", {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n 'x-small': 'text-xs min-w-[36px] h-[20px] px-1.5',\n small: 'text-xs min-w-[40px] h-[24px] px-2',\n medium: 'text-sm min-w-[50px] h-[32px] px-3',\n large: 'text-base min-w-[62px] h-[40px] px-4',\n 'x-large': 'text-lg min-w-[82px] h-[48px] px-6',\n },\n scaling: __assign({}, scalingVariants),\n weight: __assign({}, weightVariants),\n color: primaryColorStyle(),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n weight: 'medium',\n color: 'red',\n size: 'medium',\n },\n});\nexport var Button = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, size = _a.size, weight = _a.weight, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, [\"className\", \"children\", \"radius\", \"scaling\", \"size\", \"weight\", \"color\", \"appearance\"]);\n var theme = useTheme().theme;\n var buttonStyle = {\n radius: theme.themeRadius || radius,\n scaling: theme.themeScaling || scaling,\n weight: theme.themeWeight || weight,\n color: theme.themeColor || color,\n size: size,\n };\n var buttonClassName = cn(buttonVariants(buttonStyle), appearanceStyle(appearance, buttonStyle.color, true), className);\n return (_jsx(\"button\", __assign({ ref: ref, className: buttonClassName }, props, { children: children })));\n});\nButton.displayName = 'Button';\nexport default Button;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","buttonVariants","cva","variants","radius","radiusVariants","size","small","medium","large","scaling","scalingVariants","weight","weightVariants","color","primaryColorStyle","defaultVariants","Button","forwardRef","_a","ref","className","children","_b","_c","appearance","props","theme","useTheme","buttonStyle","themeRadius","themeScaling","themeWeight","themeColor","buttonClassName","cn","appearanceStyle","_jsx","displayName"],"mappings":"wWAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,G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AS,eAC/UQ,EAAQC,IAAWD,MACnBE,EAAc,CACdzB,OAAQuB,EAAMG,aAAe1B,EAC7BM,QAASiB,EAAMI,cAAgBrB,EAC/BE,OAAQe,EAAMK,aAAepB,EAC7BE,MAAOa,EAAMM,YAAcnB,EAC3BR,KAAMA,GAEN4B,EAAkBC,EAAGlC,EAAe4B,GAAcO,EAAgBX,EAAYI,EAAYf,OAAO,GAAOO,GAC5G,OAAQgB,EAAK,SAAUxD,EAAS,CAAEuC,IAAKA,EAAKC,UAAWa,GAAmBR,EAAO,CAAEJ,SAAUA,IACjG,IACAL,EAAOqB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CalloutIcon.mjs","sources":["../../../lib/components/Callout/CalloutIcon.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { Callout as CalloutTheme } from '@radix-ui/themes';\nimport { cva } from 'class-variance-authority';\nimport { ExclamationTriangleIcon, InfoCircledIcon, LockClosedIcon, CheckCircledIcon, } from '@radix-ui/react-icons';\nimport { scalingVariants } from '../../../lib/constants';\nimport { cn } from '../../../lib/utils/utils';\nimport { useCalloutContext } from './CalloutRoot';\nvar calloutIconVariants = cva('flex items-center text-slate-12 dark:text-slateDark-12', {\n variants: {\n scaling: __assign({}, scalingVariants),\n size: {\n small: 'h-5 mr-2',\n medium: 'h-5 mr-3',\n large: 'h-6 mr-4',\n },\n color: {\n danger: 'text-red-11 dark:text-redDark-11',\n warning: 'text-amber-11 dark:text-amberDark-11',\n success: 'text-green-11 dark:text-greenDark-11',\n information: 'text-sky-11 dark:text-skyDark-11',\n },\n },\n defaultVariants: {\n scaling: '100%',\n size: 'medium',\n color: 'information',\n },\n});\nexport var CalloutIcon = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, iconType = _a.iconType, props = __rest(_a, [\"children\", \"className\", \"iconType\"]);\n var _b = useCalloutContext(), scaling = _b.scaling, size = _b.size, color = _b.color;\n return (_jsxs(CalloutTheme.Icon, __assign({ ref: ref, className: cn(calloutIconVariants({ color: color, size: size, scaling: scaling }), className) }, props, { children: [iconType === 'danger' && _jsx(ExclamationTriangleIcon, {}), iconType === 'warning' && _jsx(LockClosedIcon, {}), iconType === 'success' && _jsx(CheckCircledIcon, {}), iconType === 'information' && _jsx(InfoCircledIcon, {}), children] })));\n});\nCalloutIcon.displayName = 'Callout.Icon';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","calloutIconVariants","cva","variants","scaling","scalingVariants","size","small","medium","large","color","danger","warning","success","information","defaultVariants","CalloutIcon","forwardRef","_a","ref","children","className","iconType","props","_b","useCalloutContext","_jsxs","CalloutTheme","Icon","cn","_jsx","ExclamationTriangleIcon","LockClosedIcon","CheckCircledIcon","InfoCircledIcon","displayName"],"mappings":"qcAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UA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H,SAAU,CAAc,WAAbE,GAAyBQ,EAAKC,EAAyB,IAAkB,YAAbT,GAA0BQ,EAAKE,EAAgB,CAAA,GAAkB,YAAbV,GAA0BQ,EAAKG,EAAkB,CAAE,GAAgB,gBAAbX,GAA8BQ,EAAKI,EAAiB,IAAKd,KAC9Y,IACAJ,EAAYmB,YAAc"}
@@ -1,3 +0,0 @@
1
- "use client";
2
- import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as a,useContext as i}from"react";import{Callout as o}from"@radix-ui/themes";import{cva as n}from"class-variance-authority";import{cn as t}from"../../utils/utils.mjs";import{radiusVariants as s,scalingVariants as m,appearanceStyle as l}from"../../constants.mjs";import{useTheme as c}from"../../theme/ThemeProvider.mjs";var p=function(){return p=Object.assign||function(r){for(var e,a=1,i=arguments.length;a<i;a++)for(var o in e=arguments[a])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},p.apply(this,arguments)},u=function(r,e){var a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(a[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(r);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(r,i[o])&&(a[i[o]]=r[i[o]])}return a},d=n("flex w-fit max-w-[600px]",{variants:{radius:p({},s.large),size:{small:"min-h-[44px] p-3",medium:"min-h-[52px] p-4",large:"min-h-[72px] p-6"},scaling:p({},m),color:{danger:"bg-redA-3 dark:bg-redDarkA-3",warning:"bg-amberA-3 dark:bg-amberDarkA-3",success:"bg-greenA-3 dark:bg-greenDarkA-3",information:"bg-skyA-3 dark:bg-skyDarkA-3"}},defaultVariants:{radius:"medium",scaling:"100%",color:"information",size:"medium"}}),f=e({size:"medium",scaling:"100%",color:null}),g=function(){return i(f)},b=a((function(e,a){var i=e.children,n=e.className,s=e.radius,m=e.scaling,g=e.size,b=e.color,h=void 0===b?"information":b,y=e.appearance,v=void 0===y?"soft":y,O=u(e,["children","className","radius","scaling","size","color","appearance"]),k=c().theme,x={size:g,color:h,scaling:k.themeScaling||m,radius:k.themeRadius||s},j=t(d(x),l(v,{danger:"red",information:"sky",success:"green",warning:"amber"}[h],!1),n);return r(f.Provider,{value:x,children:r(o.Root,p({ref:a},O,{className:j,children:i}))})}));b.displayName="Callout.Root";export{b as CalloutRoot,g as useCalloutContext};
3
- //# sourceMappingURL=CalloutRoot.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CalloutText.mjs","sources":["../../../lib/components/Callout/CalloutText.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { useCalloutContext } from './CalloutRoot';\nexport var calloutTextVariants = cva('break-words font-normal text-slate-12 dark:text-slateDark-12', {\n variants: {\n size: {\n small: 'text-sm',\n medium: 'text-sm',\n large: 'text-base',\n },\n color: {\n danger: 'text-red-11 dark:text-redDark-11',\n warning: 'text-amber-11 dark:text-amberDark-11',\n success: 'text-green-11 dark:text-greenDark-11',\n information: 'text-sky-11 dark:text-skyDark-11',\n },\n },\n defaultVariants: {\n size: 'medium',\n color: 'information',\n },\n});\nexport var CalloutText = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, contentText = _a.contentText, props = __rest(_a, [\"children\", \"className\", \"contentText\"]);\n var _b = useCalloutContext(), size = _b.size, color = _b.color;\n return (_jsx(\"p\", __assign({ ref: ref, className: cn(calloutTextVariants({ size: size, color: color }), className) }, props, { children: contentText !== null && contentText !== void 0 ? contentText : children })));\n});\nCalloutText.displayName = 'Callout.Text';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","calloutTextVariants","cva","variants","size","small","medium","large","color","danger","warning","success","information","defaultVariants","CalloutText","forwardRef","_a","ref","children","className","contentText","props","_b","useCalloutContext","_jsx","cn","displayName"],"mappings":"2NAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAMWiB,EAAsBC,EAAI,+DAAgE,CACjGC,SAAU,CACNC,KAAM,CACFC,MAAO,UACPC,OAAQ,UACRC,MAAO,aAEXC,MAAO,CACHC,OAAQ,mCACRC,QAAS,uCACTC,QAAS,uCACTC,YAAa,qCAGrBC,gBAAiB,CACbT,KAAM,SACNI,MAAO,iBAGJM,EAAcC,GAAW,SAAUC,EAAIC,GAC9C,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAcJ,EAAGI,YAAaC,EAAQzB,EAAOoB,EAAI,CAAC,WAAY,YAAa,gBAC7HM,EAAKC,IAAqBnB,EAAOkB,EAAGlB,KAAMI,EAAQc,EAAGd,MACzD,OAAQgB,EAAK,IAAK3C,EAAS,CAAEoC,IAAKA,EAAKE,UAAWM,EAAGxB,EAAoB,CAAEG,KAAMA,EAAMI,MAAOA,IAAUW,IAAcE,EAAO,CAAEH,SAAUE,QAAiDA,EAAcF,IAC5M,IACAJ,EAAYY,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Callout/index.js"],"sourcesContent":["import { CalloutRoot as Root } from './CalloutRoot';\nimport { CalloutText as Text } from './CalloutText';\nimport { CalloutIcon as Icon } from './CalloutIcon';\nvar Callout = {\n Root: Root,\n Text: Text,\n Icon: Icon\n};\nexport default Callout;\n"],"names":["Callout","Root","Text","Icon"],"mappings":"gJAGG,IAACA,EAAU,CACVC,KAAMA,EACNC,KAAMA,EACNC,KAAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Card/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants, weightVariants } from '../../../lib/constants';\nimport { cn } from '../../../lib/utils/utils';\nimport { useTheme } from '../../../lib/theme';\nvar cardVariants = cva(\"border border-slate-6 flex items-center text-slate-12\\n dark:border-slateDarkA-6 dark:text-slateDarkA-12\\n \", {\n variants: {\n radius: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded-md',\n full: 'rounded-md',\n },\n size: {\n small: 'text-sm min-h-[64px] w-[300px] p-3 space-x-3',\n medium: 'text-base min-h-[80px] w-[350px] p-4 space-x-4',\n large: 'text-lg min-h-[112px] w-[400px] p-8 space-x-8',\n },\n scaling: __assign({}, scalingVariants),\n weight: __assign({}, weightVariants),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n weight: 'medium',\n },\n});\nvar Card = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, weight = _a.weight, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, props = __rest(_a, [\"children\", \"className\", \"radius\", \"scaling\", \"size\", \"color\", \"weight\", \"appearance\"]);\n var theme = useTheme().theme;\n var appearanceClassName = '';\n if (appearance === 'classic') {\n appearanceClassName = 'shadow-card-classic dark:shadow-card-dark-classic';\n }\n if (appearance === 'ghost') {\n appearanceClassName = 'border-transparent';\n }\n var cardStyle = {\n radius: theme.themeRadius || radius,\n scaling: theme.themeScaling || scaling,\n size: size,\n };\n return (_jsx(\"div\", __assign({ className: cn(cardVariants(cardStyle), appearanceClassName, className), ref: ref }, props, { children: children })));\n});\nCard.displayName = 'Card';\nexport default Card;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","cardVariants","cva","variants","radius","none","small","medium","large","full","size","scaling","scalingVariants","weight","weightVariants","defaultVariants","Card","forwardRef","_a","ref","children","className","color","_b","appearance","props","theme","useTheme","appearanceClassName","cardStyle","themeRadius","themeScaling","_jsx","cn","displayName"],"mappings":"wSAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOIiB,EAAeC,EAAI,gHAAiH,CACpIC,SAAU,CACNC,OAAQ,CACJC,KAAM,eACNC,MAAO,gBACPC,OAAQ,UACRC,MAAO,aACPC,KAAM,cAEVC,KAAM,CACFJ,MAAO,+CACPC,OAAQ,iDACRC,MAAO,iDAEXG,QAAS9B,EAAS,CAAE,EAAE+B,GACtBC,OAAQhC,EAAS,CAAE,EAAEiC,IAEzBC,gBAAiB,CACbX,OAAQ,SACRO,QAAS,OACTD,KAAM,SACNG,OAAQ,YAGZG,EAAOC,GAAW,SAAUC,EAAIC,GAC7B,IAACC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWjB,EAASc,EAAGd,OAAQO,EAAUO,EAAGP,QAASD,EAAOQ,EAAGR,KAAcQ,EAAGI,MAAgBJ,EAAGL,OAAO,IAACU,EAAKL,EAAGM,WAAYA,OAAoB,IAAPD,EAAgB,UAAYA,EAAIE,EAAQ7B,EAAOsB,EAAI,CAAC,WAAY,YAAa,SAAU,UAAW,OAAQ,QAAS,SAAU,eAChTQ,EAAQC,IAAWD,MACnBE,EAAsB,GACP,YAAfJ,IACAI,EAAsB,qDAEP,UAAfJ,IACAI,EAAsB,sBAE1B,IAAIC,EAAY,CACZzB,OAAQsB,EAAMI,aAAe1B,EAC7BO,QAASe,EAAMK,cAAgBpB,EAC/BD,KAAMA,GAEV,OAAQsB,EAAK,MAAOnD,EAAS,CAAEwC,UAAWY,EAAGhC,EAAa4B,GAAYD,EAAqBP,GAAYF,IAAKA,GAAOM,EAAO,CAAEL,SAAUA,IAC1I,IACAJ,EAAKkB,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Checkbox/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox';\nimport { CheckIcon, MinusIcon } from '@radix-ui/react-icons';\nimport { Label } from '../../../lib/components/Label';\nimport { cn } from '../../../lib/utils/utils';\nimport { checkboxAppearanceStyle, radiusVariants, scalingVariants, textColorStyle, } from '../../../lib/constants';\nimport { useTheme } from '../../../lib/theme';\nexport var CheckboxVariants = cva(\"peer ring-offset-background\", {\n variants: {\n size: {\n small: 'h-3.5 w-3.5 mr-2',\n medium: 'h-4 w-4 mr-2',\n large: 'h-5 w-5 mr-3',\n },\n scaling: {\n '90%': 'scale-90 mr-1.5',\n '95%': 'scale-95 mr-2',\n '100%': 'scale-100 mr-2',\n '105%': 'scale-105 mr-2.5',\n '110%': 'scale-110 mr-3',\n },\n radius: __assign({}, radiusVariants['small']),\n },\n defaultVariants: {\n radius: 'medium',\n size: 'medium',\n scaling: '100%',\n },\n});\nvar CheckboxIndicatorVariants = cva('stroke-current', {\n variants: {\n size: {\n small: 'w-3.5',\n medium: 'w-4',\n large: 'w-5',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n size: 'medium',\n scaling: '100%',\n },\n});\nvar CheckboxLabelVariants = cva('', {\n variants: {\n size: {\n small: 'text-xs',\n medium: 'text-sm',\n large: 'text-base',\n },\n scaling: __assign({}, scalingVariants),\n color: textColorStyle(),\n },\n defaultVariants: {\n size: 'medium',\n scaling: '100%',\n color: 'black',\n },\n});\nexport var Checkbox = forwardRef(function (_a, ref) {\n var id = _a.id, className = _a.className, children = _a.children, scaling = _a.scaling, radius = _a.radius, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, _d = _a.indeterminate, indeterminate = _d === void 0 ? false : _d, props = __rest(_a, [\"id\", \"className\", \"children\", \"scaling\", \"radius\", \"size\", \"color\", \"appearance\", \"indeterminate\"]);\n var theme = useTheme().theme;\n var checkboxStyle = {\n radius: theme.themeRadius || radius,\n scaling: theme.themeScaling || scaling,\n color: theme.themeColor || color,\n size: size,\n };\n var checkboxClassName = cn(CheckboxVariants(checkboxStyle), checkboxAppearanceStyle(appearance, checkboxStyle.color, indeterminate), className);\n return (_jsxs(\"div\", { className: \"flex items-center\", children: [_jsx(CheckboxPrimitive.Root, __assign({ id: id, ref: ref, className: checkboxClassName }, props, { children: _jsx(CheckboxPrimitive.Indicator, { className: cn('flex items-center justify-center stroke-[0.5px] text-current'), children: indeterminate ? (_jsx(MinusIcon, { className: cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }), 'w-3') })) : (_jsx(CheckIcon, { className: cn(CheckboxIndicatorVariants({ scaling: scaling, size: size })) })) }) })), children && (_jsx(Label, { className: cn(CheckboxLabelVariants({ scaling: scaling, size: size }), className), htmlFor: id, children: children }))] }));\n});\nCheckbox.displayName = 'Checkbox';\nexport default Checkbox;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","CheckboxVariants","cva","variants","size","small","medium","large","scaling","radius","radiusVariants","defaultVariants","CheckboxIndicatorVariants","scalingVariants","CheckboxLabelVariants","color","textColorStyle","Checkbox","forwardRef","_a","ref","id","className","children","_b","_c","appearance","_d","indeterminate","props","theme","useTheme","checkboxStyle","themeRadius","themeScaling","themeColor","checkboxClassName","cn","checkboxAppearanceStyle","_jsxs","_jsx","CheckboxP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