@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,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 } from "react/jsx-runtime";
25
+ import React, { createContext, useContext } from 'react';
26
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
27
+ import { cn } from '../../../lib/utils/utils';
28
+ import { cva } from 'class-variance-authority';
29
+ import { scalingVariants } from '../../../lib/constants';
30
+ import { useTheme } from '../../../lib/theme';
31
+ import { MAIN_COLOR } from '../../../lib/color/constants';
32
+ import { Cross2Icon, RowSpacingIcon } from '@radix-ui/react-icons';
33
+ import Toggle from '../Toggle';
34
+ var collapsibleVariants = cva('', {
35
+ variants: {
36
+ scaling: __assign({}, scalingVariants),
37
+ },
38
+ defaultVariants: {
39
+ scaling: '100%',
40
+ },
41
+ });
42
+ var CollapsibleContext = createContext({
43
+ scaling: '100%',
44
+ color: MAIN_COLOR,
45
+ });
46
+ export var useCollapsibleContext = function () {
47
+ return useContext(CollapsibleContext);
48
+ };
49
+ export var Root = React.forwardRef(function (_a, forwardedRef) {
50
+ var _b;
51
+ var className = _a.className, children = _a.children, scaling = _a.scaling, color = _a.color, rootProps = __rest(_a, ["className", "children", "scaling", "color"]);
52
+ var theme = useTheme().theme;
53
+ var contextValue = {
54
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
55
+ color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
56
+ };
57
+ return (_jsx(CollapsibleContext.Provider, { value: contextValue, children: _jsx(CollapsiblePrimitive.Root, __assign({ className: cn('w-[300px]', collapsibleVariants({ scaling: contextValue.scaling }), className) }, rootProps, { ref: forwardedRef, children: children })) }));
58
+ });
59
+ Root.displayName = 'Collapsible.Root';
60
+ export var Trigger = React.forwardRef(function (_a, forwardedRef) {
61
+ var className = _a.className, children = _a.children, scaling = _a.scaling, open = _a.open, color = _a.color, rootProps = __rest(_a, ["className", "children", "scaling", "open", "color"]);
62
+ return (_jsx(CollapsiblePrimitive.Trigger, __assign({ className: cn(className) }, rootProps, { ref: forwardedRef, children: children !== null && children !== void 0 ? children : (_jsx(Toggle, { radius: "full", appearance: "outline", color: color, children: open ? _jsx(Cross2Icon, {}) : _jsx(RowSpacingIcon, {}) })) })));
63
+ });
64
+ Trigger.displayName = 'Collapsible.Trigger';
65
+ export var Content = React.forwardRef(function (_a, forwardedRef) {
66
+ var className = _a.className, children = _a.children, scaling = _a.scaling, color = _a.color, rootProps = __rest(_a, ["className", "children", "scaling", "color"]);
67
+ return (_jsx(CollapsiblePrimitive.Content, __assign({ className: cn(className) }, rootProps, { ref: forwardedRef, children: children })));
68
+ });
69
+ Content.displayName = 'Collapsible.Content';
70
+ var Collapsible = {
71
+ Root: Root,
72
+ Trigger: Trigger,
73
+ Content: Content,
74
+ };
75
+ export default Collapsible;
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{jsx as r}from"react/jsx-runtime";import e,{createContext as o}from"react";import*as a from"@radix-ui/react-collapsible";import{cn as l}from"../../utils/utils.mjs";import{cva as n}from"class-variance-authority";import{scalingVariants as t}from"../../constants.mjs";import{useTheme as i}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as c}from"../../color/constants.mjs";import{Cross2Icon as s,RowSpacingIcon as m}from"@radix-ui/react-icons";import{Toggle as p}from"../Toggle/index.mjs";var f=function(){return f=Object.assign||function(r){for(var e,o=1,a=arguments.length;o<a;o++)for(var l in e=arguments[o])Object.prototype.hasOwnProperty.call(e,l)&&(r[l]=e[l]);return r},f.apply(this,arguments)},u=function(r,e){var o={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(o[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(a=Object.getOwnPropertySymbols(r);l<a.length;l++)e.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(r,a[l])&&(o[a[l]]=r[a[l]])}return o},d=n("",{variants:{scaling:f({},t)},defaultVariants:{scaling:"100%"}}),g=o({scaling:"100%",color:c}),h=e.forwardRef((function(e,o){var n,t=e.className,s=e.children,m=e.scaling,p=e.color,h=u(e,["className","children","scaling","color"]),v=i().theme,y={scaling:null!=m?m:v.themeScaling,color:null!==(n=null!=p?p:v.themeColor)&&void 0!==n?n:c};return r(g.Provider,{value:y,children:r(a.Root,f({className:l("w-[300px]",d({scaling:y.scaling}),t)},h,{ref:o,children:s}))})}));h.displayName="Collapsible.Root";var v=e.forwardRef((function(e,o){var n=e.className,t=e.children;e.scaling;var i=e.open,c=e.color,d=u(e,["className","children","scaling","open","color"]);return r(a.Trigger,f({className:l(n)},d,{ref:o,children:null!=t?t:r(p,{radius:"full",appearance:"outline",color:c,children:r(i?s:m,{})})}))}));v.displayName="Collapsible.Trigger";var y=e.forwardRef((function(e,o){var n=e.className,t=e.children;e.scaling,e.color;var i=u(e,["className","children","scaling","color"]);return r(a.Content,f({className:l(n)},i,{ref:o,children:t}))}));y.displayName="Collapsible.Content";var b={Root:h,Trigger:v,Content:y};export{y as Content,h as Root,v as Trigger,b as default};
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.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++) {
@@ -31,7 +32,7 @@ import { contextMenuItemVariants } from './ContextMenuItem';
31
32
  import { ContextMenuItemIndicator } from './ContextMenuItemIndicator';
32
33
  export var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {
33
34
  var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
34
- var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
35
+ var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
35
36
  var itemClassName = cn(contextMenuItemVariants({
36
37
  radius: radius,
37
38
  scaling: scaling,
@@ -1,2 +1,3 @@
1
- import{jsxs as r,jsx as e}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as o from"@radix-ui/react-context-menu";import{CheckIcon as n}from"@radix-ui/react-icons";import{cn as i}from"../../utils/utils.mjs";import{useContextMenuContext as a}from"./ContextMenuRoot.mjs";import{menuItemAppearanceStyle as c}from"../../constants.mjs";import{contextMenuItemVariants as m}from"./ContextMenuItem.mjs";import{ContextMenuItemIndicator as s}from"./ContextMenuItemIndicator.mjs";var l=function(){return l=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},l.apply(this,arguments)},p=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(t[o[n]]=r[o[n]])}return t},u=t((function(t,u){var f=t.children,d=t.className,h=t.checked,x=p(t,["children","className","checked"]),y=a(),j=y.radius,O=y.scaling,b=y.size,v=y.color,g=void 0===v?"red":v,C=y.appearance,I=void 0===C?"solid":C,M=i(m({radius:j,scaling:O,size:b}),"pl-7",c(I,g),d);return r(o.CheckboxItem,l({ref:u,className:M},x,{children:[e(s,{forceMount:!0,radius:"medium",size:b,children:h&&e(n,{})}),f]}))}));u.displayName="ContextMenu.CheckboxItem";export{u as ContextMenuCheckboxItem};
1
+ "use client";
2
+ import{jsxs as r,jsx as e}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as o from"@radix-ui/react-context-menu";import{CheckIcon as n}from"@radix-ui/react-icons";import{cn as i}from"../../utils/utils.mjs";import{useContextMenuContext as a}from"./ContextMenuRoot.mjs";import{menuItemAppearanceStyle as c}from"../../constants.mjs";import{contextMenuItemVariants as m}from"./ContextMenuItem.mjs";import{ContextMenuItemIndicator as s}from"./ContextMenuItemIndicator.mjs";var l=function(){return l=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},l.apply(this,arguments)},p=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(t[o[n]]=r[o[n]])}return t},u=t((function(t,u){var f=t.children,d=t.className,h=t.checked,x=p(t,["children","className","checked"]),y=a(),j=y.radius,O=y.scaling,b=y.size,v=y.color,g=y.appearance,C=void 0===g?"solid":g,I=i(m({radius:j,scaling:O,size:b}),"pl-7",c(C,v),d);return r(o.CheckboxItem,l({ref:u,className:I},x,{children:[e(s,{forceMount:!0,radius:"medium",size:b,children:h&&e(n,{})}),f]}))}));u.displayName="ContextMenu.CheckboxItem";export{u as ContextMenuCheckboxItem};
2
3
  //# sourceMappingURL=ContextMenuCheckboxItem.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuCheckboxItem.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuCheckboxItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { CheckIcon } from '@radix-ui/react-icons';\nimport { cn } from '../../../lib/utils/utils';\nimport { useContextMenuContext } from './ContextMenuRoot';\nimport { menuItemAppearanceStyle } from '../../../lib/constants';\nimport { contextMenuItemVariants } from './ContextMenuItem';\nimport { ContextMenuItemIndicator } from './ContextMenuItemIndicator';\nexport var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, [\"children\", \"className\", \"checked\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var itemClassName = cn(contextMenuItemVariants({\n radius: radius,\n scaling: scaling,\n size: size,\n }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);\n return (_jsxs(ContextMenuPrimitive.CheckboxItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'medium', size: size, children: checked && _jsx(CheckIcon, {}) }), children] })));\n});\nContextMenuCheckboxItem.displayName = 'ContextMenu.CheckboxItem';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuCheckboxItem","forwardRef","_a","ref","children","className","checked","props","_b","useContextMenuContext","radius","scaling","size","_c","color","_d","appearance","itemClassName","cn","contextMenuItemVariants","menuItemAppearanceStyle","_jsxs","ContextMenuPrimitive","CheckboxItem","_jsx","ContextMenuItemIndicator","forceMount","CheckIcon","displayName"],"mappings":"ueAAA,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,EAUWiB,EAA0BC,GAAW,SAAUC,EAAIC,GAC1D,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAUJ,EAAGI,QAASC,EAAQZ,EAAOO,EAAI,CAAC,WAAY,YAAa,YACrHM,EAAKC,IAAyBC,EAASF,EAAGE,OAAQC,EAAUH,EAAGG,QAASC,EAAOJ,EAAGI,KAAMC,EAAKL,EAAGM,MAAOA,OAAe,IAAPD,EAAgB,MAAQA,EAAIE,EAAKP,EAAGQ,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EACtME,EAAgBC,EAAGC,EAAwB,CAC3CT,OAAQA,EACRC,QAASA,EACTC,KAAMA,IACN,OAAQQ,EAAwBJ,EAAYF,GAAQT,GACxD,OAAQgB,EAAMC,EAAqBC,aAAc3C,EAAS,CAAEuB,IAAKA,EAAKE,UAAWY,GAAiBV,EAAO,CAAEH,SAAU,CAACoB,EAAKC,EAA0B,CAAEC,YAAY,EAAMhB,OAAQ,SAAUE,KAAMA,EAAMR,SAAUE,GAAWkB,EAAKG,EAAW,CAAE,KAAMvB,KACxP,IACAJ,EAAwB4B,YAAc"}
1
+ {"version":3,"file":"ContextMenuCheckboxItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -4,8 +4,8 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface ContextMenuContentProps extends VariantProps<typeof contextMenuContentVariants> {
5
5
  }
6
6
  export declare const contextMenuContentVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const ContextMenuContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  import{jsx as r}from"react/jsx-runtime";import{forwardRef as n}from"react";import*as t from"@radix-ui/react-context-menu";import{cn as e}from"../../utils/utils.mjs";import{cva as a}from"class-variance-authority";import{scalingVariants as i}from"../../constants.mjs";import{useContextMenuContext as o}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(r){for(var n,t=1,e=arguments.length;t<e;t++)for(var a in n=arguments[t])Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a]);return r},m.apply(this,arguments)},s=function(r,n){var t={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&n.indexOf(e)<0&&(t[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(e=Object.getOwnPropertySymbols(r);a<e.length;a++)n.indexOf(e[a])<0&&Object.prototype.propertyIsEnumerable.call(r,e[a])&&(t[e[a]]=r[e[a]])}return t},p=a("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-md"},size:{small:"p-1 min-w-[120px] max-w-[300px]",medium:"p-2 min-w-[136px] max-w-[300px]"},scaling:m({},i)},defaultVariants:{radius:"medium",size:"medium",scaling:"100%"}}),l=n((function(n,a){var i=n.className,l=n.children,c=s(n,["className","children"]),u=o(),d=u.radius,f=u.scaling,x=u.size;return r(t.Portal,{children:r(t.Content,m({ref:a,className:e(p({radius:d,scaling:f,size:x}),i)},c,{children:l}))})}));l.displayName="ContextMenu.Content";export{l as ContextMenuContent,p as contextMenuContentVariants};
2
3
  //# sourceMappingURL=ContextMenuContent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuContent.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuContent.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuContentVariants = cva(\"p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \\n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]\", {\n variants: {\n radius: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded-md',\n full: 'rounded-md',\n },\n size: {\n small: 'p-1 min-w-[120px] max-w-[300px]',\n medium: 'p-2 min-w-[136px] max-w-[300px]',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'medium',\n size: 'medium',\n scaling: '100%',\n },\n});\nexport var ContextMenuContent = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size;\n return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.Content, __assign({ ref: ref, className: cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className) }, props, { children: children })) }));\n});\nContextMenuContent.displayName = 'ContextMenu.Content';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuContentVariants","cva","variants","radius","none","small","medium","large","full","size","scaling","scalingVariants","defaultVariants","ContextMenuContent","forwardRef","_a","ref","className","children","props","_b","useContextMenuContext","_jsx","ContextMenuPrimitive","Portal","Content","cn","displayName"],"mappings":"wUAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAA6BC,EAAI,oQAAqQ,CAC7SC,SAAU,CACNC,OAAQ,CACJC,KAAM,eACNC,MAAO,gBACPC,OAAQ,UACRC,MAAO,aACPC,KAAM,cAEVC,KAAM,CACFJ,MAAO,kCACPC,OAAQ,mCAEZI,QAAS9B,EAAS,CAAE,EAAE+B,IAE1BC,gBAAiB,CACbT,OAAQ,SACRM,KAAM,SACNC,QAAS,UAGNG,EAAqBC,GAAW,SAAUC,EAAIC,GACrD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQxB,EAAOoB,EAAI,CAAC,YAAa,aACnFK,EAAKC,IAAyBlB,EAASiB,EAAGjB,OAAQO,EAAUU,EAAGV,QAASD,EAAOW,EAAGX,KACtF,OAAQa,EAAKC,EAAqBC,OAAQ,CAAEN,SAAUI,EAAKC,EAAqBE,QAAS7C,EAAS,CAAEoC,IAAKA,EAAKC,UAAWS,EAAG1B,EAA2B,CAAEG,OAAQA,EAAQO,QAASA,EAASD,KAAMA,IAASQ,IAAcE,EAAO,CAAED,SAAUA,MAC/O,IACAL,EAAmBc,YAAc"}
1
+ {"version":3,"file":"ContextMenuContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -6,8 +6,8 @@ export interface ContextMenuItemProps extends VariantProps<typeof contextMenuIte
6
6
  shortcut?: string;
7
7
  }
8
8
  export declare const contextMenuItemVariants: (props?: ({
9
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
9
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
10
10
  size?: "small" | "medium" | null | undefined;
11
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
11
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
12
12
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
13
13
  export declare const ContextMenuItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -25,8 +26,9 @@ import { forwardRef } from 'react';
25
26
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
27
  import { cn } from '../../../lib/utils/utils';
27
28
  import { cva } from 'class-variance-authority';
28
- import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';
29
+ import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants, } from '../../../lib/constants';
29
30
  import { useContextMenuContext } from './ContextMenuRoot';
31
+ import { MAIN_COLOR } from '../../../lib/color/constants';
30
32
  export var contextMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
31
33
  variants: {
32
34
  radius: __assign({}, radiusVariants['menu-item']),
@@ -44,7 +46,7 @@ export var contextMenuItemVariants = cva("flex group relative leading-none selec
44
46
  });
45
47
  export var ContextMenuItem = forwardRef(function (_a, ref) {
46
48
  var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, ["children", "className", "shortcut"]);
47
- var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
49
+ var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
48
50
  var itemClassName = cn(contextMenuItemVariants({
49
51
  radius: radius,
50
52
  scaling: scaling,
@@ -1,2 +1,3 @@
1
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as a from"@radix-ui/react-context-menu";import{cn as o}from"../../utils/utils.mjs";import{cva as n}from"class-variance-authority";import{radiusVariants as s,scalingVariants as i,menuItemAppearanceStyle as l,blackText as d}from"../../constants.mjs";import{useContextMenuContext as c}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},u=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]])}return r},p=n("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent",{variants:{radius:m({},s["menu-item"]),size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:m({},i)},defaultVariants:{radius:"medium",scaling:"100%",size:"medium"}}),f=r((function(r,n){var s=r.children,i=r.className,f=r.shortcut,x=u(r,["children","className","shortcut"]),h=c(),v=h.radius,b=h.scaling,g=h.size,y=h.color,O=void 0===y?"red":y,j=h.appearance,k=void 0===j?"solid":j,w=o(p({radius:v,scaling:b,size:g}),l(k,O),i),N="group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11";return"solid"!==k||d.includes(O)||(N="group-hover:text-white dark:group-hover:text-slateDark-1"),e(a.Item,m({ref:n,className:w},x,{children:[s,f&&t("span",{className:N,children:f})]}))}));f.displayName="ContextMenu.Item";export{f as ContextMenuItem,p as contextMenuItemVariants};
1
+ "use client";
2
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as a from"@radix-ui/react-context-menu";import{cn as o}from"../../utils/utils.mjs";import{cva as n}from"class-variance-authority";import{radiusVariants as s,scalingVariants as i,menuItemAppearanceStyle as l,blackText as m}from"../../constants.mjs";import{useContextMenuContext as c}from"./ContextMenuRoot.mjs";import{MAIN_COLOR as d}from"../../color/constants.mjs";var p=function(){return p=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},p.apply(this,arguments)},u=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(t);o<a.length;o++)e.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(r[a[o]]=t[a[o]])}return r},f=n("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent",{variants:{radius:p({},s["menu-item"]),size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:p({},i)},defaultVariants:{radius:"medium",scaling:"100%",size:"medium"}}),x=r((function(r,n){var s=r.children,i=r.className,x=r.shortcut,h=u(r,["children","className","shortcut"]),v=c(),b=v.radius,g=v.scaling,y=v.size,j=v.color,O=void 0===j?d:j,k=v.appearance,w=void 0===k?"solid":k,N=o(f({radius:b,scaling:g,size:y}),l(w,O),i),z="group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11";return"solid"!==w||m.includes(O)||(z="group-hover:text-white dark:group-hover:text-slateDark-1"),t(a.Item,p({ref:n,className:N},h,{children:[s,x&&e("span",{className:z,children:x})]}))}));x.displayName="ContextMenu.Item";export{x as ContextMenuItem,f as contextMenuItemVariants};
2
3
  //# sourceMappingURL=ContextMenuItem.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuItem.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuItemVariants = cva(\"flex group relative leading-none select-none outline-none items-center justify-between font-normal\\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent\", {\n variants: {\n radius: __assign({}, radiusVariants['menu-item']),\n size: {\n small: 'text-xs h-[24px] px-2',\n medium: 'text-sm h-[32px] px-3',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n },\n});\nexport var ContextMenuItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, [\"children\", \"className\", \"shortcut\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var itemClassName = cn(contextMenuItemVariants({\n radius: radius,\n scaling: scaling,\n size: size,\n }), menuItemAppearanceStyle(appearance, color), className);\n var shortcutClassName = 'group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11';\n if (appearance === 'solid' && !blackText.includes(color)) {\n shortcutClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';\n }\n return (_jsxs(ContextMenuPrimitive.Item, __assign({ ref: ref, className: itemClassName }, props, { children: [children, shortcut && _jsx(\"span\", { className: shortcutClassName, children: shortcut })] })));\n});\nContextMenuItem.displayName = 'ContextMenu.Item';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuItemVariants","cva","variants","radius","radiusVariants","size","small","medium","scaling","scalingVariants","defaultVariants","ContextMenuItem","forwardRef","_a","ref","children","className","shortcut","props","_b","useContextMenuContext","_c","color","_d","appearance","itemClassName","cn","menuItemAppearanceStyle","shortcutClassName","blackText","includes","_jsxs","ContextMenuPrimitive","Item","_jsx","displayName"],"mappings":"kZAAA,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,EAA0BC,EAAI,yUAA0U,CAC/WC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAe,cACpCC,KAAM,CACFC,MAAO,wBACPC,OAAQ,yBAEZC,QAAS5B,EAAS,CAAE,EAAE6B,IAE1BC,gBAAiB,CACbP,OAAQ,SACRK,QAAS,OACTH,KAAM,YAGHM,EAAkBC,GAAW,SAAUC,EAAIC,GAClD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAWJ,EAAGI,SAAUC,EAAQvB,EAAOkB,EAAI,CAAC,WAAY,YAAa,aACvHM,EAAKC,IAAyBjB,EAASgB,EAAGhB,OAAQK,EAAUW,EAAGX,QAASH,EAAOc,EAAGd,KAAMgB,EAAKF,EAAGG,MAAOA,OAAe,IAAPD,EAAgB,MAAQA,EAAIE,EAAKJ,EAAGK,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EACtME,EAAgBC,EAAG1B,EAAwB,CAC3CG,OAAQA,EACRK,QAASA,EACTH,KAAMA,IACNsB,EAAwBH,EAAYF,GAAQN,GAC5CY,EAAoB,iEAIxB,MAHmB,UAAfJ,GAA2BK,EAAUC,SAASR,KAC9CM,EAAoB,4DAEhBG,EAAMC,EAAqBC,KAAMrD,EAAS,CAAEkC,IAAKA,EAAKE,UAAWS,GAAiBP,EAAO,CAAEH,SAAU,CAACA,EAAUE,GAAYiB,EAAK,OAAQ,CAAElB,UAAWY,EAAmBb,SAAUE,OAC/L,IACAN,EAAgBwB,YAAc"}
1
+ {"version":3,"file":"ContextMenuItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface ContextMenuItemIndicatorProps extends VariantProps<typeof contextMenuItemIndicatorVariants> {
5
5
  }
6
6
  export declare const contextMenuItemIndicatorVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
9
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
10
10
  export declare const ContextMenuItemIndicator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as i}from"../../utils/utils.mjs";import{CheckIcon as o}from"@radix-ui/react-icons";import{cva as a}from"class-variance-authority";import{radiusVariants as n}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(r){for(var t,e=1,i=arguments.length;e<i;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},m.apply(this,arguments)},l=function(r,t){var e={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&t.indexOf(i)<0&&(e[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(r);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(r,i[o])&&(e[i[o]]=r[i[o]])}return e},c=a("absolute left-0 inline-flex items-center justify-center ml-1 border",{variants:{radius:m({},n.base),size:{small:"w-3.5 h-3.5",medium:"w-4 h-4"}},defaultVariants:{size:"medium",radius:"medium"}}),u=t((function(t,a){var n=t.className,u=t.children,f=t.radius,p=l(t,["className","children","radius"]),d=s().size,y=i(c({size:d,radius:f}),n);return r(e.ItemIndicator,m({ref:a,className:y},p,{children:null!=u?u:r(o,{})}))}));u.displayName="ContextMenu.ItemIndicator";export{u as ContextMenuItemIndicator,c as contextMenuItemIndicatorVariants};
2
3
  //# sourceMappingURL=ContextMenuItemIndicator.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuItemIndicator.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuItemIndicator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { CheckIcon } from '@radix-ui/react-icons';\nimport { cva } from 'class-variance-authority';\nimport { radiusVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuItemIndicatorVariants = cva(\"absolute left-0 inline-flex items-center justify-center ml-1 border\", {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n small: 'w-3.5 h-3.5',\n medium: 'w-4 h-4',\n },\n },\n defaultVariants: {\n size: 'medium',\n radius: 'medium',\n },\n});\nexport var ContextMenuItemIndicator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, [\"className\", \"children\", \"radius\"]);\n var size = useContextMenuContext().size;\n var indicatorClassName = cn(contextMenuItemIndicatorVariants({ size: size, radius: radius }), className);\n return (_jsx(ContextMenuPrimitive.ItemIndicator, __assign({ ref: ref, className: indicatorClassName }, props, { children: children !== null && children !== void 0 ? children : _jsx(CheckIcon, {}) })));\n});\nContextMenuItemIndicator.displayName = 'ContextMenu.ItemIndicator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuItemIndicatorVariants","cva","variants","radius","radiusVariants","size","small","medium","defaultVariants","ContextMenuItemIndicator","forwardRef","_a","ref","className","children","props","useContextMenuContext","indicatorClassName","cn","_jsx","ContextMenuPrimitive","ItemIndicator","CheckIcon","displayName"],"mappings":"yXAAA,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,EASWiB,EAAmCC,EAAI,sEAAuE,CACrHC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,KAAM,CACFC,MAAO,cACPC,OAAQ,YAGhBC,gBAAiB,CACbH,KAAM,SACNF,OAAQ,YAGLM,EAA2BC,GAAW,SAAUC,EAAIC,GAC3D,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUX,EAASQ,EAAGR,OAAQY,EAAQpB,EAAOgB,EAAI,CAAC,YAAa,WAAY,WACnHN,EAAOW,IAAwBX,KAC/BY,EAAqBC,EAAGlB,EAAiC,CAAEK,KAAMA,EAAMF,OAAQA,IAAWU,GAC9F,OAAQM,EAAKC,EAAqBC,cAAezC,EAAS,CAAEgC,IAAKA,EAAKC,UAAWI,GAAsBF,EAAO,CAAED,SAAUA,QAA2CA,EAAWK,EAAKG,EAAW,CAAA,KACpM,IACAb,EAAyBc,YAAc"}
1
+ {"version":3,"file":"ContextMenuItemIndicator.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -6,6 +6,6 @@ export interface ContextMenuLabelProps extends VariantProps<typeof contextMenuLa
6
6
  }
7
7
  export declare const contextMenuLabelVariants: (props?: ({
8
8
  size?: "small" | "medium" | null | undefined;
9
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  import{jsx as t}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as r from"@radix-ui/react-context-menu";import{cn as n}from"../../utils/utils.mjs";import{cva as a}from"class-variance-authority";import{scalingVariants as o}from"../../constants.mjs";import{useContextMenuContext as i}from"./ContextMenuRoot.mjs";var s=function(){return s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},s.apply(this,arguments)},l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(r[n[a]]=t[n[a]])}return r},m=a("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal",{variants:{size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:s({},o)},defaultVariants:{scaling:"100%",size:"medium"}}),c=e((function(e,a){var o=e.className,c=e.children,p=l(e,["className","children"]),f=i(),u=f.size,x=f.scaling;return t(r.Label,s({ref:a,className:n(m({size:u,scaling:x}),o)},p,{children:c}))}));c.displayName="ContextMenu.Label";export{c as ContextMenuLabel,m as contextMenuLabelVariants};
2
3
  //# sourceMappingURL=ContextMenuLabel.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuLabel.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuLabel.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuLabelVariants = cva(\"flex relative leading-none select-none outline-none items-center \\n text-slate-11 dark:text-slateDarkA-11 font-normal\", {\n variants: {\n size: {\n small: 'text-xs h-[24px] px-2',\n medium: 'text-sm h-[32px] px-3',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n size: 'medium',\n },\n});\nexport var ContextMenuLabel = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useContextMenuContext(), size = _b.size, scaling = _b.scaling;\n return (_jsx(ContextMenuPrimitive.Label, __assign({ ref: ref, className: cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className) }, props, { children: children })));\n});\nContextMenuLabel.displayName = 'ContextMenu.Label';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuLabelVariants","cva","variants","size","small","medium","scaling","scalingVariants","defaultVariants","ContextMenuLabel","forwardRef","_a","ref","className","children","props","_b","useContextMenuContext","_jsx","ContextMenuPrimitive","Label","cn","displayName"],"mappings":"wUAAA,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,2HAA4H,CAClKC,SAAU,CACNC,KAAM,CACFC,MAAO,wBACPC,OAAQ,yBAEZC,QAAS1B,EAAS,CAAE,EAAE2B,IAE1BC,gBAAiB,CACbF,QAAS,OACTH,KAAM,YAGHM,EAAmBC,GAAW,SAAUC,EAAIC,GACnD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQpB,EAAOgB,EAAI,CAAC,YAAa,aACnFK,EAAKC,IAAyBd,EAAOa,EAAGb,KAAMG,EAAUU,EAAGV,QAC/D,OAAQY,EAAKC,EAAqBC,MAAOxC,EAAS,CAAEgC,IAAKA,EAAKC,UAAWQ,EAAGrB,EAAyB,CAAEG,KAAMA,EAAMG,QAASA,IAAYO,IAAcE,EAAO,CAAED,SAAUA,IAC7K,IACAL,EAAiBa,YAAc"}
1
+ {"version":3,"file":"ContextMenuLabel.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++) {
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  import{jsx as e}from"react/jsx-runtime";import{createContext as r,forwardRef as t}from"react";import*as n from"@radix-ui/react-context-menu";var o=function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},o.apply(this,arguments)},a=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t},l=r({selectedValue:""}),c=t((function(r,t){var c=r.className,i=r.children,u=r.value,p=a(r,["className","children","value"]);return e(n.RadioGroup,o({ref:t,className:c},p,{children:e(l.Provider,{value:{selectedValue:null!=u?u:""},children:i})}))}));c.displayName="ContextMenu.RadioGroup";export{c as ContextMenuRadioGroup,l as RadioContext};
2
3
  //# sourceMappingURL=ContextMenuRadioGroup.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuRadioGroup.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuRadioGroup.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, forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nexport var RadioContext = createContext({ selectedValue: '' });\nexport var ContextMenuRadioGroup = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, [\"className\", \"children\", \"value\"]);\n return (_jsx(ContextMenuPrimitive.RadioGroup, __assign({ ref: ref, className: className }, props, { children: _jsx(RadioContext.Provider, { value: { selectedValue: value !== null && value !== void 0 ? value : '' }, children: children }) })));\n});\nContextMenuRadioGroup.displayName = 'ContextMenu.RadioGroup';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","RadioContext","createContext","selectedValue","ContextMenuRadioGroup","forwardRef","_a","ref","className","children","value","props","_jsx","ContextMenuPrimitive","RadioGroup","Provider","displayName"],"mappings":"6IAAA,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,EAAeC,EAAc,CAAEC,cAAe,KAC9CC,EAAwBC,GAAW,SAAUC,EAAIC,GACxD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQJ,EAAGI,MAAOC,EAAQf,EAAOU,EAAI,CAAC,YAAa,WAAY,UACrH,OAAQM,EAAKC,EAAqBC,WAAYjC,EAAS,CAAE0B,IAAKA,EAAKC,UAAWA,GAAaG,EAAO,CAAEF,SAAUG,EAAKX,EAAac,SAAU,CAAEL,MAAO,CAAEP,cAAeO,QAAqCA,EAAQ,IAAMD,SAAUA,MACrO,IACAL,EAAsBY,YAAc"}
1
+ {"version":3,"file":"ContextMenuRadioGroup.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++) {
@@ -32,7 +33,7 @@ import { RadioContext } from './ContextMenuRadioGroup';
32
33
  import { ContextMenuItemIndicator } from './ContextMenuItemIndicator';
33
34
  export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
34
35
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
35
- var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
36
+ var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
36
37
  var itemClassName = cn(contextMenuItemVariants({
37
38
  radius: radius,
38
39
  scaling: scaling,
@@ -1,2 +1,3 @@
1
- import{jsxs as r,jsx as t}from"react/jsx-runtime";import{forwardRef as e,useContext as o}from"react";import*as n from"@radix-ui/react-context-menu";import{cn as i}from"../../utils/utils.mjs";import{DotFilledIcon as a}from"@radix-ui/react-icons";import{menuItemAppearanceStyle as m}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";import{contextMenuItemVariants as c}from"./ContextMenuItem.mjs";import{RadioContext as l}from"./ContextMenuRadioGroup.mjs";import{ContextMenuItemIndicator as p}from"./ContextMenuItemIndicator.mjs";var u=function(){return u=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},u.apply(this,arguments)},f=function(r,t){var e={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&t.indexOf(o)<0&&(e[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(e[o[n]]=r[o[n]])}return e},d=e((function(e,d){var j=e.children,y=e.className,x=f(e,["children","className"]),O=s(),v=O.radius,b=O.scaling,h=O.size,g=O.color,I=void 0===g?"red":g,M=O.appearance,C=void 0===M?"solid":M,w=i(c({radius:v,scaling:b,size:h}),"pl-7",m(C,I),y),N=o(l);return r(n.RadioItem,u({ref:d,className:w},x,{children:[t(p,{forceMount:!0,radius:"full",size:h,children:N.selectedValue===x.value&&t(a,{})}),j]}))}));d.displayName="ContextMenu.RadioItem";export{d as ContextMenuRadioItem};
1
+ "use client";
2
+ import{jsxs as r,jsx as t}from"react/jsx-runtime";import{forwardRef as e,useContext as o}from"react";import*as n from"@radix-ui/react-context-menu";import{cn as i}from"../../utils/utils.mjs";import{DotFilledIcon as a}from"@radix-ui/react-icons";import{menuItemAppearanceStyle as m}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";import{contextMenuItemVariants as c}from"./ContextMenuItem.mjs";import{RadioContext as l}from"./ContextMenuRadioGroup.mjs";import{ContextMenuItemIndicator as p}from"./ContextMenuItemIndicator.mjs";var u=function(){return u=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},u.apply(this,arguments)},f=function(r,t){var e={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&t.indexOf(o)<0&&(e[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(e[o[n]]=r[o[n]])}return e},d=e((function(e,d){var j=e.children,y=e.className,x=f(e,["children","className"]),O=s(),b=O.radius,h=O.scaling,v=O.size,g=O.color,I=O.appearance,M=void 0===I?"solid":I,C=i(c({radius:b,scaling:h,size:v}),"pl-7",m(M,g),y),w=o(l);return r(n.RadioItem,u({ref:d,className:C},x,{children:[t(p,{forceMount:!0,radius:"full",size:v,children:w.selectedValue===x.value&&t(a,{})}),j]}))}));d.displayName="ContextMenu.RadioItem";export{d as ContextMenuRadioItem};
2
3
  //# sourceMappingURL=ContextMenuRadioItem.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuRadioItem.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuRadioItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, useContext } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { DotFilledIcon } from '@radix-ui/react-icons';\nimport { menuItemAppearanceStyle } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nimport { contextMenuItemVariants } from './ContextMenuItem';\nimport { RadioContext } from './ContextMenuRadioGroup';\nimport { ContextMenuItemIndicator } from './ContextMenuItemIndicator';\nexport var ContextMenuRadioItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, props = __rest(_a, [\"children\", \"className\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var itemClassName = cn(contextMenuItemVariants({\n radius: radius,\n scaling: scaling,\n size: size,\n }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);\n var radioGroup = useContext(RadioContext);\n return (_jsxs(ContextMenuPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));\n});\nContextMenuRadioItem.displayName = 'ContextMenu.RadioItem';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuRadioItem","forwardRef","_a","ref","children","className","props","_b","useContextMenuContext","radius","scaling","size","_c","color","_d","appearance","itemClassName","cn","contextMenuItemVariants","menuItemAppearanceStyle","radioGroup","useContext","RadioContext","_jsxs","ContextMenuPrimitive","RadioItem","_jsx","ContextMenuItemIndicator","forceMount","selectedValue","value","DotFilledIcon","displayName"],"mappings":"sjBAAA,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,EAWWiB,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAQX,EAAOO,EAAI,CAAC,WAAY,cAClFK,EAAKC,IAAyBC,EAASF,EAAGE,OAAQC,EAAUH,EAAGG,QAASC,EAAOJ,EAAGI,KAAMC,EAAKL,EAAGM,MAAOA,OAAe,IAAPD,EAAgB,MAAQA,EAAIE,EAAKP,EAAGQ,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EACtME,EAAgBC,EAAGC,EAAwB,CAC3CT,OAAQA,EACRC,QAASA,EACTC,KAAMA,IACN,OAAQQ,EAAwBJ,EAAYF,GAAQR,GACpDe,EAAaC,EAAWC,GAC5B,OAAQC,EAAMC,EAAqBC,UAAW7C,EAAS,CAAEuB,IAAKA,EAAKE,UAAWW,GAAiBV,EAAO,CAAEF,SAAU,CAACsB,EAAKC,EAA0B,CAAEC,YAAY,EAAMnB,OAAQ,OAAQE,KAAMA,EAAMP,SAAUgB,EAAWS,gBAAkBvB,EAAMwB,OAASJ,EAAKK,EAAe,MAAQ3B,KACxR,IACAJ,EAAqBgC,YAAc"}
1
+ {"version":3,"file":"ContextMenuRadioItem.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++) {
@@ -21,13 +22,15 @@ var __rest = (this && this.__rest) || function (s, e) {
21
22
  return t;
22
23
  };
23
24
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import { createContext, forwardRef, useContext, useMemo, } from 'react';
25
+ import { createContext, forwardRef, useContext, } from 'react';
25
26
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
27
+ import { useTheme } from '../../../lib/theme';
28
+ import { MAIN_COLOR } from '../../../lib/color/constants';
26
29
  var ContextMenuContext = createContext({
27
30
  radius: 'medium',
28
31
  scaling: '100%',
29
32
  size: 'medium',
30
- color: 'red',
33
+ color: MAIN_COLOR,
31
34
  appearance: 'solid',
32
35
  });
33
36
  export var useContextMenuContext = function () {
@@ -35,7 +38,14 @@ export var useContextMenuContext = function () {
35
38
  };
36
39
  export var ContextMenuRoot = forwardRef(function (_a, ref) {
37
40
  var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["children", "radius", "size", "scaling", "color", "appearance"]);
38
- var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color, appearance: appearance }); }, [radius, size, scaling, color, appearance]);
41
+ var theme = useTheme().theme;
42
+ var contextValue = {
43
+ radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
44
+ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
45
+ color: color !== null && color !== void 0 ? color : theme.themeColor,
46
+ size: size,
47
+ appearance: appearance,
48
+ };
39
49
  return (_jsx(ContextMenuContext.Provider, { value: contextValue, children: _jsx("div", { ref: ref, children: _jsx(ContextMenuPrimitive.Root, __assign({}, props, { children: children })) }) }));
40
50
  });
41
51
  ContextMenuRoot.displayName = 'ContextMenu.Root';
@@ -1,2 +1,3 @@
1
- import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as n,useMemo as t,useContext as o}from"react";import*as a from"@radix-ui/react-context-menu";var i=function(){return i=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},i.apply(this,arguments)},c=function(r,e){var n={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(n[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(r);o<t.length;o++)e.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(r,t[o])&&(n[t[o]]=r[t[o]])}return n},l=e({radius:"medium",scaling:"100%",size:"medium",color:"red",appearance:"solid"}),p=function(){return o(l)},u=n((function(e,n){var o=e.children,p=e.radius,u=e.size,s=e.scaling,d=e.color,f=e.appearance,m=c(e,["children","radius","size","scaling","color","appearance"]),y=t((function(){return{radius:p,size:u,scaling:s,color:d,appearance:f}}),[p,u,s,d,f]);return r(l.Provider,{value:y,children:r("div",{ref:n,children:r(a.Root,i({},m,{children:o}))})})}));u.displayName="ContextMenu.Root";export{u as ContextMenuRoot,u as default,p as useContextMenuContext};
1
+ "use client";
2
+ import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as t,useContext as o}from"react";import*as n from"@radix-ui/react-context-menu";import{useTheme as a}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as i}from"../../color/constants.mjs";var l=function(){return l=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},l.apply(this,arguments)},c=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(t[o[n]]=r[o[n]])}return t},p=e({radius:"medium",scaling:"100%",size:"medium",color:i,appearance:"solid"}),s=function(){return o(p)},u=t((function(e,t){var o=e.children,i=e.radius,s=e.size,u=e.scaling,m=e.color,d=e.appearance,f=c(e,["children","radius","size","scaling","color","appearance"]),h=a().theme,y={radius:null!=i?i:h.themeRadius,scaling:null!=u?u:h.themeScaling,color:null!=m?m:h.themeColor,size:s,appearance:d};return r(p.Provider,{value:y,children:r("div",{ref:t,children:r(n.Root,l({},f,{children:o}))})})}));u.displayName="ContextMenu.Root";export{u as ContextMenuRoot,u as default,s as useContextMenuContext};
2
3
  //# sourceMappingURL=ContextMenuRoot.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuRoot.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuRoot.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, forwardRef, useContext, useMemo, } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nvar ContextMenuContext = createContext({\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n color: 'red',\n appearance: 'solid',\n});\nexport var useContextMenuContext = function () {\n return useContext(ContextMenuContext);\n};\nexport var ContextMenuRoot = forwardRef(function (_a, ref) {\n var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, [\"children\", \"radius\", \"size\", \"scaling\", \"color\", \"appearance\"]);\n var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color, appearance: appearance }); }, [radius, size, scaling, color, appearance]);\n return (_jsx(ContextMenuContext.Provider, { value: contextValue, children: _jsx(\"div\", { ref: ref, children: _jsx(ContextMenuPrimitive.Root, __assign({}, props, { children: children })) }) }));\n});\nContextMenuRoot.displayName = 'ContextMenu.Root';\nexport default ContextMenuRoot;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuContext","createContext","radius","scaling","size","color","appearance","useContextMenuContext","useContext","ContextMenuRoot","forwardRef","_a","ref","children","props","contextValue","useMemo","_jsx","Provider","value","ContextMenuPrimitive","Root","displayName"],"mappings":"0KAAA,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,EAIIiB,EAAqBC,EAAc,CACnCC,OAAQ,SACRC,QAAS,OACTC,KAAM,SACNC,MAAO,MACPC,WAAY,UAELC,EAAwB,WAC/B,OAAOC,EAAWR,EACtB,EACWS,EAAkBC,GAAW,SAAUC,EAAIC,GAClD,IAAIC,EAAWF,EAAGE,SAAUX,EAASS,EAAGT,OAAQE,EAAOO,EAAGP,KAAMD,EAAUQ,EAAGR,QAASE,EAAQM,EAAGN,MAAOC,EAAaK,EAAGL,WAAYQ,EAAQnB,EAAOgB,EAAI,CAAC,WAAY,SAAU,OAAQ,UAAW,QAAS,eACtMI,EAAeC,GAAQ,WAAc,OAAUd,OAAQA,EAAQE,KAAMA,EAAMD,QAASA,EAASE,MAAOA,EAAOC,WAAYA,EAAc,GAAI,CAACJ,EAAQE,EAAMD,EAASE,EAAOC,IAC5K,OAAQW,EAAKjB,EAAmBkB,SAAU,CAAEC,MAAOJ,EAAcF,SAAUI,EAAK,MAAO,CAAEL,IAAKA,EAAKC,SAAUI,EAAKG,EAAqBC,KAAMzC,EAAS,CAAE,EAAEkC,EAAO,CAAED,SAAUA,QACjL,IACAJ,EAAgBa,YAAc"}
1
+ {"version":3,"file":"ContextMenuRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -26,6 +26,6 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
26
  import { cn } from '../../../lib/utils/utils';
27
27
  export var ContextMenuSeparator = forwardRef(function (_a, ref) {
28
28
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
29
- return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));
29
+ return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('m-[5px] h-[1px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));
30
30
  });
31
31
  ContextMenuSeparator.displayName = 'ContextMenu.Separator';
@@ -1,2 +1,2 @@
1
- import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as a}from"../../utils/utils.mjs";var o=function(){return o=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},o.apply(this,arguments)},n=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},i=t((function(t,i){var l=t.className,p=t.children,c=n(t,["className","children"]);return r(e.Separator,o({ref:i,className:a("h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6",l)},c,{children:p}))}));i.displayName="ContextMenu.Separator";export{i as ContextMenuSeparator};
1
+ import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as a}from"../../utils/utils.mjs";var o=function(){return o=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},o.apply(this,arguments)},n=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},i=t((function(t,i){var l=t.className,p=t.children,c=n(t,["className","children"]);return r(e.Separator,o({ref:i,className:a("m-[5px] h-[1px] bg-slate-6 dark:bg-slateDark-6",l)},c,{children:p}))}));i.displayName="ContextMenu.Separator";export{i as ContextMenuSeparator};
2
2
  //# sourceMappingURL=ContextMenuSeparator.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuSeparator.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuSeparator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nexport var ContextMenuSeparator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));\n});\nContextMenuSeparator.displayName = 'ContextMenu.Separator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuSeparator","forwardRef","_a","ref","className","children","props","_jsx","ContextMenuPrimitive","Separator","cn","displayName"],"mappings":"qKAAA,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,EAKWiB,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAKC,EAAqBC,UAAW7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWM,EAAG,iDAAkDN,IAAcE,EAAO,CAAED,SAAUA,IACvK,IACAL,EAAqBW,YAAc"}
1
+ {"version":3,"file":"ContextMenuSeparator.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuSeparator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nexport var ContextMenuSeparator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('m-[5px] h-[1px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));\n});\nContextMenuSeparator.displayName = 'ContextMenu.Separator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuSeparator","forwardRef","_a","ref","className","children","props","_jsx","ContextMenuPrimitive","Separator","cn","displayName"],"mappings":"qKAAA,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,EAKWiB,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAKC,EAAqBC,UAAW7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWM,EAAG,iDAAkDN,IAAcE,EAAO,CAAED,SAAUA,IACvK,IACAL,EAAqBW,YAAc"}
@@ -4,8 +4,8 @@ import { VariantProps } from 'class-variance-authority';
4
4
  export interface ContextMenuSubContentProps extends VariantProps<typeof contextMenuSubContentVariants> {
5
5
  }
6
6
  export declare const contextMenuSubContentVariants: (props?: ({
7
- radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
7
+ radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
8
8
  size?: "small" | "medium" | null | undefined;
9
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
+ scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
11
  export declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var __assign = (this && this.__assign) || function () {
2
3
  __assign = Object.assign || function(t) {
3
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1,2 +1,3 @@
1
+ "use client";
1
2
  import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as a}from"../../utils/utils.mjs";import{cva as n}from"class-variance-authority";import{radiusVariants as i,scalingVariants as o}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";var l=function(){return l=Object.assign||function(r){for(var t,e=1,a=arguments.length;e<a;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},l.apply(this,arguments)},m=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 n=0;for(a=Object.getOwnPropertySymbols(r);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(e[a[n]]=r[a[n]])}return e},p=n("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]",{variants:{radius:l({},i["extra-large"]),size:{small:"p-1 min-w-[120px]",medium:"p-2 min-w-[136px]"},scaling:l({},o)},defaultVariants:{radius:"small",size:"medium",scaling:"100%"}}),c=t((function(t,n){var i=t.className,o=t.children,c=m(t,["className","children"]),u=s(),f=u.radius,x=u.size,_=u.scaling;return r(e.Portal,{children:r(e.SubContent,l({ref:n,className:a(p({radius:f,size:x,scaling:_}),i),sideOffset:2,alignOffset:-5},c,{children:o}))})}));c.displayName="ContextMenu.SubContent";export{c as ContextMenuSubContent,p as contextMenuSubContentVariants};
2
3
  //# sourceMappingURL=ContextMenuSubContent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuSubContent.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuSubContent.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { radiusVariants, scalingVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuSubContentVariants = cva(\"p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \\n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]\", {\n variants: {\n radius: __assign({}, radiusVariants['extra-large']),\n size: {\n small: 'p-1 min-w-[120px]',\n medium: 'p-2 min-w-[136px]',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'small',\n size: 'medium',\n scaling: '100%',\n },\n});\nexport var ContextMenuSubContent = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useContextMenuContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;\n return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.SubContent, __assign({ ref: ref, className: cn(contextMenuSubContentVariants({\n radius: radius,\n size: size,\n scaling: scaling,\n }), className), sideOffset: 2, alignOffset: -5 }, props, { children: children })) }));\n});\nContextMenuSubContent.displayName = 'ContextMenu.SubContent';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuSubContentVariants","cva","variants","radius","radiusVariants","size","small","medium","scaling","scalingVariants","defaultVariants","ContextMenuSubContent","forwardRef","_a","ref","className","children","props","_b","useContextMenuContext","_jsx","ContextMenuPrimitive","Portal","SubContent","cn","sideOffset","alignOffset","displayName"],"mappings":"4VAAA,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,EAAgCC,EAAI,oQAAqQ,CAChTC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAe,gBACpCC,KAAM,CACFC,MAAO,oBACPC,OAAQ,qBAEZC,QAAS5B,EAAS,CAAE,EAAE6B,IAE1BC,gBAAiB,CACbP,OAAQ,QACRE,KAAM,SACNG,QAAS,UAGNG,EAAwBC,GAAW,SAAUC,EAAIC,GACxD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQtB,EAAOkB,EAAI,CAAC,YAAa,aACnFK,EAAKC,IAAyBhB,EAASe,EAAGf,OAAQE,EAAOa,EAAGb,KAAMG,EAAUU,EAAGV,QACnF,OAAQY,EAAKC,EAAqBC,OAAQ,CAAEN,SAAUI,EAAKC,EAAqBE,WAAY3C,EAAS,CAAEkC,IAAKA,EAAKC,UAAWS,EAAGxB,EAA8B,CACjJG,OAAQA,EACRE,KAAMA,EACNG,QAASA,IACTO,GAAYU,WAAY,EAAGC,aAAc,GAAKT,EAAO,CAAED,SAAUA,MACjF,IACAL,EAAsBgB,YAAc"}
1
+ {"version":3,"file":"ContextMenuSubContent.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++) {
@@ -28,13 +29,14 @@ import { cn } from '../../../lib/utils/utils';
28
29
  import { contextMenuItemVariants } from './ContextMenuItem';
29
30
  import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
30
31
  import { useContextMenuContext } from './ContextMenuRoot';
32
+ import { MAIN_COLOR } from '../../../lib/color/constants';
31
33
  export var ContextMenuSubTrigger = forwardRef(function (_a, ref) {
32
34
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
33
- var _b = useContextMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
35
+ var _b = useContextMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
34
36
  var triggerClassName = cn(contextMenuItemVariants({ scaling: scaling, size: size, radius: radius }), menuItemAppearanceStyle(appearance, color), className);
35
37
  var iconClassName = cn('group-data-[disabled]:text-slate-8 ', appearance === 'solid' && blackText.includes(color)
36
38
  ? 'hover:fill-slate-12 dark:hover:fill-slateDark-1'
37
39
  : "hover:fill-white dark:hover:fill-slateDark-12 ");
38
- return (_jsx(ContextMenuPrimitive.Sub, { children: _jsxs(ContextMenuPrimitive.SubTrigger, __assign({ ref: ref, className: triggerClassName }, props, { children: [children, _jsx("div", { className: "ml-auto pl-5 ", children: _jsx(ChevronRightIcon, { className: iconClassName }) })] })) }));
40
+ return (_jsx(ContextMenuPrimitive.Sub, { children: _jsxs(ContextMenuPrimitive.SubTrigger, __assign({ ref: ref, className: triggerClassName }, props, { children: [children, _jsx("div", { className: "ml-auto pl-5", children: _jsx(ChevronRightIcon, { className: iconClassName }) })] })) }));
39
41
  });
40
42
  ContextMenuSubTrigger.displayName = 'ContextMenu.SubTrigger';