@redis-ui/styles 15.1.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 +12628 -13732
  12. package/dist/index.umd.cjs +29 -29
  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 +4 -3
@@ -0,0 +1,79 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ dropDown: {
4
+ minWidth: '16rem',
5
+ maxWidth: '40rem',
6
+ bgColor: tokens.semantic.color.background.neutral200,
7
+ shadow: `0 0 0.5px 1px ${tokens.semantic.color.border.neutral400}, 0 0 16px 8px ${tokens.semantic.color.border.neutral100}`,
8
+ borderRadius: '0.8rem',
9
+ arrow: {
10
+ width: '1.6rem',
11
+ height: '0.8rem',
12
+ shadow: `${tokens.semantic.color.border.neutral400} 0px 1.5px`
13
+ }
14
+ },
15
+ separator: {
16
+ size: '1px',
17
+ bgColor: tokens.semantic.color.background.neutral400
18
+ },
19
+ label: {
20
+ padding: '1rem 1.6rem',
21
+ levelOffset: '1.6rem',
22
+ gap: '1rem',
23
+ variants: {
24
+ header: {
25
+ textColor: tokens.semantic.color.text.neutral800,
26
+ fontWeight: tokens.core.font.fontWeight.semiBold
27
+ },
28
+ sub: {
29
+ textColor: tokens.semantic.color.text.neutral600,
30
+ fontWeight: tokens.core.font.fontWeight.semiBold
31
+ }
32
+ }
33
+ },
34
+ item: {
35
+ padding: '1rem 1.6rem',
36
+ levelOffset: '1.6rem',
37
+ gap: '1rem',
38
+ subHead: {
39
+ textColor: tokens.semantic.color.text.neutral800
40
+ },
41
+ check: {
42
+ size: '1.6rem'
43
+ },
44
+ split: {
45
+ minWidth: '1.2rem'
46
+ },
47
+ variants: {
48
+ primary: {
49
+ normal: {
50
+ textColor: tokens.semantic.color.text.neutral700
51
+ },
52
+ hover: {
53
+ bgColor: tokens.semantic.color.background.neutral300
54
+ },
55
+ selected: {
56
+ textColor: tokens.semantic.color.text.primary600
57
+ },
58
+ disabled: {
59
+ textColor: tokens.semantic.color.text.neutral500
60
+ }
61
+ },
62
+ destructive: {
63
+ normal: {
64
+ textColor: tokens.semantic.color.text.danger500
65
+ },
66
+ hover: {
67
+ bgColor: tokens.semantic.color.background.danger100
68
+ },
69
+ selected: {
70
+ textColor: tokens.semantic.color.text.danger600
71
+ },
72
+ disabled: {
73
+ textColor: tokens.semantic.color.text.neutral500
74
+ }
75
+ }
76
+ }
77
+ }
78
+ };
79
+ export default theme;
@@ -0,0 +1,14 @@
1
+ const theme = {
2
+ header: {
3
+ height: '6.2rem',
4
+ paddingInline: '1.6rem',
5
+ gap: '1rem',
6
+ tabBar: {
7
+ gap: '2.4rem'
8
+ },
9
+ group: {
10
+ gap: '0.8rem'
11
+ }
12
+ }
13
+ };
14
+ export default theme;
@@ -0,0 +1,31 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ blockScreenMargin: '20px',
4
+ inlineScreenMargin: '20px',
5
+ inlinePadding: '4rem',
6
+ blockPadding: '4rem',
7
+ borderRadius: '0.8rem',
8
+ shadow: tokens.core.shadow.shadow600,
9
+ bgColor: tokens.semantic.color.background.neutral100,
10
+ header: {
11
+ blockPadding: '0 1.6rem',
12
+ closeIconColor: tokens.semantic.color.icon.neutral700,
13
+ textColor: tokens.semantic.color.text.neutral800,
14
+ gap: '0.8rem'
15
+ },
16
+ description: {
17
+ blockPadding: '0 1.2rem',
18
+ textColor: tokens.semantic.color.text.neutral800
19
+ },
20
+ body: {
21
+ minWidth: '30rem',
22
+ maxWidth: '50rem',
23
+ textColor: tokens.semantic.color.text.neutral700
24
+ },
25
+ footer: {
26
+ blockPadding: '4rem 0',
27
+ buttonsGap: '0.8rem'
28
+ },
29
+ overlay: { bgColor: 'rgba(0, 0, 0, 0.9)' }
30
+ };
31
+ export default theme;
@@ -0,0 +1,5 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ iconColor: tokens.semantic.color.icon.neutral700
4
+ };
5
+ export default theme;
@@ -0,0 +1,16 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ bgColor: tokens.semantic.color.background.neutral200,
4
+ shadow: `0 0 0.5px 1px ${tokens.semantic.color.border.neutral400}, 0 0 16px 8px ${tokens.semantic.color.border.neutral100}`,
5
+ borderRadius: '0.8rem',
6
+ minWidth: '10rem',
7
+ maxWidth: '36.3rem',
8
+ blockPadding: '1.6rem',
9
+ inlinePadding: '1.6rem',
10
+ arrow: {
11
+ width: '16px',
12
+ height: '8px',
13
+ shadow: `${tokens.semantic.color.border.neutral400} 0px 1.5px`
14
+ }
15
+ };
16
+ export default theme;
@@ -0,0 +1,22 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ closeButton: {
4
+ iconColor: tokens.semantic.color.icon.neutral700
5
+ },
6
+ header: {
7
+ textColor: tokens.semantic.color.text.neutral800,
8
+ margin: '0 0 0.4rem 0'
9
+ },
10
+ body: {
11
+ margin: '0',
12
+ textColor: tokens.semantic.color.text.neutral800
13
+ },
14
+ footer: {
15
+ margin: '1.8rem 0 0 0'
16
+ },
17
+ windowBar: {
18
+ margin: '0 0 1.2rem 0',
19
+ padding: '1.6rem'
20
+ }
21
+ };
22
+ export default theme;
@@ -0,0 +1,19 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ textColor: tokens.semantic.color.text.neutral100,
4
+ border: `solid 1px transparent`,
5
+ colorGroups: [
6
+ { primaryColor: '#dcff1e', secondaryColor: '#dcff1e', borderColor: '#dcff1e' },
7
+ { primaryColor: '#82ff66', secondaryColor: '#82ff66', borderColor: '#82ff66' },
8
+ { primaryColor: '#80dbff', secondaryColor: '#80dbff', borderColor: '#80dbff' },
9
+ { primaryColor: '#c795e3', secondaryColor: '#c795e3', borderColor: '#c795e3' },
10
+ { primaryColor: '#ff85ec', secondaryColor: '#ff85ec', borderColor: '#ff85ec' }
11
+ ],
12
+ sizes: {
13
+ S: '2.0rem',
14
+ M: '3.2rem',
15
+ L: '4.4rem'
16
+ },
17
+ fontWeight: tokens.core.font.fontWeight.bold
18
+ };
19
+ export default theme;
@@ -0,0 +1,57 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ borderRadius: '1px',
4
+ textPosition: {
5
+ left: {
6
+ gap: '0.8rem'
7
+ },
8
+ top: {
9
+ gap: '0.4rem'
10
+ },
11
+ right: {
12
+ gap: '0.8rem'
13
+ },
14
+ bottom: {
15
+ gap: '0.4rem'
16
+ }
17
+ },
18
+ size: {
19
+ M: {
20
+ size: '0.8rem'
21
+ }
22
+ },
23
+ variant: {
24
+ normal: {
25
+ color: tokens.semantic.color.background.primary100
26
+ },
27
+ danger: {
28
+ color: tokens.semantic.color.background.danger100
29
+ },
30
+ attention: {
31
+ color: tokens.semantic.color.background.attention100
32
+ },
33
+ success: {
34
+ color: tokens.semantic.color.background.success100
35
+ }
36
+ },
37
+ indicator: {
38
+ variant: {
39
+ normal: {
40
+ color: tokens.semantic.color.background.primary600
41
+ },
42
+ danger: {
43
+ color: tokens.semantic.color.background.danger600
44
+ },
45
+ attention: {
46
+ color: tokens.semantic.color.background.attention600
47
+ },
48
+ success: {
49
+ color: tokens.semantic.color.background.success600
50
+ }
51
+ }
52
+ },
53
+ text: {
54
+ color: tokens.semantic.color.text.neutral800
55
+ }
56
+ };
57
+ export default theme;
@@ -0,0 +1,51 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ size: '1.8rem',
4
+ iconSize: '0.6rem',
5
+ padding: '0',
6
+ borderWidth: '1px',
7
+ gap: '0.8rem',
8
+ group: {
9
+ vertical: {
10
+ gap: '2.4rem',
11
+ blockPadding: '0.8rem'
12
+ },
13
+ horizontal: {
14
+ gap: '2.4rem',
15
+ blockPadding: '0'
16
+ }
17
+ },
18
+ label: {
19
+ gap: '0.8rem',
20
+ lineHeight: '1.8rem'
21
+ },
22
+ variants: {
23
+ primary: {
24
+ on: {
25
+ normal: {
26
+ bgColor: tokens.semantic.color.background.primary400,
27
+ textColor: tokens.semantic.color.text.neutral800,
28
+ iconColor: tokens.semantic.color.icon.neutral100
29
+ },
30
+ disabled: {
31
+ bgColor: tokens.semantic.color.background.neutral500,
32
+ textColor: tokens.semantic.color.text.neutral500,
33
+ iconColor: tokens.semantic.color.icon.neutral100
34
+ }
35
+ },
36
+ off: {
37
+ normal: {
38
+ bgColor: tokens.semantic.color.background.neutral100,
39
+ borderColor: tokens.semantic.color.border.primary600,
40
+ textColor: tokens.semantic.color.text.neutral800
41
+ },
42
+ disabled: {
43
+ bgColor: tokens.semantic.color.background.neutral100,
44
+ borderColor: tokens.semantic.color.border.neutral500,
45
+ textColor: tokens.semantic.color.text.neutral500
46
+ }
47
+ }
48
+ }
49
+ }
50
+ };
51
+ export default theme;
@@ -0,0 +1,23 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ bgColor: tokens.semantic.color.background.neutral100,
4
+ shadow: `0px 0px 0px 1px ${tokens.semantic.color.border.neutral600}`,
5
+ borderRadius: '0.8rem',
6
+ filtersSection: {
7
+ borderColor: tokens.semantic.color.border.neutral400,
8
+ borderWidth: '1px'
9
+ },
10
+ searchSection: {
11
+ padding: '0.8rem 1.6rem'
12
+ },
13
+ actionsBar: {
14
+ gap: '1.6rem',
15
+ separator: {
16
+ height: '1.6rem',
17
+ width: '1px',
18
+ color: tokens.semantic.color.border.neutral400
19
+ },
20
+ customActions: { gap: '0.8rem' }
21
+ }
22
+ };
23
+ export default theme;
@@ -0,0 +1,48 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ width: '100%',
4
+ height: 'fit-content',
5
+ bgColor: tokens.semantic.color.background.neutral100,
6
+ shadow: tokens.core.shadow.shadow4,
7
+ borderRadius: '0.8rem',
8
+ header: {
9
+ minHeight: '5.6rem',
10
+ padding: '1.2rem 1.6rem',
11
+ backgroundColor: tokens.semantic.color.background.neutral300,
12
+ group: { gap: '1.6rem' },
13
+ label: { textColor: tokens.semantic.color.text.neutral800 },
14
+ collapsedInfo: {},
15
+ summaryBar: {
16
+ minHeight: '4rem',
17
+ padding: '1.2rem 1.6rem',
18
+ backgroundColor: tokens.semantic.color.background.neutral100,
19
+ collapsableBackgroundColor: tokens.semantic.color.background.neutral200
20
+ },
21
+ categoryValueList: {
22
+ gap: '12px',
23
+ categoryValueChip: {
24
+ gap: '0.8rem',
25
+ minWidth: '0',
26
+ backgroundColor: tokens.semantic.color.background.transparent,
27
+ categoryTextColor: tokens.semantic.color.text.neutral800,
28
+ valueTextColor: tokens.semantic.color.text.neutral700
29
+ },
30
+ divider: {
31
+ width: '1px',
32
+ height: '1.6rem',
33
+ backgroundColor: tokens.semantic.color.text.neutral500
34
+ },
35
+ counter: {
36
+ textColor: tokens.semantic.color.text.neutral800
37
+ }
38
+ }
39
+ },
40
+ body: {
41
+ padding: '3.2rem 1.6rem'
42
+ },
43
+ separator: {
44
+ width: '1px',
45
+ color: tokens.semantic.color.border.neutral600
46
+ }
47
+ };
48
+ export default theme;
@@ -0,0 +1,103 @@
1
+ import { tokens } from '../../tokens';
2
+ const theme = {
3
+ padding: '0 1rem',
4
+ height: '3.6rem',
5
+ gap: '0.6rem',
6
+ fontFamily: tokens.core.font.fontFamily.regular,
7
+ fontSize: '1.4rem',
8
+ fontWeight: tokens.core.font.fontWeight.normal,
9
+ borderWidth: '1px',
10
+ borderRadius: '0.4rem',
11
+ indicator: {
12
+ errorTooltipTextColor: tokens.semantic.color.text.danger500,
13
+ errorIconColor: tokens.semantic.color.icon.danger500,
14
+ successIconColor: tokens.semantic.color.icon.success500
15
+ },
16
+ placeholder: {
17
+ textColor: tokens.semantic.color.text.neutral600
18
+ },
19
+ reset: {
20
+ iconColor: tokens.semantic.color.icon.neutral600
21
+ },
22
+ arrow: {
23
+ iconColor: tokens.semantic.color.icon.neutral800
24
+ },
25
+ value: {
26
+ gap: '0.8rem'
27
+ },
28
+ multiValue: {
29
+ margin: '0 0 0 -0.6rem'
30
+ },
31
+ states: {
32
+ normal: {
33
+ bgColor: tokens.semantic.color.background.neutral100,
34
+ textColor: tokens.semantic.color.text.neutral800,
35
+ borderColor: tokens.semantic.color.border.neutral600
36
+ },
37
+ focused: {
38
+ borderColor: tokens.semantic.color.border.primary500
39
+ },
40
+ opened: {
41
+ borderColor: tokens.semantic.color.border.primary500
42
+ },
43
+ success: {
44
+ borderColor: tokens.semantic.color.border.success500
45
+ },
46
+ error: {
47
+ borderColor: tokens.semantic.color.border.danger500
48
+ },
49
+ disabled: {
50
+ bgColor: tokens.semantic.color.background.neutral200,
51
+ textColor: tokens.semantic.color.text.neutral600,
52
+ borderColor: tokens.semantic.color.border.neutral400
53
+ },
54
+ readonly: {
55
+ bgColor: 'transparent',
56
+ textColor: tokens.semantic.color.text.neutral800,
57
+ borderColor: 'transparent'
58
+ }
59
+ },
60
+ dropdown: {
61
+ padding: '0.8rem 0',
62
+ bgColor: tokens.semantic.color.background.neutral200,
63
+ shadow: `0 0 0.5px 1px ${tokens.semantic.color.border.neutral400}, 0 0 16px 4px ${tokens.semantic.color.border.neutral100}`,
64
+ borderRadius: '0.4rem',
65
+ triggerOffset: '0.4rem',
66
+ maxHeight: '50vh',
67
+ search: {
68
+ margin: '0.8rem 1.6rem'
69
+ },
70
+ footer: {
71
+ blockPadding: '1rem 0.2rem',
72
+ inlinePadding: '1.6rem',
73
+ separator: {
74
+ size: '1px',
75
+ color: tokens.semantic.color.border.neutral400
76
+ }
77
+ },
78
+ option: {
79
+ height: '3.1rem',
80
+ fontSize: '1.4rem',
81
+ padding: '0 1.6rem',
82
+ gap: '0.8rem',
83
+ content: {
84
+ gap: '0.8rem'
85
+ },
86
+ states: {
87
+ normal: {
88
+ textColor: tokens.semantic.color.text.neutral700
89
+ },
90
+ highlighted: {
91
+ bgColor: tokens.semantic.color.background.neutral400
92
+ },
93
+ checked: {
94
+ textColor: tokens.semantic.color.text.primary600
95
+ },
96
+ disabled: {
97
+ textColor: tokens.semantic.color.text.neutral600
98
+ }
99
+ }
100
+ }
101
+ }
102
+ };
103
+ export default theme;
@@ -0,0 +1,203 @@
1
+ import { tokens } from '../../tokens';
2
+ const primary = {
3
+ bgColor: { disabled: tokens.semantic.color.background.neutral400 },
4
+ textColor: { disabled: tokens.semantic.color.text.neutral600 }
5
+ };
6
+ const secondary = {
7
+ borderColor: { disabled: tokens.semantic.color.border.neutral500 },
8
+ bgColor: { disabled: 'transparent' },
9
+ textColor: { disabled: tokens.semantic.color.text.neutral500 }
10
+ };
11
+ const withOpacity = (color, percent) => `color-mix(in srgb-linear, ${color} ${percent}%, transparent)`;
12
+ const theme = {
13
+ sizes: {
14
+ S: {
15
+ borderRadius: '99rem',
16
+ padding: `${tokens.core.space.space050} ${tokens.core.space.space100}`,
17
+ fontSize: '1rem',
18
+ height: '2rem'
19
+ },
20
+ M: {
21
+ borderRadius: '99rem',
22
+ padding: `${tokens.core.space.space050} ${tokens.core.space.space150}`,
23
+ fontSize: '1.2rem',
24
+ height: '2.4rem'
25
+ }
26
+ },
27
+ variants: {
28
+ success: {
29
+ primary: {
30
+ normal: {
31
+ bgColor: tokens.semantic.color.background.success600,
32
+ textColor: tokens.semantic.color.text.neutral100
33
+ },
34
+ hover: { bgColor: tokens.semantic.color.background.success500, textColor: '' },
35
+ active: { bgColor: tokens.semantic.color.background.success700, textColor: '' },
36
+ disabled: { bgColor: primary.bgColor.disabled, textColor: primary.textColor.disabled }
37
+ },
38
+ secondary: {
39
+ normal: {
40
+ borderColor: tokens.semantic.color.border.success600,
41
+ bgColor: 'transparent',
42
+ textColor: tokens.semantic.color.text.success600
43
+ },
44
+ hover: {
45
+ bgColor: withOpacity(tokens.semantic.color.background.success700, 6)
46
+ },
47
+ active: {
48
+ bgColor: withOpacity(tokens.semantic.color.background.success700, 12)
49
+ },
50
+ disabled: {
51
+ borderColor: secondary.borderColor.disabled,
52
+ bgColor: secondary.bgColor.disabled,
53
+ textColor: secondary.textColor.disabled
54
+ }
55
+ }
56
+ },
57
+ attention: {
58
+ primary: {
59
+ normal: {
60
+ bgColor: tokens.semantic.color.background.attention600,
61
+ textColor: tokens.semantic.color.text.neutral100
62
+ },
63
+ hover: {
64
+ bgColor: tokens.semantic.color.background.attention500
65
+ },
66
+ active: {
67
+ bgColor: tokens.semantic.color.background.attention700
68
+ },
69
+ disabled: {
70
+ bgColor: primary.bgColor.disabled,
71
+ textColor: primary.textColor.disabled
72
+ }
73
+ },
74
+ secondary: {
75
+ normal: {
76
+ borderColor: tokens.semantic.color.border.attention600,
77
+ bgColor: 'transparent',
78
+ textColor: tokens.semantic.color.text.attention600
79
+ },
80
+ hover: {
81
+ bgColor: withOpacity(tokens.semantic.color.background.attention700, 6)
82
+ },
83
+ active: {
84
+ bgColor: withOpacity(tokens.semantic.color.background.attention700, 12)
85
+ },
86
+ disabled: {
87
+ borderColor: secondary.borderColor.disabled,
88
+ bgColor: secondary.bgColor.disabled,
89
+ textColor: secondary.textColor.disabled
90
+ }
91
+ }
92
+ },
93
+ danger: {
94
+ primary: {
95
+ normal: {
96
+ bgColor: tokens.semantic.color.background.danger600,
97
+ textColor: tokens.semantic.color.text.neutral100
98
+ },
99
+ hover: {
100
+ bgColor: tokens.semantic.color.background.danger500
101
+ },
102
+ active: {
103
+ bgColor: tokens.semantic.color.background.danger700
104
+ },
105
+ disabled: {
106
+ bgColor: primary.bgColor.disabled,
107
+ textColor: primary.textColor.disabled
108
+ }
109
+ },
110
+ secondary: {
111
+ normal: {
112
+ borderColor: tokens.semantic.color.border.danger600,
113
+ bgColor: 'transparent',
114
+ textColor: tokens.semantic.color.text.danger600
115
+ },
116
+ hover: {
117
+ bgColor: withOpacity(tokens.semantic.color.background.danger700, 6)
118
+ },
119
+ active: {
120
+ bgColor: withOpacity(tokens.semantic.color.background.danger700, 12)
121
+ },
122
+ disabled: {
123
+ borderColor: secondary.borderColor.disabled,
124
+ bgColor: secondary.bgColor.disabled,
125
+ textColor: secondary.textColor.disabled
126
+ }
127
+ }
128
+ },
129
+ notice: {
130
+ primary: {
131
+ normal: {
132
+ bgColor: tokens.semantic.color.background.notice600,
133
+ textColor: tokens.semantic.color.text.neutral100
134
+ },
135
+ hover: {
136
+ bgColor: tokens.semantic.color.background.notice500
137
+ },
138
+ active: {
139
+ bgColor: tokens.semantic.color.background.notice700
140
+ },
141
+ disabled: {
142
+ bgColor: primary.bgColor.disabled,
143
+ textColor: primary.textColor.disabled
144
+ }
145
+ },
146
+ secondary: {
147
+ normal: {
148
+ borderColor: tokens.semantic.color.border.notice600,
149
+ bgColor: 'transparent',
150
+ textColor: tokens.semantic.color.text.notice600
151
+ },
152
+ hover: {
153
+ bgColor: withOpacity(tokens.semantic.color.background.notice700, 6)
154
+ },
155
+ active: {
156
+ bgColor: withOpacity(tokens.semantic.color.background.notice700, 12)
157
+ },
158
+ disabled: {
159
+ borderColor: secondary.borderColor.disabled,
160
+ bgColor: secondary.bgColor.disabled,
161
+ textColor: secondary.textColor.disabled
162
+ }
163
+ }
164
+ },
165
+ informative: {
166
+ primary: {
167
+ normal: {
168
+ bgColor: tokens.semantic.color.background.informative600,
169
+ textColor: tokens.semantic.color.text.neutral100
170
+ },
171
+ hover: {
172
+ bgColor: tokens.semantic.color.background.informative400
173
+ },
174
+ active: {
175
+ bgColor: tokens.semantic.color.background.informative500
176
+ },
177
+ disabled: {
178
+ bgColor: primary.bgColor.disabled,
179
+ textColor: primary.textColor.disabled
180
+ }
181
+ },
182
+ secondary: {
183
+ normal: {
184
+ borderColor: tokens.semantic.color.border.informative600,
185
+ bgColor: 'transparent',
186
+ textColor: tokens.semantic.color.text.informative600
187
+ },
188
+ hover: {
189
+ bgColor: withOpacity(tokens.semantic.color.background.informative700, 6)
190
+ },
191
+ active: {
192
+ bgColor: withOpacity(tokens.semantic.color.background.informative700, 12)
193
+ },
194
+ disabled: {
195
+ borderColor: secondary.borderColor.disabled,
196
+ bgColor: secondary.bgColor.disabled,
197
+ textColor: secondary.textColor.disabled
198
+ }
199
+ }
200
+ }
201
+ }
202
+ };
203
+ export default theme;