@lotte-innovate/ui-component-test 0.1.96 → 0.1.97

Sign up to get free protection for your applications and to get access to all the features.
Files changed (929) hide show
  1. package/README.md +223 -133
  2. package/dist/globals.css +4 -4
  3. package/dist/lib/Typography/Header/index.d.ts +7 -5
  4. package/dist/lib/Typography/Header/index.js +5 -2
  5. package/dist/lib/Typography/Text/index.d.ts +1 -1
  6. package/dist/lib/Typography/Text/index.js +4 -1
  7. package/dist/lib/_virtual/index.mjs +2 -0
  8. package/dist/lib/_virtual/index2.mjs +2 -0
  9. package/dist/lib/_virtual/index2.mjs.map +1 -0
  10. package/dist/lib/_virtual/index3.mjs +2 -0
  11. package/dist/lib/_virtual/index3.mjs.map +1 -0
  12. package/dist/lib/_virtual/react-is.development.mjs +2 -0
  13. package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
  14. package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
  15. package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
  16. package/dist/lib/color/constants.d.ts +1 -15
  17. package/dist/lib/color/constants.js +1 -32
  18. package/dist/lib/components/Accordion/index.d.ts +1 -1
  19. package/dist/lib/components/Accordion/index.js +21 -4
  20. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  21. package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
  22. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  23. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
  24. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +1 -1
  25. package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
  26. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
  27. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +11 -7
  28. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
  29. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +2 -2
  30. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
  31. package/dist/lib/components/AlertDialog/index.d.ts +1 -0
  32. package/dist/lib/components/AlertDialog/index.js +1 -1
  33. package/dist/lib/components/AspectRatio/index.js +4 -1
  34. package/dist/lib/components/Avatar/index.d.ts +1 -1
  35. package/dist/lib/components/Avatar/index.js +12 -3
  36. package/dist/lib/components/Badge/index.d.ts +2 -2
  37. package/dist/lib/components/Badge/index.js +14 -3
  38. package/dist/lib/components/BarChart/index.d.ts +1 -1
  39. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  40. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  41. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  42. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  43. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  44. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  45. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  46. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  47. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  48. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  49. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  50. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  51. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  52. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  53. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  54. package/dist/lib/components/Breadcrumb/index.js +17 -0
  55. package/dist/lib/components/BubbleChart/index.js +1 -1
  56. package/dist/lib/components/Button/index.d.ts +2 -2
  57. package/dist/lib/components/Button/index.js +14 -3
  58. package/dist/lib/components/Callout/CalloutIcon.js +1 -0
  59. package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
  60. package/dist/lib/components/Callout/CalloutRoot.js +11 -3
  61. package/dist/lib/components/Callout/CalloutText.js +1 -0
  62. package/dist/lib/components/Callout/index.d.ts +1 -0
  63. package/dist/lib/components/Card/index.d.ts +2 -2
  64. package/dist/lib/components/Card/index.js +9 -1
  65. package/dist/lib/components/Checkbox/index.d.ts +1 -1
  66. package/dist/lib/components/Checkbox/index.js +12 -3
  67. package/dist/lib/components/CheckboxCard/index.d.ts +1 -1
  68. package/dist/lib/components/CheckboxCard/index.js +9 -1
  69. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
  70. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +13 -3
  71. package/dist/lib/components/CheckboxGroup/index.d.ts +2 -1
  72. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
  73. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +1 -1
  74. package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
  75. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +1 -1
  76. package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
  77. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  78. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
  79. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
  80. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
  81. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
  82. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +13 -3
  83. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +1 -1
  84. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
  85. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
  86. package/dist/lib/components/ContextMenu/index.d.ts +1 -0
  87. package/dist/lib/components/DataList/DataListItem.js +1 -0
  88. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  89. package/dist/lib/components/DataList/DataListLabel.js +1 -0
  90. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  91. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  92. package/dist/lib/components/DataList/DataListValue.js +1 -0
  93. package/dist/lib/components/DataList/index.d.ts +1 -0
  94. package/dist/lib/components/Dialog/DialogAction.d.ts +1 -1
  95. package/dist/lib/components/Dialog/DialogAction.js +3 -1
  96. package/dist/lib/components/Dialog/DialogCancel.d.ts +1 -1
  97. package/dist/lib/components/Dialog/DialogCancel.js +1 -0
  98. package/dist/lib/components/Dialog/DialogContent.d.ts +1 -1
  99. package/dist/lib/components/Dialog/DialogContent.js +1 -0
  100. package/dist/lib/components/Dialog/DialogDescription.js +2 -1
  101. package/dist/lib/components/Dialog/DialogRoot.js +11 -2
  102. package/dist/lib/components/Dialog/DialogSlot.js +1 -0
  103. package/dist/lib/components/Dialog/DialogTitle.js +1 -0
  104. package/dist/lib/components/Dialog/index.d.ts +2 -1
  105. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +1 -1
  106. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
  107. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
  108. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +1 -1
  109. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
  110. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
  111. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
  112. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  113. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
  114. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
  115. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
  116. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +12 -2
  117. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
  118. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  119. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
  120. package/dist/lib/components/DropdownMenu/index.d.ts +2 -1
  121. package/dist/lib/components/Editor/index.d.ts +11 -0
  122. package/dist/lib/components/Editor/index.js +76 -0
  123. package/dist/lib/components/Footer/index.d.ts +11 -0
  124. package/dist/lib/components/Footer/index.js +57 -0
  125. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  126. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  127. package/dist/lib/components/Gnb/GnbLogo.d.ts +9 -0
  128. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  129. package/dist/lib/components/Gnb/GnbMenu.d.ts +11 -0
  130. package/dist/lib/components/Gnb/GnbMenu.js +49 -0
  131. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  132. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  133. package/dist/lib/components/Gnb/index.d.ts +8 -0
  134. package/dist/lib/components/Gnb/index.js +11 -0
  135. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  136. package/dist/lib/components/Grid/Pagination.js +17 -0
  137. package/dist/lib/components/Grid/index.d.ts +4 -0
  138. package/dist/lib/components/Grid/index.js +45 -0
  139. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  140. package/dist/lib/components/Grid/useGrid.js +75 -0
  141. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +2 -2
  142. package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
  143. package/dist/lib/components/HoverCard/HoverCardRoot.js +12 -2
  144. package/dist/lib/components/HoverCard/index.d.ts +2 -1
  145. package/dist/lib/components/IconButton/index.d.ts +1 -1
  146. package/dist/lib/components/IconButton/index.js +13 -3
  147. package/dist/lib/components/Inset/index.d.ts +1 -1
  148. package/dist/lib/components/Inset/index.js +8 -1
  149. package/dist/lib/components/Label/index.d.ts +5 -4
  150. package/dist/lib/components/Label/index.js +15 -4
  151. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
  152. package/dist/lib/components/Menubar/MenubarContent.d.ts +1 -1
  153. package/dist/lib/components/Menubar/MenubarContent.js +1 -0
  154. package/dist/lib/components/Menubar/MenubarItem.d.ts +1 -1
  155. package/dist/lib/components/Menubar/MenubarItem.js +3 -1
  156. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  157. package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
  158. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  159. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
  160. package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
  161. package/dist/lib/components/Menubar/MenubarRoot.js +17 -5
  162. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  163. package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
  164. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
  165. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +1 -1
  166. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
  167. package/dist/lib/components/Menubar/index.d.ts +1 -0
  168. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  169. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
  170. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  171. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +1 -1
  172. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
  173. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +1 -1
  174. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
  175. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +13 -3
  176. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +1 -1
  177. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
  178. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  179. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
  180. package/dist/lib/components/NavigationMenu/index.d.ts +1 -0
  181. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  182. package/dist/lib/components/Popover/PopoverClose.js +1 -0
  183. package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
  184. package/dist/lib/components/Popover/PopoverContent.js +1 -0
  185. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  186. package/dist/lib/components/Popover/index.d.ts +2 -1
  187. package/dist/lib/components/Progress/index.d.ts +1 -1
  188. package/dist/lib/components/Progress/index.js +14 -3
  189. package/dist/lib/components/RadarChart/index.js +1 -1
  190. package/dist/lib/components/Radio/index.js +11 -4
  191. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +1 -1
  192. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
  193. package/dist/lib/components/RadioCards/RadioCardsRoot.js +13 -3
  194. package/dist/lib/components/RadioCards/index.d.ts +1 -0
  195. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
  196. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +12 -3
  197. package/dist/lib/components/RadioGroup/index.d.ts +1 -0
  198. package/dist/lib/components/ScrollArea/index.js +4 -1
  199. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +1 -1
  200. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +11 -3
  201. package/dist/lib/components/SegmentedControl/index.d.ts +1 -0
  202. package/dist/lib/components/SegmentedControl/index.js +1 -1
  203. package/dist/lib/components/Select/index.d.ts +4 -2
  204. package/dist/lib/components/Select/index.js +33 -13
  205. package/dist/lib/components/Separator/index.d.ts +1 -1
  206. package/dist/lib/components/Separator/index.js +10 -2
  207. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  208. package/dist/lib/components/Skeleton/index.js +5 -1
  209. package/dist/lib/components/Slider/index.d.ts +4 -3
  210. package/dist/lib/components/Slider/index.js +12 -5
  211. package/dist/lib/components/Spinner/index.js +4 -1
  212. package/dist/lib/components/TabNav/index.d.ts +2 -2
  213. package/dist/lib/components/TabNav/index.js +6 -3
  214. package/dist/lib/components/Table/index.d.ts +1 -1
  215. package/dist/lib/components/Table/index.js +9 -3
  216. package/dist/lib/components/Tabs/index.d.ts +5 -4
  217. package/dist/lib/components/Tabs/index.js +6 -3
  218. package/dist/lib/components/TextArea/index.d.ts +2 -2
  219. package/dist/lib/components/TextArea/index.js +11 -3
  220. package/dist/lib/components/TextField/index.d.ts +3 -3
  221. package/dist/lib/components/TextField/index.js +12 -4
  222. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  223. package/dist/lib/components/Timeline/TimelineConnector.js +36 -0
  224. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  225. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  226. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  227. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  228. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  229. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  230. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  231. package/dist/lib/components/Timeline/TimelineIcon.js +42 -0
  232. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  233. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  234. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  235. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  236. package/dist/lib/components/Timeline/TimelineTime.d.ts +6 -0
  237. package/dist/lib/components/Timeline/TimelineTime.js +34 -0
  238. package/dist/lib/components/Timeline/TimelineTitle.d.ts +6 -0
  239. package/dist/lib/components/Timeline/TimelineTitle.js +34 -0
  240. package/dist/lib/components/Timeline/index.d.ts +13 -0
  241. package/dist/lib/components/Timeline/index.js +21 -0
  242. package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
  243. package/dist/lib/components/Toast/ToastActionButton.js +3 -2
  244. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  245. package/dist/lib/components/Toast/ToastRoot.d.ts +1 -1
  246. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  247. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  248. package/dist/lib/components/Toast/index.d.ts +1 -0
  249. package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
  250. package/dist/lib/components/Toggle/ToggleWithText.js +13 -2
  251. package/dist/lib/components/Toggle/index.d.ts +2 -2
  252. package/dist/lib/components/Toggle/index.js +14 -3
  253. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  254. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +13 -3
  255. package/dist/lib/components/ToggleGroup/index.d.ts +1 -0
  256. package/dist/lib/components/ToggleSwitch/index.d.ts +2 -2
  257. package/dist/lib/components/ToggleSwitch/index.js +13 -2
  258. package/dist/lib/components/Tooltip/index.d.ts +2 -2
  259. package/dist/lib/components/Tooltip/index.js +14 -9
  260. package/dist/lib/components/index.d.ts +6 -0
  261. package/dist/lib/components/index.js +7 -0
  262. package/dist/lib/constants.d.ts +6 -7
  263. package/dist/lib/constants.js +19 -31
  264. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  265. package/dist/lib/dist/lib/Typography/Header/index.mjs.map +1 -0
  266. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  267. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  268. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  269. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  270. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  271. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  272. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  273. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  274. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  275. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  276. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs +1 -0
  277. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  278. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs +2 -1
  279. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  280. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs +1 -0
  281. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  282. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  283. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
  284. package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs +1 -0
  285. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  286. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  287. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  288. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  289. package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
  290. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  291. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  292. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  293. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  294. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  295. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  296. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  297. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  298. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  299. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  300. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  301. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  302. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  303. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  304. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  305. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  306. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  307. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  308. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  309. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  310. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  311. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  312. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  313. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  314. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  315. package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs +1 -0
  316. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  317. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  318. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
  319. package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs +1 -0
  320. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  321. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  322. package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
  323. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  324. package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
  325. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  326. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
  327. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  328. package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
  329. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  330. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  331. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
  332. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  333. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
  334. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  335. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs +1 -0
  336. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  337. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  338. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  339. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  340. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
  341. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  342. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs +1 -0
  343. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  344. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
  345. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
  346. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs +2 -1
  347. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  348. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  349. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
  350. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  351. package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs +1 -0
  352. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  353. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  354. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  355. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  356. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  357. package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs +1 -0
  358. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  359. package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs +1 -0
  360. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  361. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
  362. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
  363. package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs +1 -0
  364. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  365. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  366. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  367. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  368. package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs +1 -0
  369. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  370. package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs +1 -0
  371. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  372. package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs +2 -1
  373. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  374. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  375. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
  376. package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs +1 -0
  377. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  378. package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs +1 -0
  379. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  380. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  381. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  382. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  383. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  384. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
  385. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  386. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
  387. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  388. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs +1 -0
  389. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  390. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  391. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  392. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
  393. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  394. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs +1 -0
  395. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  396. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
  397. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  398. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  399. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
  400. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  401. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  402. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  403. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  404. package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
  405. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  406. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  407. package/dist/lib/dist/lib/components/Editor/index.mjs +3 -0
  408. package/dist/lib/dist/lib/components/Editor/index.mjs.map +1 -0
  409. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  410. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  411. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  412. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  413. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  414. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  415. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  416. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  417. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  418. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  419. package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
  420. package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
  421. package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
  422. package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  423. package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
  424. package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
  425. package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
  426. package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  427. package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs +1 -0
  428. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  429. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  430. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
  431. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  432. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  433. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  434. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  435. package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
  436. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  437. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  438. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  439. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  440. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  441. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  442. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs +1 -0
  443. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  444. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  445. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  446. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs +1 -0
  447. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  448. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  449. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs +1 -0
  450. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
  451. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  452. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  453. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  454. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
  455. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  456. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  457. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs +1 -0
  458. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  459. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  460. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  461. package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs +2 -1
  462. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  463. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  464. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  465. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  466. package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
  467. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  468. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  469. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  470. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  471. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  472. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  473. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  474. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
  475. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  476. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  477. package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs +2 -1
  478. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  479. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  480. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  481. package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs +1 -0
  482. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  483. package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs +1 -0
  484. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  485. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  486. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
  487. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  488. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  489. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  490. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  491. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  492. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  493. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  494. package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs +1 -0
  495. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  496. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  497. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
  498. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  499. package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs +1 -0
  500. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  501. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  502. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
  503. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  504. package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
  505. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  506. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  507. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
  508. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  509. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  510. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  511. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  512. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  513. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  514. package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
  515. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  516. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  517. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  518. package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
  519. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  520. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  521. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  522. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  523. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  524. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  525. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  526. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  527. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  528. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  529. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  530. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
  531. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  532. package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs +1 -0
  533. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  534. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
  535. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
  536. package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs +1 -0
  537. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  538. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  539. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  540. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  541. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  542. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  543. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  544. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  545. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  546. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
  547. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  548. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  549. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  550. package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
  551. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  552. package/dist/lib/dist/lib/constants.mjs +2 -0
  553. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  554. package/dist/lib/dist/lib/index.mjs +2 -0
  555. package/dist/lib/dist/lib/index.mjs.map +1 -0
  556. package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
  557. package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  558. package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs +1 -0
  559. package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
  560. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  561. package/dist/lib/index.d.ts +1 -0
  562. package/dist/lib/index.js +1 -0
  563. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/ScriptLoader2.mjs +2 -0
  564. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/ScriptLoader2.mjs.map +1 -0
  565. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/TinyMCE.mjs +2 -0
  566. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/TinyMCE.mjs.map +1 -0
  567. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.mjs +2 -0
  568. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.mjs.map +1 -0
  569. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.mjs +2 -0
  570. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.mjs.map +1 -0
  571. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/EditorPropTypes.mjs +2 -0
  572. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/EditorPropTypes.mjs.map +1 -0
  573. package/dist/lib/node_modules/marked/lib/marked.esm.mjs +2 -0
  574. package/dist/lib/node_modules/marked/lib/marked.esm.mjs.map +1 -0
  575. package/dist/lib/node_modules/object-assign/index.mjs +7 -0
  576. package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
  577. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
  578. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
  579. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
  580. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
  581. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
  582. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
  583. package/dist/lib/node_modules/prop-types/index.mjs +2 -0
  584. package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
  585. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
  586. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
  587. package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
  588. package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
  589. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
  590. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
  591. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
  592. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
  593. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
  594. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
  595. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  596. package/dist/lib/theme/ThemeProvider.js +29 -0
  597. package/dist/lib/theme/index.d.ts +2 -0
  598. package/dist/lib/theme/index.js +2 -0
  599. package/dist/lib/tinymce/CHANGELOG.md +3453 -0
  600. package/dist/lib/tinymce/README.md +73 -0
  601. package/dist/lib/tinymce/bower.json +27 -0
  602. package/dist/lib/tinymce/composer.json +52 -0
  603. package/dist/lib/tinymce/icons/default/icons.js +194 -0
  604. package/dist/lib/tinymce/icons/default/icons.min.js +1 -0
  605. package/dist/lib/tinymce/icons/default/index.js +7 -0
  606. package/dist/lib/tinymce/license.txt +21 -0
  607. package/dist/lib/tinymce/models/dom/index.js +7 -0
  608. package/dist/lib/tinymce/models/dom/model.js +8040 -0
  609. package/dist/lib/tinymce/models/dom/model.min.js +4 -0
  610. package/dist/lib/tinymce/package.json +32 -0
  611. package/dist/lib/tinymce/plugins/advlist/index.js +7 -0
  612. package/dist/lib/tinymce/plugins/advlist/plugin.js +259 -0
  613. package/dist/lib/tinymce/plugins/advlist/plugin.min.js +4 -0
  614. package/dist/lib/tinymce/plugins/autolink/index.js +7 -0
  615. package/dist/lib/tinymce/plugins/autolink/plugin.js +228 -0
  616. package/dist/lib/tinymce/plugins/autolink/plugin.min.js +4 -0
  617. package/dist/lib/tinymce/plugins/code/index.js +7 -0
  618. package/dist/lib/tinymce/plugins/code/plugin.js +85 -0
  619. package/dist/lib/tinymce/plugins/code/plugin.min.js +4 -0
  620. package/dist/lib/tinymce/plugins/codesample/index.js +7 -0
  621. package/dist/lib/tinymce/plugins/codesample/plugin.js +2463 -0
  622. package/dist/lib/tinymce/plugins/codesample/plugin.min.js +4 -0
  623. package/dist/lib/tinymce/plugins/image/index.js +7 -0
  624. package/dist/lib/tinymce/plugins/image/plugin.js +1505 -0
  625. package/dist/lib/tinymce/plugins/image/plugin.min.js +4 -0
  626. package/dist/lib/tinymce/plugins/link/index.js +7 -0
  627. package/dist/lib/tinymce/plugins/link/plugin.js +1242 -0
  628. package/dist/lib/tinymce/plugins/link/plugin.min.js +4 -0
  629. package/dist/lib/tinymce/plugins/lists/index.js +7 -0
  630. package/dist/lib/tinymce/plugins/lists/plugin.js +2172 -0
  631. package/dist/lib/tinymce/plugins/lists/plugin.min.js +4 -0
  632. package/dist/lib/tinymce/plugins/table/index.js +7 -0
  633. package/dist/lib/tinymce/plugins/table/plugin.js +3462 -0
  634. package/dist/lib/tinymce/plugins/table/plugin.min.js +4 -0
  635. package/dist/lib/tinymce/skins/content/default/content.css +61 -0
  636. package/dist/lib/tinymce/skins/content/default/content.js +2 -0
  637. package/dist/lib/tinymce/skins/content/default/content.min.css +1 -0
  638. package/dist/lib/tinymce/skins/ui/oxide/content.css +785 -0
  639. package/dist/lib/tinymce/skins/ui/oxide/content.inline.css +779 -0
  640. package/dist/lib/tinymce/skins/ui/oxide/content.inline.js +2 -0
  641. package/dist/lib/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  642. package/dist/lib/tinymce/skins/ui/oxide/content.js +2 -0
  643. package/dist/lib/tinymce/skins/ui/oxide/content.min.css +1 -0
  644. package/dist/lib/tinymce/skins/ui/oxide/skin.css +3763 -0
  645. package/dist/lib/tinymce/skins/ui/oxide/skin.js +2 -0
  646. package/dist/lib/tinymce/skins/ui/oxide/skin.min.css +1 -0
  647. package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  648. package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  649. package/dist/lib/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  650. package/dist/lib/tinymce/skins/ui/oxide-dark/content.css +766 -0
  651. package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  652. package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  653. package/dist/lib/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  654. package/dist/lib/tinymce/skins/ui/oxide-dark/content.js +2 -0
  655. package/dist/lib/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  656. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  657. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  658. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  659. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  660. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  661. package/dist/lib/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  662. package/dist/lib/tinymce/themes/silver/index.js +7 -0
  663. package/dist/lib/tinymce/themes/silver/theme.js +30775 -0
  664. package/dist/lib/tinymce/themes/silver/theme.min.js +384 -0
  665. package/dist/lib/tinymce/tinymce.d.ts +3238 -0
  666. package/dist/lib/tinymce/tinymce.js +31779 -0
  667. package/dist/lib/tinymce/tinymce.min.js +384 -0
  668. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  669. package/dist/lib/types.d.ts +9 -0
  670. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  671. package/dist/lib/utils/classPrefixes.js +26 -0
  672. package/dist/lib/utils/useDarkMode.js +1 -0
  673. package/dist/tailwind.config.js +14 -37
  674. package/dist/tsconfig.tsbuildinfo +1 -1
  675. package/package.json +146 -139
  676. package/dist/lib/Typography/Header/index.mjs +0 -2
  677. package/dist/lib/Typography/Header/index.mjs.map +0 -1
  678. package/dist/lib/Typography/Text/index.mjs +0 -2
  679. package/dist/lib/Typography/Text/index.mjs.map +0 -1
  680. package/dist/lib/color/alpha.mjs.map +0 -1
  681. package/dist/lib/color/constants.mjs +0 -2
  682. package/dist/lib/color/constants.mjs.map +0 -1
  683. package/dist/lib/color/light.mjs.map +0 -1
  684. package/dist/lib/components/Accordion/index.mjs +0 -2
  685. package/dist/lib/components/Accordion/index.mjs.map +0 -1
  686. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +0 -2
  687. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +0 -1
  688. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +0 -1
  689. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +0 -1
  690. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +0 -1
  691. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +0 -2
  692. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +0 -1
  693. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +0 -1
  694. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +0 -2
  695. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +0 -1
  696. package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
  697. package/dist/lib/components/AspectRatio/index.mjs +0 -2
  698. package/dist/lib/components/AspectRatio/index.mjs.map +0 -1
  699. package/dist/lib/components/Avatar/index.mjs +0 -2
  700. package/dist/lib/components/Avatar/index.mjs.map +0 -1
  701. package/dist/lib/components/Badge/index.mjs +0 -2
  702. package/dist/lib/components/Badge/index.mjs.map +0 -1
  703. package/dist/lib/components/BarChart/index.mjs.map +0 -1
  704. package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
  705. package/dist/lib/components/Button/index.mjs +0 -2
  706. package/dist/lib/components/Button/index.mjs.map +0 -1
  707. package/dist/lib/components/Callout/CalloutIcon.mjs.map +0 -1
  708. package/dist/lib/components/Callout/CalloutRoot.mjs +0 -2
  709. package/dist/lib/components/Callout/CalloutRoot.mjs.map +0 -1
  710. package/dist/lib/components/Callout/CalloutText.mjs.map +0 -1
  711. package/dist/lib/components/Callout/index.mjs.map +0 -1
  712. package/dist/lib/components/Card/index.mjs +0 -2
  713. package/dist/lib/components/Card/index.mjs.map +0 -1
  714. package/dist/lib/components/Checkbox/index.mjs +0 -2
  715. package/dist/lib/components/Checkbox/index.mjs.map +0 -1
  716. package/dist/lib/components/CheckboxCard/index.mjs +0 -2
  717. package/dist/lib/components/CheckboxCard/index.mjs.map +0 -1
  718. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -1
  719. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +0 -2
  720. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -1
  721. package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
  722. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -1
  723. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +0 -1
  724. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
  725. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +0 -2
  726. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +0 -1
  727. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -1
  728. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +0 -1
  729. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -1
  730. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +0 -1
  731. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +0 -2
  732. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +0 -1
  733. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
  734. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +0 -1
  735. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +0 -2
  736. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -1
  737. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
  738. package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
  739. package/dist/lib/components/DataList/DataListItem.mjs.map +0 -1
  740. package/dist/lib/components/DataList/DataListLabel.mjs.map +0 -1
  741. package/dist/lib/components/DataList/DataListRoot.mjs +0 -2
  742. package/dist/lib/components/DataList/DataListRoot.mjs.map +0 -1
  743. package/dist/lib/components/DataList/DataListValue.mjs.map +0 -1
  744. package/dist/lib/components/DataList/index.mjs.map +0 -1
  745. package/dist/lib/components/Dialog/DialogAction.mjs +0 -2
  746. package/dist/lib/components/Dialog/DialogAction.mjs.map +0 -1
  747. package/dist/lib/components/Dialog/DialogCancel.mjs.map +0 -1
  748. package/dist/lib/components/Dialog/DialogContent.mjs.map +0 -1
  749. package/dist/lib/components/Dialog/DialogDescription.mjs.map +0 -1
  750. package/dist/lib/components/Dialog/DialogRoot.mjs +0 -2
  751. package/dist/lib/components/Dialog/DialogRoot.mjs.map +0 -1
  752. package/dist/lib/components/Dialog/DialogSlot.mjs.map +0 -1
  753. package/dist/lib/components/Dialog/DialogTitle.mjs.map +0 -1
  754. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
  755. package/dist/lib/components/Dialog/index.mjs.map +0 -1
  756. package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
  757. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
  758. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -1
  759. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -1
  760. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +0 -1
  761. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +0 -2
  762. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +0 -1
  763. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -1
  764. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +0 -1
  765. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -1
  766. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +0 -2
  767. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +0 -1
  768. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
  769. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
  770. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -2
  771. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -1
  772. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -1
  773. package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
  774. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +0 -1
  775. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +0 -2
  776. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +0 -1
  777. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
  778. package/dist/lib/components/HoverCard/index.mjs.map +0 -1
  779. package/dist/lib/components/IconButton/index.mjs +0 -2
  780. package/dist/lib/components/IconButton/index.mjs.map +0 -1
  781. package/dist/lib/components/Inset/index.mjs +0 -2
  782. package/dist/lib/components/Inset/index.mjs.map +0 -1
  783. package/dist/lib/components/Label/index.mjs +0 -2
  784. package/dist/lib/components/Label/index.mjs.map +0 -1
  785. package/dist/lib/components/LineChart/index.mjs.map +0 -1
  786. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +0 -2
  787. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +0 -1
  788. package/dist/lib/components/Menubar/MenubarContent.mjs.map +0 -1
  789. package/dist/lib/components/Menubar/MenubarItem.mjs +0 -2
  790. package/dist/lib/components/Menubar/MenubarItem.mjs.map +0 -1
  791. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +0 -1
  792. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
  793. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +0 -1
  794. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +0 -2
  795. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +0 -1
  796. package/dist/lib/components/Menubar/MenubarRoot.mjs +0 -2
  797. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +0 -1
  798. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
  799. package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
  800. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +0 -1
  801. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +0 -2
  802. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +0 -1
  803. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +0 -1
  804. package/dist/lib/components/Menubar/index.mjs.map +0 -1
  805. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +0 -2
  806. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +0 -1
  807. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
  808. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
  809. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +0 -2
  810. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +0 -1
  811. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +0 -2
  812. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +0 -1
  813. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +0 -2
  814. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +0 -1
  815. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +0 -2
  816. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -1
  817. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +0 -1
  818. package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
  819. package/dist/lib/components/PieChart/index.mjs.map +0 -1
  820. package/dist/lib/components/Popover/PopoverClose.mjs.map +0 -1
  821. package/dist/lib/components/Popover/PopoverContent.mjs.map +0 -1
  822. package/dist/lib/components/Popover/PopoverRoot.mjs +0 -2
  823. package/dist/lib/components/Popover/PopoverRoot.mjs.map +0 -1
  824. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
  825. package/dist/lib/components/Popover/index.mjs.map +0 -1
  826. package/dist/lib/components/Progress/index.mjs +0 -2
  827. package/dist/lib/components/Progress/index.mjs.map +0 -1
  828. package/dist/lib/components/RadarChart/index.mjs.map +0 -1
  829. package/dist/lib/components/Radio/index.mjs +0 -2
  830. package/dist/lib/components/Radio/index.mjs.map +0 -1
  831. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +0 -1
  832. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +0 -2
  833. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +0 -1
  834. package/dist/lib/components/RadioCards/index.mjs.map +0 -1
  835. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +0 -1
  836. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +0 -2
  837. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +0 -1
  838. package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
  839. package/dist/lib/components/ScrollArea/index.mjs +0 -2
  840. package/dist/lib/components/ScrollArea/index.mjs.map +0 -1
  841. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
  842. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +0 -2
  843. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +0 -1
  844. package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
  845. package/dist/lib/components/Select/index.mjs +0 -2
  846. package/dist/lib/components/Select/index.mjs.map +0 -1
  847. package/dist/lib/components/Separator/index.mjs +0 -2
  848. package/dist/lib/components/Separator/index.mjs.map +0 -1
  849. package/dist/lib/components/Skeleton/index.mjs +0 -2
  850. package/dist/lib/components/Skeleton/index.mjs.map +0 -1
  851. package/dist/lib/components/Slider/index.mjs +0 -2
  852. package/dist/lib/components/Slider/index.mjs.map +0 -1
  853. package/dist/lib/components/Spinner/index.mjs +0 -2
  854. package/dist/lib/components/Spinner/index.mjs.map +0 -1
  855. package/dist/lib/components/TabNav/index.mjs +0 -2
  856. package/dist/lib/components/TabNav/index.mjs.map +0 -1
  857. package/dist/lib/components/Table/index.mjs +0 -2
  858. package/dist/lib/components/Table/index.mjs.map +0 -1
  859. package/dist/lib/components/Tabs/index.mjs +0 -2
  860. package/dist/lib/components/Tabs/index.mjs.map +0 -1
  861. package/dist/lib/components/TextArea/index.mjs +0 -2
  862. package/dist/lib/components/TextArea/index.mjs.map +0 -1
  863. package/dist/lib/components/TextField/index.mjs +0 -2
  864. package/dist/lib/components/TextField/index.mjs.map +0 -1
  865. package/dist/lib/components/Toast/ToastActionButton.mjs +0 -2
  866. package/dist/lib/components/Toast/ToastActionButton.mjs.map +0 -1
  867. package/dist/lib/components/Toast/ToastDescription.mjs.map +0 -1
  868. package/dist/lib/components/Toast/ToastRoot.mjs +0 -2
  869. package/dist/lib/components/Toast/ToastRoot.mjs.map +0 -1
  870. package/dist/lib/components/Toast/ToastTitle.mjs.map +0 -1
  871. package/dist/lib/components/Toast/index.mjs.map +0 -1
  872. package/dist/lib/components/Toggle/ToggleWithText.mjs +0 -2
  873. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +0 -1
  874. package/dist/lib/components/Toggle/index.mjs +0 -2
  875. package/dist/lib/components/Toggle/index.mjs.map +0 -1
  876. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +0 -2
  877. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +0 -1
  878. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +0 -2
  879. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +0 -1
  880. package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
  881. package/dist/lib/components/ToggleSwitch/index.mjs +0 -2
  882. package/dist/lib/components/ToggleSwitch/index.mjs.map +0 -1
  883. package/dist/lib/components/Tooltip/index.mjs +0 -2
  884. package/dist/lib/components/Tooltip/index.mjs.map +0 -1
  885. package/dist/lib/constants.mjs +0 -2
  886. package/dist/lib/constants.mjs.map +0 -1
  887. package/dist/lib/index.mjs +0 -2
  888. package/dist/lib/utils/useDarkMode.mjs.map +0 -1
  889. package/dist/lib/utils/utils.mjs.map +0 -1
  890. /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
  891. /package/dist/lib/{color → dist/lib/color}/alpha.mjs +0 -0
  892. /package/dist/lib/{color → dist/lib/color}/light.mjs +0 -0
  893. /package/dist/lib/{components → dist/lib/components}/AlertDialog/index.mjs +0 -0
  894. /package/dist/lib/{components → dist/lib/components}/BarChart/index.mjs +0 -0
  895. /package/dist/lib/{components → dist/lib/components}/BubbleChart/index.mjs +0 -0
  896. /package/dist/lib/{components → dist/lib/components}/Callout/index.mjs +0 -0
  897. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/index.mjs +0 -0
  898. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuGroup.mjs +0 -0
  899. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
  900. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
  901. /package/dist/lib/{components → dist/lib/components}/ContextMenu/index.mjs +0 -0
  902. /package/dist/lib/{components → dist/lib/components}/DataList/index.mjs +0 -0
  903. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTrigger.mjs +0 -0
  904. /package/dist/lib/{components → dist/lib/components}/Dialog/index.mjs +0 -0
  905. /package/dist/lib/{components → dist/lib/components}/DoughnutChart/index.mjs +0 -0
  906. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
  907. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
  908. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
  909. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/index.mjs +0 -0
  910. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardTrigger.mjs +0 -0
  911. /package/dist/lib/{components → dist/lib/components}/HoverCard/index.mjs +0 -0
  912. /package/dist/lib/{components → dist/lib/components}/LineChart/index.mjs +0 -0
  913. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarMenu.mjs +0 -0
  914. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSeparator.mjs +0 -0
  915. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSub.mjs +0 -0
  916. /package/dist/lib/{components → dist/lib/components}/Menubar/index.mjs +0 -0
  917. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
  918. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/index.mjs +0 -0
  919. /package/dist/lib/{components → dist/lib/components}/PieChart/index.mjs +0 -0
  920. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverTrigger.mjs +0 -0
  921. /package/dist/lib/{components → dist/lib/components}/Popover/index.mjs +0 -0
  922. /package/dist/lib/{components → dist/lib/components}/RadarChart/index.mjs +0 -0
  923. /package/dist/lib/{components → dist/lib/components}/RadioCards/index.mjs +0 -0
  924. /package/dist/lib/{components → dist/lib/components}/RadioGroup/index.mjs +0 -0
  925. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
  926. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/index.mjs +0 -0
  927. /package/dist/lib/{components → dist/lib/components}/Toast/index.mjs +0 -0
  928. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/index.mjs +0 -0
  929. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
@@ -0,0 +1,45 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { flexRender } from '@tanstack/react-table';
4
+ // import './index.css';
5
+ import Table from '../Table';
6
+ import { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';
7
+ import Pagination from './Pagination';
8
+ import { cn } from '../../../lib/utils/utils';
9
+ function Grid(_a) {
10
+ var _b, _c, _d;
11
+ var table = _a.table;
12
+ return (_jsx("div", { style: { direction: table.options.columnResizeDirection }, children: _jsxs("div", { className: "overflow-x-auto", children: [_jsxs(Table.Root, { style: {
13
+ // width: table.getCenterTotalSize(),
14
+ }, appearance: (_b = table.options) === null || _b === void 0 ? void 0 : _b.appearance, radius: (_c = table.options) === null || _c === void 0 ? void 0 : _c.radius, children: [_jsx(Table.Header, { children: table
15
+ .getHeaderGroups()
16
+ .map(function (headerGroup) {
17
+ return (_jsx(Table.Row, { children: headerGroup.headers.map(function (header) {
18
+ var _a;
19
+ return (_jsxs(Table.ColumnHeaderCell, { colSpan: header.colSpan,
20
+ style: {
21
+ width: header.getSize(),
22
+ }, children: [header.isPlaceholder ? null : (_jsxs("div", { className: header.column.getCanSort() ? 'flex cursor-pointer select-none' : '', onClick: header.column.getToggleSortingHandler(), title: header.column.getCanSort()
23
+ ? header.column.getNextSortingOrder() === 'asc'
24
+ ? 'Sort ascending'
25
+ : header.column.getNextSortingOrder() === 'desc'
26
+ ? 'Sort descending'
27
+ : 'Clear sort'
28
+ : undefined, children: [flexRender(header.column.columnDef.header, header.getContext()), header.column.getIsSorted() == 'asc' ? (_jsx(ChevronUpIcon, {})) : header.column.getIsSorted() == 'desc' ? (_jsx(ChevronDownIcon, {})) : null] })), _jsx("div", { onDoubleClick: function () { return header.column.resetSize(); },
29
+ onMouseDown: header.getResizeHandler(),
30
+ onTouchStart: header.getResizeHandler(),
31
+ className: cn('resizer', table.options.columnResizeDirection, header.column.getIsResizing() ? 'bg-red-12' : ''),
32
+ style: {
33
+ transform: header.column.getIsResizing()
34
+ ? "translateX(".concat((table.options.columnResizeDirection === 'rtl' ? -1 : 1) *
35
+ ((_a = table.getState().columnSizingInfo.deltaOffset) !== null && _a !== void 0 ? _a : 0), "px)")
36
+ : '',
37
+ } })] }, header.id));
38
+ }) }, headerGroup.id));
39
+ }) }), _jsx(Table.Body, { children: table
40
+ .getRowModel()
41
+ .rows.map(function (row) { return (_jsx(Table.Row, { children: row.getVisibleCells().map(function (cell) { return (_jsx(Table.Cell, { style: {
42
+ width: cell.column.getSize(),
43
+ }, className: "h-[30px]", children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id)); }) }, row.id)); }) })] }), _jsx("div", { className: "h-2" }), ((_d = table.options) === null || _d === void 0 ? void 0 : _d.enableRowPagination) && _jsx(Pagination, { table: table })] }) }));
44
+ }
45
+ export default Grid;
@@ -0,0 +1,3 @@
1
+ export declare const useGrid: ({ ...props }: {
2
+ [x: string]: any;
3
+ }) => import("@tanstack/react-table").Table<unknown>;
@@ -0,0 +1,75 @@
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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
25
+ import { createColumnHelper, getCoreRowModel, getExpandedRowModel, getPaginationRowModel, getSortedRowModel, useReactTable, } from '@tanstack/react-table';
26
+ import React, { useRef } from 'react';
27
+ import IconButton from '../IconButton';
28
+ import { ChevronDownIcon, ChevronRightIcon } from '@radix-ui/react-icons';
29
+ import Checkbox from '../Checkbox';
30
+ function IndeterminateCheckbox(_a) {
31
+ var indeterminate = _a.indeterminate, checked = _a.checked, disabled = _a.disabled, onChange = _a.onChange;
32
+ var ref = useRef();
33
+ return (_jsx(Checkbox, { ref: ref, id: "checkbox", checked: checked, disabled: disabled, onCheckedChange: onChange, indeterminate: indeterminate }));
34
+ }
35
+ export var useGrid = function (_a) {
36
+ var _b, _c;
37
+ var props = __rest(_a, []);
38
+ var _d = React.useState([]), sorting = _d[0], setSorting = _d[1];
39
+ var _e = React.useState({}), expanded = _e[0], setExpanded = _e[1];
40
+ var _f = React.useState({}), rowSelection = _f[0], setRowSelection = _f[1];
41
+ var columnHelper = createColumnHelper();
42
+ var columnsData = (_b = props === null || props === void 0 ? void 0 : props.columns) === null || _b === void 0 ? void 0 : _b.map(function (el) {
43
+ return columnHelper.accessor(el.id, __assign({}, el));
44
+ });
45
+ if (props.enableExpanding) {
46
+ var firstcell_1 = columnsData[0].cell;
47
+ columnsData[0] = __assign(__assign({}, columnsData[0]), { cell: function (props) {
48
+ var _a;
49
+ return (_jsxs("div", { className: "flex", style: { paddingLeft: "".concat(props.row.depth * 10, "px") }, children: [props.row.getCanExpand() ? (_jsx(IconButton, { onClick: props.row.getToggleExpandedHandler(), appearance: "ghost", className: "h-3 w-3", color: (_a = props.color) !== null && _a !== void 0 ? _a : 'red', children: props.row.getIsExpanded() ? _jsx(ChevronDownIcon, {}) : _jsx(ChevronRightIcon, {}) })) : (_jsx(_Fragment, {})), _jsx("div", { children: firstcell_1 ? firstcell_1(props) : props.getValue() })] }));
50
+ } });
51
+ }
52
+ if (props.enableRowSelection) {
53
+ columnsData === null || columnsData === void 0 ? void 0 : columnsData.unshift({
54
+ id: 'select',
55
+ header: function (_a) {
56
+ var table = _a.table;
57
+ return (_jsx("div", { className: "header-checkbox", children: _jsx(IndeterminateCheckbox, { checked: table.getIsAllRowsSelected() || table.getIsSomeRowsSelected(),
58
+ indeterminate: table.getIsSomeRowsSelected(),
59
+ onChange: table.toggleAllRowsSelected }) }));
60
+ },
61
+ cell: function (_a) {
62
+ var row = _a.row;
63
+ return (_jsx("div", { className: "px-1", style: { paddingLeft: "".concat(row.depth * 10, "px") }, children: _jsx(IndeterminateCheckbox, { checked: row.getIsSelected(),
64
+ disabled: !row.getCanSelect(),
65
+ indeterminate: row.getIsSomeSelected(),
66
+ onChange: row.getToggleSelectedHandler() }) }));
67
+ },
68
+ });
69
+ }
70
+ var reactTableProps = __assign(__assign({ state: { sorting: sorting, rowSelection: rowSelection, expanded: expanded } }, props), { data: props.data, columns: columnsData, color: (_c = props.color) !== null && _c !== void 0 ? _c : 'red', paginateExpandedRows: true, enableExpanding: !!props.enableExpanding, getSubRows: function (row) { return row.subRows; }, onExpandedChange: setExpanded, onSortingChange: setSorting, onRowSelectionChange: setRowSelection, getSortedRowModel: getSortedRowModel(), getCoreRowModel: getCoreRowModel(), getExpandedRowModel: getExpandedRowModel() });
71
+ if (props.enableRowPagination) {
72
+ reactTableProps['getPaginationRowModel'] = getPaginationRowModel();
73
+ }
74
+ return useReactTable(reactTableProps);
75
+ };
@@ -4,10 +4,10 @@ import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
4
4
  export interface HoverCardContentProps extends VariantProps<typeof hoverCardContentVariants> {
5
5
  }
6
6
  export declare const hoverCardContentVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | "large" | "x-large" | null | undefined;
9
9
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
- weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
10
+ weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
11
11
  color?: string | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<Omit<HoverCardTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -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++) {
@@ -23,16 +24,25 @@ var __rest = (this && this.__rest) || function (s, e) {
23
24
  import { jsx as _jsx } from "react/jsx-runtime";
24
25
  import { createContext } from 'react';
25
26
  import { HoverCard as HoverCardTheme, Theme } from '@radix-ui/themes';
27
+ import { useTheme } from '../../../lib/theme';
28
+ import { MAIN_COLOR } from '../../../lib/color/constants';
26
29
  export var HoverCardContext = createContext({
27
30
  radius: 'medium',
28
31
  size: 'medium',
29
32
  scaling: '100%',
30
33
  weight: 'medium',
31
- color: 'red',
34
+ color: MAIN_COLOR,
32
35
  });
33
36
  export var HoverCardRoot = function (_a) {
34
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"]);
35
- var contextValue = { radius: radius, size: size, scaling: scaling, weight: weight, color: color };
38
+ var theme = useTheme().theme;
39
+ var contextValue = {
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,
44
+ size: size,
45
+ };
36
46
  return (_jsx(Theme, { children: _jsx(HoverCardContext.Provider, { value: contextValue, children: _jsx(HoverCardTheme.Root, __assign({}, props, { children: children })) }) }));
37
47
  };
38
48
  HoverCardRoot.displayName = 'HoverCard.Root';
@@ -1,6 +1,7 @@
1
+ /// <reference types="react" />
1
2
  declare const HoverCard: {
2
3
  Root: {
3
- ({ children, radius, size, scaling, weight, color, ...props }: import("react").ComponentPropsWithoutRef<import("react").FC<import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps>> & import("./HoverCardRoot").HoverCardProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ children, radius, size, scaling, weight, color, ...props }: import("@radix-ui/themes/dist/cjs/components/hover-card").RootProps & import("./HoverCardRoot").HoverCardProps): import("react/jsx-runtime").JSX.Element;
4
5
  displayName: string;
5
6
  };
6
7
  Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/hover-card").TriggerProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -6,7 +6,7 @@ export interface IconButtonProps extends VariantProps<typeof iconButtonVariants>
6
6
  size?: ISize;
7
7
  }
8
8
  declare const iconButtonVariants: (props?: ({
9
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
10
10
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
11
  size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
12
12
  color?: string | 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++) {
@@ -25,6 +26,8 @@ import React, { Children, forwardRef } from 'react';
25
26
  import { cva } from 'class-variance-authority';
26
27
  import { scalingVariants, radiusVariants, primaryColorStyle, appearanceStyle } from '../../../lib/constants';
27
28
  import { cn } from '../../../lib/utils/utils';
29
+ import { useTheme } from '../../../lib/theme';
30
+ import { MAIN_COLOR } from '../../../lib/color/constants';
28
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", {
29
32
  variants: {
30
33
  radius: __assign({}, radiusVariants['base']),
@@ -42,7 +45,7 @@ var iconButtonVariants = cva("grid place-content-center transition-colors focus:
42
45
  radius: 'medium',
43
46
  scaling: '100%',
44
47
  size: 'medium',
45
- color: 'red',
48
+ color: MAIN_COLOR,
46
49
  },
47
50
  });
48
51
  var iconSize = {
@@ -53,10 +56,17 @@ var iconSize = {
53
56
  'x-large': 20,
54
57
  };
55
58
  export var IconButton = forwardRef(function (_a, ref) {
56
- 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"]);
60
+ var theme = useTheme().theme;
57
61
  var width = iconSize[size];
58
62
  var height = iconSize[size];
59
- var buttonClassName = cn(iconButtonVariants({ radius: radius, scaling: scaling, size: size, color: color }), appearanceStyle(appearance, color, true), className);
63
+ var iconButtonStyle = {
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,
67
+ size: size,
68
+ };
69
+ var buttonClassName = cn(iconButtonVariants(iconButtonStyle), appearanceStyle(appearance, iconButtonStyle.color, true), className);
60
70
  return (_jsx("button", __assign({ ref: ref, className: buttonClassName }, props, { children: Children.map(children, function (child) { return React.cloneElement(child, { width: width, height: height }); }) })));
61
71
  });
62
72
  IconButton.displayName = 'IconButton';
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
3
3
  export interface InsetProps extends VariantProps<typeof insetVariants> {
4
4
  }
5
5
  declare const insetVariants: (props?: ({
6
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
6
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
7
7
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
8
8
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
9
9
  export declare const Inset: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").InsetProps & React.RefAttributes<HTMLDivElement>, "ref"> & InsetProps & React.RefAttributes<HTMLDivElement>>;
@@ -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 { Inset as InsetTheme, Theme } from '@radix-ui/themes';
27
28
  import { scalingVariants } from '../../../lib/constants';
28
29
  import { cn } from '../../../lib/utils/utils';
30
+ import { useTheme } from '../../../lib/theme';
29
31
  var insetVariants = cva('border-[1px] border-slate-6 dark:border-slateDark-6 text-slate-12 dark:text-slateDark-12', {
30
32
  variants: {
31
33
  radius: {
@@ -44,7 +46,12 @@ var insetVariants = cva('border-[1px] border-slate-6 dark:border-slateDark-6 tex
44
46
  });
45
47
  export var Inset = forwardRef(function (_a, ref) {
46
48
  var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, props = __rest(_a, ["children", "className", "radius", "scaling"]);
47
- return (_jsx(Theme, { children: _jsx(InsetTheme, __assign({ ref: ref, className: cn(insetVariants({ radius: radius, scaling: scaling }), className) }, props, { children: children })) }));
49
+ var theme = useTheme().theme;
50
+ var insetStyle = {
51
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
52
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
53
+ };
54
+ return (_jsx(Theme, { children: _jsx(InsetTheme, __assign({ ref: ref, className: cn(insetVariants(insetStyle), className) }, props, { children: children })) }));
48
55
  });
49
56
  Inset.displayName = 'Inset';
50
57
  export default Inset;
@@ -1,15 +1,16 @@
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
- weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
13
+ weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
13
14
  size?: "small" | "medium" | "large" | null | undefined;
14
15
  color?: string | null | undefined;
15
16
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -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,7 +27,8 @@ import React from 'react';
26
27
  import { cn } from '../../../lib/utils/utils';
27
28
  import { cva } from 'class-variance-authority';
28
29
  import { scalingVariants, textColorStyle, weightVariants } from '../../../lib/constants';
29
- var labeVariants = cva('text-slate-12', {
30
+ import { useTheme } from '../../../lib/theme';
31
+ var labelVariants = cva('flex text-slate-12', {
30
32
  variants: {
31
33
  scaling: __assign({}, scalingVariants),
32
34
  weight: __assign({}, weightVariants),
@@ -39,15 +41,24 @@ var labeVariants = cva('text-slate-12', {
39
41
  },
40
42
  defaultVariants: {
41
43
  scaling: '100%',
44
+ weight: 'regular',
42
45
  size: 'medium',
43
46
  color: 'black',
44
47
  },
45
48
  });
46
49
  export var Label = React.forwardRef(function (_a, forwardedRef) {
47
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"]);
48
- if (weight === 'medium' || weight === 'semibold')
49
- weight = 'bold';
50
- return (_jsx(LabelPrimitive.Root, __assign({}, rootProps, { ref: forwardedRef, className: cn('', labeVariants({ scaling: scaling, size: size, weight: weight, color: color }), className), children: children })));
51
+ var theme = useTheme().theme;
52
+ var labelStyle = {
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,
56
+ size: size,
57
+ };
58
+ if (labelStyle.weight === 'medium' || labelStyle.weight === 'semibold') {
59
+ labelStyle.weight = 'bold';
60
+ }
61
+ return (_jsx(LabelPrimitive.Root, __assign({ ref: forwardedRef, className: cn(labelVariants(labelStyle), className) }, rootProps, { children: children })));
51
62
  });
52
63
  Label.displayName = 'Label';
53
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
  });
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface MenubarContentProps extends VariantProps<typeof menubarContentVariants> {
5
5
  }
6
6
  export declare const menubarContentVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -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++) {
@@ -6,7 +6,7 @@ export interface MenubarItemProps extends VariantProps<typeof menubarItemVariant
6
6
  shortcut?: string;
7
7
  }
8
8
  export declare const menubarItemVariants: (props?: ({
9
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
10
10
  size?: "small" | "medium" | null | undefined;
11
11
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -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'
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface MenubarItemIndicatorProps extends VariantProps<typeof menubarItemIndicatorVariants> {
5
5
  }
6
6
  export declare const menubarItemIndicatorVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const MenubarItemIndicator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
@@ -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++) {
@@ -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] })));
@@ -10,7 +10,7 @@ export interface MenubarProps extends VariantProps<typeof menubarVariants>, Vari
10
10
  color?: IColor;
11
11
  }
12
12
  export declare const menubarVariants: (props?: ({
13
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
13
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
14
14
  size?: "small" | "medium" | null | undefined;
15
15
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
16
16
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
@@ -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++) {
@@ -21,11 +22,13 @@ var __rest = (this && this.__rest) || function (s, e) {
21
22
  return t;
22
23
  };
23
24
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import { createContext, forwardRef, useContext, useMemo, } from 'react';
25
+ import { createContext, forwardRef, useContext, } from 'react';
25
26
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
26
27
  import { cva } from 'class-variance-authority';
27
28
  import { cn } from '../../../lib/utils/utils';
28
29
  import { radiusVariants, scalingVariants } from '../../../lib/constants';
30
+ import { useTheme } from '../../../lib/theme';
31
+ import { MAIN_COLOR } from '../../../lib/color/constants';
29
32
  export var menubarVariants = cva('flex p-1 shadow bg-white dark:bg-slateDark-1', {
30
33
  variants: {
31
34
  radius: __assign({}, radiusVariants['base']),
@@ -44,7 +47,7 @@ var MenubarContext = createContext({
44
47
  radius: 'medium',
45
48
  scaling: '100%',
46
49
  size: 'medium',
47
- color: 'red',
50
+ color: MAIN_COLOR,
48
51
  appearance: 'ghost',
49
52
  itemAppearance: 'solid',
50
53
  });
@@ -52,9 +55,18 @@ export var useMenubarContext = function () {
52
55
  return useContext(MenubarContext);
53
56
  };
54
57
  export var MenubarRoot = forwardRef(function (_a, ref) {
55
- 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"]);
56
- var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color, appearance: appearance, itemAppearance: itemAppearance }); }, [radius, size, scaling, color, appearance, itemAppearance]);
57
- var menuClassName = cn(menubarVariants({ radius: radius, scaling: scaling, size: size }), appearance === 'solid' && "bg-".concat(color, "-9 dark:bg-$").concat(color, "Dark-9"), className);
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"]);
60
+ var theme = useTheme().theme;
61
+ var contextValue = {
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,
65
+ size: size,
66
+ appearance: appearance,
67
+ itemAppearance: itemAppearance,
68
+ };
69
+ var menuClassName = cn(menubarVariants(contextValue), appearance === 'solid' && "bg-".concat(contextValue.color, "-9 dark:bg-$").concat(contextValue.color, "Dark-9"), className);
58
70
  return (_jsx(MenubarContext.Provider, { value: contextValue, children: _jsx(MenubarPrimitive.Root, __assign({ ref: ref, className: menuClassName }, props, { children: children })) }));
59
71
  });
60
72
  MenubarRoot.displayName = 'Menubar.Root';
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface MenubarSubContentProps extends VariantProps<typeof menubarSubContentVariants> {
5
5
  }
6
6
  export declare const menubarSubContentVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarSubContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -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)) {
@@ -6,7 +6,7 @@ export interface MenubarTriggerProps extends VariantProps<typeof menubarTriggerV
6
6
  }
7
7
  export declare const menubarTriggerVariants: (props?: ({
8
8
  size?: "small" | "medium" | null | undefined;
9
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
10
10
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
11
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
12
12
  export declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -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
+ /// <reference types="react" />
1
2
  declare const Menubar: {
2
3
  Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-menubar").MenubarProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./MenubarRoot").MenubarProps & import("react").RefAttributes<HTMLDivElement>>;
3
4
  Menu: import("react").ForwardRefExoticComponent<import("@radix-ui/react-menubar").MenubarMenuProps & {
@@ -5,7 +5,7 @@ export interface NavigationMenuContentProps extends VariantProps<typeof navigati
5
5
  isShowIcon?: boolean;
6
6
  }
7
7
  export declare const navigationMenuContentVariants: (props?: ({
8
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
8
+ radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
9
9
  size?: "small" | "medium" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;