@lotte-innovate/ui-component-test 0.1.68 → 0.1.69-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (656) 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.d.ts +1 -1
  114. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +6 -4
  115. package/dist/lib/components/SegmentedControl/index.d.ts +1 -1
  116. package/dist/lib/components/SegmentedControl/index.js +1 -1
  117. package/dist/lib/components/Select/index.js +8 -5
  118. package/dist/lib/components/Separator/index.js +5 -3
  119. package/dist/lib/components/Skeleton/index.js +3 -2
  120. package/dist/lib/components/Slider/index.js +8 -9
  121. package/dist/lib/components/Spinner/index.js +2 -1
  122. package/dist/lib/components/TabNav/index.js +5 -4
  123. package/dist/lib/components/Table/index.js +4 -4
  124. package/dist/lib/components/Tabs/index.d.ts +2 -1
  125. package/dist/lib/components/Tabs/index.js +5 -2
  126. package/dist/lib/components/TextArea/index.js +8 -7
  127. package/dist/lib/components/TextField/index.js +8 -7
  128. package/dist/lib/components/Toast/ToastActionButton.js +1 -0
  129. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  130. package/dist/lib/components/Toast/ToastRoot.js +2 -2
  131. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  132. package/dist/lib/components/Toggle/ToggleWithText.js +7 -4
  133. package/dist/lib/components/Toggle/index.d.ts +1 -1
  134. package/dist/lib/components/Toggle/index.js +8 -5
  135. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  136. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +5 -3
  137. package/dist/lib/components/ToggleSwitch/index.js +8 -9
  138. package/dist/lib/components/Tooltip/index.js +4 -4
  139. package/dist/lib/components/index.d.ts +2 -0
  140. package/dist/lib/components/index.js +2 -0
  141. package/dist/lib/constants.d.ts +5 -4
  142. package/dist/lib/constants.js +13 -1
  143. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  144. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  145. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  146. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  147. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  148. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  149. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  150. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  151. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  152. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  153. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  154. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs +1 -0
  155. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  156. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs +2 -1
  157. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  158. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs +1 -0
  159. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  160. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  161. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs +1 -0
  162. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  163. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  164. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  165. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  166. package/dist/lib/{components → dist/lib/components}/AspectRatio/index.mjs +2 -1
  167. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  168. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  169. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  170. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  171. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  172. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  173. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  174. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  175. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  176. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  177. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  178. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  179. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  180. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  181. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  182. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  183. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  184. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  185. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  186. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  187. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  188. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  189. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  190. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  191. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  192. package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs +1 -0
  193. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  194. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  195. package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs +1 -0
  196. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  197. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  198. package/dist/lib/{components → dist/lib/components}/Card/index.mjs +2 -1
  199. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  200. package/dist/lib/{components → dist/lib/components}/Checkbox/index.mjs +2 -1
  201. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  202. package/dist/lib/{components → dist/lib/components}/CheckboxCard/index.mjs +2 -1
  203. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  204. package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
  205. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  206. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  207. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  208. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
  209. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  210. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs +1 -0
  211. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  212. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  213. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  214. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  215. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
  216. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  217. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs +1 -0
  218. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  219. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs +2 -1
  220. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  221. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  222. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  223. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs +1 -0
  224. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  225. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  226. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  227. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  228. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  229. package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs +1 -0
  230. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  231. package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs +1 -0
  232. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  233. package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs +1 -1
  234. package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs +1 -0
  235. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  236. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  237. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  238. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  239. package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs +1 -0
  240. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  241. package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs +1 -0
  242. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  243. package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs +2 -1
  244. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  245. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  246. package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs +1 -0
  247. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  248. package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs +1 -0
  249. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  250. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  251. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  252. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  253. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  254. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
  255. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  256. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
  257. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  258. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs +1 -0
  259. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  260. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  261. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  262. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
  263. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  264. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs +1 -0
  265. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  266. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
  267. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  268. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  269. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  270. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  271. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  272. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  273. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
  274. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  275. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  276. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  277. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  278. package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs +1 -0
  279. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  280. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  281. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  282. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  283. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  284. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  285. package/dist/lib/{components → dist/lib/components}/Inset/index.mjs +2 -1
  286. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  287. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  288. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  289. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  290. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  291. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  292. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs +1 -0
  293. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  294. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  295. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  296. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs +1 -0
  297. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  298. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  299. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  300. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  301. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  302. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  303. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  304. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs +1 -0
  305. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  306. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  307. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  308. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs +2 -1
  309. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  310. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  311. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  312. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  313. package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
  314. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  315. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  316. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  317. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  318. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  319. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  320. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  321. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  322. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  323. package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs +2 -1
  324. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  325. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  326. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  327. package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs +1 -0
  328. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  329. package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs +1 -0
  330. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  331. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  332. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  333. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  334. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  335. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  336. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  337. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  338. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  339. package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs +1 -0
  340. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  341. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  342. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  343. package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs +1 -0
  344. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  345. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  346. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  347. package/dist/lib/{components → dist/lib/components}/ScrollArea/index.mjs +2 -1
  348. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  349. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  350. package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlRoot.mjs +2 -1
  351. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  352. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  353. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  354. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  355. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  356. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  357. package/dist/lib/{components → dist/lib/components}/Skeleton/index.mjs +2 -1
  358. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  359. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  360. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  361. package/dist/lib/{components → dist/lib/components}/Spinner/index.mjs +2 -1
  362. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  363. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  364. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  365. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  366. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  367. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  368. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  369. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  370. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  371. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  372. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  373. package/dist/lib/{components → dist/lib/components}/Toast/ToastActionButton.mjs +1 -0
  374. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  375. package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs +1 -0
  376. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  377. package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs +1 -1
  378. package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs +1 -0
  379. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  380. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  381. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  382. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  383. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  384. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  385. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  386. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  387. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  388. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  389. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  390. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  391. package/dist/lib/{components → dist/lib/components}/Tooltip/index.mjs +2 -1
  392. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  393. package/dist/lib/dist/lib/constants.mjs +2 -0
  394. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  395. package/dist/lib/dist/lib/index.mjs +2 -0
  396. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  397. package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs +8 -0
  398. package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs.map +1 -0
  399. package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs +8 -0
  400. package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs.map +1 -0
  401. package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs +8 -0
  402. package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs.map +1 -0
  403. package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs +8 -0
  404. package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs.map +1 -0
  405. package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs +8 -0
  406. package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs.map +1 -0
  407. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  408. package/dist/lib/types.d.ts +3 -0
  409. package/dist/tsconfig.tsbuildinfo +1 -1
  410. package/package.json +4 -2
  411. package/dist/lib/Typography/Header/index.mjs +0 -2
  412. package/dist/lib/Typography/Header/index.mjs.map +0 -1
  413. package/dist/lib/Typography/Text/index.mjs +0 -2
  414. package/dist/lib/Typography/Text/index.mjs.map +0 -1
  415. package/dist/lib/color/alpha.mjs.map +0 -1
  416. package/dist/lib/color/constants.mjs +0 -2
  417. package/dist/lib/color/constants.mjs.map +0 -1
  418. package/dist/lib/color/light.mjs.map +0 -1
  419. package/dist/lib/components/Accordion/index.mjs +0 -2
  420. package/dist/lib/components/Accordion/index.mjs.map +0 -1
  421. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +0 -2
  422. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +0 -1
  423. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +0 -1
  424. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +0 -1
  425. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +0 -1
  426. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +0 -3
  427. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +0 -1
  428. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +0 -2
  429. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +0 -1
  430. package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
  431. package/dist/lib/components/AspectRatio/index.mjs.map +0 -1
  432. package/dist/lib/components/Avatar/index.mjs +0 -3
  433. package/dist/lib/components/Badge/index.mjs +0 -2
  434. package/dist/lib/components/Badge/index.mjs.map +0 -1
  435. package/dist/lib/components/BarChart/index.mjs.map +0 -1
  436. package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
  437. package/dist/lib/components/Button/index.mjs +0 -2
  438. package/dist/lib/components/Button/index.mjs.map +0 -1
  439. package/dist/lib/components/Callout/CalloutIcon.mjs.map +0 -1
  440. package/dist/lib/components/Callout/CalloutRoot.mjs +0 -3
  441. package/dist/lib/components/Callout/CalloutText.mjs.map +0 -1
  442. package/dist/lib/components/Callout/index.mjs.map +0 -1
  443. package/dist/lib/components/Card/index.mjs.map +0 -1
  444. package/dist/lib/components/Checkbox/index.mjs.map +0 -1
  445. package/dist/lib/components/CheckboxCard/index.mjs.map +0 -1
  446. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -1
  447. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +0 -3
  448. package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
  449. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -1
  450. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +0 -1
  451. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
  452. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +0 -2
  453. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +0 -1
  454. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -1
  455. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +0 -1
  456. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +0 -1
  457. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +0 -3
  458. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
  459. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +0 -1
  460. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +0 -2
  461. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -1
  462. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
  463. package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
  464. package/dist/lib/components/DataList/DataListItem.mjs.map +0 -1
  465. package/dist/lib/components/DataList/DataListLabel.mjs.map +0 -1
  466. package/dist/lib/components/DataList/DataListValue.mjs.map +0 -1
  467. package/dist/lib/components/DataList/index.mjs.map +0 -1
  468. package/dist/lib/components/Dialog/DialogAction.mjs +0 -2
  469. package/dist/lib/components/Dialog/DialogAction.mjs.map +0 -1
  470. package/dist/lib/components/Dialog/DialogCancel.mjs.map +0 -1
  471. package/dist/lib/components/Dialog/DialogContent.mjs.map +0 -1
  472. package/dist/lib/components/Dialog/DialogDescription.mjs.map +0 -1
  473. package/dist/lib/components/Dialog/DialogRoot.mjs +0 -3
  474. package/dist/lib/components/Dialog/DialogSlot.mjs.map +0 -1
  475. package/dist/lib/components/Dialog/DialogTitle.mjs.map +0 -1
  476. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
  477. package/dist/lib/components/Dialog/index.mjs.map +0 -1
  478. package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
  479. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
  480. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -1
  481. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -1
  482. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +0 -1
  483. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +0 -2
  484. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +0 -1
  485. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -1
  486. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +0 -1
  487. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -1
  488. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +0 -3
  489. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
  490. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
  491. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -2
  492. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -1
  493. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -1
  494. package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
  495. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +0 -1
  496. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +0 -3
  497. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
  498. package/dist/lib/components/HoverCard/index.mjs.map +0 -1
  499. package/dist/lib/components/IconButton/index.mjs +0 -2
  500. package/dist/lib/components/IconButton/index.mjs.map +0 -1
  501. package/dist/lib/components/Inset/index.mjs.map +0 -1
  502. package/dist/lib/components/Label/index.mjs +0 -2
  503. package/dist/lib/components/Label/index.mjs.map +0 -1
  504. package/dist/lib/components/LineChart/index.mjs.map +0 -1
  505. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +0 -2
  506. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +0 -1
  507. package/dist/lib/components/Menubar/MenubarContent.mjs.map +0 -1
  508. package/dist/lib/components/Menubar/MenubarItem.mjs +0 -2
  509. package/dist/lib/components/Menubar/MenubarItem.mjs.map +0 -1
  510. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +0 -1
  511. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
  512. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +0 -2
  513. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +0 -1
  514. package/dist/lib/components/Menubar/MenubarRoot.mjs +0 -3
  515. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
  516. package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
  517. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +0 -1
  518. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +0 -2
  519. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +0 -1
  520. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +0 -1
  521. package/dist/lib/components/Menubar/index.mjs.map +0 -1
  522. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +0 -2
  523. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +0 -1
  524. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
  525. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
  526. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +0 -2
  527. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +0 -1
  528. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +0 -2
  529. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +0 -1
  530. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +0 -3
  531. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +0 -2
  532. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -1
  533. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +0 -1
  534. package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
  535. package/dist/lib/components/PieChart/index.mjs.map +0 -1
  536. package/dist/lib/components/Popover/PopoverClose.mjs.map +0 -1
  537. package/dist/lib/components/Popover/PopoverContent.mjs.map +0 -1
  538. package/dist/lib/components/Popover/PopoverRoot.mjs +0 -3
  539. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
  540. package/dist/lib/components/Popover/index.mjs.map +0 -1
  541. package/dist/lib/components/Progress/index.mjs +0 -2
  542. package/dist/lib/components/Progress/index.mjs.map +0 -1
  543. package/dist/lib/components/RadarChart/index.mjs.map +0 -1
  544. package/dist/lib/components/Radio/index.mjs +0 -2
  545. package/dist/lib/components/Radio/index.mjs.map +0 -1
  546. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +0 -1
  547. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +0 -3
  548. package/dist/lib/components/RadioCards/index.mjs.map +0 -1
  549. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +0 -1
  550. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +0 -3
  551. package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
  552. package/dist/lib/components/ScrollArea/index.mjs.map +0 -1
  553. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
  554. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +0 -1
  555. package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
  556. package/dist/lib/components/Select/index.mjs +0 -2
  557. package/dist/lib/components/Select/index.mjs.map +0 -1
  558. package/dist/lib/components/Separator/index.mjs +0 -2
  559. package/dist/lib/components/Separator/index.mjs.map +0 -1
  560. package/dist/lib/components/Skeleton/index.mjs.map +0 -1
  561. package/dist/lib/components/Slider/index.mjs +0 -2
  562. package/dist/lib/components/Slider/index.mjs.map +0 -1
  563. package/dist/lib/components/Spinner/index.mjs.map +0 -1
  564. package/dist/lib/components/TabNav/index.mjs +0 -2
  565. package/dist/lib/components/TabNav/index.mjs.map +0 -1
  566. package/dist/lib/components/Table/index.mjs +0 -2
  567. package/dist/lib/components/Table/index.mjs.map +0 -1
  568. package/dist/lib/components/Tabs/index.mjs +0 -2
  569. package/dist/lib/components/Tabs/index.mjs.map +0 -1
  570. package/dist/lib/components/TextArea/index.mjs +0 -2
  571. package/dist/lib/components/TextArea/index.mjs.map +0 -1
  572. package/dist/lib/components/TextField/index.mjs +0 -2
  573. package/dist/lib/components/TextField/index.mjs.map +0 -1
  574. package/dist/lib/components/Toast/ToastActionButton.mjs.map +0 -1
  575. package/dist/lib/components/Toast/ToastDescription.mjs.map +0 -1
  576. package/dist/lib/components/Toast/ToastTitle.mjs.map +0 -1
  577. package/dist/lib/components/Toast/index.mjs.map +0 -1
  578. package/dist/lib/components/Toggle/ToggleWithText.mjs +0 -2
  579. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +0 -1
  580. package/dist/lib/components/Toggle/index.mjs +0 -2
  581. package/dist/lib/components/Toggle/index.mjs.map +0 -1
  582. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +0 -2
  583. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +0 -1
  584. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +0 -3
  585. package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
  586. package/dist/lib/components/ToggleSwitch/index.mjs +0 -2
  587. package/dist/lib/components/ToggleSwitch/index.mjs.map +0 -1
  588. package/dist/lib/components/Tooltip/index.mjs.map +0 -1
  589. package/dist/lib/constants.mjs +0 -2
  590. package/dist/lib/constants.mjs.map +0 -1
  591. package/dist/lib/index.mjs +0 -2
  592. package/dist/lib/utils/utils.mjs.map +0 -1
  593. /package/dist/lib/{components/Avatar → dist/lib/Typography/Header}/index.mjs.map +0 -0
  594. /package/dist/lib/{color → dist/lib/color}/alpha.mjs +0 -0
  595. /package/dist/lib/{color → dist/lib/color}/light.mjs +0 -0
  596. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogRoot.mjs.map +0 -0
  597. /package/dist/lib/{components → dist/lib/components}/AlertDialog/index.mjs +0 -0
  598. /package/dist/lib/{components → dist/lib/components}/BarChart/index.mjs +0 -0
  599. /package/dist/lib/{components → dist/lib/components}/BubbleChart/index.mjs +0 -0
  600. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutRoot.mjs.map +0 -0
  601. /package/dist/lib/{components → dist/lib/components}/Callout/index.mjs +0 -0
  602. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -0
  603. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/index.mjs +0 -0
  604. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuGroup.mjs +0 -0
  605. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs +0 -0
  606. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -0
  607. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRoot.mjs.map +0 -0
  608. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
  609. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
  610. /package/dist/lib/{components → dist/lib/components}/ContextMenu/index.mjs +0 -0
  611. /package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs.map +0 -0
  612. /package/dist/lib/{components → dist/lib/components}/DataList/index.mjs +0 -0
  613. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogRoot.mjs.map +0 -0
  614. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTrigger.mjs +0 -0
  615. /package/dist/lib/{components → dist/lib/components}/Dialog/index.mjs +0 -0
  616. /package/dist/lib/{components → dist/lib/components}/DoughnutChart/index.mjs +0 -0
  617. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
  618. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRoot.mjs.map +0 -0
  619. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
  620. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
  621. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/index.mjs +0 -0
  622. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardRoot.mjs.map +0 -0
  623. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardTrigger.mjs +0 -0
  624. /package/dist/lib/{components → dist/lib/components}/HoverCard/index.mjs +0 -0
  625. /package/dist/lib/{components → dist/lib/components}/LineChart/index.mjs +0 -0
  626. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarMenu.mjs +0 -0
  627. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs +0 -0
  628. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs.map +0 -0
  629. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRoot.mjs.map +0 -0
  630. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSeparator.mjs +0 -0
  631. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSub.mjs +0 -0
  632. /package/dist/lib/{components → dist/lib/components}/Menubar/index.mjs +0 -0
  633. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
  634. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuRoot.mjs.map +0 -0
  635. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/index.mjs +0 -0
  636. /package/dist/lib/{components → dist/lib/components}/PieChart/index.mjs +0 -0
  637. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverRoot.mjs.map +0 -0
  638. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverTrigger.mjs +0 -0
  639. /package/dist/lib/{components → dist/lib/components}/Popover/index.mjs +0 -0
  640. /package/dist/lib/{components → dist/lib/components}/RadarChart/index.mjs +0 -0
  641. /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsRoot.mjs.map +0 -0
  642. /package/dist/lib/{components → dist/lib/components}/RadioCards/index.mjs +0 -0
  643. /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupRoot.mjs.map +0 -0
  644. /package/dist/lib/{components → dist/lib/components}/RadioGroup/index.mjs +0 -0
  645. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
  646. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/index.mjs +0 -0
  647. /package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs.map +0 -0
  648. /package/dist/lib/{components → dist/lib/components}/Toast/index.mjs +0 -0
  649. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupRoot.mjs.map +0 -0
  650. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/index.mjs +0 -0
  651. /package/dist/lib/{index.mjs.map → dist/lib/index.mjs.map} +0 -0
  652. /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs +0 -0
  653. /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs.map +0 -0
  654. /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs +0 -0
  655. /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs.map +0 -0
  656. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -31,7 +32,7 @@ import { DropdownMenuContext } from './DropdownMenuRoot';
31
32
  import { cn } from '../../../lib/utils/utils';
32
33
  export var DropdownMenuRadioItem = forwardRef(function (_a, ref) {
33
34
  var className = _a.className, children = _a.children, selectedValue = _a.selectedValue, props = __rest(_a, ["className", "children", "selectedValue"]);
34
- var _b = useContext(DropdownMenuContext), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
35
+ var _b = useContext(DropdownMenuContext), radius = _b.radius, size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
35
36
  var itemClassName = cn(dropdownMenuItemVariants({
36
37
  radius: radius,
37
38
  size: size,
@@ -25,20 +25,21 @@ import { jsx as _jsx } from "react/jsx-runtime";
25
25
  import { createContext } from 'react';
26
26
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
27
27
  import { useTheme } from '../../../lib/theme';
28
+ import { MAIN_COLOR } from '../../../lib/color/constants';
28
29
  export var DropdownMenuContext = createContext({
29
30
  radius: 'medium',
30
31
  size: 'medium',
31
32
  scaling: '100%',
32
- color: 'red',
33
+ color: MAIN_COLOR,
33
34
  appearance: 'solid',
34
35
  });
35
36
  export var DropdownMenuRoot = function (_a) {
36
37
  var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["children", "radius", "size", "scaling", "color", "appearance"]);
37
38
  var theme = useTheme().theme;
38
39
  var contextValue = {
39
- radius: theme.themeRadius || radius,
40
- scaling: theme.themeScaling || scaling,
41
- color: theme.themeColor || color,
40
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
41
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
42
+ color: color !== null && color !== void 0 ? color : theme.themeColor,
42
43
  size: size,
43
44
  appearance: appearance,
44
45
  };
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -28,9 +29,10 @@ import { ChevronRightIcon } from '@radix-ui/react-icons';
28
29
  import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
29
30
  import { DropdownMenuContext } from './DropdownMenuRoot';
30
31
  import { cn } from '../../../lib/utils/utils';
32
+ import { MAIN_COLOR } from '../../../lib/color/constants';
31
33
  export var DropdownMenuSubTrigger = forwardRef(function (_a, ref) {
32
34
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
33
- var _b = useContext(DropdownMenuContext), size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
35
+ var _b = useContext(DropdownMenuContext), size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
34
36
  var iconClassName = cn('group-data-[disabled]:text-slate-8 ', appearance === 'solid' && blackText.includes(color)
35
37
  ? 'hover:fill-slate-12 dark:hover:fill-slateDark-1'
36
38
  : "hover:fill-white dark:hover:fill-slateDark-12 ");
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ export interface FooterProps extends VariantProps<typeof FooterVariants> {
4
+ }
5
+ export declare const FooterVariants: (props?: ({
6
+ scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
7
+ size?: "small" | "medium" | "large" | null | undefined;
8
+ color?: string | null | undefined;
9
+ } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
+ export declare const Footer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & FooterProps & React.RefAttributes<HTMLElement>>;
11
+ export default Footer;
@@ -0,0 +1,50 @@
1
+ 'use client';
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ import { jsx as _jsx } from "react/jsx-runtime";
25
+ import { forwardRef } from 'react';
26
+ import { cva } from 'class-variance-authority';
27
+ import { scalingVariants, textColorStyle } from '../../../lib/constants';
28
+ import { cn } from '../../../lib/utils/utils';
29
+ export var FooterVariants = cva("py-3 px-8 container flex flex-col items-center justify-between gap-4 ", {
30
+ variants: {
31
+ scaling: __assign({}, scalingVariants),
32
+ size: {
33
+ small: 'text-xs',
34
+ medium: 'text-sm',
35
+ large: 'text-base',
36
+ },
37
+ color: textColorStyle(),
38
+ },
39
+ defaultVariants: {
40
+ scaling: '100%',
41
+ size: 'medium',
42
+ color: 'black',
43
+ },
44
+ });
45
+ export var Footer = forwardRef(function (_a, ref) {
46
+ var className = _a.className, children = _a.children, scaling = _a.scaling, size = _a.size, color = _a.color, props = __rest(_a, ["className", "children", "scaling", "size", "color"]);
47
+ return (_jsx("footer", __assign({ ref: ref }, props, { children: _jsx("div", { className: cn(FooterVariants({ scaling: scaling, size: size, color: color }), className), children: _jsx("p", { className: "text-center leading-loose", children: children }) }) })));
48
+ });
49
+ Footer.displayName = 'Footer';
50
+ export default Footer;
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ declare function Grid({ table }: {
3
+ table: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ export { Grid };
@@ -0,0 +1,52 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ import { flexRender } from '@tanstack/react-table';
3
+ import './index.css';
4
+ import Table from '../Table';
5
+ import { ChevronLeftIcon, ChevronRightIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon, } from '@radix-ui/react-icons';
6
+ import IconButton from '../IconButton';
7
+ import Select from '../Select';
8
+ import TextField from '../TextField';
9
+ function Grid(_a) {
10
+ var table = _a.table;
11
+ return (_jsx("div", { className: "p-2", children: _jsx("div", { style: { direction: table.options.columnResizeDirection }, children: _jsxs("div", { className: "overflow-x-auto", children: [_jsxs(Table.Root, { style: {
12
+ width: table.getCenterTotalSize(),
13
+ }, children: [_jsx(Table.Header, { children: table
14
+ .getHeaderGroups()
15
+ .map(function (headerGroup) {
16
+ return (_jsx(Table.Row, { children: headerGroup.headers.map(function (header) {
17
+ var _a, _b;
18
+ return (_jsxs(Table.ColumnHeaderCell, { colSpan: header.colSpan,
19
+ style: {
20
+ width: header.getSize(),
21
+ }, children: [header.isPlaceholder ? null : (_jsxs("div", { className: header.column.getCanSort() ? 'cursor-pointer select-none' : '', onClick: header.column.getToggleSortingHandler(), title: header.column.getCanSort()
22
+ ? header.column.getNextSortingOrder() === 'asc'
23
+ ? 'Sort ascending'
24
+ : header.column.getNextSortingOrder() === 'desc'
25
+ ? 'Sort descending'
26
+ : 'Clear sort'
27
+ : undefined, children: [flexRender(header.column.columnDef.header, header.getContext()), (_a = {
28
+ asc: ' 🔼',
29
+ desc: ' 🔽',
30
+ }[header.column.getIsSorted()]) !== null && _a !== void 0 ? _a : null] })), _jsx("div", { onDoubleClick: function () { return header.column.resetSize(); },
31
+ onMouseDown: header.getResizeHandler(),
32
+ onTouchStart: header.getResizeHandler(),
33
+ className: "resizer ".concat(table.options.columnResizeDirection, " ").concat(header.column.getIsResizing() ? 'isResizing' : ''),
34
+ style: {
35
+ transform: header.column.getIsResizing()
36
+ ? "translateX(".concat((table.options.columnResizeDirection === 'rtl' ? -1 : 1) *
37
+ ((_b = table.getState().columnSizingInfo.deltaOffset) !== null && _b !== void 0 ? _b : 0), "px)")
38
+ : '',
39
+ } })] }, header.id));
40
+ }) }, headerGroup.id));
41
+ }) }), _jsx(Table.Body, { children: table
42
+ .getRowModel()
43
+ .rows.map(function (row) { return (_jsx(Table.Row, { children: row.getVisibleCells().map(function (cell) { return (_jsx(Table.Cell, { style: {
44
+ width: cell.column.getSize(),
45
+ }, className: "h-[30px]", children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id)); }) }, row.id)); }) })] }), _jsx("div", { className: "h-2" }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsx(IconButton, { className: "rounded border p-1", onClick: function () { return table.firstPage(); }, disabled: !table.getCanPreviousPage(), children: _jsx(DoubleArrowLeftIcon, {}) }), _jsx(IconButton, { className: "rounded border p-1", onClick: function () { return table.previousPage(); }, disabled: !table.getCanPreviousPage(), children: _jsx(ChevronLeftIcon, {}) }), _jsx(IconButton, { className: "rounded border p-1", onClick: function () { return table.nextPage(); }, disabled: !table.getCanNextPage(), children: _jsx(ChevronRightIcon, {}) }), _jsx(IconButton, { className: "rounded border p-1", onClick: function () { return table.lastPage(); }, disabled: !table.getCanNextPage(), children: _jsx(DoubleArrowRightIcon, {}) }), _jsxs("span", { className: "flex items-center gap-1", children: [_jsx("div", { children: "Page" }), _jsxs("strong", { children: [table.getState().pagination.pageIndex + 1, " of", ' ', table.getPageCount().toLocaleString()] })] }), _jsxs("span", { className: "flex items-center gap-1", children: ["| Go to page:", _jsx(TextField.Root, { type: "number", min: "1", max: table.getPageCount(), defaultValue: table.getState().pagination.pageIndex + 1, onChange: function (e) {
46
+ var page = e.target.value ? Number(e.target.value) - 1 : 0;
47
+ table.setPageIndex(page);
48
+ }, className: "w-16 rounded border p-1" })] }), _jsxs(Select.Root, { value: String(table.getState().pagination.pageSize), defaultValue: String(table.getState().pagination.pageSize), onValueChange: function (e) {
49
+ table.setPageSize(Number(e));
50
+ }, children: [_jsx(Select.Trigger, {}), _jsx(Select.Content, { children: [10, 20, 30, 40, 50].map(function (pageSize) { return (_jsx(Select.Item, { value: String(pageSize), children: pageSize }, pageSize)); }) })] })] })] }) }) }));
51
+ }
52
+ export { Grid };
@@ -0,0 +1,3 @@
1
+ export declare const useGrid: ({ ...props }: {
2
+ [x: string]: any;
3
+ }) => import("@tanstack/react-table").Table<any>;
@@ -0,0 +1,67 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ import { createColumnHelper, getCoreRowModel, getExpandedRowModel, getPaginationRowModel, getSortedRowModel, useReactTable, } from '@tanstack/react-table';
25
+ import React, { useRef } from 'react';
26
+ import IconButton from '../IconButton';
27
+ import { ChevronDownIcon, ChevronRightIcon } from '@radix-ui/react-icons';
28
+ import Checkbox from '../Checkbox';
29
+ function IndeterminateCheckbox(_a) {
30
+ var indeterminate = _a.indeterminate, checked = _a.checked, disabled = _a.disabled, onChange = _a.onChange;
31
+ var ref = useRef();
32
+ return (_jsx(Checkbox, { ref: ref, id: "checkbox", checked: checked, disabled: disabled, onCheckedChange: onChange, indeterminate: indeterminate }));
33
+ }
34
+ export var useGrid = function (_a) {
35
+ var _b;
36
+ var props = __rest(_a, []);
37
+ var _c = React.useState([]), sorting = _c[0], setSorting = _c[1];
38
+ var _d = React.useState({}), expanded = _d[0], setExpanded = _d[1];
39
+ var _e = React.useState({}), rowSelection = _e[0], setRowSelection = _e[1];
40
+ var columnHelper = createColumnHelper();
41
+ var columnsData = (_b = props === null || props === void 0 ? void 0 : props.columns) === null || _b === void 0 ? void 0 : _b.map(function (el) {
42
+ return columnHelper.accessor(el.id, __assign({}, el));
43
+ });
44
+ columnsData[0] = __assign(__assign({}, columnsData[0]), { cell: function (_a) {
45
+ var row = _a.row, getValue = _a.getValue;
46
+ return (_jsx("div", { className: "px-1", children: _jsxs("div", { className: "flex", children: [row.getCanExpand() ? (_jsx(IconButton, { onClick: row.getToggleExpandedHandler(), appearance: "ghost", children: row.getIsExpanded() ? _jsx(ChevronDownIcon, {}) : _jsx(ChevronRightIcon, {}) })) : (''), getValue()] }) }));
47
+ } });
48
+ if (props.enableRowSelection) {
49
+ columnsData === null || columnsData === void 0 ? void 0 : columnsData.unshift({
50
+ id: 'select',
51
+ header: function (_a) {
52
+ var table = _a.table;
53
+ return (_jsx("div", { className: "header-checkbox", children: _jsx(IndeterminateCheckbox, { checked: table.getIsAllRowsSelected() || table.getIsSomeRowsSelected(),
54
+ indeterminate: table.getIsSomeRowsSelected(),
55
+ onChange: table.toggleAllRowsSelected }) }));
56
+ },
57
+ cell: function (_a) {
58
+ var row = _a.row;
59
+ return (_jsx("div", { className: "px-1", children: _jsx(IndeterminateCheckbox, { checked: row.getIsSelected(),
60
+ disabled: !row.getCanSelect(),
61
+ indeterminate: row.getIsSomeSelected(),
62
+ onChange: row.getToggleSelectedHandler() }) }));
63
+ },
64
+ });
65
+ }
66
+ return useReactTable(__assign(__assign({ state: { sorting: sorting, rowSelection: rowSelection, expanded: expanded } }, props), { data: props.data, columns: columnsData, getSubRows: function (row) { return row.subRows; }, enableRowSelection: props.enableRowSelection, onExpandedChange: setExpanded, onSortingChange: setSorting, onRowSelectionChange: setRowSelection, getSortedRowModel: getSortedRowModel(), getCoreRowModel: getCoreRowModel(), getPaginationRowModel: getPaginationRowModel(), getExpandedRowModel: getExpandedRowModel() }));
67
+ };
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -25,21 +25,22 @@ import { jsx as _jsx } from "react/jsx-runtime";
25
25
  import { createContext } from 'react';
26
26
  import { HoverCard as HoverCardTheme, Theme } from '@radix-ui/themes';
27
27
  import { useTheme } from '../../../lib/theme';
28
+ import { MAIN_COLOR } from '../../../lib/color/constants';
28
29
  export var HoverCardContext = createContext({
29
30
  radius: 'medium',
30
31
  size: 'medium',
31
32
  scaling: '100%',
32
33
  weight: 'medium',
33
- color: 'red',
34
+ color: MAIN_COLOR,
34
35
  });
35
36
  export var HoverCardRoot = function (_a) {
36
37
  var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, weight = _a.weight, color = _a.color, props = __rest(_a, ["children", "radius", "size", "scaling", "weight", "color"]);
37
38
  var theme = useTheme().theme;
38
39
  var contextValue = {
39
- radius: theme.themeRadius || radius,
40
- scaling: theme.themeScaling || scaling,
41
- color: theme.themeColor || color,
42
- weight: theme.themeWeight || weight,
40
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
41
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
42
+ color: color !== null && color !== void 0 ? color : theme.themeColor,
43
+ weight: weight !== null && weight !== void 0 ? weight : theme.themeWeight,
43
44
  size: size,
44
45
  };
45
46
  return (_jsx(Theme, { children: _jsx(HoverCardContext.Provider, { value: contextValue, children: _jsx(HoverCardTheme.Root, __assign({}, props, { children: children })) }) }));
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -26,6 +27,7 @@ import { cva } from 'class-variance-authority';
26
27
  import { scalingVariants, radiusVariants, primaryColorStyle, appearanceStyle } from '../../../lib/constants';
27
28
  import { cn } from '../../../lib/utils/utils';
28
29
  import { useTheme } from '../../../lib/theme';
30
+ import { MAIN_COLOR } from '../../../lib/color/constants';
29
31
  var iconButtonVariants = cva("grid place-content-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8", {
30
32
  variants: {
31
33
  radius: __assign({}, radiusVariants['base']),
@@ -43,7 +45,7 @@ var iconButtonVariants = cva("grid place-content-center transition-colors focus:
43
45
  radius: 'medium',
44
46
  scaling: '100%',
45
47
  size: 'medium',
46
- color: 'red',
48
+ color: MAIN_COLOR,
47
49
  },
48
50
  });
49
51
  var iconSize = {
@@ -54,14 +56,14 @@ var iconSize = {
54
56
  'x-large': 20,
55
57
  };
56
58
  export var IconButton = forwardRef(function (_a, ref) {
57
- var children = _a.children, className = _a.className, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'medium' : _b, scaling = _a.scaling, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "size", "scaling", "color", "appearance"]);
59
+ var children = _a.children, className = _a.className, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'medium' : _b, scaling = _a.scaling, color = _a.color, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["children", "className", "radius", "size", "scaling", "color", "appearance"]);
58
60
  var theme = useTheme().theme;
59
61
  var width = iconSize[size];
60
62
  var height = iconSize[size];
61
63
  var iconButtonStyle = {
62
- radius: theme.themeRadius || radius,
63
- scaling: theme.themeScaling || scaling,
64
- color: theme.themeColor || color,
64
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
65
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
66
+ color: color !== null && color !== void 0 ? color : theme.themeColor,
65
67
  size: size,
66
68
  };
67
69
  var buttonClassName = cn(iconButtonVariants(iconButtonStyle), appearanceStyle(appearance, iconButtonStyle.color, true), className);
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -47,8 +48,8 @@ export var Inset = forwardRef(function (_a, ref) {
47
48
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, props = __rest(_a, ["children", "className", "radius", "scaling"]);
48
49
  var theme = useTheme().theme;
49
50
  var insetStyle = {
50
- radius: theme.themeRadius || radius,
51
- scaling: theme.themeScaling || scaling,
51
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
52
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
52
53
  };
53
54
  return (_jsx(Theme, { children: _jsx(InsetTheme, __assign({ ref: ref, className: cn(insetVariants(insetStyle), className) }, props, { children: children })) }));
54
55
  });
@@ -1,13 +1,14 @@
1
1
  import * as LabelPrimitive from '@radix-ui/react-label';
2
2
  import React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IColor } from '../../../lib/types';
5
- export interface LabelProps extends VariantProps<typeof labeVariants> {
4
+ import { IColor, IScaling } from '../../../lib/types';
5
+ export interface LabelProps extends VariantProps<typeof labelVariants> {
6
6
  defaultValue?: string;
7
7
  color?: IColor;
8
+ scaling?: IScaling;
8
9
  size?: 'small' | 'medium' | 'large';
9
10
  }
10
- declare const labeVariants: (props?: ({
11
+ declare const labelVariants: (props?: ({
11
12
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
13
  weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
13
14
  size?: "small" | "medium" | "large" | null | undefined;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -27,7 +28,7 @@ import { cn } from '../../../lib/utils/utils';
27
28
  import { cva } from 'class-variance-authority';
28
29
  import { scalingVariants, textColorStyle, weightVariants } from '../../../lib/constants';
29
30
  import { useTheme } from '../../../lib/theme';
30
- var labeVariants = cva('text-slate-12', {
31
+ var labelVariants = cva('flex text-slate-12', {
31
32
  variants: {
32
33
  scaling: __assign({}, scalingVariants),
33
34
  weight: __assign({}, weightVariants),
@@ -40,6 +41,7 @@ var labeVariants = cva('text-slate-12', {
40
41
  },
41
42
  defaultVariants: {
42
43
  scaling: '100%',
44
+ weight: 'regular',
43
45
  size: 'medium',
44
46
  color: 'black',
45
47
  },
@@ -48,14 +50,15 @@ export var Label = React.forwardRef(function (_a, forwardedRef) {
48
50
  var className = _a.className, scaling = _a.scaling, weight = _a.weight, size = _a.size, color = _a.color, children = _a.children, rootProps = __rest(_a, ["className", "scaling", "weight", "size", "color", "children"]);
49
51
  var theme = useTheme().theme;
50
52
  var labelStyle = {
51
- scaling: theme.themeScaling || scaling,
52
- weight: theme.themeWeight || weight,
53
- color: theme.themeColor || color,
53
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
54
+ weight: weight !== null && weight !== void 0 ? weight : theme.themeWeight,
55
+ color: color !== null && color !== void 0 ? color : theme.themeColor,
54
56
  size: size,
55
57
  };
56
- if (labelStyle.weight === 'medium' || labelStyle.weight === 'semibold')
58
+ if (labelStyle.weight === 'medium' || labelStyle.weight === 'semibold') {
57
59
  labelStyle.weight = 'bold';
58
- return (_jsx(LabelPrimitive.Root, __assign({}, rootProps, { ref: forwardedRef, className: cn('', labeVariants(labelStyle), className), children: children })));
60
+ }
61
+ return (_jsx(LabelPrimitive.Root, __assign({ ref: forwardedRef, className: cn(labelVariants(labelStyle), className) }, rootProps, { children: children })));
59
62
  });
60
63
  Label.displayName = 'Label';
61
64
  export default Label;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -29,9 +30,10 @@ import { menubarItemVariants } from './MenubarItem';
29
30
  import { MenubarItemIndicator } from './MenubarItemIndicator';
30
31
  import { menuItemAppearanceStyle } from '../../../lib/constants';
31
32
  import { useMenubarContext } from './MenubarRoot';
33
+ import { MAIN_COLOR } from '../../../lib/color/constants';
32
34
  export var MenubarCheckboxItem = forwardRef(function (_a, ref) {
33
35
  var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
34
- var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
36
+ var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
35
37
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
36
38
  return (_jsxs(MenubarPrimitive.CheckboxItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(MenubarItemIndicator, { forceMount: true, radius: 'medium', size: size, children: checked && _jsx(CheckIcon, {}) }), children] })));
37
39
  });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -27,6 +28,7 @@ import { cva } from 'class-variance-authority';
27
28
  import { cn } from '../../../lib/utils/utils';
28
29
  import { blackText, menuItemAppearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
29
30
  import { useMenubarContext } from './MenubarRoot';
31
+ import { MAIN_COLOR } from '../../../lib/color/constants';
30
32
  export var menubarItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
31
33
  variants: {
32
34
  radius: __assign({}, radiusVariants['menu-item']),
@@ -44,7 +46,7 @@ export var menubarItemVariants = cva("flex group relative leading-none select-no
44
46
  });
45
47
  export var MenubarItem = forwardRef(function (_a, ref) {
46
48
  var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, ["children", "className", "shortcut"]);
47
- var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
49
+ var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
48
50
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), menuItemAppearanceStyle(itemAppearance, color), className);
49
51
  var shortcutClassName = "text-slateA-11 dark:text-slateDarkA-11 ".concat(itemAppearance === 'solid' && !blackText.includes(color)
50
52
  ? 'group-hover:text-white dark:group-hover:text-slateDark-1'
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -30,9 +31,10 @@ import { menubarItemVariants } from './MenubarItem';
30
31
  import { MenubarItemIndicator } from './MenubarItemIndicator';
31
32
  import { RadioContext } from './MenubarRadioGroup';
32
33
  import { useMenubarContext } from './MenubarRoot';
34
+ import { MAIN_COLOR } from '../../../lib/color/constants';
33
35
  export var MenubarRadioItem = forwardRef(function (_a, ref) {
34
36
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
35
- var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
37
+ var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
36
38
  var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
37
39
  var radioGroup = useContext(RadioContext);
38
40
  return (_jsxs(MenubarPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(MenubarItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));
@@ -28,6 +28,7 @@ import { cva } from 'class-variance-authority';
28
28
  import { cn } from '../../../lib/utils/utils';
29
29
  import { radiusVariants, scalingVariants } from '../../../lib/constants';
30
30
  import { useTheme } from '../../../lib/theme';
31
+ import { MAIN_COLOR } from '../../../lib/color/constants';
31
32
  export var menubarVariants = cva('flex p-1 shadow bg-white dark:bg-slateDark-1', {
32
33
  variants: {
33
34
  radius: __assign({}, radiusVariants['base']),
@@ -46,7 +47,7 @@ var MenubarContext = createContext({
46
47
  radius: 'medium',
47
48
  scaling: '100%',
48
49
  size: 'medium',
49
- color: 'red',
50
+ color: MAIN_COLOR,
50
51
  appearance: 'ghost',
51
52
  itemAppearance: 'solid',
52
53
  });
@@ -54,12 +55,13 @@ export var useMenubarContext = function () {
54
55
  return useContext(MenubarContext);
55
56
  };
56
57
  export var MenubarRoot = forwardRef(function (_a, ref) {
57
- var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
58
+ var _b;
59
+ var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
58
60
  var theme = useTheme().theme;
59
61
  var contextValue = {
60
- radius: theme.themeRadius || radius,
61
- scaling: theme.themeScaling || scaling,
62
- color: theme.themeColor || color,
62
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
63
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
64
+ color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
63
65
  size: size,
64
66
  appearance: appearance,
65
67
  itemAppearance: itemAppearance,
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -28,9 +29,10 @@ import { cn } from '../../../lib/utils/utils';
28
29
  import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
29
30
  import { menubarItemVariants } from './MenubarItem';
30
31
  import { useMenubarContext } from './MenubarRoot';
32
+ import { MAIN_COLOR } from '../../../lib/color/constants';
31
33
  export var MenubarSubTrigger = forwardRef(function (_a, ref) {
32
34
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
33
- var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
35
+ var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
34
36
  var triggerClassName = cn(menubarItemVariants({ scaling: scaling, size: size, radius: radius }), menuItemAppearanceStyle(itemAppearance, color), className);
35
37
  var iconClassName = 'ml-auto pl-5 group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11';
36
38
  if (itemAppearance === 'solid' && !blackText.includes(color)) {
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -50,7 +51,7 @@ export var menubarTriggerVariants = cva("flex items-center justify-between gap-[
50
51
  });
51
52
  export var MenubarTrigger = forwardRef(function (_a, ref) {
52
53
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
53
- var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
54
+ var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'ghost' : _c;
54
55
  var triggerClassName = cn(menubarTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
55
56
  return (_jsx(MenubarPrimitive.Trigger, __assign({ ref: ref, className: triggerClassName }, props, { children: children })));
56
57
  });
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -43,6 +44,6 @@ export var navigationMenuContentVariants = cva("text-slate-12 dark:text-slateDar
43
44
  export var NavigationMenuContent = forwardRef(function (_a, ref) {
44
45
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
45
46
  var _b = useNavigationMenuContext(), radius = _b.radius, size = _b.size;
46
- return (_jsx(NavigationMenuPrimitive.Content, __assign({ ref: ref, className: cn("data-[motion=from-start]:animate-enterFromLeft data-[motion=from-end]:animate-enterFromRight data-[motion=to-start]:animate-exitToLeft data-[motion=to-end]:animate-exitToRight absolute left-0 top-0 w-full sm:w-auto", navigationMenuContentVariants({ radius: radius, size: size }), className) }, props, { children: children })));
47
+ return (_jsx(NavigationMenuPrimitive.Content, __assign({ ref: ref, className: cn("data-[motion=from-start]:animate-enterFromLeft data-[motion=from-end]:animate-enterFromRight data-[motion=to-start]:animate-exitToLeft data-[motion=to-end]:animate-exitToRight absolute left-0 top-0 z-10 w-full bg-white sm:w-auto", navigationMenuContentVariants({ radius: radius, size: size }), className) }, props, { children: children })));
47
48
  });
48
49
  NavigationMenuContent.displayName = 'NavigationMenu.Content';
@@ -26,6 +26,6 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
26
26
  import { cn } from '../../../lib/utils/utils';
27
27
  export var NavigationMenuIndicator = forwardRef(function (_a, ref) {
28
28
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
29
- return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: "data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-[1] flex h-[10px] items-end justify-center overflow-hidden transition-[width,transform_250ms_ease]" }, props, { children: [_jsx("div", { className: cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] bg-white shadow shadow-slate-4 dark:bg-slateDark-2 dark:shadow-slateDark-4", className) }), children] })));
29
+ return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: "data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-30 flex h-[10px] items-end justify-center overflow-hidden transition-[width,transform_250ms_ease]" }, props, { children: [_jsx("div", { className: cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] bg-white shadow shadow-slate-4 dark:bg-slateDark-2 dark:shadow-slateDark-4", className) }), children] })));
30
30
  });
31
31
  NavigationMenuIndicator.displayName = 'NavigationMenu.Indicator';
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -27,6 +28,7 @@ import { cn } from '../../../lib/utils/utils';
27
28
  import { cva } from 'class-variance-authority';
28
29
  import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
29
30
  import { useNavigationMenuContext } from './NavigationMenuRoot';
31
+ import { MAIN_COLOR } from '../../../lib/color/constants';
30
32
  export var navigationMenuLinkVariants = cva("block select-none leading-none outline-none py-1 px-3 cursor-alias hover:underline font-medium", {
31
33
  variants: {
32
34
  size: {
@@ -44,7 +46,7 @@ export var navigationMenuLinkVariants = cva("block select-none leading-none outl
44
46
  });
45
47
  export var NavigationMenuLink = forwardRef(function (_a, ref) {
46
48
  var children = _a.children, className = _a.className, href = _a.href, props = __rest(_a, ["children", "className", "href"]);
47
- var _b = useNavigationMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
49
+ var _b = useNavigationMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
48
50
  var linkClassName = cn(navigationMenuLinkVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
49
51
  return (_jsx(NavigationMenuPrimitive.Link, __assign({ ref: ref, href: href, title: href, className: linkClassName }, props, { children: children })));
50
52
  });