@kimdw-rtk/ui 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/dist/components/Accordion/Accordion.css.d.ts +16 -0
  2. package/dist/components/Accordion/Accordion.css.d.ts.map +1 -0
  3. package/dist/components/Accordion/Accordion.css.js +24 -0
  4. package/dist/components/Accordion/Accordion.d.ts +8 -0
  5. package/dist/components/Accordion/Accordion.d.ts.map +1 -0
  6. package/dist/components/Accordion/Accordion.js +12 -0
  7. package/dist/components/Accordion/Accordion.spec.d.ts +2 -0
  8. package/dist/components/Accordion/Accordion.spec.d.ts.map +1 -0
  9. package/dist/components/Accordion/Accordion.spec.js +5 -0
  10. package/dist/components/Accordion/AccordionContent.css.d.ts +13 -0
  11. package/dist/components/Accordion/AccordionContent.css.d.ts.map +1 -0
  12. package/dist/components/Accordion/AccordionContent.css.js +22 -0
  13. package/dist/components/Accordion/AccordionContent.d.ts +7 -0
  14. package/dist/components/Accordion/AccordionContent.d.ts.map +1 -0
  15. package/dist/components/Accordion/AccordionContent.js +56 -0
  16. package/dist/components/Accordion/AccordionContext.d.ts +7 -0
  17. package/dist/components/Accordion/AccordionContext.d.ts.map +1 -0
  18. package/dist/components/Accordion/AccordionContext.js +5 -0
  19. package/dist/components/Accordion/AccordionTrigger.css.d.ts +19 -0
  20. package/dist/components/Accordion/AccordionTrigger.css.d.ts.map +1 -0
  21. package/dist/components/Accordion/AccordionTrigger.css.js +39 -0
  22. package/dist/components/Accordion/AccordionTrigger.d.ts +8 -0
  23. package/dist/components/Accordion/AccordionTrigger.d.ts.map +1 -0
  24. package/dist/components/Accordion/AccordionTrigger.js +14 -0
  25. package/dist/components/Accordion/index.d.ts +4 -0
  26. package/dist/components/Accordion/index.d.ts.map +1 -0
  27. package/dist/components/Accordion/index.js +3 -0
  28. package/dist/components/Alert/index.d.ts +7 -0
  29. package/dist/components/Alert/index.d.ts.map +1 -0
  30. package/dist/components/Alert/index.js +9 -0
  31. package/dist/components/Box/Box.css.d.ts +13 -0
  32. package/dist/components/Box/Box.css.d.ts.map +1 -0
  33. package/dist/components/Box/Box.css.js +16 -0
  34. package/dist/components/Box/Box.spec.d.ts +2 -0
  35. package/dist/components/Box/Box.spec.d.ts.map +1 -0
  36. package/dist/components/Box/Box.spec.js +5 -0
  37. package/dist/components/Box/index.d.ts +7 -0
  38. package/dist/components/Box/index.d.ts.map +1 -0
  39. package/dist/components/Box/index.js +10 -0
  40. package/dist/components/Button/Button.css.d.ts +146 -0
  41. package/dist/components/Button/Button.css.d.ts.map +1 -0
  42. package/dist/components/Button/Button.css.js +182 -0
  43. package/dist/components/Button/Button.spec.d.ts +2 -0
  44. package/dist/components/Button/Button.spec.d.ts.map +1 -0
  45. package/dist/components/Button/Button.spec.js +19 -0
  46. package/dist/components/Button/index.d.ts +9 -0
  47. package/dist/components/Button/index.d.ts.map +1 -0
  48. package/dist/components/Button/index.js +19 -0
  49. package/dist/components/Card/Card.css.d.ts +61 -0
  50. package/dist/components/Card/Card.css.d.ts.map +1 -0
  51. package/dist/components/Card/Card.css.js +68 -0
  52. package/dist/components/Card/Card.d.ts +10 -0
  53. package/dist/components/Card/Card.d.ts.map +1 -0
  54. package/dist/components/Card/Card.js +10 -0
  55. package/dist/components/Card/Card.spec.d.ts +2 -0
  56. package/dist/components/Card/Card.spec.d.ts.map +1 -0
  57. package/dist/components/Card/Card.spec.js +16 -0
  58. package/dist/components/Card/CardContent.css.d.ts +2 -0
  59. package/dist/components/Card/CardContent.css.d.ts.map +1 -0
  60. package/dist/components/Card/CardContent.css.js +6 -0
  61. package/dist/components/Card/CardContent.d.ts +5 -0
  62. package/dist/components/Card/CardContent.d.ts.map +1 -0
  63. package/dist/components/Card/CardContent.js +9 -0
  64. package/dist/components/Card/CardInteraction.css.d.ts +2 -0
  65. package/dist/components/Card/CardInteraction.css.d.ts.map +1 -0
  66. package/dist/components/Card/CardInteraction.css.js +8 -0
  67. package/dist/components/Card/CardInteraction.d.ts +5 -0
  68. package/dist/components/Card/CardInteraction.d.ts.map +1 -0
  69. package/dist/components/Card/CardInteraction.js +12 -0
  70. package/dist/components/Card/CardThumbnail.css.d.ts +2 -0
  71. package/dist/components/Card/CardThumbnail.css.d.ts.map +1 -0
  72. package/dist/components/Card/CardThumbnail.css.js +5 -0
  73. package/dist/components/Card/CardThumbnail.d.ts +5 -0
  74. package/dist/components/Card/CardThumbnail.d.ts.map +1 -0
  75. package/dist/components/Card/CardThumbnail.js +9 -0
  76. package/dist/components/Card/index.d.ts +5 -0
  77. package/dist/components/Card/index.d.ts.map +1 -0
  78. package/dist/components/Card/index.js +4 -0
  79. package/dist/components/Chip/Chip.css.d.ts +46 -0
  80. package/dist/components/Chip/Chip.css.d.ts.map +1 -0
  81. package/dist/components/Chip/Chip.css.js +56 -0
  82. package/dist/components/Chip/Chip.d.ts +6 -0
  83. package/dist/components/Chip/Chip.d.ts.map +1 -0
  84. package/dist/components/Chip/Chip.js +10 -0
  85. package/dist/components/Chip/Chip.spec.d.ts +2 -0
  86. package/dist/components/Chip/Chip.spec.d.ts.map +1 -0
  87. package/dist/components/Chip/Chip.spec.js +5 -0
  88. package/dist/components/Chip/index.d.ts +2 -0
  89. package/dist/components/Chip/index.d.ts.map +1 -0
  90. package/dist/components/Chip/index.js +1 -0
  91. package/dist/components/Confirm/index.d.ts +12 -0
  92. package/dist/components/Confirm/index.d.ts.map +1 -0
  93. package/dist/components/Confirm/index.js +13 -0
  94. package/dist/components/Dialog/Dialog.css.d.ts +3 -0
  95. package/dist/components/Dialog/Dialog.css.d.ts.map +1 -0
  96. package/dist/components/Dialog/Dialog.css.js +19 -0
  97. package/dist/components/Dialog/Dialog.d.ts +5 -0
  98. package/dist/components/Dialog/Dialog.d.ts.map +1 -0
  99. package/dist/components/Dialog/Dialog.js +10 -0
  100. package/dist/components/Dialog/Dialog.spec.d.ts +2 -0
  101. package/dist/components/Dialog/Dialog.spec.d.ts.map +1 -0
  102. package/dist/components/Dialog/Dialog.spec.js +16 -0
  103. package/dist/components/Dialog/DialogContent.css.d.ts +2 -0
  104. package/dist/components/Dialog/DialogContent.css.d.ts.map +1 -0
  105. package/dist/components/Dialog/DialogContent.css.js +12 -0
  106. package/dist/components/Dialog/DialogContent.d.ts +5 -0
  107. package/dist/components/Dialog/DialogContent.d.ts.map +1 -0
  108. package/dist/components/Dialog/DialogContent.js +10 -0
  109. package/dist/components/Dialog/DialogFooter.css.d.ts +3 -0
  110. package/dist/components/Dialog/DialogFooter.css.d.ts.map +1 -0
  111. package/dist/components/Dialog/DialogFooter.css.js +15 -0
  112. package/dist/components/Dialog/DialogFooter.d.ts +5 -0
  113. package/dist/components/Dialog/DialogFooter.d.ts.map +1 -0
  114. package/dist/components/Dialog/DialogFooter.js +9 -0
  115. package/dist/components/Dialog/DialogHeader.css.d.ts +3 -0
  116. package/dist/components/Dialog/DialogHeader.css.d.ts.map +1 -0
  117. package/dist/components/Dialog/DialogHeader.css.js +23 -0
  118. package/dist/components/Dialog/DialogHeader.d.ts +7 -0
  119. package/dist/components/Dialog/DialogHeader.d.ts.map +1 -0
  120. package/dist/components/Dialog/DialogHeader.js +11 -0
  121. package/dist/components/Dialog/index.d.ts +5 -0
  122. package/dist/components/Dialog/index.d.ts.map +1 -0
  123. package/dist/components/Dialog/index.js +4 -0
  124. package/dist/components/Navigation/Navigation.spec.d.ts +2 -0
  125. package/dist/components/Navigation/Navigation.spec.d.ts.map +1 -0
  126. package/dist/components/Navigation/Navigation.spec.js +11 -0
  127. package/dist/components/Navigation/NavigationAside.css.d.ts +2 -0
  128. package/dist/components/Navigation/NavigationAside.css.d.ts.map +1 -0
  129. package/dist/components/Navigation/NavigationAside.css.js +6 -0
  130. package/dist/components/Navigation/NavigationAside.d.ts +5 -0
  131. package/dist/components/Navigation/NavigationAside.d.ts.map +1 -0
  132. package/dist/components/Navigation/NavigationAside.js +10 -0
  133. package/dist/components/Navigation/NavigationBar.css.d.ts +15 -0
  134. package/dist/components/Navigation/NavigationBar.css.d.ts.map +1 -0
  135. package/dist/components/Navigation/NavigationBar.css.js +32 -0
  136. package/dist/components/Navigation/NavigationBar.d.ts +6 -0
  137. package/dist/components/Navigation/NavigationBar.d.ts.map +1 -0
  138. package/dist/components/Navigation/NavigationBar.js +10 -0
  139. package/dist/components/Navigation/NavigationContainer.css.d.ts +2 -0
  140. package/dist/components/Navigation/NavigationContainer.css.d.ts.map +1 -0
  141. package/dist/components/Navigation/NavigationContainer.css.js +9 -0
  142. package/dist/components/Navigation/NavigationContainer.d.ts +5 -0
  143. package/dist/components/Navigation/NavigationContainer.d.ts.map +1 -0
  144. package/dist/components/Navigation/NavigationContainer.js +9 -0
  145. package/dist/components/Navigation/NavigationDrawer.css.d.ts +14 -0
  146. package/dist/components/Navigation/NavigationDrawer.css.d.ts.map +1 -0
  147. package/dist/components/Navigation/NavigationDrawer.css.js +49 -0
  148. package/dist/components/Navigation/NavigationDrawer.d.ts +8 -0
  149. package/dist/components/Navigation/NavigationDrawer.d.ts.map +1 -0
  150. package/dist/components/Navigation/NavigationDrawer.js +23 -0
  151. package/dist/components/Navigation/NavigationItem.css.d.ts +11 -0
  152. package/dist/components/Navigation/NavigationItem.css.d.ts.map +1 -0
  153. package/dist/components/Navigation/NavigationItem.css.js +34 -0
  154. package/dist/components/Navigation/NavigationItem.d.ts +6 -0
  155. package/dist/components/Navigation/NavigationItem.d.ts.map +1 -0
  156. package/dist/components/Navigation/NavigationItem.js +9 -0
  157. package/dist/components/Navigation/NavigationLogo.css.d.ts +2 -0
  158. package/dist/components/Navigation/NavigationLogo.css.d.ts.map +1 -0
  159. package/dist/components/Navigation/NavigationLogo.css.js +4 -0
  160. package/dist/components/Navigation/NavigationLogo.d.ts +5 -0
  161. package/dist/components/Navigation/NavigationLogo.d.ts.map +1 -0
  162. package/dist/components/Navigation/NavigationLogo.js +9 -0
  163. package/dist/components/Navigation/NavigationMenu.css.d.ts +2 -0
  164. package/dist/components/Navigation/NavigationMenu.css.d.ts.map +1 -0
  165. package/dist/components/Navigation/NavigationMenu.css.js +19 -0
  166. package/dist/components/Navigation/NavigationMenu.d.ts +6 -0
  167. package/dist/components/Navigation/NavigationMenu.d.ts.map +1 -0
  168. package/dist/components/Navigation/NavigationMenu.js +10 -0
  169. package/dist/components/Navigation/index.d.ts +8 -0
  170. package/dist/components/Navigation/index.d.ts.map +1 -0
  171. package/dist/components/Navigation/index.js +7 -0
  172. package/dist/components/Range/Range.css.d.ts +49 -0
  173. package/dist/components/Range/Range.css.d.ts.map +1 -0
  174. package/dist/components/Range/Range.css.js +93 -0
  175. package/dist/components/Range/Range.d.ts +12 -0
  176. package/dist/components/Range/Range.d.ts.map +1 -0
  177. package/dist/components/Range/Range.js +37 -0
  178. package/dist/components/Range/Range.spec.d.ts +2 -0
  179. package/dist/components/Range/Range.spec.d.ts.map +1 -0
  180. package/dist/components/Range/Range.spec.js +5 -0
  181. package/dist/components/Range/index.d.ts +2 -0
  182. package/dist/components/Range/index.d.ts.map +1 -0
  183. package/dist/components/Range/index.js +1 -0
  184. package/dist/components/ScrollArea/ScrollArea.css.d.ts +6 -0
  185. package/dist/components/ScrollArea/ScrollArea.css.d.ts.map +1 -0
  186. package/dist/components/ScrollArea/ScrollArea.css.js +32 -0
  187. package/dist/components/ScrollArea/ScrollArea.d.ts +6 -0
  188. package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -0
  189. package/dist/components/ScrollArea/ScrollArea.js +34 -0
  190. package/dist/components/ScrollArea/ScrollArea.spec.d.ts +2 -0
  191. package/dist/components/ScrollArea/ScrollArea.spec.d.ts.map +1 -0
  192. package/dist/components/ScrollArea/ScrollArea.spec.js +5 -0
  193. package/dist/components/ScrollArea/index.d.ts +2 -0
  194. package/dist/components/ScrollArea/index.d.ts.map +1 -0
  195. package/dist/components/ScrollArea/index.js +1 -0
  196. package/dist/components/Select/Select.css.d.ts +14 -0
  197. package/dist/components/Select/Select.css.d.ts.map +1 -0
  198. package/dist/components/Select/Select.css.js +20 -0
  199. package/dist/components/Select/Select.d.ts +17 -0
  200. package/dist/components/Select/Select.d.ts.map +1 -0
  201. package/dist/components/Select/Select.js +46 -0
  202. package/dist/components/Select/Select.spec.d.ts +2 -0
  203. package/dist/components/Select/Select.spec.d.ts.map +1 -0
  204. package/dist/components/Select/Select.spec.js +35 -0
  205. package/dist/components/Select/SelectContext.d.ts +34 -0
  206. package/dist/components/Select/SelectContext.d.ts.map +1 -0
  207. package/dist/components/Select/SelectContext.js +30 -0
  208. package/dist/components/Select/SelectOption.css.d.ts +2 -0
  209. package/dist/components/Select/SelectOption.css.d.ts.map +1 -0
  210. package/dist/components/Select/SelectOption.css.js +10 -0
  211. package/dist/components/Select/SelectOption.d.ts +8 -0
  212. package/dist/components/Select/SelectOption.d.ts.map +1 -0
  213. package/dist/components/Select/SelectOption.js +23 -0
  214. package/dist/components/Select/SelectOptionList.css.d.ts +19 -0
  215. package/dist/components/Select/SelectOptionList.css.d.ts.map +1 -0
  216. package/dist/components/Select/SelectOptionList.css.js +55 -0
  217. package/dist/components/Select/SelectOptionList.d.ts +7 -0
  218. package/dist/components/Select/SelectOptionList.d.ts.map +1 -0
  219. package/dist/components/Select/SelectOptionList.js +33 -0
  220. package/dist/components/Select/SelectTrigger.css.d.ts +34 -0
  221. package/dist/components/Select/SelectTrigger.css.d.ts.map +1 -0
  222. package/dist/components/Select/SelectTrigger.css.js +59 -0
  223. package/dist/components/Select/SelectTrigger.d.ts +6 -0
  224. package/dist/components/Select/SelectTrigger.d.ts.map +1 -0
  225. package/dist/components/Select/SelectTrigger.js +19 -0
  226. package/dist/components/Select/index.d.ts +3 -0
  227. package/dist/components/Select/index.d.ts.map +1 -0
  228. package/dist/components/Select/index.js +2 -0
  229. package/dist/components/Skeleton/Skeleton.css.d.ts +2 -0
  230. package/dist/components/Skeleton/Skeleton.css.d.ts.map +1 -0
  231. package/dist/components/Skeleton/Skeleton.css.js +19 -0
  232. package/dist/components/Skeleton/Skeleton.spec.d.ts +2 -0
  233. package/dist/components/Skeleton/Skeleton.spec.d.ts.map +1 -0
  234. package/dist/components/Skeleton/Skeleton.spec.js +5 -0
  235. package/dist/components/Skeleton/index.d.ts +9 -0
  236. package/dist/components/Skeleton/index.d.ts.map +1 -0
  237. package/dist/components/Skeleton/index.js +9 -0
  238. package/dist/components/Table/Table.css.d.ts +3 -0
  239. package/dist/components/Table/Table.css.d.ts.map +1 -0
  240. package/dist/components/Table/Table.css.js +7 -0
  241. package/dist/components/Table/Table.d.ts +8 -0
  242. package/dist/components/Table/Table.d.ts.map +1 -0
  243. package/dist/components/Table/Table.js +10 -0
  244. package/dist/components/Table/Table.spec.d.ts +2 -0
  245. package/dist/components/Table/Table.spec.d.ts.map +1 -0
  246. package/dist/components/Table/Table.spec.js +10 -0
  247. package/dist/components/Table/TableBody.d.ts +5 -0
  248. package/dist/components/Table/TableBody.d.ts.map +1 -0
  249. package/dist/components/Table/TableBody.js +6 -0
  250. package/dist/components/Table/TableCell.css.d.ts +2 -0
  251. package/dist/components/Table/TableCell.css.d.ts.map +1 -0
  252. package/dist/components/Table/TableCell.css.js +32 -0
  253. package/dist/components/Table/TableCell.d.ts +9 -0
  254. package/dist/components/Table/TableCell.d.ts.map +1 -0
  255. package/dist/components/Table/TableCell.js +8 -0
  256. package/dist/components/Table/TableHead.css.d.ts +2 -0
  257. package/dist/components/Table/TableHead.css.d.ts.map +1 -0
  258. package/dist/components/Table/TableHead.css.js +8 -0
  259. package/dist/components/Table/TableHead.d.ts +9 -0
  260. package/dist/components/Table/TableHead.d.ts.map +1 -0
  261. package/dist/components/Table/TableHead.js +8 -0
  262. package/dist/components/Table/TableHeader.d.ts +5 -0
  263. package/dist/components/Table/TableHeader.d.ts.map +1 -0
  264. package/dist/components/Table/TableHeader.js +6 -0
  265. package/dist/components/Table/TableRow.css.d.ts +2 -0
  266. package/dist/components/Table/TableRow.css.d.ts.map +1 -0
  267. package/dist/components/Table/TableRow.css.js +2 -0
  268. package/dist/components/Table/TableRow.d.ts +7 -0
  269. package/dist/components/Table/TableRow.d.ts.map +1 -0
  270. package/dist/components/Table/TableRow.js +7 -0
  271. package/dist/components/Table/index.d.ts +7 -0
  272. package/dist/components/Table/index.d.ts.map +1 -0
  273. package/dist/components/Table/index.js +6 -0
  274. package/dist/components/Tabs/Tabs.d.ts +7 -0
  275. package/dist/components/Tabs/Tabs.d.ts.map +1 -0
  276. package/dist/components/Tabs/Tabs.js +11 -0
  277. package/dist/components/Tabs/Tabs.spec.d.ts +2 -0
  278. package/dist/components/Tabs/Tabs.spec.d.ts.map +1 -0
  279. package/dist/components/Tabs/Tabs.spec.js +22 -0
  280. package/dist/components/Tabs/TabsContent.d.ts +9 -0
  281. package/dist/components/Tabs/TabsContent.d.ts.map +1 -0
  282. package/dist/components/Tabs/TabsContent.js +17 -0
  283. package/dist/components/Tabs/TabsList.css.d.ts +2 -0
  284. package/dist/components/Tabs/TabsList.css.d.ts.map +1 -0
  285. package/dist/components/Tabs/TabsList.css.js +8 -0
  286. package/dist/components/Tabs/TabsList.d.ts +5 -0
  287. package/dist/components/Tabs/TabsList.d.ts.map +1 -0
  288. package/dist/components/Tabs/TabsList.js +9 -0
  289. package/dist/components/Tabs/TabsProvider.d.ts +9 -0
  290. package/dist/components/Tabs/TabsProvider.d.ts.map +1 -0
  291. package/dist/components/Tabs/TabsProvider.js +6 -0
  292. package/dist/components/Tabs/TabsTrigger.css.d.ts +13 -0
  293. package/dist/components/Tabs/TabsTrigger.css.d.ts.map +1 -0
  294. package/dist/components/Tabs/TabsTrigger.css.js +29 -0
  295. package/dist/components/Tabs/TabsTrigger.d.ts +7 -0
  296. package/dist/components/Tabs/TabsTrigger.d.ts.map +1 -0
  297. package/dist/components/Tabs/TabsTrigger.js +19 -0
  298. package/dist/components/Tabs/index.d.ts +5 -0
  299. package/dist/components/Tabs/index.d.ts.map +1 -0
  300. package/dist/components/Tabs/index.js +4 -0
  301. package/dist/components/TextField/TextField.css.d.ts +49 -0
  302. package/dist/components/TextField/TextField.css.d.ts.map +1 -0
  303. package/dist/components/TextField/TextField.css.js +59 -0
  304. package/dist/components/TextField/TextField.spec.d.ts +2 -0
  305. package/dist/components/TextField/TextField.spec.d.ts.map +1 -0
  306. package/dist/components/TextField/TextField.spec.js +5 -0
  307. package/dist/components/TextField/index.d.ts +8 -0
  308. package/dist/components/TextField/index.d.ts.map +1 -0
  309. package/dist/components/TextField/index.js +10 -0
  310. package/dist/components/Toast/Toast.css.d.ts +26 -0
  311. package/dist/components/Toast/Toast.css.d.ts.map +1 -0
  312. package/dist/components/Toast/Toast.css.js +62 -0
  313. package/dist/components/Toast/Toast.spec.d.ts +2 -0
  314. package/dist/components/Toast/Toast.spec.d.ts.map +1 -0
  315. package/dist/components/Toast/Toast.spec.js +5 -0
  316. package/dist/components/Toast/index.d.ts +8 -0
  317. package/dist/components/Toast/index.d.ts.map +1 -0
  318. package/dist/components/Toast/index.js +13 -0
  319. package/dist/components/Typography/Typography.css.d.ts +10 -0
  320. package/dist/components/Typography/Typography.css.d.ts.map +1 -0
  321. package/dist/components/Typography/Typography.css.js +15 -0
  322. package/dist/components/Typography/Typography.spec.d.ts +2 -0
  323. package/dist/components/Typography/Typography.spec.d.ts.map +1 -0
  324. package/dist/components/Typography/Typography.spec.js +28 -0
  325. package/dist/components/Typography/index.d.ts +14 -0
  326. package/dist/components/Typography/index.d.ts.map +1 -0
  327. package/dist/components/Typography/index.js +11 -0
  328. package/dist/components/index.d.ts +19 -0
  329. package/dist/components/index.d.ts.map +1 -0
  330. package/dist/components/index.js +18 -0
  331. package/dist/contexts/UIProvider.d.ts +9 -0
  332. package/dist/contexts/UIProvider.d.ts.map +1 -0
  333. package/dist/contexts/UIProvider.js +8 -0
  334. package/dist/contexts/index.d.ts +2 -0
  335. package/dist/contexts/index.d.ts.map +1 -0
  336. package/dist/contexts/index.js +1 -0
  337. package/dist/hooks/index.d.ts +6 -0
  338. package/dist/hooks/index.d.ts.map +1 -0
  339. package/dist/hooks/index.js +5 -0
  340. package/dist/hooks/useDialog/index.d.ts +6 -0
  341. package/dist/hooks/useDialog/index.d.ts.map +1 -0
  342. package/dist/hooks/useDialog/index.js +28 -0
  343. package/dist/hooks/useDialog/useDialog.spec.d.ts +2 -0
  344. package/dist/hooks/useDialog/useDialog.spec.d.ts.map +1 -0
  345. package/dist/hooks/useDialog/useDialog.spec.js +53 -0
  346. package/dist/hooks/useMouseScroll/index.d.ts +5 -0
  347. package/dist/hooks/useMouseScroll/index.d.ts.map +1 -0
  348. package/dist/hooks/useMouseScroll/index.js +47 -0
  349. package/dist/hooks/usePointerSlider/index.d.ts +6 -0
  350. package/dist/hooks/usePointerSlider/index.d.ts.map +1 -0
  351. package/dist/hooks/usePointerSlider/index.js +44 -0
  352. package/dist/hooks/useRipple/index.d.ts +4 -0
  353. package/dist/hooks/useRipple/index.d.ts.map +1 -0
  354. package/dist/hooks/useRipple/index.js +111 -0
  355. package/dist/hooks/useRipple/ripple.css.d.ts +13 -0
  356. package/dist/hooks/useRipple/ripple.css.d.ts.map +1 -0
  357. package/dist/hooks/useRipple/ripple.css.js +30 -0
  358. package/dist/hooks/useToast/ToastContainer.css.d.ts +2 -0
  359. package/dist/hooks/useToast/ToastContainer.css.d.ts.map +1 -0
  360. package/dist/hooks/useToast/ToastContainer.css.js +10 -0
  361. package/dist/hooks/useToast/ToastContainer.d.ts +7 -0
  362. package/dist/hooks/useToast/ToastContainer.d.ts.map +1 -0
  363. package/dist/hooks/useToast/ToastContainer.js +5 -0
  364. package/dist/hooks/useToast/ToastProvider.d.ts +22 -0
  365. package/dist/hooks/useToast/ToastProvider.d.ts.map +1 -0
  366. package/dist/hooks/useToast/ToastProvider.js +47 -0
  367. package/dist/hooks/useToast/index.d.ts +5 -0
  368. package/dist/hooks/useToast/index.d.ts.map +1 -0
  369. package/dist/hooks/useToast/index.js +10 -0
  370. package/dist/index.d.ts +9 -0
  371. package/dist/index.d.ts.map +1 -0
  372. package/dist/index.js +8 -0
  373. package/dist/styles/globalStyle.css.d.ts +2 -0
  374. package/dist/styles/globalStyle.css.d.ts.map +1 -0
  375. package/dist/styles/globalStyle.css.js +26 -0
  376. package/dist/styles/index.d.ts +5 -0
  377. package/dist/styles/index.d.ts.map +1 -0
  378. package/dist/styles/index.js +4 -0
  379. package/dist/styles/layers.css.d.ts +3 -0
  380. package/dist/styles/layers.css.d.ts.map +1 -0
  381. package/dist/styles/layers.css.js +3 -0
  382. package/dist/styles/overlay.css.d.ts +4 -0
  383. package/dist/styles/overlay.css.d.ts.map +1 -0
  384. package/dist/styles/overlay.css.js +31 -0
  385. package/dist/styles/sprinkles.css.d.ts +3954 -0
  386. package/dist/styles/sprinkles.css.d.ts.map +1 -0
  387. package/dist/styles/sprinkles.css.js +118 -0
  388. package/dist/styles/sx.d.ts +3 -0
  389. package/dist/styles/sx.d.ts.map +1 -0
  390. package/dist/styles/sx.js +10 -0
  391. package/dist/tests/uiTest.d.ts +3 -0
  392. package/dist/tests/uiTest.d.ts.map +1 -0
  393. package/dist/tests/uiTest.js +36 -0
  394. package/dist/themes/darkTheme.css.d.ts +314 -0
  395. package/dist/themes/darkTheme.css.d.ts.map +1 -0
  396. package/dist/themes/darkTheme.css.js +29 -0
  397. package/dist/themes/index.d.ts +4 -0
  398. package/dist/themes/index.d.ts.map +1 -0
  399. package/dist/themes/index.js +3 -0
  400. package/dist/themes/lightTheme.css.d.ts +314 -0
  401. package/dist/themes/lightTheme.css.d.ts.map +1 -0
  402. package/dist/themes/lightTheme.css.js +29 -0
  403. package/dist/themes/theme.css.d.ts +314 -0
  404. package/dist/themes/theme.css.d.ts.map +1 -0
  405. package/dist/themes/theme.css.js +21 -0
  406. package/dist/tokens/index.d.ts +6 -0
  407. package/dist/tokens/index.d.ts.map +1 -0
  408. package/dist/tokens/index.js +5 -0
  409. package/dist/tokens/scale/color.d.ts +579 -0
  410. package/dist/tokens/scale/color.d.ts.map +1 -0
  411. package/dist/tokens/scale/color.js +600 -0
  412. package/dist/tokens/semantic/breakpoint.d.ts +7 -0
  413. package/dist/tokens/semantic/breakpoint.d.ts.map +1 -0
  414. package/dist/tokens/semantic/breakpoint.js +6 -0
  415. package/dist/tokens/semantic/color.d.ts +2 -0
  416. package/dist/tokens/semantic/color.d.ts.map +1 -0
  417. package/dist/tokens/semantic/color.js +10 -0
  418. package/dist/tokens/semantic/spacing.d.ts +10 -0
  419. package/dist/tokens/semantic/spacing.d.ts.map +1 -0
  420. package/dist/tokens/semantic/spacing.js +9 -0
  421. package/dist/tokens/semantic/typography.d.ts +33 -0
  422. package/dist/tokens/semantic/typography.d.ts.map +1 -0
  423. package/dist/tokens/semantic/typography.js +32 -0
  424. package/dist/types/index.d.ts +2 -0
  425. package/dist/types/index.d.ts.map +1 -0
  426. package/dist/types/index.js +1 -0
  427. package/dist/types/ui.types.d.ts +15 -0
  428. package/dist/types/ui.types.d.ts.map +1 -0
  429. package/dist/types/ui.types.js +1 -0
  430. package/dist/utils/index.d.ts +2 -0
  431. package/dist/utils/index.d.ts.map +1 -0
  432. package/dist/utils/index.js +1 -0
  433. package/dist/utils/sprinklesUtils.d.ts +10 -0
  434. package/dist/utils/sprinklesUtils.d.ts.map +1 -0
  435. package/dist/utils/sprinklesUtils.js +19 -0
  436. package/dist/utils/styleUtils.css.d.ts +23 -0
  437. package/dist/utils/styleUtils.css.d.ts.map +1 -0
  438. package/dist/utils/styleUtils.css.js +61 -0
  439. package/package.json +4 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sprinkles.css.d.ts","sourceRoot":"","sources":["../../src/styles/sprinkles.css.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;CASzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,118 @@
1
+ import { createSprinkles, defineProperties } from '@vanilla-extract/sprinkles';
2
+ import { sprinklesLayer } from '#styles';
3
+ import { theme } from '#themes';
4
+ import { breakpoint, lightColor, spacing, typography } from '#tokens';
5
+ const colors = Object.assign({}, ...[
6
+ ...Object.entries(lightColor).reduce((prev, [name, scales]) => [
7
+ ...prev,
8
+ ...Object.entries(scales).map(([scale, value]) => ({ [`${name}-${scale}`]: `rgb(${value})` })),
9
+ ], []),
10
+ ...Object.entries(theme.color).map(([name, value]) => ({ [name]: `rgb(${value})` })),
11
+ ]);
12
+ export const colorProperties = defineProperties({
13
+ '@layer': sprinklesLayer,
14
+ properties: {
15
+ color: colors,
16
+ borderColor: colors,
17
+ backgroundColor: colors,
18
+ },
19
+ });
20
+ const size = {
21
+ auto: 'auto',
22
+ '0': '0',
23
+ '100%': '100%',
24
+ '5em': '5em',
25
+ '10em': '10em',
26
+ '15em': '15em',
27
+ '20em': '20em',
28
+ '25em': '25em',
29
+ };
30
+ export const boxProperties = defineProperties({
31
+ '@layer': sprinklesLayer,
32
+ conditions: {
33
+ mobile: {},
34
+ desktop: { '@media': 'screen and (min-width: 1024px)' },
35
+ },
36
+ defaultCondition: 'mobile',
37
+ properties: {
38
+ display: ['flex', 'block', 'none', 'inline', 'inline-block', 'inline-flex'],
39
+ flexDirection: ['row', 'column', 'row-reverse', 'column-reverse'],
40
+ flexWrap: ['nowrap', 'wrap', 'wrap-reverse', 'revert', 'revert-layer'],
41
+ flexShrink: {
42
+ '0': 0,
43
+ '1': 1,
44
+ },
45
+ flexGrow: {
46
+ '0': 0,
47
+ '1': 1,
48
+ },
49
+ flexBasis: size,
50
+ justifyContent: [
51
+ 'stretch',
52
+ 'flex-start',
53
+ 'center',
54
+ 'flex-end',
55
+ 'space-around',
56
+ 'space-between',
57
+ ],
58
+ alignItems: ['stretch', 'flex-start', 'center', 'flex-end'],
59
+ gap: spacing,
60
+ paddingTop: spacing,
61
+ paddingBottom: spacing,
62
+ paddingLeft: spacing,
63
+ paddingRight: spacing,
64
+ marginTop: spacing,
65
+ marginBottom: spacing,
66
+ marginLeft: spacing,
67
+ marginRight: spacing,
68
+ boxShadow: {
69
+ 'border-sm': `0 0 0.5rem 0.0625rem rgba(${theme.color.border}, 0.33)`,
70
+ 'border-md': `0 0 1rem 0.1875rem rgba(${theme.color.border}, 0.33)`,
71
+ 'border-lg': `0 0 1.5rem 0.375rem rgba(${theme.color.border}, 0.33)`,
72
+ 'accent-sm': `0 0 0.5rem 0.0625rem rgb(${theme.color.accent})`,
73
+ 'accent-md': `0 0 1rem 0.125rem rgb(${theme.color.accent})`,
74
+ 'accent-lg': `0 0 1.5rem 0.375rem rgb(${theme.color.accent})`,
75
+ },
76
+ borderRadius: {
77
+ none: '0',
78
+ sm: `calc(${theme.borderRadius} * 0.75)`,
79
+ md: theme.borderRadius,
80
+ lg: `calc(${theme.borderRadius} * 1.5)`,
81
+ },
82
+ width: size,
83
+ height: size,
84
+ },
85
+ shorthands: {
86
+ padding: ['paddingTop', 'paddingBottom', 'paddingLeft', 'paddingRight'],
87
+ paddingX: ['paddingLeft', 'paddingRight'],
88
+ paddingY: ['paddingTop', 'paddingBottom'],
89
+ margin: ['marginTop', 'marginBottom', 'marginLeft', 'marginRight'],
90
+ marginX: ['marginLeft', 'marginRight'],
91
+ marginY: ['marginTop', 'marginBottom'],
92
+ },
93
+ });
94
+ export const typographyProperties = defineProperties({
95
+ '@layer': sprinklesLayer,
96
+ conditions: {
97
+ mobile: {},
98
+ desktop: { '@media': `screen and (min-width: ${breakpoint.md}px)` },
99
+ },
100
+ defaultCondition: 'mobile',
101
+ properties: {
102
+ lineHeight: typography.lineHeight,
103
+ fontSize: typography.size,
104
+ fontWeight: typography.weight,
105
+ wordBreak: ['break-all', 'break-word', 'keep-all'],
106
+ },
107
+ });
108
+ export const miscProperties = defineProperties({
109
+ '@layer': sprinklesLayer,
110
+ properties: {
111
+ cursor: {
112
+ pointer: 'pointer',
113
+ 'not-allowed': 'not-allowed',
114
+ default: 'default',
115
+ },
116
+ },
117
+ });
118
+ export const sprinkles = createSprinkles(boxProperties, colorProperties, typographyProperties, miscProperties);
@@ -0,0 +1,3 @@
1
+ import { sprinkles } from '#styles';
2
+ export declare const sx: (param?: Parameters<typeof sprinkles>[0] | string) => string;
3
+ //# sourceMappingURL=sx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sx.d.ts","sourceRoot":"","sources":["../../src/styles/sx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,EAAE,GAAI,QAAQ,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,WAUlE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { sprinkles } from '#styles';
2
+ export const sx = (param) => {
3
+ if (param === undefined) {
4
+ return '';
5
+ }
6
+ if (typeof param === 'string') {
7
+ return param;
8
+ }
9
+ return sprinkles(param);
10
+ };
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const uiTest: <T extends HTMLElement>(Component: React.ComponentType<any>, name: string) => void;
3
+ //# sourceMappingURL=uiTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uiTest.d.ts","sourceRoot":"","sources":["../../src/tests/uiTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,WAAW,EAE1C,WAAW,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EACnC,MAAM,MAAM,SA4Cb,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { render, screen } from '@testing-library/react';
4
+ import { sprinkles } from '#styles';
5
+ //eslint-disable-next-line
6
+ export const uiTest = (
7
+ // eslint-disable-next-line
8
+ Component, name) => {
9
+ describe(`${name} UI`, () => {
10
+ test('컴포넌트가 렌더링된다.', () => {
11
+ render(_jsx(Component, { "data-testid": "component" }));
12
+ expect(screen.getByTestId('component')).toBeInTheDocument();
13
+ });
14
+ test('sprinkles을 사용할 수 있다.', () => {
15
+ render(_jsx(Component, { className: sprinkles({ margin: 'md' }), "data-testid": "component" }));
16
+ expect(screen.getByTestId('component')).toHaveClass(sprinkles({ margin: 'md' }));
17
+ });
18
+ test('sx를 사용할 수 있다.', () => {
19
+ render(_jsx(Component, { sx: { margin: 'md' }, "data-testid": "component" }));
20
+ expect(screen.getByTestId('component')).toHaveClass(sprinkles({ margin: 'md' }));
21
+ });
22
+ test('className을 적용할 수 있다.', () => {
23
+ render(_jsx(Component, { className: "test", "data-testid": "component" }));
24
+ expect(screen.getByTestId('component')).toHaveClass('test');
25
+ });
26
+ test('inline style을 적용할 수 있다.', () => {
27
+ render(_jsx(Component, { style: { color: 'red' }, "data-testid": "component" }));
28
+ expect(screen.getByTestId('component')).toHaveStyle({ color: 'red' });
29
+ });
30
+ test('ref를 적용할 수 있다.', () => {
31
+ const ref = React.createRef();
32
+ render(_jsx(Component, { ref: ref }));
33
+ expect(ref.current).not.toBeNull();
34
+ });
35
+ });
36
+ };
@@ -0,0 +1,314 @@
1
+ export declare const darkThemeVars: {
2
+ borderRadius: string;
3
+ color: {
4
+ red: {
5
+ readonly 50: "238, 224, 224";
6
+ readonly 100: "232, 210, 210";
7
+ readonly 200: "224, 186, 186";
8
+ readonly 300: "214, 148, 148";
9
+ readonly 400: "205, 105, 105";
10
+ readonly 500: "186, 64, 64";
11
+ readonly 600: "165, 42, 42";
12
+ readonly 700: "140, 28, 28";
13
+ readonly 800: "115, 25, 25";
14
+ readonly 900: "92, 22, 22";
15
+ readonly 950: "55, 10, 10";
16
+ };
17
+ orange: {
18
+ readonly 50: "240, 230, 215";
19
+ readonly 100: "234, 214, 190";
20
+ readonly 200: "225, 190, 150";
21
+ readonly 300: "212, 158, 100";
22
+ readonly 400: "200, 120, 60";
23
+ readonly 500: "184, 90, 25";
24
+ readonly 600: "160, 70, 20";
25
+ readonly 700: "138, 55, 20";
26
+ readonly 800: "112, 44, 18";
27
+ readonly 900: "92, 38, 18";
28
+ readonly 950: "55, 20, 8";
29
+ };
30
+ amber: {
31
+ readonly 50: "240, 230, 205";
32
+ readonly 100: "234, 214, 170";
33
+ readonly 200: "224, 190, 130";
34
+ readonly 300: "210, 160, 85";
35
+ readonly 400: "194, 140, 40";
36
+ readonly 500: "172, 116, 20";
37
+ readonly 600: "150, 94, 14";
38
+ readonly 700: "128, 74, 12";
39
+ readonly 800: "104, 58, 14";
40
+ readonly 900: "84, 46, 14";
41
+ readonly 950: "52, 22, 6";
42
+ };
43
+ yellow: {
44
+ readonly 50: "240, 236, 210";
45
+ readonly 100: "236, 226, 180";
46
+ readonly 200: "226, 206, 140";
47
+ readonly 300: "214, 188, 90";
48
+ readonly 400: "198, 166, 40";
49
+ readonly 500: "172, 136, 20";
50
+ readonly 600: "148, 112, 10";
51
+ readonly 700: "122, 90, 12";
52
+ readonly 800: "100, 72, 14";
53
+ readonly 900: "80, 60, 18";
54
+ readonly 950: "50, 30, 8";
55
+ };
56
+ lime: {
57
+ readonly 50: "224, 238, 210";
58
+ readonly 100: "210, 230, 180";
59
+ readonly 200: "194, 214, 140";
60
+ readonly 300: "170, 194, 100";
61
+ readonly 400: "146, 172, 64";
62
+ readonly 500: "120, 144, 34";
63
+ readonly 600: "98, 120, 24";
64
+ readonly 700: "80, 98, 20";
65
+ readonly 800: "66, 82, 20";
66
+ readonly 900: "56, 70, 20";
67
+ readonly 950: "28, 42, 10";
68
+ };
69
+ green: {
70
+ readonly 50: "220, 238, 224";
71
+ readonly 100: "200, 232, 210";
72
+ readonly 200: "176, 220, 188";
73
+ readonly 300: "138, 198, 150";
74
+ readonly 400: "100, 176, 112";
75
+ readonly 500: "68, 150, 82";
76
+ readonly 600: "48, 124, 62";
77
+ readonly 700: "34, 100, 50";
78
+ readonly 800: "28, 84, 44";
79
+ readonly 900: "22, 70, 38";
80
+ readonly 950: "8, 40, 20";
81
+ };
82
+ emerald: {
83
+ readonly 50: "220, 236, 226";
84
+ readonly 100: "200, 224, 210";
85
+ readonly 200: "172, 210, 186";
86
+ readonly 300: "132, 190, 160";
87
+ readonly 400: "94, 168, 136";
88
+ readonly 500: "60, 144, 112";
89
+ readonly 600: "42, 120, 94";
90
+ readonly 700: "34, 96, 80";
91
+ readonly 800: "28, 78, 66";
92
+ readonly 900: "20, 62, 54";
93
+ readonly 950: "10, 38, 34";
94
+ };
95
+ teal: {
96
+ readonly 50: "220, 236, 232";
97
+ readonly 100: "200, 226, 212";
98
+ readonly 200: "170, 212, 188";
99
+ readonly 300: "130, 192, 168";
100
+ readonly 400: "96, 170, 150";
101
+ readonly 500: "64, 144, 132";
102
+ readonly 600: "48, 120, 112";
103
+ readonly 700: "38, 96, 90";
104
+ readonly 800: "30, 80, 76";
105
+ readonly 900: "24, 66, 64";
106
+ readonly 950: "12, 44, 44";
107
+ };
108
+ cyan: {
109
+ readonly 50: "220, 238, 240";
110
+ readonly 100: "198, 226, 228";
111
+ readonly 200: "166, 212, 212";
112
+ readonly 300: "120, 192, 192";
113
+ readonly 400: "84, 168, 170";
114
+ readonly 500: "52, 144, 152";
115
+ readonly 600: "40, 120, 132";
116
+ readonly 700: "32, 96, 108";
117
+ readonly 800: "28, 80, 90";
118
+ readonly 900: "24, 66, 76";
119
+ readonly 950: "12, 48, 60";
120
+ };
121
+ sky: {
122
+ readonly 50: "224, 238, 244";
123
+ readonly 100: "206, 228, 236";
124
+ readonly 200: "176, 212, 224";
125
+ readonly 300: "134, 190, 212";
126
+ readonly 400: "100, 168, 200";
127
+ readonly 500: "70, 142, 180";
128
+ readonly 600: "48, 116, 156";
129
+ readonly 700: "36, 92, 124";
130
+ readonly 800: "32, 78, 108";
131
+ readonly 900: "28, 64, 92";
132
+ readonly 950: "16, 44, 70";
133
+ };
134
+ blue: {
135
+ readonly 50: "224, 234, 244";
136
+ readonly 100: "200, 220, 236";
137
+ readonly 200: "176, 204, 224";
138
+ readonly 300: "142, 180, 210";
139
+ readonly 400: "100, 152, 190";
140
+ readonly 500: "72, 126, 168";
141
+ readonly 600: "52, 102, 148";
142
+ readonly 700: "42, 84, 132";
143
+ readonly 800: "36, 70, 114";
144
+ readonly 900: "30, 56, 96";
145
+ readonly 950: "20, 36, 70";
146
+ };
147
+ indigo: {
148
+ readonly 50: "224, 228, 240";
149
+ readonly 100: "208, 214, 234";
150
+ readonly 200: "184, 192, 220";
151
+ readonly 300: "158, 166, 202";
152
+ readonly 400: "128, 136, 184";
153
+ readonly 500: "100, 106, 166";
154
+ readonly 600: "80, 86, 148";
155
+ readonly 700: "66, 70, 128";
156
+ readonly 800: "54, 56, 106";
157
+ readonly 900: "46, 46, 88";
158
+ readonly 950: "30, 28, 66";
159
+ };
160
+ violet: {
161
+ readonly 50: "232, 228, 242";
162
+ readonly 100: "218, 214, 234";
163
+ readonly 200: "200, 194, 220";
164
+ readonly 300: "174, 166, 202";
165
+ readonly 400: "148, 134, 184";
166
+ readonly 500: "122, 96, 166";
167
+ readonly 600: "104, 62, 152";
168
+ readonly 700: "90, 42, 134";
169
+ readonly 800: "74, 34, 114";
170
+ readonly 900: "60, 28, 94";
171
+ readonly 950: "36, 16, 66";
172
+ };
173
+ purple: {
174
+ readonly 50: "238, 228, 244";
175
+ readonly 100: "224, 212, 236";
176
+ readonly 200: "206, 190, 224";
177
+ readonly 300: "178, 160, 210";
178
+ readonly 400: "150, 120, 190";
179
+ readonly 500: "124, 82, 170";
180
+ readonly 600: "104, 54, 150";
181
+ readonly 700: "86, 38, 132";
182
+ readonly 800: "72, 30, 112";
183
+ readonly 900: "58, 24, 90";
184
+ readonly 950: "40, 10, 70";
185
+ };
186
+ fuchsia: {
187
+ readonly 50: "240, 226, 244";
188
+ readonly 100: "228, 210, 236";
189
+ readonly 200: "212, 186, 224";
190
+ readonly 300: "188, 154, 210";
191
+ readonly 400: "160, 112, 190";
192
+ readonly 500: "134, 72, 168";
193
+ readonly 600: "112, 40, 146";
194
+ readonly 700: "94, 28, 126";
195
+ readonly 800: "76, 26, 108";
196
+ readonly 900: "62, 24, 90";
197
+ readonly 950: "40, 6, 60";
198
+ };
199
+ pink: {
200
+ readonly 50: "238, 226, 232";
201
+ readonly 100: "228, 210, 224";
202
+ readonly 200: "214, 186, 212";
203
+ readonly 300: "190, 150, 194";
204
+ readonly 400: "160, 106, 170";
205
+ readonly 500: "134, 68, 144";
206
+ readonly 600: "112, 38, 118";
207
+ readonly 700: "92, 24, 92";
208
+ readonly 800: "76, 20, 76";
209
+ readonly 900: "62, 22, 66";
210
+ readonly 950: "40, 8, 40";
211
+ };
212
+ rose: {
213
+ readonly 50: "238, 226, 228";
214
+ readonly 100: "228, 210, 214";
215
+ readonly 200: "212, 186, 194";
216
+ readonly 300: "186, 150, 168";
217
+ readonly 400: "158, 108, 144";
218
+ readonly 500: "130, 70, 120";
219
+ readonly 600: "108, 36, 92";
220
+ readonly 700: "90, 20, 76";
221
+ readonly 800: "74, 18, 70";
222
+ readonly 900: "60, 18, 64";
223
+ readonly 950: "40, 6, 38";
224
+ };
225
+ slate: {
226
+ readonly 50: "234, 238, 240";
227
+ readonly 100: "220, 226, 230";
228
+ readonly 200: "200, 210, 220";
229
+ readonly 300: "176, 186, 194";
230
+ readonly 400: "140, 154, 168";
231
+ readonly 500: "98, 112, 130";
232
+ readonly 600: "72, 84, 104";
233
+ readonly 700: "54, 66, 86";
234
+ readonly 800: "36, 44, 62";
235
+ readonly 900: "22, 28, 44";
236
+ readonly 950: "8, 12, 26";
237
+ };
238
+ gray: {
239
+ readonly 50: "236, 238, 240";
240
+ readonly 100: "224, 226, 228";
241
+ readonly 200: "208, 210, 214";
242
+ readonly 300: "184, 186, 192";
243
+ readonly 400: "144, 150, 162";
244
+ readonly 500: "104, 110, 124";
245
+ readonly 600: "76, 84, 96";
246
+ readonly 700: "56, 64, 80";
247
+ readonly 800: "36, 44, 58";
248
+ readonly 900: "20, 28, 42";
249
+ readonly 950: "8, 10, 20";
250
+ };
251
+ zinc: {
252
+ readonly 50: "236, 236, 236";
253
+ readonly 100: "224, 224, 226";
254
+ readonly 200: "206, 206, 210";
255
+ readonly 300: "186, 186, 190";
256
+ readonly 400: "146, 146, 154";
257
+ readonly 500: "108, 108, 116";
258
+ readonly 600: "80, 80, 88";
259
+ readonly 700: "62, 62, 70";
260
+ readonly 800: "44, 44, 48";
261
+ readonly 900: "28, 28, 30";
262
+ readonly 950: "12, 12, 14";
263
+ };
264
+ neutral: {
265
+ readonly 50: "236, 236, 236";
266
+ readonly 100: "224, 224, 224";
267
+ readonly 200: "206, 206, 206";
268
+ readonly 300: "186, 186, 186";
269
+ readonly 400: "146, 146, 146";
270
+ readonly 500: "110, 110, 110";
271
+ readonly 600: "82, 82, 82";
272
+ readonly 700: "66, 66, 66";
273
+ readonly 800: "44, 44, 44";
274
+ readonly 900: "28, 28, 28";
275
+ readonly 950: "12, 12, 12";
276
+ };
277
+ stone: {
278
+ readonly 50: "236, 236, 234";
279
+ readonly 100: "224, 224, 222";
280
+ readonly 200: "208, 206, 204";
281
+ readonly 300: "186, 182, 180";
282
+ readonly 400: "146, 140, 138";
283
+ readonly 500: "110, 104, 100";
284
+ readonly 600: "86, 80, 76";
285
+ readonly 700: "70, 64, 60";
286
+ readonly 800: "44, 40, 38";
287
+ readonly 900: "28, 24, 22";
288
+ readonly 950: "12, 10, 8";
289
+ };
290
+ background: string;
291
+ foreground: string;
292
+ primary: string;
293
+ 'primary-foreground': string;
294
+ secondary: string;
295
+ 'secondary-foreground': string;
296
+ muted: string;
297
+ 'muted-foreground': string;
298
+ accent: string;
299
+ 'accent-foreground': string;
300
+ border: string;
301
+ 'border.weak': string;
302
+ card: string;
303
+ 'card-foreground': string;
304
+ 'card.gradient': string;
305
+ success: string;
306
+ 'success-foreground': string;
307
+ danger: string;
308
+ 'danger-foreground': string;
309
+ warning: string;
310
+ 'warning-foreground': string;
311
+ shadow: string;
312
+ };
313
+ };
314
+ //# sourceMappingURL=darkTheme.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"darkTheme.css.d.ts","sourceRoot":"","sources":["../../src/themes/darkTheme.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BzB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { darkColor } from '../tokens/scale/color';
2
+ export const darkThemeVars = {
3
+ borderRadius: '6px',
4
+ color: {
5
+ background: '12, 12, 14',
6
+ foreground: '238, 238, 238',
7
+ primary: '36, 81, 173',
8
+ 'primary-foreground': '238, 238, 238',
9
+ secondary: '32, 38, 45',
10
+ 'secondary-foreground': '212, 212, 213',
11
+ muted: '30, 36, 44',
12
+ 'muted-foreground': '102, 112, 133',
13
+ accent: '41, 52, 67',
14
+ 'accent-foreground': '186, 212, 255',
15
+ border: '38, 43, 51',
16
+ 'border.weak': '32, 32, 32',
17
+ card: '23, 23, 25',
18
+ 'card-foreground': '238, 238, 238',
19
+ 'card.gradient': '255, 255, 255',
20
+ success: '22, 163, 74',
21
+ 'success-foreground': '255, 255, 255',
22
+ danger: '220, 38, 38',
23
+ 'danger-foreground': '255, 255, 255',
24
+ warning: '202, 138, 4',
25
+ 'warning-foreground': '30, 23, 0',
26
+ shadow: '0, 0, 0',
27
+ ...darkColor,
28
+ },
29
+ };
@@ -0,0 +1,4 @@
1
+ export * from './darkTheme.css';
2
+ export * from './lightTheme.css';
3
+ export { theme } from './theme.css';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './darkTheme.css';
2
+ export * from './lightTheme.css';
3
+ export { theme } from './theme.css';