@lotte-innovate/ui-component-test 0.0.89 → 0.0.97

Sign up to get free protection for your applications and to get access to all the features.
Files changed (702) hide show
  1. package/README.md +108 -19
  2. package/dist/globals.css +3 -3
  3. package/dist/lib/Typography/Header/index.d.ts +6 -4
  4. package/dist/lib/Typography/Header/index.js +2 -1
  5. package/dist/lib/Typography/Header/index.mjs +2 -1
  6. package/dist/lib/Typography/Header/index.mjs.map +1 -1
  7. package/dist/lib/Typography/Text/index.js +1 -0
  8. package/dist/lib/Typography/Text/index.mjs +1 -0
  9. package/dist/lib/Typography/Text/index.mjs.map +1 -1
  10. package/dist/lib/color/constants.d.ts +1 -15
  11. package/dist/lib/color/constants.js +1 -32
  12. package/dist/lib/color/constants.mjs +1 -1
  13. package/dist/lib/color/constants.mjs.map +1 -1
  14. package/dist/lib/components/Accordion/index.d.ts +2 -1
  15. package/dist/lib/components/Accordion/index.js +21 -4
  16. package/dist/lib/components/Accordion/index.mjs +2 -1
  17. package/dist/lib/components/Accordion/index.mjs.map +1 -1
  18. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  19. package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
  20. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +2 -1
  21. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
  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/AlertDialogCancel.mjs +1 -0
  25. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
  26. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +3 -3
  27. package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
  28. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +2 -1
  29. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
  30. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +1 -1
  31. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
  32. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -0
  33. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
  34. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +11 -7
  35. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -1
  36. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -1
  37. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +1 -1
  38. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
  39. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -0
  40. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
  41. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
  42. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
  43. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +2 -1
  44. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
  45. package/dist/lib/components/AlertDialog/index.d.ts +1 -0
  46. package/dist/lib/components/AlertDialog/index.js +1 -1
  47. package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
  48. package/dist/lib/components/AspectRatio/index.d.ts +1 -1
  49. package/dist/lib/components/AspectRatio/index.js +4 -1
  50. package/dist/lib/components/AspectRatio/index.mjs +2 -1
  51. package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
  52. package/dist/lib/components/Avatar/index.d.ts +4 -4
  53. package/dist/lib/components/Avatar/index.js +14 -5
  54. package/dist/lib/components/Avatar/index.mjs +2 -1
  55. package/dist/lib/components/Avatar/index.mjs.map +1 -1
  56. package/dist/lib/components/Badge/index.d.ts +3 -3
  57. package/dist/lib/components/Badge/index.js +14 -3
  58. package/dist/lib/components/Badge/index.mjs +2 -1
  59. package/dist/lib/components/Badge/index.mjs.map +1 -1
  60. package/dist/lib/components/BarChart/index.d.ts +1 -1
  61. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  62. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  63. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  64. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  65. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  66. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  67. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  68. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  69. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  70. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  71. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  72. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  73. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  74. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  75. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  76. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  77. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  78. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  79. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  80. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  81. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  82. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  83. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  84. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  85. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  86. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  87. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  88. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  89. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  90. package/dist/lib/components/Breadcrumb/index.js +17 -0
  91. package/dist/lib/components/Breadcrumb/index.mjs +2 -0
  92. package/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  93. package/dist/lib/components/BubbleChart/index.d.ts +1 -1
  94. package/dist/lib/components/BubbleChart/index.js +1 -1
  95. package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  96. package/dist/lib/components/Button/index.d.ts +3 -3
  97. package/dist/lib/components/Button/index.js +14 -3
  98. package/dist/lib/components/Button/index.mjs +2 -1
  99. package/dist/lib/components/Button/index.mjs.map +1 -1
  100. package/dist/lib/components/Callout/CalloutIcon.d.ts +3 -3
  101. package/dist/lib/components/Callout/CalloutIcon.js +1 -0
  102. package/dist/lib/components/Callout/CalloutIcon.mjs +1 -0
  103. package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
  104. package/dist/lib/components/Callout/CalloutRoot.d.ts +4 -4
  105. package/dist/lib/components/Callout/CalloutRoot.js +11 -3
  106. package/dist/lib/components/Callout/CalloutRoot.mjs +2 -1
  107. package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
  108. package/dist/lib/components/Callout/CalloutText.d.ts +2 -2
  109. package/dist/lib/components/Callout/CalloutText.js +1 -0
  110. package/dist/lib/components/Callout/CalloutText.mjs +1 -0
  111. package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
  112. package/dist/lib/components/Callout/index.d.ts +1 -0
  113. package/dist/lib/components/Card/index.d.ts +3 -3
  114. package/dist/lib/components/Card/index.js +9 -1
  115. package/dist/lib/components/Card/index.mjs +2 -1
  116. package/dist/lib/components/Card/index.mjs.map +1 -1
  117. package/dist/lib/components/Checkbox/index.d.ts +3 -3
  118. package/dist/lib/components/Checkbox/index.js +12 -3
  119. package/dist/lib/components/Checkbox/index.mjs +2 -1
  120. package/dist/lib/components/Checkbox/index.mjs.map +1 -1
  121. package/dist/lib/components/CheckboxCard/index.d.ts +3 -3
  122. package/dist/lib/components/CheckboxCard/index.js +9 -1
  123. package/dist/lib/components/CheckboxCard/index.mjs +2 -1
  124. package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
  125. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
  126. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
  127. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -1
  128. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +1 -1
  129. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +13 -3
  130. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -1
  131. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
  132. package/dist/lib/components/CheckboxGroup/index.d.ts +2 -1
  133. package/dist/lib/components/Collapsible/index.d.ts +21 -0
  134. package/dist/lib/components/Collapsible/index.js +75 -0
  135. package/dist/lib/components/Collapsible/index.mjs +3 -0
  136. package/dist/lib/components/Collapsible/index.mjs.map +1 -0
  137. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
  138. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
  139. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -1
  140. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +2 -2
  141. package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
  142. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -0
  143. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
  144. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +2 -2
  145. package/dist/lib/components/ContextMenu/ContextMenuItem.js +4 -2
  146. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +2 -1
  147. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
  148. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  149. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
  150. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
  151. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
  152. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +1 -1
  153. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
  154. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -0
  155. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
  156. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
  157. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
  158. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -1
  159. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
  160. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +2 -1
  161. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -1
  162. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +13 -3
  163. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -1
  164. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -1
  165. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +1 -1
  166. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +1 -1
  167. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
  168. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +2 -2
  169. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
  170. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -0
  171. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
  172. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
  173. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +2 -1
  174. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -1
  175. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +1 -1
  176. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +1 -1
  177. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
  178. package/dist/lib/components/ContextMenu/index.d.ts +1 -0
  179. package/dist/lib/components/DataList/DataListItem.d.ts +1 -1
  180. package/dist/lib/components/DataList/DataListItem.js +1 -0
  181. package/dist/lib/components/DataList/DataListItem.mjs +1 -0
  182. package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
  183. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  184. package/dist/lib/components/DataList/DataListLabel.js +1 -0
  185. package/dist/lib/components/DataList/DataListLabel.mjs +1 -0
  186. package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
  187. package/dist/lib/components/DataList/DataListRoot.d.ts +1 -1
  188. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  189. package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
  190. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
  191. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  192. package/dist/lib/components/DataList/DataListValue.js +1 -0
  193. package/dist/lib/components/DataList/DataListValue.mjs +1 -0
  194. package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
  195. package/dist/lib/components/DataList/index.d.ts +1 -0
  196. package/dist/lib/components/Dialog/DialogAction.d.ts +2 -2
  197. package/dist/lib/components/Dialog/DialogAction.js +3 -1
  198. package/dist/lib/components/Dialog/DialogAction.mjs +2 -1
  199. package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
  200. package/dist/lib/components/Dialog/DialogCancel.d.ts +2 -2
  201. package/dist/lib/components/Dialog/DialogCancel.js +1 -0
  202. package/dist/lib/components/Dialog/DialogCancel.mjs +1 -0
  203. package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
  204. package/dist/lib/components/Dialog/DialogContent.d.ts +3 -3
  205. package/dist/lib/components/Dialog/DialogContent.js +1 -0
  206. package/dist/lib/components/Dialog/DialogContent.mjs +1 -0
  207. package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
  208. package/dist/lib/components/Dialog/DialogDescription.d.ts +1 -1
  209. package/dist/lib/components/Dialog/DialogDescription.js +2 -1
  210. package/dist/lib/components/Dialog/DialogDescription.mjs +2 -1
  211. package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
  212. package/dist/lib/components/Dialog/DialogRoot.js +11 -2
  213. package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
  214. package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
  215. package/dist/lib/components/Dialog/DialogSlot.d.ts +1 -1
  216. package/dist/lib/components/Dialog/DialogSlot.js +1 -0
  217. package/dist/lib/components/Dialog/DialogSlot.mjs +1 -0
  218. package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
  219. package/dist/lib/components/Dialog/DialogTitle.d.ts +1 -1
  220. package/dist/lib/components/Dialog/DialogTitle.js +1 -0
  221. package/dist/lib/components/Dialog/DialogTitle.mjs +1 -0
  222. package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
  223. package/dist/lib/components/Dialog/index.d.ts +2 -1
  224. package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
  225. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +2 -2
  226. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
  227. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
  228. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
  229. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
  230. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
  231. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -1
  232. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +2 -2
  233. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
  234. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -0
  235. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
  236. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  237. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +4 -2
  238. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +2 -1
  239. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
  240. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  241. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
  242. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
  243. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
  244. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
  245. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -0
  246. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
  247. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
  248. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
  249. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -1
  250. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +12 -2
  251. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
  252. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
  253. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
  254. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +1 -1
  255. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
  256. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
  257. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +2 -1
  258. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -1
  259. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  260. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
  261. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
  262. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
  263. package/dist/lib/components/DropdownMenu/index.d.ts +2 -1
  264. package/dist/lib/components/Editor/index.d.ts +12 -0
  265. package/dist/lib/components/Editor/index.js +53 -0
  266. package/dist/lib/components/Editor/index.mjs +3 -0
  267. package/dist/lib/components/Editor/index.mjs.map +1 -0
  268. package/dist/lib/components/Footer/index.d.ts +11 -0
  269. package/dist/lib/components/Footer/index.js +57 -0
  270. package/dist/lib/components/Footer/index.mjs +3 -0
  271. package/dist/lib/components/Footer/index.mjs.map +1 -0
  272. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  273. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  274. package/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  275. package/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  276. package/dist/lib/components/Gnb/GnbLogo.d.ts +9 -0
  277. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  278. package/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  279. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  280. package/dist/lib/components/Gnb/GnbMenu.d.ts +11 -0
  281. package/dist/lib/components/Gnb/GnbMenu.js +49 -0
  282. package/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  283. package/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  284. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  285. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  286. package/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  287. package/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  288. package/dist/lib/components/Gnb/index.d.ts +8 -0
  289. package/dist/lib/components/Gnb/index.js +11 -0
  290. package/dist/lib/components/Gnb/index.mjs +2 -0
  291. package/dist/lib/components/Gnb/index.mjs.map +1 -0
  292. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  293. package/dist/lib/components/Grid/Pagination.js +17 -0
  294. package/dist/lib/components/Grid/Pagination.mjs +2 -0
  295. package/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  296. package/dist/lib/components/Grid/index.d.ts +7 -0
  297. package/dist/lib/components/Grid/index.js +59 -0
  298. package/dist/lib/components/Grid/index.mjs +3 -0
  299. package/dist/lib/components/Grid/index.mjs.map +1 -0
  300. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  301. package/dist/lib/components/Grid/useGrid.js +75 -0
  302. package/dist/lib/components/Grid/useGrid.mjs +3 -0
  303. package/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  304. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +3 -3
  305. package/dist/lib/components/HoverCard/HoverCardContent.js +2 -1
  306. package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -0
  307. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
  308. package/dist/lib/components/HoverCard/HoverCardRoot.js +12 -2
  309. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
  310. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
  311. package/dist/lib/components/HoverCard/index.d.ts +2 -1
  312. package/dist/lib/components/IconButton/index.d.ts +3 -3
  313. package/dist/lib/components/IconButton/index.js +14 -4
  314. package/dist/lib/components/IconButton/index.mjs +2 -1
  315. package/dist/lib/components/IconButton/index.mjs.map +1 -1
  316. package/dist/lib/components/Inset/index.d.ts +2 -2
  317. package/dist/lib/components/Inset/index.js +8 -1
  318. package/dist/lib/components/Inset/index.mjs +2 -1
  319. package/dist/lib/components/Inset/index.mjs.map +1 -1
  320. package/dist/lib/components/Label/index.d.ts +6 -5
  321. package/dist/lib/components/Label/index.js +15 -4
  322. package/dist/lib/components/Label/index.mjs +2 -1
  323. package/dist/lib/components/Label/index.mjs.map +1 -1
  324. package/dist/lib/components/LineChart/index.d.ts +1 -1
  325. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
  326. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +2 -1
  327. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -1
  328. package/dist/lib/components/Menubar/MenubarContent.d.ts +2 -2
  329. package/dist/lib/components/Menubar/MenubarContent.js +1 -0
  330. package/dist/lib/components/Menubar/MenubarContent.mjs +1 -0
  331. package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
  332. package/dist/lib/components/Menubar/MenubarItem.d.ts +2 -2
  333. package/dist/lib/components/Menubar/MenubarItem.js +4 -2
  334. package/dist/lib/components/Menubar/MenubarItem.mjs +2 -1
  335. package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
  336. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  337. package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
  338. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -0
  339. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
  340. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  341. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
  342. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
  343. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
  344. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +2 -1
  345. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -1
  346. package/dist/lib/components/Menubar/MenubarRoot.d.ts +2 -2
  347. package/dist/lib/components/Menubar/MenubarRoot.js +17 -5
  348. package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
  349. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
  350. package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
  351. package/dist/lib/components/Menubar/MenubarSeparator.mjs +1 -1
  352. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
  353. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  354. package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
  355. package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -0
  356. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
  357. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
  358. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +2 -1
  359. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -1
  360. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +2 -2
  361. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
  362. package/dist/lib/components/Menubar/MenubarTrigger.mjs +2 -1
  363. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
  364. package/dist/lib/components/Menubar/index.d.ts +1 -0
  365. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  366. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
  367. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +2 -1
  368. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
  369. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  370. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
  371. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  372. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +2 -2
  373. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
  374. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +2 -1
  375. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
  376. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +2 -2
  377. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
  378. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +2 -1
  379. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
  380. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +13 -3
  381. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
  382. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
  383. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +2 -2
  384. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
  385. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +2 -1
  386. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
  387. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  388. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
  389. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +2 -1
  390. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
  391. package/dist/lib/components/NavigationMenu/index.d.ts +1 -0
  392. package/dist/lib/components/PieChart/index.d.ts +1 -1
  393. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  394. package/dist/lib/components/Popover/PopoverClose.js +1 -0
  395. package/dist/lib/components/Popover/PopoverClose.mjs +1 -0
  396. package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
  397. package/dist/lib/components/Popover/PopoverContent.d.ts +3 -3
  398. package/dist/lib/components/Popover/PopoverContent.js +1 -0
  399. package/dist/lib/components/Popover/PopoverContent.mjs +1 -0
  400. package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
  401. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  402. package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
  403. package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
  404. package/dist/lib/components/Popover/index.d.ts +2 -1
  405. package/dist/lib/components/Progress/index.d.ts +3 -3
  406. package/dist/lib/components/Progress/index.js +14 -3
  407. package/dist/lib/components/Progress/index.mjs +2 -1
  408. package/dist/lib/components/Progress/index.mjs.map +1 -1
  409. package/dist/lib/components/RadarChart/index.d.ts +1 -1
  410. package/dist/lib/components/RadarChart/index.js +1 -1
  411. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  412. package/dist/lib/components/Radio/index.d.ts +1 -1
  413. package/dist/lib/components/Radio/index.js +11 -4
  414. package/dist/lib/components/Radio/index.mjs +2 -1
  415. package/dist/lib/components/Radio/index.mjs.map +1 -1
  416. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +2 -2
  417. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
  418. package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -0
  419. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
  420. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +1 -1
  421. package/dist/lib/components/RadioCards/RadioCardsRoot.js +13 -3
  422. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
  423. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
  424. package/dist/lib/components/RadioCards/index.d.ts +1 -0
  425. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +1 -1
  426. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
  427. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -0
  428. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
  429. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
  430. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +12 -3
  431. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
  432. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
  433. package/dist/lib/components/RadioGroup/index.d.ts +1 -0
  434. package/dist/lib/components/ScrollArea/index.js +4 -1
  435. package/dist/lib/components/ScrollArea/index.mjs +2 -1
  436. package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
  437. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +2 -2
  438. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +11 -3
  439. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +2 -1
  440. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
  441. package/dist/lib/components/SegmentedControl/index.d.ts +1 -0
  442. package/dist/lib/components/SegmentedControl/index.js +1 -1
  443. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
  444. package/dist/lib/components/Select/index.d.ts +4 -2
  445. package/dist/lib/components/Select/index.js +33 -13
  446. package/dist/lib/components/Select/index.mjs +2 -1
  447. package/dist/lib/components/Select/index.mjs.map +1 -1
  448. package/dist/lib/components/Separator/index.d.ts +1 -1
  449. package/dist/lib/components/Separator/index.js +10 -2
  450. package/dist/lib/components/Separator/index.mjs +2 -1
  451. package/dist/lib/components/Separator/index.mjs.map +1 -1
  452. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  453. package/dist/lib/components/Skeleton/index.js +5 -1
  454. package/dist/lib/components/Skeleton/index.mjs +2 -1
  455. package/dist/lib/components/Skeleton/index.mjs.map +1 -1
  456. package/dist/lib/components/Slider/index.d.ts +3 -2
  457. package/dist/lib/components/Slider/index.js +12 -5
  458. package/dist/lib/components/Slider/index.mjs +2 -1
  459. package/dist/lib/components/Slider/index.mjs.map +1 -1
  460. package/dist/lib/components/Spinner/index.d.ts +1 -1
  461. package/dist/lib/components/Spinner/index.js +4 -1
  462. package/dist/lib/components/Spinner/index.mjs +2 -1
  463. package/dist/lib/components/Spinner/index.mjs.map +1 -1
  464. package/dist/lib/components/TabNav/index.js +6 -3
  465. package/dist/lib/components/TabNav/index.mjs +2 -1
  466. package/dist/lib/components/TabNav/index.mjs.map +1 -1
  467. package/dist/lib/components/Table/index.d.ts +2 -2
  468. package/dist/lib/components/Table/index.js +9 -3
  469. package/dist/lib/components/Table/index.mjs +2 -1
  470. package/dist/lib/components/Table/index.mjs.map +1 -1
  471. package/dist/lib/components/Tabs/index.d.ts +2 -1
  472. package/dist/lib/components/Tabs/index.js +6 -3
  473. package/dist/lib/components/Tabs/index.mjs +2 -1
  474. package/dist/lib/components/Tabs/index.mjs.map +1 -1
  475. package/dist/lib/components/TextArea/index.d.ts +3 -3
  476. package/dist/lib/components/TextArea/index.js +11 -3
  477. package/dist/lib/components/TextArea/index.mjs +2 -1
  478. package/dist/lib/components/TextArea/index.mjs.map +1 -1
  479. package/dist/lib/components/TextField/index.d.ts +1 -1
  480. package/dist/lib/components/TextField/index.js +12 -4
  481. package/dist/lib/components/TextField/index.mjs +2 -1
  482. package/dist/lib/components/TextField/index.mjs.map +1 -1
  483. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  484. package/dist/lib/components/Timeline/TimelineConnector.js +36 -0
  485. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  486. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  487. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  488. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  489. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  490. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  491. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  492. package/dist/lib/components/Timeline/TimelineIcon.js +42 -0
  493. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  494. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  495. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  496. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  497. package/dist/lib/components/Timeline/TimelineTime.d.ts +6 -0
  498. package/dist/lib/components/Timeline/TimelineTime.js +34 -0
  499. package/dist/lib/components/Timeline/TimelineTitle.d.ts +6 -0
  500. package/dist/lib/components/Timeline/TimelineTitle.js +34 -0
  501. package/dist/lib/components/Timeline/index.d.ts +13 -0
  502. package/dist/lib/components/Timeline/index.js +21 -0
  503. package/dist/lib/components/Toast/ToastActionButton.d.ts +3 -3
  504. package/dist/lib/components/Toast/ToastActionButton.js +8 -3
  505. package/dist/lib/components/Toast/ToastActionButton.mjs +2 -1
  506. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
  507. package/dist/lib/components/Toast/ToastDescription.d.ts +2 -2
  508. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  509. package/dist/lib/components/Toast/ToastDescription.mjs +1 -0
  510. package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
  511. package/dist/lib/components/Toast/ToastRoot.d.ts +4 -4
  512. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  513. package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
  514. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
  515. package/dist/lib/components/Toast/ToastTitle.d.ts +2 -2
  516. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  517. package/dist/lib/components/Toast/ToastTitle.mjs +1 -0
  518. package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
  519. package/dist/lib/components/Toast/index.d.ts +1 -0
  520. package/dist/lib/components/Toggle/ToggleWithText.d.ts +3 -3
  521. package/dist/lib/components/Toggle/ToggleWithText.js +13 -2
  522. package/dist/lib/components/Toggle/ToggleWithText.mjs +2 -1
  523. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
  524. package/dist/lib/components/Toggle/index.d.ts +4 -4
  525. package/dist/lib/components/Toggle/index.js +14 -3
  526. package/dist/lib/components/Toggle/index.mjs +2 -1
  527. package/dist/lib/components/Toggle/index.mjs.map +1 -1
  528. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
  529. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  530. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +2 -1
  531. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
  532. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
  533. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +13 -3
  534. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
  535. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
  536. package/dist/lib/components/ToggleGroup/index.d.ts +1 -0
  537. package/dist/lib/components/ToggleSwitch/index.d.ts +3 -3
  538. package/dist/lib/components/ToggleSwitch/index.js +13 -2
  539. package/dist/lib/components/ToggleSwitch/index.mjs +2 -1
  540. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
  541. package/dist/lib/components/Tooltip/index.d.ts +1 -1
  542. package/dist/lib/components/Tooltip/index.js +14 -9
  543. package/dist/lib/components/Tooltip/index.mjs +2 -1
  544. package/dist/lib/components/Tooltip/index.mjs.map +1 -1
  545. package/dist/lib/components/index.d.ts +7 -0
  546. package/dist/lib/components/index.js +8 -0
  547. package/dist/lib/constants.d.ts +6 -7
  548. package/dist/lib/constants.js +19 -31
  549. package/dist/lib/constants.mjs +1 -1
  550. package/dist/lib/constants.mjs.map +1 -1
  551. package/dist/lib/index.d.ts +1 -0
  552. package/dist/lib/index.js +1 -0
  553. package/dist/lib/index.mjs +1 -1
  554. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  555. package/dist/lib/theme/ThemeProvider.js +29 -0
  556. package/dist/lib/theme/ThemeProvider.mjs +3 -0
  557. package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  558. package/dist/lib/theme/index.d.ts +2 -0
  559. package/dist/lib/theme/index.js +2 -0
  560. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  561. package/dist/lib/types.d.ts +9 -0
  562. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  563. package/dist/lib/utils/classPrefixes.js +26 -0
  564. package/dist/lib/utils/useDarkMode.js +1 -0
  565. package/dist/lib/utils/useDarkMode.mjs +1 -0
  566. package/dist/lib/utils/useDarkMode.mjs.map +1 -1
  567. package/dist/public/tinymce/icons/default/icons.d.ts +0 -0
  568. package/dist/public/tinymce/icons/default/icons.js +195 -0
  569. package/dist/public/tinymce/icons/default/index.d.ts +1 -0
  570. package/dist/public/tinymce/icons/default/index.js +8 -0
  571. package/dist/public/tinymce/models/dom/index.d.ts +1 -0
  572. package/dist/public/tinymce/models/dom/index.js +8 -0
  573. package/dist/public/tinymce/models/dom/model.d.ts +0 -0
  574. package/dist/public/tinymce/models/dom/model.js +7988 -0
  575. package/dist/public/tinymce/plugins/advlist/index.d.ts +1 -0
  576. package/dist/public/tinymce/plugins/advlist/index.js +8 -0
  577. package/dist/public/tinymce/plugins/advlist/plugin.d.ts +0 -0
  578. package/dist/public/tinymce/plugins/advlist/plugin.js +255 -0
  579. package/dist/public/tinymce/plugins/autolink/index.d.ts +1 -0
  580. package/dist/public/tinymce/plugins/autolink/index.js +8 -0
  581. package/dist/public/tinymce/plugins/autolink/plugin.d.ts +0 -0
  582. package/dist/public/tinymce/plugins/autolink/plugin.js +221 -0
  583. package/dist/public/tinymce/plugins/code/index.d.ts +1 -0
  584. package/dist/public/tinymce/plugins/code/index.js +8 -0
  585. package/dist/public/tinymce/plugins/code/plugin.d.ts +0 -0
  586. package/dist/public/tinymce/plugins/code/plugin.js +77 -0
  587. package/dist/public/tinymce/plugins/codesample/index.d.ts +1 -0
  588. package/dist/public/tinymce/plugins/codesample/index.js +8 -0
  589. package/dist/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
  590. package/dist/public/tinymce/plugins/codesample/plugin.js +2462 -0
  591. package/dist/public/tinymce/plugins/image/index.d.ts +1 -0
  592. package/dist/public/tinymce/plugins/image/index.js +8 -0
  593. package/dist/public/tinymce/plugins/image/plugin.d.ts +0 -0
  594. package/dist/public/tinymce/plugins/image/plugin.js +1523 -0
  595. package/dist/public/tinymce/plugins/link/index.d.ts +1 -0
  596. package/dist/public/tinymce/plugins/link/index.js +8 -0
  597. package/dist/public/tinymce/plugins/link/plugin.d.ts +0 -0
  598. package/dist/public/tinymce/plugins/link/plugin.js +1246 -0
  599. package/dist/public/tinymce/plugins/lists/index.d.ts +1 -0
  600. package/dist/public/tinymce/plugins/lists/index.js +8 -0
  601. package/dist/public/tinymce/plugins/lists/plugin.d.ts +0 -0
  602. package/dist/public/tinymce/plugins/lists/plugin.js +2191 -0
  603. package/dist/public/tinymce/plugins/table/index.d.ts +1 -0
  604. package/dist/public/tinymce/plugins/table/index.js +8 -0
  605. package/dist/public/tinymce/plugins/table/plugin.d.ts +0 -0
  606. package/dist/public/tinymce/plugins/table/plugin.js +3399 -0
  607. package/dist/public/tinymce/skins/content/default/content.d.ts +0 -0
  608. package/dist/public/tinymce/skins/content/default/content.js +3 -0
  609. package/dist/public/tinymce/skins/ui/oxide/content.d.ts +0 -0
  610. package/dist/public/tinymce/skins/ui/oxide/content.inline.d.ts +0 -0
  611. package/dist/public/tinymce/skins/ui/oxide/content.inline.js +3 -0
  612. package/dist/public/tinymce/skins/ui/oxide/content.js +3 -0
  613. package/dist/public/tinymce/skins/ui/oxide/skin.d.ts +0 -0
  614. package/dist/public/tinymce/skins/ui/oxide/skin.js +3 -0
  615. package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.d.ts +0 -0
  616. package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.js +3 -0
  617. package/dist/public/tinymce/skins/ui/oxide-dark/content.d.ts +0 -0
  618. package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.d.ts +0 -0
  619. package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.js +3 -0
  620. package/dist/public/tinymce/skins/ui/oxide-dark/content.js +3 -0
  621. package/dist/public/tinymce/skins/ui/oxide-dark/skin.d.ts +0 -0
  622. package/dist/public/tinymce/skins/ui/oxide-dark/skin.js +3 -0
  623. package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.d.ts +0 -0
  624. package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +3 -0
  625. package/dist/public/tinymce/themes/silver/index.d.ts +1 -0
  626. package/dist/public/tinymce/themes/silver/index.js +8 -0
  627. package/dist/public/tinymce/themes/silver/theme.d.ts +0 -0
  628. package/dist/public/tinymce/themes/silver/theme.js +29731 -0
  629. package/dist/public/tinymce/tinymce.d.ts +1 -0
  630. package/dist/public/tinymce/tinymce.js +31974 -0
  631. package/dist/tailwind.config.js +13 -50
  632. package/dist/tsconfig.tsbuildinfo +1 -1
  633. package/package.json +13 -6
  634. package/public/tinymce/CHANGELOG.md +3453 -0
  635. package/public/tinymce/README.md +73 -0
  636. package/public/tinymce/bower.json +27 -0
  637. package/public/tinymce/composer.json +52 -0
  638. package/public/tinymce/icons/default/icons.js +194 -0
  639. package/public/tinymce/icons/default/icons.min.js +1 -0
  640. package/public/tinymce/icons/default/index.js +7 -0
  641. package/public/tinymce/license.txt +21 -0
  642. package/public/tinymce/models/dom/index.js +7 -0
  643. package/public/tinymce/models/dom/model.js +8040 -0
  644. package/public/tinymce/models/dom/model.min.js +4 -0
  645. package/public/tinymce/package.json +32 -0
  646. package/public/tinymce/plugins/advlist/index.js +7 -0
  647. package/public/tinymce/plugins/advlist/plugin.js +259 -0
  648. package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
  649. package/public/tinymce/plugins/autolink/index.js +7 -0
  650. package/public/tinymce/plugins/autolink/plugin.js +228 -0
  651. package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
  652. package/public/tinymce/plugins/code/index.js +7 -0
  653. package/public/tinymce/plugins/code/plugin.js +85 -0
  654. package/public/tinymce/plugins/code/plugin.min.js +4 -0
  655. package/public/tinymce/plugins/codesample/index.js +7 -0
  656. package/public/tinymce/plugins/codesample/plugin.js +2463 -0
  657. package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
  658. package/public/tinymce/plugins/image/index.js +7 -0
  659. package/public/tinymce/plugins/image/plugin.js +1505 -0
  660. package/public/tinymce/plugins/image/plugin.min.js +4 -0
  661. package/public/tinymce/plugins/link/index.js +7 -0
  662. package/public/tinymce/plugins/link/plugin.js +1242 -0
  663. package/public/tinymce/plugins/link/plugin.min.js +4 -0
  664. package/public/tinymce/plugins/lists/index.js +7 -0
  665. package/public/tinymce/plugins/lists/plugin.js +2172 -0
  666. package/public/tinymce/plugins/lists/plugin.min.js +4 -0
  667. package/public/tinymce/plugins/table/index.js +7 -0
  668. package/public/tinymce/plugins/table/plugin.js +3462 -0
  669. package/public/tinymce/plugins/table/plugin.min.js +4 -0
  670. package/public/tinymce/skins/content/default/content.css +61 -0
  671. package/public/tinymce/skins/content/default/content.js +2 -0
  672. package/public/tinymce/skins/content/default/content.min.css +1 -0
  673. package/public/tinymce/skins/ui/oxide/content.css +785 -0
  674. package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
  675. package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
  676. package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  677. package/public/tinymce/skins/ui/oxide/content.js +2 -0
  678. package/public/tinymce/skins/ui/oxide/content.min.css +1 -0
  679. package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
  680. package/public/tinymce/skins/ui/oxide/skin.js +2 -0
  681. package/public/tinymce/skins/ui/oxide/skin.min.css +1 -0
  682. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  683. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  684. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  685. package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
  686. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  687. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  688. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  689. package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
  690. package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  691. package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  692. package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  693. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  694. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  695. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  696. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  697. package/public/tinymce/themes/silver/index.js +7 -0
  698. package/public/tinymce/themes/silver/theme.js +30775 -0
  699. package/public/tinymce/themes/silver/theme.min.js +384 -0
  700. package/public/tinymce/tinymce.d.ts +3238 -0
  701. package/public/tinymce/tinymce.js +31779 -0
  702. package/public/tinymce/tinymce.min.js +384 -0
@@ -0,0 +1,59 @@
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
+ import { bgColorStyle } from '../../../lib/constants';
10
+ import { cva } from 'class-variance-authority';
11
+ export var GridVariants = cva("", {
12
+ variants: {
13
+ color: bgColorStyle(),
14
+ },
15
+ defaultVariants: {
16
+ color: 'red',
17
+ },
18
+ });
19
+ function Grid(_a) {
20
+ var _b, _c, _d;
21
+ var table = _a.table;
22
+ return (_jsx("div", { style: { direction: table.options.columnResizeDirection }, children: _jsxs("div", { className: "overflow-x-auto", children: [_jsxs(Table.Root, { style: {
23
+ // width: table.getCenterTotalSize(),
24
+ }, 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
25
+ .getHeaderGroups()
26
+ .map(function (headerGroup) {
27
+ return (_jsx(Table.Row, { children: headerGroup.headers.map(function (header) {
28
+ var _a;
29
+ return (_jsxs(Table.ColumnHeaderCell, { colSpan: header.colSpan,
30
+ style: {
31
+ width: header.getSize(),
32
+ }, children: [header.isPlaceholder ? null : (_jsxs("div", { className: header.column.getCanSort() ? 'flex cursor-pointer select-none' : '', onClick: header.column.getToggleSortingHandler(), title: header.column.getCanSort()
33
+ ? header.column.getNextSortingOrder() === 'asc'
34
+ ? 'Sort ascending'
35
+ : header.column.getNextSortingOrder() === 'desc'
36
+ ? 'Sort descending'
37
+ : 'Clear sort'
38
+ : 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(); },
39
+ onMouseDown: header.getResizeHandler(),
40
+ onTouchStart: header.getResizeHandler(),
41
+ className: cn('absolute top-0 h-full w-[3px] bg-slateA-3 cursor-col-resize select-none touch-none right-0 opacity-0 hover:opacity-100', table.options.columnResizeDirection, header.column.getIsResizing()
42
+ ? GridVariants({
43
+ color: table.options.color,
44
+ })
45
+ : ''),
46
+ style: {
47
+ transform: header.column.getIsResizing()
48
+ ? "translateX(".concat((table.options.columnResizeDirection === 'rtl' ? -1 : 1) *
49
+ ((_a = table.getState().columnSizingInfo.deltaOffset) !== null && _a !== void 0 ? _a : 0), "px)")
50
+ : '',
51
+ } })] }, header.id));
52
+ }) }, headerGroup.id));
53
+ }) }), _jsx(Table.Body, { children: table
54
+ .getRowModel()
55
+ .rows.map(function (row) { return (_jsx(Table.Row, { children: row.getVisibleCells().map(function (cell) { return (_jsx(Table.Cell, { style: {
56
+ width: cell.column.getSize(),
57
+ }, 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 })] }) }));
58
+ }
59
+ export default Grid;
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as o}from"react/jsx-runtime";import{flexRender as t}from"@tanstack/react-table";import n from"../Table/index.mjs";import{ChevronUpIcon as i,ChevronDownIcon as r}from"@radix-ui/react-icons";import l from"./Pagination.mjs";import{cn as a}from"../../utils/utils.mjs";import{bgColorStyle as c}from"../../constants.mjs";import{cva as s}from"class-variance-authority";var d=s("",{variants:{color:c()},defaultVariants:{color:"red"}});function u(c){var s,u,m,p=c.table;return e("div",{style:{direction:p.options.columnResizeDirection},children:o("div",{className:"overflow-x-auto",children:[o(n.Root,{style:{},appearance:null===(s=p.options)||void 0===s?void 0:s.appearance,radius:null===(u=p.options)||void 0===u?void 0:u.radius,children:[e(n.Header,{children:p.getHeaderGroups().map((function(l){return e(n.Row,{children:l.headers.map((function(l){var c;return o(n.ColumnHeaderCell,{colSpan:l.colSpan,style:{width:l.getSize()},children:[l.isPlaceholder?null:o("div",{className:l.column.getCanSort()?"flex cursor-pointer select-none":"",onClick:l.column.getToggleSortingHandler(),title:l.column.getCanSort()?"asc"===l.column.getNextSortingOrder()?"Sort ascending":"desc"===l.column.getNextSortingOrder()?"Sort descending":"Clear sort":void 0,children:[t(l.column.columnDef.header,l.getContext()),"asc"==l.column.getIsSorted()?e(i,{}):"desc"==l.column.getIsSorted()?e(r,{}):null]}),e("div",{onDoubleClick:function(){return l.column.resetSize()},onMouseDown:l.getResizeHandler(),onTouchStart:l.getResizeHandler(),className:a("absolute top-0 h-full w-[3px] bg-slateA-3 cursor-col-resize select-none touch-none right-0 opacity-0 hover:opacity-100",p.options.columnResizeDirection,l.column.getIsResizing()?d({color:p.options.color}):""),style:{transform:l.column.getIsResizing()?"translateX(".concat(("rtl"===p.options.columnResizeDirection?-1:1)*(null!==(c=p.getState().columnSizingInfo.deltaOffset)&&void 0!==c?c:0),"px)"):""}})]},l.id)}))},l.id)}))}),e(n.Body,{children:p.getRowModel().rows.map((function(o){return e(n.Row,{children:o.getVisibleCells().map((function(o){return e(n.Cell,{style:{width:o.column.getSize()},className:"h-[30px]",children:t(o.column.columnDef.cell,o.getContext())},o.id)}))},o.id)}))})]}),e("div",{className:"h-2"}),(null===(m=p.options)||void 0===m?void 0:m.enableRowPagination)&&e(l,{table:p})]})})}export{d as GridVariants,u as default};
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -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
+ };
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{jsxs as e,jsx as n,Fragment as t}from"react/jsx-runtime";import{createColumnHelper as o,getSortedRowModel as r,getCoreRowModel as a,getExpandedRowModel as l,getPaginationRowModel as c,useReactTable as d}from"@tanstack/react-table";import i,{useRef as s}from"react";import{IconButton as g}from"../IconButton/index.mjs";import{ChevronDownIcon as p,ChevronRightIcon as u}from"@radix-ui/react-icons";import{Checkbox as h}from"../Checkbox/index.mjs";var m=function(){return m=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},m.apply(this,arguments)},f=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};function w(e){var t=e.indeterminate,o=e.checked,r=e.disabled,a=e.onChange,l=s();return n(h,{ref:l,id:"checkbox",checked:o,disabled:r,onCheckedChange:a,indeterminate:t})}var b=function(s){var h,b,x=f(s,[]),v=i.useState([]),S=v[0],y=v[1],R=i.useState({}),C=R[0],O=R[1],k=i.useState({}),E=k[0],j=k[1],I=o(),P=null===(h=null==x?void 0:x.columns)||void 0===h?void 0:h.map((function(e){return I.accessor(e.id,m({},e))}));if(x.enableExpanding){var M=P[0].cell;P[0]=m(m({},P[0]),{cell:function(o){var r;return e("div",{className:"flex",style:{paddingLeft:"".concat(10*o.row.depth,"px")},children:[o.row.getCanExpand()?n(g,{onClick:o.row.getToggleExpandedHandler(),appearance:"ghost",className:"h-3 w-3",color:null!==(r=o.color)&&void 0!==r?r:"red",children:o.row.getIsExpanded()?n(p,{}):n(u,{})}):n(t,{}),n("div",{children:M?M(o):o.getValue()})]})}})}x.enableRowSelection&&(null==P||P.unshift({id:"select",header:function(e){var t=e.table;return n("div",{className:"header-checkbox",children:n(w,{checked:t.getIsAllRowsSelected()||t.getIsSomeRowsSelected(),indeterminate:t.getIsSomeRowsSelected(),onChange:t.toggleAllRowsSelected})})},cell:function(e){var t=e.row;return n("div",{className:"px-1",style:{paddingLeft:"".concat(10*t.depth,"px")},children:n(w,{checked:t.getIsSelected(),disabled:!t.getCanSelect(),indeterminate:t.getIsSomeSelected(),onChange:t.getToggleSelectedHandler()})})}}));var N=m(m({state:{sorting:S,rowSelection:E,expanded:C}},x),{data:x.data,columns:P,color:null!==(b=x.color)&&void 0!==b?b:"red",paginateExpandedRows:!0,enableExpanding:!!x.enableExpanding,getSubRows:function(e){return e.subRows},onExpandedChange:O,onSortingChange:y,onRowSelectionChange:j,getSortedRowModel:r(),getCoreRowModel:a(),getExpandedRowModel:l()});return x.enableRowPagination&&(N.getPaginationRowModel=c()),d(N)};export{b as useGrid};
3
+ //# sourceMappingURL=useGrid.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGrid.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -4,9 +4,9 @@ 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;
8
- size?: "small" | "medium" | "large" | "x-large" | null | undefined;
9
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
7
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
8
+ size?: "small" | "large" | "medium" | "x-large" | null | undefined;
9
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
10
10
  weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
11
11
  color?: string | 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++) {
@@ -22,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
23
  };
23
24
  import { jsx as _jsx } from "react/jsx-runtime";
24
25
  import { forwardRef, useContext } from 'react';
25
- import { primaryColorStyle, radiusVariants, weightVariants, scalingVariants } from '../../../lib/constants';
26
+ import { primaryColorStyle, radiusVariants, weightVariants, scalingVariants, } from '../../../lib/constants';
26
27
  import { cva } from 'class-variance-authority';
27
28
  import { HoverCard as HoverCardTheme } from '@radix-ui/themes';
28
29
  import { HoverCardContext } from './HoverCardRoot';
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  import{jsx as r}from"react/jsx-runtime";import{forwardRef as e,useContext as t}from"react";import{radiusVariants as i,scalingVariants as a,weightVariants as o,primaryColorStyle as s}from"../../constants.mjs";import{cva as n}from"class-variance-authority";import{HoverCard as l}from"@radix-ui/themes";import{HoverCardContext as m}from"./HoverCardRoot.mjs";import{cn as c}from"../../utils/utils.mjs";var p=function(){return p=Object.assign||function(r){for(var e,t=1,i=arguments.length;t<i;t++)for(var a in e=arguments[t])Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},p.apply(this,arguments)},u=function(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(i=Object.getOwnPropertySymbols(r);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(r,i[a])&&(t[i[a]]=r[i[a]])}return t},f=n("",{variants:{radius:p({},i.base),size:{small:"text-xs w-[250px]",medium:"text-sm w-[300px]",large:"text-base w-[350px]","x-large":"text-lg w-[400px]"},scaling:p({},a),weight:p({},o),color:s()},defaultVariants:{radius:"medium",size:"medium",scaling:"100%",weight:"medium",color:"white"}}),d=e((function(e,i){var a=e.className,o=e.children,s=u(e,["className","children"]),n=t(m),d=n.radius,g=n.size,x=n.scaling,h=n.weight,y=n.color,w="2";return"small"===g&&(w="1"),"large"===g&&(w="3"),r(l.Content,p({ref:i},s,{size:w,className:c(f({size:g,scaling:x,weight:h,radius:d,color:y}),"x-large"===g&&"rt-r-size-4",a),children:o}))}));d.displayName="HoverCard.Content";export{d as HoverCardContent,f as hoverCardContentVariants};
2
3
  //# sourceMappingURL=HoverCardContent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"HoverCardContent.mjs","sources":["../../../lib/components/HoverCard/HoverCardContent.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useContext } from 'react';\nimport { primaryColorStyle, radiusVariants, weightVariants, scalingVariants } from '../../../lib/constants';\nimport { cva } from 'class-variance-authority';\nimport { HoverCard as HoverCardTheme } from '@radix-ui/themes';\nimport { HoverCardContext } from './HoverCardRoot';\nimport { cn } from '../../../lib/utils/utils';\nexport var hoverCardContentVariants = cva('', {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n small: 'text-xs w-[250px]',\n medium: 'text-sm w-[300px]',\n large: 'text-base w-[350px]',\n 'x-large': 'text-lg w-[400px]',\n },\n scaling: __assign({}, scalingVariants),\n weight: __assign({}, weightVariants),\n color: primaryColorStyle(),\n },\n defaultVariants: {\n radius: 'medium',\n size: 'medium',\n scaling: '100%',\n weight: 'medium',\n color: 'white',\n },\n});\nexport var HoverCardContent = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useContext(HoverCardContext), radius = _b.radius, size = _b.size, scaling = _b.scaling, weight = _b.weight, color = _b.color;\n var sizeTheme = '2';\n if (size === 'small')\n sizeTheme = '1';\n if (size === 'large')\n sizeTheme = '3';\n return (_jsx(HoverCardTheme.Content, __assign({ ref: ref }, props, { size: sizeTheme, className: cn(hoverCardContentVariants({ size: size, scaling: scaling, weight: weight, radius: radius, color: color }), size === 'x-large' && 'rt-r-size-4', className), children: children })));\n});\nHoverCardContent.displayName = 'HoverCard.Content';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","hoverCardContentVariants","cva","variants","radius","radiusVariants","size","small","medium","large","scaling","scalingVariants","weight","weightVariants","color","primaryColorStyle","defaultVariants","HoverCardContent","forwardRef","_a","ref","className","children","props","_b","useContext","HoverCardContext","sizeTheme","_jsx","HoverCardTheme","Content","cn","displayName"],"mappings":"8YAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAA2BC,EAAI,GAAI,CAC1CC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,KAAM,CACFC,MAAO,oBACPC,OAAQ,oBACRC,MAAO,sBACP,UAAW,qBAEfC,QAAS7B,EAAS,CAAE,EAAE8B,GACtBC,OAAQ/B,EAAS,CAAE,EAAEgC,GACrBC,MAAOC,KAEXC,gBAAiB,CACbZ,OAAQ,SACRE,KAAM,SACNI,QAAS,OACTE,OAAQ,SACRE,MAAO,WAGJG,EAAmBC,GAAW,SAAUC,EAAIC,GACnD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQ3B,EAAOuB,EAAI,CAAC,YAAa,aACnFK,EAAKC,EAAWC,GAAmBtB,EAASoB,EAAGpB,OAAQE,EAAOkB,EAAGlB,KAAMI,EAAUc,EAAGd,QAASE,EAASY,EAAGZ,OAAQE,EAAQU,EAAGV,MAC5Ha,EAAY,IAKhB,MAJa,UAATrB,IACAqB,EAAY,KACH,UAATrB,IACAqB,EAAY,KACRC,EAAKC,EAAeC,QAASjD,EAAS,CAAEuC,IAAKA,GAAOG,EAAO,CAAEjB,KAAMqB,EAAWN,UAAWU,EAAG9B,EAAyB,CAAEK,KAAMA,EAAMI,QAASA,EAASE,OAAQA,EAAQR,OAAQA,EAAQU,MAAOA,IAAmB,YAATR,GAAsB,cAAee,GAAYC,SAAUA,IAC7Q,IACAL,EAAiBe,YAAc"}
1
+ {"version":3,"file":"HoverCardContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -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,2 +1,3 @@
1
- import{jsx as r}from"react/jsx-runtime";import{createContext as e}from"react";import{Theme as t,HoverCard as i}from"@radix-ui/themes";var o=function(){return o=Object.assign||function(r){for(var e,t=1,i=arguments.length;t<i;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},o.apply(this,arguments)},n=function(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(r);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(r,i[o])&&(t[i[o]]=r[i[o]])}return t},a=e({radius:"medium",size:"medium",scaling:"100%",weight:"medium",color:"red"}),c=function(e){var c=e.children,l=e.radius,s=e.size,u=e.scaling,p=e.weight,d=e.color,m=n(e,["children","radius","size","scaling","weight","color"]),f={radius:l,size:s,scaling:u,weight:p,color:d};return r(t,{children:r(a.Provider,{value:f,children:r(i.Root,o({},m,{children:c}))})})};c.displayName="HoverCard.Root";export{a as HoverCardContext,c as HoverCardRoot};
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import{createContext as r}from"react";import{Theme as t,HoverCard as o}from"@radix-ui/themes";import{useTheme as i}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as n}from"../../color/constants.mjs";var l=function(){return l=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},l.apply(this,arguments)},a=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)r.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(t[o[i]]=e[o[i]])}return t},c=r({radius:"medium",size:"medium",scaling:"100%",weight:"medium",color:n}),m=function(r){var n=r.children,m=r.radius,s=r.size,u=r.scaling,h=r.weight,p=r.color,d=a(r,["children","radius","size","scaling","weight","color"]),f=i().theme,g={radius:null!=m?m:f.themeRadius,scaling:null!=u?u:f.themeScaling,color:null!=p?p:f.themeColor,weight:null!=h?h:f.themeWeight,size:s};return e(t,{children:e(c.Provider,{value:g,children:e(o.Root,l({},d,{children:n}))})})};m.displayName="HoverCard.Root";export{c as HoverCardContext,m as HoverCardRoot};
2
3
  //# sourceMappingURL=HoverCardRoot.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"HoverCardRoot.mjs","sources":["../../../lib/components/HoverCard/HoverCardRoot.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { createContext } from 'react';\nimport { HoverCard as HoverCardTheme, Theme } from '@radix-ui/themes';\nexport var HoverCardContext = createContext({\n radius: 'medium',\n size: 'medium',\n scaling: '100%',\n weight: 'medium',\n color: 'red',\n});\nexport var HoverCardRoot = function (_a) {\n 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\"]);\n var contextValue = { radius: radius, size: size, scaling: scaling, weight: weight, color: color };\n return (_jsx(Theme, { children: _jsx(HoverCardContext.Provider, { value: contextValue, children: _jsx(HoverCardTheme.Root, __assign({}, props, { children: children })) }) }));\n};\nHoverCardRoot.displayName = 'HoverCard.Root';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","HoverCardContext","createContext","radius","size","scaling","weight","color","HoverCardRoot","_a","children","props","contextValue","_jsx","Theme","Provider","value","HoverCardTheme","Root","displayName"],"mappings":"sIAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIWiB,EAAmBC,EAAc,CACxCC,OAAQ,SACRC,KAAM,SACNC,QAAS,OACTC,OAAQ,SACRC,MAAO,QAEAC,EAAgB,SAAUC,GACjC,IAAIC,EAAWD,EAAGC,SAAUP,EAASM,EAAGN,OAAQC,EAAOK,EAAGL,KAAMC,EAAUI,EAAGJ,QAASC,EAASG,EAAGH,OAAQC,EAAQE,EAAGF,MAAOI,EAAQf,EAAOa,EAAI,CAAC,WAAY,SAAU,OAAQ,UAAW,SAAU,UAC/LG,EAAe,CAAET,OAAQA,EAAQC,KAAMA,EAAMC,QAASA,EAASC,OAAQA,EAAQC,MAAOA,GAC1F,OAAQM,EAAKC,EAAO,CAAEJ,SAAUG,EAAKZ,EAAiBc,SAAU,CAAEC,MAAOJ,EAAcF,SAAUG,EAAKI,EAAeC,KAAMrC,EAAS,CAAE,EAAE8B,EAAO,CAAED,SAAUA,QAC/J,EACAF,EAAcW,YAAc"}
1
+ {"version":3,"file":"HoverCardRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -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,9 +6,9 @@ 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;
10
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
- size?: "small" | "medium" | "large" | "x-small" | "x-large" | null | undefined;
9
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
10
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
11
+ size?: "small" | "large" | "medium" | "x-small" | "x-large" | null | undefined;
12
12
  color?: string | null | undefined;
13
13
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
14
14
  export declare const IconButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & IconButtonProps & 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++) {
@@ -23,8 +24,10 @@ var __rest = (this && this.__rest) || function (s, e) {
23
24
  import { jsx as _jsx } from "react/jsx-runtime";
24
25
  import React, { Children, forwardRef } from 'react';
25
26
  import { cva } from 'class-variance-authority';
26
- import { scalingVariants, radiusVariants, primaryColorStyle, appearanceStyle } from '../../../lib/constants';
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';
@@ -1,2 +1,3 @@
1
- import{jsx as r}from"react/jsx-runtime";import e,{forwardRef as t,Children as a}from"react";import{cva as o}from"class-variance-authority";import{radiusVariants as i,scalingVariants as n,primaryColorStyle as l,appearanceStyle as s}from"../../constants.mjs";import{cn as c}from"../../utils/utils.mjs";var p=function(){return p=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},p.apply(this,arguments)},m=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(r);o<a.length;o++)e.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(r,a[o])&&(t[a[o]]=r[a[o]])}return t},u=o("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",{variants:{radius:p({},i.base),scaling:p({},n),size:{"x-small":"p-1 w-5 h-5",small:"p-[6px] w-6 h-6",medium:"p-2 w-8 h-8",large:"p-[11px] w-10 h-10","x-large":"p-[14px] w-12 h-12"},color:l()},defaultVariants:{radius:"medium",scaling:"100%",size:"medium",color:"red"}}),d={"x-small":12,small:14,medium:16,large:18,"x-large":20},f=t((function(t,o){var i=t.children,n=t.className,l=t.radius,f=t.size,h=void 0===f?"medium":f,g=t.scaling,b=t.color,y=void 0===b?"red":b,v=t.appearance,x=void 0===v?"solid":v,O=m(t,["children","className","radius","size","scaling","color","appearance"]),w=d[h],j=d[h],z=c(u({radius:l,scaling:g,size:h,color:y}),s(x,y,!0),n);return r("button",p({ref:o,className:z},O,{children:a.map(i,(function(r){return e.cloneElement(r,{width:w,height:j})}))}))}));f.displayName="IconButton";export{f as IconButton,f as default};
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import r,{forwardRef as t,Children as o}from"react";import{cva as a}from"class-variance-authority";import{radiusVariants as l,scalingVariants as n,primaryColorStyle as i,appearanceStyle as s}from"../../constants.mjs";import{cn as c}from"../../utils/utils.mjs";import{useTheme as m}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as p}from"../../color/constants.mjs";var u=function(){return u=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},u.apply(this,arguments)},d=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)r.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]])}return t},f=a("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",{variants:{radius:u({},l.base),scaling:u({},n),size:{"x-small":"p-1 w-5 h-5",small:"p-[6px] w-6 h-6",medium:"p-2 w-8 h-8",large:"p-[11px] w-10 h-10","x-large":"p-[14px] w-12 h-12"},color:i()},defaultVariants:{radius:"medium",scaling:"100%",size:"medium",color:p}}),h={"x-small":12,small:14,medium:16,large:18,"x-large":20},g=t((function(t,a){var l=t.children,n=t.className,i=t.radius,p=t.size,g=void 0===p?"medium":p,b=t.scaling,y=t.color,v=t.appearance,x=void 0===v?"solid":v,O=d(t,["children","className","radius","size","scaling","color","appearance"]),j=m().theme,w=h[g],z=h[g],P={radius:null!=i?i:j.themeRadius,scaling:null!=b?b:j.themeScaling,color:null!=y?y:j.themeColor,size:g},N=c(f(P),s(x,P.color,!0),n);return e("button",u({ref:a,className:N},O,{children:o.map(l,(function(e){return r.cloneElement(e,{width:w,height:z})}))}))}));g.displayName="IconButton";export{g as IconButton,g as default};
2
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/IconButton/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { Children, forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants, radiusVariants, primaryColorStyle, appearanceStyle } from '../../../lib/constants';\nimport { cn } from '../../../lib/utils/utils';\nvar 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\", {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n scaling: __assign({}, scalingVariants),\n size: {\n 'x-small': 'p-1 w-5 h-5',\n small: 'p-[6px] w-6 h-6',\n medium: 'p-2 w-8 h-8',\n large: 'p-[11px] w-10 h-10',\n 'x-large': 'p-[14px] w-12 h-12',\n },\n color: primaryColorStyle(),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n color: 'red',\n },\n});\nvar iconSize = {\n 'x-small': 12,\n small: 14,\n medium: 16,\n large: 18,\n 'x-large': 20,\n};\nexport var IconButton = forwardRef(function (_a, ref) {\n 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\"]);\n var width = iconSize[size];\n var height = iconSize[size];\n var buttonClassName = cn(iconButtonVariants({ radius: radius, scaling: scaling, size: size, color: color }), appearanceStyle(appearance, color, true), className);\n return (_jsx(\"button\", __assign({ ref: ref, className: buttonClassName }, props, { children: Children.map(children, function (child) { return React.cloneElement(child, { width: width, height: height }); }) })));\n});\nIconButton.displayName = 'IconButton';\nexport default IconButton;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","iconButtonVariants","cva","variants","radius","radiusVariants","scaling","scalingVariants","size","small","medium","large","color","primaryColorStyle","defaultVariants","iconSize","IconButton","forwardRef","_a","ref","children","className","_b","_c","_d","appearance","props","width","height","buttonClassName","cn","appearanceStyle","_jsx","Children","map","child","React","cloneElement","displayName"],"mappings":"4SAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAMIiB,EAAqBC,EAAI,+JAAgK,CACzLC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,QAASzB,EAAS,CAAE,EAAE0B,GACtBC,KAAM,CACF,UAAW,cACXC,MAAO,kBACPC,OAAQ,cACRC,MAAO,qBACP,UAAW,sBAEfC,MAAOC,KAEXC,gBAAiB,CACbV,OAAQ,SACRE,QAAS,OACTE,KAAM,SACNI,MAAO,SAGXG,EAAW,CACX,UAAW,GACXN,MAAO,GACPC,OAAQ,GACRC,MAAO,GACP,UAAW,IAEJK,EAAaC,GAAW,SAAUC,EAAIC,GAC7C,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWjB,EAASc,EAAGd,OAAQkB,EAAKJ,EAAGV,KAAMA,OAAc,IAAPc,EAAgB,SAAWA,EAAIhB,EAAUY,EAAGZ,QAASiB,EAAKL,EAAGN,MAAOA,OAAe,IAAPW,EAAgB,MAAQA,EAAIC,EAAKN,EAAGO,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAAQ9B,EAAOsB,EAAI,CAAC,WAAY,YAAa,SAAU,OAAQ,UAAW,QAAS,eACrVS,EAAQZ,EAASP,GACjBoB,EAASb,EAASP,GAClBqB,EAAkBC,EAAG7B,EAAmB,CAAEG,OAAQA,EAAQE,QAASA,EAASE,KAAMA,EAAMI,MAAOA,IAAUmB,EAAgBN,EAAYb,GAAO,GAAOS,GACvJ,OAAQW,EAAK,SAAUnD,EAAS,CAAEsC,IAAKA,EAAKE,UAAWQ,GAAmBH,EAAO,CAAEN,SAAUa,EAASC,IAAId,GAAU,SAAUe,GAAS,OAAOC,EAAMC,aAAaF,EAAO,CAAER,MAAOA,EAAOC,OAAQA,GAAU,MAC9M,IACAZ,EAAWsB,YAAc"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -3,8 +3,8 @@ 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;
7
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
6
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
7
+ scaling?: "100%" | "90%" | "95%" | "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>>;
10
10
  export default Inset;
@@ -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,2 +1,3 @@
1
- import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import{cva as t}from"class-variance-authority";import{Theme as a,Inset as n}from"@radix-ui/themes";import{scalingVariants as o}from"../../constants.mjs";import{cn as d}from"../../utils/utils.mjs";var s=function(){return s=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s.apply(this,arguments)},i=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(r);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(t[a[n]]=r[a[n]])}return t},l=t("border-[1px] border-slate-6 dark:border-slateDark-6 text-slate-12 dark:text-slateDark-12",{variants:{radius:{none:"rounded-none after:rounded-none",small:"rounded-[3px] after:rounded-[3px]",medium:"rounded after:rounded",large:"rounded-md after:rounded-md",full:"rounded-md after:rounded-md"},scaling:s({},o)},defaultVariants:{radius:"medium",scaling:"100%"}}),u=e((function(e,t){var o=e.children,u=e.className,m=e.radius,c=e.scaling,f=i(e,["children","className","radius","scaling"]);return r(a,{children:r(n,s({ref:t,className:d(l({radius:m,scaling:c}),u)},f,{children:o}))})}));u.displayName="Inset";export{u as Inset,u as default};
1
+ "use client";
2
+ import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import{cva as t}from"class-variance-authority";import{Theme as a,Inset as n}from"@radix-ui/themes";import{scalingVariants as o}from"../../constants.mjs";import{cn as d}from"../../utils/utils.mjs";import{useTheme as i}from"../../theme/ThemeProvider.mjs";var s=function(){return s=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s.apply(this,arguments)},l=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(r);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(t[a[n]]=r[a[n]])}return t},m=t("border-[1px] border-slate-6 dark:border-slateDark-6 text-slate-12 dark:text-slateDark-12",{variants:{radius:{none:"rounded-none after:rounded-none",small:"rounded-[3px] after:rounded-[3px]",medium:"rounded after:rounded",large:"rounded-md after:rounded-md",full:"rounded-md after:rounded-md"},scaling:s({},o)},defaultVariants:{radius:"medium",scaling:"100%"}}),u=e((function(e,t){var o=e.children,u=e.className,c=e.radius,f=e.scaling,p=l(e,["children","className","radius","scaling"]),h=i().theme,y={radius:null!=c?c:h.themeRadius,scaling:null!=f?f:h.themeScaling};return r(a,{children:r(n,s({ref:t,className:d(m(y),u)},p,{children:o}))})}));u.displayName="Inset";export{u as Inset,u as default};
2
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Inset/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { cva } from 'class-variance-authority';\nimport { Inset as InsetTheme, Theme } from '@radix-ui/themes';\nimport { scalingVariants } from '../../../lib/constants';\nimport { cn } from '../../../lib/utils/utils';\nvar insetVariants = cva('border-[1px] border-slate-6 dark:border-slateDark-6 text-slate-12 dark:text-slateDark-12', {\n variants: {\n radius: {\n none: 'rounded-none after:rounded-none',\n small: 'rounded-[3px] after:rounded-[3px]',\n medium: 'rounded after:rounded',\n large: 'rounded-md after:rounded-md',\n full: 'rounded-md after:rounded-md',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n },\n});\nexport var Inset = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, props = __rest(_a, [\"children\", \"className\", \"radius\", \"scaling\"]);\n return (_jsx(Theme, { children: _jsx(InsetTheme, __assign({ ref: ref, className: cn(insetVariants({ radius: radius, scaling: scaling }), className) }, props, { children: children })) }));\n});\nInset.displayName = 'Inset';\nexport default Inset;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","insetVariants","cva","variants","radius","none","small","medium","large","full","scaling","scalingVariants","defaultVariants","Inset","forwardRef","_a","ref","children","className","props","_jsx","Theme","InsetTheme","cn","displayName"],"mappings":"+QAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOIiB,EAAgBC,EAAI,2FAA4F,CAChHC,SAAU,CACNC,OAAQ,CACJC,KAAM,kCACNC,MAAO,oCACPC,OAAQ,wBACRC,MAAO,8BACPC,KAAM,+BAEVC,QAAS7B,EAAS,CAAE,EAAE8B,IAE1BC,gBAAiB,CACbR,OAAQ,SACRM,QAAS,UAGNG,EAAQC,GAAW,SAAUC,EAAIC,GACxC,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWd,EAASW,EAAGX,OAAQM,EAAUK,EAAGL,QAASS,EAAQvB,EAAOmB,EAAI,CAAC,WAAY,YAAa,SAAU,YACvJ,OAAQK,EAAKC,EAAO,CAAEJ,SAAUG,EAAKE,EAAYzC,EAAS,CAAEmC,IAAKA,EAAKE,UAAWK,EAAGtB,EAAc,CAAEG,OAAQA,EAAQM,QAASA,IAAYQ,IAAcC,EAAO,CAAEF,SAAUA,MAC9K,IACAJ,EAAMW,YAAc"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,16 +1,17 @@
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
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
+ declare const labelVariants: (props?: ({
12
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
12
13
  weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
13
- size?: "small" | "medium" | "large" | null | undefined;
14
+ size?: "small" | "large" | "medium" | null | undefined;
14
15
  color?: string | null | undefined;
15
16
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
16
17
  export declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & LabelProps & React.RefAttributes<HTMLLabelElement>>;
@@ -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,2 +1,3 @@
1
- import{jsx as r}from"react/jsx-runtime";import*as t from"@radix-ui/react-label";import e from"react";import{cn as a}from"../../utils/utils.mjs";import{cva as o}from"class-variance-authority";import{scalingVariants as i,weightVariants as l,textColorStyle as s}from"../../constants.mjs";var n=function(){return n=Object.assign||function(r){for(var t,e=1,a=arguments.length;e<a;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},n.apply(this,arguments)},c=function(r,t){var e={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&t.indexOf(a)<0&&(e[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(r);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(r,a[o])&&(e[a[o]]=r[a[o]])}return e},m=o("text-slate-12",{variants:{scaling:n({},i),weight:n({},l),size:{small:"text-xs",medium:"text-sm",large:"text-base"},color:s()},defaultVariants:{scaling:"100%",size:"medium",color:"black"}}),f=e.forwardRef((function(e,o){var i=e.className,l=e.scaling,s=e.weight,f=e.size,p=e.color,u=e.children,b=c(e,["className","scaling","weight","size","color","children"]);return"medium"!==s&&"semibold"!==s||(s="bold"),r(t.Root,n({},b,{ref:o,className:a("",m({scaling:l,size:f,weight:s,color:p}),i),children:u}))}));f.displayName="Label";export{f as Label,f as default};
1
+ "use client";
2
+ import{jsx as e}from"react/jsx-runtime";import*as t from"@radix-ui/react-label";import r from"react";import{cn as o}from"../../utils/utils.mjs";import{cva as i}from"class-variance-authority";import{scalingVariants as l,weightVariants as a,textColorStyle as n}from"../../constants.mjs";import{useTheme as s}from"../../theme/ThemeProvider.mjs";var m=function(){return m=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},m.apply(this,arguments)},c=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]])}return r},f=i("flex text-slate-12",{variants:{scaling:m({},l),weight:m({},a),size:{small:"text-xs",medium:"text-sm",large:"text-base"},color:n()},defaultVariants:{scaling:"100%",weight:"regular",size:"medium",color:"black"}}),u=r.forwardRef((function(r,i){var l=r.className,a=r.scaling,n=r.weight,u=r.size,h=r.color,p=r.children,g=c(r,["className","scaling","weight","size","color","children"]),d=s().theme,b={scaling:null!=a?a:d.themeScaling,weight:null!=n?n:d.themeWeight,color:null!=h?h:d.themeColor,size:u};return"medium"!==b.weight&&"semibold"!==b.weight||(b.weight="bold"),e(t.Root,m({ref:i,className:o(f(b),l)},g,{children:p}))}));u.displayName="Label";export{u as Label,u as default};
2
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../lib/components/Label/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport React from 'react';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants, textColorStyle, weightVariants } from '../../../lib/constants';\nvar labeVariants = cva('text-slate-12', {\n variants: {\n scaling: __assign({}, scalingVariants),\n weight: __assign({}, weightVariants),\n size: {\n small: 'text-xs',\n medium: 'text-sm',\n large: 'text-base',\n },\n color: textColorStyle(),\n },\n defaultVariants: {\n scaling: '100%',\n size: 'medium',\n color: 'black',\n },\n});\nexport var Label = React.forwardRef(function (_a, forwardedRef) {\n 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\"]);\n if (weight === 'medium' || weight === 'semibold')\n weight = 'bold';\n return (_jsx(LabelPrimitive.Root, __assign({}, rootProps, { ref: forwardedRef, className: cn('', labeVariants({ scaling: scaling, size: size, weight: weight, color: color }), className), children: children })));\n});\nLabel.displayName = 'Label';\nexport default Label;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","labeVariants","cva","variants","scaling","scalingVariants","weight","weightVariants","size","small","medium","large","color","textColorStyle","defaultVariants","Label","React","forwardRef","_a","forwardedRef","className","children","rootProps","_jsx","LabelPrimitive","Root","ref","cn","displayName"],"mappings":"6RAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAOIiB,EAAeC,EAAI,gBAAiB,CACpCC,SAAU,CACNC,QAASvB,EAAS,CAAE,EAAEwB,GACtBC,OAAQzB,EAAS,CAAE,EAAE0B,GACrBC,KAAM,CACFC,MAAO,UACPC,OAAQ,UACRC,MAAO,aAEXC,MAAOC,KAEXC,gBAAiB,CACbV,QAAS,OACTI,KAAM,SACNI,MAAO,WAGJG,EAAQC,EAAMC,YAAW,SAAUC,EAAIC,GAC9C,IAAIC,EAAYF,EAAGE,UAAWhB,EAAUc,EAAGd,QAASE,EAASY,EAAGZ,OAAQE,EAAOU,EAAGV,KAAMI,EAAQM,EAAGN,MAAOS,EAAWH,EAAGG,SAAUC,EAAY1B,EAAOsB,EAAI,CAAC,YAAa,UAAW,SAAU,OAAQ,QAAS,aAG7M,MAFe,WAAXZ,GAAkC,aAAXA,IACvBA,EAAS,QACLiB,EAAKC,EAAeC,KAAM5C,EAAS,CAAA,EAAIyC,EAAW,CAAEI,IAAKP,EAAcC,UAAWO,EAAG,GAAI1B,EAAa,CAAEG,QAASA,EAASI,KAAMA,EAAMF,OAAQA,EAAQM,MAAOA,IAAUQ,GAAYC,SAAUA,IACzM,IACAN,EAAMa,YAAc"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -34,7 +34,7 @@ export interface LineChartProps extends VariantProps<typeof lineChartVariants> {
34
34
  height?: string | number;
35
35
  }
36
36
  declare const lineChartVariants: (props?: ({
37
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
37
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
38
38
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
39
39
  declare const LineChart: {
40
40
  ({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react/jsx-runtime").JSX.Element;
@@ -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
  });