@yahoo/uds-mobile 1.0.0

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 (447) hide show
  1. package/CONTRIBUTING.md +1174 -0
  2. package/README.md +614 -0
  3. package/cli/uds-mobile.js +10 -0
  4. package/dist/_virtual/rolldown_runtime.cjs +30 -0
  5. package/dist/bin/generateTheme.mjs +390 -0
  6. package/dist/bin/mobile/scripts/utils/configToRNMappings.mjs +74 -0
  7. package/dist/bin/uds/dist/fixtures.mjs +404 -0
  8. package/dist/bin/uds/dist/tokens/configs/palette/alwaysPalette.mjs +23 -0
  9. package/dist/bin/uds/dist/tokens/consts/defaultModes.mjs +6 -0
  10. package/dist/bin/uds/dist/tokens/consts/fontDeclarationsMap.mjs +652 -0
  11. package/dist/bin/uds-mobile.mjs +256 -0
  12. package/dist/components/Avatar.cjs +109 -0
  13. package/dist/components/Avatar.d.cts +60 -0
  14. package/dist/components/Avatar.d.cts.map +1 -0
  15. package/dist/components/Avatar.d.mts +60 -0
  16. package/dist/components/Avatar.d.mts.map +1 -0
  17. package/dist/components/Avatar.mjs +109 -0
  18. package/dist/components/Avatar.mjs.map +1 -0
  19. package/dist/components/Badge.cjs +68 -0
  20. package/dist/components/Badge.d.cts +43 -0
  21. package/dist/components/Badge.d.cts.map +1 -0
  22. package/dist/components/Badge.d.mts +43 -0
  23. package/dist/components/Badge.d.mts.map +1 -0
  24. package/dist/components/Badge.mjs +68 -0
  25. package/dist/components/Badge.mjs.map +1 -0
  26. package/dist/components/Box.cjs +114 -0
  27. package/dist/components/Box.d.cts +87 -0
  28. package/dist/components/Box.d.cts.map +1 -0
  29. package/dist/components/Box.d.mts +87 -0
  30. package/dist/components/Box.d.mts.map +1 -0
  31. package/dist/components/Box.mjs +114 -0
  32. package/dist/components/Box.mjs.map +1 -0
  33. package/dist/components/Button.cjs +187 -0
  34. package/dist/components/Button.d.cts +56 -0
  35. package/dist/components/Button.d.cts.map +1 -0
  36. package/dist/components/Button.d.mts +56 -0
  37. package/dist/components/Button.d.mts.map +1 -0
  38. package/dist/components/Button.mjs +186 -0
  39. package/dist/components/Button.mjs.map +1 -0
  40. package/dist/components/Checkbox.cjs +156 -0
  41. package/dist/components/Checkbox.d.cts +48 -0
  42. package/dist/components/Checkbox.d.cts.map +1 -0
  43. package/dist/components/Checkbox.d.mts +48 -0
  44. package/dist/components/Checkbox.d.mts.map +1 -0
  45. package/dist/components/Checkbox.mjs +155 -0
  46. package/dist/components/Checkbox.mjs.map +1 -0
  47. package/dist/components/Chip.cjs +124 -0
  48. package/dist/components/Chip.d.cts +60 -0
  49. package/dist/components/Chip.d.cts.map +1 -0
  50. package/dist/components/Chip.d.mts +60 -0
  51. package/dist/components/Chip.d.mts.map +1 -0
  52. package/dist/components/Chip.mjs +124 -0
  53. package/dist/components/Chip.mjs.map +1 -0
  54. package/dist/components/HStack.cjs +46 -0
  55. package/dist/components/HStack.d.cts +41 -0
  56. package/dist/components/HStack.d.cts.map +1 -0
  57. package/dist/components/HStack.d.mts +41 -0
  58. package/dist/components/HStack.d.mts.map +1 -0
  59. package/dist/components/HStack.mjs +46 -0
  60. package/dist/components/HStack.mjs.map +1 -0
  61. package/dist/components/Icon.cjs +150 -0
  62. package/dist/components/Icon.d.cts +90 -0
  63. package/dist/components/Icon.d.cts.map +1 -0
  64. package/dist/components/Icon.d.mts +90 -0
  65. package/dist/components/Icon.d.mts.map +1 -0
  66. package/dist/components/Icon.mjs +148 -0
  67. package/dist/components/Icon.mjs.map +1 -0
  68. package/dist/components/IconButton.cjs +127 -0
  69. package/dist/components/IconButton.d.cts +46 -0
  70. package/dist/components/IconButton.d.cts.map +1 -0
  71. package/dist/components/IconButton.d.mts +46 -0
  72. package/dist/components/IconButton.d.mts.map +1 -0
  73. package/dist/components/IconButton.mjs +127 -0
  74. package/dist/components/IconButton.mjs.map +1 -0
  75. package/dist/components/IconSlot.cjs +55 -0
  76. package/dist/components/IconSlot.d.cts +45 -0
  77. package/dist/components/IconSlot.d.cts.map +1 -0
  78. package/dist/components/IconSlot.d.mts +45 -0
  79. package/dist/components/IconSlot.d.mts.map +1 -0
  80. package/dist/components/IconSlot.mjs +55 -0
  81. package/dist/components/IconSlot.mjs.map +1 -0
  82. package/dist/components/Image.cjs +104 -0
  83. package/dist/components/Image.d.cts +85 -0
  84. package/dist/components/Image.d.cts.map +1 -0
  85. package/dist/components/Image.d.mts +85 -0
  86. package/dist/components/Image.d.mts.map +1 -0
  87. package/dist/components/Image.mjs +104 -0
  88. package/dist/components/Image.mjs.map +1 -0
  89. package/dist/components/Input.cjs +174 -0
  90. package/dist/components/Input.d.cts +39 -0
  91. package/dist/components/Input.d.cts.map +1 -0
  92. package/dist/components/Input.d.mts +39 -0
  93. package/dist/components/Input.d.mts.map +1 -0
  94. package/dist/components/Input.mjs +174 -0
  95. package/dist/components/Input.mjs.map +1 -0
  96. package/dist/components/Link.cjs +139 -0
  97. package/dist/components/Link.d.cts +45 -0
  98. package/dist/components/Link.d.cts.map +1 -0
  99. package/dist/components/Link.d.mts +45 -0
  100. package/dist/components/Link.d.mts.map +1 -0
  101. package/dist/components/Link.mjs +138 -0
  102. package/dist/components/Link.mjs.map +1 -0
  103. package/dist/components/Pressable.cjs +120 -0
  104. package/dist/components/Pressable.d.cts +90 -0
  105. package/dist/components/Pressable.d.cts.map +1 -0
  106. package/dist/components/Pressable.d.mts +90 -0
  107. package/dist/components/Pressable.d.mts.map +1 -0
  108. package/dist/components/Pressable.mjs +118 -0
  109. package/dist/components/Pressable.mjs.map +1 -0
  110. package/dist/components/Radio.cjs +153 -0
  111. package/dist/components/Radio.d.cts +46 -0
  112. package/dist/components/Radio.d.cts.map +1 -0
  113. package/dist/components/Radio.d.mts +46 -0
  114. package/dist/components/Radio.d.mts.map +1 -0
  115. package/dist/components/Radio.mjs +152 -0
  116. package/dist/components/Radio.mjs.map +1 -0
  117. package/dist/components/Screen.cjs +89 -0
  118. package/dist/components/Screen.d.cts +53 -0
  119. package/dist/components/Screen.d.cts.map +1 -0
  120. package/dist/components/Screen.d.mts +53 -0
  121. package/dist/components/Screen.d.mts.map +1 -0
  122. package/dist/components/Screen.mjs +89 -0
  123. package/dist/components/Screen.mjs.map +1 -0
  124. package/dist/components/Switch.cjs +172 -0
  125. package/dist/components/Switch.d.cts +42 -0
  126. package/dist/components/Switch.d.cts.map +1 -0
  127. package/dist/components/Switch.d.mts +42 -0
  128. package/dist/components/Switch.d.mts.map +1 -0
  129. package/dist/components/Switch.mjs +171 -0
  130. package/dist/components/Switch.mjs.map +1 -0
  131. package/dist/components/Text.cjs +107 -0
  132. package/dist/components/Text.d.cts +96 -0
  133. package/dist/components/Text.d.cts.map +1 -0
  134. package/dist/components/Text.d.mts +96 -0
  135. package/dist/components/Text.d.mts.map +1 -0
  136. package/dist/components/Text.mjs +107 -0
  137. package/dist/components/Text.mjs.map +1 -0
  138. package/dist/components/VStack.cjs +46 -0
  139. package/dist/components/VStack.d.cts +41 -0
  140. package/dist/components/VStack.d.cts.map +1 -0
  141. package/dist/components/VStack.d.mts +41 -0
  142. package/dist/components/VStack.d.mts.map +1 -0
  143. package/dist/components/VStack.mjs +46 -0
  144. package/dist/components/VStack.mjs.map +1 -0
  145. package/dist/icons/dist/glyphMap.cjs +5475 -0
  146. package/dist/icons/dist/glyphMap.d.cts +10 -0
  147. package/dist/icons/dist/glyphMap.d.cts.map +1 -0
  148. package/dist/icons/dist/glyphMap.d.mts +10 -0
  149. package/dist/icons/dist/glyphMap.d.mts.map +1 -0
  150. package/dist/icons/dist/glyphMap.mjs +5474 -0
  151. package/dist/icons/dist/glyphMap.mjs.map +1 -0
  152. package/dist/icons/dist/svgMap.cjs +525 -0
  153. package/dist/icons/dist/svgMap.d.cts +10 -0
  154. package/dist/icons/dist/svgMap.d.cts.map +1 -0
  155. package/dist/icons/dist/svgMap.d.mts +10 -0
  156. package/dist/icons/dist/svgMap.d.mts.map +1 -0
  157. package/dist/icons/dist/svgMap.mjs +524 -0
  158. package/dist/icons/dist/svgMap.mjs.map +1 -0
  159. package/dist/icons/dist/tokens.cjs +13 -0
  160. package/dist/icons/dist/tokens.mjs +13 -0
  161. package/dist/icons/dist/tokens.mjs.map +1 -0
  162. package/dist/icons/dist/types.d.cts +24 -0
  163. package/dist/icons/dist/types.d.cts.map +1 -0
  164. package/dist/icons/dist/types.d.mts +24 -0
  165. package/dist/icons/dist/types.d.mts.map +1 -0
  166. package/dist/motion.cjs +56 -0
  167. package/dist/motion.d.cts +46 -0
  168. package/dist/motion.d.cts.map +1 -0
  169. package/dist/motion.d.mts +46 -0
  170. package/dist/motion.d.mts.map +1 -0
  171. package/dist/motion.mjs +52 -0
  172. package/dist/motion.mjs.map +1 -0
  173. package/dist/types.cjs +1 -0
  174. package/dist/types.d.cts +13 -0
  175. package/dist/types.d.cts.map +1 -0
  176. package/dist/types.d.mts +13 -0
  177. package/dist/types.d.mts.map +1 -0
  178. package/dist/types.mjs +2 -0
  179. package/dist/uds/dist/components/Box.d.cts +3 -0
  180. package/dist/uds/dist/components/Box.d.mts +3 -0
  181. package/dist/uds/dist/components/Divider/Divider.d.cts +3 -0
  182. package/dist/uds/dist/components/Divider/Divider.d.mts +3 -0
  183. package/dist/uds/dist/components/Divider/DividerCore.d.cts +4 -0
  184. package/dist/uds/dist/components/Divider/DividerCore.d.mts +4 -0
  185. package/dist/uds/dist/components/Divider/DividerInternal.d.cts +4 -0
  186. package/dist/uds/dist/components/Divider/DividerInternal.d.mts +4 -0
  187. package/dist/uds/dist/components/Divider/index.d.cts +2 -0
  188. package/dist/uds/dist/components/Divider/index.d.mts +2 -0
  189. package/dist/uds/dist/components/FormLabel.d.cts +3 -0
  190. package/dist/uds/dist/components/FormLabel.d.mts +4 -0
  191. package/dist/uds/dist/components/HStack.d.cts +4 -0
  192. package/dist/uds/dist/components/HStack.d.mts +4 -0
  193. package/dist/uds/dist/components/Icon.d.cts +3 -0
  194. package/dist/uds/dist/components/Icon.d.mts +3 -0
  195. package/dist/uds/dist/components/Image.d.cts +2 -0
  196. package/dist/uds/dist/components/Image.d.mts +3 -0
  197. package/dist/uds/dist/components/Link.d.cts +3 -0
  198. package/dist/uds/dist/components/Link.d.mts +3 -0
  199. package/dist/uds/dist/components/Text.d.cts +3 -0
  200. package/dist/uds/dist/components/Text.d.mts +3 -0
  201. package/dist/uds/dist/components/VStack.d.cts +4 -0
  202. package/dist/uds/dist/components/VStack.d.mts +4 -0
  203. package/dist/uds/dist/components/client/Avatar/Avatar.d.cts +2 -0
  204. package/dist/uds/dist/components/client/Avatar/Avatar.d.mts +3 -0
  205. package/dist/uds/dist/components/client/Avatar/AvatarIcon.d.cts +2 -0
  206. package/dist/uds/dist/components/client/Avatar/AvatarIcon.d.mts +3 -0
  207. package/dist/uds/dist/components/client/Avatar/AvatarImage.d.cts +4 -0
  208. package/dist/uds/dist/components/client/Avatar/AvatarImage.d.mts +5 -0
  209. package/dist/uds/dist/components/client/Avatar/AvatarText.d.cts +3 -0
  210. package/dist/uds/dist/components/client/Avatar/AvatarText.d.mts +4 -0
  211. package/dist/uds/dist/components/client/Avatar/index.d.cts +5 -0
  212. package/dist/uds/dist/components/client/Avatar/index.d.mts +5 -0
  213. package/dist/uds/dist/components/client/Badge.d.cts +3 -0
  214. package/dist/uds/dist/components/client/Badge.d.mts +3 -0
  215. package/dist/uds/dist/components/client/Button.d.cts +3 -0
  216. package/dist/uds/dist/components/client/Button.d.mts +3 -0
  217. package/dist/uds/dist/components/client/Checkbox.d.cts +3 -0
  218. package/dist/uds/dist/components/client/Checkbox.d.mts +3 -0
  219. package/dist/uds/dist/components/client/Chip/Chip.d.cts +4 -0
  220. package/dist/uds/dist/components/client/Chip/Chip.d.mts +4 -0
  221. package/dist/uds/dist/components/client/Chip/ChipBase.d.cts +4 -0
  222. package/dist/uds/dist/components/client/Chip/ChipBase.d.mts +4 -0
  223. package/dist/uds/dist/components/client/Chip/ChipButton.d.cts +4 -0
  224. package/dist/uds/dist/components/client/Chip/ChipButton.d.mts +4 -0
  225. package/dist/uds/dist/components/client/Chip/ChipDismissible.d.cts +4 -0
  226. package/dist/uds/dist/components/client/Chip/ChipDismissible.d.mts +4 -0
  227. package/dist/uds/dist/components/client/Chip/ChipLink.d.cts +4 -0
  228. package/dist/uds/dist/components/client/Chip/ChipLink.d.mts +4 -0
  229. package/dist/uds/dist/components/client/Chip/ChipToggle.d.cts +4 -0
  230. package/dist/uds/dist/components/client/Chip/ChipToggle.d.mts +4 -0
  231. package/dist/uds/dist/components/client/Chip/index.d.cts +6 -0
  232. package/dist/uds/dist/components/client/Chip/index.d.mts +6 -0
  233. package/dist/uds/dist/components/client/IconButton.d.cts +3 -0
  234. package/dist/uds/dist/components/client/IconButton.d.mts +3 -0
  235. package/dist/uds/dist/components/client/Input/Input.d.cts +4 -0
  236. package/dist/uds/dist/components/client/Input/Input.d.mts +4 -0
  237. package/dist/uds/dist/components/client/Input/InputHelpText.d.cts +2 -0
  238. package/dist/uds/dist/components/client/Input/InputHelpText.d.mts +3 -0
  239. package/dist/uds/dist/components/client/Input/InputHelpTextInternal.d.cts +5 -0
  240. package/dist/uds/dist/components/client/Input/InputHelpTextInternal.d.mts +6 -0
  241. package/dist/uds/dist/components/client/Input/index.d.cts +3 -0
  242. package/dist/uds/dist/components/client/Input/index.d.mts +3 -0
  243. package/dist/uds/dist/components/client/Menu/Menu.Content.d.cts +4 -0
  244. package/dist/uds/dist/components/client/Menu/Menu.Content.d.mts +4 -0
  245. package/dist/uds/dist/components/client/Menu/Menu.Divider.d.cts +3 -0
  246. package/dist/uds/dist/components/client/Menu/Menu.Divider.d.mts +3 -0
  247. package/dist/uds/dist/components/client/Menu/Menu.Item.d.cts +4 -0
  248. package/dist/uds/dist/components/client/Menu/Menu.Item.d.mts +4 -0
  249. package/dist/uds/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +4 -0
  250. package/dist/uds/dist/components/client/Menu/Menu.ItemCheckbox.d.mts +4 -0
  251. package/dist/uds/dist/components/client/Menu/Menu.Provider.d.cts +2 -0
  252. package/dist/uds/dist/components/client/Menu/Menu.Provider.d.mts +3 -0
  253. package/dist/uds/dist/components/client/Menu/Menu.Trigger.d.cts +4 -0
  254. package/dist/uds/dist/components/client/Menu/Menu.Trigger.d.mts +4 -0
  255. package/dist/uds/dist/components/client/Menu/Menu.d.cts +2 -0
  256. package/dist/uds/dist/components/client/Menu/Menu.d.mts +2 -0
  257. package/dist/uds/dist/components/client/Menu/Menu.index.d.cts +7 -0
  258. package/dist/uds/dist/components/client/Menu/Menu.index.d.mts +7 -0
  259. package/dist/uds/dist/components/client/Menu/index.d.cts +9 -0
  260. package/dist/uds/dist/components/client/Menu/index.d.mts +9 -0
  261. package/dist/uds/dist/components/client/Pressable.d.cts +3 -0
  262. package/dist/uds/dist/components/client/Pressable.d.mts +3 -0
  263. package/dist/uds/dist/components/client/Radio/Radio.d.cts +3 -0
  264. package/dist/uds/dist/components/client/Radio/Radio.d.mts +3 -0
  265. package/dist/uds/dist/components/client/Radio/RadioGroupProvider.d.cts +3 -0
  266. package/dist/uds/dist/components/client/Radio/RadioGroupProvider.d.mts +3 -0
  267. package/dist/uds/dist/components/client/Radio/index.d.cts +3 -0
  268. package/dist/uds/dist/components/client/Radio/index.d.mts +3 -0
  269. package/dist/uds/dist/components/client/SpringMotionConfig.d.cts +3 -0
  270. package/dist/uds/dist/components/client/SpringMotionConfig.d.mts +3 -0
  271. package/dist/uds/dist/components/client/Switch.d.cts +3 -0
  272. package/dist/uds/dist/components/client/Switch.d.mts +3 -0
  273. package/dist/uds/dist/components/client/index.d.cts +33 -0
  274. package/dist/uds/dist/components/client/index.d.mts +33 -0
  275. package/dist/uds/dist/components/index.d.cts +40 -0
  276. package/dist/uds/dist/components/index.d.mts +40 -0
  277. package/dist/uds/dist/index.d.cts +46 -0
  278. package/dist/uds/dist/index.d.mts +46 -0
  279. package/dist/uds/dist/styles/styler.d.cts +2 -0
  280. package/dist/uds/dist/styles/styler.d.mts +2 -0
  281. package/dist/uds/dist/styles/stylerTypes.d.cts +2 -0
  282. package/dist/uds/dist/styles/stylerTypes.d.mts +2 -0
  283. package/dist/uds/dist/tokens/automation/configs/avatar.d.cts +2 -0
  284. package/dist/uds/dist/tokens/automation/configs/avatar.d.mts +2 -0
  285. package/dist/uds/dist/tokens/automation/properties.d.cts +3 -0
  286. package/dist/uds/dist/tokens/automation/properties.d.mts +3 -0
  287. package/dist/uds/dist/tokens/automation/types/ComponentConfig.d.cts +3 -0
  288. package/dist/uds/dist/tokens/automation/types/ComponentConfig.d.mts +3 -0
  289. package/dist/uds/dist/tokens/configs/motion.cjs +109 -0
  290. package/dist/uds/dist/tokens/configs/motion.d.cts +20 -0
  291. package/dist/uds/dist/tokens/configs/motion.d.cts.map +1 -0
  292. package/dist/uds/dist/tokens/configs/motion.d.mts +20 -0
  293. package/dist/uds/dist/tokens/configs/motion.d.mts.map +1 -0
  294. package/dist/uds/dist/tokens/configs/motion.mjs +108 -0
  295. package/dist/uds/dist/tokens/configs/motion.mjs.map +1 -0
  296. package/dist/uds/dist/tokens/configs/palette/alwaysPalette.d.cts +32 -0
  297. package/dist/uds/dist/tokens/configs/palette/alwaysPalette.d.cts.map +1 -0
  298. package/dist/uds/dist/tokens/configs/palette/alwaysPalette.d.mts +32 -0
  299. package/dist/uds/dist/tokens/configs/palette/alwaysPalette.d.mts.map +1 -0
  300. package/dist/uds/dist/tokens/types.d.cts +426 -0
  301. package/dist/uds/dist/tokens/types.d.cts.map +1 -0
  302. package/dist/uds/dist/tokens/types.d.mts +426 -0
  303. package/dist/uds/dist/tokens/types.d.mts.map +1 -0
  304. package/dist/uds/dist/types.d.cts +2 -0
  305. package/dist/uds/dist/types.d.mts +2 -0
  306. package/fonts/centra-no2-black-italic.otf +0 -0
  307. package/fonts/centra-no2-black.otf +0 -0
  308. package/fonts/centra-no2-bold-italic.otf +0 -0
  309. package/fonts/centra-no2-bold.otf +0 -0
  310. package/fonts/centra-no2-book-italic.otf +0 -0
  311. package/fonts/centra-no2-book.otf +0 -0
  312. package/fonts/centra-no2-extrabold-italic.otf +0 -0
  313. package/fonts/centra-no2-extrabold.otf +0 -0
  314. package/fonts/centra-no2-hairline-italic.otf +0 -0
  315. package/fonts/centra-no2-hairline.otf +0 -0
  316. package/fonts/centra-no2-light-italic.otf +0 -0
  317. package/fonts/centra-no2-light.otf +0 -0
  318. package/fonts/centra-no2-medium-italic.otf +0 -0
  319. package/fonts/centra-no2-medium.otf +0 -0
  320. package/fonts/centra-no2-thin-italic.otf +0 -0
  321. package/fonts/centra-no2-thin.otf +0 -0
  322. package/fonts/gelica-black-italic.otf +0 -0
  323. package/fonts/gelica-black.otf +0 -0
  324. package/fonts/gelica-bold-italic.otf +0 -0
  325. package/fonts/gelica-bold.otf +0 -0
  326. package/fonts/gelica-extra-light-italic.otf +0 -0
  327. package/fonts/gelica-extra-light.otf +0 -0
  328. package/fonts/gelica-light-italic.otf +0 -0
  329. package/fonts/gelica-light.otf +0 -0
  330. package/fonts/gelica-medium-italic.otf +0 -0
  331. package/fonts/gelica-medium.otf +0 -0
  332. package/fonts/gelica-regular-italic.otf +0 -0
  333. package/fonts/gelica-regular.otf +0 -0
  334. package/fonts/gelica-semi-bold-italic.otf +0 -0
  335. package/fonts/gelica-semi-bold.otf +0 -0
  336. package/fonts/index.cjs +270 -0
  337. package/fonts/index.d.ts +10 -0
  338. package/fonts/index.mjs +272 -0
  339. package/fonts/inter-black.ttf +0 -0
  340. package/fonts/inter-bold.ttf +0 -0
  341. package/fonts/inter-extra-bold.ttf +0 -0
  342. package/fonts/inter-extra-light.ttf +0 -0
  343. package/fonts/inter-light.ttf +0 -0
  344. package/fonts/inter-medium.ttf +0 -0
  345. package/fonts/inter-regular.ttf +0 -0
  346. package/fonts/inter-semi-bold.ttf +0 -0
  347. package/fonts/inter-thin.ttf +0 -0
  348. package/fonts/roboto-mono-bold-italic.ttf +0 -0
  349. package/fonts/roboto-mono-bold.ttf +0 -0
  350. package/fonts/roboto-mono-light-italic.ttf +0 -0
  351. package/fonts/roboto-mono-light.ttf +0 -0
  352. package/fonts/roboto-mono-medium-italic.ttf +0 -0
  353. package/fonts/roboto-mono-medium.ttf +0 -0
  354. package/fonts/roboto-mono-regular-italic.ttf +0 -0
  355. package/fonts/roboto-mono-regular.ttf +0 -0
  356. package/fonts/roboto-mono-thin-italic.ttf +0 -0
  357. package/fonts/roboto-mono-thin.ttf +0 -0
  358. package/fonts/uds-icons.ttf +0 -0
  359. package/fonts/yahoo-product-sans-bold.otf +0 -0
  360. package/fonts/yahoo-product-sans-extended-black-italic.ttf +0 -0
  361. package/fonts/yahoo-product-sans-extended-black.ttf +0 -0
  362. package/fonts/yahoo-product-sans-extended-bold-italic.ttf +0 -0
  363. package/fonts/yahoo-product-sans-extended-bold.ttf +0 -0
  364. package/fonts/yahoo-product-sans-extended-light-italic.ttf +0 -0
  365. package/fonts/yahoo-product-sans-extended-light.ttf +0 -0
  366. package/fonts/yahoo-product-sans-extended-medium-italic.ttf +0 -0
  367. package/fonts/yahoo-product-sans-extended-medium.ttf +0 -0
  368. package/fonts/yahoo-product-sans-extended-regular-italic.ttf +0 -0
  369. package/fonts/yahoo-product-sans-extended-regular.ttf +0 -0
  370. package/fonts/yahoo-product-sans-extended-semibold-italic.ttf +0 -0
  371. package/fonts/yahoo-product-sans-extended-semibold.ttf +0 -0
  372. package/fonts/yahoo-product-sans-medium.otf +0 -0
  373. package/fonts/yahoo-product-sans-regular.otf +0 -0
  374. package/fonts/yahoo-sans-beta-bold.otf +0 -0
  375. package/fonts/yahoo-sans-beta-medium.otf +0 -0
  376. package/fonts/yahoo-sans-beta-regular.otf +0 -0
  377. package/fonts/yahoo-sans-black.otf +0 -0
  378. package/fonts/yahoo-sans-bold.otf +0 -0
  379. package/fonts/yahoo-sans-condensed-black.otf +0 -0
  380. package/fonts/yahoo-sans-condensed-bold.otf +0 -0
  381. package/fonts/yahoo-sans-condensed-light.otf +0 -0
  382. package/fonts/yahoo-sans-condensed-medium.otf +0 -0
  383. package/fonts/yahoo-sans-condensed-regular.otf +0 -0
  384. package/fonts/yahoo-sans-condensed-xbold.ttf +0 -0
  385. package/fonts/yahoo-sans-cr4-bold.ttf +0 -0
  386. package/fonts/yahoo-sans-cr4-medium.ttf +0 -0
  387. package/fonts/yahoo-sans-cr4-regular.ttf +0 -0
  388. package/fonts/yahoo-sans-extrabold.otf +0 -0
  389. package/fonts/yahoo-sans-extralight.otf +0 -0
  390. package/fonts/yahoo-sans-italic.otf +0 -0
  391. package/fonts/yahoo-sans-light.otf +0 -0
  392. package/fonts/yahoo-sans-medium.otf +0 -0
  393. package/fonts/yahoo-sans-regular-italic.otf +0 -0
  394. package/fonts/yahoo-sans-regular.otf +0 -0
  395. package/fonts/yahoo-sans-semibold.otf +0 -0
  396. package/fonts/yahoo-serif-display-black.otf +0 -0
  397. package/fonts/yahoo-serif-display-bold.otf +0 -0
  398. package/fonts/yahoo-serif-display-extrabold.otf +0 -0
  399. package/fonts/yahoo-serif-display-light.otf +0 -0
  400. package/fonts/yahoo-serif-display-regular.otf +0 -0
  401. package/fonts/yahoo-serif-text-bold-italic.ttf +0 -0
  402. package/fonts/yahoo-serif-text-bold.otf +0 -0
  403. package/fonts/yahoo-serif-text-italic.otf +0 -0
  404. package/fonts/yahoo-serif-text-regular.otf +0 -0
  405. package/fonts/yas-black-italic.otf +0 -0
  406. package/fonts/yas-black.otf +0 -0
  407. package/fonts/yas-bold-italic.otf +0 -0
  408. package/fonts/yas-bold.otf +0 -0
  409. package/fonts/yas-condensed-black-italic.otf +0 -0
  410. package/fonts/yas-condensed-black.otf +0 -0
  411. package/fonts/yas-condensed-bold-italic.otf +0 -0
  412. package/fonts/yas-condensed-bold.otf +0 -0
  413. package/fonts/yas-condensed-light-italic.otf +0 -0
  414. package/fonts/yas-condensed-light.otf +0 -0
  415. package/fonts/yas-condensed-medium-italic.otf +0 -0
  416. package/fonts/yas-condensed-medium.otf +0 -0
  417. package/fonts/yas-condensed-regular-italic.otf +0 -0
  418. package/fonts/yas-condensed-regular.otf +0 -0
  419. package/fonts/yas-condensed-semibold-italic.otf +0 -0
  420. package/fonts/yas-condensed-semibold.otf +0 -0
  421. package/fonts/yas-extended-black-italic.otf +0 -0
  422. package/fonts/yas-extended-black.otf +0 -0
  423. package/fonts/yas-extended-bold-italic.otf +0 -0
  424. package/fonts/yas-extended-bold.otf +0 -0
  425. package/fonts/yas-extended-light-italic.otf +0 -0
  426. package/fonts/yas-extended-light.otf +0 -0
  427. package/fonts/yas-extended-medium-italic.otf +0 -0
  428. package/fonts/yas-extended-medium.otf +0 -0
  429. package/fonts/yas-extended-regular-italic.otf +0 -0
  430. package/fonts/yas-extended-regular.otf +0 -0
  431. package/fonts/yas-extended-semibold-italic.otf +0 -0
  432. package/fonts/yas-extended-semibold.otf +0 -0
  433. package/fonts/yas-light-italic.otf +0 -0
  434. package/fonts/yas-light.otf +0 -0
  435. package/fonts/yas-medium-italic.otf +0 -0
  436. package/fonts/yas-medium.otf +0 -0
  437. package/fonts/yas-regular-italic.otf +0 -0
  438. package/fonts/yas-regular.otf +0 -0
  439. package/fonts/yas-semibold-italic.otf +0 -0
  440. package/fonts/yas-semibold.otf +0 -0
  441. package/generated/styles.cjs +4510 -0
  442. package/generated/styles.d.cts +1 -0
  443. package/generated/styles.d.mts +1 -0
  444. package/generated/styles.d.ts +2965 -0
  445. package/generated/styles.mjs +4510 -0
  446. package/generated/unistyles.d.ts +4320 -0
  447. package/package.json +308 -0
@@ -0,0 +1,4510 @@
1
+ // AUTO-GENERATED FILE. DO NOT EDIT.
2
+ // Generated by scripts/generateStyles.ts
3
+
4
+ const { StyleSheet } = require('react-native-unistyles');
5
+
6
+ const styles = StyleSheet.create((theme) => ({
7
+ foundation: {
8
+ variants: {
9
+ backgroundColor: {
10
+ primary: { backgroundColor: theme.colors.background['primary'] },
11
+ secondary: { backgroundColor: theme.colors.background['secondary'] },
12
+ accent: { backgroundColor: theme.colors.background['accent'] },
13
+ brand: { backgroundColor: theme.colors.background['brand'] },
14
+ alert: { backgroundColor: theme.colors.background['alert'] },
15
+ positive: { backgroundColor: theme.colors.background['positive'] },
16
+ warning: { backgroundColor: theme.colors.background['warning'] },
17
+ info: { backgroundColor: theme.colors.background['info'] },
18
+ 'brand-secondary': { backgroundColor: theme.colors.background['brand-secondary'] },
19
+ 'alert-secondary': { backgroundColor: theme.colors.background['alert-secondary'] },
20
+ 'positive-secondary': { backgroundColor: theme.colors.background['positive-secondary'] },
21
+ 'warning-secondary': { backgroundColor: theme.colors.background['warning-secondary'] },
22
+ 'info-secondary': { backgroundColor: theme.colors.background['info-secondary'] },
23
+ 'always/white': { backgroundColor: theme.colors.background['always/white'] },
24
+ 'always/black': { backgroundColor: theme.colors.background['always/black'] },
25
+ 'always/transparent': { backgroundColor: theme.colors.background['always/transparent'] },
26
+ 'always/brand': { backgroundColor: theme.colors.background['always/brand'] },
27
+ 'always/accent': { backgroundColor: theme.colors.background['always/accent'] },
28
+ 'elevation-0': { backgroundColor: theme.colors.background['elevation-0'] },
29
+ 'elevation-1': { backgroundColor: theme.colors.background['elevation-1'] },
30
+ 'elevation-2': { backgroundColor: theme.colors.background['elevation-2'] },
31
+ 'elevation-3': { backgroundColor: theme.colors.background['elevation-3'] },
32
+ 'elevation-4': { backgroundColor: theme.colors.background['elevation-4'] },
33
+ 'elevation-5': { backgroundColor: theme.colors.background['elevation-5'] },
34
+ },
35
+ borderRadius: {
36
+ none: { borderRadius: theme.borderRadius['none'] },
37
+ xs: { borderRadius: theme.borderRadius['xs'] },
38
+ sm: { borderRadius: theme.borderRadius['sm'] },
39
+ md: { borderRadius: theme.borderRadius['md'] },
40
+ lg: { borderRadius: theme.borderRadius['lg'] },
41
+ xl: { borderRadius: theme.borderRadius['xl'] },
42
+ full: { borderRadius: theme.borderRadius['full'] },
43
+ },
44
+ borderTopStartRadius: {
45
+ none: { borderTopStartRadius: theme.borderRadius['none'] },
46
+ xs: { borderTopStartRadius: theme.borderRadius['xs'] },
47
+ sm: { borderTopStartRadius: theme.borderRadius['sm'] },
48
+ md: { borderTopStartRadius: theme.borderRadius['md'] },
49
+ lg: { borderTopStartRadius: theme.borderRadius['lg'] },
50
+ xl: { borderTopStartRadius: theme.borderRadius['xl'] },
51
+ full: { borderTopStartRadius: theme.borderRadius['full'] },
52
+ },
53
+ borderTopEndRadius: {
54
+ none: { borderTopEndRadius: theme.borderRadius['none'] },
55
+ xs: { borderTopEndRadius: theme.borderRadius['xs'] },
56
+ sm: { borderTopEndRadius: theme.borderRadius['sm'] },
57
+ md: { borderTopEndRadius: theme.borderRadius['md'] },
58
+ lg: { borderTopEndRadius: theme.borderRadius['lg'] },
59
+ xl: { borderTopEndRadius: theme.borderRadius['xl'] },
60
+ full: { borderTopEndRadius: theme.borderRadius['full'] },
61
+ },
62
+ borderBottomStartRadius: {
63
+ none: { borderBottomStartRadius: theme.borderRadius['none'] },
64
+ xs: { borderBottomStartRadius: theme.borderRadius['xs'] },
65
+ sm: { borderBottomStartRadius: theme.borderRadius['sm'] },
66
+ md: { borderBottomStartRadius: theme.borderRadius['md'] },
67
+ lg: { borderBottomStartRadius: theme.borderRadius['lg'] },
68
+ xl: { borderBottomStartRadius: theme.borderRadius['xl'] },
69
+ full: { borderBottomStartRadius: theme.borderRadius['full'] },
70
+ },
71
+ borderBottomEndRadius: {
72
+ none: { borderBottomEndRadius: theme.borderRadius['none'] },
73
+ xs: { borderBottomEndRadius: theme.borderRadius['xs'] },
74
+ sm: { borderBottomEndRadius: theme.borderRadius['sm'] },
75
+ md: { borderBottomEndRadius: theme.borderRadius['md'] },
76
+ lg: { borderBottomEndRadius: theme.borderRadius['lg'] },
77
+ xl: { borderBottomEndRadius: theme.borderRadius['xl'] },
78
+ full: { borderBottomEndRadius: theme.borderRadius['full'] },
79
+ },
80
+ borderColor: {
81
+ primary: { borderColor: theme.colors.line['primary'] },
82
+ secondary: { borderColor: theme.colors.line['secondary'] },
83
+ accent: { borderColor: theme.colors.line['accent'] },
84
+ brand: { borderColor: theme.colors.line['brand'] },
85
+ alert: { borderColor: theme.colors.line['alert'] },
86
+ positive: { borderColor: theme.colors.line['positive'] },
87
+ warning: { borderColor: theme.colors.line['warning'] },
88
+ info: { borderColor: theme.colors.line['info'] },
89
+ 'brand-secondary': { borderColor: theme.colors.line['brand-secondary'] },
90
+ 'alert-secondary': { borderColor: theme.colors.line['alert-secondary'] },
91
+ 'positive-secondary': { borderColor: theme.colors.line['positive-secondary'] },
92
+ 'warning-secondary': { borderColor: theme.colors.line['warning-secondary'] },
93
+ 'info-secondary': { borderColor: theme.colors.line['info-secondary'] },
94
+ 'always/white': { borderColor: theme.colors.line['always/white'] },
95
+ 'always/black': { borderColor: theme.colors.line['always/black'] },
96
+ 'always/transparent': { borderColor: theme.colors.line['always/transparent'] },
97
+ 'always/brand': { borderColor: theme.colors.line['always/brand'] },
98
+ 'always/accent': { borderColor: theme.colors.line['always/accent'] },
99
+ 'elevation-0': { borderColor: theme.colors.line['elevation-0'] },
100
+ 'elevation-1': { borderColor: theme.colors.line['elevation-1'] },
101
+ 'elevation-2': { borderColor: theme.colors.line['elevation-2'] },
102
+ 'elevation-3': { borderColor: theme.colors.line['elevation-3'] },
103
+ 'elevation-4': { borderColor: theme.colors.line['elevation-4'] },
104
+ 'elevation-5': { borderColor: theme.colors.line['elevation-5'] },
105
+ tertiary: { borderColor: theme.colors.line['tertiary'] },
106
+ muted: { borderColor: theme.colors.line['muted'] },
107
+ },
108
+ borderStartColor: {
109
+ primary: { borderStartColor: theme.colors.line['primary'] },
110
+ secondary: { borderStartColor: theme.colors.line['secondary'] },
111
+ accent: { borderStartColor: theme.colors.line['accent'] },
112
+ brand: { borderStartColor: theme.colors.line['brand'] },
113
+ alert: { borderStartColor: theme.colors.line['alert'] },
114
+ positive: { borderStartColor: theme.colors.line['positive'] },
115
+ warning: { borderStartColor: theme.colors.line['warning'] },
116
+ info: { borderStartColor: theme.colors.line['info'] },
117
+ 'brand-secondary': { borderStartColor: theme.colors.line['brand-secondary'] },
118
+ 'alert-secondary': { borderStartColor: theme.colors.line['alert-secondary'] },
119
+ 'positive-secondary': { borderStartColor: theme.colors.line['positive-secondary'] },
120
+ 'warning-secondary': { borderStartColor: theme.colors.line['warning-secondary'] },
121
+ 'info-secondary': { borderStartColor: theme.colors.line['info-secondary'] },
122
+ 'always/white': { borderStartColor: theme.colors.line['always/white'] },
123
+ 'always/black': { borderStartColor: theme.colors.line['always/black'] },
124
+ 'always/transparent': { borderStartColor: theme.colors.line['always/transparent'] },
125
+ 'always/brand': { borderStartColor: theme.colors.line['always/brand'] },
126
+ 'always/accent': { borderStartColor: theme.colors.line['always/accent'] },
127
+ 'elevation-0': { borderStartColor: theme.colors.line['elevation-0'] },
128
+ 'elevation-1': { borderStartColor: theme.colors.line['elevation-1'] },
129
+ 'elevation-2': { borderStartColor: theme.colors.line['elevation-2'] },
130
+ 'elevation-3': { borderStartColor: theme.colors.line['elevation-3'] },
131
+ 'elevation-4': { borderStartColor: theme.colors.line['elevation-4'] },
132
+ 'elevation-5': { borderStartColor: theme.colors.line['elevation-5'] },
133
+ tertiary: { borderStartColor: theme.colors.line['tertiary'] },
134
+ muted: { borderStartColor: theme.colors.line['muted'] },
135
+ },
136
+ borderEndColor: {
137
+ primary: { borderEndColor: theme.colors.line['primary'] },
138
+ secondary: { borderEndColor: theme.colors.line['secondary'] },
139
+ accent: { borderEndColor: theme.colors.line['accent'] },
140
+ brand: { borderEndColor: theme.colors.line['brand'] },
141
+ alert: { borderEndColor: theme.colors.line['alert'] },
142
+ positive: { borderEndColor: theme.colors.line['positive'] },
143
+ warning: { borderEndColor: theme.colors.line['warning'] },
144
+ info: { borderEndColor: theme.colors.line['info'] },
145
+ 'brand-secondary': { borderEndColor: theme.colors.line['brand-secondary'] },
146
+ 'alert-secondary': { borderEndColor: theme.colors.line['alert-secondary'] },
147
+ 'positive-secondary': { borderEndColor: theme.colors.line['positive-secondary'] },
148
+ 'warning-secondary': { borderEndColor: theme.colors.line['warning-secondary'] },
149
+ 'info-secondary': { borderEndColor: theme.colors.line['info-secondary'] },
150
+ 'always/white': { borderEndColor: theme.colors.line['always/white'] },
151
+ 'always/black': { borderEndColor: theme.colors.line['always/black'] },
152
+ 'always/transparent': { borderEndColor: theme.colors.line['always/transparent'] },
153
+ 'always/brand': { borderEndColor: theme.colors.line['always/brand'] },
154
+ 'always/accent': { borderEndColor: theme.colors.line['always/accent'] },
155
+ 'elevation-0': { borderEndColor: theme.colors.line['elevation-0'] },
156
+ 'elevation-1': { borderEndColor: theme.colors.line['elevation-1'] },
157
+ 'elevation-2': { borderEndColor: theme.colors.line['elevation-2'] },
158
+ 'elevation-3': { borderEndColor: theme.colors.line['elevation-3'] },
159
+ 'elevation-4': { borderEndColor: theme.colors.line['elevation-4'] },
160
+ 'elevation-5': { borderEndColor: theme.colors.line['elevation-5'] },
161
+ tertiary: { borderEndColor: theme.colors.line['tertiary'] },
162
+ muted: { borderEndColor: theme.colors.line['muted'] },
163
+ },
164
+ borderTopColor: {
165
+ primary: { borderTopColor: theme.colors.line['primary'] },
166
+ secondary: { borderTopColor: theme.colors.line['secondary'] },
167
+ accent: { borderTopColor: theme.colors.line['accent'] },
168
+ brand: { borderTopColor: theme.colors.line['brand'] },
169
+ alert: { borderTopColor: theme.colors.line['alert'] },
170
+ positive: { borderTopColor: theme.colors.line['positive'] },
171
+ warning: { borderTopColor: theme.colors.line['warning'] },
172
+ info: { borderTopColor: theme.colors.line['info'] },
173
+ 'brand-secondary': { borderTopColor: theme.colors.line['brand-secondary'] },
174
+ 'alert-secondary': { borderTopColor: theme.colors.line['alert-secondary'] },
175
+ 'positive-secondary': { borderTopColor: theme.colors.line['positive-secondary'] },
176
+ 'warning-secondary': { borderTopColor: theme.colors.line['warning-secondary'] },
177
+ 'info-secondary': { borderTopColor: theme.colors.line['info-secondary'] },
178
+ 'always/white': { borderTopColor: theme.colors.line['always/white'] },
179
+ 'always/black': { borderTopColor: theme.colors.line['always/black'] },
180
+ 'always/transparent': { borderTopColor: theme.colors.line['always/transparent'] },
181
+ 'always/brand': { borderTopColor: theme.colors.line['always/brand'] },
182
+ 'always/accent': { borderTopColor: theme.colors.line['always/accent'] },
183
+ 'elevation-0': { borderTopColor: theme.colors.line['elevation-0'] },
184
+ 'elevation-1': { borderTopColor: theme.colors.line['elevation-1'] },
185
+ 'elevation-2': { borderTopColor: theme.colors.line['elevation-2'] },
186
+ 'elevation-3': { borderTopColor: theme.colors.line['elevation-3'] },
187
+ 'elevation-4': { borderTopColor: theme.colors.line['elevation-4'] },
188
+ 'elevation-5': { borderTopColor: theme.colors.line['elevation-5'] },
189
+ tertiary: { borderTopColor: theme.colors.line['tertiary'] },
190
+ muted: { borderTopColor: theme.colors.line['muted'] },
191
+ },
192
+ borderBottomColor: {
193
+ primary: { borderBottomColor: theme.colors.line['primary'] },
194
+ secondary: { borderBottomColor: theme.colors.line['secondary'] },
195
+ accent: { borderBottomColor: theme.colors.line['accent'] },
196
+ brand: { borderBottomColor: theme.colors.line['brand'] },
197
+ alert: { borderBottomColor: theme.colors.line['alert'] },
198
+ positive: { borderBottomColor: theme.colors.line['positive'] },
199
+ warning: { borderBottomColor: theme.colors.line['warning'] },
200
+ info: { borderBottomColor: theme.colors.line['info'] },
201
+ 'brand-secondary': { borderBottomColor: theme.colors.line['brand-secondary'] },
202
+ 'alert-secondary': { borderBottomColor: theme.colors.line['alert-secondary'] },
203
+ 'positive-secondary': { borderBottomColor: theme.colors.line['positive-secondary'] },
204
+ 'warning-secondary': { borderBottomColor: theme.colors.line['warning-secondary'] },
205
+ 'info-secondary': { borderBottomColor: theme.colors.line['info-secondary'] },
206
+ 'always/white': { borderBottomColor: theme.colors.line['always/white'] },
207
+ 'always/black': { borderBottomColor: theme.colors.line['always/black'] },
208
+ 'always/transparent': { borderBottomColor: theme.colors.line['always/transparent'] },
209
+ 'always/brand': { borderBottomColor: theme.colors.line['always/brand'] },
210
+ 'always/accent': { borderBottomColor: theme.colors.line['always/accent'] },
211
+ 'elevation-0': { borderBottomColor: theme.colors.line['elevation-0'] },
212
+ 'elevation-1': { borderBottomColor: theme.colors.line['elevation-1'] },
213
+ 'elevation-2': { borderBottomColor: theme.colors.line['elevation-2'] },
214
+ 'elevation-3': { borderBottomColor: theme.colors.line['elevation-3'] },
215
+ 'elevation-4': { borderBottomColor: theme.colors.line['elevation-4'] },
216
+ 'elevation-5': { borderBottomColor: theme.colors.line['elevation-5'] },
217
+ tertiary: { borderBottomColor: theme.colors.line['tertiary'] },
218
+ muted: { borderBottomColor: theme.colors.line['muted'] },
219
+ },
220
+ borderWidth: {
221
+ none: { borderWidth: theme.borderWidth['none'] },
222
+ thin: { borderWidth: theme.borderWidth['thin'] },
223
+ medium: { borderWidth: theme.borderWidth['medium'] },
224
+ 'elevation-0': { borderWidth: theme.borderWidth['elevation-0'] },
225
+ 'elevation-1': { borderWidth: theme.borderWidth['elevation-1'] },
226
+ 'elevation-2': { borderWidth: theme.borderWidth['elevation-2'] },
227
+ 'elevation-3': { borderWidth: theme.borderWidth['elevation-3'] },
228
+ 'elevation-4': { borderWidth: theme.borderWidth['elevation-4'] },
229
+ 'elevation-5': { borderWidth: theme.borderWidth['elevation-5'] },
230
+ thick: { borderWidth: theme.borderWidth['thick'] },
231
+ },
232
+ borderVerticalWidth: {
233
+ none: {
234
+ borderTopWidth: theme.borderWidth['none'],
235
+ borderBottomWidth: theme.borderWidth['none'],
236
+ },
237
+ thin: {
238
+ borderTopWidth: theme.borderWidth['thin'],
239
+ borderBottomWidth: theme.borderWidth['thin'],
240
+ },
241
+ medium: {
242
+ borderTopWidth: theme.borderWidth['medium'],
243
+ borderBottomWidth: theme.borderWidth['medium'],
244
+ },
245
+ 'elevation-0': {
246
+ borderTopWidth: theme.borderWidth['elevation-0'],
247
+ borderBottomWidth: theme.borderWidth['elevation-0'],
248
+ },
249
+ 'elevation-1': {
250
+ borderTopWidth: theme.borderWidth['elevation-1'],
251
+ borderBottomWidth: theme.borderWidth['elevation-1'],
252
+ },
253
+ 'elevation-2': {
254
+ borderTopWidth: theme.borderWidth['elevation-2'],
255
+ borderBottomWidth: theme.borderWidth['elevation-2'],
256
+ },
257
+ 'elevation-3': {
258
+ borderTopWidth: theme.borderWidth['elevation-3'],
259
+ borderBottomWidth: theme.borderWidth['elevation-3'],
260
+ },
261
+ 'elevation-4': {
262
+ borderTopWidth: theme.borderWidth['elevation-4'],
263
+ borderBottomWidth: theme.borderWidth['elevation-4'],
264
+ },
265
+ 'elevation-5': {
266
+ borderTopWidth: theme.borderWidth['elevation-5'],
267
+ borderBottomWidth: theme.borderWidth['elevation-5'],
268
+ },
269
+ thick: {
270
+ borderTopWidth: theme.borderWidth['thick'],
271
+ borderBottomWidth: theme.borderWidth['thick'],
272
+ },
273
+ },
274
+ borderHorizontalWidth: {
275
+ none: {
276
+ borderStartWidth: theme.borderWidth['none'],
277
+ borderEndWidth: theme.borderWidth['none'],
278
+ },
279
+ thin: {
280
+ borderStartWidth: theme.borderWidth['thin'],
281
+ borderEndWidth: theme.borderWidth['thin'],
282
+ },
283
+ medium: {
284
+ borderStartWidth: theme.borderWidth['medium'],
285
+ borderEndWidth: theme.borderWidth['medium'],
286
+ },
287
+ 'elevation-0': {
288
+ borderStartWidth: theme.borderWidth['elevation-0'],
289
+ borderEndWidth: theme.borderWidth['elevation-0'],
290
+ },
291
+ 'elevation-1': {
292
+ borderStartWidth: theme.borderWidth['elevation-1'],
293
+ borderEndWidth: theme.borderWidth['elevation-1'],
294
+ },
295
+ 'elevation-2': {
296
+ borderStartWidth: theme.borderWidth['elevation-2'],
297
+ borderEndWidth: theme.borderWidth['elevation-2'],
298
+ },
299
+ 'elevation-3': {
300
+ borderStartWidth: theme.borderWidth['elevation-3'],
301
+ borderEndWidth: theme.borderWidth['elevation-3'],
302
+ },
303
+ 'elevation-4': {
304
+ borderStartWidth: theme.borderWidth['elevation-4'],
305
+ borderEndWidth: theme.borderWidth['elevation-4'],
306
+ },
307
+ 'elevation-5': {
308
+ borderStartWidth: theme.borderWidth['elevation-5'],
309
+ borderEndWidth: theme.borderWidth['elevation-5'],
310
+ },
311
+ thick: {
312
+ borderStartWidth: theme.borderWidth['thick'],
313
+ borderEndWidth: theme.borderWidth['thick'],
314
+ },
315
+ },
316
+ borderStartWidth: {
317
+ none: { borderStartWidth: theme.borderWidth['none'] },
318
+ thin: { borderStartWidth: theme.borderWidth['thin'] },
319
+ medium: { borderStartWidth: theme.borderWidth['medium'] },
320
+ 'elevation-0': { borderStartWidth: theme.borderWidth['elevation-0'] },
321
+ 'elevation-1': { borderStartWidth: theme.borderWidth['elevation-1'] },
322
+ 'elevation-2': { borderStartWidth: theme.borderWidth['elevation-2'] },
323
+ 'elevation-3': { borderStartWidth: theme.borderWidth['elevation-3'] },
324
+ 'elevation-4': { borderStartWidth: theme.borderWidth['elevation-4'] },
325
+ 'elevation-5': { borderStartWidth: theme.borderWidth['elevation-5'] },
326
+ thick: { borderStartWidth: theme.borderWidth['thick'] },
327
+ },
328
+ borderEndWidth: {
329
+ none: { borderEndWidth: theme.borderWidth['none'] },
330
+ thin: { borderEndWidth: theme.borderWidth['thin'] },
331
+ medium: { borderEndWidth: theme.borderWidth['medium'] },
332
+ 'elevation-0': { borderEndWidth: theme.borderWidth['elevation-0'] },
333
+ 'elevation-1': { borderEndWidth: theme.borderWidth['elevation-1'] },
334
+ 'elevation-2': { borderEndWidth: theme.borderWidth['elevation-2'] },
335
+ 'elevation-3': { borderEndWidth: theme.borderWidth['elevation-3'] },
336
+ 'elevation-4': { borderEndWidth: theme.borderWidth['elevation-4'] },
337
+ 'elevation-5': { borderEndWidth: theme.borderWidth['elevation-5'] },
338
+ thick: { borderEndWidth: theme.borderWidth['thick'] },
339
+ },
340
+ borderTopWidth: {
341
+ none: { borderTopWidth: theme.borderWidth['none'] },
342
+ thin: { borderTopWidth: theme.borderWidth['thin'] },
343
+ medium: { borderTopWidth: theme.borderWidth['medium'] },
344
+ 'elevation-0': { borderTopWidth: theme.borderWidth['elevation-0'] },
345
+ 'elevation-1': { borderTopWidth: theme.borderWidth['elevation-1'] },
346
+ 'elevation-2': { borderTopWidth: theme.borderWidth['elevation-2'] },
347
+ 'elevation-3': { borderTopWidth: theme.borderWidth['elevation-3'] },
348
+ 'elevation-4': { borderTopWidth: theme.borderWidth['elevation-4'] },
349
+ 'elevation-5': { borderTopWidth: theme.borderWidth['elevation-5'] },
350
+ thick: { borderTopWidth: theme.borderWidth['thick'] },
351
+ },
352
+ borderBottomWidth: {
353
+ none: { borderBottomWidth: theme.borderWidth['none'] },
354
+ thin: { borderBottomWidth: theme.borderWidth['thin'] },
355
+ medium: { borderBottomWidth: theme.borderWidth['medium'] },
356
+ 'elevation-0': { borderBottomWidth: theme.borderWidth['elevation-0'] },
357
+ 'elevation-1': { borderBottomWidth: theme.borderWidth['elevation-1'] },
358
+ 'elevation-2': { borderBottomWidth: theme.borderWidth['elevation-2'] },
359
+ 'elevation-3': { borderBottomWidth: theme.borderWidth['elevation-3'] },
360
+ 'elevation-4': { borderBottomWidth: theme.borderWidth['elevation-4'] },
361
+ 'elevation-5': { borderBottomWidth: theme.borderWidth['elevation-5'] },
362
+ thick: { borderBottomWidth: theme.borderWidth['thick'] },
363
+ },
364
+ display: {
365
+ flex: { display: 'flex' },
366
+ none: { display: 'none' },
367
+ contents: { display: 'contents' },
368
+ },
369
+ overflow: { visible: { overflow: 'visible' }, hidden: { overflow: 'hidden' } },
370
+ position: {
371
+ absolute: { position: 'absolute' },
372
+ relative: { position: 'relative' },
373
+ static: { position: 'static' },
374
+ },
375
+ alignContent: {
376
+ 'flex-start': { alignContent: 'flex-start' },
377
+ 'flex-end': { alignContent: 'flex-end' },
378
+ center: { alignContent: 'center' },
379
+ stretch: { alignContent: 'stretch' },
380
+ 'space-between': { alignContent: 'space-between' },
381
+ 'space-around': { alignContent: 'space-around' },
382
+ },
383
+ alignItems: {
384
+ 'flex-start': { alignItems: 'flex-start' },
385
+ 'flex-end': { alignItems: 'flex-end' },
386
+ center: { alignItems: 'center' },
387
+ stretch: { alignItems: 'stretch' },
388
+ baseline: { alignItems: 'baseline' },
389
+ },
390
+ alignSelf: {
391
+ auto: { alignSelf: 'auto' },
392
+ 'flex-start': { alignSelf: 'flex-start' },
393
+ 'flex-end': { alignSelf: 'flex-end' },
394
+ center: { alignSelf: 'center' },
395
+ stretch: { alignSelf: 'stretch' },
396
+ baseline: { alignSelf: 'baseline' },
397
+ },
398
+ flex: { '1': { flex: 1 } },
399
+ flexDirection: {
400
+ row: { flexDirection: 'row' },
401
+ column: { flexDirection: 'column' },
402
+ 'row-reverse': { flexDirection: 'row-reverse' },
403
+ 'column-reverse': { flexDirection: 'column-reverse' },
404
+ },
405
+ flexGrow: {
406
+ '0': { flexGrow: 0 },
407
+ '1': { flexGrow: 1 },
408
+ '2': { flexGrow: 2 },
409
+ '3': { flexGrow: 3 },
410
+ },
411
+ flexShrink: { '0': { flexShrink: 0 }, '1': { flexShrink: 1 } },
412
+ flexWrap: {
413
+ wrap: { flexWrap: 'wrap' },
414
+ nowrap: { flexWrap: 'nowrap' },
415
+ 'wrap-reverse': { flexWrap: 'wrap-reverse' },
416
+ },
417
+ justifyContent: {
418
+ 'flex-start': { justifyContent: 'flex-start' },
419
+ 'flex-end': { justifyContent: 'flex-end' },
420
+ center: { justifyContent: 'center' },
421
+ 'space-between': { justifyContent: 'space-between' },
422
+ 'space-around': { justifyContent: 'space-around' },
423
+ 'space-evenly': { justifyContent: 'space-evenly' },
424
+ },
425
+ spacing: {
426
+ '0': { padding: theme.spacing['0'] },
427
+ '1': { padding: theme.spacing['1'] },
428
+ '2': { padding: theme.spacing['2'] },
429
+ '3': { padding: theme.spacing['3'] },
430
+ '4': { padding: theme.spacing['4'] },
431
+ '5': { padding: theme.spacing['5'] },
432
+ px: { padding: theme.spacing['px'] },
433
+ '0.5': { padding: theme.spacing['0.5'] },
434
+ '1.5': { padding: theme.spacing['1.5'] },
435
+ '2.5': { padding: theme.spacing['2.5'] },
436
+ '3.5': { padding: theme.spacing['3.5'] },
437
+ '4.5': { padding: theme.spacing['4.5'] },
438
+ '5.5': { padding: theme.spacing['5.5'] },
439
+ '6': { padding: theme.spacing['6'] },
440
+ '7': { padding: theme.spacing['7'] },
441
+ '8': { padding: theme.spacing['8'] },
442
+ '9': { padding: theme.spacing['9'] },
443
+ '10': { padding: theme.spacing['10'] },
444
+ '11': { padding: theme.spacing['11'] },
445
+ '12': { padding: theme.spacing['12'] },
446
+ '14': { padding: theme.spacing['14'] },
447
+ '16': { padding: theme.spacing['16'] },
448
+ '20': { padding: theme.spacing['20'] },
449
+ '24': { padding: theme.spacing['24'] },
450
+ '28': { padding: theme.spacing['28'] },
451
+ '32': { padding: theme.spacing['32'] },
452
+ '36': { padding: theme.spacing['36'] },
453
+ '40': { padding: theme.spacing['40'] },
454
+ '44': { padding: theme.spacing['44'] },
455
+ '48': { padding: theme.spacing['48'] },
456
+ '52': { padding: theme.spacing['52'] },
457
+ '56': { padding: theme.spacing['56'] },
458
+ '60': { padding: theme.spacing['60'] },
459
+ '64': { padding: theme.spacing['64'] },
460
+ '72': { padding: theme.spacing['72'] },
461
+ '80': { padding: theme.spacing['80'] },
462
+ '96': { padding: theme.spacing['96'] },
463
+ },
464
+ spacingHorizontal: {
465
+ '0': { paddingHorizontal: theme.spacing['0'] },
466
+ '1': { paddingHorizontal: theme.spacing['1'] },
467
+ '2': { paddingHorizontal: theme.spacing['2'] },
468
+ '3': { paddingHorizontal: theme.spacing['3'] },
469
+ '4': { paddingHorizontal: theme.spacing['4'] },
470
+ '5': { paddingHorizontal: theme.spacing['5'] },
471
+ px: { paddingHorizontal: theme.spacing['px'] },
472
+ '0.5': { paddingHorizontal: theme.spacing['0.5'] },
473
+ '1.5': { paddingHorizontal: theme.spacing['1.5'] },
474
+ '2.5': { paddingHorizontal: theme.spacing['2.5'] },
475
+ '3.5': { paddingHorizontal: theme.spacing['3.5'] },
476
+ '4.5': { paddingHorizontal: theme.spacing['4.5'] },
477
+ '5.5': { paddingHorizontal: theme.spacing['5.5'] },
478
+ '6': { paddingHorizontal: theme.spacing['6'] },
479
+ '7': { paddingHorizontal: theme.spacing['7'] },
480
+ '8': { paddingHorizontal: theme.spacing['8'] },
481
+ '9': { paddingHorizontal: theme.spacing['9'] },
482
+ '10': { paddingHorizontal: theme.spacing['10'] },
483
+ '11': { paddingHorizontal: theme.spacing['11'] },
484
+ '12': { paddingHorizontal: theme.spacing['12'] },
485
+ '14': { paddingHorizontal: theme.spacing['14'] },
486
+ '16': { paddingHorizontal: theme.spacing['16'] },
487
+ '20': { paddingHorizontal: theme.spacing['20'] },
488
+ '24': { paddingHorizontal: theme.spacing['24'] },
489
+ '28': { paddingHorizontal: theme.spacing['28'] },
490
+ '32': { paddingHorizontal: theme.spacing['32'] },
491
+ '36': { paddingHorizontal: theme.spacing['36'] },
492
+ '40': { paddingHorizontal: theme.spacing['40'] },
493
+ '44': { paddingHorizontal: theme.spacing['44'] },
494
+ '48': { paddingHorizontal: theme.spacing['48'] },
495
+ '52': { paddingHorizontal: theme.spacing['52'] },
496
+ '56': { paddingHorizontal: theme.spacing['56'] },
497
+ '60': { paddingHorizontal: theme.spacing['60'] },
498
+ '64': { paddingHorizontal: theme.spacing['64'] },
499
+ '72': { paddingHorizontal: theme.spacing['72'] },
500
+ '80': { paddingHorizontal: theme.spacing['80'] },
501
+ '96': { paddingHorizontal: theme.spacing['96'] },
502
+ },
503
+ spacingVertical: {
504
+ '0': { paddingVertical: theme.spacing['0'] },
505
+ '1': { paddingVertical: theme.spacing['1'] },
506
+ '2': { paddingVertical: theme.spacing['2'] },
507
+ '3': { paddingVertical: theme.spacing['3'] },
508
+ '4': { paddingVertical: theme.spacing['4'] },
509
+ '5': { paddingVertical: theme.spacing['5'] },
510
+ px: { paddingVertical: theme.spacing['px'] },
511
+ '0.5': { paddingVertical: theme.spacing['0.5'] },
512
+ '1.5': { paddingVertical: theme.spacing['1.5'] },
513
+ '2.5': { paddingVertical: theme.spacing['2.5'] },
514
+ '3.5': { paddingVertical: theme.spacing['3.5'] },
515
+ '4.5': { paddingVertical: theme.spacing['4.5'] },
516
+ '5.5': { paddingVertical: theme.spacing['5.5'] },
517
+ '6': { paddingVertical: theme.spacing['6'] },
518
+ '7': { paddingVertical: theme.spacing['7'] },
519
+ '8': { paddingVertical: theme.spacing['8'] },
520
+ '9': { paddingVertical: theme.spacing['9'] },
521
+ '10': { paddingVertical: theme.spacing['10'] },
522
+ '11': { paddingVertical: theme.spacing['11'] },
523
+ '12': { paddingVertical: theme.spacing['12'] },
524
+ '14': { paddingVertical: theme.spacing['14'] },
525
+ '16': { paddingVertical: theme.spacing['16'] },
526
+ '20': { paddingVertical: theme.spacing['20'] },
527
+ '24': { paddingVertical: theme.spacing['24'] },
528
+ '28': { paddingVertical: theme.spacing['28'] },
529
+ '32': { paddingVertical: theme.spacing['32'] },
530
+ '36': { paddingVertical: theme.spacing['36'] },
531
+ '40': { paddingVertical: theme.spacing['40'] },
532
+ '44': { paddingVertical: theme.spacing['44'] },
533
+ '48': { paddingVertical: theme.spacing['48'] },
534
+ '52': { paddingVertical: theme.spacing['52'] },
535
+ '56': { paddingVertical: theme.spacing['56'] },
536
+ '60': { paddingVertical: theme.spacing['60'] },
537
+ '64': { paddingVertical: theme.spacing['64'] },
538
+ '72': { paddingVertical: theme.spacing['72'] },
539
+ '80': { paddingVertical: theme.spacing['80'] },
540
+ '96': { paddingVertical: theme.spacing['96'] },
541
+ },
542
+ spacingBottom: {
543
+ '0': { paddingBottom: theme.spacing['0'] },
544
+ '1': { paddingBottom: theme.spacing['1'] },
545
+ '2': { paddingBottom: theme.spacing['2'] },
546
+ '3': { paddingBottom: theme.spacing['3'] },
547
+ '4': { paddingBottom: theme.spacing['4'] },
548
+ '5': { paddingBottom: theme.spacing['5'] },
549
+ px: { paddingBottom: theme.spacing['px'] },
550
+ '0.5': { paddingBottom: theme.spacing['0.5'] },
551
+ '1.5': { paddingBottom: theme.spacing['1.5'] },
552
+ '2.5': { paddingBottom: theme.spacing['2.5'] },
553
+ '3.5': { paddingBottom: theme.spacing['3.5'] },
554
+ '4.5': { paddingBottom: theme.spacing['4.5'] },
555
+ '5.5': { paddingBottom: theme.spacing['5.5'] },
556
+ '6': { paddingBottom: theme.spacing['6'] },
557
+ '7': { paddingBottom: theme.spacing['7'] },
558
+ '8': { paddingBottom: theme.spacing['8'] },
559
+ '9': { paddingBottom: theme.spacing['9'] },
560
+ '10': { paddingBottom: theme.spacing['10'] },
561
+ '11': { paddingBottom: theme.spacing['11'] },
562
+ '12': { paddingBottom: theme.spacing['12'] },
563
+ '14': { paddingBottom: theme.spacing['14'] },
564
+ '16': { paddingBottom: theme.spacing['16'] },
565
+ '20': { paddingBottom: theme.spacing['20'] },
566
+ '24': { paddingBottom: theme.spacing['24'] },
567
+ '28': { paddingBottom: theme.spacing['28'] },
568
+ '32': { paddingBottom: theme.spacing['32'] },
569
+ '36': { paddingBottom: theme.spacing['36'] },
570
+ '40': { paddingBottom: theme.spacing['40'] },
571
+ '44': { paddingBottom: theme.spacing['44'] },
572
+ '48': { paddingBottom: theme.spacing['48'] },
573
+ '52': { paddingBottom: theme.spacing['52'] },
574
+ '56': { paddingBottom: theme.spacing['56'] },
575
+ '60': { paddingBottom: theme.spacing['60'] },
576
+ '64': { paddingBottom: theme.spacing['64'] },
577
+ '72': { paddingBottom: theme.spacing['72'] },
578
+ '80': { paddingBottom: theme.spacing['80'] },
579
+ '96': { paddingBottom: theme.spacing['96'] },
580
+ },
581
+ spacingEnd: {
582
+ '0': { paddingEnd: theme.spacing['0'] },
583
+ '1': { paddingEnd: theme.spacing['1'] },
584
+ '2': { paddingEnd: theme.spacing['2'] },
585
+ '3': { paddingEnd: theme.spacing['3'] },
586
+ '4': { paddingEnd: theme.spacing['4'] },
587
+ '5': { paddingEnd: theme.spacing['5'] },
588
+ px: { paddingEnd: theme.spacing['px'] },
589
+ '0.5': { paddingEnd: theme.spacing['0.5'] },
590
+ '1.5': { paddingEnd: theme.spacing['1.5'] },
591
+ '2.5': { paddingEnd: theme.spacing['2.5'] },
592
+ '3.5': { paddingEnd: theme.spacing['3.5'] },
593
+ '4.5': { paddingEnd: theme.spacing['4.5'] },
594
+ '5.5': { paddingEnd: theme.spacing['5.5'] },
595
+ '6': { paddingEnd: theme.spacing['6'] },
596
+ '7': { paddingEnd: theme.spacing['7'] },
597
+ '8': { paddingEnd: theme.spacing['8'] },
598
+ '9': { paddingEnd: theme.spacing['9'] },
599
+ '10': { paddingEnd: theme.spacing['10'] },
600
+ '11': { paddingEnd: theme.spacing['11'] },
601
+ '12': { paddingEnd: theme.spacing['12'] },
602
+ '14': { paddingEnd: theme.spacing['14'] },
603
+ '16': { paddingEnd: theme.spacing['16'] },
604
+ '20': { paddingEnd: theme.spacing['20'] },
605
+ '24': { paddingEnd: theme.spacing['24'] },
606
+ '28': { paddingEnd: theme.spacing['28'] },
607
+ '32': { paddingEnd: theme.spacing['32'] },
608
+ '36': { paddingEnd: theme.spacing['36'] },
609
+ '40': { paddingEnd: theme.spacing['40'] },
610
+ '44': { paddingEnd: theme.spacing['44'] },
611
+ '48': { paddingEnd: theme.spacing['48'] },
612
+ '52': { paddingEnd: theme.spacing['52'] },
613
+ '56': { paddingEnd: theme.spacing['56'] },
614
+ '60': { paddingEnd: theme.spacing['60'] },
615
+ '64': { paddingEnd: theme.spacing['64'] },
616
+ '72': { paddingEnd: theme.spacing['72'] },
617
+ '80': { paddingEnd: theme.spacing['80'] },
618
+ '96': { paddingEnd: theme.spacing['96'] },
619
+ },
620
+ spacingStart: {
621
+ '0': { paddingStart: theme.spacing['0'] },
622
+ '1': { paddingStart: theme.spacing['1'] },
623
+ '2': { paddingStart: theme.spacing['2'] },
624
+ '3': { paddingStart: theme.spacing['3'] },
625
+ '4': { paddingStart: theme.spacing['4'] },
626
+ '5': { paddingStart: theme.spacing['5'] },
627
+ px: { paddingStart: theme.spacing['px'] },
628
+ '0.5': { paddingStart: theme.spacing['0.5'] },
629
+ '1.5': { paddingStart: theme.spacing['1.5'] },
630
+ '2.5': { paddingStart: theme.spacing['2.5'] },
631
+ '3.5': { paddingStart: theme.spacing['3.5'] },
632
+ '4.5': { paddingStart: theme.spacing['4.5'] },
633
+ '5.5': { paddingStart: theme.spacing['5.5'] },
634
+ '6': { paddingStart: theme.spacing['6'] },
635
+ '7': { paddingStart: theme.spacing['7'] },
636
+ '8': { paddingStart: theme.spacing['8'] },
637
+ '9': { paddingStart: theme.spacing['9'] },
638
+ '10': { paddingStart: theme.spacing['10'] },
639
+ '11': { paddingStart: theme.spacing['11'] },
640
+ '12': { paddingStart: theme.spacing['12'] },
641
+ '14': { paddingStart: theme.spacing['14'] },
642
+ '16': { paddingStart: theme.spacing['16'] },
643
+ '20': { paddingStart: theme.spacing['20'] },
644
+ '24': { paddingStart: theme.spacing['24'] },
645
+ '28': { paddingStart: theme.spacing['28'] },
646
+ '32': { paddingStart: theme.spacing['32'] },
647
+ '36': { paddingStart: theme.spacing['36'] },
648
+ '40': { paddingStart: theme.spacing['40'] },
649
+ '44': { paddingStart: theme.spacing['44'] },
650
+ '48': { paddingStart: theme.spacing['48'] },
651
+ '52': { paddingStart: theme.spacing['52'] },
652
+ '56': { paddingStart: theme.spacing['56'] },
653
+ '60': { paddingStart: theme.spacing['60'] },
654
+ '64': { paddingStart: theme.spacing['64'] },
655
+ '72': { paddingStart: theme.spacing['72'] },
656
+ '80': { paddingStart: theme.spacing['80'] },
657
+ '96': { paddingStart: theme.spacing['96'] },
658
+ },
659
+ spacingTop: {
660
+ '0': { paddingTop: theme.spacing['0'] },
661
+ '1': { paddingTop: theme.spacing['1'] },
662
+ '2': { paddingTop: theme.spacing['2'] },
663
+ '3': { paddingTop: theme.spacing['3'] },
664
+ '4': { paddingTop: theme.spacing['4'] },
665
+ '5': { paddingTop: theme.spacing['5'] },
666
+ px: { paddingTop: theme.spacing['px'] },
667
+ '0.5': { paddingTop: theme.spacing['0.5'] },
668
+ '1.5': { paddingTop: theme.spacing['1.5'] },
669
+ '2.5': { paddingTop: theme.spacing['2.5'] },
670
+ '3.5': { paddingTop: theme.spacing['3.5'] },
671
+ '4.5': { paddingTop: theme.spacing['4.5'] },
672
+ '5.5': { paddingTop: theme.spacing['5.5'] },
673
+ '6': { paddingTop: theme.spacing['6'] },
674
+ '7': { paddingTop: theme.spacing['7'] },
675
+ '8': { paddingTop: theme.spacing['8'] },
676
+ '9': { paddingTop: theme.spacing['9'] },
677
+ '10': { paddingTop: theme.spacing['10'] },
678
+ '11': { paddingTop: theme.spacing['11'] },
679
+ '12': { paddingTop: theme.spacing['12'] },
680
+ '14': { paddingTop: theme.spacing['14'] },
681
+ '16': { paddingTop: theme.spacing['16'] },
682
+ '20': { paddingTop: theme.spacing['20'] },
683
+ '24': { paddingTop: theme.spacing['24'] },
684
+ '28': { paddingTop: theme.spacing['28'] },
685
+ '32': { paddingTop: theme.spacing['32'] },
686
+ '36': { paddingTop: theme.spacing['36'] },
687
+ '40': { paddingTop: theme.spacing['40'] },
688
+ '44': { paddingTop: theme.spacing['44'] },
689
+ '48': { paddingTop: theme.spacing['48'] },
690
+ '52': { paddingTop: theme.spacing['52'] },
691
+ '56': { paddingTop: theme.spacing['56'] },
692
+ '60': { paddingTop: theme.spacing['60'] },
693
+ '64': { paddingTop: theme.spacing['64'] },
694
+ '72': { paddingTop: theme.spacing['72'] },
695
+ '80': { paddingTop: theme.spacing['80'] },
696
+ '96': { paddingTop: theme.spacing['96'] },
697
+ },
698
+ offset: {
699
+ '0': { margin: theme.spacing['0'] },
700
+ '1': { margin: theme.spacing['1'] },
701
+ '2': { margin: theme.spacing['2'] },
702
+ '3': { margin: theme.spacing['3'] },
703
+ '4': { margin: theme.spacing['4'] },
704
+ '5': { margin: theme.spacing['5'] },
705
+ px: { margin: theme.spacing['px'] },
706
+ '0.5': { margin: theme.spacing['0.5'] },
707
+ '1.5': { margin: theme.spacing['1.5'] },
708
+ '2.5': { margin: theme.spacing['2.5'] },
709
+ '3.5': { margin: theme.spacing['3.5'] },
710
+ '4.5': { margin: theme.spacing['4.5'] },
711
+ '5.5': { margin: theme.spacing['5.5'] },
712
+ '6': { margin: theme.spacing['6'] },
713
+ '7': { margin: theme.spacing['7'] },
714
+ '8': { margin: theme.spacing['8'] },
715
+ '9': { margin: theme.spacing['9'] },
716
+ '10': { margin: theme.spacing['10'] },
717
+ '11': { margin: theme.spacing['11'] },
718
+ '12': { margin: theme.spacing['12'] },
719
+ '14': { margin: theme.spacing['14'] },
720
+ '16': { margin: theme.spacing['16'] },
721
+ '20': { margin: theme.spacing['20'] },
722
+ '24': { margin: theme.spacing['24'] },
723
+ '28': { margin: theme.spacing['28'] },
724
+ '32': { margin: theme.spacing['32'] },
725
+ '36': { margin: theme.spacing['36'] },
726
+ '40': { margin: theme.spacing['40'] },
727
+ '44': { margin: theme.spacing['44'] },
728
+ '48': { margin: theme.spacing['48'] },
729
+ '52': { margin: theme.spacing['52'] },
730
+ '56': { margin: theme.spacing['56'] },
731
+ '60': { margin: theme.spacing['60'] },
732
+ '64': { margin: theme.spacing['64'] },
733
+ '72': { margin: theme.spacing['72'] },
734
+ '80': { margin: theme.spacing['80'] },
735
+ '96': { margin: theme.spacing['96'] },
736
+ },
737
+ offsetVertical: {
738
+ '0': { marginVertical: theme.spacing['0'] },
739
+ '1': { marginVertical: theme.spacing['1'] },
740
+ '2': { marginVertical: theme.spacing['2'] },
741
+ '3': { marginVertical: theme.spacing['3'] },
742
+ '4': { marginVertical: theme.spacing['4'] },
743
+ '5': { marginVertical: theme.spacing['5'] },
744
+ px: { marginVertical: theme.spacing['px'] },
745
+ '0.5': { marginVertical: theme.spacing['0.5'] },
746
+ '1.5': { marginVertical: theme.spacing['1.5'] },
747
+ '2.5': { marginVertical: theme.spacing['2.5'] },
748
+ '3.5': { marginVertical: theme.spacing['3.5'] },
749
+ '4.5': { marginVertical: theme.spacing['4.5'] },
750
+ '5.5': { marginVertical: theme.spacing['5.5'] },
751
+ '6': { marginVertical: theme.spacing['6'] },
752
+ '7': { marginVertical: theme.spacing['7'] },
753
+ '8': { marginVertical: theme.spacing['8'] },
754
+ '9': { marginVertical: theme.spacing['9'] },
755
+ '10': { marginVertical: theme.spacing['10'] },
756
+ '11': { marginVertical: theme.spacing['11'] },
757
+ '12': { marginVertical: theme.spacing['12'] },
758
+ '14': { marginVertical: theme.spacing['14'] },
759
+ '16': { marginVertical: theme.spacing['16'] },
760
+ '20': { marginVertical: theme.spacing['20'] },
761
+ '24': { marginVertical: theme.spacing['24'] },
762
+ '28': { marginVertical: theme.spacing['28'] },
763
+ '32': { marginVertical: theme.spacing['32'] },
764
+ '36': { marginVertical: theme.spacing['36'] },
765
+ '40': { marginVertical: theme.spacing['40'] },
766
+ '44': { marginVertical: theme.spacing['44'] },
767
+ '48': { marginVertical: theme.spacing['48'] },
768
+ '52': { marginVertical: theme.spacing['52'] },
769
+ '56': { marginVertical: theme.spacing['56'] },
770
+ '60': { marginVertical: theme.spacing['60'] },
771
+ '64': { marginVertical: theme.spacing['64'] },
772
+ '72': { marginVertical: theme.spacing['72'] },
773
+ '80': { marginVertical: theme.spacing['80'] },
774
+ '96': { marginVertical: theme.spacing['96'] },
775
+ },
776
+ offsetHorizontal: {
777
+ '0': { marginHorizontal: theme.spacing['0'] },
778
+ '1': { marginHorizontal: theme.spacing['1'] },
779
+ '2': { marginHorizontal: theme.spacing['2'] },
780
+ '3': { marginHorizontal: theme.spacing['3'] },
781
+ '4': { marginHorizontal: theme.spacing['4'] },
782
+ '5': { marginHorizontal: theme.spacing['5'] },
783
+ px: { marginHorizontal: theme.spacing['px'] },
784
+ '0.5': { marginHorizontal: theme.spacing['0.5'] },
785
+ '1.5': { marginHorizontal: theme.spacing['1.5'] },
786
+ '2.5': { marginHorizontal: theme.spacing['2.5'] },
787
+ '3.5': { marginHorizontal: theme.spacing['3.5'] },
788
+ '4.5': { marginHorizontal: theme.spacing['4.5'] },
789
+ '5.5': { marginHorizontal: theme.spacing['5.5'] },
790
+ '6': { marginHorizontal: theme.spacing['6'] },
791
+ '7': { marginHorizontal: theme.spacing['7'] },
792
+ '8': { marginHorizontal: theme.spacing['8'] },
793
+ '9': { marginHorizontal: theme.spacing['9'] },
794
+ '10': { marginHorizontal: theme.spacing['10'] },
795
+ '11': { marginHorizontal: theme.spacing['11'] },
796
+ '12': { marginHorizontal: theme.spacing['12'] },
797
+ '14': { marginHorizontal: theme.spacing['14'] },
798
+ '16': { marginHorizontal: theme.spacing['16'] },
799
+ '20': { marginHorizontal: theme.spacing['20'] },
800
+ '24': { marginHorizontal: theme.spacing['24'] },
801
+ '28': { marginHorizontal: theme.spacing['28'] },
802
+ '32': { marginHorizontal: theme.spacing['32'] },
803
+ '36': { marginHorizontal: theme.spacing['36'] },
804
+ '40': { marginHorizontal: theme.spacing['40'] },
805
+ '44': { marginHorizontal: theme.spacing['44'] },
806
+ '48': { marginHorizontal: theme.spacing['48'] },
807
+ '52': { marginHorizontal: theme.spacing['52'] },
808
+ '56': { marginHorizontal: theme.spacing['56'] },
809
+ '60': { marginHorizontal: theme.spacing['60'] },
810
+ '64': { marginHorizontal: theme.spacing['64'] },
811
+ '72': { marginHorizontal: theme.spacing['72'] },
812
+ '80': { marginHorizontal: theme.spacing['80'] },
813
+ '96': { marginHorizontal: theme.spacing['96'] },
814
+ },
815
+ offsetBottom: {
816
+ '0': { marginBottom: theme.spacing['0'] },
817
+ '1': { marginBottom: theme.spacing['1'] },
818
+ '2': { marginBottom: theme.spacing['2'] },
819
+ '3': { marginBottom: theme.spacing['3'] },
820
+ '4': { marginBottom: theme.spacing['4'] },
821
+ '5': { marginBottom: theme.spacing['5'] },
822
+ px: { marginBottom: theme.spacing['px'] },
823
+ '0.5': { marginBottom: theme.spacing['0.5'] },
824
+ '1.5': { marginBottom: theme.spacing['1.5'] },
825
+ '2.5': { marginBottom: theme.spacing['2.5'] },
826
+ '3.5': { marginBottom: theme.spacing['3.5'] },
827
+ '4.5': { marginBottom: theme.spacing['4.5'] },
828
+ '5.5': { marginBottom: theme.spacing['5.5'] },
829
+ '6': { marginBottom: theme.spacing['6'] },
830
+ '7': { marginBottom: theme.spacing['7'] },
831
+ '8': { marginBottom: theme.spacing['8'] },
832
+ '9': { marginBottom: theme.spacing['9'] },
833
+ '10': { marginBottom: theme.spacing['10'] },
834
+ '11': { marginBottom: theme.spacing['11'] },
835
+ '12': { marginBottom: theme.spacing['12'] },
836
+ '14': { marginBottom: theme.spacing['14'] },
837
+ '16': { marginBottom: theme.spacing['16'] },
838
+ '20': { marginBottom: theme.spacing['20'] },
839
+ '24': { marginBottom: theme.spacing['24'] },
840
+ '28': { marginBottom: theme.spacing['28'] },
841
+ '32': { marginBottom: theme.spacing['32'] },
842
+ '36': { marginBottom: theme.spacing['36'] },
843
+ '40': { marginBottom: theme.spacing['40'] },
844
+ '44': { marginBottom: theme.spacing['44'] },
845
+ '48': { marginBottom: theme.spacing['48'] },
846
+ '52': { marginBottom: theme.spacing['52'] },
847
+ '56': { marginBottom: theme.spacing['56'] },
848
+ '60': { marginBottom: theme.spacing['60'] },
849
+ '64': { marginBottom: theme.spacing['64'] },
850
+ '72': { marginBottom: theme.spacing['72'] },
851
+ '80': { marginBottom: theme.spacing['80'] },
852
+ '96': { marginBottom: theme.spacing['96'] },
853
+ },
854
+ offsetEnd: {
855
+ '0': { marginEnd: theme.spacing['0'] },
856
+ '1': { marginEnd: theme.spacing['1'] },
857
+ '2': { marginEnd: theme.spacing['2'] },
858
+ '3': { marginEnd: theme.spacing['3'] },
859
+ '4': { marginEnd: theme.spacing['4'] },
860
+ '5': { marginEnd: theme.spacing['5'] },
861
+ px: { marginEnd: theme.spacing['px'] },
862
+ '0.5': { marginEnd: theme.spacing['0.5'] },
863
+ '1.5': { marginEnd: theme.spacing['1.5'] },
864
+ '2.5': { marginEnd: theme.spacing['2.5'] },
865
+ '3.5': { marginEnd: theme.spacing['3.5'] },
866
+ '4.5': { marginEnd: theme.spacing['4.5'] },
867
+ '5.5': { marginEnd: theme.spacing['5.5'] },
868
+ '6': { marginEnd: theme.spacing['6'] },
869
+ '7': { marginEnd: theme.spacing['7'] },
870
+ '8': { marginEnd: theme.spacing['8'] },
871
+ '9': { marginEnd: theme.spacing['9'] },
872
+ '10': { marginEnd: theme.spacing['10'] },
873
+ '11': { marginEnd: theme.spacing['11'] },
874
+ '12': { marginEnd: theme.spacing['12'] },
875
+ '14': { marginEnd: theme.spacing['14'] },
876
+ '16': { marginEnd: theme.spacing['16'] },
877
+ '20': { marginEnd: theme.spacing['20'] },
878
+ '24': { marginEnd: theme.spacing['24'] },
879
+ '28': { marginEnd: theme.spacing['28'] },
880
+ '32': { marginEnd: theme.spacing['32'] },
881
+ '36': { marginEnd: theme.spacing['36'] },
882
+ '40': { marginEnd: theme.spacing['40'] },
883
+ '44': { marginEnd: theme.spacing['44'] },
884
+ '48': { marginEnd: theme.spacing['48'] },
885
+ '52': { marginEnd: theme.spacing['52'] },
886
+ '56': { marginEnd: theme.spacing['56'] },
887
+ '60': { marginEnd: theme.spacing['60'] },
888
+ '64': { marginEnd: theme.spacing['64'] },
889
+ '72': { marginEnd: theme.spacing['72'] },
890
+ '80': { marginEnd: theme.spacing['80'] },
891
+ '96': { marginEnd: theme.spacing['96'] },
892
+ },
893
+ offsetStart: {
894
+ '0': { marginStart: theme.spacing['0'] },
895
+ '1': { marginStart: theme.spacing['1'] },
896
+ '2': { marginStart: theme.spacing['2'] },
897
+ '3': { marginStart: theme.spacing['3'] },
898
+ '4': { marginStart: theme.spacing['4'] },
899
+ '5': { marginStart: theme.spacing['5'] },
900
+ px: { marginStart: theme.spacing['px'] },
901
+ '0.5': { marginStart: theme.spacing['0.5'] },
902
+ '1.5': { marginStart: theme.spacing['1.5'] },
903
+ '2.5': { marginStart: theme.spacing['2.5'] },
904
+ '3.5': { marginStart: theme.spacing['3.5'] },
905
+ '4.5': { marginStart: theme.spacing['4.5'] },
906
+ '5.5': { marginStart: theme.spacing['5.5'] },
907
+ '6': { marginStart: theme.spacing['6'] },
908
+ '7': { marginStart: theme.spacing['7'] },
909
+ '8': { marginStart: theme.spacing['8'] },
910
+ '9': { marginStart: theme.spacing['9'] },
911
+ '10': { marginStart: theme.spacing['10'] },
912
+ '11': { marginStart: theme.spacing['11'] },
913
+ '12': { marginStart: theme.spacing['12'] },
914
+ '14': { marginStart: theme.spacing['14'] },
915
+ '16': { marginStart: theme.spacing['16'] },
916
+ '20': { marginStart: theme.spacing['20'] },
917
+ '24': { marginStart: theme.spacing['24'] },
918
+ '28': { marginStart: theme.spacing['28'] },
919
+ '32': { marginStart: theme.spacing['32'] },
920
+ '36': { marginStart: theme.spacing['36'] },
921
+ '40': { marginStart: theme.spacing['40'] },
922
+ '44': { marginStart: theme.spacing['44'] },
923
+ '48': { marginStart: theme.spacing['48'] },
924
+ '52': { marginStart: theme.spacing['52'] },
925
+ '56': { marginStart: theme.spacing['56'] },
926
+ '60': { marginStart: theme.spacing['60'] },
927
+ '64': { marginStart: theme.spacing['64'] },
928
+ '72': { marginStart: theme.spacing['72'] },
929
+ '80': { marginStart: theme.spacing['80'] },
930
+ '96': { marginStart: theme.spacing['96'] },
931
+ },
932
+ offsetTop: {
933
+ '0': { marginTop: theme.spacing['0'] },
934
+ '1': { marginTop: theme.spacing['1'] },
935
+ '2': { marginTop: theme.spacing['2'] },
936
+ '3': { marginTop: theme.spacing['3'] },
937
+ '4': { marginTop: theme.spacing['4'] },
938
+ '5': { marginTop: theme.spacing['5'] },
939
+ px: { marginTop: theme.spacing['px'] },
940
+ '0.5': { marginTop: theme.spacing['0.5'] },
941
+ '1.5': { marginTop: theme.spacing['1.5'] },
942
+ '2.5': { marginTop: theme.spacing['2.5'] },
943
+ '3.5': { marginTop: theme.spacing['3.5'] },
944
+ '4.5': { marginTop: theme.spacing['4.5'] },
945
+ '5.5': { marginTop: theme.spacing['5.5'] },
946
+ '6': { marginTop: theme.spacing['6'] },
947
+ '7': { marginTop: theme.spacing['7'] },
948
+ '8': { marginTop: theme.spacing['8'] },
949
+ '9': { marginTop: theme.spacing['9'] },
950
+ '10': { marginTop: theme.spacing['10'] },
951
+ '11': { marginTop: theme.spacing['11'] },
952
+ '12': { marginTop: theme.spacing['12'] },
953
+ '14': { marginTop: theme.spacing['14'] },
954
+ '16': { marginTop: theme.spacing['16'] },
955
+ '20': { marginTop: theme.spacing['20'] },
956
+ '24': { marginTop: theme.spacing['24'] },
957
+ '28': { marginTop: theme.spacing['28'] },
958
+ '32': { marginTop: theme.spacing['32'] },
959
+ '36': { marginTop: theme.spacing['36'] },
960
+ '40': { marginTop: theme.spacing['40'] },
961
+ '44': { marginTop: theme.spacing['44'] },
962
+ '48': { marginTop: theme.spacing['48'] },
963
+ '52': { marginTop: theme.spacing['52'] },
964
+ '56': { marginTop: theme.spacing['56'] },
965
+ '60': { marginTop: theme.spacing['60'] },
966
+ '64': { marginTop: theme.spacing['64'] },
967
+ '72': { marginTop: theme.spacing['72'] },
968
+ '80': { marginTop: theme.spacing['80'] },
969
+ '96': { marginTop: theme.spacing['96'] },
970
+ },
971
+ columnGap: {
972
+ '0': { columnGap: theme.spacing['0'] },
973
+ '1': { columnGap: theme.spacing['1'] },
974
+ '2': { columnGap: theme.spacing['2'] },
975
+ '3': { columnGap: theme.spacing['3'] },
976
+ '4': { columnGap: theme.spacing['4'] },
977
+ '5': { columnGap: theme.spacing['5'] },
978
+ px: { columnGap: theme.spacing['px'] },
979
+ '0.5': { columnGap: theme.spacing['0.5'] },
980
+ '1.5': { columnGap: theme.spacing['1.5'] },
981
+ '2.5': { columnGap: theme.spacing['2.5'] },
982
+ '3.5': { columnGap: theme.spacing['3.5'] },
983
+ '4.5': { columnGap: theme.spacing['4.5'] },
984
+ '5.5': { columnGap: theme.spacing['5.5'] },
985
+ '6': { columnGap: theme.spacing['6'] },
986
+ '7': { columnGap: theme.spacing['7'] },
987
+ '8': { columnGap: theme.spacing['8'] },
988
+ '9': { columnGap: theme.spacing['9'] },
989
+ '10': { columnGap: theme.spacing['10'] },
990
+ '11': { columnGap: theme.spacing['11'] },
991
+ '12': { columnGap: theme.spacing['12'] },
992
+ '14': { columnGap: theme.spacing['14'] },
993
+ '16': { columnGap: theme.spacing['16'] },
994
+ '20': { columnGap: theme.spacing['20'] },
995
+ '24': { columnGap: theme.spacing['24'] },
996
+ '28': { columnGap: theme.spacing['28'] },
997
+ '32': { columnGap: theme.spacing['32'] },
998
+ '36': { columnGap: theme.spacing['36'] },
999
+ '40': { columnGap: theme.spacing['40'] },
1000
+ '44': { columnGap: theme.spacing['44'] },
1001
+ '48': { columnGap: theme.spacing['48'] },
1002
+ '52': { columnGap: theme.spacing['52'] },
1003
+ '56': { columnGap: theme.spacing['56'] },
1004
+ '60': { columnGap: theme.spacing['60'] },
1005
+ '64': { columnGap: theme.spacing['64'] },
1006
+ '72': { columnGap: theme.spacing['72'] },
1007
+ '80': { columnGap: theme.spacing['80'] },
1008
+ '96': { columnGap: theme.spacing['96'] },
1009
+ },
1010
+ rowGap: {
1011
+ '0': { rowGap: theme.spacing['0'] },
1012
+ '1': { rowGap: theme.spacing['1'] },
1013
+ '2': { rowGap: theme.spacing['2'] },
1014
+ '3': { rowGap: theme.spacing['3'] },
1015
+ '4': { rowGap: theme.spacing['4'] },
1016
+ '5': { rowGap: theme.spacing['5'] },
1017
+ px: { rowGap: theme.spacing['px'] },
1018
+ '0.5': { rowGap: theme.spacing['0.5'] },
1019
+ '1.5': { rowGap: theme.spacing['1.5'] },
1020
+ '2.5': { rowGap: theme.spacing['2.5'] },
1021
+ '3.5': { rowGap: theme.spacing['3.5'] },
1022
+ '4.5': { rowGap: theme.spacing['4.5'] },
1023
+ '5.5': { rowGap: theme.spacing['5.5'] },
1024
+ '6': { rowGap: theme.spacing['6'] },
1025
+ '7': { rowGap: theme.spacing['7'] },
1026
+ '8': { rowGap: theme.spacing['8'] },
1027
+ '9': { rowGap: theme.spacing['9'] },
1028
+ '10': { rowGap: theme.spacing['10'] },
1029
+ '11': { rowGap: theme.spacing['11'] },
1030
+ '12': { rowGap: theme.spacing['12'] },
1031
+ '14': { rowGap: theme.spacing['14'] },
1032
+ '16': { rowGap: theme.spacing['16'] },
1033
+ '20': { rowGap: theme.spacing['20'] },
1034
+ '24': { rowGap: theme.spacing['24'] },
1035
+ '28': { rowGap: theme.spacing['28'] },
1036
+ '32': { rowGap: theme.spacing['32'] },
1037
+ '36': { rowGap: theme.spacing['36'] },
1038
+ '40': { rowGap: theme.spacing['40'] },
1039
+ '44': { rowGap: theme.spacing['44'] },
1040
+ '48': { rowGap: theme.spacing['48'] },
1041
+ '52': { rowGap: theme.spacing['52'] },
1042
+ '56': { rowGap: theme.spacing['56'] },
1043
+ '60': { rowGap: theme.spacing['60'] },
1044
+ '64': { rowGap: theme.spacing['64'] },
1045
+ '72': { rowGap: theme.spacing['72'] },
1046
+ '80': { rowGap: theme.spacing['80'] },
1047
+ '96': { rowGap: theme.spacing['96'] },
1048
+ },
1049
+ color: {
1050
+ primary: { color: theme.colors.foreground['primary'] },
1051
+ secondary: { color: theme.colors.foreground['secondary'] },
1052
+ accent: { color: theme.colors.foreground['accent'] },
1053
+ brand: { color: theme.colors.foreground['brand'] },
1054
+ alert: { color: theme.colors.foreground['alert'] },
1055
+ positive: { color: theme.colors.foreground['positive'] },
1056
+ warning: { color: theme.colors.foreground['warning'] },
1057
+ info: { color: theme.colors.foreground['info'] },
1058
+ 'brand-secondary': { color: theme.colors.foreground['brand-secondary'] },
1059
+ 'alert-secondary': { color: theme.colors.foreground['alert-secondary'] },
1060
+ 'positive-secondary': { color: theme.colors.foreground['positive-secondary'] },
1061
+ 'warning-secondary': { color: theme.colors.foreground['warning-secondary'] },
1062
+ 'info-secondary': { color: theme.colors.foreground['info-secondary'] },
1063
+ 'always/white': { color: theme.colors.foreground['always/white'] },
1064
+ 'always/black': { color: theme.colors.foreground['always/black'] },
1065
+ 'always/transparent': { color: theme.colors.foreground['always/transparent'] },
1066
+ 'always/brand': { color: theme.colors.foreground['always/brand'] },
1067
+ 'always/accent': { color: theme.colors.foreground['always/accent'] },
1068
+ tertiary: { color: theme.colors.foreground['tertiary'] },
1069
+ muted: { color: theme.colors.foreground['muted'] },
1070
+ 'on-color': { color: theme.colors.foreground['on-color'] },
1071
+ },
1072
+ fontFamily: {
1073
+ sans: { fontFamily: theme.font['sans'] },
1074
+ 'sans-alt': { fontFamily: theme.font['sans-alt'] },
1075
+ serif: { fontFamily: theme.font['serif'] },
1076
+ 'serif-alt': { fontFamily: theme.font['serif-alt'] },
1077
+ mono: { fontFamily: theme.font['mono'] },
1078
+ display1: { fontFamily: theme.typography['display1'].fontFamily },
1079
+ display2: { fontFamily: theme.typography['display2'].fontFamily },
1080
+ display3: { fontFamily: theme.typography['display3'].fontFamily },
1081
+ title1: { fontFamily: theme.typography['title1'].fontFamily },
1082
+ title2: { fontFamily: theme.typography['title2'].fontFamily },
1083
+ title3: { fontFamily: theme.typography['title3'].fontFamily },
1084
+ title4: { fontFamily: theme.typography['title4'].fontFamily },
1085
+ headline1: { fontFamily: theme.typography['headline1'].fontFamily },
1086
+ body1: { fontFamily: theme.typography['body1'].fontFamily },
1087
+ label1: { fontFamily: theme.typography['label1'].fontFamily },
1088
+ label2: { fontFamily: theme.typography['label2'].fontFamily },
1089
+ label3: { fontFamily: theme.typography['label3'].fontFamily },
1090
+ label4: { fontFamily: theme.typography['label4'].fontFamily },
1091
+ caption1: { fontFamily: theme.typography['caption1'].fontFamily },
1092
+ caption2: { fontFamily: theme.typography['caption2'].fontFamily },
1093
+ legal1: { fontFamily: theme.typography['legal1'].fontFamily },
1094
+ ui1: { fontFamily: theme.typography['ui1'].fontFamily },
1095
+ ui2: { fontFamily: theme.typography['ui2'].fontFamily },
1096
+ ui3: { fontFamily: theme.typography['ui3'].fontFamily },
1097
+ ui4: { fontFamily: theme.typography['ui4'].fontFamily },
1098
+ ui5: { fontFamily: theme.typography['ui5'].fontFamily },
1099
+ ui6: { fontFamily: theme.typography['ui6'].fontFamily },
1100
+ 'display1/emphasized': { fontFamily: theme.typography['display1/emphasized'].fontFamily },
1101
+ 'display2/emphasized': { fontFamily: theme.typography['display2/emphasized'].fontFamily },
1102
+ 'display3/emphasized': { fontFamily: theme.typography['display3/emphasized'].fontFamily },
1103
+ 'title1/emphasized': { fontFamily: theme.typography['title1/emphasized'].fontFamily },
1104
+ 'title2/emphasized': { fontFamily: theme.typography['title2/emphasized'].fontFamily },
1105
+ 'title3/emphasized': { fontFamily: theme.typography['title3/emphasized'].fontFamily },
1106
+ 'title4/emphasized': { fontFamily: theme.typography['title4/emphasized'].fontFamily },
1107
+ 'headline1/emphasized': { fontFamily: theme.typography['headline1/emphasized'].fontFamily },
1108
+ 'body1/emphasized': { fontFamily: theme.typography['body1/emphasized'].fontFamily },
1109
+ 'label1/emphasized': { fontFamily: theme.typography['label1/emphasized'].fontFamily },
1110
+ 'label2/emphasized': { fontFamily: theme.typography['label2/emphasized'].fontFamily },
1111
+ 'label3/emphasized': { fontFamily: theme.typography['label3/emphasized'].fontFamily },
1112
+ 'label4/emphasized': { fontFamily: theme.typography['label4/emphasized'].fontFamily },
1113
+ 'caption1/emphasized': { fontFamily: theme.typography['caption1/emphasized'].fontFamily },
1114
+ 'caption2/emphasized': { fontFamily: theme.typography['caption2/emphasized'].fontFamily },
1115
+ 'legal1/emphasized': { fontFamily: theme.typography['legal1/emphasized'].fontFamily },
1116
+ 'ui1/emphasized': { fontFamily: theme.typography['ui1/emphasized'].fontFamily },
1117
+ 'ui2/emphasized': { fontFamily: theme.typography['ui2/emphasized'].fontFamily },
1118
+ 'ui3/emphasized': { fontFamily: theme.typography['ui3/emphasized'].fontFamily },
1119
+ 'ui4/emphasized': { fontFamily: theme.typography['ui4/emphasized'].fontFamily },
1120
+ 'ui5/emphasized': { fontFamily: theme.typography['ui5/emphasized'].fontFamily },
1121
+ 'ui6/emphasized': { fontFamily: theme.typography['ui6/emphasized'].fontFamily },
1122
+ icons: { fontFamily: theme.font['icons'] },
1123
+ },
1124
+ fontSize: {
1125
+ display1: { fontSize: theme.typography['display1'].fontSize },
1126
+ display2: { fontSize: theme.typography['display2'].fontSize },
1127
+ display3: { fontSize: theme.typography['display3'].fontSize },
1128
+ title1: { fontSize: theme.typography['title1'].fontSize },
1129
+ title2: { fontSize: theme.typography['title2'].fontSize },
1130
+ title3: { fontSize: theme.typography['title3'].fontSize },
1131
+ title4: { fontSize: theme.typography['title4'].fontSize },
1132
+ headline1: { fontSize: theme.typography['headline1'].fontSize },
1133
+ body1: { fontSize: theme.typography['body1'].fontSize },
1134
+ label1: { fontSize: theme.typography['label1'].fontSize },
1135
+ label2: { fontSize: theme.typography['label2'].fontSize },
1136
+ label3: { fontSize: theme.typography['label3'].fontSize },
1137
+ label4: { fontSize: theme.typography['label4'].fontSize },
1138
+ caption1: { fontSize: theme.typography['caption1'].fontSize },
1139
+ caption2: { fontSize: theme.typography['caption2'].fontSize },
1140
+ legal1: { fontSize: theme.typography['legal1'].fontSize },
1141
+ ui1: { fontSize: theme.typography['ui1'].fontSize },
1142
+ ui2: { fontSize: theme.typography['ui2'].fontSize },
1143
+ ui3: { fontSize: theme.typography['ui3'].fontSize },
1144
+ ui4: { fontSize: theme.typography['ui4'].fontSize },
1145
+ ui5: { fontSize: theme.typography['ui5'].fontSize },
1146
+ ui6: { fontSize: theme.typography['ui6'].fontSize },
1147
+ 'display1/emphasized': { fontSize: theme.typography['display1/emphasized'].fontSize },
1148
+ 'display2/emphasized': { fontSize: theme.typography['display2/emphasized'].fontSize },
1149
+ 'display3/emphasized': { fontSize: theme.typography['display3/emphasized'].fontSize },
1150
+ 'title1/emphasized': { fontSize: theme.typography['title1/emphasized'].fontSize },
1151
+ 'title2/emphasized': { fontSize: theme.typography['title2/emphasized'].fontSize },
1152
+ 'title3/emphasized': { fontSize: theme.typography['title3/emphasized'].fontSize },
1153
+ 'title4/emphasized': { fontSize: theme.typography['title4/emphasized'].fontSize },
1154
+ 'headline1/emphasized': { fontSize: theme.typography['headline1/emphasized'].fontSize },
1155
+ 'body1/emphasized': { fontSize: theme.typography['body1/emphasized'].fontSize },
1156
+ 'label1/emphasized': { fontSize: theme.typography['label1/emphasized'].fontSize },
1157
+ 'label2/emphasized': { fontSize: theme.typography['label2/emphasized'].fontSize },
1158
+ 'label3/emphasized': { fontSize: theme.typography['label3/emphasized'].fontSize },
1159
+ 'label4/emphasized': { fontSize: theme.typography['label4/emphasized'].fontSize },
1160
+ 'caption1/emphasized': { fontSize: theme.typography['caption1/emphasized'].fontSize },
1161
+ 'caption2/emphasized': { fontSize: theme.typography['caption2/emphasized'].fontSize },
1162
+ 'legal1/emphasized': { fontSize: theme.typography['legal1/emphasized'].fontSize },
1163
+ 'ui1/emphasized': { fontSize: theme.typography['ui1/emphasized'].fontSize },
1164
+ 'ui2/emphasized': { fontSize: theme.typography['ui2/emphasized'].fontSize },
1165
+ 'ui3/emphasized': { fontSize: theme.typography['ui3/emphasized'].fontSize },
1166
+ 'ui4/emphasized': { fontSize: theme.typography['ui4/emphasized'].fontSize },
1167
+ 'ui5/emphasized': { fontSize: theme.typography['ui5/emphasized'].fontSize },
1168
+ 'ui6/emphasized': { fontSize: theme.typography['ui6/emphasized'].fontSize },
1169
+ },
1170
+ letterSpacing: {
1171
+ display1: { letterSpacing: theme.typography['display1'].letterSpacing },
1172
+ display2: { letterSpacing: theme.typography['display2'].letterSpacing },
1173
+ display3: { letterSpacing: theme.typography['display3'].letterSpacing },
1174
+ title1: { letterSpacing: theme.typography['title1'].letterSpacing },
1175
+ title2: { letterSpacing: theme.typography['title2'].letterSpacing },
1176
+ title3: { letterSpacing: theme.typography['title3'].letterSpacing },
1177
+ title4: { letterSpacing: theme.typography['title4'].letterSpacing },
1178
+ headline1: { letterSpacing: theme.typography['headline1'].letterSpacing },
1179
+ body1: { letterSpacing: theme.typography['body1'].letterSpacing },
1180
+ label1: { letterSpacing: theme.typography['label1'].letterSpacing },
1181
+ label2: { letterSpacing: theme.typography['label2'].letterSpacing },
1182
+ label3: { letterSpacing: theme.typography['label3'].letterSpacing },
1183
+ label4: { letterSpacing: theme.typography['label4'].letterSpacing },
1184
+ caption1: { letterSpacing: theme.typography['caption1'].letterSpacing },
1185
+ caption2: { letterSpacing: theme.typography['caption2'].letterSpacing },
1186
+ legal1: { letterSpacing: theme.typography['legal1'].letterSpacing },
1187
+ ui1: { letterSpacing: theme.typography['ui1'].letterSpacing },
1188
+ ui2: { letterSpacing: theme.typography['ui2'].letterSpacing },
1189
+ ui3: { letterSpacing: theme.typography['ui3'].letterSpacing },
1190
+ ui4: { letterSpacing: theme.typography['ui4'].letterSpacing },
1191
+ ui5: { letterSpacing: theme.typography['ui5'].letterSpacing },
1192
+ ui6: { letterSpacing: theme.typography['ui6'].letterSpacing },
1193
+ 'display1/emphasized': {
1194
+ letterSpacing: theme.typography['display1/emphasized'].letterSpacing,
1195
+ },
1196
+ 'display2/emphasized': {
1197
+ letterSpacing: theme.typography['display2/emphasized'].letterSpacing,
1198
+ },
1199
+ 'display3/emphasized': {
1200
+ letterSpacing: theme.typography['display3/emphasized'].letterSpacing,
1201
+ },
1202
+ 'title1/emphasized': { letterSpacing: theme.typography['title1/emphasized'].letterSpacing },
1203
+ 'title2/emphasized': { letterSpacing: theme.typography['title2/emphasized'].letterSpacing },
1204
+ 'title3/emphasized': { letterSpacing: theme.typography['title3/emphasized'].letterSpacing },
1205
+ 'title4/emphasized': { letterSpacing: theme.typography['title4/emphasized'].letterSpacing },
1206
+ 'headline1/emphasized': {
1207
+ letterSpacing: theme.typography['headline1/emphasized'].letterSpacing,
1208
+ },
1209
+ 'body1/emphasized': { letterSpacing: theme.typography['body1/emphasized'].letterSpacing },
1210
+ 'label1/emphasized': { letterSpacing: theme.typography['label1/emphasized'].letterSpacing },
1211
+ 'label2/emphasized': { letterSpacing: theme.typography['label2/emphasized'].letterSpacing },
1212
+ 'label3/emphasized': { letterSpacing: theme.typography['label3/emphasized'].letterSpacing },
1213
+ 'label4/emphasized': { letterSpacing: theme.typography['label4/emphasized'].letterSpacing },
1214
+ 'caption1/emphasized': {
1215
+ letterSpacing: theme.typography['caption1/emphasized'].letterSpacing,
1216
+ },
1217
+ 'caption2/emphasized': {
1218
+ letterSpacing: theme.typography['caption2/emphasized'].letterSpacing,
1219
+ },
1220
+ 'legal1/emphasized': { letterSpacing: theme.typography['legal1/emphasized'].letterSpacing },
1221
+ 'ui1/emphasized': { letterSpacing: theme.typography['ui1/emphasized'].letterSpacing },
1222
+ 'ui2/emphasized': { letterSpacing: theme.typography['ui2/emphasized'].letterSpacing },
1223
+ 'ui3/emphasized': { letterSpacing: theme.typography['ui3/emphasized'].letterSpacing },
1224
+ 'ui4/emphasized': { letterSpacing: theme.typography['ui4/emphasized'].letterSpacing },
1225
+ 'ui5/emphasized': { letterSpacing: theme.typography['ui5/emphasized'].letterSpacing },
1226
+ 'ui6/emphasized': { letterSpacing: theme.typography['ui6/emphasized'].letterSpacing },
1227
+ },
1228
+ fontWeight: {
1229
+ bold: { fontWeight: 'bold' },
1230
+ thin: { fontWeight: 'thin' },
1231
+ light: { fontWeight: 'light' },
1232
+ medium: { fontWeight: 'medium' },
1233
+ regular: { fontWeight: 'regular' },
1234
+ semibold: { fontWeight: 'semibold' },
1235
+ black: { fontWeight: 'black' },
1236
+ },
1237
+ lineHeight: {
1238
+ display1: { lineHeight: theme.typography['display1'].lineHeight },
1239
+ display2: { lineHeight: theme.typography['display2'].lineHeight },
1240
+ display3: { lineHeight: theme.typography['display3'].lineHeight },
1241
+ title1: { lineHeight: theme.typography['title1'].lineHeight },
1242
+ title2: { lineHeight: theme.typography['title2'].lineHeight },
1243
+ title3: { lineHeight: theme.typography['title3'].lineHeight },
1244
+ title4: { lineHeight: theme.typography['title4'].lineHeight },
1245
+ headline1: { lineHeight: theme.typography['headline1'].lineHeight },
1246
+ body1: { lineHeight: theme.typography['body1'].lineHeight },
1247
+ label1: { lineHeight: theme.typography['label1'].lineHeight },
1248
+ label2: { lineHeight: theme.typography['label2'].lineHeight },
1249
+ label3: { lineHeight: theme.typography['label3'].lineHeight },
1250
+ label4: { lineHeight: theme.typography['label4'].lineHeight },
1251
+ caption1: { lineHeight: theme.typography['caption1'].lineHeight },
1252
+ caption2: { lineHeight: theme.typography['caption2'].lineHeight },
1253
+ legal1: { lineHeight: theme.typography['legal1'].lineHeight },
1254
+ ui1: { lineHeight: theme.typography['ui1'].lineHeight },
1255
+ ui2: { lineHeight: theme.typography['ui2'].lineHeight },
1256
+ ui3: { lineHeight: theme.typography['ui3'].lineHeight },
1257
+ ui4: { lineHeight: theme.typography['ui4'].lineHeight },
1258
+ ui5: { lineHeight: theme.typography['ui5'].lineHeight },
1259
+ ui6: { lineHeight: theme.typography['ui6'].lineHeight },
1260
+ 'display1/emphasized': { lineHeight: theme.typography['display1/emphasized'].lineHeight },
1261
+ 'display2/emphasized': { lineHeight: theme.typography['display2/emphasized'].lineHeight },
1262
+ 'display3/emphasized': { lineHeight: theme.typography['display3/emphasized'].lineHeight },
1263
+ 'title1/emphasized': { lineHeight: theme.typography['title1/emphasized'].lineHeight },
1264
+ 'title2/emphasized': { lineHeight: theme.typography['title2/emphasized'].lineHeight },
1265
+ 'title3/emphasized': { lineHeight: theme.typography['title3/emphasized'].lineHeight },
1266
+ 'title4/emphasized': { lineHeight: theme.typography['title4/emphasized'].lineHeight },
1267
+ 'headline1/emphasized': { lineHeight: theme.typography['headline1/emphasized'].lineHeight },
1268
+ 'body1/emphasized': { lineHeight: theme.typography['body1/emphasized'].lineHeight },
1269
+ 'label1/emphasized': { lineHeight: theme.typography['label1/emphasized'].lineHeight },
1270
+ 'label2/emphasized': { lineHeight: theme.typography['label2/emphasized'].lineHeight },
1271
+ 'label3/emphasized': { lineHeight: theme.typography['label3/emphasized'].lineHeight },
1272
+ 'label4/emphasized': { lineHeight: theme.typography['label4/emphasized'].lineHeight },
1273
+ 'caption1/emphasized': { lineHeight: theme.typography['caption1/emphasized'].lineHeight },
1274
+ 'caption2/emphasized': { lineHeight: theme.typography['caption2/emphasized'].lineHeight },
1275
+ 'legal1/emphasized': { lineHeight: theme.typography['legal1/emphasized'].lineHeight },
1276
+ 'ui1/emphasized': { lineHeight: theme.typography['ui1/emphasized'].lineHeight },
1277
+ 'ui2/emphasized': { lineHeight: theme.typography['ui2/emphasized'].lineHeight },
1278
+ 'ui3/emphasized': { lineHeight: theme.typography['ui3/emphasized'].lineHeight },
1279
+ 'ui4/emphasized': { lineHeight: theme.typography['ui4/emphasized'].lineHeight },
1280
+ 'ui5/emphasized': { lineHeight: theme.typography['ui5/emphasized'].lineHeight },
1281
+ 'ui6/emphasized': { lineHeight: theme.typography['ui6/emphasized'].lineHeight },
1282
+ },
1283
+ textAlign: { center: { textAlign: 'center' }, justify: { textAlign: 'justify' } },
1284
+ textTransform: {
1285
+ none: { textTransform: 'none' },
1286
+ capitalize: { textTransform: 'capitalize' },
1287
+ uppercase: { textTransform: 'uppercase' },
1288
+ lowercase: { textTransform: 'lowercase' },
1289
+ },
1290
+ iconSize: {
1291
+ xs: { width: theme.iconSize['xs'], height: theme.iconSize['xs'] },
1292
+ sm: { width: theme.iconSize['sm'], height: theme.iconSize['sm'] },
1293
+ md: { width: theme.iconSize['md'], height: theme.iconSize['md'] },
1294
+ lg: { width: theme.iconSize['lg'], height: theme.iconSize['lg'] },
1295
+ },
1296
+ avatarSize: {
1297
+ xs: { width: theme.avatarSize['xs'], height: theme.avatarSize['xs'] },
1298
+ sm: { width: theme.avatarSize['sm'], height: theme.avatarSize['sm'] },
1299
+ md: { width: theme.avatarSize['md'], height: theme.avatarSize['md'] },
1300
+ lg: { width: theme.avatarSize['lg'], height: theme.avatarSize['lg'] },
1301
+ xl: { width: theme.avatarSize['xl'], height: theme.avatarSize['xl'] },
1302
+ },
1303
+ },
1304
+ },
1305
+ }));
1306
+
1307
+ // Component layer-based stylesheets
1308
+ /**
1309
+ * Layer-based styles for Avatar.
1310
+ * Uses compound variants for state-specific (disabled/pressed) styles.
1311
+ *
1312
+ * Usage:
1313
+ * ```tsx
1314
+ * avatarStyles.useVariants({
1315
+ * size,
1316
+ * variant,
1317
+ * disabled: isDisabled, // boolean
1318
+ * pressed: isPressed, // boolean
1319
+ * });
1320
+ * // Access: avatarStyles.root, avatarStyles.icon, etc.
1321
+ * ```
1322
+ */
1323
+ const avatarStyles = StyleSheet.create((theme) => ({
1324
+ root: {
1325
+ variants: {
1326
+ size: {
1327
+ lg: theme.components['avatar/size/lg/root/rest'],
1328
+ md: theme.components['avatar/size/md/root/rest'],
1329
+ sm: theme.components['avatar/size/sm/root/rest'],
1330
+ xl: theme.components['avatar/size/xl/root/rest'],
1331
+ xs: theme.components['avatar/size/xs/root/rest'],
1332
+ },
1333
+ icon: {
1334
+ primary: theme.components['avatar/icon/variant/primary/root/rest'],
1335
+ secondary: theme.components['avatar/icon/variant/secondary/root/rest'],
1336
+ },
1337
+ image: {
1338
+ primary: theme.components['avatar/image/variant/primary/root/rest'],
1339
+ secondary: theme.components['avatar/image/variant/secondary/root/rest'],
1340
+ },
1341
+ text: {
1342
+ primary: theme.components['avatar/text/variant/primary/root/rest'],
1343
+ secondary: theme.components['avatar/text/variant/secondary/root/rest'],
1344
+ },
1345
+ },
1346
+ },
1347
+ text: {
1348
+ variants: {
1349
+ size: {
1350
+ lg: theme.components['avatar/size/lg/rootText/rest'],
1351
+ md: theme.components['avatar/size/md/rootText/rest'],
1352
+ sm: theme.components['avatar/size/sm/rootText/rest'],
1353
+ xl: theme.components['avatar/size/xl/rootText/rest'],
1354
+ xs: theme.components['avatar/size/xs/rootText/rest'],
1355
+ },
1356
+ icon: {
1357
+ primary: theme.components['avatar/icon/variant/primary/rootText/rest'],
1358
+ secondary: theme.components['avatar/icon/variant/secondary/rootText/rest'],
1359
+ },
1360
+ text: {
1361
+ primary: theme.components['avatar/text/variant/primary/rootText/rest'],
1362
+ secondary: theme.components['avatar/text/variant/secondary/rootText/rest'],
1363
+ },
1364
+ },
1365
+ },
1366
+ icon: {
1367
+ variants: {
1368
+ size: {
1369
+ lg: theme.components['avatar/size/lg/icon/rest'],
1370
+ md: theme.components['avatar/size/md/icon/rest'],
1371
+ sm: theme.components['avatar/size/sm/icon/rest'],
1372
+ xl: theme.components['avatar/size/xl/icon/rest'],
1373
+ xs: theme.components['avatar/size/xs/icon/rest'],
1374
+ },
1375
+ },
1376
+ },
1377
+ }));
1378
+
1379
+ /**
1380
+ * Layer-based styles for Badge.
1381
+ * Uses compound variants for state-specific (disabled/pressed) styles.
1382
+ *
1383
+ * Usage:
1384
+ * ```tsx
1385
+ * badgeStyles.useVariants({
1386
+ * size,
1387
+ * variant,
1388
+ * disabled: isDisabled, // boolean
1389
+ * pressed: isPressed, // boolean
1390
+ * });
1391
+ * // Access: badgeStyles.root, badgeStyles.icon, etc.
1392
+ * ```
1393
+ */
1394
+ const badgeStyles = StyleSheet.create((theme) => ({
1395
+ root: {
1396
+ variants: {
1397
+ size: {
1398
+ lg: theme.components['badge/size/lg/root/rest'],
1399
+ md: theme.components['badge/size/md/root/rest'],
1400
+ sm: theme.components['badge/size/sm/root/rest'],
1401
+ xs: theme.components['badge/size/xs/root/rest'],
1402
+ },
1403
+ variant: {
1404
+ alert: theme.components['badge/variant/alert/root/rest'],
1405
+ 'alert-secondary': theme.components['badge/variant/alert-secondary/root/rest'],
1406
+ brand: theme.components['badge/variant/brand/root/rest'],
1407
+ 'brand-secondary': theme.components['badge/variant/brand-secondary/root/rest'],
1408
+ info: theme.components['badge/variant/info/root/rest'],
1409
+ 'info-secondary': theme.components['badge/variant/info-secondary/root/rest'],
1410
+ positive: theme.components['badge/variant/positive/root/rest'],
1411
+ 'positive-secondary': theme.components['badge/variant/positive-secondary/root/rest'],
1412
+ primary: theme.components['badge/variant/primary/root/rest'],
1413
+ secondary: theme.components['badge/variant/secondary/root/rest'],
1414
+ warning: theme.components['badge/variant/warning/root/rest'],
1415
+ 'warning-secondary': theme.components['badge/variant/warning-secondary/root/rest'],
1416
+ },
1417
+ },
1418
+ },
1419
+ text: {
1420
+ variants: {
1421
+ size: {
1422
+ lg: theme.components['badge/size/lg/rootText/rest'],
1423
+ md: theme.components['badge/size/md/rootText/rest'],
1424
+ sm: theme.components['badge/size/sm/rootText/rest'],
1425
+ xs: theme.components['badge/size/xs/rootText/rest'],
1426
+ },
1427
+ variant: {
1428
+ alert: theme.components['badge/variant/alert/rootText/rest'],
1429
+ 'alert-secondary': theme.components['badge/variant/alert-secondary/rootText/rest'],
1430
+ brand: theme.components['badge/variant/brand/rootText/rest'],
1431
+ 'brand-secondary': theme.components['badge/variant/brand-secondary/rootText/rest'],
1432
+ info: theme.components['badge/variant/info/rootText/rest'],
1433
+ 'info-secondary': theme.components['badge/variant/info-secondary/rootText/rest'],
1434
+ positive: theme.components['badge/variant/positive/rootText/rest'],
1435
+ 'positive-secondary': theme.components['badge/variant/positive-secondary/rootText/rest'],
1436
+ primary: theme.components['badge/variant/primary/rootText/rest'],
1437
+ secondary: theme.components['badge/variant/secondary/rootText/rest'],
1438
+ warning: theme.components['badge/variant/warning/rootText/rest'],
1439
+ 'warning-secondary': theme.components['badge/variant/warning-secondary/rootText/rest'],
1440
+ },
1441
+ },
1442
+ },
1443
+ icon: {
1444
+ variants: {
1445
+ size: {
1446
+ lg: theme.components['badge/size/lg/icon/rest'],
1447
+ md: theme.components['badge/size/md/icon/rest'],
1448
+ sm: theme.components['badge/size/sm/icon/rest'],
1449
+ xs: theme.components['badge/size/xs/icon/rest'],
1450
+ },
1451
+ variant: {
1452
+ alert: theme.components['badge/variant/alert/icon/rest'],
1453
+ 'alert-secondary': theme.components['badge/variant/alert-secondary/icon/rest'],
1454
+ brand: theme.components['badge/variant/brand/icon/rest'],
1455
+ 'brand-secondary': theme.components['badge/variant/brand-secondary/icon/rest'],
1456
+ info: theme.components['badge/variant/info/icon/rest'],
1457
+ 'info-secondary': theme.components['badge/variant/info-secondary/icon/rest'],
1458
+ positive: theme.components['badge/variant/positive/icon/rest'],
1459
+ 'positive-secondary': theme.components['badge/variant/positive-secondary/icon/rest'],
1460
+ primary: theme.components['badge/variant/primary/icon/rest'],
1461
+ secondary: theme.components['badge/variant/secondary/icon/rest'],
1462
+ warning: theme.components['badge/variant/warning/icon/rest'],
1463
+ 'warning-secondary': theme.components['badge/variant/warning-secondary/icon/rest'],
1464
+ },
1465
+ },
1466
+ },
1467
+ }));
1468
+
1469
+ /**
1470
+ * Layer-based styles for Button.
1471
+ * Uses compound variants for state-specific (disabled/pressed) styles.
1472
+ *
1473
+ * Usage:
1474
+ * ```tsx
1475
+ * buttonStyles.useVariants({
1476
+ * size,
1477
+ * variant,
1478
+ * disabled: isDisabled, // boolean
1479
+ * pressed: isPressed, // boolean
1480
+ * });
1481
+ * // Access: buttonStyles.root, buttonStyles.icon, etc.
1482
+ * ```
1483
+ */
1484
+ const buttonStyles = StyleSheet.create((theme) => ({
1485
+ root: {
1486
+ variants: {
1487
+ size: {
1488
+ lg: theme.components['button/size/lg/root/rest'],
1489
+ md: theme.components['button/size/md/root/rest'],
1490
+ sm: theme.components['button/size/sm/root/rest'],
1491
+ },
1492
+ variant: {
1493
+ alert: theme.components['button/variant/alert/root/rest'],
1494
+ 'alert-secondary': theme.components['button/variant/alert-secondary/root/rest'],
1495
+ 'alert-tertiary': theme.components['button/variant/alert-tertiary/root/rest'],
1496
+ brand: theme.components['button/variant/brand/root/rest'],
1497
+ 'brand-secondary': theme.components['button/variant/brand-secondary/root/rest'],
1498
+ 'brand-tertiary': theme.components['button/variant/brand-tertiary/root/rest'],
1499
+ info: theme.components['button/variant/info/root/rest'],
1500
+ 'info-secondary': theme.components['button/variant/info-secondary/root/rest'],
1501
+ 'info-tertiary': theme.components['button/variant/info-tertiary/root/rest'],
1502
+ positive: theme.components['button/variant/positive/root/rest'],
1503
+ 'positive-secondary': theme.components['button/variant/positive-secondary/root/rest'],
1504
+ 'positive-tertiary': theme.components['button/variant/positive-tertiary/root/rest'],
1505
+ primary: theme.components['button/variant/primary/root/rest'],
1506
+ secondary: theme.components['button/variant/secondary/root/rest'],
1507
+ tertiary: theme.components['button/variant/tertiary/root/rest'],
1508
+ warning: theme.components['button/variant/warning/root/rest'],
1509
+ 'warning-secondary': theme.components['button/variant/warning-secondary/root/rest'],
1510
+ 'warning-tertiary': theme.components['button/variant/warning-tertiary/root/rest'],
1511
+ },
1512
+ disabled: { true: {} },
1513
+ pressed: { true: {} },
1514
+ },
1515
+ compoundVariants: [
1516
+ {
1517
+ variant: 'alert-secondary',
1518
+ disabled: true,
1519
+ styles: theme.components['button/variant/alert-secondary/root/disabled'],
1520
+ },
1521
+ {
1522
+ variant: 'alert-secondary',
1523
+ pressed: true,
1524
+ styles: theme.components['button/variant/alert-secondary/root/pressed'],
1525
+ },
1526
+ {
1527
+ variant: 'alert-tertiary',
1528
+ disabled: true,
1529
+ styles: theme.components['button/variant/alert-tertiary/root/disabled'],
1530
+ },
1531
+ {
1532
+ variant: 'alert-tertiary',
1533
+ pressed: true,
1534
+ styles: theme.components['button/variant/alert-tertiary/root/pressed'],
1535
+ },
1536
+ {
1537
+ variant: 'alert',
1538
+ disabled: true,
1539
+ styles: theme.components['button/variant/alert/root/disabled'],
1540
+ },
1541
+ {
1542
+ variant: 'alert',
1543
+ pressed: true,
1544
+ styles: theme.components['button/variant/alert/root/pressed'],
1545
+ },
1546
+ {
1547
+ variant: 'brand-secondary',
1548
+ disabled: true,
1549
+ styles: theme.components['button/variant/brand-secondary/root/disabled'],
1550
+ },
1551
+ {
1552
+ variant: 'brand-secondary',
1553
+ pressed: true,
1554
+ styles: theme.components['button/variant/brand-secondary/root/pressed'],
1555
+ },
1556
+ {
1557
+ variant: 'brand-tertiary',
1558
+ disabled: true,
1559
+ styles: theme.components['button/variant/brand-tertiary/root/disabled'],
1560
+ },
1561
+ {
1562
+ variant: 'brand-tertiary',
1563
+ pressed: true,
1564
+ styles: theme.components['button/variant/brand-tertiary/root/pressed'],
1565
+ },
1566
+ {
1567
+ variant: 'brand',
1568
+ disabled: true,
1569
+ styles: theme.components['button/variant/brand/root/disabled'],
1570
+ },
1571
+ {
1572
+ variant: 'brand',
1573
+ pressed: true,
1574
+ styles: theme.components['button/variant/brand/root/pressed'],
1575
+ },
1576
+ {
1577
+ variant: 'info-secondary',
1578
+ disabled: true,
1579
+ styles: theme.components['button/variant/info-secondary/root/disabled'],
1580
+ },
1581
+ {
1582
+ variant: 'info-secondary',
1583
+ pressed: true,
1584
+ styles: theme.components['button/variant/info-secondary/root/pressed'],
1585
+ },
1586
+ {
1587
+ variant: 'info-tertiary',
1588
+ disabled: true,
1589
+ styles: theme.components['button/variant/info-tertiary/root/disabled'],
1590
+ },
1591
+ {
1592
+ variant: 'info-tertiary',
1593
+ pressed: true,
1594
+ styles: theme.components['button/variant/info-tertiary/root/pressed'],
1595
+ },
1596
+ {
1597
+ variant: 'info',
1598
+ disabled: true,
1599
+ styles: theme.components['button/variant/info/root/disabled'],
1600
+ },
1601
+ {
1602
+ variant: 'info',
1603
+ pressed: true,
1604
+ styles: theme.components['button/variant/info/root/pressed'],
1605
+ },
1606
+ {
1607
+ variant: 'positive-secondary',
1608
+ disabled: true,
1609
+ styles: theme.components['button/variant/positive-secondary/root/disabled'],
1610
+ },
1611
+ {
1612
+ variant: 'positive-secondary',
1613
+ pressed: true,
1614
+ styles: theme.components['button/variant/positive-secondary/root/pressed'],
1615
+ },
1616
+ {
1617
+ variant: 'positive-tertiary',
1618
+ disabled: true,
1619
+ styles: theme.components['button/variant/positive-tertiary/root/disabled'],
1620
+ },
1621
+ {
1622
+ variant: 'positive-tertiary',
1623
+ pressed: true,
1624
+ styles: theme.components['button/variant/positive-tertiary/root/pressed'],
1625
+ },
1626
+ {
1627
+ variant: 'positive',
1628
+ disabled: true,
1629
+ styles: theme.components['button/variant/positive/root/disabled'],
1630
+ },
1631
+ {
1632
+ variant: 'positive',
1633
+ pressed: true,
1634
+ styles: theme.components['button/variant/positive/root/pressed'],
1635
+ },
1636
+ {
1637
+ variant: 'primary',
1638
+ disabled: true,
1639
+ styles: theme.components['button/variant/primary/root/disabled'],
1640
+ },
1641
+ {
1642
+ variant: 'primary',
1643
+ pressed: true,
1644
+ styles: theme.components['button/variant/primary/root/pressed'],
1645
+ },
1646
+ {
1647
+ variant: 'secondary',
1648
+ disabled: true,
1649
+ styles: theme.components['button/variant/secondary/root/disabled'],
1650
+ },
1651
+ {
1652
+ variant: 'secondary',
1653
+ pressed: true,
1654
+ styles: theme.components['button/variant/secondary/root/pressed'],
1655
+ },
1656
+ {
1657
+ variant: 'tertiary',
1658
+ disabled: true,
1659
+ styles: theme.components['button/variant/tertiary/root/disabled'],
1660
+ },
1661
+ {
1662
+ variant: 'tertiary',
1663
+ pressed: true,
1664
+ styles: theme.components['button/variant/tertiary/root/pressed'],
1665
+ },
1666
+ {
1667
+ variant: 'warning-secondary',
1668
+ disabled: true,
1669
+ styles: theme.components['button/variant/warning-secondary/root/disabled'],
1670
+ },
1671
+ {
1672
+ variant: 'warning-secondary',
1673
+ pressed: true,
1674
+ styles: theme.components['button/variant/warning-secondary/root/pressed'],
1675
+ },
1676
+ {
1677
+ variant: 'warning-tertiary',
1678
+ disabled: true,
1679
+ styles: theme.components['button/variant/warning-tertiary/root/disabled'],
1680
+ },
1681
+ {
1682
+ variant: 'warning-tertiary',
1683
+ pressed: true,
1684
+ styles: theme.components['button/variant/warning-tertiary/root/pressed'],
1685
+ },
1686
+ {
1687
+ variant: 'warning',
1688
+ disabled: true,
1689
+ styles: theme.components['button/variant/warning/root/disabled'],
1690
+ },
1691
+ {
1692
+ variant: 'warning',
1693
+ pressed: true,
1694
+ styles: theme.components['button/variant/warning/root/pressed'],
1695
+ },
1696
+ ],
1697
+ },
1698
+ text: {
1699
+ variants: {
1700
+ size: {
1701
+ lg: theme.components['button/size/lg/rootText/rest'],
1702
+ md: theme.components['button/size/md/rootText/rest'],
1703
+ sm: theme.components['button/size/sm/rootText/rest'],
1704
+ },
1705
+ variant: {
1706
+ alert: theme.components['button/variant/alert/rootText/rest'],
1707
+ 'alert-secondary': theme.components['button/variant/alert-secondary/rootText/rest'],
1708
+ 'alert-tertiary': theme.components['button/variant/alert-tertiary/rootText/rest'],
1709
+ brand: theme.components['button/variant/brand/rootText/rest'],
1710
+ 'brand-secondary': theme.components['button/variant/brand-secondary/rootText/rest'],
1711
+ 'brand-tertiary': theme.components['button/variant/brand-tertiary/rootText/rest'],
1712
+ info: theme.components['button/variant/info/rootText/rest'],
1713
+ 'info-secondary': theme.components['button/variant/info-secondary/rootText/rest'],
1714
+ 'info-tertiary': theme.components['button/variant/info-tertiary/rootText/rest'],
1715
+ positive: theme.components['button/variant/positive/rootText/rest'],
1716
+ 'positive-secondary': theme.components['button/variant/positive-secondary/rootText/rest'],
1717
+ 'positive-tertiary': theme.components['button/variant/positive-tertiary/rootText/rest'],
1718
+ primary: theme.components['button/variant/primary/rootText/rest'],
1719
+ secondary: theme.components['button/variant/secondary/rootText/rest'],
1720
+ tertiary: theme.components['button/variant/tertiary/rootText/rest'],
1721
+ warning: theme.components['button/variant/warning/rootText/rest'],
1722
+ 'warning-secondary': theme.components['button/variant/warning-secondary/rootText/rest'],
1723
+ 'warning-tertiary': theme.components['button/variant/warning-tertiary/rootText/rest'],
1724
+ },
1725
+ disabled: { true: {} },
1726
+ pressed: { true: {} },
1727
+ },
1728
+ compoundVariants: [
1729
+ {
1730
+ variant: 'alert-secondary',
1731
+ disabled: true,
1732
+ styles: theme.components['button/variant/alert-secondary/rootText/disabled'],
1733
+ },
1734
+ {
1735
+ variant: 'alert-secondary',
1736
+ pressed: true,
1737
+ styles: theme.components['button/variant/alert-secondary/rootText/pressed'],
1738
+ },
1739
+ {
1740
+ variant: 'alert-tertiary',
1741
+ disabled: true,
1742
+ styles: theme.components['button/variant/alert-tertiary/rootText/disabled'],
1743
+ },
1744
+ {
1745
+ variant: 'alert-tertiary',
1746
+ pressed: true,
1747
+ styles: theme.components['button/variant/alert-tertiary/rootText/pressed'],
1748
+ },
1749
+ {
1750
+ variant: 'alert',
1751
+ disabled: true,
1752
+ styles: theme.components['button/variant/alert/rootText/disabled'],
1753
+ },
1754
+ {
1755
+ variant: 'alert',
1756
+ pressed: true,
1757
+ styles: theme.components['button/variant/alert/rootText/pressed'],
1758
+ },
1759
+ {
1760
+ variant: 'brand-secondary',
1761
+ disabled: true,
1762
+ styles: theme.components['button/variant/brand-secondary/rootText/disabled'],
1763
+ },
1764
+ {
1765
+ variant: 'brand-secondary',
1766
+ pressed: true,
1767
+ styles: theme.components['button/variant/brand-secondary/rootText/pressed'],
1768
+ },
1769
+ {
1770
+ variant: 'brand-tertiary',
1771
+ disabled: true,
1772
+ styles: theme.components['button/variant/brand-tertiary/rootText/disabled'],
1773
+ },
1774
+ {
1775
+ variant: 'brand-tertiary',
1776
+ pressed: true,
1777
+ styles: theme.components['button/variant/brand-tertiary/rootText/pressed'],
1778
+ },
1779
+ {
1780
+ variant: 'brand',
1781
+ disabled: true,
1782
+ styles: theme.components['button/variant/brand/rootText/disabled'],
1783
+ },
1784
+ {
1785
+ variant: 'brand',
1786
+ pressed: true,
1787
+ styles: theme.components['button/variant/brand/rootText/pressed'],
1788
+ },
1789
+ {
1790
+ variant: 'info-secondary',
1791
+ disabled: true,
1792
+ styles: theme.components['button/variant/info-secondary/rootText/disabled'],
1793
+ },
1794
+ {
1795
+ variant: 'info-secondary',
1796
+ pressed: true,
1797
+ styles: theme.components['button/variant/info-secondary/rootText/pressed'],
1798
+ },
1799
+ {
1800
+ variant: 'info-tertiary',
1801
+ disabled: true,
1802
+ styles: theme.components['button/variant/info-tertiary/rootText/disabled'],
1803
+ },
1804
+ {
1805
+ variant: 'info-tertiary',
1806
+ pressed: true,
1807
+ styles: theme.components['button/variant/info-tertiary/rootText/pressed'],
1808
+ },
1809
+ {
1810
+ variant: 'info',
1811
+ disabled: true,
1812
+ styles: theme.components['button/variant/info/rootText/disabled'],
1813
+ },
1814
+ {
1815
+ variant: 'info',
1816
+ pressed: true,
1817
+ styles: theme.components['button/variant/info/rootText/pressed'],
1818
+ },
1819
+ {
1820
+ variant: 'positive-secondary',
1821
+ disabled: true,
1822
+ styles: theme.components['button/variant/positive-secondary/rootText/disabled'],
1823
+ },
1824
+ {
1825
+ variant: 'positive-secondary',
1826
+ pressed: true,
1827
+ styles: theme.components['button/variant/positive-secondary/rootText/pressed'],
1828
+ },
1829
+ {
1830
+ variant: 'positive-tertiary',
1831
+ disabled: true,
1832
+ styles: theme.components['button/variant/positive-tertiary/rootText/disabled'],
1833
+ },
1834
+ {
1835
+ variant: 'positive-tertiary',
1836
+ pressed: true,
1837
+ styles: theme.components['button/variant/positive-tertiary/rootText/pressed'],
1838
+ },
1839
+ {
1840
+ variant: 'positive',
1841
+ disabled: true,
1842
+ styles: theme.components['button/variant/positive/rootText/disabled'],
1843
+ },
1844
+ {
1845
+ variant: 'positive',
1846
+ pressed: true,
1847
+ styles: theme.components['button/variant/positive/rootText/pressed'],
1848
+ },
1849
+ {
1850
+ variant: 'primary',
1851
+ disabled: true,
1852
+ styles: theme.components['button/variant/primary/rootText/disabled'],
1853
+ },
1854
+ {
1855
+ variant: 'primary',
1856
+ pressed: true,
1857
+ styles: theme.components['button/variant/primary/rootText/pressed'],
1858
+ },
1859
+ {
1860
+ variant: 'secondary',
1861
+ disabled: true,
1862
+ styles: theme.components['button/variant/secondary/rootText/disabled'],
1863
+ },
1864
+ {
1865
+ variant: 'secondary',
1866
+ pressed: true,
1867
+ styles: theme.components['button/variant/secondary/rootText/pressed'],
1868
+ },
1869
+ {
1870
+ variant: 'tertiary',
1871
+ disabled: true,
1872
+ styles: theme.components['button/variant/tertiary/rootText/disabled'],
1873
+ },
1874
+ {
1875
+ variant: 'tertiary',
1876
+ pressed: true,
1877
+ styles: theme.components['button/variant/tertiary/rootText/pressed'],
1878
+ },
1879
+ {
1880
+ variant: 'warning-secondary',
1881
+ disabled: true,
1882
+ styles: theme.components['button/variant/warning-secondary/rootText/disabled'],
1883
+ },
1884
+ {
1885
+ variant: 'warning-secondary',
1886
+ pressed: true,
1887
+ styles: theme.components['button/variant/warning-secondary/rootText/pressed'],
1888
+ },
1889
+ {
1890
+ variant: 'warning-tertiary',
1891
+ disabled: true,
1892
+ styles: theme.components['button/variant/warning-tertiary/rootText/disabled'],
1893
+ },
1894
+ {
1895
+ variant: 'warning-tertiary',
1896
+ pressed: true,
1897
+ styles: theme.components['button/variant/warning-tertiary/rootText/pressed'],
1898
+ },
1899
+ {
1900
+ variant: 'warning',
1901
+ disabled: true,
1902
+ styles: theme.components['button/variant/warning/rootText/disabled'],
1903
+ },
1904
+ {
1905
+ variant: 'warning',
1906
+ pressed: true,
1907
+ styles: theme.components['button/variant/warning/rootText/pressed'],
1908
+ },
1909
+ ],
1910
+ },
1911
+ icon: {
1912
+ variants: {
1913
+ size: {
1914
+ lg: theme.components['button/size/lg/icon/rest'],
1915
+ md: theme.components['button/size/md/icon/rest'],
1916
+ sm: theme.components['button/size/sm/icon/rest'],
1917
+ },
1918
+ variant: {
1919
+ alert: theme.components['button/variant/alert/icon/rest'],
1920
+ 'alert-secondary': theme.components['button/variant/alert-secondary/icon/rest'],
1921
+ 'alert-tertiary': theme.components['button/variant/alert-tertiary/icon/rest'],
1922
+ brand: theme.components['button/variant/brand/icon/rest'],
1923
+ 'brand-secondary': theme.components['button/variant/brand-secondary/icon/rest'],
1924
+ 'brand-tertiary': theme.components['button/variant/brand-tertiary/icon/rest'],
1925
+ info: theme.components['button/variant/info/icon/rest'],
1926
+ 'info-secondary': theme.components['button/variant/info-secondary/icon/rest'],
1927
+ 'info-tertiary': theme.components['button/variant/info-tertiary/icon/rest'],
1928
+ positive: theme.components['button/variant/positive/icon/rest'],
1929
+ 'positive-secondary': theme.components['button/variant/positive-secondary/icon/rest'],
1930
+ 'positive-tertiary': theme.components['button/variant/positive-tertiary/icon/rest'],
1931
+ primary: theme.components['button/variant/primary/icon/rest'],
1932
+ secondary: theme.components['button/variant/secondary/icon/rest'],
1933
+ tertiary: theme.components['button/variant/tertiary/icon/rest'],
1934
+ warning: theme.components['button/variant/warning/icon/rest'],
1935
+ 'warning-secondary': theme.components['button/variant/warning-secondary/icon/rest'],
1936
+ 'warning-tertiary': theme.components['button/variant/warning-tertiary/icon/rest'],
1937
+ },
1938
+ disabled: { true: {} },
1939
+ pressed: { true: {} },
1940
+ },
1941
+ compoundVariants: [
1942
+ {
1943
+ variant: 'alert-secondary',
1944
+ disabled: true,
1945
+ styles: theme.components['button/variant/alert-secondary/icon/disabled'],
1946
+ },
1947
+ {
1948
+ variant: 'alert-secondary',
1949
+ pressed: true,
1950
+ styles: theme.components['button/variant/alert-secondary/icon/pressed'],
1951
+ },
1952
+ {
1953
+ variant: 'alert-tertiary',
1954
+ disabled: true,
1955
+ styles: theme.components['button/variant/alert-tertiary/icon/disabled'],
1956
+ },
1957
+ {
1958
+ variant: 'alert-tertiary',
1959
+ pressed: true,
1960
+ styles: theme.components['button/variant/alert-tertiary/icon/pressed'],
1961
+ },
1962
+ {
1963
+ variant: 'alert',
1964
+ disabled: true,
1965
+ styles: theme.components['button/variant/alert/icon/disabled'],
1966
+ },
1967
+ {
1968
+ variant: 'alert',
1969
+ pressed: true,
1970
+ styles: theme.components['button/variant/alert/icon/pressed'],
1971
+ },
1972
+ {
1973
+ variant: 'brand-secondary',
1974
+ disabled: true,
1975
+ styles: theme.components['button/variant/brand-secondary/icon/disabled'],
1976
+ },
1977
+ {
1978
+ variant: 'brand-secondary',
1979
+ pressed: true,
1980
+ styles: theme.components['button/variant/brand-secondary/icon/pressed'],
1981
+ },
1982
+ {
1983
+ variant: 'brand-tertiary',
1984
+ disabled: true,
1985
+ styles: theme.components['button/variant/brand-tertiary/icon/disabled'],
1986
+ },
1987
+ {
1988
+ variant: 'brand-tertiary',
1989
+ pressed: true,
1990
+ styles: theme.components['button/variant/brand-tertiary/icon/pressed'],
1991
+ },
1992
+ {
1993
+ variant: 'brand',
1994
+ disabled: true,
1995
+ styles: theme.components['button/variant/brand/icon/disabled'],
1996
+ },
1997
+ {
1998
+ variant: 'brand',
1999
+ pressed: true,
2000
+ styles: theme.components['button/variant/brand/icon/pressed'],
2001
+ },
2002
+ {
2003
+ variant: 'info-secondary',
2004
+ disabled: true,
2005
+ styles: theme.components['button/variant/info-secondary/icon/disabled'],
2006
+ },
2007
+ {
2008
+ variant: 'info-secondary',
2009
+ pressed: true,
2010
+ styles: theme.components['button/variant/info-secondary/icon/pressed'],
2011
+ },
2012
+ {
2013
+ variant: 'info-tertiary',
2014
+ disabled: true,
2015
+ styles: theme.components['button/variant/info-tertiary/icon/disabled'],
2016
+ },
2017
+ {
2018
+ variant: 'info-tertiary',
2019
+ pressed: true,
2020
+ styles: theme.components['button/variant/info-tertiary/icon/pressed'],
2021
+ },
2022
+ {
2023
+ variant: 'info',
2024
+ disabled: true,
2025
+ styles: theme.components['button/variant/info/icon/disabled'],
2026
+ },
2027
+ {
2028
+ variant: 'info',
2029
+ pressed: true,
2030
+ styles: theme.components['button/variant/info/icon/pressed'],
2031
+ },
2032
+ {
2033
+ variant: 'positive-secondary',
2034
+ disabled: true,
2035
+ styles: theme.components['button/variant/positive-secondary/icon/disabled'],
2036
+ },
2037
+ {
2038
+ variant: 'positive-secondary',
2039
+ pressed: true,
2040
+ styles: theme.components['button/variant/positive-secondary/icon/pressed'],
2041
+ },
2042
+ {
2043
+ variant: 'positive-tertiary',
2044
+ disabled: true,
2045
+ styles: theme.components['button/variant/positive-tertiary/icon/disabled'],
2046
+ },
2047
+ {
2048
+ variant: 'positive-tertiary',
2049
+ pressed: true,
2050
+ styles: theme.components['button/variant/positive-tertiary/icon/pressed'],
2051
+ },
2052
+ {
2053
+ variant: 'positive',
2054
+ disabled: true,
2055
+ styles: theme.components['button/variant/positive/icon/disabled'],
2056
+ },
2057
+ {
2058
+ variant: 'positive',
2059
+ pressed: true,
2060
+ styles: theme.components['button/variant/positive/icon/pressed'],
2061
+ },
2062
+ {
2063
+ variant: 'primary',
2064
+ disabled: true,
2065
+ styles: theme.components['button/variant/primary/icon/disabled'],
2066
+ },
2067
+ {
2068
+ variant: 'primary',
2069
+ pressed: true,
2070
+ styles: theme.components['button/variant/primary/icon/pressed'],
2071
+ },
2072
+ {
2073
+ variant: 'secondary',
2074
+ disabled: true,
2075
+ styles: theme.components['button/variant/secondary/icon/disabled'],
2076
+ },
2077
+ {
2078
+ variant: 'secondary',
2079
+ pressed: true,
2080
+ styles: theme.components['button/variant/secondary/icon/pressed'],
2081
+ },
2082
+ {
2083
+ variant: 'tertiary',
2084
+ disabled: true,
2085
+ styles: theme.components['button/variant/tertiary/icon/disabled'],
2086
+ },
2087
+ {
2088
+ variant: 'tertiary',
2089
+ pressed: true,
2090
+ styles: theme.components['button/variant/tertiary/icon/pressed'],
2091
+ },
2092
+ {
2093
+ variant: 'warning-secondary',
2094
+ disabled: true,
2095
+ styles: theme.components['button/variant/warning-secondary/icon/disabled'],
2096
+ },
2097
+ {
2098
+ variant: 'warning-secondary',
2099
+ pressed: true,
2100
+ styles: theme.components['button/variant/warning-secondary/icon/pressed'],
2101
+ },
2102
+ {
2103
+ variant: 'warning-tertiary',
2104
+ disabled: true,
2105
+ styles: theme.components['button/variant/warning-tertiary/icon/disabled'],
2106
+ },
2107
+ {
2108
+ variant: 'warning-tertiary',
2109
+ pressed: true,
2110
+ styles: theme.components['button/variant/warning-tertiary/icon/pressed'],
2111
+ },
2112
+ {
2113
+ variant: 'warning',
2114
+ disabled: true,
2115
+ styles: theme.components['button/variant/warning/icon/disabled'],
2116
+ },
2117
+ {
2118
+ variant: 'warning',
2119
+ pressed: true,
2120
+ styles: theme.components['button/variant/warning/icon/pressed'],
2121
+ },
2122
+ ],
2123
+ },
2124
+ }));
2125
+
2126
+ /**
2127
+ * Layer-based styles for Checkbox.
2128
+ * Uses compound variants for state-specific (disabled/pressed) styles.
2129
+ *
2130
+ * Usage:
2131
+ * ```tsx
2132
+ * checkboxStyles.useVariants({
2133
+ * size,
2134
+ * variant,
2135
+ * disabled: isDisabled, // boolean
2136
+ * pressed: isPressed, // boolean
2137
+ * });
2138
+ * // Access: checkboxStyles.root, checkboxStyles.icon, etc.
2139
+ * ```
2140
+ */
2141
+ const checkboxStyles = StyleSheet.create((theme) => ({
2142
+ root: {
2143
+ variants: {
2144
+ size: {
2145
+ md: theme.components['checkbox/size/md/root/rest'],
2146
+ sm: theme.components['checkbox/size/sm/root/rest'],
2147
+ },
2148
+ },
2149
+ },
2150
+ text: {
2151
+ variants: {
2152
+ size: {
2153
+ md: theme.components['checkbox/size/md/rootText/rest'],
2154
+ sm: theme.components['checkbox/size/sm/rootText/rest'],
2155
+ },
2156
+ variant: {
2157
+ alert: theme.components['checkbox/variant/alert/value/checked/rootText/rest'],
2158
+ 'alert-secondary':
2159
+ theme.components['checkbox/variant/alert-secondary/value/checked/rootText/rest'],
2160
+ primary: theme.components['checkbox/variant/primary/value/checked/rootText/rest'],
2161
+ secondary: theme.components['checkbox/variant/secondary/value/checked/rootText/rest'],
2162
+ },
2163
+ disabled: { true: {} },
2164
+ pressed: { true: {} },
2165
+ value: { checked: {}, indeterminate: {}, unchecked: {} },
2166
+ },
2167
+ compoundVariants: [
2168
+ {
2169
+ variant: 'alert-secondary',
2170
+ value: 'checked',
2171
+ disabled: true,
2172
+ styles:
2173
+ theme.components['checkbox/variant/alert-secondary/value/checked/rootText/disabled'],
2174
+ },
2175
+ {
2176
+ variant: 'alert-secondary',
2177
+ value: 'checked',
2178
+ pressed: true,
2179
+ styles: theme.components['checkbox/variant/alert-secondary/value/checked/rootText/pressed'],
2180
+ },
2181
+ {
2182
+ variant: 'alert-secondary',
2183
+ value: 'checked',
2184
+ styles: theme.components['checkbox/variant/alert-secondary/value/checked/rootText/rest'],
2185
+ },
2186
+ {
2187
+ variant: 'alert-secondary',
2188
+ value: 'indeterminate',
2189
+ disabled: true,
2190
+ styles:
2191
+ theme.components[
2192
+ 'checkbox/variant/alert-secondary/value/indeterminate/rootText/disabled'
2193
+ ],
2194
+ },
2195
+ {
2196
+ variant: 'alert-secondary',
2197
+ value: 'indeterminate',
2198
+ pressed: true,
2199
+ styles:
2200
+ theme.components['checkbox/variant/alert-secondary/value/indeterminate/rootText/pressed'],
2201
+ },
2202
+ {
2203
+ variant: 'alert-secondary',
2204
+ value: 'indeterminate',
2205
+ styles:
2206
+ theme.components['checkbox/variant/alert-secondary/value/indeterminate/rootText/rest'],
2207
+ },
2208
+ {
2209
+ variant: 'alert-secondary',
2210
+ value: 'unchecked',
2211
+ disabled: true,
2212
+ styles:
2213
+ theme.components['checkbox/variant/alert-secondary/value/unchecked/rootText/disabled'],
2214
+ },
2215
+ {
2216
+ variant: 'alert-secondary',
2217
+ value: 'unchecked',
2218
+ pressed: true,
2219
+ styles:
2220
+ theme.components['checkbox/variant/alert-secondary/value/unchecked/rootText/pressed'],
2221
+ },
2222
+ {
2223
+ variant: 'alert-secondary',
2224
+ value: 'unchecked',
2225
+ styles: theme.components['checkbox/variant/alert-secondary/value/unchecked/rootText/rest'],
2226
+ },
2227
+ {
2228
+ variant: 'alert',
2229
+ value: 'checked',
2230
+ disabled: true,
2231
+ styles: theme.components['checkbox/variant/alert/value/checked/rootText/disabled'],
2232
+ },
2233
+ {
2234
+ variant: 'alert',
2235
+ value: 'checked',
2236
+ pressed: true,
2237
+ styles: theme.components['checkbox/variant/alert/value/checked/rootText/pressed'],
2238
+ },
2239
+ {
2240
+ variant: 'alert',
2241
+ value: 'checked',
2242
+ styles: theme.components['checkbox/variant/alert/value/checked/rootText/rest'],
2243
+ },
2244
+ {
2245
+ variant: 'alert',
2246
+ value: 'indeterminate',
2247
+ disabled: true,
2248
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/rootText/disabled'],
2249
+ },
2250
+ {
2251
+ variant: 'alert',
2252
+ value: 'indeterminate',
2253
+ pressed: true,
2254
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/rootText/pressed'],
2255
+ },
2256
+ {
2257
+ variant: 'alert',
2258
+ value: 'indeterminate',
2259
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/rootText/rest'],
2260
+ },
2261
+ {
2262
+ variant: 'alert',
2263
+ value: 'unchecked',
2264
+ disabled: true,
2265
+ styles: theme.components['checkbox/variant/alert/value/unchecked/rootText/disabled'],
2266
+ },
2267
+ {
2268
+ variant: 'alert',
2269
+ value: 'unchecked',
2270
+ pressed: true,
2271
+ styles: theme.components['checkbox/variant/alert/value/unchecked/rootText/pressed'],
2272
+ },
2273
+ {
2274
+ variant: 'alert',
2275
+ value: 'unchecked',
2276
+ styles: theme.components['checkbox/variant/alert/value/unchecked/rootText/rest'],
2277
+ },
2278
+ {
2279
+ variant: 'primary',
2280
+ value: 'checked',
2281
+ disabled: true,
2282
+ styles: theme.components['checkbox/variant/primary/value/checked/rootText/disabled'],
2283
+ },
2284
+ {
2285
+ variant: 'primary',
2286
+ value: 'checked',
2287
+ pressed: true,
2288
+ styles: theme.components['checkbox/variant/primary/value/checked/rootText/pressed'],
2289
+ },
2290
+ {
2291
+ variant: 'primary',
2292
+ value: 'checked',
2293
+ styles: theme.components['checkbox/variant/primary/value/checked/rootText/rest'],
2294
+ },
2295
+ {
2296
+ variant: 'primary',
2297
+ value: 'indeterminate',
2298
+ disabled: true,
2299
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/rootText/disabled'],
2300
+ },
2301
+ {
2302
+ variant: 'primary',
2303
+ value: 'indeterminate',
2304
+ pressed: true,
2305
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/rootText/pressed'],
2306
+ },
2307
+ {
2308
+ variant: 'primary',
2309
+ value: 'indeterminate',
2310
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/rootText/rest'],
2311
+ },
2312
+ {
2313
+ variant: 'primary',
2314
+ value: 'unchecked',
2315
+ disabled: true,
2316
+ styles: theme.components['checkbox/variant/primary/value/unchecked/rootText/disabled'],
2317
+ },
2318
+ {
2319
+ variant: 'primary',
2320
+ value: 'unchecked',
2321
+ pressed: true,
2322
+ styles: theme.components['checkbox/variant/primary/value/unchecked/rootText/pressed'],
2323
+ },
2324
+ {
2325
+ variant: 'primary',
2326
+ value: 'unchecked',
2327
+ styles: theme.components['checkbox/variant/primary/value/unchecked/rootText/rest'],
2328
+ },
2329
+ {
2330
+ variant: 'secondary',
2331
+ value: 'checked',
2332
+ disabled: true,
2333
+ styles: theme.components['checkbox/variant/secondary/value/checked/rootText/disabled'],
2334
+ },
2335
+ {
2336
+ variant: 'secondary',
2337
+ value: 'checked',
2338
+ pressed: true,
2339
+ styles: theme.components['checkbox/variant/secondary/value/checked/rootText/pressed'],
2340
+ },
2341
+ {
2342
+ variant: 'secondary',
2343
+ value: 'checked',
2344
+ styles: theme.components['checkbox/variant/secondary/value/checked/rootText/rest'],
2345
+ },
2346
+ {
2347
+ variant: 'secondary',
2348
+ value: 'indeterminate',
2349
+ disabled: true,
2350
+ styles:
2351
+ theme.components['checkbox/variant/secondary/value/indeterminate/rootText/disabled'],
2352
+ },
2353
+ {
2354
+ variant: 'secondary',
2355
+ value: 'indeterminate',
2356
+ pressed: true,
2357
+ styles: theme.components['checkbox/variant/secondary/value/indeterminate/rootText/pressed'],
2358
+ },
2359
+ {
2360
+ variant: 'secondary',
2361
+ value: 'indeterminate',
2362
+ styles: theme.components['checkbox/variant/secondary/value/indeterminate/rootText/rest'],
2363
+ },
2364
+ {
2365
+ variant: 'secondary',
2366
+ value: 'unchecked',
2367
+ disabled: true,
2368
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/rootText/disabled'],
2369
+ },
2370
+ {
2371
+ variant: 'secondary',
2372
+ value: 'unchecked',
2373
+ pressed: true,
2374
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/rootText/pressed'],
2375
+ },
2376
+ {
2377
+ variant: 'secondary',
2378
+ value: 'unchecked',
2379
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/rootText/rest'],
2380
+ },
2381
+ ],
2382
+ },
2383
+ checkbox: {
2384
+ variants: {
2385
+ size: {
2386
+ md: theme.components['checkbox/size/md/checkbox/rest'],
2387
+ sm: theme.components['checkbox/size/sm/checkbox/rest'],
2388
+ },
2389
+ variant: {
2390
+ alert: theme.components['checkbox/variant/alert/value/checked/checkbox/rest'],
2391
+ 'alert-secondary':
2392
+ theme.components['checkbox/variant/alert-secondary/value/checked/checkbox/rest'],
2393
+ primary: theme.components['checkbox/variant/primary/value/checked/checkbox/rest'],
2394
+ secondary: theme.components['checkbox/variant/secondary/value/checked/checkbox/rest'],
2395
+ },
2396
+ disabled: { true: {} },
2397
+ pressed: { true: {} },
2398
+ value: { checked: {}, indeterminate: {}, unchecked: {} },
2399
+ },
2400
+ compoundVariants: [
2401
+ {
2402
+ variant: 'alert-secondary',
2403
+ value: 'checked',
2404
+ disabled: true,
2405
+ styles:
2406
+ theme.components['checkbox/variant/alert-secondary/value/checked/checkbox/disabled'],
2407
+ },
2408
+ {
2409
+ variant: 'alert-secondary',
2410
+ value: 'checked',
2411
+ pressed: true,
2412
+ styles: theme.components['checkbox/variant/alert-secondary/value/checked/checkbox/pressed'],
2413
+ },
2414
+ {
2415
+ variant: 'alert-secondary',
2416
+ value: 'checked',
2417
+ styles: theme.components['checkbox/variant/alert-secondary/value/checked/checkbox/rest'],
2418
+ },
2419
+ {
2420
+ variant: 'alert-secondary',
2421
+ value: 'indeterminate',
2422
+ disabled: true,
2423
+ styles:
2424
+ theme.components[
2425
+ 'checkbox/variant/alert-secondary/value/indeterminate/checkbox/disabled'
2426
+ ],
2427
+ },
2428
+ {
2429
+ variant: 'alert-secondary',
2430
+ value: 'indeterminate',
2431
+ pressed: true,
2432
+ styles:
2433
+ theme.components['checkbox/variant/alert-secondary/value/indeterminate/checkbox/pressed'],
2434
+ },
2435
+ {
2436
+ variant: 'alert-secondary',
2437
+ value: 'indeterminate',
2438
+ styles:
2439
+ theme.components['checkbox/variant/alert-secondary/value/indeterminate/checkbox/rest'],
2440
+ },
2441
+ {
2442
+ variant: 'alert-secondary',
2443
+ value: 'unchecked',
2444
+ disabled: true,
2445
+ styles:
2446
+ theme.components['checkbox/variant/alert-secondary/value/unchecked/checkbox/disabled'],
2447
+ },
2448
+ {
2449
+ variant: 'alert-secondary',
2450
+ value: 'unchecked',
2451
+ pressed: true,
2452
+ styles:
2453
+ theme.components['checkbox/variant/alert-secondary/value/unchecked/checkbox/pressed'],
2454
+ },
2455
+ {
2456
+ variant: 'alert-secondary',
2457
+ value: 'unchecked',
2458
+ styles: theme.components['checkbox/variant/alert-secondary/value/unchecked/checkbox/rest'],
2459
+ },
2460
+ {
2461
+ variant: 'alert',
2462
+ value: 'checked',
2463
+ disabled: true,
2464
+ styles: theme.components['checkbox/variant/alert/value/checked/checkbox/disabled'],
2465
+ },
2466
+ {
2467
+ variant: 'alert',
2468
+ value: 'checked',
2469
+ pressed: true,
2470
+ styles: theme.components['checkbox/variant/alert/value/checked/checkbox/pressed'],
2471
+ },
2472
+ {
2473
+ variant: 'alert',
2474
+ value: 'checked',
2475
+ styles: theme.components['checkbox/variant/alert/value/checked/checkbox/rest'],
2476
+ },
2477
+ {
2478
+ variant: 'alert',
2479
+ value: 'indeterminate',
2480
+ disabled: true,
2481
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/checkbox/disabled'],
2482
+ },
2483
+ {
2484
+ variant: 'alert',
2485
+ value: 'indeterminate',
2486
+ pressed: true,
2487
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/checkbox/pressed'],
2488
+ },
2489
+ {
2490
+ variant: 'alert',
2491
+ value: 'indeterminate',
2492
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/checkbox/rest'],
2493
+ },
2494
+ {
2495
+ variant: 'alert',
2496
+ value: 'unchecked',
2497
+ disabled: true,
2498
+ styles: theme.components['checkbox/variant/alert/value/unchecked/checkbox/disabled'],
2499
+ },
2500
+ {
2501
+ variant: 'alert',
2502
+ value: 'unchecked',
2503
+ pressed: true,
2504
+ styles: theme.components['checkbox/variant/alert/value/unchecked/checkbox/pressed'],
2505
+ },
2506
+ {
2507
+ variant: 'alert',
2508
+ value: 'unchecked',
2509
+ styles: theme.components['checkbox/variant/alert/value/unchecked/checkbox/rest'],
2510
+ },
2511
+ {
2512
+ variant: 'primary',
2513
+ value: 'checked',
2514
+ disabled: true,
2515
+ styles: theme.components['checkbox/variant/primary/value/checked/checkbox/disabled'],
2516
+ },
2517
+ {
2518
+ variant: 'primary',
2519
+ value: 'checked',
2520
+ pressed: true,
2521
+ styles: theme.components['checkbox/variant/primary/value/checked/checkbox/pressed'],
2522
+ },
2523
+ {
2524
+ variant: 'primary',
2525
+ value: 'checked',
2526
+ styles: theme.components['checkbox/variant/primary/value/checked/checkbox/rest'],
2527
+ },
2528
+ {
2529
+ variant: 'primary',
2530
+ value: 'indeterminate',
2531
+ disabled: true,
2532
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/checkbox/disabled'],
2533
+ },
2534
+ {
2535
+ variant: 'primary',
2536
+ value: 'indeterminate',
2537
+ pressed: true,
2538
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/checkbox/pressed'],
2539
+ },
2540
+ {
2541
+ variant: 'primary',
2542
+ value: 'indeterminate',
2543
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/checkbox/rest'],
2544
+ },
2545
+ {
2546
+ variant: 'primary',
2547
+ value: 'unchecked',
2548
+ disabled: true,
2549
+ styles: theme.components['checkbox/variant/primary/value/unchecked/checkbox/disabled'],
2550
+ },
2551
+ {
2552
+ variant: 'primary',
2553
+ value: 'unchecked',
2554
+ pressed: true,
2555
+ styles: theme.components['checkbox/variant/primary/value/unchecked/checkbox/pressed'],
2556
+ },
2557
+ {
2558
+ variant: 'primary',
2559
+ value: 'unchecked',
2560
+ styles: theme.components['checkbox/variant/primary/value/unchecked/checkbox/rest'],
2561
+ },
2562
+ {
2563
+ variant: 'secondary',
2564
+ value: 'checked',
2565
+ disabled: true,
2566
+ styles: theme.components['checkbox/variant/secondary/value/checked/checkbox/disabled'],
2567
+ },
2568
+ {
2569
+ variant: 'secondary',
2570
+ value: 'checked',
2571
+ pressed: true,
2572
+ styles: theme.components['checkbox/variant/secondary/value/checked/checkbox/pressed'],
2573
+ },
2574
+ {
2575
+ variant: 'secondary',
2576
+ value: 'checked',
2577
+ styles: theme.components['checkbox/variant/secondary/value/checked/checkbox/rest'],
2578
+ },
2579
+ {
2580
+ variant: 'secondary',
2581
+ value: 'indeterminate',
2582
+ disabled: true,
2583
+ styles:
2584
+ theme.components['checkbox/variant/secondary/value/indeterminate/checkbox/disabled'],
2585
+ },
2586
+ {
2587
+ variant: 'secondary',
2588
+ value: 'indeterminate',
2589
+ pressed: true,
2590
+ styles: theme.components['checkbox/variant/secondary/value/indeterminate/checkbox/pressed'],
2591
+ },
2592
+ {
2593
+ variant: 'secondary',
2594
+ value: 'indeterminate',
2595
+ styles: theme.components['checkbox/variant/secondary/value/indeterminate/checkbox/rest'],
2596
+ },
2597
+ {
2598
+ variant: 'secondary',
2599
+ value: 'unchecked',
2600
+ disabled: true,
2601
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/checkbox/disabled'],
2602
+ },
2603
+ {
2604
+ variant: 'secondary',
2605
+ value: 'unchecked',
2606
+ pressed: true,
2607
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/checkbox/pressed'],
2608
+ },
2609
+ {
2610
+ variant: 'secondary',
2611
+ value: 'unchecked',
2612
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/checkbox/rest'],
2613
+ },
2614
+ ],
2615
+ },
2616
+ checkboxIcon: {
2617
+ variants: {
2618
+ variant: {
2619
+ alert: theme.components['checkbox/variant/alert/value/checked/checkboxIcon/rest'],
2620
+ 'alert-secondary':
2621
+ theme.components['checkbox/variant/alert-secondary/value/checked/checkboxIcon/rest'],
2622
+ primary: theme.components['checkbox/variant/primary/value/checked/checkboxIcon/rest'],
2623
+ secondary: theme.components['checkbox/variant/secondary/value/checked/checkboxIcon/rest'],
2624
+ },
2625
+ disabled: { true: {} },
2626
+ pressed: { true: {} },
2627
+ value: { checked: {}, indeterminate: {}, unchecked: {} },
2628
+ },
2629
+ compoundVariants: [
2630
+ {
2631
+ variant: 'alert-secondary',
2632
+ value: 'checked',
2633
+ disabled: true,
2634
+ styles:
2635
+ theme.components['checkbox/variant/alert-secondary/value/checked/checkboxIcon/disabled'],
2636
+ },
2637
+ {
2638
+ variant: 'alert-secondary',
2639
+ value: 'checked',
2640
+ pressed: true,
2641
+ styles:
2642
+ theme.components['checkbox/variant/alert-secondary/value/checked/checkboxIcon/pressed'],
2643
+ },
2644
+ {
2645
+ variant: 'alert-secondary',
2646
+ value: 'checked',
2647
+ styles:
2648
+ theme.components['checkbox/variant/alert-secondary/value/checked/checkboxIcon/rest'],
2649
+ },
2650
+ {
2651
+ variant: 'alert-secondary',
2652
+ value: 'indeterminate',
2653
+ disabled: true,
2654
+ styles:
2655
+ theme.components[
2656
+ 'checkbox/variant/alert-secondary/value/indeterminate/checkboxIcon/disabled'
2657
+ ],
2658
+ },
2659
+ {
2660
+ variant: 'alert-secondary',
2661
+ value: 'indeterminate',
2662
+ pressed: true,
2663
+ styles:
2664
+ theme.components[
2665
+ 'checkbox/variant/alert-secondary/value/indeterminate/checkboxIcon/pressed'
2666
+ ],
2667
+ },
2668
+ {
2669
+ variant: 'alert-secondary',
2670
+ value: 'indeterminate',
2671
+ styles:
2672
+ theme.components[
2673
+ 'checkbox/variant/alert-secondary/value/indeterminate/checkboxIcon/rest'
2674
+ ],
2675
+ },
2676
+ {
2677
+ variant: 'alert-secondary',
2678
+ value: 'unchecked',
2679
+ disabled: true,
2680
+ styles:
2681
+ theme.components[
2682
+ 'checkbox/variant/alert-secondary/value/unchecked/checkboxIcon/disabled'
2683
+ ],
2684
+ },
2685
+ {
2686
+ variant: 'alert-secondary',
2687
+ value: 'unchecked',
2688
+ pressed: true,
2689
+ styles:
2690
+ theme.components['checkbox/variant/alert-secondary/value/unchecked/checkboxIcon/pressed'],
2691
+ },
2692
+ {
2693
+ variant: 'alert-secondary',
2694
+ value: 'unchecked',
2695
+ styles:
2696
+ theme.components['checkbox/variant/alert-secondary/value/unchecked/checkboxIcon/rest'],
2697
+ },
2698
+ {
2699
+ variant: 'alert',
2700
+ value: 'checked',
2701
+ disabled: true,
2702
+ styles: theme.components['checkbox/variant/alert/value/checked/checkboxIcon/disabled'],
2703
+ },
2704
+ {
2705
+ variant: 'alert',
2706
+ value: 'checked',
2707
+ pressed: true,
2708
+ styles: theme.components['checkbox/variant/alert/value/checked/checkboxIcon/pressed'],
2709
+ },
2710
+ {
2711
+ variant: 'alert',
2712
+ value: 'checked',
2713
+ styles: theme.components['checkbox/variant/alert/value/checked/checkboxIcon/rest'],
2714
+ },
2715
+ {
2716
+ variant: 'alert',
2717
+ value: 'indeterminate',
2718
+ disabled: true,
2719
+ styles:
2720
+ theme.components['checkbox/variant/alert/value/indeterminate/checkboxIcon/disabled'],
2721
+ },
2722
+ {
2723
+ variant: 'alert',
2724
+ value: 'indeterminate',
2725
+ pressed: true,
2726
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/checkboxIcon/pressed'],
2727
+ },
2728
+ {
2729
+ variant: 'alert',
2730
+ value: 'indeterminate',
2731
+ styles: theme.components['checkbox/variant/alert/value/indeterminate/checkboxIcon/rest'],
2732
+ },
2733
+ {
2734
+ variant: 'alert',
2735
+ value: 'unchecked',
2736
+ disabled: true,
2737
+ styles: theme.components['checkbox/variant/alert/value/unchecked/checkboxIcon/disabled'],
2738
+ },
2739
+ {
2740
+ variant: 'alert',
2741
+ value: 'unchecked',
2742
+ pressed: true,
2743
+ styles: theme.components['checkbox/variant/alert/value/unchecked/checkboxIcon/pressed'],
2744
+ },
2745
+ {
2746
+ variant: 'alert',
2747
+ value: 'unchecked',
2748
+ styles: theme.components['checkbox/variant/alert/value/unchecked/checkboxIcon/rest'],
2749
+ },
2750
+ {
2751
+ variant: 'primary',
2752
+ value: 'checked',
2753
+ disabled: true,
2754
+ styles: theme.components['checkbox/variant/primary/value/checked/checkboxIcon/disabled'],
2755
+ },
2756
+ {
2757
+ variant: 'primary',
2758
+ value: 'checked',
2759
+ pressed: true,
2760
+ styles: theme.components['checkbox/variant/primary/value/checked/checkboxIcon/pressed'],
2761
+ },
2762
+ {
2763
+ variant: 'primary',
2764
+ value: 'checked',
2765
+ styles: theme.components['checkbox/variant/primary/value/checked/checkboxIcon/rest'],
2766
+ },
2767
+ {
2768
+ variant: 'primary',
2769
+ value: 'indeterminate',
2770
+ disabled: true,
2771
+ styles:
2772
+ theme.components['checkbox/variant/primary/value/indeterminate/checkboxIcon/disabled'],
2773
+ },
2774
+ {
2775
+ variant: 'primary',
2776
+ value: 'indeterminate',
2777
+ pressed: true,
2778
+ styles:
2779
+ theme.components['checkbox/variant/primary/value/indeterminate/checkboxIcon/pressed'],
2780
+ },
2781
+ {
2782
+ variant: 'primary',
2783
+ value: 'indeterminate',
2784
+ styles: theme.components['checkbox/variant/primary/value/indeterminate/checkboxIcon/rest'],
2785
+ },
2786
+ {
2787
+ variant: 'primary',
2788
+ value: 'unchecked',
2789
+ disabled: true,
2790
+ styles: theme.components['checkbox/variant/primary/value/unchecked/checkboxIcon/disabled'],
2791
+ },
2792
+ {
2793
+ variant: 'primary',
2794
+ value: 'unchecked',
2795
+ pressed: true,
2796
+ styles: theme.components['checkbox/variant/primary/value/unchecked/checkboxIcon/pressed'],
2797
+ },
2798
+ {
2799
+ variant: 'primary',
2800
+ value: 'unchecked',
2801
+ styles: theme.components['checkbox/variant/primary/value/unchecked/checkboxIcon/rest'],
2802
+ },
2803
+ {
2804
+ variant: 'secondary',
2805
+ value: 'checked',
2806
+ disabled: true,
2807
+ styles: theme.components['checkbox/variant/secondary/value/checked/checkboxIcon/disabled'],
2808
+ },
2809
+ {
2810
+ variant: 'secondary',
2811
+ value: 'checked',
2812
+ pressed: true,
2813
+ styles: theme.components['checkbox/variant/secondary/value/checked/checkboxIcon/pressed'],
2814
+ },
2815
+ {
2816
+ variant: 'secondary',
2817
+ value: 'checked',
2818
+ styles: theme.components['checkbox/variant/secondary/value/checked/checkboxIcon/rest'],
2819
+ },
2820
+ {
2821
+ variant: 'secondary',
2822
+ value: 'indeterminate',
2823
+ disabled: true,
2824
+ styles:
2825
+ theme.components['checkbox/variant/secondary/value/indeterminate/checkboxIcon/disabled'],
2826
+ },
2827
+ {
2828
+ variant: 'secondary',
2829
+ value: 'indeterminate',
2830
+ pressed: true,
2831
+ styles:
2832
+ theme.components['checkbox/variant/secondary/value/indeterminate/checkboxIcon/pressed'],
2833
+ },
2834
+ {
2835
+ variant: 'secondary',
2836
+ value: 'indeterminate',
2837
+ styles:
2838
+ theme.components['checkbox/variant/secondary/value/indeterminate/checkboxIcon/rest'],
2839
+ },
2840
+ {
2841
+ variant: 'secondary',
2842
+ value: 'unchecked',
2843
+ disabled: true,
2844
+ styles:
2845
+ theme.components['checkbox/variant/secondary/value/unchecked/checkboxIcon/disabled'],
2846
+ },
2847
+ {
2848
+ variant: 'secondary',
2849
+ value: 'unchecked',
2850
+ pressed: true,
2851
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/checkboxIcon/pressed'],
2852
+ },
2853
+ {
2854
+ variant: 'secondary',
2855
+ value: 'unchecked',
2856
+ styles: theme.components['checkbox/variant/secondary/value/unchecked/checkboxIcon/rest'],
2857
+ },
2858
+ ],
2859
+ },
2860
+ }));
2861
+
2862
+ /**
2863
+ * Layer-based styles for Chip.
2864
+ * Uses compound variants for state-specific (disabled/pressed) styles.
2865
+ *
2866
+ * Usage:
2867
+ * ```tsx
2868
+ * chipStyles.useVariants({
2869
+ * size,
2870
+ * variant,
2871
+ * disabled: isDisabled, // boolean
2872
+ * pressed: isPressed, // boolean
2873
+ * });
2874
+ * // Access: chipStyles.root, chipStyles.icon, etc.
2875
+ * ```
2876
+ */
2877
+ const chipStyles = StyleSheet.create((theme) => ({
2878
+ root: {
2879
+ variants: {
2880
+ size: {
2881
+ md: theme.components['chip/size/md/root/rest'],
2882
+ sm: theme.components['chip/size/sm/root/rest'],
2883
+ },
2884
+ pressed: { true: {} },
2885
+ dismissible: {
2886
+ brand: theme.components['chip/dismissible/variant/brand/root/rest'],
2887
+ 'brand-secondary': theme.components['chip/dismissible/variant/brand-secondary/root/rest'],
2888
+ primary: theme.components['chip/dismissible/variant/primary/root/rest'],
2889
+ secondary: theme.components['chip/dismissible/variant/secondary/root/rest'],
2890
+ },
2891
+ link: {
2892
+ brand: theme.components['chip/link/variant/brand/root/rest'],
2893
+ 'brand-secondary': theme.components['chip/link/variant/brand-secondary/root/rest'],
2894
+ primary: theme.components['chip/link/variant/primary/root/rest'],
2895
+ secondary: theme.components['chip/link/variant/secondary/root/rest'],
2896
+ },
2897
+ toggle: {
2898
+ off: theme.components['chip/toggle/variant/brand-secondary/active/off/root/rest'],
2899
+ on: theme.components['chip/toggle/variant/brand-secondary/active/on/root/rest'],
2900
+ },
2901
+ },
2902
+ compoundVariants: [
2903
+ {
2904
+ dismissible: 'brand-secondary',
2905
+ pressed: true,
2906
+ styles: theme.components['chip/dismissible/variant/brand-secondary/root/pressed'],
2907
+ },
2908
+ {
2909
+ dismissible: 'brand',
2910
+ pressed: true,
2911
+ styles: theme.components['chip/dismissible/variant/brand/root/pressed'],
2912
+ },
2913
+ {
2914
+ dismissible: 'primary',
2915
+ pressed: true,
2916
+ styles: theme.components['chip/dismissible/variant/primary/root/pressed'],
2917
+ },
2918
+ {
2919
+ dismissible: 'secondary',
2920
+ pressed: true,
2921
+ styles: theme.components['chip/dismissible/variant/secondary/root/pressed'],
2922
+ },
2923
+ {
2924
+ link: 'brand-secondary',
2925
+ pressed: true,
2926
+ styles: theme.components['chip/link/variant/brand-secondary/root/pressed'],
2927
+ },
2928
+ {
2929
+ link: 'brand',
2930
+ pressed: true,
2931
+ styles: theme.components['chip/link/variant/brand/root/pressed'],
2932
+ },
2933
+ {
2934
+ link: 'primary',
2935
+ pressed: true,
2936
+ styles: theme.components['chip/link/variant/primary/root/pressed'],
2937
+ },
2938
+ {
2939
+ link: 'secondary',
2940
+ pressed: true,
2941
+ styles: theme.components['chip/link/variant/secondary/root/pressed'],
2942
+ },
2943
+ {
2944
+ toggle: 'off',
2945
+ pressed: true,
2946
+ styles: theme.components['chip/toggle/variant/brand-secondary/active/off/root/pressed'],
2947
+ },
2948
+ {
2949
+ toggle: 'off',
2950
+ pressed: true,
2951
+ styles: theme.components['chip/toggle/variant/brand/active/off/root/pressed'],
2952
+ },
2953
+ {
2954
+ toggle: 'off',
2955
+ pressed: true,
2956
+ styles: theme.components['chip/toggle/variant/primary/active/off/root/pressed'],
2957
+ },
2958
+ {
2959
+ toggle: 'off',
2960
+ pressed: true,
2961
+ styles: theme.components['chip/toggle/variant/secondary/active/off/root/pressed'],
2962
+ },
2963
+ {
2964
+ toggle: 'on',
2965
+ pressed: true,
2966
+ styles: theme.components['chip/toggle/variant/brand-secondary/active/on/root/pressed'],
2967
+ },
2968
+ {
2969
+ toggle: 'on',
2970
+ pressed: true,
2971
+ styles: theme.components['chip/toggle/variant/brand/active/on/root/pressed'],
2972
+ },
2973
+ {
2974
+ toggle: 'on',
2975
+ pressed: true,
2976
+ styles: theme.components['chip/toggle/variant/primary/active/on/root/pressed'],
2977
+ },
2978
+ {
2979
+ toggle: 'on',
2980
+ pressed: true,
2981
+ styles: theme.components['chip/toggle/variant/secondary/active/on/root/pressed'],
2982
+ },
2983
+ ],
2984
+ },
2985
+ text: {
2986
+ variants: {
2987
+ size: {
2988
+ md: theme.components['chip/size/md/rootText/rest'],
2989
+ sm: theme.components['chip/size/sm/rootText/rest'],
2990
+ },
2991
+ pressed: { true: {} },
2992
+ dismissible: {
2993
+ brand: theme.components['chip/dismissible/variant/brand/rootText/rest'],
2994
+ 'brand-secondary':
2995
+ theme.components['chip/dismissible/variant/brand-secondary/rootText/rest'],
2996
+ primary: theme.components['chip/dismissible/variant/primary/rootText/rest'],
2997
+ secondary: theme.components['chip/dismissible/variant/secondary/rootText/rest'],
2998
+ },
2999
+ link: {
3000
+ brand: theme.components['chip/link/variant/brand/rootText/rest'],
3001
+ 'brand-secondary': theme.components['chip/link/variant/brand-secondary/rootText/rest'],
3002
+ primary: theme.components['chip/link/variant/primary/rootText/rest'],
3003
+ secondary: theme.components['chip/link/variant/secondary/rootText/rest'],
3004
+ },
3005
+ toggle: {
3006
+ off: theme.components['chip/toggle/variant/brand-secondary/active/off/rootText/rest'],
3007
+ on: theme.components['chip/toggle/variant/brand-secondary/active/on/rootText/rest'],
3008
+ },
3009
+ },
3010
+ compoundVariants: [
3011
+ {
3012
+ dismissible: 'brand-secondary',
3013
+ pressed: true,
3014
+ styles: theme.components['chip/dismissible/variant/brand-secondary/rootText/pressed'],
3015
+ },
3016
+ {
3017
+ dismissible: 'brand',
3018
+ pressed: true,
3019
+ styles: theme.components['chip/dismissible/variant/brand/rootText/pressed'],
3020
+ },
3021
+ {
3022
+ dismissible: 'primary',
3023
+ pressed: true,
3024
+ styles: theme.components['chip/dismissible/variant/primary/rootText/pressed'],
3025
+ },
3026
+ {
3027
+ dismissible: 'secondary',
3028
+ pressed: true,
3029
+ styles: theme.components['chip/dismissible/variant/secondary/rootText/pressed'],
3030
+ },
3031
+ {
3032
+ link: 'brand-secondary',
3033
+ pressed: true,
3034
+ styles: theme.components['chip/link/variant/brand-secondary/rootText/pressed'],
3035
+ },
3036
+ {
3037
+ link: 'brand',
3038
+ pressed: true,
3039
+ styles: theme.components['chip/link/variant/brand/rootText/pressed'],
3040
+ },
3041
+ {
3042
+ link: 'primary',
3043
+ pressed: true,
3044
+ styles: theme.components['chip/link/variant/primary/rootText/pressed'],
3045
+ },
3046
+ {
3047
+ link: 'secondary',
3048
+ pressed: true,
3049
+ styles: theme.components['chip/link/variant/secondary/rootText/pressed'],
3050
+ },
3051
+ {
3052
+ toggle: 'off',
3053
+ pressed: true,
3054
+ styles: theme.components['chip/toggle/variant/brand-secondary/active/off/rootText/pressed'],
3055
+ },
3056
+ {
3057
+ toggle: 'off',
3058
+ pressed: true,
3059
+ styles: theme.components['chip/toggle/variant/brand/active/off/rootText/pressed'],
3060
+ },
3061
+ {
3062
+ toggle: 'off',
3063
+ pressed: true,
3064
+ styles: theme.components['chip/toggle/variant/primary/active/off/rootText/pressed'],
3065
+ },
3066
+ {
3067
+ toggle: 'off',
3068
+ pressed: true,
3069
+ styles: theme.components['chip/toggle/variant/secondary/active/off/rootText/pressed'],
3070
+ },
3071
+ {
3072
+ toggle: 'on',
3073
+ pressed: true,
3074
+ styles: theme.components['chip/toggle/variant/brand-secondary/active/on/rootText/pressed'],
3075
+ },
3076
+ {
3077
+ toggle: 'on',
3078
+ pressed: true,
3079
+ styles: theme.components['chip/toggle/variant/brand/active/on/rootText/pressed'],
3080
+ },
3081
+ {
3082
+ toggle: 'on',
3083
+ pressed: true,
3084
+ styles: theme.components['chip/toggle/variant/primary/active/on/rootText/pressed'],
3085
+ },
3086
+ {
3087
+ toggle: 'on',
3088
+ pressed: true,
3089
+ styles: theme.components['chip/toggle/variant/secondary/active/on/rootText/pressed'],
3090
+ },
3091
+ ],
3092
+ },
3093
+ icon: {
3094
+ variants: {
3095
+ size: {
3096
+ md: theme.components['chip/size/md/icon/rest'],
3097
+ sm: theme.components['chip/size/sm/icon/rest'],
3098
+ },
3099
+ pressed: { true: {} },
3100
+ dismissible: {
3101
+ brand: theme.components['chip/dismissible/variant/brand/icon/rest'],
3102
+ 'brand-secondary': theme.components['chip/dismissible/variant/brand-secondary/icon/rest'],
3103
+ primary: theme.components['chip/dismissible/variant/primary/icon/rest'],
3104
+ secondary: theme.components['chip/dismissible/variant/secondary/icon/rest'],
3105
+ },
3106
+ link: {
3107
+ brand: theme.components['chip/link/variant/brand/icon/rest'],
3108
+ 'brand-secondary': theme.components['chip/link/variant/brand-secondary/icon/rest'],
3109
+ primary: theme.components['chip/link/variant/primary/icon/rest'],
3110
+ secondary: theme.components['chip/link/variant/secondary/icon/rest'],
3111
+ },
3112
+ toggle: {
3113
+ off: theme.components['chip/toggle/variant/brand-secondary/active/off/icon/rest'],
3114
+ on: theme.components['chip/toggle/variant/brand-secondary/active/on/icon/rest'],
3115
+ },
3116
+ },
3117
+ compoundVariants: [
3118
+ {
3119
+ dismissible: 'brand-secondary',
3120
+ pressed: true,
3121
+ styles: theme.components['chip/dismissible/variant/brand-secondary/icon/pressed'],
3122
+ },
3123
+ {
3124
+ dismissible: 'brand',
3125
+ pressed: true,
3126
+ styles: theme.components['chip/dismissible/variant/brand/icon/pressed'],
3127
+ },
3128
+ {
3129
+ dismissible: 'primary',
3130
+ pressed: true,
3131
+ styles: theme.components['chip/dismissible/variant/primary/icon/pressed'],
3132
+ },
3133
+ {
3134
+ dismissible: 'secondary',
3135
+ pressed: true,
3136
+ styles: theme.components['chip/dismissible/variant/secondary/icon/pressed'],
3137
+ },
3138
+ {
3139
+ link: 'brand-secondary',
3140
+ pressed: true,
3141
+ styles: theme.components['chip/link/variant/brand-secondary/icon/pressed'],
3142
+ },
3143
+ {
3144
+ link: 'brand',
3145
+ pressed: true,
3146
+ styles: theme.components['chip/link/variant/brand/icon/pressed'],
3147
+ },
3148
+ {
3149
+ link: 'primary',
3150
+ pressed: true,
3151
+ styles: theme.components['chip/link/variant/primary/icon/pressed'],
3152
+ },
3153
+ {
3154
+ link: 'secondary',
3155
+ pressed: true,
3156
+ styles: theme.components['chip/link/variant/secondary/icon/pressed'],
3157
+ },
3158
+ {
3159
+ toggle: 'off',
3160
+ pressed: true,
3161
+ styles: theme.components['chip/toggle/variant/brand-secondary/active/off/icon/pressed'],
3162
+ },
3163
+ {
3164
+ toggle: 'off',
3165
+ pressed: true,
3166
+ styles: theme.components['chip/toggle/variant/brand/active/off/icon/pressed'],
3167
+ },
3168
+ {
3169
+ toggle: 'off',
3170
+ pressed: true,
3171
+ styles: theme.components['chip/toggle/variant/primary/active/off/icon/pressed'],
3172
+ },
3173
+ {
3174
+ toggle: 'off',
3175
+ pressed: true,
3176
+ styles: theme.components['chip/toggle/variant/secondary/active/off/icon/pressed'],
3177
+ },
3178
+ {
3179
+ toggle: 'on',
3180
+ pressed: true,
3181
+ styles: theme.components['chip/toggle/variant/brand-secondary/active/on/icon/pressed'],
3182
+ },
3183
+ {
3184
+ toggle: 'on',
3185
+ pressed: true,
3186
+ styles: theme.components['chip/toggle/variant/brand/active/on/icon/pressed'],
3187
+ },
3188
+ {
3189
+ toggle: 'on',
3190
+ pressed: true,
3191
+ styles: theme.components['chip/toggle/variant/primary/active/on/icon/pressed'],
3192
+ },
3193
+ {
3194
+ toggle: 'on',
3195
+ pressed: true,
3196
+ styles: theme.components['chip/toggle/variant/secondary/active/on/icon/pressed'],
3197
+ },
3198
+ ],
3199
+ },
3200
+ }));
3201
+
3202
+ /**
3203
+ * Layer-based styles for Divider.
3204
+ * Uses compound variants for state-specific (disabled/pressed) styles.
3205
+ *
3206
+ * Usage:
3207
+ * ```tsx
3208
+ * dividerStyles.useVariants({
3209
+ * size,
3210
+ * variant,
3211
+ * disabled: isDisabled, // boolean
3212
+ * pressed: isPressed, // boolean
3213
+ * });
3214
+ * // Access: dividerStyles.root, dividerStyles.icon, etc.
3215
+ * ```
3216
+ */
3217
+ const dividerStyles = StyleSheet.create((theme) => ({
3218
+ root: {
3219
+ variants: {
3220
+ variant: {
3221
+ muted: theme.components['divider/variant/muted/root/rest'],
3222
+ primary: theme.components['divider/variant/primary/root/rest'],
3223
+ secondary: theme.components['divider/variant/secondary/root/rest'],
3224
+ tertiary: theme.components['divider/variant/tertiary/root/rest'],
3225
+ },
3226
+ },
3227
+ },
3228
+ label: {
3229
+ variants: {
3230
+ variant: {
3231
+ muted: theme.components['divider/variant/muted/label/rest'],
3232
+ primary: theme.components['divider/variant/primary/label/rest'],
3233
+ secondary: theme.components['divider/variant/secondary/label/rest'],
3234
+ tertiary: theme.components['divider/variant/tertiary/label/rest'],
3235
+ },
3236
+ },
3237
+ },
3238
+ line: {
3239
+ variants: {
3240
+ variant: {
3241
+ muted: theme.components['divider/variant/muted/line/rest'],
3242
+ primary: theme.components['divider/variant/primary/line/rest'],
3243
+ secondary: theme.components['divider/variant/secondary/line/rest'],
3244
+ tertiary: theme.components['divider/variant/tertiary/line/rest'],
3245
+ },
3246
+ },
3247
+ },
3248
+ }));
3249
+
3250
+ /**
3251
+ * Layer-based styles for IconButton.
3252
+ * Uses compound variants for state-specific (disabled/pressed) styles.
3253
+ *
3254
+ * Usage:
3255
+ * ```tsx
3256
+ * iconButtonStyles.useVariants({
3257
+ * size,
3258
+ * variant,
3259
+ * disabled: isDisabled, // boolean
3260
+ * pressed: isPressed, // boolean
3261
+ * });
3262
+ * // Access: iconButtonStyles.root, iconButtonStyles.icon, etc.
3263
+ * ```
3264
+ */
3265
+ const iconButtonStyles = StyleSheet.create((theme) => ({
3266
+ root: {
3267
+ variants: {
3268
+ size: {
3269
+ lg: theme.components['iconButton/size/lg/root/rest'],
3270
+ md: theme.components['iconButton/size/md/root/rest'],
3271
+ sm: theme.components['iconButton/size/sm/root/rest'],
3272
+ xl: theme.components['iconButton/size/xl/root/rest'],
3273
+ xs: theme.components['iconButton/size/xs/root/rest'],
3274
+ },
3275
+ },
3276
+ },
3277
+ icon: {
3278
+ variants: {
3279
+ size: {
3280
+ lg: theme.components['iconButton/size/lg/icon/rest'],
3281
+ md: theme.components['iconButton/size/md/icon/rest'],
3282
+ sm: theme.components['iconButton/size/sm/icon/rest'],
3283
+ xl: theme.components['iconButton/size/xl/icon/rest'],
3284
+ xs: theme.components['iconButton/size/xs/icon/rest'],
3285
+ },
3286
+ },
3287
+ },
3288
+ }));
3289
+
3290
+ /**
3291
+ * Layer-based styles for Input.
3292
+ * Uses compound variants for state-specific (disabled/pressed) styles.
3293
+ *
3294
+ * Usage:
3295
+ * ```tsx
3296
+ * inputStyles.useVariants({
3297
+ * size,
3298
+ * variant,
3299
+ * disabled: isDisabled, // boolean
3300
+ * pressed: isPressed, // boolean
3301
+ * });
3302
+ * // Access: inputStyles.root, inputStyles.icon, etc.
3303
+ * ```
3304
+ */
3305
+ const inputStyles = StyleSheet.create((theme) => ({
3306
+ endIcon: {
3307
+ variants: {
3308
+ size: {
3309
+ lg: theme.components['input/size/lg/endIcon/rest'],
3310
+ md: theme.components['input/size/md/endIcon/rest'],
3311
+ },
3312
+ variant: { default: theme.components['input/variant/default/value/empty/endIcon/rest'] },
3313
+ disabled: { true: {} },
3314
+ pressed: { true: {} },
3315
+ readonly: { true: {} },
3316
+ invalid: { true: {} },
3317
+ value: {
3318
+ empty: theme.components['input/variant/default/value/empty/endIcon/rest'],
3319
+ filled: theme.components['input/variant/default/value/filled/endIcon/rest'],
3320
+ },
3321
+ },
3322
+ compoundVariants: [
3323
+ {
3324
+ value: 'empty',
3325
+ disabled: true,
3326
+ styles: theme.components['input/variant/default/value/empty/endIcon/disabled'],
3327
+ },
3328
+ {
3329
+ value: 'empty',
3330
+ invalid: true,
3331
+ styles: theme.components['input/variant/default/value/empty/endIcon/invalid'],
3332
+ },
3333
+ {
3334
+ value: 'empty',
3335
+ pressed: true,
3336
+ styles: theme.components['input/variant/default/value/empty/endIcon/pressed'],
3337
+ },
3338
+ {
3339
+ value: 'empty',
3340
+ readonly: true,
3341
+ styles: theme.components['input/variant/default/value/empty/endIcon/readonly'],
3342
+ },
3343
+ {
3344
+ value: 'filled',
3345
+ disabled: true,
3346
+ styles: theme.components['input/variant/default/value/filled/endIcon/disabled'],
3347
+ },
3348
+ {
3349
+ value: 'filled',
3350
+ invalid: true,
3351
+ styles: theme.components['input/variant/default/value/filled/endIcon/invalid'],
3352
+ },
3353
+ {
3354
+ value: 'filled',
3355
+ pressed: true,
3356
+ styles: theme.components['input/variant/default/value/filled/endIcon/pressed'],
3357
+ },
3358
+ {
3359
+ value: 'filled',
3360
+ readonly: true,
3361
+ styles: theme.components['input/variant/default/value/filled/endIcon/readonly'],
3362
+ },
3363
+ ],
3364
+ },
3365
+ helperIcon: {
3366
+ variants: {
3367
+ size: {
3368
+ lg: theme.components['input/size/lg/helperIcon/rest'],
3369
+ md: theme.components['input/size/md/helperIcon/rest'],
3370
+ },
3371
+ variant: { default: theme.components['input/variant/default/value/empty/helperIcon/rest'] },
3372
+ disabled: { true: {} },
3373
+ pressed: { true: {} },
3374
+ readonly: { true: {} },
3375
+ invalid: { true: {} },
3376
+ value: {
3377
+ empty: theme.components['input/variant/default/value/empty/helperIcon/rest'],
3378
+ filled: theme.components['input/variant/default/value/filled/helperIcon/rest'],
3379
+ },
3380
+ },
3381
+ compoundVariants: [
3382
+ {
3383
+ value: 'empty',
3384
+ disabled: true,
3385
+ styles: theme.components['input/variant/default/value/empty/helperIcon/disabled'],
3386
+ },
3387
+ {
3388
+ value: 'empty',
3389
+ invalid: true,
3390
+ styles: theme.components['input/variant/default/value/empty/helperIcon/invalid'],
3391
+ },
3392
+ {
3393
+ value: 'empty',
3394
+ pressed: true,
3395
+ styles: theme.components['input/variant/default/value/empty/helperIcon/pressed'],
3396
+ },
3397
+ {
3398
+ value: 'empty',
3399
+ readonly: true,
3400
+ styles: theme.components['input/variant/default/value/empty/helperIcon/readonly'],
3401
+ },
3402
+ {
3403
+ value: 'filled',
3404
+ disabled: true,
3405
+ styles: theme.components['input/variant/default/value/filled/helperIcon/disabled'],
3406
+ },
3407
+ {
3408
+ value: 'filled',
3409
+ invalid: true,
3410
+ styles: theme.components['input/variant/default/value/filled/helperIcon/invalid'],
3411
+ },
3412
+ {
3413
+ value: 'filled',
3414
+ pressed: true,
3415
+ styles: theme.components['input/variant/default/value/filled/helperIcon/pressed'],
3416
+ },
3417
+ {
3418
+ value: 'filled',
3419
+ readonly: true,
3420
+ styles: theme.components['input/variant/default/value/filled/helperIcon/readonly'],
3421
+ },
3422
+ ],
3423
+ },
3424
+ helperText: {
3425
+ variants: {
3426
+ size: {
3427
+ lg: theme.components['input/size/lg/helperText/rest'],
3428
+ md: theme.components['input/size/md/helperText/rest'],
3429
+ },
3430
+ variant: { default: theme.components['input/variant/default/value/empty/helperText/rest'] },
3431
+ disabled: { true: {} },
3432
+ pressed: { true: {} },
3433
+ readonly: { true: {} },
3434
+ invalid: { true: {} },
3435
+ value: {
3436
+ empty: theme.components['input/variant/default/value/empty/helperText/rest'],
3437
+ filled: theme.components['input/variant/default/value/filled/helperText/rest'],
3438
+ },
3439
+ },
3440
+ compoundVariants: [
3441
+ {
3442
+ value: 'empty',
3443
+ disabled: true,
3444
+ styles: theme.components['input/variant/default/value/empty/helperText/disabled'],
3445
+ },
3446
+ {
3447
+ value: 'empty',
3448
+ invalid: true,
3449
+ styles: theme.components['input/variant/default/value/empty/helperText/invalid'],
3450
+ },
3451
+ {
3452
+ value: 'empty',
3453
+ pressed: true,
3454
+ styles: theme.components['input/variant/default/value/empty/helperText/pressed'],
3455
+ },
3456
+ {
3457
+ value: 'empty',
3458
+ readonly: true,
3459
+ styles: theme.components['input/variant/default/value/empty/helperText/readonly'],
3460
+ },
3461
+ {
3462
+ value: 'filled',
3463
+ disabled: true,
3464
+ styles: theme.components['input/variant/default/value/filled/helperText/disabled'],
3465
+ },
3466
+ {
3467
+ value: 'filled',
3468
+ invalid: true,
3469
+ styles: theme.components['input/variant/default/value/filled/helperText/invalid'],
3470
+ },
3471
+ {
3472
+ value: 'filled',
3473
+ pressed: true,
3474
+ styles: theme.components['input/variant/default/value/filled/helperText/pressed'],
3475
+ },
3476
+ {
3477
+ value: 'filled',
3478
+ readonly: true,
3479
+ styles: theme.components['input/variant/default/value/filled/helperText/readonly'],
3480
+ },
3481
+ ],
3482
+ },
3483
+ input: {
3484
+ variants: {
3485
+ size: {
3486
+ lg: theme.components['input/size/lg/input/rest'],
3487
+ md: theme.components['input/size/md/input/rest'],
3488
+ },
3489
+ variant: { default: theme.components['input/variant/default/value/empty/input/rest'] },
3490
+ disabled: { true: {} },
3491
+ pressed: { true: {} },
3492
+ readonly: { true: {} },
3493
+ invalid: { true: {} },
3494
+ value: {
3495
+ empty: theme.components['input/variant/default/value/empty/input/rest'],
3496
+ filled: theme.components['input/variant/default/value/filled/input/rest'],
3497
+ },
3498
+ },
3499
+ compoundVariants: [
3500
+ {
3501
+ value: 'empty',
3502
+ disabled: true,
3503
+ styles: theme.components['input/variant/default/value/empty/input/disabled'],
3504
+ },
3505
+ {
3506
+ value: 'empty',
3507
+ invalid: true,
3508
+ styles: theme.components['input/variant/default/value/empty/input/invalid'],
3509
+ },
3510
+ {
3511
+ value: 'empty',
3512
+ pressed: true,
3513
+ styles: theme.components['input/variant/default/value/empty/input/pressed'],
3514
+ },
3515
+ {
3516
+ value: 'empty',
3517
+ readonly: true,
3518
+ styles: theme.components['input/variant/default/value/empty/input/readonly'],
3519
+ },
3520
+ {
3521
+ value: 'filled',
3522
+ disabled: true,
3523
+ styles: theme.components['input/variant/default/value/filled/input/disabled'],
3524
+ },
3525
+ {
3526
+ value: 'filled',
3527
+ invalid: true,
3528
+ styles: theme.components['input/variant/default/value/filled/input/invalid'],
3529
+ },
3530
+ {
3531
+ value: 'filled',
3532
+ pressed: true,
3533
+ styles: theme.components['input/variant/default/value/filled/input/pressed'],
3534
+ },
3535
+ {
3536
+ value: 'filled',
3537
+ readonly: true,
3538
+ styles: theme.components['input/variant/default/value/filled/input/readonly'],
3539
+ },
3540
+ ],
3541
+ },
3542
+ inputPlaceholder: {
3543
+ variants: {
3544
+ variant: {
3545
+ default: theme.components['input/variant/default/value/empty/inputPlaceholder/rest'],
3546
+ },
3547
+ disabled: { true: {} },
3548
+ pressed: { true: {} },
3549
+ readonly: { true: {} },
3550
+ invalid: { true: {} },
3551
+ value: {
3552
+ empty: theme.components['input/variant/default/value/empty/inputPlaceholder/rest'],
3553
+ filled: theme.components['input/variant/default/value/filled/inputPlaceholder/rest'],
3554
+ },
3555
+ },
3556
+ compoundVariants: [
3557
+ {
3558
+ value: 'empty',
3559
+ disabled: true,
3560
+ styles: theme.components['input/variant/default/value/empty/inputPlaceholder/disabled'],
3561
+ },
3562
+ {
3563
+ value: 'empty',
3564
+ invalid: true,
3565
+ styles: theme.components['input/variant/default/value/empty/inputPlaceholder/invalid'],
3566
+ },
3567
+ {
3568
+ value: 'empty',
3569
+ pressed: true,
3570
+ styles: theme.components['input/variant/default/value/empty/inputPlaceholder/pressed'],
3571
+ },
3572
+ {
3573
+ value: 'empty',
3574
+ readonly: true,
3575
+ styles: theme.components['input/variant/default/value/empty/inputPlaceholder/readonly'],
3576
+ },
3577
+ {
3578
+ value: 'filled',
3579
+ disabled: true,
3580
+ styles: theme.components['input/variant/default/value/filled/inputPlaceholder/disabled'],
3581
+ },
3582
+ {
3583
+ value: 'filled',
3584
+ invalid: true,
3585
+ styles: theme.components['input/variant/default/value/filled/inputPlaceholder/invalid'],
3586
+ },
3587
+ {
3588
+ value: 'filled',
3589
+ pressed: true,
3590
+ styles: theme.components['input/variant/default/value/filled/inputPlaceholder/pressed'],
3591
+ },
3592
+ {
3593
+ value: 'filled',
3594
+ readonly: true,
3595
+ styles: theme.components['input/variant/default/value/filled/inputPlaceholder/readonly'],
3596
+ },
3597
+ ],
3598
+ },
3599
+ inputWrapper: {
3600
+ variants: {
3601
+ size: {
3602
+ lg: theme.components['input/size/lg/inputWrapper/rest'],
3603
+ md: theme.components['input/size/md/inputWrapper/rest'],
3604
+ },
3605
+ variant: { default: theme.components['input/variant/default/value/empty/inputWrapper/rest'] },
3606
+ disabled: { true: {} },
3607
+ pressed: { true: {} },
3608
+ readonly: { true: {} },
3609
+ invalid: { true: {} },
3610
+ value: {
3611
+ empty: theme.components['input/variant/default/value/empty/inputWrapper/rest'],
3612
+ filled: theme.components['input/variant/default/value/filled/inputWrapper/rest'],
3613
+ },
3614
+ },
3615
+ compoundVariants: [
3616
+ {
3617
+ value: 'empty',
3618
+ disabled: true,
3619
+ styles: theme.components['input/variant/default/value/empty/inputWrapper/disabled'],
3620
+ },
3621
+ {
3622
+ value: 'empty',
3623
+ invalid: true,
3624
+ styles: theme.components['input/variant/default/value/empty/inputWrapper/invalid'],
3625
+ },
3626
+ {
3627
+ value: 'empty',
3628
+ pressed: true,
3629
+ styles: theme.components['input/variant/default/value/empty/inputWrapper/pressed'],
3630
+ },
3631
+ {
3632
+ value: 'empty',
3633
+ readonly: true,
3634
+ styles: theme.components['input/variant/default/value/empty/inputWrapper/readonly'],
3635
+ },
3636
+ {
3637
+ value: 'filled',
3638
+ disabled: true,
3639
+ styles: theme.components['input/variant/default/value/filled/inputWrapper/disabled'],
3640
+ },
3641
+ {
3642
+ value: 'filled',
3643
+ invalid: true,
3644
+ styles: theme.components['input/variant/default/value/filled/inputWrapper/invalid'],
3645
+ },
3646
+ {
3647
+ value: 'filled',
3648
+ pressed: true,
3649
+ styles: theme.components['input/variant/default/value/filled/inputWrapper/pressed'],
3650
+ },
3651
+ {
3652
+ value: 'filled',
3653
+ readonly: true,
3654
+ styles: theme.components['input/variant/default/value/filled/inputWrapper/readonly'],
3655
+ },
3656
+ ],
3657
+ },
3658
+ label: {
3659
+ variants: {
3660
+ size: {
3661
+ lg: theme.components['input/size/lg/label/rest'],
3662
+ md: theme.components['input/size/md/label/rest'],
3663
+ },
3664
+ variant: { default: theme.components['input/variant/default/value/empty/label/rest'] },
3665
+ disabled: { true: {} },
3666
+ pressed: { true: {} },
3667
+ readonly: { true: {} },
3668
+ invalid: { true: {} },
3669
+ value: {
3670
+ empty: theme.components['input/variant/default/value/empty/label/rest'],
3671
+ filled: theme.components['input/variant/default/value/filled/label/rest'],
3672
+ },
3673
+ },
3674
+ compoundVariants: [
3675
+ {
3676
+ value: 'empty',
3677
+ disabled: true,
3678
+ styles: theme.components['input/variant/default/value/empty/label/disabled'],
3679
+ },
3680
+ {
3681
+ value: 'empty',
3682
+ invalid: true,
3683
+ styles: theme.components['input/variant/default/value/empty/label/invalid'],
3684
+ },
3685
+ {
3686
+ value: 'empty',
3687
+ pressed: true,
3688
+ styles: theme.components['input/variant/default/value/empty/label/pressed'],
3689
+ },
3690
+ {
3691
+ value: 'empty',
3692
+ readonly: true,
3693
+ styles: theme.components['input/variant/default/value/empty/label/readonly'],
3694
+ },
3695
+ {
3696
+ value: 'filled',
3697
+ disabled: true,
3698
+ styles: theme.components['input/variant/default/value/filled/label/disabled'],
3699
+ },
3700
+ {
3701
+ value: 'filled',
3702
+ invalid: true,
3703
+ styles: theme.components['input/variant/default/value/filled/label/invalid'],
3704
+ },
3705
+ {
3706
+ value: 'filled',
3707
+ pressed: true,
3708
+ styles: theme.components['input/variant/default/value/filled/label/pressed'],
3709
+ },
3710
+ {
3711
+ value: 'filled',
3712
+ readonly: true,
3713
+ styles: theme.components['input/variant/default/value/filled/label/readonly'],
3714
+ },
3715
+ ],
3716
+ },
3717
+ labelRequired: {
3718
+ variants: {
3719
+ variant: {
3720
+ default: theme.components['input/variant/default/value/empty/labelRequired/rest'],
3721
+ },
3722
+ disabled: { true: {} },
3723
+ pressed: { true: {} },
3724
+ readonly: { true: {} },
3725
+ invalid: { true: {} },
3726
+ value: {
3727
+ empty: theme.components['input/variant/default/value/empty/labelRequired/rest'],
3728
+ filled: theme.components['input/variant/default/value/filled/labelRequired/rest'],
3729
+ },
3730
+ },
3731
+ compoundVariants: [
3732
+ {
3733
+ value: 'empty',
3734
+ disabled: true,
3735
+ styles: theme.components['input/variant/default/value/empty/labelRequired/disabled'],
3736
+ },
3737
+ {
3738
+ value: 'empty',
3739
+ invalid: true,
3740
+ styles: theme.components['input/variant/default/value/empty/labelRequired/invalid'],
3741
+ },
3742
+ {
3743
+ value: 'empty',
3744
+ pressed: true,
3745
+ styles: theme.components['input/variant/default/value/empty/labelRequired/pressed'],
3746
+ },
3747
+ {
3748
+ value: 'empty',
3749
+ readonly: true,
3750
+ styles: theme.components['input/variant/default/value/empty/labelRequired/readonly'],
3751
+ },
3752
+ {
3753
+ value: 'filled',
3754
+ disabled: true,
3755
+ styles: theme.components['input/variant/default/value/filled/labelRequired/disabled'],
3756
+ },
3757
+ {
3758
+ value: 'filled',
3759
+ invalid: true,
3760
+ styles: theme.components['input/variant/default/value/filled/labelRequired/invalid'],
3761
+ },
3762
+ {
3763
+ value: 'filled',
3764
+ pressed: true,
3765
+ styles: theme.components['input/variant/default/value/filled/labelRequired/pressed'],
3766
+ },
3767
+ {
3768
+ value: 'filled',
3769
+ readonly: true,
3770
+ styles: theme.components['input/variant/default/value/filled/labelRequired/readonly'],
3771
+ },
3772
+ ],
3773
+ },
3774
+ startIcon: {
3775
+ variants: {
3776
+ size: {
3777
+ lg: theme.components['input/size/lg/startIcon/rest'],
3778
+ md: theme.components['input/size/md/startIcon/rest'],
3779
+ },
3780
+ variant: { default: theme.components['input/variant/default/value/empty/startIcon/rest'] },
3781
+ disabled: { true: {} },
3782
+ pressed: { true: {} },
3783
+ readonly: { true: {} },
3784
+ invalid: { true: {} },
3785
+ value: {
3786
+ empty: theme.components['input/variant/default/value/empty/startIcon/rest'],
3787
+ filled: theme.components['input/variant/default/value/filled/startIcon/rest'],
3788
+ },
3789
+ },
3790
+ compoundVariants: [
3791
+ {
3792
+ value: 'empty',
3793
+ disabled: true,
3794
+ styles: theme.components['input/variant/default/value/empty/startIcon/disabled'],
3795
+ },
3796
+ {
3797
+ value: 'empty',
3798
+ invalid: true,
3799
+ styles: theme.components['input/variant/default/value/empty/startIcon/invalid'],
3800
+ },
3801
+ {
3802
+ value: 'empty',
3803
+ pressed: true,
3804
+ styles: theme.components['input/variant/default/value/empty/startIcon/pressed'],
3805
+ },
3806
+ {
3807
+ value: 'empty',
3808
+ readonly: true,
3809
+ styles: theme.components['input/variant/default/value/empty/startIcon/readonly'],
3810
+ },
3811
+ {
3812
+ value: 'filled',
3813
+ disabled: true,
3814
+ styles: theme.components['input/variant/default/value/filled/startIcon/disabled'],
3815
+ },
3816
+ {
3817
+ value: 'filled',
3818
+ invalid: true,
3819
+ styles: theme.components['input/variant/default/value/filled/startIcon/invalid'],
3820
+ },
3821
+ {
3822
+ value: 'filled',
3823
+ pressed: true,
3824
+ styles: theme.components['input/variant/default/value/filled/startIcon/pressed'],
3825
+ },
3826
+ {
3827
+ value: 'filled',
3828
+ readonly: true,
3829
+ styles: theme.components['input/variant/default/value/filled/startIcon/readonly'],
3830
+ },
3831
+ ],
3832
+ },
3833
+ }));
3834
+
3835
+ /**
3836
+ * Layer-based styles for Link.
3837
+ * Uses compound variants for state-specific (disabled/pressed) styles.
3838
+ *
3839
+ * Usage:
3840
+ * ```tsx
3841
+ * linkStyles.useVariants({
3842
+ * size,
3843
+ * variant,
3844
+ * disabled: isDisabled, // boolean
3845
+ * pressed: isPressed, // boolean
3846
+ * });
3847
+ * // Access: linkStyles.root, linkStyles.icon, etc.
3848
+ * ```
3849
+ */
3850
+ const linkStyles = StyleSheet.create((theme) => ({
3851
+ root: {
3852
+ variants: {
3853
+ textStyle: {
3854
+ body1: theme.components['link/textStyle/body1/root/rest'],
3855
+ caption1: theme.components['link/textStyle/caption1/root/rest'],
3856
+ caption2: theme.components['link/textStyle/caption2/root/rest'],
3857
+ display1: theme.components['link/textStyle/display1/root/rest'],
3858
+ display2: theme.components['link/textStyle/display2/root/rest'],
3859
+ display3: theme.components['link/textStyle/display3/root/rest'],
3860
+ headline1: theme.components['link/textStyle/headline1/root/rest'],
3861
+ label1: theme.components['link/textStyle/label1/root/rest'],
3862
+ label2: theme.components['link/textStyle/label2/root/rest'],
3863
+ label3: theme.components['link/textStyle/label3/root/rest'],
3864
+ label4: theme.components['link/textStyle/label4/root/rest'],
3865
+ legal1: theme.components['link/textStyle/legal1/root/rest'],
3866
+ title1: theme.components['link/textStyle/title1/root/rest'],
3867
+ title2: theme.components['link/textStyle/title2/root/rest'],
3868
+ title3: theme.components['link/textStyle/title3/root/rest'],
3869
+ title4: theme.components['link/textStyle/title4/root/rest'],
3870
+ ui1: theme.components['link/textStyle/ui1/root/rest'],
3871
+ ui2: theme.components['link/textStyle/ui2/root/rest'],
3872
+ ui3: theme.components['link/textStyle/ui3/root/rest'],
3873
+ ui4: theme.components['link/textStyle/ui4/root/rest'],
3874
+ ui5: theme.components['link/textStyle/ui5/root/rest'],
3875
+ ui6: theme.components['link/textStyle/ui6/root/rest'],
3876
+ },
3877
+ },
3878
+ },
3879
+ text: {
3880
+ variants: {
3881
+ variant: {
3882
+ 'on-color': theme.components['link/variant/on-color/rootText/rest'],
3883
+ primary: theme.components['link/variant/primary/rootText/rest'],
3884
+ secondary: theme.components['link/variant/secondary/rootText/rest'],
3885
+ tertiary: theme.components['link/variant/tertiary/rootText/rest'],
3886
+ },
3887
+ pressed: { true: {} },
3888
+ },
3889
+ compoundVariants: [
3890
+ {
3891
+ variant: 'on-color',
3892
+ pressed: true,
3893
+ styles: theme.components['link/variant/on-color/rootText/pressed'],
3894
+ },
3895
+ {
3896
+ variant: 'primary',
3897
+ pressed: true,
3898
+ styles: theme.components['link/variant/primary/rootText/pressed'],
3899
+ },
3900
+ {
3901
+ variant: 'secondary',
3902
+ pressed: true,
3903
+ styles: theme.components['link/variant/secondary/rootText/pressed'],
3904
+ },
3905
+ {
3906
+ variant: 'tertiary',
3907
+ pressed: true,
3908
+ styles: theme.components['link/variant/tertiary/rootText/pressed'],
3909
+ },
3910
+ ],
3911
+ },
3912
+ icon: {
3913
+ variants: {
3914
+ textStyle: {
3915
+ body1: theme.components['link/textStyle/body1/icon/rest'],
3916
+ caption1: theme.components['link/textStyle/caption1/icon/rest'],
3917
+ caption2: theme.components['link/textStyle/caption2/icon/rest'],
3918
+ display1: theme.components['link/textStyle/display1/icon/rest'],
3919
+ display2: theme.components['link/textStyle/display2/icon/rest'],
3920
+ display3: theme.components['link/textStyle/display3/icon/rest'],
3921
+ headline1: theme.components['link/textStyle/headline1/icon/rest'],
3922
+ label1: theme.components['link/textStyle/label1/icon/rest'],
3923
+ label2: theme.components['link/textStyle/label2/icon/rest'],
3924
+ label3: theme.components['link/textStyle/label3/icon/rest'],
3925
+ label4: theme.components['link/textStyle/label4/icon/rest'],
3926
+ legal1: theme.components['link/textStyle/legal1/icon/rest'],
3927
+ title1: theme.components['link/textStyle/title1/icon/rest'],
3928
+ title2: theme.components['link/textStyle/title2/icon/rest'],
3929
+ title3: theme.components['link/textStyle/title3/icon/rest'],
3930
+ title4: theme.components['link/textStyle/title4/icon/rest'],
3931
+ ui1: theme.components['link/textStyle/ui1/icon/rest'],
3932
+ ui2: theme.components['link/textStyle/ui2/icon/rest'],
3933
+ ui3: theme.components['link/textStyle/ui3/icon/rest'],
3934
+ ui4: theme.components['link/textStyle/ui4/icon/rest'],
3935
+ ui5: theme.components['link/textStyle/ui5/icon/rest'],
3936
+ ui6: theme.components['link/textStyle/ui6/icon/rest'],
3937
+ },
3938
+ },
3939
+ },
3940
+ iconEnd: {
3941
+ variants: {
3942
+ variant: {
3943
+ 'on-color': theme.components['link/variant/on-color/iconEnd/rest'],
3944
+ primary: theme.components['link/variant/primary/iconEnd/rest'],
3945
+ secondary: theme.components['link/variant/secondary/iconEnd/rest'],
3946
+ tertiary: theme.components['link/variant/tertiary/iconEnd/rest'],
3947
+ },
3948
+ pressed: { true: {} },
3949
+ },
3950
+ compoundVariants: [
3951
+ {
3952
+ variant: 'on-color',
3953
+ pressed: true,
3954
+ styles: theme.components['link/variant/on-color/iconEnd/pressed'],
3955
+ },
3956
+ {
3957
+ variant: 'primary',
3958
+ pressed: true,
3959
+ styles: theme.components['link/variant/primary/iconEnd/pressed'],
3960
+ },
3961
+ {
3962
+ variant: 'secondary',
3963
+ pressed: true,
3964
+ styles: theme.components['link/variant/secondary/iconEnd/pressed'],
3965
+ },
3966
+ {
3967
+ variant: 'tertiary',
3968
+ pressed: true,
3969
+ styles: theme.components['link/variant/tertiary/iconEnd/pressed'],
3970
+ },
3971
+ ],
3972
+ },
3973
+ iconStart: {
3974
+ variants: {
3975
+ variant: {
3976
+ 'on-color': theme.components['link/variant/on-color/iconStart/rest'],
3977
+ primary: theme.components['link/variant/primary/iconStart/rest'],
3978
+ secondary: theme.components['link/variant/secondary/iconStart/rest'],
3979
+ tertiary: theme.components['link/variant/tertiary/iconStart/rest'],
3980
+ },
3981
+ pressed: { true: {} },
3982
+ },
3983
+ compoundVariants: [
3984
+ {
3985
+ variant: 'on-color',
3986
+ pressed: true,
3987
+ styles: theme.components['link/variant/on-color/iconStart/pressed'],
3988
+ },
3989
+ {
3990
+ variant: 'primary',
3991
+ pressed: true,
3992
+ styles: theme.components['link/variant/primary/iconStart/pressed'],
3993
+ },
3994
+ {
3995
+ variant: 'secondary',
3996
+ pressed: true,
3997
+ styles: theme.components['link/variant/secondary/iconStart/pressed'],
3998
+ },
3999
+ {
4000
+ variant: 'tertiary',
4001
+ pressed: true,
4002
+ styles: theme.components['link/variant/tertiary/iconStart/pressed'],
4003
+ },
4004
+ ],
4005
+ },
4006
+ }));
4007
+
4008
+ /**
4009
+ * Layer-based styles for Menu.
4010
+ * Uses compound variants for state-specific (disabled/pressed) styles.
4011
+ *
4012
+ * Usage:
4013
+ * ```tsx
4014
+ * menuStyles.useVariants({
4015
+ * size,
4016
+ * variant,
4017
+ * disabled: isDisabled, // boolean
4018
+ * pressed: isPressed, // boolean
4019
+ * });
4020
+ * // Access: menuStyles.root, menuStyles.icon, etc.
4021
+ * ```
4022
+ */
4023
+ const menuStyles = StyleSheet.create((theme) => ({
4024
+ root: {
4025
+ variants: {
4026
+ item: {
4027
+ off: theme.components['menu/item/variant/default/active/off/root/rest'],
4028
+ on: theme.components['menu/item/variant/default/active/on/root/rest'],
4029
+ },
4030
+ itemCheckbox: {
4031
+ off: theme.components['menu/itemCheckbox/variant/default/active/off/root/rest'],
4032
+ on: theme.components['menu/itemCheckbox/variant/default/active/on/root/rest'],
4033
+ },
4034
+ },
4035
+ },
4036
+ text: {
4037
+ variants: {
4038
+ divider: { default: theme.components['menu/divider/variant/default/text/rest'] },
4039
+ item: {
4040
+ off: theme.components['menu/item/variant/default/active/off/text/rest'],
4041
+ on: theme.components['menu/item/variant/default/active/on/text/rest'],
4042
+ },
4043
+ itemCheckbox: {
4044
+ off: theme.components['menu/itemCheckbox/variant/default/active/off/text/rest'],
4045
+ on: theme.components['menu/itemCheckbox/variant/default/active/on/text/rest'],
4046
+ },
4047
+ },
4048
+ },
4049
+ icon: {
4050
+ variants: {
4051
+ item: {
4052
+ off: theme.components['menu/item/variant/default/active/off/icon/rest'],
4053
+ on: theme.components['menu/item/variant/default/active/on/icon/rest'],
4054
+ },
4055
+ },
4056
+ },
4057
+ endIcon: {
4058
+ variants: {
4059
+ size: { default: theme.components['menu/size/default/endIcon/rest'] },
4060
+ itemCheckbox: {
4061
+ off: theme.components['menu/itemCheckbox/variant/default/active/off/endIcon/rest'],
4062
+ on: theme.components['menu/itemCheckbox/variant/default/active/on/endIcon/rest'],
4063
+ },
4064
+ },
4065
+ },
4066
+ line: {
4067
+ variants: {
4068
+ divider: { default: theme.components['menu/divider/variant/default/line/rest'] },
4069
+ },
4070
+ },
4071
+ startIcon: {
4072
+ variants: {
4073
+ size: { default: theme.components['menu/size/default/startIcon/rest'] },
4074
+ itemCheckbox: {
4075
+ off: theme.components['menu/itemCheckbox/variant/default/active/off/startIcon/rest'],
4076
+ on: theme.components['menu/itemCheckbox/variant/default/active/on/startIcon/rest'],
4077
+ },
4078
+ },
4079
+ },
4080
+ }));
4081
+
4082
+ /**
4083
+ * Layer-based styles for Radio.
4084
+ * Uses compound variants for state-specific (disabled/pressed) styles.
4085
+ *
4086
+ * Usage:
4087
+ * ```tsx
4088
+ * radioStyles.useVariants({
4089
+ * size,
4090
+ * variant,
4091
+ * disabled: isDisabled, // boolean
4092
+ * pressed: isPressed, // boolean
4093
+ * });
4094
+ * // Access: radioStyles.root, radioStyles.icon, etc.
4095
+ * ```
4096
+ */
4097
+ const radioStyles = StyleSheet.create((theme) => ({
4098
+ root: {
4099
+ variants: {
4100
+ size: {
4101
+ md: theme.components['radio/size/md/root/rest'],
4102
+ sm: theme.components['radio/size/sm/root/rest'],
4103
+ },
4104
+ },
4105
+ },
4106
+ text: {
4107
+ variants: {
4108
+ size: {
4109
+ md: theme.components['radio/size/md/rootText/rest'],
4110
+ sm: theme.components['radio/size/sm/rootText/rest'],
4111
+ },
4112
+ variant: {
4113
+ alert: theme.components['radio/variant/alert/value/checked/rootText/rest'],
4114
+ 'alert-secondary':
4115
+ theme.components['radio/variant/alert-secondary/value/checked/rootText/rest'],
4116
+ primary: theme.components['radio/variant/primary/value/checked/rootText/rest'],
4117
+ secondary: theme.components['radio/variant/secondary/value/checked/rootText/rest'],
4118
+ },
4119
+ pressed: { true: {} },
4120
+ value: { checked: {}, unchecked: {} },
4121
+ },
4122
+ compoundVariants: [
4123
+ {
4124
+ variant: 'alert-secondary',
4125
+ value: 'checked',
4126
+ pressed: true,
4127
+ styles: theme.components['radio/variant/alert-secondary/value/checked/rootText/pressed'],
4128
+ },
4129
+ {
4130
+ variant: 'alert-secondary',
4131
+ value: 'checked',
4132
+ styles: theme.components['radio/variant/alert-secondary/value/checked/rootText/rest'],
4133
+ },
4134
+ {
4135
+ variant: 'alert-secondary',
4136
+ value: 'unchecked',
4137
+ pressed: true,
4138
+ styles: theme.components['radio/variant/alert-secondary/value/unchecked/rootText/pressed'],
4139
+ },
4140
+ {
4141
+ variant: 'alert-secondary',
4142
+ value: 'unchecked',
4143
+ styles: theme.components['radio/variant/alert-secondary/value/unchecked/rootText/rest'],
4144
+ },
4145
+ {
4146
+ variant: 'alert',
4147
+ value: 'checked',
4148
+ pressed: true,
4149
+ styles: theme.components['radio/variant/alert/value/checked/rootText/pressed'],
4150
+ },
4151
+ {
4152
+ variant: 'alert',
4153
+ value: 'checked',
4154
+ styles: theme.components['radio/variant/alert/value/checked/rootText/rest'],
4155
+ },
4156
+ {
4157
+ variant: 'alert',
4158
+ value: 'unchecked',
4159
+ pressed: true,
4160
+ styles: theme.components['radio/variant/alert/value/unchecked/rootText/pressed'],
4161
+ },
4162
+ {
4163
+ variant: 'alert',
4164
+ value: 'unchecked',
4165
+ styles: theme.components['radio/variant/alert/value/unchecked/rootText/rest'],
4166
+ },
4167
+ {
4168
+ variant: 'primary',
4169
+ value: 'checked',
4170
+ pressed: true,
4171
+ styles: theme.components['radio/variant/primary/value/checked/rootText/pressed'],
4172
+ },
4173
+ {
4174
+ variant: 'primary',
4175
+ value: 'checked',
4176
+ styles: theme.components['radio/variant/primary/value/checked/rootText/rest'],
4177
+ },
4178
+ {
4179
+ variant: 'primary',
4180
+ value: 'unchecked',
4181
+ pressed: true,
4182
+ styles: theme.components['radio/variant/primary/value/unchecked/rootText/pressed'],
4183
+ },
4184
+ {
4185
+ variant: 'primary',
4186
+ value: 'unchecked',
4187
+ styles: theme.components['radio/variant/primary/value/unchecked/rootText/rest'],
4188
+ },
4189
+ {
4190
+ variant: 'secondary',
4191
+ value: 'checked',
4192
+ pressed: true,
4193
+ styles: theme.components['radio/variant/secondary/value/checked/rootText/pressed'],
4194
+ },
4195
+ {
4196
+ variant: 'secondary',
4197
+ value: 'checked',
4198
+ styles: theme.components['radio/variant/secondary/value/checked/rootText/rest'],
4199
+ },
4200
+ {
4201
+ variant: 'secondary',
4202
+ value: 'unchecked',
4203
+ pressed: true,
4204
+ styles: theme.components['radio/variant/secondary/value/unchecked/rootText/pressed'],
4205
+ },
4206
+ {
4207
+ variant: 'secondary',
4208
+ value: 'unchecked',
4209
+ styles: theme.components['radio/variant/secondary/value/unchecked/rootText/rest'],
4210
+ },
4211
+ ],
4212
+ },
4213
+ radio: {
4214
+ variants: {
4215
+ size: {
4216
+ md: theme.components['radio/size/md/radio/rest'],
4217
+ sm: theme.components['radio/size/sm/radio/rest'],
4218
+ },
4219
+ variant: {
4220
+ alert: theme.components['radio/variant/alert/value/checked/radio/rest'],
4221
+ 'alert-secondary':
4222
+ theme.components['radio/variant/alert-secondary/value/checked/radio/rest'],
4223
+ primary: theme.components['radio/variant/primary/value/checked/radio/rest'],
4224
+ secondary: theme.components['radio/variant/secondary/value/checked/radio/rest'],
4225
+ },
4226
+ pressed: { true: {} },
4227
+ value: { checked: {}, unchecked: {} },
4228
+ },
4229
+ compoundVariants: [
4230
+ {
4231
+ variant: 'alert-secondary',
4232
+ value: 'checked',
4233
+ pressed: true,
4234
+ styles: theme.components['radio/variant/alert-secondary/value/checked/radio/pressed'],
4235
+ },
4236
+ {
4237
+ variant: 'alert-secondary',
4238
+ value: 'checked',
4239
+ styles: theme.components['radio/variant/alert-secondary/value/checked/radio/rest'],
4240
+ },
4241
+ {
4242
+ variant: 'alert-secondary',
4243
+ value: 'unchecked',
4244
+ pressed: true,
4245
+ styles: theme.components['radio/variant/alert-secondary/value/unchecked/radio/pressed'],
4246
+ },
4247
+ {
4248
+ variant: 'alert-secondary',
4249
+ value: 'unchecked',
4250
+ styles: theme.components['radio/variant/alert-secondary/value/unchecked/radio/rest'],
4251
+ },
4252
+ {
4253
+ variant: 'alert',
4254
+ value: 'checked',
4255
+ pressed: true,
4256
+ styles: theme.components['radio/variant/alert/value/checked/radio/pressed'],
4257
+ },
4258
+ {
4259
+ variant: 'alert',
4260
+ value: 'checked',
4261
+ styles: theme.components['radio/variant/alert/value/checked/radio/rest'],
4262
+ },
4263
+ {
4264
+ variant: 'alert',
4265
+ value: 'unchecked',
4266
+ pressed: true,
4267
+ styles: theme.components['radio/variant/alert/value/unchecked/radio/pressed'],
4268
+ },
4269
+ {
4270
+ variant: 'alert',
4271
+ value: 'unchecked',
4272
+ styles: theme.components['radio/variant/alert/value/unchecked/radio/rest'],
4273
+ },
4274
+ {
4275
+ variant: 'primary',
4276
+ value: 'checked',
4277
+ pressed: true,
4278
+ styles: theme.components['radio/variant/primary/value/checked/radio/pressed'],
4279
+ },
4280
+ {
4281
+ variant: 'primary',
4282
+ value: 'checked',
4283
+ styles: theme.components['radio/variant/primary/value/checked/radio/rest'],
4284
+ },
4285
+ {
4286
+ variant: 'primary',
4287
+ value: 'unchecked',
4288
+ pressed: true,
4289
+ styles: theme.components['radio/variant/primary/value/unchecked/radio/pressed'],
4290
+ },
4291
+ {
4292
+ variant: 'primary',
4293
+ value: 'unchecked',
4294
+ styles: theme.components['radio/variant/primary/value/unchecked/radio/rest'],
4295
+ },
4296
+ {
4297
+ variant: 'secondary',
4298
+ value: 'checked',
4299
+ pressed: true,
4300
+ styles: theme.components['radio/variant/secondary/value/checked/radio/pressed'],
4301
+ },
4302
+ {
4303
+ variant: 'secondary',
4304
+ value: 'checked',
4305
+ styles: theme.components['radio/variant/secondary/value/checked/radio/rest'],
4306
+ },
4307
+ {
4308
+ variant: 'secondary',
4309
+ value: 'unchecked',
4310
+ pressed: true,
4311
+ styles: theme.components['radio/variant/secondary/value/unchecked/radio/pressed'],
4312
+ },
4313
+ {
4314
+ variant: 'secondary',
4315
+ value: 'unchecked',
4316
+ styles: theme.components['radio/variant/secondary/value/unchecked/radio/rest'],
4317
+ },
4318
+ ],
4319
+ },
4320
+ radioCircle: {
4321
+ variants: {
4322
+ variant: {
4323
+ alert: theme.components['radio/variant/alert/value/checked/radioCircle/rest'],
4324
+ 'alert-secondary':
4325
+ theme.components['radio/variant/alert-secondary/value/checked/radioCircle/rest'],
4326
+ primary: theme.components['radio/variant/primary/value/checked/radioCircle/rest'],
4327
+ secondary: theme.components['radio/variant/secondary/value/checked/radioCircle/rest'],
4328
+ },
4329
+ pressed: { true: {} },
4330
+ value: { checked: {}, unchecked: {} },
4331
+ },
4332
+ compoundVariants: [
4333
+ {
4334
+ variant: 'alert-secondary',
4335
+ value: 'checked',
4336
+ pressed: true,
4337
+ styles: theme.components['radio/variant/alert-secondary/value/checked/radioCircle/pressed'],
4338
+ },
4339
+ {
4340
+ variant: 'alert-secondary',
4341
+ value: 'checked',
4342
+ styles: theme.components['radio/variant/alert-secondary/value/checked/radioCircle/rest'],
4343
+ },
4344
+ {
4345
+ variant: 'alert-secondary',
4346
+ value: 'unchecked',
4347
+ pressed: true,
4348
+ styles:
4349
+ theme.components['radio/variant/alert-secondary/value/unchecked/radioCircle/pressed'],
4350
+ },
4351
+ {
4352
+ variant: 'alert-secondary',
4353
+ value: 'unchecked',
4354
+ styles: theme.components['radio/variant/alert-secondary/value/unchecked/radioCircle/rest'],
4355
+ },
4356
+ {
4357
+ variant: 'alert',
4358
+ value: 'checked',
4359
+ pressed: true,
4360
+ styles: theme.components['radio/variant/alert/value/checked/radioCircle/pressed'],
4361
+ },
4362
+ {
4363
+ variant: 'alert',
4364
+ value: 'checked',
4365
+ styles: theme.components['radio/variant/alert/value/checked/radioCircle/rest'],
4366
+ },
4367
+ {
4368
+ variant: 'alert',
4369
+ value: 'unchecked',
4370
+ pressed: true,
4371
+ styles: theme.components['radio/variant/alert/value/unchecked/radioCircle/pressed'],
4372
+ },
4373
+ {
4374
+ variant: 'alert',
4375
+ value: 'unchecked',
4376
+ styles: theme.components['radio/variant/alert/value/unchecked/radioCircle/rest'],
4377
+ },
4378
+ {
4379
+ variant: 'primary',
4380
+ value: 'checked',
4381
+ pressed: true,
4382
+ styles: theme.components['radio/variant/primary/value/checked/radioCircle/pressed'],
4383
+ },
4384
+ {
4385
+ variant: 'primary',
4386
+ value: 'checked',
4387
+ styles: theme.components['radio/variant/primary/value/checked/radioCircle/rest'],
4388
+ },
4389
+ {
4390
+ variant: 'primary',
4391
+ value: 'unchecked',
4392
+ pressed: true,
4393
+ styles: theme.components['radio/variant/primary/value/unchecked/radioCircle/pressed'],
4394
+ },
4395
+ {
4396
+ variant: 'primary',
4397
+ value: 'unchecked',
4398
+ styles: theme.components['radio/variant/primary/value/unchecked/radioCircle/rest'],
4399
+ },
4400
+ {
4401
+ variant: 'secondary',
4402
+ value: 'checked',
4403
+ pressed: true,
4404
+ styles: theme.components['radio/variant/secondary/value/checked/radioCircle/pressed'],
4405
+ },
4406
+ {
4407
+ variant: 'secondary',
4408
+ value: 'checked',
4409
+ styles: theme.components['radio/variant/secondary/value/checked/radioCircle/rest'],
4410
+ },
4411
+ {
4412
+ variant: 'secondary',
4413
+ value: 'unchecked',
4414
+ pressed: true,
4415
+ styles: theme.components['radio/variant/secondary/value/unchecked/radioCircle/pressed'],
4416
+ },
4417
+ {
4418
+ variant: 'secondary',
4419
+ value: 'unchecked',
4420
+ styles: theme.components['radio/variant/secondary/value/unchecked/radioCircle/rest'],
4421
+ },
4422
+ ],
4423
+ },
4424
+ }));
4425
+
4426
+ /**
4427
+ * Layer-based styles for Switch.
4428
+ * Uses compound variants for state-specific (disabled/pressed) styles.
4429
+ *
4430
+ * Usage:
4431
+ * ```tsx
4432
+ * switchStyles.useVariants({
4433
+ * size,
4434
+ * variant,
4435
+ * disabled: isDisabled, // boolean
4436
+ * pressed: isPressed, // boolean
4437
+ * });
4438
+ * // Access: switchStyles.root, switchStyles.icon, etc.
4439
+ * ```
4440
+ */
4441
+ const switchStyles = StyleSheet.create((theme) => ({
4442
+ root: {
4443
+ variants: {
4444
+ size: {
4445
+ md: theme.components['switch/size/md/root/rest'],
4446
+ sm: theme.components['switch/size/sm/root/rest'],
4447
+ },
4448
+ },
4449
+ },
4450
+ text: {
4451
+ variants: {
4452
+ size: {
4453
+ md: theme.components['switch/size/md/rootText/rest'],
4454
+ sm: theme.components['switch/size/sm/rootText/rest'],
4455
+ },
4456
+ },
4457
+ },
4458
+ handle: {
4459
+ variants: {
4460
+ size: {
4461
+ md: theme.components['switch/size/md/handle/rest'],
4462
+ sm: theme.components['switch/size/sm/handle/rest'],
4463
+ },
4464
+ variant: {
4465
+ off: theme.components['switch/variant/default/active/off/handle/rest'],
4466
+ on: theme.components['switch/variant/default/active/on/handle/rest'],
4467
+ },
4468
+ },
4469
+ },
4470
+ handleIcon: {
4471
+ variants: {
4472
+ size: {
4473
+ md: theme.components['switch/size/md/handleIcon/rest'],
4474
+ sm: theme.components['switch/size/sm/handleIcon/rest'],
4475
+ },
4476
+ variant: {
4477
+ off: theme.components['switch/variant/default/active/off/handleIcon/rest'],
4478
+ on: theme.components['switch/variant/default/active/on/handleIcon/rest'],
4479
+ },
4480
+ },
4481
+ },
4482
+ switch: {
4483
+ variants: {
4484
+ size: {
4485
+ md: theme.components['switch/size/md/switch/rest'],
4486
+ sm: theme.components['switch/size/sm/switch/rest'],
4487
+ },
4488
+ variant: {
4489
+ off: theme.components['switch/variant/default/active/off/switch/rest'],
4490
+ on: theme.components['switch/variant/default/active/on/switch/rest'],
4491
+ },
4492
+ },
4493
+ },
4494
+ }));
4495
+
4496
+ module.exports = {
4497
+ styles,
4498
+ avatarStyles,
4499
+ badgeStyles,
4500
+ buttonStyles,
4501
+ checkboxStyles,
4502
+ chipStyles,
4503
+ dividerStyles,
4504
+ iconButtonStyles,
4505
+ inputStyles,
4506
+ linkStyles,
4507
+ menuStyles,
4508
+ radioStyles,
4509
+ switchStyles,
4510
+ };