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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (690) 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 +13 -4
  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 +3 -1
  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/ContextMenuSubContent.d.ts +2 -2
  166. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
  167. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -0
  168. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
  169. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
  170. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +2 -1
  171. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -1
  172. package/dist/lib/components/ContextMenu/index.d.ts +1 -0
  173. package/dist/lib/components/DataList/DataListItem.d.ts +1 -1
  174. package/dist/lib/components/DataList/DataListItem.js +1 -0
  175. package/dist/lib/components/DataList/DataListItem.mjs +1 -0
  176. package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
  177. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  178. package/dist/lib/components/DataList/DataListLabel.js +1 -0
  179. package/dist/lib/components/DataList/DataListLabel.mjs +1 -0
  180. package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
  181. package/dist/lib/components/DataList/DataListRoot.d.ts +1 -1
  182. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  183. package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
  184. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
  185. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  186. package/dist/lib/components/DataList/DataListValue.js +1 -0
  187. package/dist/lib/components/DataList/DataListValue.mjs +1 -0
  188. package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
  189. package/dist/lib/components/DataList/index.d.ts +1 -0
  190. package/dist/lib/components/Dialog/DialogAction.d.ts +2 -2
  191. package/dist/lib/components/Dialog/DialogAction.js +3 -1
  192. package/dist/lib/components/Dialog/DialogAction.mjs +2 -1
  193. package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
  194. package/dist/lib/components/Dialog/DialogCancel.d.ts +2 -2
  195. package/dist/lib/components/Dialog/DialogCancel.js +1 -0
  196. package/dist/lib/components/Dialog/DialogCancel.mjs +1 -0
  197. package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
  198. package/dist/lib/components/Dialog/DialogContent.d.ts +3 -3
  199. package/dist/lib/components/Dialog/DialogContent.js +1 -0
  200. package/dist/lib/components/Dialog/DialogContent.mjs +1 -0
  201. package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
  202. package/dist/lib/components/Dialog/DialogDescription.d.ts +1 -1
  203. package/dist/lib/components/Dialog/DialogDescription.js +2 -1
  204. package/dist/lib/components/Dialog/DialogDescription.mjs +2 -1
  205. package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
  206. package/dist/lib/components/Dialog/DialogRoot.js +11 -2
  207. package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
  208. package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
  209. package/dist/lib/components/Dialog/DialogSlot.d.ts +1 -1
  210. package/dist/lib/components/Dialog/DialogSlot.js +1 -0
  211. package/dist/lib/components/Dialog/DialogSlot.mjs +1 -0
  212. package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
  213. package/dist/lib/components/Dialog/DialogTitle.d.ts +1 -1
  214. package/dist/lib/components/Dialog/DialogTitle.js +1 -0
  215. package/dist/lib/components/Dialog/DialogTitle.mjs +1 -0
  216. package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
  217. package/dist/lib/components/Dialog/index.d.ts +2 -1
  218. package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
  219. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +2 -2
  220. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
  221. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
  222. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
  223. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
  224. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
  225. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -1
  226. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +2 -2
  227. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
  228. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -0
  229. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
  230. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  231. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
  232. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +2 -1
  233. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
  234. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  235. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
  236. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
  237. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
  238. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
  239. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -0
  240. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
  241. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
  242. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
  243. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -1
  244. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +12 -2
  245. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
  246. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
  247. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
  248. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +2 -1
  249. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -1
  250. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  251. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
  252. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
  253. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
  254. package/dist/lib/components/DropdownMenu/index.d.ts +2 -1
  255. package/dist/lib/components/Editor/index.d.ts +12 -0
  256. package/dist/lib/components/Editor/index.js +53 -0
  257. package/dist/lib/components/Editor/index.mjs +3 -0
  258. package/dist/lib/components/Editor/index.mjs.map +1 -0
  259. package/dist/lib/components/Footer/index.d.ts +11 -0
  260. package/dist/lib/components/Footer/index.js +57 -0
  261. package/dist/lib/components/Footer/index.mjs +3 -0
  262. package/dist/lib/components/Footer/index.mjs.map +1 -0
  263. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  264. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  265. package/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  266. package/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  267. package/dist/lib/components/Gnb/GnbLogo.d.ts +9 -0
  268. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  269. package/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  270. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  271. package/dist/lib/components/Gnb/GnbMenu.d.ts +11 -0
  272. package/dist/lib/components/Gnb/GnbMenu.js +49 -0
  273. package/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  274. package/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  275. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  276. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  277. package/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  278. package/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  279. package/dist/lib/components/Gnb/index.d.ts +8 -0
  280. package/dist/lib/components/Gnb/index.js +11 -0
  281. package/dist/lib/components/Gnb/index.mjs +2 -0
  282. package/dist/lib/components/Gnb/index.mjs.map +1 -0
  283. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  284. package/dist/lib/components/Grid/Pagination.js +17 -0
  285. package/dist/lib/components/Grid/Pagination.mjs +2 -0
  286. package/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  287. package/dist/lib/components/Grid/index.d.ts +7 -0
  288. package/dist/lib/components/Grid/index.js +59 -0
  289. package/dist/lib/components/Grid/index.mjs +3 -0
  290. package/dist/lib/components/Grid/index.mjs.map +1 -0
  291. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  292. package/dist/lib/components/Grid/useGrid.js +75 -0
  293. package/dist/lib/components/Grid/useGrid.mjs +3 -0
  294. package/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  295. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +3 -3
  296. package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
  297. package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -0
  298. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
  299. package/dist/lib/components/HoverCard/HoverCardRoot.js +12 -2
  300. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
  301. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
  302. package/dist/lib/components/HoverCard/index.d.ts +2 -1
  303. package/dist/lib/components/IconButton/index.d.ts +3 -3
  304. package/dist/lib/components/IconButton/index.js +13 -3
  305. package/dist/lib/components/IconButton/index.mjs +2 -1
  306. package/dist/lib/components/IconButton/index.mjs.map +1 -1
  307. package/dist/lib/components/Inset/index.d.ts +2 -2
  308. package/dist/lib/components/Inset/index.js +8 -1
  309. package/dist/lib/components/Inset/index.mjs +2 -1
  310. package/dist/lib/components/Inset/index.mjs.map +1 -1
  311. package/dist/lib/components/Label/index.d.ts +6 -5
  312. package/dist/lib/components/Label/index.js +15 -4
  313. package/dist/lib/components/Label/index.mjs +2 -1
  314. package/dist/lib/components/Label/index.mjs.map +1 -1
  315. package/dist/lib/components/LineChart/index.d.ts +1 -1
  316. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
  317. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +2 -1
  318. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -1
  319. package/dist/lib/components/Menubar/MenubarContent.d.ts +2 -2
  320. package/dist/lib/components/Menubar/MenubarContent.js +1 -0
  321. package/dist/lib/components/Menubar/MenubarContent.mjs +1 -0
  322. package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
  323. package/dist/lib/components/Menubar/MenubarItem.d.ts +2 -2
  324. package/dist/lib/components/Menubar/MenubarItem.js +3 -1
  325. package/dist/lib/components/Menubar/MenubarItem.mjs +2 -1
  326. package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
  327. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  328. package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
  329. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -0
  330. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
  331. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  332. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
  333. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
  334. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
  335. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +2 -1
  336. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -1
  337. package/dist/lib/components/Menubar/MenubarRoot.d.ts +2 -2
  338. package/dist/lib/components/Menubar/MenubarRoot.js +17 -5
  339. package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
  340. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
  341. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  342. package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
  343. package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -0
  344. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
  345. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
  346. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +2 -1
  347. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -1
  348. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +2 -2
  349. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
  350. package/dist/lib/components/Menubar/MenubarTrigger.mjs +2 -1
  351. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
  352. package/dist/lib/components/Menubar/index.d.ts +1 -0
  353. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  354. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
  355. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +2 -1
  356. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
  357. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  358. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
  359. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  360. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +2 -2
  361. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
  362. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +2 -1
  363. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
  364. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +2 -2
  365. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
  366. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +2 -1
  367. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
  368. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +13 -3
  369. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
  370. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
  371. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +2 -2
  372. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
  373. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +2 -1
  374. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
  375. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  376. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
  377. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +2 -1
  378. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
  379. package/dist/lib/components/NavigationMenu/index.d.ts +1 -0
  380. package/dist/lib/components/PieChart/index.d.ts +1 -1
  381. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  382. package/dist/lib/components/Popover/PopoverClose.js +1 -0
  383. package/dist/lib/components/Popover/PopoverClose.mjs +1 -0
  384. package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
  385. package/dist/lib/components/Popover/PopoverContent.d.ts +3 -3
  386. package/dist/lib/components/Popover/PopoverContent.js +1 -0
  387. package/dist/lib/components/Popover/PopoverContent.mjs +1 -0
  388. package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
  389. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  390. package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
  391. package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
  392. package/dist/lib/components/Popover/index.d.ts +2 -1
  393. package/dist/lib/components/Progress/index.d.ts +3 -3
  394. package/dist/lib/components/Progress/index.js +14 -3
  395. package/dist/lib/components/Progress/index.mjs +2 -1
  396. package/dist/lib/components/Progress/index.mjs.map +1 -1
  397. package/dist/lib/components/RadarChart/index.d.ts +1 -1
  398. package/dist/lib/components/RadarChart/index.js +1 -1
  399. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  400. package/dist/lib/components/Radio/index.d.ts +1 -1
  401. package/dist/lib/components/Radio/index.js +11 -4
  402. package/dist/lib/components/Radio/index.mjs +2 -1
  403. package/dist/lib/components/Radio/index.mjs.map +1 -1
  404. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +2 -2
  405. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
  406. package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -0
  407. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
  408. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +1 -1
  409. package/dist/lib/components/RadioCards/RadioCardsRoot.js +13 -3
  410. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
  411. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
  412. package/dist/lib/components/RadioCards/index.d.ts +1 -0
  413. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +1 -1
  414. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
  415. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -0
  416. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
  417. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
  418. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +12 -3
  419. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
  420. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
  421. package/dist/lib/components/RadioGroup/index.d.ts +1 -0
  422. package/dist/lib/components/ScrollArea/index.js +4 -1
  423. package/dist/lib/components/ScrollArea/index.mjs +2 -1
  424. package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
  425. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +2 -2
  426. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +11 -3
  427. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +2 -1
  428. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
  429. package/dist/lib/components/SegmentedControl/index.d.ts +1 -0
  430. package/dist/lib/components/SegmentedControl/index.js +1 -1
  431. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
  432. package/dist/lib/components/Select/index.d.ts +4 -2
  433. package/dist/lib/components/Select/index.js +33 -13
  434. package/dist/lib/components/Select/index.mjs +2 -1
  435. package/dist/lib/components/Select/index.mjs.map +1 -1
  436. package/dist/lib/components/Separator/index.d.ts +1 -1
  437. package/dist/lib/components/Separator/index.js +10 -2
  438. package/dist/lib/components/Separator/index.mjs +2 -1
  439. package/dist/lib/components/Separator/index.mjs.map +1 -1
  440. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  441. package/dist/lib/components/Skeleton/index.js +5 -1
  442. package/dist/lib/components/Skeleton/index.mjs +2 -1
  443. package/dist/lib/components/Skeleton/index.mjs.map +1 -1
  444. package/dist/lib/components/Slider/index.d.ts +3 -2
  445. package/dist/lib/components/Slider/index.js +12 -5
  446. package/dist/lib/components/Slider/index.mjs +2 -1
  447. package/dist/lib/components/Slider/index.mjs.map +1 -1
  448. package/dist/lib/components/Spinner/index.d.ts +1 -1
  449. package/dist/lib/components/Spinner/index.js +4 -1
  450. package/dist/lib/components/Spinner/index.mjs +2 -1
  451. package/dist/lib/components/Spinner/index.mjs.map +1 -1
  452. package/dist/lib/components/TabNav/index.js +6 -3
  453. package/dist/lib/components/TabNav/index.mjs +2 -1
  454. package/dist/lib/components/TabNav/index.mjs.map +1 -1
  455. package/dist/lib/components/Table/index.d.ts +2 -2
  456. package/dist/lib/components/Table/index.js +9 -3
  457. package/dist/lib/components/Table/index.mjs +2 -1
  458. package/dist/lib/components/Table/index.mjs.map +1 -1
  459. package/dist/lib/components/Tabs/index.d.ts +2 -1
  460. package/dist/lib/components/Tabs/index.js +6 -3
  461. package/dist/lib/components/Tabs/index.mjs +2 -1
  462. package/dist/lib/components/Tabs/index.mjs.map +1 -1
  463. package/dist/lib/components/TextArea/index.d.ts +3 -3
  464. package/dist/lib/components/TextArea/index.js +11 -3
  465. package/dist/lib/components/TextArea/index.mjs +2 -1
  466. package/dist/lib/components/TextArea/index.mjs.map +1 -1
  467. package/dist/lib/components/TextField/index.d.ts +1 -1
  468. package/dist/lib/components/TextField/index.js +12 -4
  469. package/dist/lib/components/TextField/index.mjs +2 -1
  470. package/dist/lib/components/TextField/index.mjs.map +1 -1
  471. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  472. package/dist/lib/components/Timeline/TimelineConnector.js +36 -0
  473. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  474. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  475. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  476. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  477. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  478. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  479. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  480. package/dist/lib/components/Timeline/TimelineIcon.js +42 -0
  481. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  482. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  483. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  484. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  485. package/dist/lib/components/Timeline/TimelineTime.d.ts +6 -0
  486. package/dist/lib/components/Timeline/TimelineTime.js +34 -0
  487. package/dist/lib/components/Timeline/TimelineTitle.d.ts +6 -0
  488. package/dist/lib/components/Timeline/TimelineTitle.js +34 -0
  489. package/dist/lib/components/Timeline/index.d.ts +13 -0
  490. package/dist/lib/components/Timeline/index.js +21 -0
  491. package/dist/lib/components/Toast/ToastActionButton.d.ts +3 -3
  492. package/dist/lib/components/Toast/ToastActionButton.js +8 -3
  493. package/dist/lib/components/Toast/ToastActionButton.mjs +2 -1
  494. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
  495. package/dist/lib/components/Toast/ToastDescription.d.ts +2 -2
  496. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  497. package/dist/lib/components/Toast/ToastDescription.mjs +1 -0
  498. package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
  499. package/dist/lib/components/Toast/ToastRoot.d.ts +4 -4
  500. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  501. package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
  502. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
  503. package/dist/lib/components/Toast/ToastTitle.d.ts +2 -2
  504. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  505. package/dist/lib/components/Toast/ToastTitle.mjs +1 -0
  506. package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
  507. package/dist/lib/components/Toast/index.d.ts +1 -0
  508. package/dist/lib/components/Toggle/ToggleWithText.d.ts +3 -3
  509. package/dist/lib/components/Toggle/ToggleWithText.js +13 -2
  510. package/dist/lib/components/Toggle/ToggleWithText.mjs +2 -1
  511. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
  512. package/dist/lib/components/Toggle/index.d.ts +4 -4
  513. package/dist/lib/components/Toggle/index.js +14 -3
  514. package/dist/lib/components/Toggle/index.mjs +2 -1
  515. package/dist/lib/components/Toggle/index.mjs.map +1 -1
  516. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
  517. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  518. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +2 -1
  519. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
  520. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
  521. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +13 -3
  522. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
  523. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
  524. package/dist/lib/components/ToggleGroup/index.d.ts +1 -0
  525. package/dist/lib/components/ToggleSwitch/index.d.ts +3 -3
  526. package/dist/lib/components/ToggleSwitch/index.js +13 -2
  527. package/dist/lib/components/ToggleSwitch/index.mjs +2 -1
  528. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
  529. package/dist/lib/components/Tooltip/index.d.ts +1 -1
  530. package/dist/lib/components/Tooltip/index.js +14 -9
  531. package/dist/lib/components/Tooltip/index.mjs +2 -1
  532. package/dist/lib/components/Tooltip/index.mjs.map +1 -1
  533. package/dist/lib/components/index.d.ts +7 -0
  534. package/dist/lib/components/index.js +8 -0
  535. package/dist/lib/constants.d.ts +6 -7
  536. package/dist/lib/constants.js +19 -31
  537. package/dist/lib/constants.mjs +1 -1
  538. package/dist/lib/constants.mjs.map +1 -1
  539. package/dist/lib/index.d.ts +1 -0
  540. package/dist/lib/index.js +1 -0
  541. package/dist/lib/index.mjs +1 -1
  542. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  543. package/dist/lib/theme/ThemeProvider.js +29 -0
  544. package/dist/lib/theme/ThemeProvider.mjs +3 -0
  545. package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  546. package/dist/lib/theme/index.d.ts +2 -0
  547. package/dist/lib/theme/index.js +2 -0
  548. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  549. package/dist/lib/types.d.ts +9 -0
  550. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  551. package/dist/lib/utils/classPrefixes.js +26 -0
  552. package/dist/lib/utils/useDarkMode.js +1 -0
  553. package/dist/lib/utils/useDarkMode.mjs +1 -0
  554. package/dist/lib/utils/useDarkMode.mjs.map +1 -1
  555. package/dist/public/tinymce/icons/default/icons.d.ts +0 -0
  556. package/dist/public/tinymce/icons/default/icons.js +195 -0
  557. package/dist/public/tinymce/icons/default/index.d.ts +1 -0
  558. package/dist/public/tinymce/icons/default/index.js +8 -0
  559. package/dist/public/tinymce/models/dom/index.d.ts +1 -0
  560. package/dist/public/tinymce/models/dom/index.js +8 -0
  561. package/dist/public/tinymce/models/dom/model.d.ts +0 -0
  562. package/dist/public/tinymce/models/dom/model.js +7988 -0
  563. package/dist/public/tinymce/plugins/advlist/index.d.ts +1 -0
  564. package/dist/public/tinymce/plugins/advlist/index.js +8 -0
  565. package/dist/public/tinymce/plugins/advlist/plugin.d.ts +0 -0
  566. package/dist/public/tinymce/plugins/advlist/plugin.js +255 -0
  567. package/dist/public/tinymce/plugins/autolink/index.d.ts +1 -0
  568. package/dist/public/tinymce/plugins/autolink/index.js +8 -0
  569. package/dist/public/tinymce/plugins/autolink/plugin.d.ts +0 -0
  570. package/dist/public/tinymce/plugins/autolink/plugin.js +221 -0
  571. package/dist/public/tinymce/plugins/code/index.d.ts +1 -0
  572. package/dist/public/tinymce/plugins/code/index.js +8 -0
  573. package/dist/public/tinymce/plugins/code/plugin.d.ts +0 -0
  574. package/dist/public/tinymce/plugins/code/plugin.js +77 -0
  575. package/dist/public/tinymce/plugins/codesample/index.d.ts +1 -0
  576. package/dist/public/tinymce/plugins/codesample/index.js +8 -0
  577. package/dist/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
  578. package/dist/public/tinymce/plugins/codesample/plugin.js +2462 -0
  579. package/dist/public/tinymce/plugins/image/index.d.ts +1 -0
  580. package/dist/public/tinymce/plugins/image/index.js +8 -0
  581. package/dist/public/tinymce/plugins/image/plugin.d.ts +0 -0
  582. package/dist/public/tinymce/plugins/image/plugin.js +1523 -0
  583. package/dist/public/tinymce/plugins/link/index.d.ts +1 -0
  584. package/dist/public/tinymce/plugins/link/index.js +8 -0
  585. package/dist/public/tinymce/plugins/link/plugin.d.ts +0 -0
  586. package/dist/public/tinymce/plugins/link/plugin.js +1246 -0
  587. package/dist/public/tinymce/plugins/lists/index.d.ts +1 -0
  588. package/dist/public/tinymce/plugins/lists/index.js +8 -0
  589. package/dist/public/tinymce/plugins/lists/plugin.d.ts +0 -0
  590. package/dist/public/tinymce/plugins/lists/plugin.js +2191 -0
  591. package/dist/public/tinymce/plugins/table/index.d.ts +1 -0
  592. package/dist/public/tinymce/plugins/table/index.js +8 -0
  593. package/dist/public/tinymce/plugins/table/plugin.d.ts +0 -0
  594. package/dist/public/tinymce/plugins/table/plugin.js +3399 -0
  595. package/dist/public/tinymce/skins/content/default/content.d.ts +0 -0
  596. package/dist/public/tinymce/skins/content/default/content.js +3 -0
  597. package/dist/public/tinymce/skins/ui/oxide/content.d.ts +0 -0
  598. package/dist/public/tinymce/skins/ui/oxide/content.inline.d.ts +0 -0
  599. package/dist/public/tinymce/skins/ui/oxide/content.inline.js +3 -0
  600. package/dist/public/tinymce/skins/ui/oxide/content.js +3 -0
  601. package/dist/public/tinymce/skins/ui/oxide/skin.d.ts +0 -0
  602. package/dist/public/tinymce/skins/ui/oxide/skin.js +3 -0
  603. package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.d.ts +0 -0
  604. package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.js +3 -0
  605. package/dist/public/tinymce/skins/ui/oxide-dark/content.d.ts +0 -0
  606. package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.d.ts +0 -0
  607. package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.js +3 -0
  608. package/dist/public/tinymce/skins/ui/oxide-dark/content.js +3 -0
  609. package/dist/public/tinymce/skins/ui/oxide-dark/skin.d.ts +0 -0
  610. package/dist/public/tinymce/skins/ui/oxide-dark/skin.js +3 -0
  611. package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.d.ts +0 -0
  612. package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +3 -0
  613. package/dist/public/tinymce/themes/silver/index.d.ts +1 -0
  614. package/dist/public/tinymce/themes/silver/index.js +8 -0
  615. package/dist/public/tinymce/themes/silver/theme.d.ts +0 -0
  616. package/dist/public/tinymce/themes/silver/theme.js +29731 -0
  617. package/dist/public/tinymce/tinymce.d.ts +1 -0
  618. package/dist/public/tinymce/tinymce.js +31974 -0
  619. package/dist/tailwind.config.js +13 -50
  620. package/dist/tsconfig.tsbuildinfo +1 -1
  621. package/package.json +13 -6
  622. package/public/tinymce/CHANGELOG.md +3453 -0
  623. package/public/tinymce/README.md +73 -0
  624. package/public/tinymce/bower.json +27 -0
  625. package/public/tinymce/composer.json +52 -0
  626. package/public/tinymce/icons/default/icons.js +194 -0
  627. package/public/tinymce/icons/default/icons.min.js +1 -0
  628. package/public/tinymce/icons/default/index.js +7 -0
  629. package/public/tinymce/license.txt +21 -0
  630. package/public/tinymce/models/dom/index.js +7 -0
  631. package/public/tinymce/models/dom/model.js +8040 -0
  632. package/public/tinymce/models/dom/model.min.js +4 -0
  633. package/public/tinymce/package.json +32 -0
  634. package/public/tinymce/plugins/advlist/index.js +7 -0
  635. package/public/tinymce/plugins/advlist/plugin.js +259 -0
  636. package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
  637. package/public/tinymce/plugins/autolink/index.js +7 -0
  638. package/public/tinymce/plugins/autolink/plugin.js +228 -0
  639. package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
  640. package/public/tinymce/plugins/code/index.js +7 -0
  641. package/public/tinymce/plugins/code/plugin.js +85 -0
  642. package/public/tinymce/plugins/code/plugin.min.js +4 -0
  643. package/public/tinymce/plugins/codesample/index.js +7 -0
  644. package/public/tinymce/plugins/codesample/plugin.js +2463 -0
  645. package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
  646. package/public/tinymce/plugins/image/index.js +7 -0
  647. package/public/tinymce/plugins/image/plugin.js +1505 -0
  648. package/public/tinymce/plugins/image/plugin.min.js +4 -0
  649. package/public/tinymce/plugins/link/index.js +7 -0
  650. package/public/tinymce/plugins/link/plugin.js +1242 -0
  651. package/public/tinymce/plugins/link/plugin.min.js +4 -0
  652. package/public/tinymce/plugins/lists/index.js +7 -0
  653. package/public/tinymce/plugins/lists/plugin.js +2172 -0
  654. package/public/tinymce/plugins/lists/plugin.min.js +4 -0
  655. package/public/tinymce/plugins/table/index.js +7 -0
  656. package/public/tinymce/plugins/table/plugin.js +3462 -0
  657. package/public/tinymce/plugins/table/plugin.min.js +4 -0
  658. package/public/tinymce/skins/content/default/content.css +61 -0
  659. package/public/tinymce/skins/content/default/content.js +2 -0
  660. package/public/tinymce/skins/content/default/content.min.css +1 -0
  661. package/public/tinymce/skins/ui/oxide/content.css +785 -0
  662. package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
  663. package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
  664. package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  665. package/public/tinymce/skins/ui/oxide/content.js +2 -0
  666. package/public/tinymce/skins/ui/oxide/content.min.css +1 -0
  667. package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
  668. package/public/tinymce/skins/ui/oxide/skin.js +2 -0
  669. package/public/tinymce/skins/ui/oxide/skin.min.css +1 -0
  670. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  671. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  672. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  673. package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
  674. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  675. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  676. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  677. package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
  678. package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  679. package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  680. package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  681. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  682. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  683. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  684. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  685. package/public/tinymce/themes/silver/index.js +7 -0
  686. package/public/tinymce/themes/silver/theme.js +30775 -0
  687. package/public/tinymce/themes/silver/theme.min.js +384 -0
  688. package/public/tinymce/tinymce.d.ts +3238 -0
  689. package/public/tinymce/tinymce.js +31779 -0
  690. package/public/tinymce/tinymce.min.js +384 -0
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","sources":["../lib/constants.js"],"sourcesContent":["import { ColorStyle, DarkColorStyle, colorOptions, chartColorOptions } from '../lib/color/constants';\nimport * as lightColors from '../lib/color/light';\nexport var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];\nexport var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];\nexport var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];\nexport var sizeOptions = ['x-small', 'small', 'medium', 'large', 'x-large'];\nexport var weightOptions = ['regular', 'medium', 'semibold', 'bold'];\nexport var themeOptions = ['light', 'dark'];\nexport var appearanceOptions = [\n 'classic',\n 'ghost',\n 'outline',\n 'soft',\n 'solid',\n 'surface',\n];\n//차트\nexport var labelPositionList = ['top', 'bottom', 'left', 'right'];\nexport var pointStyleList = [\n 'circle',\n 'cross',\n 'crossRot',\n 'dash',\n 'line',\n 'rect',\n 'rectRounded',\n 'rectRot',\n 'star',\n 'triangle',\n false,\n];\nexport var radiusVariants = {\n // 체크박스\n small: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded',\n full: 'rounded',\n },\n // 라디오버튼, 스위치, 태그, 배지, 버튼, 텍스트인풋, 텍스트영역, 페이지네이션\n base: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded', // 4px\n large: 'rounded-md', // 6px\n full: 'rounded-full',\n },\n // 배너\n large: {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg', // 8px\n large: 'rounded-xl', // 12px\n full: 'rounded-2xl', // 16px\n },\n // 다이얼로그, 바텀시트, 그리드, 카드\n 'extra-large': {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg',\n large: 'rounded-xl',\n full: 'rounded-xl',\n },\n // Dropdown, Context Menu 아이템\n 'menu-item': {\n none: 'rounded-none',\n small: 'rounded-[1px]',\n medium: 'rounded-sm',\n large: 'rounded',\n full: 'rounded',\n },\n};\nexport var weightVariants = {\n regular: 'font-normal', // 400\n medium: 'font-medium', // 500\n semibold: 'font-semibold', // 600\n bold: 'font-bold', // 700\n};\nexport var scalingVariants = {\n '90%': 'scale-90',\n '95%': 'scale-95',\n '100%': 'scale-100',\n '105%': 'scale-105',\n '110%': 'scale-110',\n};\n// 스토리북 공통 argTypes 설정\nexport var commonArgTypes = {\n typoSize: {\n table: {\n category: 'Theme Props',\n type: { summary: '1 ~ 9' },\n },\n control: { type: 'select' },\n options: typoSizeOptions,\n defaultValue: { summary: '3' },\n },\n scaling: {\n table: {\n category: 'Theme Props',\n type: { summary: scalingOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: scalingOptions,\n defaultValue: { summary: '100%' },\n },\n weight: {\n table: {\n category: 'Theme Props',\n type: { summary: weightOptions.join(' | ') },\n },\n options: weightOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n radius: {\n table: {\n category: 'Theme Props',\n type: { summary: radiusOptions.join(' | ') },\n },\n options: radiusOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n color: {\n table: {\n category: 'Theme Props',\n type: { summary: 'colorVariants' },\n },\n options: colorOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'red' },\n },\n basicText: {\n table: {\n category: 'Props',\n type: { summary: 'string' },\n },\n control: 'text',\n },\n appearance: {\n table: {\n category: 'Props',\n type: { summary: appearanceOptions.join(' | ') },\n },\n options: appearanceOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'solid' },\n },\n size: {\n table: {\n category: 'Props',\n type: { summary: sizeOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: sizeOptions,\n defaultValue: { summary: 'medium' },\n },\n isColorMixed: {\n table: {\n category: 'Props',\n type: { summary: 'boolean' },\n },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - true\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1\\uC774 \\uAD50\\uCC28\\uB428, false\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1 \\uC21C\\uCC28\\uC801\\uC73C\\uB85C \\uC0AC\\uC6A9\",\n control: 'readonly',\n defaultValue: { summary: 'true' },\n },\n chartAppearance: {\n table: {\n category: 'Props',\n type: { summary: 'solid | soft' },\n },\n options: ['solid', 'soft'],\n control: 'readonly',\n defaultValue: { summary: 'solid' },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - \\uBC30\\uACBD\\uC0C9\\uACFC \\uD14C\\uB450\\uB9AC\\uC0C9 \\uAE30\\uBCF8 \\uC2A4\\uD0C0\\uC77C\\uC744 \\uC9C0\\uC815\\uD574\\uC900\\uB2E4\",\n },\n datasets: {\n name: 'datasets',\n description: '차트에 사용할 데이터셋',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n labels: {\n description: '차트 위에 표시될 라벨들',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n};\nexport var chartColorStyle = function () {\n var colorValues = lightColors;\n var colorMappings = {};\n chartColorOptions.forEach(function (color) {\n colorMappings[color] = colorValues[color][9];\n });\n return colorMappings;\n};\nexport var chartTitleArgTypes = {\n title: {\n description: '차트 타이틀',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'title.display': {\n description: '타이틀 표시 여부',\n table: {\n category: 'Title Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean', defaultValue: false },\n defaultValue: { summary: false },\n },\n 'title.text': {\n description: '타이틀 내용',\n table: {\n category: 'Title Props',\n type: { summary: 'string | string[]' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'title.position': {\n description: '타이틀 위치',\n table: {\n category: 'Title Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'title.align': {\n description: '타이틀 정렬',\n table: {\n category: 'Title Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'top' },\n },\n 'title.font.size': {\n description: '타이틀 폰트 크기',\n table: {\n category: 'Title Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n};\nexport var chartLegendArgTypes = {\n legend: {\n description: '차트 범례',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'legend.display': {\n description: '범례 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: true },\n },\n 'legend.align': {\n description: '범례 정렬',\n table: {\n category: 'Legend Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'center' },\n },\n 'legend.position': {\n description: '범례 위치',\n table: {\n category: 'Legend Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'legend.maxHeight': {\n description: '범례 최대 높이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.maxWidth': {\n description: '범례 최대 길이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.title.display': {\n description: '범례 타이틀 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'legend.title.text': {\n description: '범례 타이틀 문구',\n table: {\n category: 'Legend Props',\n type: { summary: 'string' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'legend.labels.usePointStyle': {\n description: '범례 스타일 사용여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: 'false' },\n },\n 'legend.labels.pointStyle': {\n description: \"- \\uB77C\\uBCA8 \\uD3EC\\uC778\\uD2B8 \\uC2A4\\uD0C0\\uC77C\\n - usePointStyle\\uAC00 true\\uC778 \\uACBD\\uC6B0 \\uC801\\uC6A9\",\n table: {\n category: 'Legend Props',\n type: { summary: pointStyleList.join(' | ') },\n },\n control: { type: 'select' },\n options: pointStyleList,\n defaultValue: { summary: 'false' },\n },\n};\nexport var chartDatasetsArgsTypes = {\n 'datasets[n].data': {\n description: '데이터셋 데이터',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object | object[] | number[] | string[]' },\n },\n },\n 'datasets[n].label': {\n description: '데이터셋 라벨',\n table: {\n category: 'Dataset Props',\n type: { summary: 'string' },\n },\n },\n 'datasets[n].backgroundColor': {\n description: '데이터셋 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderColor': {\n description: '데이터셋 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderWidth': {\n description: '데이터셋 테두리 두꼐',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].borderRadius': {\n description: '데이터셋 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBackgroundColor': {\n description: '데이터셋 마우스 호버 시 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderColor': {\n description: '데이터셋 마우스 호버 시 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderWidth': {\n description: '데이터셋 호버 시 테두리 두께',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBorderRadius': {\n description: '데이터셋 호버 시 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].order': {\n description: '데이터셋 순서',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hidden': {\n description: '데이터셋 표시 여부',\n table: {\n category: 'Dataset Props',\n type: { summary: 'boolean' },\n },\n },\n 'datasets[n].borderDash': {\n description: \"- \\uCC28\\uD2B8\\uC758 \\uAC01 \\uC139\\uC158\\uC758 \\uD14C\\uB450\\uB9AC\\uB97C \\uC810\\uC120\\uC73C\\uB85C \\uB9CC\\uB4EC\\n - ex)[5,5]: 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uC120\\uACFC 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uAC04\\uACA9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number[]' },\n },\n },\n 'datasets[n].borderDashOffset': {\n description: \"- \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC704\\uCE58 \\uC870\\uC815\\n - ex) 2: \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC9C0\\uC810\\uC744 2\\uD53D\\uC140 \\uC774\\uB3D9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].offset': {\n description: '각 섹션 사이의 간격 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].weight': {\n description: '각 섹션의 상대적인 두께를 설정, 섹션이 차지하는 공간의 비율을 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n};\nexport var chartDatalabelsArgsTypes = {\n datalabels: {\n table: {\n disable: true,\n },\n },\n 'datalabels.display': {\n description: '차트 데이터 라벨 표시 여부',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'datalabels.color': {\n description: '차트 데이터 라벨 색상',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'string' },\n },\n control: { type: 'select' },\n options: ['white', 'gray', 'black'],\n defaultValue: { summary: 'gray' },\n },\n};\nexport var blackText = ['sky', 'mint', 'lime', 'yellow', 'amber', 'orange', 'white'];\nexport var primaryColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = blackText.includes(i)\n ? \"bg-\".concat(ColorStyle[i], \" text-slate-12 dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-12\")\n : \"bg-\".concat(ColorStyle[i], \" text-white dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-1\");\n }\n return color;\n};\nexport var bgColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"bg-\".concat(ColorStyle[i], \" dark:bg-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var textColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"text-\".concat(ColorStyle[i], \" dark:text-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nvar makeClassName = function (type, isClickable) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default);\n if (isClickable) {\n className += \" \".concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n }\n return className;\n};\nexport var appearanceStyle = function (type, color, isClickable) {\n if (isClickable === void 0) { isClickable = true; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9\"),\n active: \"active:bg-\".concat(color, \"-9 active:border-\").concat(color, \"-9\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:shadow-button-dark-classic\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-9 dark:active:border-\").concat(darkColor, \"-9\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none\"),\n active: \"active:bg-\".concat(color, \"-10 active:border-none active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:bg-transparent dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:bg-transparent dark:disabled:text-slateDarkA-8 \",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var toggleAppearanceStyle = function (type, color, isClickable, stateOn) {\n if (isClickable === void 0) { isClickable = true; }\n if (stateOn === void 0) { stateOn = ''; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 text-white shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9 hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-\").concat(color, \"-9 \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-9 \").concat(stateOn, \"border-\").concat(color, \"-9 \").concat(stateOn, \"text-white\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9 dark:hover:text-slateDark-1 \").concat(stateOn, \"dark:hover:bg-\").concat(darkColor, \"-10 \").concat(stateOn, \"dark:hover:border-\").concat(darkColor, \"-9 \").concat(stateOn, \"dark:hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"text-slateDark-1\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none text-white\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-10 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-white \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:text-slateDark-1 \").concat(stateOn, \"dark:hover:bg-\").concat(darkColor, \"-10 \").concat(stateOn, \"dark:hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"text-slateDark-1 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-4 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-5 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11 \").concat(stateOn, \"dark:hover:bg-\").concat(darkColor, \"A-4 \").concat(stateOn, \"dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-5 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slatDarkeA-2 disabled:border-slateDarkA-6 disabled:text-slateDarkA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 \").concat(stateOn, \"dark:hover:bg-\").concat(darkColor, \"A-2 \").concat(stateOn, \"dark:hover:border-\").concat(darkColor, \"A-8 \").concat(stateOn, \"dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 \").concat(stateOn, \"dark:hover:bg-\").concat(darkColor, \"A-2 \").concat(stateOn, \"dark:hover:border-\").concat(darkColor, \"A-8 \").concat(stateOn, \"dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-3 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-4 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11 \").concat(stateOn, \"dark:hover:bg-\").concat(darkColor, \"A-3 \").concat(stateOn, \"dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var menuItemAppearanceStyle = function (type, color) {\n var appearanceStyle = '';\n if (type === 'solid') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-9 dark:hover:bg-\").concat(color, \"Dark-9 \");\n appearanceStyle += blackText.includes(color)\n ? \"hover:text-slateA-11 dark:hover:text-white\"\n : \"hover:text-white dark:hover:text-white\";\n }\n if (type === 'soft') {\n appearanceStyle = \"hover:bg-\".concat(color, \"A-4 dark:hover-bg-\").concat(color, \"DarkA-4\");\n }\n if (type === 'ghost') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-3 dark:hover:bg-\").concat(color, \"Dark-3\");\n }\n return appearanceStyle;\n};\nexport var switchCheckedApperanceStyle = function (type, color) {\n var softStyle = \"data-[state=checked]:bg-\".concat(color, \"A-3 data-[state=unchecked]:bg-\").concat(color, \"A-2 \");\n var surfaceStyle = \"data-[state=checked]:bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 data-[state=unchecked]:bg-slateA-2 data-[state=unchecked]:bg-slateA-6 \");\n var classicStyle = \"data-[state=checked]:bg-\".concat(color, \"-9 text-white border border-solid border-\").concat(color, \"-9 shadow-custom-1 shadow-custom-2 shadow-custom-3 data-[state=unchecked]:border-slate-4 data-[state=unchecked]:bg-slateA-3 data-[state=unchecked]:text-slateA-8\");\n switch (type) {\n case 'classic':\n return classicStyle;\n case 'soft':\n return softStyle;\n case 'surface':\n return surfaceStyle;\n default:\n return '';\n }\n};\nexport var checkboxAppearanceStyle = function (type, color, indeterminate) {\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"border data-[state=unchecked]:bg-transparent data-[state=unchecked]:border-slateA-7\\n data-[state=checked]:bg-\".concat(color, \"-9 data-[state=checked]:border-none data-[state=checked]:text-slate-1\"),\n hover: \"hover:data-[state=unchecked]:bg-transparent hover:data-[state=unchecked]:border-slateA-8\\n hover:data-[state=checked]:bg-\".concat(color, \"-10 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-white\"),\n active: \"active:data-[state=unchecked]:bg-transparent active:data-[state=unchecked]:border-slateA-9\\n active:data-[state=checked]:bg-\".concat(color, \"-10 active:data-[state=checked]:border-none active:data-[state=checked]:text-white\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-slateA-6\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-slateA-6 disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:border-slateDarkA-7\\n dark:data-[state=checked]:bg-\".concat(darkColor, \"-9 dark:data-[state=checked]:text-#111113\"),\n hover: \"dark:hover:data-[state=unchecked]:border-slateDarkA-8\\n dark:hover:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:hover:data-[state=checked]:text-#111113\"),\n active: \"dark:active:data-[state=unchecked]:border-slateDarkA-9\\n dark:active:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:active:data-[state=checked]:text-#111113\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3 dark:disabled:data-[state=unchecked]:border-slateDarkA-6\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:border-slateDarkA-6 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"data-[state=unchecked]:bg-\".concat(color, \"A-5 data-[state=unchecked]:border-none\\n data-[state=checked]:bg-\").concat(color, \"A-5 data-[state=checked]:border-none data-[state=checked]:text-\").concat(color, \"-11\"),\n hover: \"hover:data-[state=unchecked]:bg-\".concat(color, \"A-6 hover:data-[state=unchecked]:border-none\\n hover:data-[state=checked]:bg-\").concat(color, \"A-6 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-\").concat(color, \"-11\"),\n active: \"active:data-[state=unchecked]:bg-\".concat(color, \"A-7 active:data-[state=unchecked]:border-none\\n active:data-[state=checked]:bg-\").concat(color, \"A-7 active:data-[state=checked]:border-none active:data-[state=checked]:text-\").concat(color, \"-11\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-none\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-none disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:bg-\".concat(darkColor, \"A-5\\n dark:data-[state=checked]:bg-\").concat(darkColor, \"A-5 dark:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n hover: \"dark:hover:data-[state=unchecked]:bg-\".concat(darkColor, \"A-6\\n dark:hover:data-[state=checked]:bg-\").concat(darkColor, \"A-6 dark:hover:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n active: \"dark:active:data-[state=unchecked]:bg-\".concat(darkColor, \"A-7\\n dark:active:data-[state=checked]:bg-\").concat(darkColor, \"A-7 dark:active:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var indeterminateSurface = {\n light: {\n default: \"border bg-\".concat(color, \"A-2 border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var indeterminateSoft = {\n light: {\n default: \"border bg-transparent border-\".concat(color, \"A-6 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-transparent hover:border-\".concat(color, \"A-6 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-transparent active:border-\".concat(color, \"A-6 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-6 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:border-\".concat(darkColor, \"A-6 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:border-\".concat(darkColor, \"A-6 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : \"\".concat(makeClassName(surface, true), \" data-[state=checked]:shadow-checkbox-classic data-[state=unchecked]:shadow-checkbox-classic\\n dark:data-[state=checked]:shadow-checkbox-classic dark:data-[state=unchecked]:shadow-checkbox-classic\");\n case 'soft':\n return indeterminate ? makeClassName(indeterminateSoft, true) : makeClassName(soft, true);\n case 'surface':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : makeClassName(surface, true);\n default:\n return makeClassName(surface, true);\n }\n};\nexport var selectAppearanceStyle = function (type, color) {\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"bg-[#FFFFFF] border border-slateA-7 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-[#FFFFFF] hover:border hover:border-slateA-8 hover:text-slateA-10\",\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-slateA-10 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-[#111113] dark:border dark:data-placeholder:border-slateDarkA-7 dark:data-placeholder:text-slateDarkA-9 dark:border-slateDarkA-7 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-[#111113] dark:hover:border dark:hover:border-slateDarkA-8 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-slateDarkA-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var classic = {\n light: {\n default: \"bg-slateA-2 border border-slate-4 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-slateA-3 hover:border hover:border-slate-4 hover:text-slateA-10\",\n active: \"active:bg-slateA-4 active:border active:border-slate-6 active:text-slateA-10\",\n disable: \"disabled:bg-slateA-3 disabled:border disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-slateDarkA-2 dark:border-slateDark-4 dark:data-placeholder:text-slateDarkA-10 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-slateDarkA-3 dark:hover:border-slateDark-4 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-slateDarkA-4 dark:active:border-slateDark-6 dark:active:text-slateDarkA-10\",\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none data-placeholder:text-\").concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-12/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:border-none dark:data-placeholder:text-\").concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12 \"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-none dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none data-placeholder:text-\".concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-1/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:border-none dark:data-placeholder:text-\".concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8 dark:disabled:border-none\",\n },\n };\n var makeClassName = function (type) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default, \" \").concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n return className;\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic);\n case 'soft':\n return makeClassName(soft);\n case 'surface':\n return makeClassName(surface);\n case 'ghost':\n return makeClassName(ghost);\n default:\n return '';\n }\n};\n"],"names":["radiusVariants","small","none","medium","large","full","base","weightVariants","regular","semibold","bold","scalingVariants","blackText","primaryColorStyle","color","i","ColorStyle","darkColor","concat","includes","DarkColorStyle","bgColorStyle","textColorStyle","makeClassName","type","isClickable","className","light","default","dark","hover","active","disable","appearanceStyle","classic","solid","soft","surface","outline","ghost","toggleAppearanceStyle","stateOn","menuItemAppearanceStyle","checkboxAppearanceStyle","indeterminate","indeterminateSurface","indeterminateSoft","selectAppearanceStyle"],"mappings":"uEA+BU,IAACA,EAAiB,CAExBC,MAAO,CACHC,KAAM,eACND,MAAO,gBACPE,OAAQ,UACRC,MAAO,UACPC,KAAM,WAGVC,KAAM,CACFJ,KAAM,eACND,MAAO,gBACPE,OAAQ,UACRC,MAAO,aACPC,KAAM,gBAGVD,MAAO,CACHF,KAAM,eACND,MAAO,UACPE,OAAQ,aACRC,MAAO,aACPC,KAAM,eAGV,cAAe,CACXH,KAAM,eACND,MAAO,UACPE,OAAQ,aACRC,MAAO,aACPC,KAAM,cAGV,YAAa,CACTH,KAAM,eACND,MAAO,gBACPE,OAAQ,aACRC,MAAO,UACPC,KAAM,YAGHE,EAAiB,CACxBC,QAAS,cACTL,OAAQ,cACRM,SAAU,gBACVC,KAAM,aAECC,EAAkB,CACzB,MAAO,WACP,MAAO,WACP,OAAQ,YACR,OAAQ,YACR,OAAQ,aAsZDC,EAAY,CAAC,MAAO,OAAQ,OAAQ,SAAU,QAAS,SAAU,SACjEC,EAAoB,WAC3B,IAAIC,EAAQ,CAAA,EACZ,IAAK,IAAIC,KAAKC,EAAY,CACtB,IAAIC,EAAY,GAAGC,OAAOH,EAAG,QAC7BD,EAAMC,GAAKH,EAAUO,SAASJ,GACxB,MAAMG,OAAOF,EAAWD,GAAI,2BAA2BG,OAAOE,EAAeH,GAAY,2BACzF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Od,EAAcgB,GACzB,QACI,MAAO,GAEnB"}
1
+ {"version":3,"file":"constants.mjs","sources":["../lib/constants.js"],"sourcesContent":["import { ColorStyle, DarkColorStyle, MAIN_COLOR, colorOptions } from '../lib/color/constants';\nexport var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];\nexport var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];\nexport var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];\nexport var sizeOptions = ['x-small', 'small', 'medium', 'large', 'x-large'];\nexport var weightOptions = ['regular', 'medium', 'semibold', 'bold'];\nexport var themeOptions = ['light', 'dark'];\nexport var appearanceOptions = [\n 'classic',\n 'ghost',\n 'outline',\n 'soft',\n 'solid',\n 'surface',\n];\n//차트\nexport var labelPositionList = ['top', 'bottom', 'left', 'right'];\nexport var pointStyleList = [\n 'circle',\n 'cross',\n 'crossRot',\n 'dash',\n 'line',\n 'rect',\n 'rectRounded',\n 'rectRot',\n 'star',\n 'triangle',\n false,\n];\nexport var radiusVariants = {\n // 체크박스\n small: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded',\n full: 'rounded',\n },\n // 라디오버튼, 스위치, 태그, 배지, 버튼, 텍스트인풋, 텍스트영역, 페이지네이션\n base: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded', // 4px\n large: 'rounded-md', // 6px\n full: 'rounded-full',\n },\n // 배너\n large: {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg', // 8px\n large: 'rounded-xl', // 12px\n full: 'rounded-2xl', // 16px\n },\n // 다이얼로그, 바텀시트, 그리드, 카드\n 'extra-large': {\n none: 'rounded-none',\n small: 'rounded',\n medium: 'rounded-lg',\n large: 'rounded-xl',\n full: 'rounded-xl',\n },\n // Dropdown, Context Menu 아이템\n 'menu-item': {\n none: 'rounded-none',\n small: 'rounded-[1px]',\n medium: 'rounded-sm',\n large: 'rounded',\n full: 'rounded',\n },\n};\nexport var weightVariants = {\n regular: 'font-normal', // 400\n medium: 'font-medium', // 500\n semibold: 'font-semibold', // 600\n bold: 'font-bold', // 700\n};\nexport var scalingVariants = {\n '90%': 'scale-90',\n '95%': 'scale-95',\n '100%': 'scale-100',\n '105%': 'scale-105',\n '110%': 'scale-110',\n};\n// 스토리북 공통 argTypes 설정\nexport var commonArgTypes = {\n typoSize: {\n table: {\n category: 'Theme Props',\n type: { summary: '1 ~ 9' },\n },\n control: { type: 'select' },\n options: typoSizeOptions,\n defaultValue: { summary: '3' },\n },\n scaling: {\n table: {\n category: 'Theme Props',\n type: { summary: scalingOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: scalingOptions,\n defaultValue: { summary: '100%' },\n },\n weight: {\n table: {\n category: 'Theme Props',\n type: { summary: weightOptions.join(' | ') },\n },\n options: weightOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n radius: {\n table: {\n category: 'Theme Props',\n type: { summary: radiusOptions.join(' | ') },\n },\n options: radiusOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'medium' },\n },\n color: {\n table: {\n category: 'Theme Props',\n type: { summary: 'colorVariants' },\n },\n options: colorOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'red' },\n },\n basicText: {\n table: {\n category: 'Props',\n type: { summary: 'string' },\n },\n control: 'text',\n },\n appearance: {\n table: {\n category: 'Props',\n type: { summary: appearanceOptions.join(' | ') },\n },\n options: appearanceOptions,\n control: { type: 'select' },\n defaultValue: { summary: 'solid' },\n },\n size: {\n table: {\n category: 'Props',\n type: { summary: sizeOptions.join(' | ') },\n },\n control: { type: 'select' },\n options: sizeOptions,\n defaultValue: { summary: 'medium' },\n },\n isColorMixed: {\n table: {\n category: 'Props',\n type: { summary: 'boolean' },\n },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - true\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1\\uC774 \\uAD50\\uCC28\\uB428, false\\uC778 \\uACBD\\uC6B0 \\uC0C9\\uC0C1 \\uC21C\\uCC28\\uC801\\uC73C\\uB85C \\uC0AC\\uC6A9\",\n control: 'readonly',\n defaultValue: { summary: 'true' },\n },\n chartAppearance: {\n table: {\n category: 'Props',\n type: { summary: 'solid | soft' },\n },\n options: ['solid', 'soft'],\n control: 'readonly',\n defaultValue: { summary: 'solid' },\n description: \"- \\uCC28\\uD2B8 \\uAE30\\uBCF8 \\uC0C9\\uC0C1 \\uC2A4\\uD0C0\\uC77C \\n - \\uBC30\\uACBD\\uC0C9\\uACFC \\uD14C\\uB450\\uB9AC\\uC0C9 \\uAE30\\uBCF8 \\uC2A4\\uD0C0\\uC77C\\uC744 \\uC9C0\\uC815\\uD574\\uC900\\uB2E4\",\n },\n datasets: {\n name: 'datasets',\n description: '차트에 사용할 데이터셋',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n labels: {\n description: '차트 위에 표시될 라벨들',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n};\nexport var chartTitleArgTypes = {\n title: {\n description: '차트 타이틀',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'title.display': {\n description: '타이틀 표시 여부',\n table: {\n category: 'Title Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean', defaultValue: false },\n defaultValue: { summary: false },\n },\n 'title.text': {\n description: '타이틀 내용',\n table: {\n category: 'Title Props',\n type: { summary: 'string | string[]' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'title.position': {\n description: '타이틀 위치',\n table: {\n category: 'Title Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'title.align': {\n description: '타이틀 정렬',\n table: {\n category: 'Title Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'top' },\n },\n 'title.font.size': {\n description: '타이틀 폰트 크기',\n table: {\n category: 'Title Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n};\nexport var chartLegendArgTypes = {\n legend: {\n description: '차트 범례',\n table: {\n category: 'Props',\n type: { summary: 'object' },\n },\n },\n 'legend.display': {\n description: '범례 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: true },\n },\n 'legend.align': {\n description: '범례 정렬',\n table: {\n category: 'Legend Props',\n type: { summary: 'start | center | end' },\n },\n control: { type: 'select' },\n options: ['start', 'center', 'end'],\n defaultValue: { summary: 'center' },\n },\n 'legend.position': {\n description: '범례 위치',\n table: {\n category: 'Legend Props',\n type: { summary: 'top | right | bottom | left' },\n },\n control: { type: 'select' },\n options: ['top', 'right', 'bottom', 'left'],\n defaultValue: { summary: 'top' },\n },\n 'legend.maxHeight': {\n description: '범례 최대 높이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.maxWidth': {\n description: '범례 최대 길이(픽셀)',\n table: {\n category: 'Legend Props',\n type: { summary: 'number' },\n },\n control: { type: 'text' },\n defaultValue: { summary: 12 },\n },\n 'legend.title.display': {\n description: '범례 타이틀 표시 여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'legend.title.text': {\n description: '범례 타이틀 문구',\n table: {\n category: 'Legend Props',\n type: { summary: 'string' },\n },\n control: { type: 'text' },\n defaultValue: { summary: '' },\n },\n 'legend.labels.usePointStyle': {\n description: '범례 스타일 사용여부',\n table: {\n category: 'Legend Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: 'false' },\n },\n 'legend.labels.pointStyle': {\n description: \"- \\uB77C\\uBCA8 \\uD3EC\\uC778\\uD2B8 \\uC2A4\\uD0C0\\uC77C\\n - usePointStyle\\uAC00 true\\uC778 \\uACBD\\uC6B0 \\uC801\\uC6A9\",\n table: {\n category: 'Legend Props',\n type: { summary: pointStyleList.join(' | ') },\n },\n control: { type: 'select' },\n options: pointStyleList,\n defaultValue: { summary: 'false' },\n },\n};\nexport var chartDatasetsArgsTypes = {\n 'datasets[n].data': {\n description: '데이터셋 데이터',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object | object[] | number[] | string[]' },\n },\n },\n 'datasets[n].label': {\n description: '데이터셋 라벨',\n table: {\n category: 'Dataset Props',\n type: { summary: 'string' },\n },\n },\n 'datasets[n].backgroundColor': {\n description: '데이터셋 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderColor': {\n description: '데이터셋 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].borderWidth': {\n description: '데이터셋 테두리 두꼐',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].borderRadius': {\n description: '데이터셋 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBackgroundColor': {\n description: '데이터셋 마우스 호버 시 배경 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderColor': {\n description: '데이터셋 마우스 호버 시 테두리 색상',\n table: {\n category: 'Dataset Props',\n type: { summary: 'object' },\n },\n },\n 'datasets[n].hoverBorderWidth': {\n description: '데이터셋 호버 시 테두리 두께',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hoverBorderRadius': {\n description: '데이터셋 호버 시 둥글기',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].order': {\n description: '데이터셋 순서',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].hidden': {\n description: '데이터셋 표시 여부',\n table: {\n category: 'Dataset Props',\n type: { summary: 'boolean' },\n },\n },\n 'datasets[n].borderDash': {\n description: \"- \\uCC28\\uD2B8\\uC758 \\uAC01 \\uC139\\uC158\\uC758 \\uD14C\\uB450\\uB9AC\\uB97C \\uC810\\uC120\\uC73C\\uB85C \\uB9CC\\uB4EC\\n - ex)[5,5]: 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uC120\\uACFC 5\\uD53D\\uC140 \\uAE38\\uC774\\uC758 \\uAC04\\uACA9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number[]' },\n },\n },\n 'datasets[n].borderDashOffset': {\n description: \"- \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC704\\uCE58 \\uC870\\uC815\\n - ex) 2: \\uC810\\uC120\\uC758 \\uC2DC\\uC791 \\uC9C0\\uC810\\uC744 2\\uD53D\\uC140 \\uC774\\uB3D9\",\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].offset': {\n description: '각 섹션 사이의 간격 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n 'datasets[n].weight': {\n description: '각 섹션의 상대적인 두께를 설정, 섹션이 차지하는 공간의 비율을 조정',\n table: {\n category: 'Dataset Props',\n type: { summary: 'number' },\n },\n },\n};\nexport var chartDatalabelsArgsTypes = {\n datalabels: {\n table: {\n disable: true,\n },\n },\n 'datalabels.display': {\n description: '차트 데이터 라벨 표시 여부',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'boolean' },\n },\n control: { type: 'boolean' },\n defaultValue: { summary: false },\n },\n 'datalabels.color': {\n description: '차트 데이터 라벨 색상',\n table: {\n category: 'Datalabels Props',\n type: { summary: 'string' },\n },\n control: { type: 'select' },\n options: ['white', 'gray', 'black'],\n defaultValue: { summary: 'gray' },\n },\n};\nexport var blackText = ['sky', 'mint', 'lime', 'yellow', 'amber', 'orange', 'white'];\nexport var primaryColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = blackText.includes(i)\n ? \"bg-\".concat(ColorStyle[i], \" text-slate-12 dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-12\")\n : \"bg-\".concat(ColorStyle[i], \" text-white dark:bg-\").concat(DarkColorStyle[darkColor], \" dark:text-slateDark-1\");\n }\n return color;\n};\nexport var bgColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"bg-\".concat(ColorStyle[i], \" dark:bg-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var textColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"text-\".concat(ColorStyle[i], \" dark:text-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nexport var borderColorStyle = function () {\n var color = {};\n for (var i in ColorStyle) {\n var darkColor = \"\".concat(i, \"Dark\");\n color[i] = \"border-\".concat(ColorStyle[i], \" dark:border-\").concat(DarkColorStyle[darkColor]);\n }\n return color;\n};\nvar makeClassName = function (type, isClickable) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default);\n if (isClickable) {\n className += \" \".concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n }\n return className;\n};\nexport var appearanceStyle = function (type, color, isClickable) {\n if (color === void 0) { color = MAIN_COLOR; }\n if (isClickable === void 0) { isClickable = true; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9\"),\n active: \"active:bg-\".concat(color, \"-9 active:border-\").concat(color, \"-9\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:shadow-button-dark-classic\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-9 dark:active:border-\").concat(darkColor, \"-9\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none\"),\n active: \"active:bg-\".concat(color, \"-10 active:border-none active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10\"),\n active: \"dark:active:bg-\".concat(darkColor, \"-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:bg-transparent dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:bg-transparent dark:disabled:text-slateDarkA-8 \",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-11 active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:text-\").concat(darkColor, \"A-11 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var toggleAppearanceStyle = function (type, color, isClickable, stateOn) {\n if (color === void 0) { color = MAIN_COLOR; }\n if (isClickable === void 0) { isClickable = true; }\n if (stateOn === void 0) { stateOn = ''; }\n var darkColor = \"\".concat(color, \"Dark\");\n var classic = {\n light: {\n default: \"bg-\".concat(color, \"-9 border border-solid border-\").concat(color, \"-9 text-white shadow-button-classic\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-\").concat(color, \"-9 hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-\").concat(color, \"-9 \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-9 \").concat(stateOn, \"border-\").concat(color, \"-9 \").concat(stateOn, \"text-white\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:border-\").concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:border-\").concat(darkColor, \"-9 dark:hover:text-slateDark-1 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"-9 dark:\").concat(stateOn, \"text-slateDark-1\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var solid = {\n light: {\n default: \"bg-\".concat(color, \"-9 border-none text-white\"),\n hover: \"hover:bg-\".concat(color, \"-10 hover:border-none hover:text-white \").concat(stateOn, \"hover:bg-\").concat(color, \"-10 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-white\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"-10 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-white \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"-9 dark:text-slateDark-1\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"-10 dark:hover:text-slateDark-1 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"hover:text-slateDark-1\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"-10 dark:\").concat(stateOn, \"text-slateDark-1 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-4 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-5 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-5 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n var surface = {\n light: {\n default: \"bg-\".concat(color, \"A-2 border border-solid border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-slatDarkeA-2 disabled:border-slateDarkA-6 disabled:text-slateDarkA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-2 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var outline = {\n light: {\n default: \"bg-transparent border border-solid border-\".concat(color, \"A-8 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-2 \").concat(stateOn, \"hover:border-\").concat(color, \"A-8 \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-3 \").concat(stateOn, \"border-\").concat(color, \"A-8 \").concat(stateOn, \"text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-transparent disabled:border-slateA-7 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-8 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-2 dark:\").concat(stateOn, \"hover:border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"border-\").concat(darkColor, \"A-8 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:border-slateDarkA-7 dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none text-\".concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-11 \").concat(stateOn, \"hover:bg-\").concat(color, \"A-3 \").concat(stateOn, \"hover:border-none \").concat(stateOn, \"hover:text-\").concat(color, \"A-11\"),\n active: \"\".concat(stateOn, \"bg-\").concat(color, \"A-4 \").concat(stateOn, \"border-none \").concat(stateOn, \"text-\").concat(color, \"A-11 \").concat(stateOn, \"opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:text-\".concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"hover:bg-\").concat(darkColor, \"A-3 dark:\").concat(stateOn, \"hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:\".concat(stateOn, \"bg-\").concat(darkColor, \"A-4 dark:\").concat(stateOn, \"text-\").concat(darkColor, \"A-11 dark:\").concat(stateOn, \"opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic, isClickable);\n case 'solid':\n return makeClassName(solid, isClickable);\n case 'soft':\n return makeClassName(soft, isClickable);\n case 'surface':\n return makeClassName(surface, isClickable);\n case 'outline':\n return makeClassName(outline, isClickable);\n case 'ghost':\n return makeClassName(ghost, isClickable);\n default:\n return '';\n }\n};\nexport var menuItemAppearanceStyle = function (type, color) {\n if (color === void 0) { color = MAIN_COLOR; }\n var appearanceStyle = '';\n if (type === 'solid') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-9 dark:hover:bg-\").concat(color, \"Dark-9 \");\n appearanceStyle += blackText.includes(color)\n ? \"hover:text-slateA-11 dark:hover:text-white\"\n : \"hover:text-white dark:hover:text-white\";\n }\n if (type === 'soft') {\n appearanceStyle = \"hover:bg-\".concat(color, \"A-4 dark:hover-bg-\").concat(color, \"DarkA-4\");\n }\n if (type === 'ghost') {\n appearanceStyle = \"hover:bg-\".concat(color, \"-3 dark:hover:bg-\").concat(color, \"Dark-3\");\n }\n return appearanceStyle;\n};\nexport var checkboxAppearanceStyle = function (type, color, indeterminate) {\n if (color === void 0) { color = MAIN_COLOR; }\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"border data-[state=unchecked]:bg-transparent data-[state=unchecked]:border-slateA-7\\n data-[state=checked]:bg-\".concat(color, \"-9 data-[state=checked]:border-none data-[state=checked]:text-slate-1\"),\n hover: \"hover:data-[state=unchecked]:bg-transparent hover:data-[state=unchecked]:border-slateA-8\\n hover:data-[state=checked]:bg-\".concat(color, \"-10 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-white\"),\n active: \"active:data-[state=unchecked]:bg-transparent active:data-[state=unchecked]:border-slateA-9\\n active:data-[state=checked]:bg-\".concat(color, \"-10 active:data-[state=checked]:border-none active:data-[state=checked]:text-white\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-slateA-6\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-slateA-6 disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:border-slateDarkA-7\\n dark:data-[state=checked]:bg-\".concat(darkColor, \"-9 dark:data-[state=checked]:text-#111113\"),\n hover: \"dark:hover:data-[state=unchecked]:border-slateDarkA-8\\n dark:hover:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:hover:data-[state=checked]:text-#111113\"),\n active: \"dark:active:data-[state=unchecked]:border-slateDarkA-9\\n dark:active:data-[state=checked]:bg-\".concat(darkColor, \"-10 dark:active:data-[state=checked]:text-#111113\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3 dark:disabled:data-[state=unchecked]:border-slateDarkA-6\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:border-slateDarkA-6 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"data-[state=unchecked]:bg-\".concat(color, \"A-5 data-[state=unchecked]:border-none\\n data-[state=checked]:bg-\").concat(color, \"A-5 data-[state=checked]:border-none data-[state=checked]:text-\").concat(color, \"-11\"),\n hover: \"hover:data-[state=unchecked]:bg-\".concat(color, \"A-6 hover:data-[state=unchecked]:border-none\\n hover:data-[state=checked]:bg-\").concat(color, \"A-6 hover:data-[state=checked]:border-none hover:data-[state=checked]:text-\").concat(color, \"-11\"),\n active: \"active:data-[state=unchecked]:bg-\".concat(color, \"A-7 active:data-[state=unchecked]:border-none\\n active:data-[state=checked]:bg-\").concat(color, \"A-7 active:data-[state=checked]:border-none active:data-[state=checked]:text-\").concat(color, \"-11\"),\n disable: \"disabled:data-[state=unchecked]:bg-slateA-3 disabled:data-[state=unchecked]:border-none\\n disabled:data-[state=checked]:bg-slateA-3 disabled:data-[state=checked]:border-none disabled:data-[state=checked]:text-slateA-8\",\n },\n dark: {\n default: \"dark:data-[state=unchecked]:bg-\".concat(darkColor, \"A-5\\n dark:data-[state=checked]:bg-\").concat(darkColor, \"A-5 dark:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n hover: \"dark:hover:data-[state=unchecked]:bg-\".concat(darkColor, \"A-6\\n dark:hover:data-[state=checked]:bg-\").concat(darkColor, \"A-6 dark:hover:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n active: \"dark:active:data-[state=unchecked]:bg-\".concat(darkColor, \"A-7\\n dark:active:data-[state=checked]:bg-\").concat(darkColor, \"A-7 dark:active:data-[state=checked]:text-\").concat(darkColor, \"-11\"),\n disable: \"dark:disabled:data-[state=unchecked]:bg-slateDarkA-3\\n dark:disabled:data-[state=checked]:bg-slateDarkA-3 dark:disabled:data-[state=checked]:text-slateDarkA-8\",\n },\n };\n var indeterminateSurface = {\n light: {\n default: \"border bg-\".concat(color, \"A-2 border-\").concat(color, \"A-7 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-\".concat(color, \"A-2 hover:border-\").concat(color, \"A-8 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-2 dark:border-\").concat(darkColor, \"A-7 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-2 dark:hover:border-\").concat(darkColor, \"A-8 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var indeterminateSoft = {\n light: {\n default: \"border bg-transparent border-\".concat(color, \"A-6 text-\").concat(color, \"A-11\"),\n hover: \"hover:bg-transparent hover:border-\".concat(color, \"A-6 hover:text-\").concat(color, \"A-11\"),\n active: \"active:bg-transparent active:border-\".concat(color, \"A-6 active:text-\").concat(color, \"A-11\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:border-\".concat(darkColor, \"A-6 dark:text-\").concat(darkColor, \"A-11\"),\n hover: \"dark:hover:border-\".concat(darkColor, \"A-6 dark:hover:text-\").concat(darkColor, \"A-11\"),\n active: \"dark:active:border-\".concat(darkColor, \"A-6 dark:active:text-\").concat(darkColor, \"A-11\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:text-slateDarkA-8\",\n },\n };\n switch (type) {\n case 'classic':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : \"\".concat(makeClassName(surface, true), \" data-[state=checked]:shadow-checkbox-classic data-[state=unchecked]:shadow-checkbox-classic\\n dark:data-[state=checked]:shadow-checkbox-classic dark:data-[state=unchecked]:shadow-checkbox-classic\");\n case 'soft':\n return indeterminate ? makeClassName(indeterminateSoft, true) : makeClassName(soft, true);\n case 'surface':\n return indeterminate\n ? makeClassName(indeterminateSurface, true)\n : makeClassName(surface, true);\n default:\n return makeClassName(surface, true);\n }\n};\nexport var selectAppearanceStyle = function (type, color) {\n var darkColor = \"\".concat(color, \"Dark\");\n var surface = {\n light: {\n default: \"bg-[#FFFFFF] border border-slateA-7 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-[#FFFFFF] hover:border hover:border-slateA-8 hover:text-slateA-10\",\n active: \"active:bg-\".concat(color, \"A-3 active:border-\").concat(color, \"A-8 active:text-slateA-10 active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-2 disabled:border-slateA-6 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-[#111113] dark:border dark:data-placeholder:border-slateDarkA-7 dark:data-placeholder:text-slateDarkA-9 dark:border-slateDarkA-7 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-[#111113] dark:hover:border dark:hover:border-slateDarkA-8 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-\".concat(darkColor, \"A-3 dark:active:border dark:active:border-\").concat(darkColor, \"A-8 dark:active:text-slateDarkA-10 dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-2 dark:disabled:border dark:disabled:border-slateDarkA-6 dark:disabled:text-slateDarkA-8\",\n },\n };\n var classic = {\n light: {\n default: \"bg-slateA-2 border border-slate-4 data-placeholder:text-slateA-10 text-slateA-12\",\n hover: \"hover:bg-slateA-3 hover:border hover:border-slate-4 hover:text-slateA-10\",\n active: \"active:bg-slateA-4 active:border active:border-slate-6 active:text-slateA-10\",\n disable: \"disabled:bg-slateA-3 disabled:border disabled:border-slate-4 disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-slateDarkA-2 dark:border-slateDark-4 dark:data-placeholder:text-slateDarkA-10 dark:text-slateDarkA-12\",\n hover: \"dark:hover:bg-slateDarkA-3 dark:hover:border-slateDark-4 dark:hover:text-slateDarkA-10\",\n active: \"dark:active:bg-slateDarkA-4 dark:active:border-slateDark-6 dark:active:text-slateDarkA-10\",\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-slateDark-4 dark:disabled:text-slateDarkA-8\",\n },\n };\n var soft = {\n light: {\n default: \"bg-\".concat(color, \"A-3 border-none data-placeholder:text-\").concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-4 hover:border-none hover:text-\").concat(color, \"A-12/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-5 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-slateA-3 disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-\".concat(darkColor, \"A-3 dark:border-none dark:data-placeholder:text-\").concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12 \"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-4 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-5 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:bg-slateDarkA-3 dark:disabled:border-none dark:disabled:text-slateDarkA-8\",\n },\n };\n var ghost = {\n light: {\n default: \"bg-transparent border-none data-placeholder:text-\".concat(color, \"A-12/[.5] text-\").concat(color, \"A-12\"),\n hover: \"hover:bg-\".concat(color, \"A-3 hover:border-none hover:text-\").concat(color, \"A-1/[.5]\"),\n active: \"active:bg-\".concat(color, \"A-4 active:border-none active:text-\").concat(color, \"A-12/[.5] active:opacity-[.92]\"),\n disable: \"disabled:bg-transparent disabled:border-none disabled:text-slateA-8\",\n },\n dark: {\n default: \"dark:bg-transparent dark:border-none dark:data-placeholder:text-\".concat(darkColor, \"A-12/[.5] dark:text-\").concat(darkColor, \"A-12\"),\n hover: \"dark:hover:bg-\".concat(darkColor, \"A-3 dark:hover:border-none dark:hover:text-\").concat(darkColor, \"A-12/[.5]\"),\n active: \"dark:active:bg-\".concat(darkColor, \"A-4 dark:active:border-none dark:active:text-\").concat(darkColor, \"A-12/[.5] dark:active:opacity-[.92]\"),\n disable: \"dark:disabled:text-slateDarkA-8 dark:disabled:border-none\",\n },\n };\n var makeClassName = function (type) {\n var className = '';\n className += \"\".concat(type.light.default, \" \").concat(type.dark.default, \" \").concat(type.light.hover, \" \").concat(type.light.active, \" \").concat(type.light.disable, \" \").concat(type.dark.hover, \" \").concat(type.dark.active, \" \").concat(type.dark.disable);\n return className;\n };\n switch (type) {\n case 'classic':\n return makeClassName(classic);\n case 'soft':\n return makeClassName(soft);\n case 'surface':\n return makeClassName(surface);\n case 'ghost':\n return makeClassName(ghost);\n default:\n return '';\n }\n};\n"],"names":["radiusVariants","small","none","medium","large","full","base","weightVariants","regular","semibold","bold","scalingVariants","blackText","primaryColorStyle","color","i","ColorStyle","darkColor","concat","includes","DarkColorStyle","bgColorStyle","textColorStyle","makeClassName","type","isClickable","className","light","default","dark","hover","active","disable","appearanceStyle","MAIN_COLOR","classic","solid","soft","surface","outline","ghost","toggleAppearanceStyle","stateOn","menuItemAppearanceStyle","checkboxAppearanceStyle","indeterminate","ind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C5GgB,MAAO,YAAYZ,OAAOJ,EAAO,qCAAqCI,OAAOJ,EAAO,YACpFiB,OAAQ,aAAab,OAAOJ,EAAO,uCAAuCI,OAAOJ,EAAO,kCACxFkB,QAAS,uEAEbH,KAAM,CACFD,QAAS,mEAAmEV,OAAOD,EAAW,wBAAwBC,OAAOD,EAAW,QACxIa,MAAO,iBAAiBZ,OAAOD,EAAW,+CAA+CC,OAAOD,EAAW,aAC3Gc,OAAQ,kBAAkBb,OAAOD,EAAW,iDAAiDC,OAAOD,EAAW,uCAC/Ge,QAAS,8DAGbT,EAAgB,SAAUC,GAC1B,IAAIE,EAAY,GAEhB,OADAA,GAAa,GAAGR,OAAOM,EAAKG,MAAMC,QAAS,KAAKV,OAAOM,EAAKK,KAAKD,QAAS,MAAMV,OAAOM,EAAKG,MAAMG,MAAO,KAAKZ,OAAOM,EAAKG,MAAMI,OAAQ,KAAKb,OAAOM,EAAKG,MAAMK,QAAS,KAAKd,OAAOM,EAAKK,KAAKC,MAAO,KAAKZ,OAAOM,EAAKK,KAAKE,OAAQ,KAAKb,OAAOM,EAAKK,KAAKG,QAEjQ,EACI,OAAQR,GACJ,IAAK,UACD,OAAOD,EAjDD,CACVI,MAAO,CACHC,QAAS,mFACTE,MAAO,2EACPC,OAAQ,+EACRC,QAAS,uFAEbH,KAAM,CACFD,QAAS,gHACTE,MAAO,yFACPC,OAAQ,4FACRC,QAAS,oGAuCb,IAAK,OACD,OAAOT,EAAcc,GACzB,IAAK,UACD,OAAOd,EAAce,GACzB,IAAK,QACD,OAAOf,EAAciB,GACzB,QACI,MAAO,GAEnB"}
@@ -1,2 +1,3 @@
1
1
  export * from './components';
2
2
  export * from './Typography';
3
+ export * from './theme';
package/dist/lib/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './components';
2
2
  export * from './Typography';
3
+ export * from './theme';
@@ -1,2 +1,2 @@
1
- export{default as Accordion}from"./components/Accordion/index.mjs";export{default as AlertDialog}from"./components/AlertDialog/index.mjs";export{default as AspectRatio}from"./components/AspectRatio/index.mjs";export{default as Avatar}from"./components/Avatar/index.mjs";export{default as Badge}from"./components/Badge/index.mjs";export{Button}from"./components/Button/index.mjs";export{default as Callout}from"./components/Callout/index.mjs";export{default as Card}from"./components/Card/index.mjs";export{Checkbox}from"./components/Checkbox/index.mjs";export{default as CheckboxCard}from"./components/CheckboxCard/index.mjs";export{default as CheckboxGroup}from"./components/CheckboxGroup/index.mjs";export{default as ContextMenu}from"./components/ContextMenu/index.mjs";export{default as DataList}from"./components/DataList/index.mjs";export{default as Dialog}from"./components/Dialog/index.mjs";export{default as DropdownMenu}from"./components/DropdownMenu/index.mjs";export{default as HoverCard}from"./components/HoverCard/index.mjs";export{IconButton}from"./components/IconButton/index.mjs";export{Inset}from"./components/Inset/index.mjs";export{Label}from"./components/Label/index.mjs";export{default as Menubar}from"./components/Menubar/index.mjs";export{default as NavigationMenu}from"./components/NavigationMenu/index.mjs";export{default as Popover}from"./components/Popover/index.mjs";export{Progress}from"./components/Progress/index.mjs";export{Radio}from"./components/Radio/index.mjs";export{default as RadioCards}from"./components/RadioCards/index.mjs";export{default as RadioGroup}from"./components/RadioGroup/index.mjs";export{ScrollArea}from"./components/ScrollArea/index.mjs";export{default as SegmentedControl}from"./components/SegmentedControl/index.mjs";export{default as Select}from"./components/Select/index.mjs";export{Separator}from"./components/Separator/index.mjs";export{Skeleton}from"./components/Skeleton/index.mjs";export{Slider}from"./components/Slider/index.mjs";export{Spinner}from"./components/Spinner/index.mjs";export{default as Table}from"./components/Table/index.mjs";export{default as TabNav}from"./components/TabNav/index.mjs";export{default as Tabs}from"./components/Tabs/index.mjs";export{TextArea}from"./components/TextArea/index.mjs";export{default as TextField}from"./components/TextField/index.mjs";export{default as Toast}from"./components/Toast/index.mjs";export{Toggle}from"./components/Toggle/index.mjs";export{ToggleWithText}from"./components/Toggle/ToggleWithText.mjs";export{default as ToggleGroup}from"./components/ToggleGroup/index.mjs";export{ToggleSwitch}from"./components/ToggleSwitch/index.mjs";export{default as Tooltip}from"./components/Tooltip/index.mjs";export{default as BarChart}from"./components/BarChart/index.mjs";export{BubbleChart}from"./components/BubbleChart/index.mjs";export{RadarChart}from"./components/RadarChart/index.mjs";export{default as LineChart}from"./components/LineChart/index.mjs";export{default as PieChart}from"./components/PieChart/index.mjs";export{default as DoughnutChart}from"./components/DoughnutChart/index.mjs";export{Header}from"./Typography/Header/index.mjs";export{Text}from"./Typography/Text/index.mjs";
1
+ export{default as Accordion}from"./components/Accordion/index.mjs";export{default as AlertDialog}from"./components/AlertDialog/index.mjs";export{default as AspectRatio}from"./components/AspectRatio/index.mjs";export{default as Avatar}from"./components/Avatar/index.mjs";export{default as Badge}from"./components/Badge/index.mjs";export{default as Breadcrumb}from"./components/Breadcrumb/index.mjs";export{Button}from"./components/Button/index.mjs";export{default as Callout}from"./components/Callout/index.mjs";export{default as Card}from"./components/Card/index.mjs";export{Checkbox}from"./components/Checkbox/index.mjs";export{default as CheckboxCard}from"./components/CheckboxCard/index.mjs";export{default as CheckboxGroup}from"./components/CheckboxGroup/index.mjs";export{default as ContextMenu}from"./components/ContextMenu/index.mjs";export{default as Collapsible}from"./components/Collapsible/index.mjs";export{default as DataList}from"./components/DataList/index.mjs";export{default as Dialog}from"./components/Dialog/index.mjs";export{default as DropdownMenu}from"./components/DropdownMenu/index.mjs";export{Editor}from"./components/Editor/index.mjs";export{Footer}from"./components/Footer/index.mjs";export{default as Gnb}from"./components/Gnb/index.mjs";export{default as HoverCard}from"./components/HoverCard/index.mjs";export{IconButton}from"./components/IconButton/index.mjs";export{Inset}from"./components/Inset/index.mjs";export{Label}from"./components/Label/index.mjs";export{default as Menubar}from"./components/Menubar/index.mjs";export{default as NavigationMenu}from"./components/NavigationMenu/index.mjs";export{default as Popover}from"./components/Popover/index.mjs";export{Progress}from"./components/Progress/index.mjs";export{Radio}from"./components/Radio/index.mjs";export{default as RadioCards}from"./components/RadioCards/index.mjs";export{default as RadioGroup}from"./components/RadioGroup/index.mjs";export{ScrollArea}from"./components/ScrollArea/index.mjs";export{default as SegmentedControl}from"./components/SegmentedControl/index.mjs";export{default as Select}from"./components/Select/index.mjs";export{Separator}from"./components/Separator/index.mjs";export{Skeleton}from"./components/Skeleton/index.mjs";export{Slider}from"./components/Slider/index.mjs";export{Spinner}from"./components/Spinner/index.mjs";export{default as Table}from"./components/Table/index.mjs";export{default as TabNav}from"./components/TabNav/index.mjs";export{default as Tabs}from"./components/Tabs/index.mjs";export{TextArea}from"./components/TextArea/index.mjs";export{default as TextField}from"./components/TextField/index.mjs";export{default as Toast}from"./components/Toast/index.mjs";export{Toggle}from"./components/Toggle/index.mjs";export{ToggleWithText}from"./components/Toggle/ToggleWithText.mjs";export{default as ToggleGroup}from"./components/ToggleGroup/index.mjs";export{ToggleSwitch}from"./components/ToggleSwitch/index.mjs";export{default as Tooltip}from"./components/Tooltip/index.mjs";export{default as BarChart}from"./components/BarChart/index.mjs";export{BubbleChart}from"./components/BubbleChart/index.mjs";export{RadarChart}from"./components/RadarChart/index.mjs";export{default as LineChart}from"./components/LineChart/index.mjs";export{default as PieChart}from"./components/PieChart/index.mjs";export{default as DoughnutChart}from"./components/DoughnutChart/index.mjs";export{default as Grid}from"./components/Grid/index.mjs";export{useGrid}from"./components/Grid/useGrid.mjs";export{Header}from"./Typography/Header/index.mjs";export{Text}from"./Typography/Text/index.mjs";export{default as LuiThemeProvider,useTheme}from"./theme/ThemeProvider.mjs";
2
2
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IColor, IRadius, IScaling, IWeight } from '../../lib/types';
3
+ type ITheme = {
4
+ themeColor?: IColor;
5
+ themeRadius?: IRadius;
6
+ themeScaling?: IScaling;
7
+ themeWeight?: IWeight;
8
+ };
9
+ export declare const useTheme: () => {
10
+ theme: ITheme;
11
+ updateTheme: (newTheme: Partial<ITheme>) => void;
12
+ };
13
+ declare const ThemeProvider: ({ children }: {
14
+ children: React.ReactNode;
15
+ }) => import("react/jsx-runtime").JSX.Element;
16
+ export default ThemeProvider;
@@ -0,0 +1,29 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { createContext, useContext, useState } from 'react';
15
+ var defaultThemeValue = {};
16
+ var ThemeContext = createContext({
17
+ theme: defaultThemeValue,
18
+ updateTheme: function () { },
19
+ });
20
+ export var useTheme = function () { return useContext(ThemeContext); };
21
+ var ThemeProvider = function (_a) {
22
+ var children = _a.children;
23
+ var _b = useState(defaultThemeValue), theme = _b[0], setTheme = _b[1];
24
+ var updateTheme = function (newTheme) {
25
+ setTheme(function (prevTheme) { return (__assign(__assign({}, prevTheme), newTheme)); });
26
+ };
27
+ return _jsx(ThemeContext.Provider, { value: { theme: theme, updateTheme: updateTheme }, children: children });
28
+ };
29
+ export default ThemeProvider;
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{jsx as r}from"react/jsx-runtime";import{createContext as t,useContext as e,useState as n}from"react";var o=function(){return o=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},o.apply(this,arguments)},u={},i=t({theme:u,updateTheme:function(){}}),a=function(){return e(i)},c=function(t){var e=t.children,a=n(u),c=a[0],f=a[1];return r(i.Provider,{value:{theme:c,updateTheme:function(r){f((function(t){return o(o({},t),r)}))}},children:e})};export{c as default,a as useTheme};
3
+ //# sourceMappingURL=ThemeProvider.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ export { default as LuiThemeProvider } from './ThemeProvider';
2
+ export { useTheme } from './ThemeProvider';
@@ -0,0 +1,2 @@
1
+ export { default as LuiThemeProvider } from './ThemeProvider';
2
+ export { useTheme } from './ThemeProvider';