@redis-ui/styles 15.0.0 → 16.1.2

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 (343) hide show
  1. package/dist/commonStyles.js +71 -0
  2. package/dist/focus-indicator.js +14 -0
  3. package/dist/hooks/ThemeModeSwitching/SwitchableModeThemeProvider.js +14 -0
  4. package/dist/hooks/ThemeModeSwitching/ThemeModeSwitching.context.js +15 -0
  5. package/dist/hooks/ThemeModeSwitching/ThemeModeSwitching.types.js +5 -0
  6. package/dist/hooks/ThemeModeSwitching/index.js +4 -0
  7. package/dist/hooks/ThemeModeSwitching/useThemeModeSwitchingManager.js +86 -0
  8. package/dist/hooks/usePrefersReducedMotion.js +28 -0
  9. package/dist/hooks/useStorage.js +59 -0
  10. package/dist/hooks/useTheme.js +6 -0
  11. package/dist/index.js +12664 -14398
  12. package/dist/index.umd.cjs +29 -58
  13. package/dist/themes/index.js +9 -0
  14. package/dist/themes/themeDark/theme/components/actionIconButton.js +56 -0
  15. package/dist/themes/themeDark/theme/components/appBar.js +25 -0
  16. package/dist/themes/themeDark/theme/components/appSelectionMenu.js +46 -0
  17. package/dist/themes/themeDark/theme/components/autoComplete.js +7 -0
  18. package/dist/themes/themeDark/theme/components/badge.js +73 -0
  19. package/dist/themes/themeDark/theme/components/banner.js +14 -0
  20. package/dist/themes/themeDark/theme/components/boxSelectionGroup.js +49 -0
  21. package/dist/themes/themeDark/theme/components/breadcrumbs.js +28 -0
  22. package/dist/themes/themeDark/theme/components/button.js +185 -0
  23. package/dist/themes/themeDark/theme/components/buttonGroup.js +46 -0
  24. package/dist/themes/themeDark/theme/components/card.js +40 -0
  25. package/dist/themes/themeDark/theme/components/checkbox.js +67 -0
  26. package/dist/themes/themeDark/theme/components/chip.js +60 -0
  27. package/dist/themes/themeDark/theme/components/chipList.js +21 -0
  28. package/dist/themes/themeDark/theme/components/countryFlag.js +9 -0
  29. package/dist/themes/themeDark/theme/components/datePicker.js +67 -0
  30. package/dist/themes/themeDark/theme/components/drawer.js +28 -0
  31. package/dist/themes/themeDark/theme/components/filters.js +36 -0
  32. package/dist/themes/themeDark/theme/components/formField.js +17 -0
  33. package/dist/themes/themeDark/theme/components/highlightedIcon.js +42 -0
  34. package/dist/themes/themeDark/theme/components/icon.d.ts +3 -0
  35. package/dist/themes/themeDark/theme/components/icon.js +14 -0
  36. package/dist/themes/themeDark/theme/components/iconButton.js +47 -0
  37. package/dist/themes/themeDark/theme/components/input.js +94 -0
  38. package/dist/themes/themeDark/theme/components/keyValueList.js +30 -0
  39. package/dist/themes/themeDark/theme/components/label.js +24 -0
  40. package/dist/themes/themeDark/theme/components/layouts.js +39 -0
  41. package/dist/themes/themeDark/theme/components/link.js +73 -0
  42. package/dist/themes/themeDark/theme/components/loader.js +29 -0
  43. package/dist/themes/themeDark/theme/components/menu.js +79 -0
  44. package/dist/themes/themeDark/theme/components/midBar.js +14 -0
  45. package/dist/themes/themeDark/theme/components/modal.js +31 -0
  46. package/dist/themes/themeDark/theme/components/moreInfoIcon.js +5 -0
  47. package/dist/themes/themeDark/theme/components/popover.js +16 -0
  48. package/dist/themes/themeDark/theme/components/popupCard.js +22 -0
  49. package/dist/themes/themeDark/theme/components/profileIcon.js +19 -0
  50. package/dist/themes/themeDark/theme/components/progressBar.js +57 -0
  51. package/dist/themes/themeDark/theme/components/radio.js +51 -0
  52. package/dist/themes/themeDark/theme/components/searchBar.js +23 -0
  53. package/dist/themes/themeDark/theme/components/section.js +48 -0
  54. package/dist/themes/themeDark/theme/components/select.js +103 -0
  55. package/dist/themes/themeDark/theme/components/semanticButton.js +203 -0
  56. package/dist/themes/themeDark/theme/components/semanticContainer.js +43 -0
  57. package/dist/themes/themeDark/theme/components/semanticIcon.js +11 -0
  58. package/dist/themes/themeDark/theme/components/sideBar.js +108 -0
  59. package/dist/themes/themeDark/theme/components/skeleton.js +30 -0
  60. package/dist/themes/themeDark/theme/components/slider.js +68 -0
  61. package/dist/themes/themeDark/theme/components/stepper.js +62 -0
  62. package/dist/themes/themeDark/theme/components/switch.js +55 -0
  63. package/dist/themes/themeDark/theme/components/table.js +91 -0
  64. package/dist/themes/themeDark/theme/components/tableHeading.js +26 -0
  65. package/dist/themes/themeDark/theme/components/tabs.js +89 -0
  66. package/dist/themes/themeDark/theme/components/textButton.js +195 -0
  67. package/dist/themes/themeDark/theme/components/themeModeSwitch.js +18 -0
  68. package/dist/themes/themeDark/theme/components/toast.js +9 -0
  69. package/dist/themes/themeDark/theme/components/toggleButton.js +59 -0
  70. package/dist/themes/themeDark/theme/components/tooltip.js +17 -0
  71. package/dist/themes/themeDark/theme/components/treeView.js +16 -0
  72. package/dist/themes/themeDark/theme/components/typography.js +79 -0
  73. package/dist/themes/themeDark/theme/components/windowBar.js +55 -0
  74. package/dist/themes/themeDark/theme/globals/body.js +9 -0
  75. package/dist/themes/themeDark/theme/globals/scrollbar.js +12 -0
  76. package/dist/themes/themeDark/theme.js +134 -0
  77. package/dist/themes/themeDark/tokens.js +200 -0
  78. package/dist/themes/themeDark2/theme/components/actionIconButton.js +56 -0
  79. package/dist/themes/themeDark2/theme/components/appBar.js +25 -0
  80. package/dist/themes/themeDark2/theme/components/appSelectionMenu.js +46 -0
  81. package/dist/themes/themeDark2/theme/components/autoComplete.js +7 -0
  82. package/dist/themes/themeDark2/theme/components/badge.js +73 -0
  83. package/dist/themes/themeDark2/theme/components/banner.js +14 -0
  84. package/dist/themes/themeDark2/theme/components/boxSelectionGroup.js +58 -0
  85. package/dist/themes/themeDark2/theme/components/breadcrumbs.js +28 -0
  86. package/dist/themes/themeDark2/theme/components/button.js +202 -0
  87. package/dist/themes/themeDark2/theme/components/buttonGroup.js +46 -0
  88. package/dist/themes/themeDark2/theme/components/card.js +40 -0
  89. package/dist/themes/themeDark2/theme/components/checkbox.js +67 -0
  90. package/dist/themes/themeDark2/theme/components/chip.js +60 -0
  91. package/dist/themes/themeDark2/theme/components/chipList.js +21 -0
  92. package/dist/themes/themeDark2/theme/components/countryFlag.js +9 -0
  93. package/dist/themes/themeDark2/theme/components/datePicker.js +67 -0
  94. package/dist/themes/themeDark2/theme/components/drawer.js +30 -0
  95. package/dist/themes/themeDark2/theme/components/filters.js +36 -0
  96. package/dist/themes/themeDark2/theme/components/formField.js +17 -0
  97. package/dist/themes/themeDark2/theme/components/highlightedIcon.js +42 -0
  98. package/dist/themes/themeDark2/theme/components/icon.d.ts +3 -0
  99. package/dist/themes/themeDark2/theme/components/icon.js +14 -0
  100. package/dist/themes/themeDark2/theme/components/iconButton.js +49 -0
  101. package/dist/themes/themeDark2/theme/components/input.js +97 -0
  102. package/dist/themes/themeDark2/theme/components/keyValueList.js +30 -0
  103. package/dist/themes/themeDark2/theme/components/label.js +24 -0
  104. package/dist/themes/themeDark2/theme/components/layouts.js +39 -0
  105. package/dist/themes/themeDark2/theme/components/link.js +72 -0
  106. package/dist/themes/themeDark2/theme/components/loader.js +30 -0
  107. package/dist/themes/themeDark2/theme/components/menu.js +79 -0
  108. package/dist/themes/themeDark2/theme/components/midBar.js +14 -0
  109. package/dist/themes/themeDark2/theme/components/modal.js +34 -0
  110. package/dist/themes/themeDark2/theme/components/moreInfoIcon.js +5 -0
  111. package/dist/themes/themeDark2/theme/components/popover.js +16 -0
  112. package/dist/themes/themeDark2/theme/components/popupCard.js +22 -0
  113. package/dist/themes/themeDark2/theme/components/profileIcon.js +39 -0
  114. package/dist/themes/themeDark2/theme/components/progressBar.js +57 -0
  115. package/dist/themes/themeDark2/theme/components/radio.js +51 -0
  116. package/dist/themes/themeDark2/theme/components/searchBar.js +25 -0
  117. package/dist/themes/themeDark2/theme/components/section.js +52 -0
  118. package/dist/themes/themeDark2/theme/components/select.js +104 -0
  119. package/dist/themes/themeDark2/theme/components/semanticButton.js +250 -0
  120. package/dist/themes/themeDark2/theme/components/semanticContainer.js +43 -0
  121. package/dist/themes/themeDark2/theme/components/semanticIcon.js +11 -0
  122. package/dist/themes/themeDark2/theme/components/sideBar.js +108 -0
  123. package/dist/themes/themeDark2/theme/components/skeleton.js +30 -0
  124. package/dist/themes/themeDark2/theme/components/slider.js +68 -0
  125. package/dist/themes/themeDark2/theme/components/stepper.js +62 -0
  126. package/dist/themes/themeDark2/theme/components/switch.js +55 -0
  127. package/dist/themes/themeDark2/theme/components/table.js +91 -0
  128. package/dist/themes/themeDark2/theme/components/tableHeading.js +26 -0
  129. package/dist/themes/themeDark2/theme/components/tabs.js +89 -0
  130. package/dist/themes/themeDark2/theme/components/textButton.js +202 -0
  131. package/dist/themes/themeDark2/theme/components/themeModeSwitch.js +18 -0
  132. package/dist/themes/themeDark2/theme/components/toast.js +9 -0
  133. package/dist/themes/themeDark2/theme/components/toggleButton.js +57 -0
  134. package/dist/themes/themeDark2/theme/components/tooltip.js +17 -0
  135. package/dist/themes/themeDark2/theme/components/treeView.js +16 -0
  136. package/dist/themes/themeDark2/theme/components/typography.js +79 -0
  137. package/dist/themes/themeDark2/theme/components/windowBar.js +55 -0
  138. package/dist/themes/themeDark2/theme/globals/body.js +9 -0
  139. package/dist/themes/themeDark2/theme/globals/scrollbar.js +12 -0
  140. package/dist/themes/themeDark2/theme.js +134 -0
  141. package/dist/themes/themeDark2/tokens.js +200 -0
  142. package/dist/themes/themeLight/theme/components/actionIconButton.js +56 -0
  143. package/dist/themes/themeLight/theme/components/appBar.js +25 -0
  144. package/dist/themes/themeLight/theme/components/appSelectionMenu.js +46 -0
  145. package/dist/themes/themeLight/theme/components/autoComplete.js +7 -0
  146. package/dist/themes/themeLight/theme/components/badge.js +73 -0
  147. package/dist/themes/themeLight/theme/components/banner.js +14 -0
  148. package/dist/themes/themeLight/theme/components/boxSelectionGroup.js +49 -0
  149. package/dist/themes/themeLight/theme/components/breadcrumbs.js +28 -0
  150. package/dist/themes/themeLight/theme/components/button.js +182 -0
  151. package/dist/themes/themeLight/theme/components/buttonGroup.js +46 -0
  152. package/dist/themes/themeLight/theme/components/card.js +40 -0
  153. package/dist/themes/themeLight/theme/components/checkbox.js +67 -0
  154. package/dist/themes/themeLight/theme/components/chip.js +60 -0
  155. package/dist/themes/themeLight/theme/components/chipList.js +21 -0
  156. package/dist/themes/themeLight/theme/components/countryFlag.js +9 -0
  157. package/dist/themes/themeLight/theme/components/datePicker.js +67 -0
  158. package/dist/themes/themeLight/theme/components/drawer.js +28 -0
  159. package/dist/themes/themeLight/theme/components/filters.js +36 -0
  160. package/dist/themes/themeLight/theme/components/formField.js +17 -0
  161. package/dist/themes/themeLight/theme/components/highlightedIcon.js +42 -0
  162. package/dist/themes/themeLight/theme/components/icon.d.ts +3 -0
  163. package/dist/themes/themeLight/theme/components/icon.js +14 -0
  164. package/dist/themes/themeLight/theme/components/iconButton.js +47 -0
  165. package/dist/themes/themeLight/theme/components/input.js +94 -0
  166. package/dist/themes/themeLight/theme/components/keyValueList.js +30 -0
  167. package/dist/themes/themeLight/theme/components/label.js +24 -0
  168. package/dist/themes/themeLight/theme/components/layouts.js +39 -0
  169. package/dist/themes/themeLight/theme/components/link.js +74 -0
  170. package/dist/themes/themeLight/theme/components/loader.js +29 -0
  171. package/dist/themes/themeLight/theme/components/menu.js +79 -0
  172. package/dist/themes/themeLight/theme/components/midBar.js +14 -0
  173. package/dist/themes/themeLight/theme/components/modal.js +31 -0
  174. package/dist/themes/themeLight/theme/components/moreInfoIcon.js +5 -0
  175. package/dist/themes/themeLight/theme/components/popover.js +16 -0
  176. package/dist/themes/themeLight/theme/components/popupCard.js +22 -0
  177. package/dist/themes/themeLight/theme/components/profileIcon.js +39 -0
  178. package/dist/themes/themeLight/theme/components/progressBar.js +57 -0
  179. package/dist/themes/themeLight/theme/components/radio.js +51 -0
  180. package/dist/themes/themeLight/theme/components/searchBar.js +23 -0
  181. package/dist/themes/themeLight/theme/components/section.js +48 -0
  182. package/dist/themes/themeLight/theme/components/select.js +103 -0
  183. package/dist/themes/themeLight/theme/components/semanticButton.js +203 -0
  184. package/dist/themes/themeLight/theme/components/semanticContainer.js +43 -0
  185. package/dist/themes/themeLight/theme/components/semanticIcon.js +11 -0
  186. package/dist/themes/themeLight/theme/components/sideBar.js +108 -0
  187. package/dist/themes/themeLight/theme/components/skeleton.js +30 -0
  188. package/dist/themes/themeLight/theme/components/slider.js +68 -0
  189. package/dist/themes/themeLight/theme/components/stepper.js +62 -0
  190. package/dist/themes/themeLight/theme/components/switch.js +55 -0
  191. package/dist/themes/themeLight/theme/components/table.js +91 -0
  192. package/dist/themes/themeLight/theme/components/tableHeading.js +26 -0
  193. package/dist/themes/themeLight/theme/components/tabs.js +86 -0
  194. package/dist/themes/themeLight/theme/components/textButton.js +196 -0
  195. package/dist/themes/themeLight/theme/components/themeModeSwitch.js +18 -0
  196. package/dist/themes/themeLight/theme/components/toast.js +9 -0
  197. package/dist/themes/themeLight/theme/components/toggleButton.js +59 -0
  198. package/dist/themes/themeLight/theme/components/tooltip.js +17 -0
  199. package/dist/themes/themeLight/theme/components/treeView.js +16 -0
  200. package/dist/themes/themeLight/theme/components/typography.js +79 -0
  201. package/dist/themes/themeLight/theme/components/windowBar.js +55 -0
  202. package/dist/themes/themeLight/theme/globals/body.js +9 -0
  203. package/dist/themes/themeLight/theme/globals/scrollbar.js +12 -0
  204. package/dist/themes/themeLight/theme.js +134 -0
  205. package/dist/themes/themeLight/tokens.js +200 -0
  206. package/dist/themes/themeLight2/theme/components/actionIconButton.js +56 -0
  207. package/dist/themes/themeLight2/theme/components/appBar.js +25 -0
  208. package/dist/themes/themeLight2/theme/components/appSelectionMenu.js +46 -0
  209. package/dist/themes/themeLight2/theme/components/autoComplete.js +7 -0
  210. package/dist/themes/themeLight2/theme/components/badge.js +73 -0
  211. package/dist/themes/themeLight2/theme/components/banner.js +14 -0
  212. package/dist/themes/themeLight2/theme/components/boxSelectionGroup.js +58 -0
  213. package/dist/themes/themeLight2/theme/components/breadcrumbs.js +28 -0
  214. package/dist/themes/themeLight2/theme/components/button.js +202 -0
  215. package/dist/themes/themeLight2/theme/components/buttonGroup.js +46 -0
  216. package/dist/themes/themeLight2/theme/components/card.js +40 -0
  217. package/dist/themes/themeLight2/theme/components/checkbox.js +67 -0
  218. package/dist/themes/themeLight2/theme/components/chip.js +60 -0
  219. package/dist/themes/themeLight2/theme/components/chipList.js +21 -0
  220. package/dist/themes/themeLight2/theme/components/countryFlag.js +9 -0
  221. package/dist/themes/themeLight2/theme/components/datePicker.js +67 -0
  222. package/dist/themes/themeLight2/theme/components/drawer.js +30 -0
  223. package/dist/themes/themeLight2/theme/components/filters.js +36 -0
  224. package/dist/themes/themeLight2/theme/components/formField.js +17 -0
  225. package/dist/themes/themeLight2/theme/components/highlightedIcon.js +42 -0
  226. package/dist/themes/themeLight2/theme/components/icon.d.ts +3 -0
  227. package/dist/themes/themeLight2/theme/components/icon.js +14 -0
  228. package/dist/themes/themeLight2/theme/components/iconButton.js +49 -0
  229. package/dist/themes/themeLight2/theme/components/input.js +97 -0
  230. package/dist/themes/themeLight2/theme/components/keyValueList.js +30 -0
  231. package/dist/themes/themeLight2/theme/components/label.js +24 -0
  232. package/dist/themes/themeLight2/theme/components/layouts.js +39 -0
  233. package/dist/themes/themeLight2/theme/components/link.js +72 -0
  234. package/dist/themes/themeLight2/theme/components/loader.js +30 -0
  235. package/dist/themes/themeLight2/theme/components/menu.js +79 -0
  236. package/dist/themes/themeLight2/theme/components/midBar.js +14 -0
  237. package/dist/themes/themeLight2/theme/components/modal.js +34 -0
  238. package/dist/themes/themeLight2/theme/components/moreInfoIcon.js +5 -0
  239. package/dist/themes/themeLight2/theme/components/popover.js +16 -0
  240. package/dist/themes/themeLight2/theme/components/popupCard.js +22 -0
  241. package/dist/themes/themeLight2/theme/components/profileIcon.js +39 -0
  242. package/dist/themes/themeLight2/theme/components/progressBar.js +57 -0
  243. package/dist/themes/themeLight2/theme/components/radio.js +51 -0
  244. package/dist/themes/themeLight2/theme/components/searchBar.js +25 -0
  245. package/dist/themes/themeLight2/theme/components/section.js +52 -0
  246. package/dist/themes/themeLight2/theme/components/select.js +103 -0
  247. package/dist/themes/themeLight2/theme/components/semanticButton.js +250 -0
  248. package/dist/themes/themeLight2/theme/components/semanticContainer.js +43 -0
  249. package/dist/themes/themeLight2/theme/components/semanticIcon.js +11 -0
  250. package/dist/themes/themeLight2/theme/components/sideBar.js +108 -0
  251. package/dist/themes/themeLight2/theme/components/skeleton.js +30 -0
  252. package/dist/themes/themeLight2/theme/components/slider.js +68 -0
  253. package/dist/themes/themeLight2/theme/components/stepper.js +62 -0
  254. package/dist/themes/themeLight2/theme/components/switch.js +55 -0
  255. package/dist/themes/themeLight2/theme/components/table.js +91 -0
  256. package/dist/themes/themeLight2/theme/components/tableHeading.js +26 -0
  257. package/dist/themes/themeLight2/theme/components/tabs.js +86 -0
  258. package/dist/themes/themeLight2/theme/components/textButton.js +203 -0
  259. package/dist/themes/themeLight2/theme/components/themeModeSwitch.js +18 -0
  260. package/dist/themes/themeLight2/theme/components/toast.js +9 -0
  261. package/dist/themes/themeLight2/theme/components/toggleButton.js +57 -0
  262. package/dist/themes/themeLight2/theme/components/tooltip.js +17 -0
  263. package/dist/themes/themeLight2/theme/components/treeView.js +16 -0
  264. package/dist/themes/themeLight2/theme/components/typography.js +79 -0
  265. package/dist/themes/themeLight2/theme/components/windowBar.js +55 -0
  266. package/dist/themes/themeLight2/theme/globals/body.js +9 -0
  267. package/dist/themes/themeLight2/theme/globals/scrollbar.js +12 -0
  268. package/dist/themes/themeLight2/theme.js +134 -0
  269. package/dist/themes/themeLight2/tokens.js +200 -0
  270. package/dist/themes/types/index.js +3 -0
  271. package/dist/themes/types/theme/components/actionIconButton.types.js +1 -0
  272. package/dist/themes/types/theme/components/appBar.types.js +1 -0
  273. package/dist/themes/types/theme/components/appSelectionMenu.types.js +1 -0
  274. package/dist/themes/types/theme/components/autoComplete.types.js +1 -0
  275. package/dist/themes/types/theme/components/badge.types.js +1 -0
  276. package/dist/themes/types/theme/components/banner.types.js +1 -0
  277. package/dist/themes/types/theme/components/boxSelectionGroup.types.js +1 -0
  278. package/dist/themes/types/theme/components/breadcrumbs.types.js +1 -0
  279. package/dist/themes/types/theme/components/button.types.js +1 -0
  280. package/dist/themes/types/theme/components/buttonGroup.types.js +1 -0
  281. package/dist/themes/types/theme/components/card.types.d.ts +6 -3
  282. package/dist/themes/types/theme/components/card.types.js +10 -0
  283. package/dist/themes/types/theme/components/checkbox.types.js +1 -0
  284. package/dist/themes/types/theme/components/chip.types.js +1 -0
  285. package/dist/themes/types/theme/components/chipList.types.js +1 -0
  286. package/dist/themes/types/theme/components/countryFlag.types.js +1 -0
  287. package/dist/themes/types/theme/components/datePicker.types.js +1 -0
  288. package/dist/themes/types/theme/components/drawer.types.js +1 -0
  289. package/dist/themes/types/theme/components/filters.types.js +1 -0
  290. package/dist/themes/types/theme/components/formField.types.js +1 -0
  291. package/dist/themes/types/theme/components/global.types.js +1 -0
  292. package/dist/themes/types/theme/components/highlightedIcon.types.js +11 -0
  293. package/dist/themes/types/theme/components/icon.types.d.ts +5 -0
  294. package/dist/themes/types/theme/components/icon.types.js +10 -0
  295. package/dist/themes/types/theme/components/iconButton.types.js +1 -0
  296. package/dist/themes/types/theme/components/index.d.ts +1 -0
  297. package/dist/themes/types/theme/components/index.js +60 -0
  298. package/dist/themes/types/theme/components/input.types.js +1 -0
  299. package/dist/themes/types/theme/components/keyValueList.types.js +1 -0
  300. package/dist/themes/types/theme/components/label.types.js +1 -0
  301. package/dist/themes/types/theme/components/layouts.types.js +1 -0
  302. package/dist/themes/types/theme/components/link.types.js +1 -0
  303. package/dist/themes/types/theme/components/loader.types.js +1 -0
  304. package/dist/themes/types/theme/components/menu.types.js +1 -0
  305. package/dist/themes/types/theme/components/midBar.types.js +1 -0
  306. package/dist/themes/types/theme/components/modal.types.js +1 -0
  307. package/dist/themes/types/theme/components/moreInfoIcon.types.js +1 -0
  308. package/dist/themes/types/theme/components/popover.types.js +1 -0
  309. package/dist/themes/types/theme/components/popupCard.types.js +1 -0
  310. package/dist/themes/types/theme/components/profileIcon.types.js +1 -0
  311. package/dist/themes/types/theme/components/progressBar.types.js +1 -0
  312. package/dist/themes/types/theme/components/radio.types.js +1 -0
  313. package/dist/themes/types/theme/components/searchBar.types.js +1 -0
  314. package/dist/themes/types/theme/components/section.types.js +1 -0
  315. package/dist/themes/types/theme/components/select.types.js +1 -0
  316. package/dist/themes/types/theme/components/semanticButton.types.js +1 -0
  317. package/dist/themes/types/theme/components/semanticContainer.types.js +1 -0
  318. package/dist/themes/types/theme/components/semanticIcon.types.js +1 -0
  319. package/dist/themes/types/theme/components/sideBar.types.js +1 -0
  320. package/dist/themes/types/theme/components/skeleton.types.js +1 -0
  321. package/dist/themes/types/theme/components/slider.types.js +1 -0
  322. package/dist/themes/types/theme/components/stepper.types.js +1 -0
  323. package/dist/themes/types/theme/components/switch.types.js +1 -0
  324. package/dist/themes/types/theme/components/table.types.js +1 -0
  325. package/dist/themes/types/theme/components/tableHeading.types.js +1 -0
  326. package/dist/themes/types/theme/components/tabs.types.js +1 -0
  327. package/dist/themes/types/theme/components/textButton.types.js +1 -0
  328. package/dist/themes/types/theme/components/themeModeSwitch.types.js +1 -0
  329. package/dist/themes/types/theme/components/toast.types.js +1 -0
  330. package/dist/themes/types/theme/components/toggleButton.types.js +1 -0
  331. package/dist/themes/types/theme/components/tooltip.types.js +1 -0
  332. package/dist/themes/types/theme/components/treeView.types.js +1 -0
  333. package/dist/themes/types/theme/components/typography.types.js +1 -0
  334. package/dist/themes/types/theme/components/windowBar.types.js +1 -0
  335. package/dist/themes/types/theme/globals/body.types.js +1 -0
  336. package/dist/themes/types/theme/globals/index.js +2 -0
  337. package/dist/themes/types/theme/globals/scrollbar.types.js +1 -0
  338. package/dist/themes/types/theme/theme.types.d.ts +2 -1
  339. package/dist/themes/types/theme/theme.types.js +1 -0
  340. package/dist/themes/types/theme/themeCore.types.js +1 -0
  341. package/dist/themes/types/theme/tokens.types.js +1 -0
  342. package/dist/utils.js +76 -0
  343. package/package.json +6 -5
@@ -0,0 +1,46 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ trigger: {
4
+ borderRadius: '0.4rem',
5
+ height: '3.2rem',
6
+ width: '3.2rem',
7
+ padding: '0px',
8
+ toggleStates: {
9
+ on: {
10
+ normal: {
11
+ bgColor: tokens.semantic.color.background.secondary200,
12
+ borderColor: tokens.semantic.color.border.secondary200,
13
+ textColor: tokens.semantic.color.text.secondary950
14
+ }
15
+ },
16
+ off: {
17
+ normal: {
18
+ bgColor: 'transparent',
19
+ borderColor: 'transparent',
20
+ textColor: tokens.semantic.color.text.secondary950
21
+ },
22
+ hover: {
23
+ bgColor: tokens.semantic.color.background.secondary100,
24
+ borderColor: tokens.semantic.color.border.secondary100,
25
+ textColor: tokens.semantic.color.text.secondary950
26
+ }
27
+ }
28
+ }
29
+ },
30
+ content: {
31
+ margin: '1.6rem 0',
32
+ gap: '3.2rem 1.2rem',
33
+ width: '35.4rem'
34
+ },
35
+ item: {
36
+ gap: '0.8rem',
37
+ buttonSize: '3.6rem',
38
+ iconSize: '2.4rem',
39
+ width: '11rem',
40
+ height: '6rem',
41
+ label: {
42
+ color: tokens.semantic.color.text.neutral800
43
+ }
44
+ }
45
+ };
46
+ export default theme;
@@ -0,0 +1,7 @@
1
+ const theme = {
2
+ dropdown: {
3
+ screenMarginHeight: '6px',
4
+ maxHeight: '50vh'
5
+ }
6
+ };
7
+ export default theme;
@@ -0,0 +1,73 @@
1
+ import { tokens } from '../../tokens';
2
+ const borderWidth = '1px';
3
+ const theme = {
4
+ padding: `${tokens.core.space.space025} ${tokens.core.space.space050}`,
5
+ gap: tokens.core.space.space025,
6
+ borderRadius: '2px',
7
+ height: `calc(${tokens.core.space.space200} + ${borderWidth} * 2)`,
8
+ borderWidth,
9
+ borderStyle: 'solid',
10
+ variants: {
11
+ white: {
12
+ backgroundColor: tokens.semantic.color.background.secondary0,
13
+ color: tokens.semantic.color.text.secondary700,
14
+ borderColor: tokens.semantic.color.border.secondary200,
15
+ iconColor: tokens.semantic.color.text.secondary600
16
+ },
17
+ light: {
18
+ backgroundColor: tokens.semantic.color.background.secondary50,
19
+ color: tokens.semantic.color.text.secondary700,
20
+ borderColor: tokens.semantic.color.border.secondary200,
21
+ iconColor: tokens.semantic.color.text.secondary600
22
+ },
23
+ default: {
24
+ backgroundColor: tokens.semantic.color.background.informative0,
25
+ color: tokens.semantic.color.text.informative800,
26
+ borderColor: tokens.semantic.color.border.informative200,
27
+ iconColor: tokens.semantic.color.text.primary600
28
+ },
29
+ informative: {
30
+ backgroundColor: tokens.semantic.color.background.informative0,
31
+ color: tokens.semantic.color.text.primary700,
32
+ borderColor: tokens.semantic.color.border.informative100,
33
+ iconColor: tokens.semantic.color.text.informative600
34
+ },
35
+ success: {
36
+ backgroundColor: tokens.semantic.color.background.success0,
37
+ color: tokens.semantic.color.text.success800,
38
+ borderColor: tokens.semantic.color.border.success200,
39
+ iconColor: tokens.semantic.color.text.success700
40
+ },
41
+ notice: {
42
+ backgroundColor: tokens.semantic.color.background.notice0,
43
+ color: tokens.semantic.color.text.notice700,
44
+ borderColor: tokens.semantic.color.border.notice200,
45
+ iconColor: tokens.semantic.color.text.notice700
46
+ },
47
+ danger: {
48
+ backgroundColor: tokens.semantic.color.background.danger0,
49
+ color: tokens.semantic.color.text.danger700,
50
+ borderColor: tokens.semantic.color.border.danger200,
51
+ iconColor: tokens.semantic.color.text.danger600
52
+ },
53
+ attention: {
54
+ backgroundColor: tokens.semantic.color.background.attention0,
55
+ color: tokens.semantic.color.text.attention700,
56
+ borderColor: tokens.semantic.color.border.attention200,
57
+ iconColor: tokens.semantic.color.text.attention600
58
+ },
59
+ upsell: {
60
+ backgroundColor: tokens.semantic.color.background.discovery0,
61
+ color: tokens.semantic.color.text.discovery700,
62
+ borderColor: tokens.semantic.color.border.discovery200,
63
+ iconColor: tokens.semantic.color.text.discovery600
64
+ },
65
+ disabled: {
66
+ backgroundColor: tokens.semantic.color.background.neutral100,
67
+ color: tokens.semantic.color.text.neutral400,
68
+ borderColor: tokens.semantic.color.border.neutral300,
69
+ iconColor: tokens.semantic.color.text.neutral400
70
+ }
71
+ }
72
+ };
73
+ export default theme;
@@ -0,0 +1,14 @@
1
+ const theme = {
2
+ sizes: {
3
+ S: {
4
+ gap: '0.8rem',
5
+ actions: { gap: '0.6rem' }
6
+ },
7
+ M: {
8
+ gap: '0.8rem',
9
+ actions: { gap: '0.8rem' }
10
+ }
11
+ },
12
+ split: { minWidth: '0.8rem' }
13
+ };
14
+ export default theme;
@@ -0,0 +1,58 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ gap: tokens.core.space.space300,
4
+ item: {
5
+ borderRadius: '4px',
6
+ borderWidth: '1px',
7
+ borderStyle: 'solid',
8
+ markerSize: '4px',
9
+ iconSize: '2.8rem',
10
+ states: {
11
+ default: {
12
+ normal: {
13
+ bgColor: tokens.semantic.color.background.secondary0,
14
+ borderColor: tokens.semantic.color.border.secondary400,
15
+ markerColor: 'transparent',
16
+ textColor: tokens.semantic.color.text.secondary950,
17
+ iconColor: tokens.semantic.color.icon.secondary950
18
+ },
19
+ hover: {
20
+ bgColor: tokens.semantic.color.background.secondary0,
21
+ borderColor: tokens.semantic.color.border.primary500,
22
+ markerColor: tokens.semantic.color.border.primary500,
23
+ textColor: tokens.semantic.color.text.secondary950,
24
+ iconColor: tokens.semantic.color.icon.secondary950
25
+ },
26
+ disabled: {
27
+ bgColor: tokens.semantic.color.background.neutral0,
28
+ borderColor: tokens.semantic.color.border.neutral200,
29
+ markerColor: 'transparent',
30
+ textColor: tokens.semantic.color.text.secondary950,
31
+ iconColor: tokens.semantic.color.icon.secondary300,
32
+ opacity: '0.5'
33
+ }
34
+ },
35
+ checked: {
36
+ normal: {
37
+ bgColor: tokens.semantic.color.background.secondary0,
38
+ borderColor: tokens.semantic.color.border.primary400,
39
+ markerColor: tokens.semantic.color.border.primary400,
40
+ textColor: tokens.semantic.color.text.secondary950,
41
+ iconColor: tokens.semantic.color.icon.secondary950
42
+ },
43
+ disabled: {
44
+ bgColor: tokens.semantic.color.background.neutral200,
45
+ borderColor: tokens.semantic.color.border.neutral200,
46
+ markerColor: tokens.semantic.color.border.neutral200,
47
+ textColor: tokens.semantic.color.text.secondary950,
48
+ iconColor: tokens.semantic.color.icon.secondary950,
49
+ opacity: '0.5'
50
+ }
51
+ }
52
+ }
53
+ },
54
+ defaultItem: {
55
+ gap: '0.4rem'
56
+ }
57
+ };
58
+ export default theme;
@@ -0,0 +1,28 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ gap: tokens.core.space.space100,
4
+ link: {
5
+ states: {
6
+ normal: {
7
+ textColor: tokens.semantic.color.text.secondary600
8
+ },
9
+ hover: {
10
+ textColor: tokens.semantic.color.text.secondary950
11
+ },
12
+ active: {
13
+ textColor: tokens.semantic.color.text.secondary950
14
+ },
15
+ disabled: {
16
+ textColor: tokens.semantic.color.text.secondary500
17
+ }
18
+ }
19
+ },
20
+ current: {
21
+ textColor: tokens.semantic.color.text.secondary950,
22
+ fontWeight: tokens.core.font.fontWeight.semiBold
23
+ },
24
+ separator: {
25
+ textColor: tokens.semantic.color.text.secondary600
26
+ }
27
+ };
28
+ export default theme;
@@ -0,0 +1,202 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ gap: '0.2rem',
4
+ sizes: {
5
+ small: {
6
+ borderRadius: '0.3rem',
7
+ padding: '0.4rem 1rem',
8
+ height: '2.4rem',
9
+ lineHeight: '1.64rem'
10
+ },
11
+ medium: {
12
+ borderRadius: '0.5rem',
13
+ padding: '0.55rem 1.2rem',
14
+ height: '3rem',
15
+ lineHeight: '1.91rem'
16
+ },
17
+ large: {
18
+ borderRadius: '0.5rem',
19
+ padding: '0.8rem 1.6rem',
20
+ height: '3.6rem',
21
+ lineHeight: '1.91rem'
22
+ }
23
+ },
24
+ variants: {
25
+ primary: {
26
+ normal: {
27
+ bgColor: tokens.semantic.color.background.primary400,
28
+ borderColor: tokens.semantic.color.border.primary400,
29
+ textColor: tokens.semantic.color.text.secondary0
30
+ },
31
+ hover: {
32
+ bgColor: tokens.semantic.color.background.primary500,
33
+ borderColor: tokens.semantic.color.border.primary600,
34
+ textColor: tokens.semantic.color.text.secondary0
35
+ },
36
+ active: {
37
+ bgColor: tokens.semantic.color.background.primary600,
38
+ borderColor: tokens.semantic.color.border.primary800,
39
+ textColor: tokens.semantic.color.text.secondary0
40
+ },
41
+ disabled: {
42
+ bgColor: tokens.semantic.color.background.neutral100,
43
+ borderColor: tokens.semantic.color.border.neutral200,
44
+ textColor: tokens.semantic.color.text.neutral400
45
+ }
46
+ },
47
+ destructive: {
48
+ normal: {
49
+ bgColor: tokens.semantic.color.background.danger500,
50
+ borderColor: tokens.semantic.color.border.danger700,
51
+ textColor: tokens.semantic.color.text.secondary0
52
+ },
53
+ hover: {
54
+ bgColor: tokens.semantic.color.background.danger600,
55
+ borderColor: tokens.semantic.color.border.danger700,
56
+ textColor: tokens.semantic.color.text.secondary0
57
+ },
58
+ active: {
59
+ bgColor: tokens.semantic.color.background.danger700,
60
+ borderColor: tokens.semantic.color.border.danger800,
61
+ textColor: tokens.semantic.color.text.secondary0
62
+ },
63
+ disabled: {
64
+ bgColor: tokens.semantic.color.background.neutral100,
65
+ borderColor: tokens.semantic.color.border.neutral200,
66
+ textColor: tokens.semantic.color.text.neutral400
67
+ }
68
+ },
69
+ 'secondary-fill': {
70
+ normal: {
71
+ bgColor: tokens.semantic.color.background.secondary100,
72
+ borderColor: tokens.semantic.color.border.secondary300,
73
+ textColor: tokens.semantic.color.text.secondary950
74
+ },
75
+ hover: {
76
+ bgColor: tokens.semantic.color.background.secondary200,
77
+ borderColor: tokens.semantic.color.border.secondary300,
78
+ textColor: tokens.semantic.color.text.secondary950
79
+ },
80
+ active: {
81
+ bgColor: tokens.semantic.color.background.secondary300,
82
+ borderColor: tokens.semantic.color.border.secondary400,
83
+ textColor: tokens.semantic.color.text.secondary950
84
+ },
85
+ disabled: {
86
+ bgColor: tokens.semantic.color.background.neutral100,
87
+ borderColor: tokens.semantic.color.border.neutral200,
88
+ textColor: tokens.semantic.color.text.neutral400
89
+ }
90
+ },
91
+ 'secondary-invert': {
92
+ normal: {
93
+ bgColor: tokens.semantic.color.background.primary0,
94
+ borderColor: tokens.semantic.color.border.primary100,
95
+ textColor: tokens.semantic.color.text.primary600
96
+ },
97
+ hover: {
98
+ bgColor: tokens.semantic.color.background.primary50,
99
+ borderColor: tokens.semantic.color.border.primary200,
100
+ textColor: tokens.semantic.color.text.primary600
101
+ },
102
+ active: {
103
+ bgColor: tokens.semantic.color.background.primary100,
104
+ borderColor: tokens.semantic.color.border.primary200,
105
+ textColor: tokens.semantic.color.text.primary600
106
+ },
107
+ disabled: {
108
+ bgColor: tokens.semantic.color.background.neutral100,
109
+ borderColor: tokens.semantic.color.border.neutral200,
110
+ textColor: tokens.semantic.color.text.neutral400
111
+ }
112
+ },
113
+ 'secondary-ghost': {
114
+ normal: {
115
+ bgColor: 'transparent',
116
+ borderColor: tokens.semantic.color.border.primary400,
117
+ textColor: tokens.semantic.color.text.primary400
118
+ },
119
+ hover: {
120
+ bgColor: 'transparent',
121
+ borderColor: tokens.semantic.color.border.primary500,
122
+ textColor: tokens.semantic.color.text.primary500
123
+ },
124
+ active: {
125
+ bgColor: 'transparent',
126
+ borderColor: tokens.semantic.color.border.primary600,
127
+ textColor: tokens.semantic.color.text.primary600
128
+ },
129
+ disabled: {
130
+ bgColor: 'transparent',
131
+ borderColor: tokens.semantic.color.border.neutral200,
132
+ textColor: tokens.semantic.color.text.neutral400
133
+ }
134
+ },
135
+ upsell: {
136
+ normal: {
137
+ bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery500} 0%, ${tokens.semantic.color.background.discovery400} 78%)`,
138
+ textColor: tokens.semantic.color.text.secondary0,
139
+ borderColor: tokens.semantic.color.border.discovery600
140
+ },
141
+ hover: {
142
+ bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery500} 0%, ${tokens.semantic.color.background.discovery500} 78%)`,
143
+ borderColor: tokens.semantic.color.border.discovery600
144
+ },
145
+ active: {
146
+ bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery600} 0%, ${tokens.semantic.color.background.discovery600} 78%)`,
147
+ borderColor: tokens.semantic.color.border.discovery700
148
+ },
149
+ disabled: {
150
+ bgGradient: 'unset',
151
+ bgColor: tokens.semantic.color.background.neutral100,
152
+ borderColor: tokens.semantic.color.border.neutral200,
153
+ textColor: tokens.semantic.color.text.neutral400
154
+ }
155
+ },
156
+ 'upsell-invert': {
157
+ normal: {
158
+ bgColor: tokens.semantic.color.background.discovery0,
159
+ borderColor: tokens.semantic.color.border.discovery100,
160
+ textColor: tokens.semantic.color.text.discovery700
161
+ },
162
+ hover: {
163
+ bgColor: tokens.semantic.color.background.discovery50,
164
+ borderColor: tokens.semantic.color.border.discovery100,
165
+ textColor: tokens.semantic.color.text.discovery700
166
+ },
167
+ active: {
168
+ bgColor: tokens.semantic.color.background.discovery100,
169
+ borderColor: tokens.semantic.color.border.discovery200,
170
+ textColor: tokens.semantic.color.text.discovery800
171
+ },
172
+ disabled: {
173
+ bgColor: tokens.semantic.color.background.neutral100,
174
+ borderColor: tokens.semantic.color.border.neutral200,
175
+ textColor: tokens.semantic.color.text.neutral400
176
+ }
177
+ },
178
+ 'upsell-ghost': {
179
+ normal: {
180
+ bgColor: 'transparent',
181
+ borderColor: tokens.semantic.color.border.discovery400,
182
+ textColor: tokens.semantic.color.text.discovery400
183
+ },
184
+ hover: {
185
+ bgColor: 'transparent',
186
+ borderColor: tokens.semantic.color.border.discovery500,
187
+ textColor: tokens.semantic.color.text.discovery500
188
+ },
189
+ active: {
190
+ bgColor: 'transparent',
191
+ borderColor: tokens.semantic.color.border.discovery600,
192
+ textColor: tokens.semantic.color.text.discovery600
193
+ },
194
+ disabled: {
195
+ bgColor: 'transparent',
196
+ borderColor: tokens.semantic.color.border.neutral200,
197
+ textColor: tokens.semantic.color.text.neutral400
198
+ }
199
+ }
200
+ }
201
+ };
202
+ export default theme;
@@ -0,0 +1,46 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ borderRadius: '0.4rem',
4
+ border: `1px solid ${tokens.semantic.color.border.transparent}`,
5
+ fontSize: '1.4rem',
6
+ fontWeight: tokens.core.font.fontWeight.normal,
7
+ fontStyle: 'normal',
8
+ padding: '0.1rem',
9
+ gap: '0.2rem',
10
+ button: {
11
+ padding: `${tokens.core.space.space050} ${tokens.core.space.space200}`,
12
+ gap: tokens.core.space.space050,
13
+ minWidth: '6rem',
14
+ border: 'transparent',
15
+ borderRadius: '0.4rem',
16
+ toggleStates: {
17
+ on: {
18
+ normal: {
19
+ bgColor: tokens.semantic.color.background.primary400,
20
+ textColor: tokens.semantic.color.text.secondary0
21
+ },
22
+ disabled: {
23
+ bgColor: tokens.semantic.color.background.primary100,
24
+ textColor: tokens.semantic.color.text.primary0
25
+ }
26
+ },
27
+ off: {
28
+ normal: {
29
+ bgColor: tokens.semantic.color.background.secondary100,
30
+ textColor: tokens.semantic.color.text.secondary900
31
+ },
32
+ hover: {
33
+ bgColor: tokens.semantic.color.background.secondary300
34
+ },
35
+ active: {
36
+ bgColor: tokens.semantic.color.background.secondary300
37
+ },
38
+ disabled: {
39
+ bgColor: tokens.semantic.color.background.secondary50,
40
+ textColor: tokens.semantic.color.text.secondary300
41
+ }
42
+ }
43
+ }
44
+ }
45
+ };
46
+ export default theme;
@@ -0,0 +1,40 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ width: '100%',
4
+ height: 'fit-content',
5
+ variants: {
6
+ primary: {
7
+ bgColor: tokens.semantic.color.background.secondary0,
8
+ borderColor: tokens.semantic.color.border.secondary200
9
+ },
10
+ secondary: {
11
+ bgColor: tokens.semantic.color.background.secondary100,
12
+ borderColor: tokens.semantic.color.border.secondary300
13
+ },
14
+ informative: {
15
+ bgColor: tokens.semantic.color.background.informative0,
16
+ borderColor: tokens.semantic.color.border.informative100
17
+ },
18
+ success: {
19
+ bgColor: tokens.semantic.color.background.success0,
20
+ borderColor: tokens.semantic.color.border.success100
21
+ },
22
+ notice: {
23
+ bgColor: tokens.semantic.color.background.notice0,
24
+ borderColor: tokens.semantic.color.border.notice100
25
+ },
26
+ attention: {
27
+ bgColor: tokens.semantic.color.background.attention0,
28
+ borderColor: tokens.semantic.color.border.attention100
29
+ },
30
+ danger: {
31
+ bgColor: tokens.semantic.color.background.danger0,
32
+ borderColor: tokens.semantic.color.border.danger100
33
+ },
34
+ upsell: {
35
+ bgColor: tokens.semantic.color.background.discovery0,
36
+ borderColor: tokens.semantic.color.border.discovery100
37
+ }
38
+ }
39
+ };
40
+ export default theme;
@@ -0,0 +1,67 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ width: '1.8rem',
4
+ height: '1.8rem',
5
+ padding: '0',
6
+ borderRadius: '0.4rem',
7
+ borderWidth: '1px',
8
+ label: {
9
+ padding: '0 0.8rem',
10
+ gap: '0.8rem'
11
+ },
12
+ variants: {
13
+ primary: {
14
+ on: {
15
+ normal: {
16
+ bgColor: tokens.semantic.color.background.primary400,
17
+ iconColor: tokens.semantic.color.icon.secondary0,
18
+ textColor: tokens.semantic.color.text.secondary950
19
+ },
20
+ disabled: {
21
+ bgColor: tokens.semantic.color.background.secondary300,
22
+ iconColor: tokens.semantic.color.icon.secondary0,
23
+ textColor: tokens.semantic.color.text.secondary300
24
+ }
25
+ },
26
+ off: {
27
+ normal: {
28
+ bgColor: tokens.semantic.color.background.secondary0,
29
+ borderColor: tokens.semantic.color.border.secondary600,
30
+ textColor: tokens.semantic.color.text.secondary950
31
+ },
32
+ disabled: {
33
+ bgColor: tokens.semantic.color.background.secondary0,
34
+ borderColor: tokens.semantic.color.border.secondary300,
35
+ textColor: tokens.semantic.color.text.secondary300
36
+ }
37
+ }
38
+ },
39
+ danger: {
40
+ on: {
41
+ normal: {
42
+ bgColor: tokens.semantic.color.background.danger500,
43
+ iconColor: tokens.semantic.color.icon.secondary0,
44
+ textColor: tokens.semantic.color.text.danger500
45
+ },
46
+ disabled: {
47
+ bgColor: tokens.semantic.color.background.danger100,
48
+ iconColor: tokens.semantic.color.icon.secondary0,
49
+ textColor: tokens.semantic.color.text.danger100
50
+ }
51
+ },
52
+ off: {
53
+ normal: {
54
+ bgColor: tokens.semantic.color.background.secondary0,
55
+ borderColor: tokens.semantic.color.border.danger500,
56
+ textColor: tokens.semantic.color.text.danger500
57
+ },
58
+ disabled: {
59
+ bgColor: tokens.semantic.color.background.secondary0,
60
+ borderColor: tokens.semantic.color.border.danger100,
61
+ textColor: tokens.semantic.color.text.danger100
62
+ }
63
+ }
64
+ }
65
+ }
66
+ };
67
+ export default theme;
@@ -0,0 +1,60 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ sizes: {
4
+ M: {
5
+ height: '2.8rem',
6
+ padding: '0.4rem 0.6rem',
7
+ borderRadius: '4px',
8
+ gap: '0.5rem'
9
+ },
10
+ S: {
11
+ height: '2.4rem',
12
+ padding: '0.4rem 0.6rem',
13
+ borderRadius: '4px',
14
+ gap: '0.5rem'
15
+ }
16
+ },
17
+ variant: {
18
+ regular: {
19
+ normal: {
20
+ bgColor: tokens.semantic.color.background.secondary200,
21
+ textColor: tokens.semantic.color.text.secondary950
22
+ },
23
+ disabled: {
24
+ bgColor: tokens.semantic.color.background.neutral200,
25
+ textColor: tokens.semantic.color.text.neutral400
26
+ }
27
+ },
28
+ flat: {
29
+ normal: {
30
+ bgColor: tokens.semantic.color.background.secondary200,
31
+ textColor: tokens.semantic.color.text.secondary950
32
+ },
33
+ disabled: {
34
+ bgColor: tokens.semantic.color.background.neutral200,
35
+ textColor: tokens.semantic.color.text.neutral400
36
+ }
37
+ }
38
+ },
39
+ closeButton: {
40
+ variant: {
41
+ regular: {
42
+ color: tokens.semantic.color.icon.secondary700
43
+ },
44
+ flat: {
45
+ color: tokens.semantic.color.icon.secondary700
46
+ }
47
+ },
48
+ size: {
49
+ M: {
50
+ size: '2rem',
51
+ borderRadius: '100%'
52
+ },
53
+ S: {
54
+ size: '1.6rem',
55
+ borderRadius: '100%'
56
+ }
57
+ }
58
+ }
59
+ };
60
+ export default theme;
@@ -0,0 +1,21 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ sizes: {
4
+ M: {
5
+ gap: '0.8rem 5px'
6
+ },
7
+ S: {
8
+ gap: '0.8rem 5px'
9
+ }
10
+ },
11
+ popupList: {
12
+ bgColor: tokens.semantic.color.background.secondary100,
13
+ color: tokens.semantic.color.text.secondary600,
14
+ disabledColor: tokens.semantic.color.text.secondary400,
15
+ minWidth: '18rem',
16
+ maxHeight: '33.2rem',
17
+ gap: '0.4rem',
18
+ padding: '1.2rem 1.6rem'
19
+ }
20
+ };
21
+ export default theme;
@@ -0,0 +1,9 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ width: '2.7rem',
4
+ height: '2rem',
5
+ borderRadius: '5px',
6
+ borderWidth: '0.1px',
7
+ borderColor: tokens.semantic.color.border.secondary400
8
+ };
9
+ export default theme;