@aws-amplify/ui 5.8.1 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/esm/helpers/accountSettings/utils.mjs +33 -1
  2. package/dist/esm/helpers/accountSettings/validator.mjs +120 -1
  3. package/dist/esm/helpers/authenticator/actor.mjs +20 -1
  4. package/dist/esm/helpers/authenticator/constants.mjs +144 -1
  5. package/dist/esm/helpers/authenticator/defaultAuthHubHandler.mjs +52 -0
  6. package/dist/esm/helpers/authenticator/facade.mjs +137 -1
  7. package/dist/esm/helpers/authenticator/form.mjs +43 -1
  8. package/dist/esm/helpers/authenticator/formFields/defaults.mjs +132 -1
  9. package/dist/esm/helpers/authenticator/formFields/formFields.mjs +62 -1
  10. package/dist/esm/helpers/authenticator/formFields/utils.mjs +35 -0
  11. package/dist/esm/helpers/authenticator/getRoute.mjs +47 -0
  12. package/dist/esm/helpers/authenticator/textUtil.mjs +112 -1
  13. package/dist/esm/helpers/authenticator/utils.mjs +38 -1
  14. package/dist/esm/helpers/utils.mjs +5 -1
  15. package/dist/esm/i18n/country-dial-codes.mjs +210 -1
  16. package/dist/esm/i18n/dictionaries/authenticator/de.mjs +87 -1
  17. package/dist/esm/i18n/dictionaries/authenticator/defaultTexts.mjs +83 -1
  18. package/dist/esm/i18n/dictionaries/authenticator/en.mjs +74 -1
  19. package/dist/esm/i18n/dictionaries/authenticator/es.mjs +83 -1
  20. package/dist/esm/i18n/dictionaries/authenticator/fr.mjs +92 -1
  21. package/dist/esm/i18n/dictionaries/authenticator/he.mjs +54 -1
  22. package/dist/esm/i18n/dictionaries/authenticator/id.mjs +96 -1
  23. package/dist/esm/i18n/dictionaries/authenticator/it.mjs +82 -1
  24. package/dist/esm/i18n/dictionaries/authenticator/ja.mjs +86 -1
  25. package/dist/esm/i18n/dictionaries/authenticator/kr.mjs +71 -1
  26. package/dist/esm/i18n/dictionaries/authenticator/nb.mjs +95 -1
  27. package/dist/esm/i18n/dictionaries/authenticator/nl.mjs +67 -1
  28. package/dist/esm/i18n/dictionaries/authenticator/pl.mjs +71 -1
  29. package/dist/esm/i18n/dictionaries/authenticator/pt.mjs +61 -1
  30. package/dist/esm/i18n/dictionaries/authenticator/ru.mjs +61 -1
  31. package/dist/esm/i18n/dictionaries/authenticator/sv.mjs +82 -1
  32. package/dist/esm/i18n/dictionaries/authenticator/tr.mjs +76 -1
  33. package/dist/esm/i18n/dictionaries/authenticator/ua.mjs +84 -1
  34. package/dist/esm/i18n/dictionaries/authenticator/zh.mjs +74 -1
  35. package/dist/esm/i18n/dictionaries/index.mjs +47 -1
  36. package/dist/esm/i18n/translations.mjs +67 -1
  37. package/dist/esm/index.mjs +28 -1
  38. package/dist/esm/machines/authenticator/actions.mjs +188 -1
  39. package/dist/esm/machines/authenticator/actors/forgotPassword.mjs +184 -0
  40. package/dist/esm/machines/authenticator/actors/signIn.mjs +328 -1
  41. package/dist/esm/machines/authenticator/actors/signOut.mjs +28 -1
  42. package/dist/esm/machines/authenticator/actors/signUp.mjs +295 -0
  43. package/dist/esm/machines/authenticator/actors/verifyUserAttributes.mjs +106 -0
  44. package/dist/esm/machines/authenticator/defaultServices.mjs +102 -1
  45. package/dist/esm/machines/authenticator/guards.mjs +70 -0
  46. package/dist/esm/machines/authenticator/index.mjs +368 -1
  47. package/dist/esm/machines/authenticator/utils.mjs +71 -0
  48. package/dist/esm/theme/breakpoints.mjs +14 -1
  49. package/dist/esm/theme/createTheme.mjs +156 -1
  50. package/dist/esm/theme/defaultDarkModeOverride.mjs +128 -1
  51. package/dist/esm/theme/defaultTheme.mjs +10 -1
  52. package/dist/esm/theme/tokens/borderWidths.mjs +7 -1
  53. package/dist/esm/theme/tokens/colors.mjs +166 -1
  54. package/dist/esm/theme/tokens/components/accordion.mjs +47 -0
  55. package/dist/esm/theme/tokens/components/alert.mjs +35 -1
  56. package/dist/esm/theme/tokens/components/authenticator.mjs +39 -1
  57. package/dist/esm/theme/tokens/components/autocomplete.mjs +42 -1
  58. package/dist/esm/theme/tokens/components/badge.mjs +44 -1
  59. package/dist/esm/theme/tokens/components/breadcrumbs.mjs +34 -1
  60. package/dist/esm/theme/tokens/components/button.mjs +685 -1
  61. package/dist/esm/theme/tokens/components/card.mjs +27 -1
  62. package/dist/esm/theme/tokens/components/checkbox.mjs +87 -1
  63. package/dist/esm/theme/tokens/components/checkboxField.mjs +8 -1
  64. package/dist/esm/theme/tokens/components/collection.mjs +72 -1
  65. package/dist/esm/theme/tokens/components/copy.mjs +18 -1
  66. package/dist/esm/theme/tokens/components/dialCodeSelect.mjs +7 -1
  67. package/dist/esm/theme/tokens/components/divider.mjs +22 -1
  68. package/dist/esm/theme/tokens/components/dropZone.mjs +46 -1
  69. package/dist/esm/theme/tokens/components/field.mjs +20 -1
  70. package/dist/esm/theme/tokens/components/fieldControl.mjs +131 -1
  71. package/dist/esm/theme/tokens/components/fieldGroup.mjs +11 -1
  72. package/dist/esm/theme/tokens/components/fieldMessages.mjs +13 -1
  73. package/dist/esm/theme/tokens/components/fieldset.mjs +40 -1
  74. package/dist/esm/theme/tokens/components/flex.mjs +9 -1
  75. package/dist/esm/theme/tokens/components/heading.mjs +30 -1
  76. package/dist/esm/theme/tokens/components/highlightMatch.mjs +7 -1
  77. package/dist/esm/theme/tokens/components/icon.mjs +6 -1
  78. package/dist/esm/theme/tokens/components/image.mjs +8 -1
  79. package/dist/esm/theme/tokens/components/inAppMessaging.mjs +23 -1
  80. package/dist/esm/theme/tokens/components/index.mjs +111 -1
  81. package/dist/esm/theme/tokens/components/input.mjs +12 -1
  82. package/dist/esm/theme/tokens/components/link.mjs +9 -1
  83. package/dist/esm/theme/tokens/components/liveness.mjs +7 -1
  84. package/dist/esm/theme/tokens/components/loader.mjs +42 -1
  85. package/dist/esm/theme/tokens/components/menu.mjs +27 -1
  86. package/dist/esm/theme/tokens/components/message.mjs +102 -1
  87. package/dist/esm/theme/tokens/components/pagination.mjs +40 -1
  88. package/dist/esm/theme/tokens/components/passwordField.mjs +38 -1
  89. package/dist/esm/theme/tokens/components/phoneNumberField.mjs +10 -1
  90. package/dist/esm/theme/tokens/components/placeholder.mjs +18 -1
  91. package/dist/esm/theme/tokens/components/radio.mjs +67 -1
  92. package/dist/esm/theme/tokens/components/radioGroup.mjs +19 -1
  93. package/dist/esm/theme/tokens/components/rating.mjs +9 -1
  94. package/dist/esm/theme/tokens/components/searchField.mjs +39 -1
  95. package/dist/esm/theme/tokens/components/select.mjs +63 -1
  96. package/dist/esm/theme/tokens/components/selectField.mjs +16 -1
  97. package/dist/esm/theme/tokens/components/sliderField.mjs +70 -1
  98. package/dist/esm/theme/tokens/components/stepperField.mjs +33 -1
  99. package/dist/esm/theme/tokens/components/storagemanager.mjs +97 -1
  100. package/dist/esm/theme/tokens/components/switchField.mjs +61 -1
  101. package/dist/esm/theme/tokens/components/table.mjs +105 -1
  102. package/dist/esm/theme/tokens/components/tabs.mjs +59 -1
  103. package/dist/esm/theme/tokens/components/text.mjs +28 -1
  104. package/dist/esm/theme/tokens/components/textAreaField.mjs +11 -1
  105. package/dist/esm/theme/tokens/components/textField.mjs +12 -1
  106. package/dist/esm/theme/tokens/components/toggleButton.mjs +96 -1
  107. package/dist/esm/theme/tokens/components/toggleButtonGroup.mjs +7 -1
  108. package/dist/esm/theme/tokens/fontSizes.mjs +14 -1
  109. package/dist/esm/theme/tokens/fontWeights.mjs +13 -1
  110. package/dist/esm/theme/tokens/fonts.mjs +19 -1
  111. package/dist/esm/theme/tokens/index.mjs +65 -1
  112. package/dist/esm/theme/tokens/lineHeights.mjs +7 -1
  113. package/dist/esm/theme/tokens/opacities.mjs +15 -1
  114. package/dist/esm/theme/tokens/outlineOffsets.mjs +7 -1
  115. package/dist/esm/theme/tokens/outlineWidths.mjs +7 -1
  116. package/dist/esm/theme/tokens/radii.mjs +11 -1
  117. package/dist/esm/theme/tokens/shadows.mjs +28 -1
  118. package/dist/esm/theme/tokens/space.mjs +29 -1
  119. package/dist/esm/theme/tokens/time.mjs +7 -1
  120. package/dist/esm/theme/tokens/transforms.mjs +10 -1
  121. package/dist/esm/theme/utils.mjs +81 -1
  122. package/dist/esm/types/authenticator/attributes.mjs +41 -1
  123. package/dist/esm/types/authenticator/user.mjs +18 -1
  124. package/dist/esm/types/authenticator/utils.mjs +5 -1
  125. package/dist/esm/types/primitives/componentClassName.mjs +164 -1
  126. package/dist/esm/utils/classNames.mjs +39 -0
  127. package/dist/esm/utils/setUserAgent/constants.mjs +43 -0
  128. package/dist/esm/utils/setUserAgent/setUserAgent.mjs +65 -0
  129. package/dist/esm/utils/utils.mjs +227 -0
  130. package/dist/esm/validators/index.mjs +19 -1
  131. package/dist/index.js +8396 -1
  132. package/dist/styles/StorageManager.css +138 -0
  133. package/dist/styles/StorageManager.layer.css +140 -0
  134. package/dist/styles/_fieldControl.css +0 -0
  135. package/dist/styles/_fieldControl.layer.css +3 -0
  136. package/dist/styles/accordion.css +64 -0
  137. package/dist/styles/accordion.layer.css +66 -0
  138. package/dist/styles/alert.css +44 -0
  139. package/dist/styles/alert.layer.css +46 -0
  140. package/dist/styles/authenticator.css +72 -0
  141. package/dist/styles/authenticator.layer.css +74 -0
  142. package/dist/styles/autocomplete.css +48 -0
  143. package/dist/styles/autocomplete.layer.css +50 -0
  144. package/dist/styles/badge.css +35 -0
  145. package/dist/styles/badge.layer.css +37 -0
  146. package/dist/styles/base.css +1491 -0
  147. package/dist/styles/base.layer.css +1493 -0
  148. package/dist/styles/breadcrumbs.css +40 -0
  149. package/dist/styles/breadcrumbs.layer.css +42 -0
  150. package/dist/styles/button.css +1122 -0
  151. package/dist/styles/button.layer.css +1124 -0
  152. package/dist/styles/card.css +26 -0
  153. package/dist/styles/card.layer.css +28 -0
  154. package/dist/styles/checkbox.css +95 -0
  155. package/dist/styles/checkbox.layer.css +97 -0
  156. package/dist/styles/checkboxField.css +6 -0
  157. package/dist/styles/checkboxField.layer.css +8 -0
  158. package/dist/styles/collection.css +70 -0
  159. package/dist/styles/collection.layer.css +72 -0
  160. package/dist/styles/copy.css +27 -0
  161. package/dist/styles/copy.layer.css +29 -0
  162. package/dist/styles/dialCodeSelect.css +3 -0
  163. package/dist/styles/dialCodeSelect.layer.css +5 -0
  164. package/dist/styles/divider.css +47 -0
  165. package/dist/styles/divider.layer.css +49 -0
  166. package/dist/styles/dropZone.css +45 -0
  167. package/dist/styles/dropZone.layer.css +47 -0
  168. package/dist/styles/field.css +17 -0
  169. package/dist/styles/field.layer.css +19 -0
  170. package/dist/styles/fieldGroup.css +130 -0
  171. package/dist/styles/fieldGroup.layer.css +132 -0
  172. package/dist/styles/fieldMessages.css +10 -0
  173. package/dist/styles/fieldMessages.layer.css +12 -0
  174. package/dist/styles/fieldModifiers.css +15 -0
  175. package/dist/styles/fieldModifiers.layer.css +17 -0
  176. package/dist/styles/fieldset.css +37 -0
  177. package/dist/styles/fieldset.layer.css +39 -0
  178. package/dist/styles/flex.css +8 -0
  179. package/dist/styles/flex.layer.css +10 -0
  180. package/dist/styles/grid.css +3 -0
  181. package/dist/styles/grid.layer.css +5 -0
  182. package/dist/styles/heading.css +40 -0
  183. package/dist/styles/heading.layer.css +42 -0
  184. package/dist/styles/highlightMatch.css +3 -0
  185. package/dist/styles/highlightMatch.layer.css +5 -0
  186. package/dist/styles/icon.css +14 -0
  187. package/dist/styles/icon.layer.css +16 -0
  188. package/dist/styles/image.css +9 -0
  189. package/dist/styles/image.layer.css +11 -0
  190. package/dist/styles/inAppMessaging.css +179 -0
  191. package/dist/styles/inAppMessaging.layer.css +181 -0
  192. package/dist/styles/input.css +83 -0
  193. package/dist/styles/input.layer.css +85 -0
  194. package/dist/styles/link.css +26 -0
  195. package/dist/styles/link.layer.css +28 -0
  196. package/dist/styles/liveness.css +423 -0
  197. package/dist/styles/liveness.layer.css +425 -0
  198. package/dist/styles/loader.css +108 -0
  199. package/dist/styles/loader.layer.css +110 -0
  200. package/dist/styles/menu.css +54 -0
  201. package/dist/styles/menu.layer.css +56 -0
  202. package/dist/styles/message.css +111 -0
  203. package/dist/styles/message.layer.css +113 -0
  204. package/dist/styles/pagination.css +41 -0
  205. package/dist/styles/pagination.layer.css +43 -0
  206. package/dist/styles/passwordField.css +49 -0
  207. package/dist/styles/passwordField.layer.css +51 -0
  208. package/dist/styles/phoneNumberField.css +30 -0
  209. package/dist/styles/phoneNumberField.layer.css +32 -0
  210. package/dist/styles/placeholder.css +31 -0
  211. package/dist/styles/placeholder.layer.css +33 -0
  212. package/dist/styles/radio.css +82 -0
  213. package/dist/styles/radio.layer.css +84 -0
  214. package/dist/styles/radioGroupField.css +25 -0
  215. package/dist/styles/radioGroupField.layer.css +27 -0
  216. package/dist/styles/radiogroup.css +5 -0
  217. package/dist/styles/radiogroup.layer.css +7 -0
  218. package/dist/styles/rating.css +33 -0
  219. package/dist/styles/rating.layer.css +35 -0
  220. package/dist/styles/reset.css +76 -0
  221. package/dist/styles/reset.layer.css +78 -0
  222. package/dist/styles/scrollView.css +4 -0
  223. package/dist/styles/scrollView.layer.css +6 -0
  224. package/dist/styles/searchField.css +29 -0
  225. package/dist/styles/searchField.layer.css +31 -0
  226. package/dist/styles/select.css +128 -0
  227. package/dist/styles/select.layer.css +130 -0
  228. package/dist/styles/selectField.css +18 -0
  229. package/dist/styles/selectField.layer.css +20 -0
  230. package/dist/styles/sliderField.css +143 -0
  231. package/dist/styles/sliderField.layer.css +145 -0
  232. package/dist/styles/stepperField.css +77 -0
  233. package/dist/styles/stepperField.layer.css +79 -0
  234. package/dist/styles/switchField.css +76 -0
  235. package/dist/styles/switchField.layer.css +78 -0
  236. package/dist/styles/table.css +146 -0
  237. package/dist/styles/table.layer.css +148 -0
  238. package/dist/styles/tabs.css +87 -0
  239. package/dist/styles/tabs.layer.css +89 -0
  240. package/dist/styles/text.css +40 -0
  241. package/dist/styles/text.layer.css +42 -0
  242. package/dist/styles/textArea.css +71 -0
  243. package/dist/styles/textArea.layer.css +73 -0
  244. package/dist/styles/textAreaField.css +12 -0
  245. package/dist/styles/textAreaField.layer.css +14 -0
  246. package/dist/styles/textField.css +14 -0
  247. package/dist/styles/textField.layer.css +16 -0
  248. package/dist/styles/toggleButton.css +280 -0
  249. package/dist/styles/toggleButton.layer.css +282 -0
  250. package/dist/styles/toggleButtonGroup.css +31 -0
  251. package/dist/styles/toggleButtonGroup.layer.css +33 -0
  252. package/dist/styles/visuallyHidden.css +12 -0
  253. package/dist/styles/visuallyHidden.layer.css +14 -0
  254. package/dist/styles.css +343 -680
  255. package/dist/styles.layer.css +6164 -0
  256. package/dist/theme.css +93 -156
  257. package/dist/types/helpers/accountSettings/utils.d.ts +1 -3
  258. package/dist/types/helpers/authenticator/actor.d.ts +1 -1
  259. package/dist/types/helpers/authenticator/constants.d.ts +5 -0
  260. package/dist/types/helpers/authenticator/defaultAuthHubHandler.d.ts +15 -0
  261. package/dist/types/helpers/authenticator/facade.d.ts +35 -6
  262. package/dist/types/helpers/authenticator/formFields/defaults.d.ts +3 -1
  263. package/dist/types/helpers/authenticator/formFields/formFields.d.ts +2 -1
  264. package/dist/types/helpers/authenticator/formFields/index.d.ts +1 -1
  265. package/dist/types/helpers/authenticator/formFields/{util.d.ts → utils.d.ts} +2 -0
  266. package/dist/types/helpers/authenticator/getRoute.d.ts +2 -0
  267. package/dist/types/helpers/authenticator/index.d.ts +2 -1
  268. package/dist/types/helpers/authenticator/textUtil.d.ts +8 -7
  269. package/dist/types/{types/authenticator/stateMachine/authMachine.d.ts → helpers/authenticator/types.d.ts} +5 -5
  270. package/dist/types/helpers/authenticator/utils.d.ts +0 -25
  271. package/dist/types/helpers/index.d.ts +0 -1
  272. package/dist/types/helpers/utils.d.ts +2 -2
  273. package/dist/types/i18n/translations.d.ts +2 -3
  274. package/dist/types/machines/authenticator/actions.d.ts +4 -62
  275. package/dist/types/machines/authenticator/actors/{resetPassword.d.ts → forgotPassword.d.ts} +3 -3
  276. package/dist/types/machines/authenticator/actors/index.d.ts +3 -1
  277. package/dist/types/machines/authenticator/actors/signIn.d.ts +3 -3
  278. package/dist/types/machines/authenticator/actors/signOut.d.ts +2 -2
  279. package/dist/types/machines/authenticator/{signUp.d.ts → actors/signUp.d.ts} +3 -3
  280. package/dist/types/machines/authenticator/actors/verifyUserAttributes.d.ts +5 -0
  281. package/dist/types/machines/authenticator/defaultServices.d.ts +208 -28
  282. package/dist/types/machines/authenticator/getAuthenticatorConfig.d.ts +14 -0
  283. package/dist/types/machines/authenticator/guards.d.ts +4 -0
  284. package/dist/types/machines/authenticator/index.d.ts +4 -2
  285. package/dist/types/machines/authenticator/types.d.ts +125 -0
  286. package/dist/types/machines/authenticator/utils.d.ts +7 -0
  287. package/dist/types/machines/index.d.ts +1 -0
  288. package/dist/types/theme/tokens/borderWidths.d.ts +2 -2
  289. package/dist/types/theme/tokens/colors.d.ts +7 -9
  290. package/dist/types/theme/tokens/components/accordion.d.ts +12 -0
  291. package/dist/types/theme/tokens/components/index.d.ts +2 -4
  292. package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
  293. package/dist/types/theme/tokens/components/storagemanager.d.ts +18 -3
  294. package/dist/types/theme/tokens/components/tabs.d.ts +4 -3
  295. package/dist/types/theme/tokens/fontSizes.d.ts +2 -2
  296. package/dist/types/theme/tokens/fontWeights.d.ts +2 -2
  297. package/dist/types/theme/tokens/fonts.d.ts +2 -2
  298. package/dist/types/theme/tokens/lineHeights.d.ts +2 -2
  299. package/dist/types/theme/tokens/opacities.d.ts +2 -2
  300. package/dist/types/theme/tokens/outlineOffsets.d.ts +2 -2
  301. package/dist/types/theme/tokens/outlineWidths.d.ts +2 -2
  302. package/dist/types/theme/tokens/radii.d.ts +2 -2
  303. package/dist/types/theme/tokens/shadows.d.ts +2 -2
  304. package/dist/types/theme/tokens/space.d.ts +2 -2
  305. package/dist/types/theme/tokens/time.d.ts +2 -2
  306. package/dist/types/theme/tokens/types/designToken.d.ts +12 -6
  307. package/dist/types/theme/types.d.ts +5 -1
  308. package/dist/types/types/authenticator/attributes.d.ts +10 -4
  309. package/dist/types/types/authenticator/form.d.ts +7 -6
  310. package/dist/types/types/authenticator/index.d.ts +0 -1
  311. package/dist/types/types/authenticator/user.d.ts +3 -29
  312. package/dist/types/types/authenticator/validator.d.ts +2 -2
  313. package/dist/types/types/displayText.d.ts +84 -0
  314. package/dist/types/types/index.d.ts +1 -0
  315. package/dist/types/types/primitives/componentClassName.d.ts +162 -180
  316. package/dist/types/types/util.d.ts +0 -5
  317. package/dist/types/utils/classNames.d.ts +4 -0
  318. package/dist/types/utils/index.d.ts +3 -135
  319. package/dist/types/utils/setUserAgent/constants.d.ts +7 -0
  320. package/dist/types/utils/setUserAgent/index.d.ts +1 -0
  321. package/dist/types/utils/setUserAgent/setUserAgent.d.ts +19 -0
  322. package/dist/types/utils/utils.d.ts +147 -0
  323. package/dist/types/validators/index.d.ts +2 -2
  324. package/package.json +5 -19
  325. package/dist/esm/helpers/authenticator/context.mjs +0 -1
  326. package/dist/esm/helpers/authenticator/formFields/util.mjs +0 -1
  327. package/dist/esm/helpers/storage/fileUploader/utils/uploader.mjs +0 -1
  328. package/dist/esm/machines/authenticator/actors/resetPassword.mjs +0 -1
  329. package/dist/esm/machines/authenticator/signUp.mjs +0 -1
  330. package/dist/esm/theme/tokens/components/expander.mjs +0 -1
  331. package/dist/esm/theme/tokens/components/fileUploader.mjs +0 -1
  332. package/dist/esm/utils/index.mjs +0 -1
  333. package/dist/types/helpers/authenticator/context.d.ts +0 -13
  334. package/dist/types/helpers/storage/fileUploader/index.d.ts +0 -1
  335. package/dist/types/helpers/storage/fileUploader/utils/index.d.ts +0 -1
  336. package/dist/types/helpers/storage/fileUploader/utils/uploader.d.ts +0 -28
  337. package/dist/types/helpers/storage/index.d.ts +0 -1
  338. package/dist/types/theme/tokens/components/expander.d.ts +0 -22
  339. package/dist/types/theme/tokens/components/fileUploader.d.ts +0 -23
  340. package/dist/types/types/authenticator/stateMachine/context.d.ts +0 -109
  341. package/dist/types/types/authenticator/stateMachine/event.d.ts +0 -17
  342. package/dist/types/types/authenticator/stateMachine/index.d.ts +0 -4
  343. package/dist/types/types/authenticator/stateMachine/state.d.ts +0 -10
@@ -1 +1,27 @@
1
- const o={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}};export{o as card};
1
+ const card = {
2
+ backgroundColor: { value: '{colors.background.primary.value}' },
3
+ borderRadius: { value: '{radii.xs.value}' },
4
+ borderWidth: { value: '0' },
5
+ borderStyle: { value: 'solid' },
6
+ borderColor: { value: 'transparent' },
7
+ boxShadow: { value: 'none' },
8
+ padding: { value: '{space.medium.value}' },
9
+ outlined: {
10
+ backgroundColor: { value: '{components.card.backgroundColor.value}' },
11
+ borderRadius: { value: '{radii.xs.value}' },
12
+ borderWidth: { value: '{borderWidths.small.value}' },
13
+ borderStyle: { value: 'solid' },
14
+ borderColor: { value: '{colors.border.primary.value}' },
15
+ boxShadow: { value: '{components.card.boxShadow.value}' },
16
+ },
17
+ elevated: {
18
+ backgroundColor: { value: '{components.card.backgroundColor.value}' },
19
+ borderRadius: { value: '{radii.xs.value}' },
20
+ borderWidth: { value: '0' },
21
+ borderStyle: { value: 'solid' },
22
+ borderColor: { value: 'transparent' },
23
+ boxShadow: { value: '{shadows.medium.value}' },
24
+ },
25
+ };
26
+
27
+ export { card };
@@ -1 +1,87 @@
1
- const e={cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},_indeterminate:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}};export{e as checkbox};
1
+ const checkbox = {
2
+ cursor: { value: 'pointer' },
3
+ alignItems: { value: 'center' },
4
+ _disabled: {
5
+ cursor: {
6
+ value: 'not-allowed',
7
+ },
8
+ },
9
+ button: {
10
+ position: { value: 'relative' },
11
+ alignItems: { value: 'center' },
12
+ justifyContent: { value: 'center' },
13
+ color: { value: '{colors.font.inverse.value}' },
14
+ before: {
15
+ width: { value: '100%' },
16
+ height: { value: '100%' },
17
+ borderWidth: { value: '{borderWidths.medium.value}' },
18
+ borderRadius: { value: '20%' },
19
+ borderStyle: { value: 'solid' },
20
+ borderColor: { value: '{colors.border.primary.value}' },
21
+ },
22
+ _focus: {
23
+ outlineColor: { value: '{colors.transparent.value}' },
24
+ outlineStyle: { value: 'solid' },
25
+ outlineWidth: { value: '{outlineWidths.medium.value}' },
26
+ outlineOffset: { value: '{outlineOffsets.medium.value}' },
27
+ borderColor: { value: '{colors.transparent.value}' },
28
+ boxShadow: {
29
+ value: {
30
+ offsetX: '0px',
31
+ offsetY: '0px',
32
+ blurRadius: '0px',
33
+ spreadRadius: '2px',
34
+ color: '{colors.border.focus.value}',
35
+ },
36
+ },
37
+ },
38
+ _disabled: {
39
+ borderColor: { value: '{colors.border.disabled.value}' },
40
+ },
41
+ _error: {
42
+ borderColor: { value: '{colors.border.error.value}' },
43
+ _focus: {
44
+ borderColor: { value: '{colors.transparent.value}' },
45
+ boxShadow: {
46
+ value: {
47
+ offsetX: '0px',
48
+ offsetY: '0px',
49
+ blurRadius: '0px',
50
+ spreadRadius: '2px',
51
+ color: '{colors.border.error.value}',
52
+ },
53
+ },
54
+ },
55
+ },
56
+ },
57
+ icon: {
58
+ backgroundColor: { value: '{colors.primary.80.value}' },
59
+ borderRadius: { value: '20%' },
60
+ opacity: { value: '{opacities.0.value}' },
61
+ transform: { value: 'scale(0)' },
62
+ transitionProperty: { value: 'all' },
63
+ transitionDuration: { value: '{time.short.value}' },
64
+ transitionTimingFunction: { value: 'ease-in-out' },
65
+ _checked: {
66
+ opacity: { value: '{opacities.100.value}' },
67
+ transform: { value: 'scale(1)' },
68
+ _disabled: {
69
+ backgroundColor: { value: '{colors.background.disabled.value}' },
70
+ },
71
+ },
72
+ _indeterminate: {
73
+ opacity: { value: '{opacities.100.value}' },
74
+ transform: { value: 'scale(1)' },
75
+ _disabled: {
76
+ backgroundColor: { value: '{colors.background.disabled.value}' },
77
+ },
78
+ },
79
+ },
80
+ label: {
81
+ _disabled: {
82
+ color: { value: '{colors.font.disabled.value}' },
83
+ },
84
+ },
85
+ };
86
+
87
+ export { checkbox };
@@ -1 +1,8 @@
1
- const e={alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}};export{e as checkboxfield};
1
+ const checkboxfield = {
2
+ alignItems: { value: 'flex-start' },
3
+ alignContent: { value: 'center' },
4
+ flexDirection: { value: 'column' },
5
+ justifyContent: { value: 'center' },
6
+ };
7
+
8
+ export { checkboxfield };
@@ -1 +1,72 @@
1
- const o={pagination:{current:{color:{value:"{components.pagination.current.color}"},backgroundColor:{value:"{components.pagination.current.backgroundColor}"}},button:{color:{value:"{components.pagination.button.color}"},_hover:{backgroundColor:{value:"{components.pagination.button.hover.backgroundColor}"},color:{value:"{components.pagination.button.hover.color}"}},_disabled:{color:{value:"{components.pagination.button.disabled.color}"}}}},search:{input:{color:{value:"{components.searchfield.color}"}},button:{color:{value:"{components.searchfield.button.color}"},_active:{backgroundColor:{value:"{components.searchfield.button._active.backgroundColor}"},borderColor:{value:"{components.searchfield.button._active.borderColor}"},color:{value:"{components.searchfield.button._active.color}"}},_disabled:{backgroundColor:{value:"{components.searchfield.button._disabled.backgroundColor}"},borderColor:{value:"{components.searchfield.button._disabled.borderColor}"},color:{value:"{components.searchfield.button._disabled.color}"}},_focus:{backgroundColor:{value:"{components.searchfield.button._focus.backgroundColor}"},borderColor:{value:"{components.searchfield.button._focus.borderColor}"},color:{value:"{components.searchfield.button._focus.color}"}},_hover:{backgroundColor:{value:"{components.searchfield.button._hover.backgroundColor}"},borderColor:{value:"{components.searchfield.button._hover.borderColor}"},color:{value:"{components.searchfield.button._hover.color}"}}}}};export{o as collection};
1
+ //we are reusing the types from the nested components but new tokens need to be created that reference the previous tokens so that they can inherit the needed values but can be overwritten and only effect the collection component.
2
+ //only a subset of the design tokens of the nested components are being exposed, this can be expanded later.
3
+ const collection = {
4
+ pagination: {
5
+ current: {
6
+ color: { value: '{components.pagination.current.color}' },
7
+ backgroundColor: {
8
+ value: '{components.pagination.current.backgroundColor}',
9
+ },
10
+ },
11
+ button: {
12
+ color: { value: '{components.pagination.button.color}' },
13
+ _hover: {
14
+ backgroundColor: {
15
+ value: '{components.pagination.button.hover.backgroundColor}',
16
+ },
17
+ color: { value: '{components.pagination.button.hover.color}' },
18
+ },
19
+ _disabled: {
20
+ color: { value: '{components.pagination.button.disabled.color}' },
21
+ },
22
+ },
23
+ },
24
+ search: {
25
+ input: {
26
+ color: { value: '{components.searchfield.color}' },
27
+ },
28
+ button: {
29
+ color: { value: '{components.searchfield.button.color}' },
30
+ _active: {
31
+ backgroundColor: {
32
+ value: '{components.searchfield.button._active.backgroundColor}',
33
+ },
34
+ borderColor: {
35
+ value: '{components.searchfield.button._active.borderColor}',
36
+ },
37
+ color: { value: '{components.searchfield.button._active.color}' },
38
+ },
39
+ _disabled: {
40
+ backgroundColor: {
41
+ value: '{components.searchfield.button._disabled.backgroundColor}',
42
+ },
43
+ borderColor: {
44
+ value: '{components.searchfield.button._disabled.borderColor}',
45
+ },
46
+ color: {
47
+ value: '{components.searchfield.button._disabled.color}',
48
+ },
49
+ },
50
+ _focus: {
51
+ backgroundColor: {
52
+ value: '{components.searchfield.button._focus.backgroundColor}',
53
+ },
54
+ borderColor: {
55
+ value: '{components.searchfield.button._focus.borderColor}',
56
+ },
57
+ color: { value: '{components.searchfield.button._focus.color}' },
58
+ },
59
+ _hover: {
60
+ backgroundColor: {
61
+ value: '{components.searchfield.button._hover.backgroundColor}',
62
+ },
63
+ borderColor: {
64
+ value: '{components.searchfield.button._hover.borderColor}',
65
+ },
66
+ color: { value: '{components.searchfield.button._hover.color}' },
67
+ },
68
+ },
69
+ },
70
+ };
71
+
72
+ export { collection };
@@ -1 +1,18 @@
1
- const e={fontSize:{value:"{fontSizes.xs}"},gap:{value:"{space.relative.medium}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{fontSizes.xxs}"}}};export{e as copy};
1
+ const copy = {
2
+ fontSize: { value: '{fontSizes.xs}' },
3
+ gap: { value: '{space.relative.medium}' },
4
+ svg: {
5
+ path: {
6
+ fill: {
7
+ value: '{colors.font.primary}',
8
+ },
9
+ },
10
+ },
11
+ toolTip: {
12
+ bottom: { value: '{space.large}' },
13
+ color: { value: '{colors.teal.100}' },
14
+ fontSize: { value: '{fontSizes.xxs}' },
15
+ },
16
+ };
17
+
18
+ export { copy };
@@ -1 +1,7 @@
1
- const e={height:{value:"{space.relative.full.value}"}};export{e as dialcodeselect};
1
+ const dialcodeselect = {
2
+ height: {
3
+ value: '{space.relative.full.value}',
4
+ },
5
+ };
6
+
7
+ export { dialcodeselect };
@@ -1 +1,22 @@
1
- const e={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}};export{e as divider};
1
+ const divider = {
2
+ borderStyle: { value: 'solid' },
3
+ borderColor: { value: '{colors.border.primary.value}' },
4
+ borderWidth: { value: '{borderWidths.medium.value}' },
5
+ label: {
6
+ color: { value: '{colors.font.tertiary.value}' },
7
+ paddingInline: { value: '{space.medium.value}' },
8
+ fontSize: { value: '{fontSizes.small.value}' },
9
+ backgroundColor: { value: '{colors.background.primary.value}' },
10
+ },
11
+ small: {
12
+ borderWidth: { value: '{borderWidths.small.value}' },
13
+ },
14
+ large: {
15
+ borderWidth: { value: '{borderWidths.large.value}' },
16
+ },
17
+ opacity: {
18
+ value: '{opacities.60.value}',
19
+ },
20
+ };
21
+
22
+ export { divider };
@@ -1 +1,46 @@
1
- const o={backgroundColor:{value:"{colors.background.primary}"},borderRadius:{value:"{radii.small}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"dashed"},borderWidth:{value:"{borderWidths.small}"},color:{value:"{colors.font.primary}"},gap:{value:"{space.small}"},paddingBlock:{value:"{space.xl}"},paddingInline:{value:"{space.large}"},textAlign:{value:"center"},_active:{backgroundColor:{value:"{colors.brand.primary.10}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.pressed}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.primary}"}},_disabled:{backgroundColor:{value:"{colors.background.disabled}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.disabled}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.disabled}"}},accepted:{backgroundColor:{value:"{colors.background.success}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.success}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.success}"}},rejected:{backgroundColor:{value:"{colors.background.error}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.pressed}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.error}"}}};export{o as dropzone};
1
+ const dropzone = {
2
+ backgroundColor: { value: '{colors.background.primary}' },
3
+ borderRadius: { value: '{radii.small}' },
4
+ borderColor: { value: '{colors.border.primary}' },
5
+ borderStyle: { value: 'dashed' },
6
+ borderWidth: { value: '{borderWidths.small}' },
7
+ color: { value: '{colors.font.primary}' },
8
+ gap: { value: '{space.small}' },
9
+ paddingBlock: { value: '{space.xl}' },
10
+ paddingInline: { value: '{space.large}' },
11
+ textAlign: { value: 'center' },
12
+ _active: {
13
+ backgroundColor: { value: '{colors.primary.10}' },
14
+ borderRadius: { value: '{components.dropzone.borderRadius}' },
15
+ borderColor: { value: '{colors.border.pressed}' },
16
+ borderStyle: { value: '{components.dropzone.borderStyle}' },
17
+ borderWidth: { value: '{components.dropzone.borderWidth}' },
18
+ color: { value: '{colors.font.primary}' },
19
+ },
20
+ _disabled: {
21
+ backgroundColor: { value: '{colors.background.disabled}' },
22
+ borderRadius: { value: '{components.dropzone.borderRadius}' },
23
+ borderColor: { value: '{colors.border.disabled}' },
24
+ borderStyle: { value: '{components.dropzone.borderStyle}' },
25
+ borderWidth: { value: '{components.dropzone.borderWidth}' },
26
+ color: { value: '{colors.font.disabled}' },
27
+ },
28
+ accepted: {
29
+ backgroundColor: { value: '{colors.background.success}' },
30
+ borderRadius: { value: '{components.dropzone.borderRadius}' },
31
+ borderColor: { value: '{colors.border.success}' },
32
+ borderStyle: { value: '{components.dropzone.borderStyle}' },
33
+ borderWidth: { value: '{components.dropzone.borderWidth}' },
34
+ color: { value: '{colors.font.success}' },
35
+ },
36
+ rejected: {
37
+ backgroundColor: { value: '{colors.background.error}' },
38
+ borderRadius: { value: '{components.dropzone.borderRadius}' },
39
+ borderColor: { value: '{colors.border.pressed}' },
40
+ borderStyle: { value: '{components.dropzone.borderStyle}' },
41
+ borderWidth: { value: '{components.dropzone.borderWidth}' },
42
+ color: { value: '{colors.font.error}' },
43
+ },
44
+ };
45
+
46
+ export { dropzone };
@@ -1 +1,20 @@
1
- const e={gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},flexDirection:{value:"column"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}};export{e as field};
1
+ const field = {
2
+ // default styles
3
+ gap: { value: '{space.xs.value}' },
4
+ fontSize: { value: '{fontSizes.medium.value}' },
5
+ flexDirection: { value: 'column' },
6
+ // Adjust base fontSize and gap for small and large sizes
7
+ small: {
8
+ gap: { value: '{space.xxxs.value}' },
9
+ fontSize: { value: '{fontSizes.small.value}' },
10
+ },
11
+ large: {
12
+ gap: { value: '{space.small.value}' },
13
+ fontSize: { value: '{fontSizes.large.value}' },
14
+ },
15
+ label: {
16
+ color: { value: '{colors.font.secondary.value}' },
17
+ },
18
+ };
19
+
20
+ export { field };
@@ -1 +1,131 @@
1
- const e={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}",blurRadius:"0px"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}",blurRadius:"0px"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},color:{value:"{colors.font.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}};export{e as fieldcontrol};
1
+ const fieldcontrol = {
2
+ borderStyle: { value: 'solid' },
3
+ borderColor: { value: '{colors.border.primary.value}' },
4
+ borderWidth: { value: '{borderWidths.small.value}' },
5
+ borderRadius: { value: '{radii.small.value}' },
6
+ color: { value: '{colors.font.primary.value}' },
7
+ paddingBlockStart: {
8
+ value: '{space.xs.value}',
9
+ },
10
+ paddingBlockEnd: {
11
+ value: '{space.xs.value}',
12
+ },
13
+ paddingInlineStart: {
14
+ value: '{space.medium.value}',
15
+ },
16
+ paddingInlineEnd: {
17
+ value: '{space.medium.value}',
18
+ },
19
+ fontSize: { value: '{components.field.fontSize.value}' },
20
+ lineHeight: { value: '{lineHeights.medium.value}' },
21
+ transitionDuration: { value: '{time.medium.value}' },
22
+ outlineColor: { value: '{colors.transparent.value}' },
23
+ outlineStyle: { value: 'solid' },
24
+ outlineWidth: { value: '{outlineWidths.medium.value}' },
25
+ outlineOffset: { value: '{outlineOffsets.medium.value}' },
26
+ small: {
27
+ fontSize: { value: '{components.field.small.fontSize.value}' },
28
+ paddingBlockStart: {
29
+ value: '{space.xxs.value}',
30
+ },
31
+ paddingBlockEnd: {
32
+ value: '{space.xxs.value}',
33
+ },
34
+ paddingInlineStart: {
35
+ value: '{space.small.value}',
36
+ },
37
+ paddingInlineEnd: {
38
+ value: '{space.small.value}',
39
+ },
40
+ },
41
+ large: {
42
+ fontSize: { value: '{components.field.large.fontSize.value}' },
43
+ paddingBlockStart: {
44
+ value: '{space.xs.value}',
45
+ },
46
+ paddingBlockEnd: {
47
+ value: '{space.xs.value}',
48
+ },
49
+ paddingInlineStart: {
50
+ value: '{space.medium.value}',
51
+ },
52
+ paddingInlineEnd: {
53
+ value: '{space.medium.value}',
54
+ },
55
+ },
56
+ quiet: {
57
+ borderStyle: { value: 'none' },
58
+ borderInlineStart: { value: 'none' },
59
+ borderInlineEnd: { value: 'none' },
60
+ borderBlockStart: { value: 'none' },
61
+ borderRadius: { value: '0' },
62
+ _focus: {
63
+ borderBlockEndColor: { value: '{colors.border.focus.value}' },
64
+ boxShadow: {
65
+ value: {
66
+ offsetX: '0px',
67
+ offsetY: '1px',
68
+ color: '{colors.border.focus.value}',
69
+ blurRadius: '0px',
70
+ },
71
+ },
72
+ },
73
+ _error: {
74
+ borderBlockEndColor: { value: '{colors.border.error.value}' },
75
+ _focus: {
76
+ boxShadow: {
77
+ value: {
78
+ offsetX: '0px',
79
+ offsetY: '1px',
80
+ color: '{colors.border.error.value}',
81
+ blurRadius: '0px',
82
+ },
83
+ },
84
+ },
85
+ },
86
+ },
87
+ _focus: {
88
+ // These focus styles have been calibrated to create
89
+ // a highly visible focus indicator per WCAG 2.1 guidliness:
90
+ // See: https://www.w3.org/WAI/WCAG21/Techniques/general/G195.html
91
+ //
92
+ // Key features:
93
+ // * Focus indicator area is at least the 1 CSS px border around the component.
94
+ // * Contrast between focused and unfocused states has a ratio of 3:1
95
+ //
96
+ // IMPORTANT: Must recalibrate if `colors.border.primary` or `colors.focus` are changed
97
+ borderColor: { value: '{colors.border.focus.value}' },
98
+ boxShadow: {
99
+ value: {
100
+ offsetX: '0px',
101
+ offsetY: '0px',
102
+ blurRadius: '0px',
103
+ spreadRadius: '1px',
104
+ color: '{colors.border.focus.value}',
105
+ },
106
+ },
107
+ },
108
+ _disabled: {
109
+ color: { value: '{colors.font.disabled.value}' },
110
+ cursor: { value: 'not-allowed' },
111
+ borderColor: { value: '{colors.transparent.value}' },
112
+ backgroundColor: { value: '{colors.background.disabled.value}' },
113
+ },
114
+ _error: {
115
+ borderColor: { value: '{colors.border.error.value}' },
116
+ color: { value: '{colors.font.error.value}' },
117
+ _focus: {
118
+ boxShadow: {
119
+ value: {
120
+ offsetX: '0px',
121
+ offsetY: '0px',
122
+ blurRadius: '0px',
123
+ spreadRadius: '1px',
124
+ color: '{colors.border.error.value}',
125
+ },
126
+ },
127
+ },
128
+ },
129
+ };
130
+
131
+ export { fieldcontrol };
@@ -1 +1,11 @@
1
- const e={gap:{value:"{space.zero.value}"},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}};export{e as fieldgroup};
1
+ const fieldgroup = {
2
+ gap: { value: '{space.zero.value}' },
3
+ vertical: {
4
+ alignItems: { value: 'center' },
5
+ },
6
+ outer: {
7
+ alignItems: { value: 'center' },
8
+ },
9
+ };
10
+
11
+ export { fieldgroup };
@@ -1 +1,13 @@
1
- const o={error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}};export{o as fieldmessages};
1
+ const fieldmessages = {
2
+ error: {
3
+ color: { value: '{colors.font.error.value}' },
4
+ fontSize: { value: '{fontSizes.small.value}' },
5
+ },
6
+ description: {
7
+ color: { value: '{colors.font.secondary.value}' },
8
+ fontStyle: { value: 'italic' },
9
+ fontSize: { value: '{fontSizes.small.value}' },
10
+ },
11
+ };
12
+
13
+ export { fieldmessages };
@@ -1 +1,40 @@
1
- const e={backgroundColor:{value:"transparent"},borderRadius:{value:"{radii.xs.value}"},flexDirection:{value:"column"},gap:{value:"{components.field.gap.value}"},legend:{color:{value:"{colors.font.primary.value}"},fontSize:{value:"{components.field.fontSize.value}"},fontWeight:{value:"{fontWeights.bold.value}"},lineHeight:{value:"{lineHeights.medium.value}"},small:{fontSize:"{components.field.small.fontSize.value}"},large:{fontSize:"{components.field.large.fontSize.value}"}},outlined:{padding:"{space.medium.value}",borderColor:"{colors.neutral.40.value}",borderWidth:"{borderWidths.small.value}",borderStyle:"solid",small:{padding:"{space.small.value}"},large:{padding:"{space.large.value}"}},small:{gap:"{components.field.small.gap.value}"},large:{gap:"{components.field.large.gap.value}"}};export{e as fieldset};
1
+ const fieldset = {
2
+ backgroundColor: { value: 'transparent' },
3
+ borderRadius: { value: '{radii.xs.value}' },
4
+ flexDirection: {
5
+ value: 'column',
6
+ },
7
+ gap: { value: '{components.field.gap.value}' },
8
+ legend: {
9
+ color: { value: '{colors.font.primary.value}' },
10
+ fontSize: { value: '{components.field.fontSize.value}' },
11
+ fontWeight: { value: '{fontWeights.bold.value}' },
12
+ lineHeight: { value: '{lineHeights.medium.value}' },
13
+ small: {
14
+ fontSize: '{components.field.small.fontSize.value}',
15
+ },
16
+ large: {
17
+ fontSize: '{components.field.large.fontSize.value}',
18
+ },
19
+ },
20
+ outlined: {
21
+ padding: '{space.medium.value}',
22
+ borderColor: '{colors.neutral.40.value}',
23
+ borderWidth: '{borderWidths.small.value}',
24
+ borderStyle: 'solid',
25
+ small: {
26
+ padding: '{space.small.value}',
27
+ },
28
+ large: {
29
+ padding: '{space.large.value}',
30
+ },
31
+ },
32
+ small: {
33
+ gap: '{components.field.small.gap.value}',
34
+ },
35
+ large: {
36
+ gap: '{components.field.large.gap.value}',
37
+ },
38
+ };
39
+
40
+ export { fieldset };
@@ -1 +1,9 @@
1
- const a={gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}};export{a as flex};
1
+ const flex = {
2
+ gap: { value: '{space.medium.value}' },
3
+ justifyContent: { value: 'normal' },
4
+ alignItems: { value: 'stretch' },
5
+ alignContent: { value: 'normal' },
6
+ flexWrap: { value: 'nowrap' },
7
+ };
8
+
9
+ export { flex };
@@ -1 +1,30 @@
1
- const e={color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}};export{e as heading};
1
+ const heading = {
2
+ color: { value: '{colors.font.primary.value}' },
3
+ lineHeight: { value: '{lineHeights.small.value}' },
4
+ 1: {
5
+ fontSize: { value: '{fontSizes.xxxxl.value}' },
6
+ fontWeight: { value: '{fontWeights.light.value}' },
7
+ },
8
+ 2: {
9
+ fontSize: { value: '{fontSizes.xxxl.value}' },
10
+ fontWeight: { value: '{fontWeights.normal.value}' },
11
+ },
12
+ 3: {
13
+ fontSize: { value: '{fontSizes.xxl.value}' },
14
+ fontWeight: { value: '{fontWeights.medium.value}' },
15
+ },
16
+ 4: {
17
+ fontSize: { value: '{fontSizes.xl.value}' },
18
+ fontWeight: { value: '{fontWeights.semibold.value}' },
19
+ },
20
+ 5: {
21
+ fontSize: { value: '{fontSizes.large.value}' },
22
+ fontWeight: { value: '{fontWeights.bold.value}' },
23
+ },
24
+ 6: {
25
+ fontSize: { value: '{fontSizes.medium.value}' },
26
+ fontWeight: { value: '{fontWeights.extrabold.value}' },
27
+ },
28
+ };
29
+
30
+ export { heading };
@@ -1 +1,7 @@
1
- const t={highlighted:{fontWeight:{value:"{fontWeights.bold}"}}};export{t as highlightmatch};
1
+ const highlightmatch = {
2
+ highlighted: {
3
+ fontWeight: { value: '{fontWeights.bold}' },
4
+ },
5
+ };
6
+
7
+ export { highlightmatch };
@@ -1 +1,6 @@
1
- const e={lineHeight:{value:1},height:{value:"1em"}};export{e as icon};
1
+ const icon = {
2
+ lineHeight: { value: 1 },
3
+ height: { value: '1em' }, // Should match height of parent container font-size
4
+ };
5
+
6
+ export { icon };
@@ -1 +1,8 @@
1
- const i={maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}};export{i as image};
1
+ const image = {
2
+ maxWidth: { value: '100%' },
3
+ height: { value: 'auto' },
4
+ objectFit: { value: 'initial' },
5
+ objectPosition: { value: 'initial' },
6
+ };
7
+
8
+ export { image };
@@ -1 +1,23 @@
1
- const e={banner:{height:{value:"150px "},width:{value:"400px "}},button:{backgroundColor:{value:"#e8e8e8"},borderRadius:{value:"5px"},color:{value:"black"}},dialog:{height:{value:"50vh"},minHeight:{value:"400px"},minWidth:{value:"400px"},width:{value:"30vw"}},header:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}};export{e as inappmessaging};
1
+ const inappmessaging = {
2
+ banner: {
3
+ height: { value: '150px ' },
4
+ width: { value: '400px ' },
5
+ },
6
+ button: {
7
+ backgroundColor: { value: '#e8e8e8' },
8
+ borderRadius: { value: '5px' },
9
+ color: { value: 'black' },
10
+ },
11
+ dialog: {
12
+ height: { value: '50vh' },
13
+ minHeight: { value: '400px' },
14
+ minWidth: { value: '400px' },
15
+ width: { value: '30vw' },
16
+ },
17
+ header: {
18
+ fontSize: { value: '{fontSizes.medium.value}' },
19
+ fontWeight: { value: '{fontWeights.extrabold.value}' },
20
+ },
21
+ };
22
+
23
+ export { inappmessaging };