@aws-amplify/ui 5.8.0 → 6.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 (344) 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 +374 -0
  197. package/dist/styles/liveness.layer.css +376 -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 +423 -869
  255. package/dist/styles.layer.css +6115 -0
  256. package/dist/theme.css +103 -157
  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/select.d.ts +6 -2
  294. package/dist/types/theme/tokens/components/storagemanager.d.ts +18 -3
  295. package/dist/types/theme/tokens/components/tabs.d.ts +4 -3
  296. package/dist/types/theme/tokens/fontSizes.d.ts +2 -2
  297. package/dist/types/theme/tokens/fontWeights.d.ts +2 -2
  298. package/dist/types/theme/tokens/fonts.d.ts +2 -2
  299. package/dist/types/theme/tokens/lineHeights.d.ts +2 -2
  300. package/dist/types/theme/tokens/opacities.d.ts +2 -2
  301. package/dist/types/theme/tokens/outlineOffsets.d.ts +2 -2
  302. package/dist/types/theme/tokens/outlineWidths.d.ts +2 -2
  303. package/dist/types/theme/tokens/radii.d.ts +2 -2
  304. package/dist/types/theme/tokens/shadows.d.ts +2 -2
  305. package/dist/types/theme/tokens/space.d.ts +2 -2
  306. package/dist/types/theme/tokens/time.d.ts +2 -2
  307. package/dist/types/theme/tokens/types/designToken.d.ts +12 -6
  308. package/dist/types/theme/types.d.ts +5 -1
  309. package/dist/types/types/authenticator/attributes.d.ts +10 -4
  310. package/dist/types/types/authenticator/form.d.ts +7 -6
  311. package/dist/types/types/authenticator/index.d.ts +0 -1
  312. package/dist/types/types/authenticator/user.d.ts +3 -29
  313. package/dist/types/types/authenticator/validator.d.ts +2 -2
  314. package/dist/types/types/displayText.d.ts +84 -0
  315. package/dist/types/types/index.d.ts +1 -0
  316. package/dist/types/types/primitives/componentClassName.d.ts +162 -180
  317. package/dist/types/types/util.d.ts +0 -5
  318. package/dist/types/utils/classNames.d.ts +4 -0
  319. package/dist/types/utils/index.d.ts +3 -135
  320. package/dist/types/utils/setUserAgent/constants.d.ts +7 -0
  321. package/dist/types/utils/setUserAgent/index.d.ts +1 -0
  322. package/dist/types/utils/setUserAgent/setUserAgent.d.ts +19 -0
  323. package/dist/types/utils/utils.d.ts +147 -0
  324. package/dist/types/validators/index.d.ts +2 -2
  325. package/package.json +5 -19
  326. package/dist/esm/helpers/authenticator/context.mjs +0 -1
  327. package/dist/esm/helpers/authenticator/formFields/util.mjs +0 -1
  328. package/dist/esm/helpers/storage/fileUploader/utils/uploader.mjs +0 -1
  329. package/dist/esm/machines/authenticator/actors/resetPassword.mjs +0 -1
  330. package/dist/esm/machines/authenticator/signUp.mjs +0 -1
  331. package/dist/esm/theme/tokens/components/expander.mjs +0 -1
  332. package/dist/esm/theme/tokens/components/fileUploader.mjs +0 -1
  333. package/dist/esm/utils/index.mjs +0 -1
  334. package/dist/types/helpers/authenticator/context.d.ts +0 -13
  335. package/dist/types/helpers/storage/fileUploader/index.d.ts +0 -1
  336. package/dist/types/helpers/storage/fileUploader/utils/index.d.ts +0 -1
  337. package/dist/types/helpers/storage/fileUploader/utils/uploader.d.ts +0 -28
  338. package/dist/types/helpers/storage/index.d.ts +0 -1
  339. package/dist/types/theme/tokens/components/expander.d.ts +0 -22
  340. package/dist/types/theme/tokens/components/fileUploader.d.ts +0 -23
  341. package/dist/types/types/authenticator/stateMachine/context.d.ts +0 -109
  342. package/dist/types/types/authenticator/stateMachine/event.d.ts +0 -17
  343. package/dist/types/types/authenticator/stateMachine/index.d.ts +0 -4
  344. package/dist/types/types/authenticator/stateMachine/state.d.ts +0 -10
@@ -1 +1,111 @@
1
- import{alert as m}from"./alert.mjs";import{autocomplete as o}from"./autocomplete.mjs";import{authenticator as r}from"./authenticator.mjs";import{badge as e}from"./badge.mjs";import{breadcrumbs as i}from"./breadcrumbs.mjs";import{button as t}from"./button.mjs";import{card as s}from"./card.mjs";import{checkbox as p}from"./checkbox.mjs";import{checkboxfield as f}from"./checkboxField.mjs";import{collection as l}from"./collection.mjs";import{copy as a}from"./copy.mjs";import{dialcodeselect as d}from"./dialCodeSelect.mjs";import{divider as j}from"./divider.mjs";import{dropzone as n}from"./dropZone.mjs";import{expander as c}from"./expander.mjs";import{field as g}from"./field.mjs";import{fieldcontrol as u}from"./fieldControl.mjs";import{fieldgroup as h}from"./fieldGroup.mjs";import{fieldset as b}from"./fieldset.mjs";import{fieldmessages as x}from"./fieldMessages.mjs";import{fileuploader as F}from"./fileUploader.mjs";import{flex as k}from"./flex.mjs";import{heading as v}from"./heading.mjs";import{highlightmatch as w}from"./highlightMatch.mjs";import{icon as y}from"./icon.mjs";import{input as G}from"./input.mjs";import{image as M}from"./image.mjs";import{inappmessaging as A}from"./inAppMessaging.mjs";import{link as B}from"./link.mjs";import{liveness as C}from"./liveness.mjs";import{loader as z}from"./loader.mjs";import{menu as N}from"./menu.mjs";import{message as S}from"./message.mjs";import{pagination as U}from"./pagination.mjs";import{passwordfield as Z}from"./passwordField.mjs";import{phonenumberfield as q}from"./phoneNumberField.mjs";import{placeholder as D}from"./placeholder.mjs";import{radio as E}from"./radio.mjs";import{radiogroup as H}from"./radioGroup.mjs";import{rating as I}from"./rating.mjs";import{searchfield as J}from"./searchField.mjs";import{select as K}from"./select.mjs";import{selectfield as L}from"./selectField.mjs";import{sliderfield as O}from"./sliderField.mjs";import{stepperfield as P}from"./stepperField.mjs";import{storagemanager as Q}from"./storagemanager.mjs";import{switchfield as R}from"./switchField.mjs";import{table as T}from"./table.mjs";import{tabs as V}from"./tabs.mjs";import{text as W}from"./text.mjs";import{textareafield as X}from"./textAreaField.mjs";import{textfield as Y}from"./textField.mjs";import{togglebutton as $}from"./toggleButton.mjs";import{togglebuttongroup as _}from"./toggleButtonGroup.mjs";const mm={alert:m,authenticator:r,autocomplete:o,badge:e,breadcrumbs:i,button:t,card:s,checkbox:p,checkboxfield:f,collection:l,copy:a,countrycodeselect:d,divider:j,dropzone:n,expander:c,field:g,fieldcontrol:u,fieldgroup:h,fieldmessages:x,fieldset:b,fileuploader:F,flex:k,heading:v,icon:y,highlightmatch:w,image:M,inappmessaging:A,input:G,link:B,liveness:C,loader:z,menu:N,message:S,pagination:U,passwordfield:Z,phonenumberfield:q,placeholder:D,radio:E,radiogroup:H,rating:I,searchfield:J,select:K,selectfield:L,sliderfield:O,stepperfield:P,storagemanager:Q,switchfield:R,table:T,tabs:V,text:W,textareafield:X,textfield:Y,togglebutton:$,togglebuttongroup:_};export{mm as components};
1
+ import { alert } from './alert.mjs';
2
+ import { autocomplete } from './autocomplete.mjs';
3
+ import { authenticator } from './authenticator.mjs';
4
+ import { badge } from './badge.mjs';
5
+ import { breadcrumbs } from './breadcrumbs.mjs';
6
+ import { button } from './button.mjs';
7
+ import { card } from './card.mjs';
8
+ import { checkbox } from './checkbox.mjs';
9
+ import { checkboxfield } from './checkboxField.mjs';
10
+ import { collection } from './collection.mjs';
11
+ import { copy } from './copy.mjs';
12
+ import { dialcodeselect } from './dialCodeSelect.mjs';
13
+ import { divider } from './divider.mjs';
14
+ import { dropzone } from './dropZone.mjs';
15
+ import { accordion } from './accordion.mjs';
16
+ import { field } from './field.mjs';
17
+ import { fieldcontrol } from './fieldControl.mjs';
18
+ import { fieldgroup } from './fieldGroup.mjs';
19
+ import { fieldset } from './fieldset.mjs';
20
+ import { fieldmessages } from './fieldMessages.mjs';
21
+ import { flex } from './flex.mjs';
22
+ import { heading } from './heading.mjs';
23
+ import { highlightmatch } from './highlightMatch.mjs';
24
+ import { icon } from './icon.mjs';
25
+ import { input } from './input.mjs';
26
+ import { image } from './image.mjs';
27
+ import { inappmessaging } from './inAppMessaging.mjs';
28
+ import { link } from './link.mjs';
29
+ import { liveness } from './liveness.mjs';
30
+ import { loader } from './loader.mjs';
31
+ import { menu } from './menu.mjs';
32
+ import { message } from './message.mjs';
33
+ import { pagination } from './pagination.mjs';
34
+ import { passwordfield } from './passwordField.mjs';
35
+ import { phonenumberfield } from './phoneNumberField.mjs';
36
+ import { placeholder } from './placeholder.mjs';
37
+ import { radio } from './radio.mjs';
38
+ import { radiogroup } from './radioGroup.mjs';
39
+ import { rating } from './rating.mjs';
40
+ import { searchfield } from './searchField.mjs';
41
+ import { select } from './select.mjs';
42
+ import { selectfield } from './selectField.mjs';
43
+ import { sliderfield } from './sliderField.mjs';
44
+ import { stepperfield } from './stepperField.mjs';
45
+ import { storagemanager } from './storagemanager.mjs';
46
+ import { switchfield } from './switchField.mjs';
47
+ import { table } from './table.mjs';
48
+ import { tabs } from './tabs.mjs';
49
+ import { text } from './text.mjs';
50
+ import { textareafield } from './textAreaField.mjs';
51
+ import { textfield } from './textField.mjs';
52
+ import { togglebutton } from './toggleButton.mjs';
53
+ import { togglebuttongroup } from './toggleButtonGroup.mjs';
54
+
55
+ const components = {
56
+ accordion,
57
+ alert,
58
+ authenticator,
59
+ autocomplete,
60
+ badge,
61
+ breadcrumbs,
62
+ button,
63
+ card,
64
+ checkbox,
65
+ checkboxfield,
66
+ collection,
67
+ copy,
68
+ countrycodeselect: dialcodeselect,
69
+ divider,
70
+ dropzone,
71
+ field,
72
+ fieldcontrol,
73
+ fieldgroup,
74
+ fieldmessages,
75
+ fieldset,
76
+ flex,
77
+ heading,
78
+ icon,
79
+ highlightmatch,
80
+ image,
81
+ inappmessaging,
82
+ input,
83
+ link,
84
+ liveness,
85
+ loader,
86
+ menu,
87
+ message,
88
+ pagination,
89
+ passwordfield,
90
+ phonenumberfield,
91
+ placeholder,
92
+ radio,
93
+ radiogroup,
94
+ rating,
95
+ searchfield,
96
+ select,
97
+ selectfield,
98
+ sliderfield,
99
+ stepperfield,
100
+ storagemanager,
101
+ switchfield,
102
+ table,
103
+ tabs,
104
+ text,
105
+ textareafield,
106
+ textfield,
107
+ togglebutton,
108
+ togglebuttongroup,
109
+ };
110
+
111
+ export { components };
@@ -1 +1,12 @@
1
- const o={color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}};export{o as input};
1
+ const input = {
2
+ color: { value: '{components.fieldcontrol.color.value}' },
3
+ borderColor: { value: '{components.fieldcontrol.borderColor.value}' },
4
+ fontSize: { value: '{components.fieldcontrol.fontSize.value}' },
5
+ _focus: {
6
+ borderColor: {
7
+ value: '{components.fieldcontrol._focus.borderColor.value}',
8
+ },
9
+ },
10
+ };
11
+
12
+ export { input };
@@ -1 +1,9 @@
1
- const o={active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}};export{o as link};
1
+ const link = {
2
+ active: { color: { value: '{colors.font.active.value}' } },
3
+ color: { value: '{colors.font.interactive.value}' },
4
+ focus: { color: { value: '{colors.font.focus.value}' } },
5
+ hover: { color: { value: '{colors.font.hover.value}' } },
6
+ visited: { color: { value: '{colors.font.interactive.value}' } },
7
+ };
8
+
9
+ export { link };
@@ -1 +1,7 @@
1
- const o={cameraModule:{backgroundColor:{value:"{colors.black}"}}};export{o as liveness};
1
+ const liveness = {
2
+ cameraModule: {
3
+ backgroundColor: { value: '{colors.black}' },
4
+ },
5
+ };
6
+
7
+ export { liveness };
@@ -1 +1,42 @@
1
- const e={width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},fontSize:{value:"{fontSizes.xs.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.xxs.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.small.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},fontSize:{value:"{fontSizes.xxs.value}"},strokeWidth:{value:"{fontSizes.xxs.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{strokeWidth:{value:"{fontSizes.xxxs.value}"},fontSize:{value:"{fontSizes.xxxs.value}"}},large:{strokeWidth:{value:"{fontSizes.xs.value}"},fontSize:{value:"{fontSizes.xs.value}"}}},text:{fill:{value:"{colors.font.primary.value}"}}};export{e as loader};
1
+ const loader = {
2
+ width: { value: '{fontSizes.medium.value}' },
3
+ height: { value: '{fontSizes.medium.value}' },
4
+ fontSize: { value: '{fontSizes.xs.value}' },
5
+ strokeEmpty: { value: '{colors.neutral.20.value}' },
6
+ strokeFilled: { value: '{colors.primary.80.value}' },
7
+ strokeLinecap: { value: 'round' },
8
+ animationDuration: { value: '1s' },
9
+ small: {
10
+ width: { value: '{fontSizes.small.value}' },
11
+ height: { value: '{fontSizes.small.value}' },
12
+ fontSize: { value: '{fontSizes.xxs.value}' },
13
+ },
14
+ large: {
15
+ width: { value: '{fontSizes.large.value}' },
16
+ height: { value: '{fontSizes.large.value}' },
17
+ fontSize: { value: '{fontSizes.small.value}' },
18
+ },
19
+ linear: {
20
+ width: { value: '100%' },
21
+ minWidth: { value: '5rem' },
22
+ fontSize: { value: '{fontSizes.xxs.value}' },
23
+ strokeWidth: { value: '{fontSizes.xxs.value}' },
24
+ strokeFilled: { value: '{colors.primary.80.value}' },
25
+ strokeEmpty: { value: '{colors.neutral.20.value}' },
26
+ strokeLinecap: { value: 'round' },
27
+ animationDuration: { value: '1s' },
28
+ small: {
29
+ strokeWidth: { value: '{fontSizes.xxxs.value}' },
30
+ fontSize: { value: '{fontSizes.xxxs.value}' },
31
+ },
32
+ large: {
33
+ strokeWidth: { value: '{fontSizes.xs.value}' },
34
+ fontSize: { value: '{fontSizes.xs.value}' },
35
+ },
36
+ },
37
+ text: {
38
+ fill: { value: '{colors.font.primary.value}' },
39
+ },
40
+ };
41
+
42
+ export { loader };
@@ -1 +1,27 @@
1
- const e={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:"{space.zero.value}"},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}};export{e as menu};
1
+ const menu = {
2
+ backgroundColor: { value: '{colors.background.primary.value}' },
3
+ borderRadius: { value: '{radii.medium.value}' },
4
+ borderWidth: { value: '{borderWidths.small.value}' },
5
+ borderStyle: { value: 'solid' },
6
+ borderColor: { value: '{colors.border.primary.value}' },
7
+ boxShadow: { value: '{shadows.large.value}' },
8
+ flexDirection: { value: 'column' },
9
+ gap: { value: '{space.zero.value}' },
10
+ maxWidth: { value: '30rem' },
11
+ minWidth: { value: '14rem' },
12
+ small: {
13
+ width: { value: '{fontSizes.medium.value}' },
14
+ height: { value: '{fontSizes.medium.value}' },
15
+ },
16
+ large: {
17
+ width: { value: '{fontSizes.xxxl.value}' },
18
+ height: { value: '{fontSizes.xxxl.value}' },
19
+ },
20
+ item: {
21
+ minHeight: { value: '2.5rem' },
22
+ paddingInlineStart: { value: '{space.medium.value}' },
23
+ paddingInlineEnd: { value: '{space.medium.value}' },
24
+ },
25
+ };
26
+
27
+ export { menu };
@@ -1 +1,102 @@
1
- const o={alignItems:{value:"center"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderColor:{value:"transparent"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.xs.value}"},color:{value:"{colors.font.primary.value}"},justifyContent:{value:"flex-start"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},lineHeight:{value:"{lineHeights.small.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},dismiss:{gap:{value:"{space.xxs.value}"}},plain:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}}},outlined:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.primary.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.error.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.success.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.warning.value}"}}},filled:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.secondary.value}"},borderColor:{value:"transparent"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"},borderColor:{value:"transparent"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"},borderColor:{value:"transparent"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"},borderColor:{value:"transparent"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"},borderColor:{value:"transparent"}}}};export{o as message};
1
+ const message = {
2
+ // Default styles
3
+ alignItems: { value: 'center' },
4
+ backgroundColor: { value: '{colors.background.tertiary.value}' },
5
+ borderColor: { value: 'transparent' },
6
+ borderStyle: { value: 'solid' },
7
+ borderWidth: { value: '{borderWidths.small.value}' },
8
+ borderRadius: { value: '{radii.xs.value}' },
9
+ color: { value: '{colors.font.primary.value}' },
10
+ justifyContent: { value: 'flex-start' },
11
+ paddingBlock: { value: '{space.small.value}' },
12
+ paddingInline: { value: '{space.medium.value}' },
13
+ lineHeight: { value: '{lineHeights.small.value}' },
14
+ icon: {
15
+ size: { value: '{fontSizes.xl.value}' },
16
+ },
17
+ heading: {
18
+ fontSize: { value: '{fontSizes.medium.value}' },
19
+ fontWeight: { value: '{fontWeights.bold.value}' },
20
+ },
21
+ dismiss: {
22
+ gap: { value: '{space.xxs.value}' },
23
+ },
24
+ // Variations
25
+ plain: {
26
+ color: { value: '{colors.font.primary.value}' },
27
+ backgroundColor: { value: '{colors.background.primary.value}' },
28
+ borderColor: { value: 'transparent' },
29
+ info: {
30
+ color: { value: '{colors.font.info.value}' },
31
+ backgroundColor: { value: '{colors.background.primary.value}' },
32
+ borderColor: { value: 'transparent' },
33
+ },
34
+ error: {
35
+ color: { value: '{colors.font.error.value}' },
36
+ backgroundColor: { value: '{colors.background.primary.value}' },
37
+ borderColor: { value: 'transparent' },
38
+ },
39
+ success: {
40
+ color: { value: '{colors.font.success.value}' },
41
+ backgroundColor: { value: '{colors.background.primary.value}' },
42
+ borderColor: { value: 'transparent' },
43
+ },
44
+ warning: {
45
+ color: { value: '{colors.font.warning.value}' },
46
+ backgroundColor: { value: '{colors.background.primary.value}' },
47
+ borderColor: { value: 'transparent' },
48
+ },
49
+ },
50
+ outlined: {
51
+ color: { value: '{colors.font.primary.value}' },
52
+ backgroundColor: { value: '{colors.background.primary.value}' },
53
+ borderColor: { value: '{colors.border.primary.value}' },
54
+ info: {
55
+ color: { value: '{colors.font.info.value}' },
56
+ backgroundColor: { value: '{colors.background.primary.value}' },
57
+ borderColor: { value: '{colors.border.info.value}' },
58
+ },
59
+ error: {
60
+ color: { value: '{colors.font.error.value}' },
61
+ backgroundColor: { value: '{colors.background.primary.value}' },
62
+ borderColor: { value: '{colors.border.error.value}' },
63
+ },
64
+ success: {
65
+ color: { value: '{colors.font.success.value}' },
66
+ backgroundColor: { value: '{colors.background.primary.value}' },
67
+ borderColor: { value: '{colors.border.success.value}' },
68
+ },
69
+ warning: {
70
+ color: { value: '{colors.font.warning.value}' },
71
+ backgroundColor: { value: '{colors.background.primary.value}' },
72
+ borderColor: { value: '{colors.border.warning.value}' },
73
+ },
74
+ },
75
+ filled: {
76
+ color: { value: '{colors.font.primary.value}' },
77
+ backgroundColor: { value: '{colors.background.secondary.value}' },
78
+ borderColor: { value: 'transparent' },
79
+ info: {
80
+ color: { value: '{colors.font.info.value}' },
81
+ backgroundColor: { value: '{colors.background.info.value}' },
82
+ borderColor: { value: 'transparent' },
83
+ },
84
+ error: {
85
+ color: { value: '{colors.font.error.value}' },
86
+ backgroundColor: { value: '{colors.background.error.value}' },
87
+ borderColor: { value: 'transparent' },
88
+ },
89
+ success: {
90
+ color: { value: '{colors.font.success.value}' },
91
+ backgroundColor: { value: '{colors.background.success.value}' },
92
+ borderColor: { value: 'transparent' },
93
+ },
94
+ warning: {
95
+ color: { value: '{colors.font.warning.value}' },
96
+ backgroundColor: { value: '{colors.background.warning.value}' },
97
+ borderColor: { value: 'transparent' },
98
+ },
99
+ },
100
+ };
101
+
102
+ export { message };
@@ -1 +1,40 @@
1
- const e={current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}};export{e as pagination};
1
+ const pagination = {
2
+ current: {
3
+ alignItems: { value: 'center' },
4
+ justifyContent: { value: 'center' },
5
+ color: { value: '{colors.font.inverse.value}' },
6
+ fontSize: { value: '{fontSizes.small.value}' },
7
+ backgroundColor: { value: '{colors.overlay.40.value}' },
8
+ },
9
+ button: {
10
+ color: { value: '{colors.font.primary.value}' },
11
+ paddingInlineStart: { value: '{space.xxs.value}' },
12
+ paddingInlineEnd: { value: '{space.xxs.value}' },
13
+ transitionProperty: { value: 'background-color' },
14
+ transitionDuration: { value: '{time.medium.value}' },
15
+ hover: {
16
+ backgroundColor: { value: '{colors.overlay.10.value}' },
17
+ color: { value: '{colors.font.primary.value}' },
18
+ },
19
+ disabled: {
20
+ color: { value: '{colors.font.disabled.value}' },
21
+ },
22
+ },
23
+ ellipsis: {
24
+ alignItems: { value: 'baseline' },
25
+ justifyContent: { value: 'center' },
26
+ paddingInlineStart: { value: '{space.xs.value}' },
27
+ paddingInlineEnd: { value: '{space.xs.value}' },
28
+ },
29
+ itemContainer: {
30
+ marginLeft: { value: '{space.xxxs.value}' },
31
+ marginRight: { value: '{space.xxxs.value}' },
32
+ },
33
+ itemShared: {
34
+ height: { value: '{fontSizes.xxl.value}' },
35
+ minWidth: { value: '{fontSizes.xxl.value}' },
36
+ borderRadius: { value: '{fontSizes.medium.value}' },
37
+ },
38
+ };
39
+
40
+ export { pagination };
@@ -1 +1,38 @@
1
- const o={color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}};export{o as passwordfield};
1
+ const passwordfield = {
2
+ color: { value: '{components.fieldcontrol.color.value}' },
3
+ button: {
4
+ color: { value: '{components.button.color.value}' },
5
+ _active: {
6
+ backgroundColor: {
7
+ value: '{components.button._active.backgroundColor.value}',
8
+ },
9
+ borderColor: { value: '{components.button._active.borderColor.value}' },
10
+ color: { value: '{components.button._active.color.value}' },
11
+ },
12
+ _disabled: {
13
+ backgroundColor: {
14
+ value: '{components.button._disabled.backgroundColor.value}',
15
+ },
16
+ borderColor: {
17
+ value: '{components.button._disabled.borderColor.value}',
18
+ },
19
+ color: { value: '{components.button._disabled.color.value}' },
20
+ },
21
+ _focus: {
22
+ backgroundColor: {
23
+ value: '{components.button._focus.backgroundColor.value}',
24
+ },
25
+ borderColor: { value: '{components.button._focus.borderColor.value}' },
26
+ color: { value: '{components.button._focus.color.value}' },
27
+ },
28
+ _hover: {
29
+ backgroundColor: {
30
+ value: '{components.button._hover.backgroundColor.value}',
31
+ },
32
+ borderColor: { value: '{components.button._hover.borderColor.value}' },
33
+ color: { value: '{components.button._hover.color.value}' },
34
+ },
35
+ },
36
+ };
37
+
38
+ export { passwordfield };
@@ -1 +1,10 @@
1
- const o={color:{value:"{components.fieldcontrol.color}"},borderColor:{value:"{components.fieldcontrol.borderColor}"},fontSize:{value:"{components.fieldcontrol.fontSize}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor}"}}};export{o as phonenumberfield};
1
+ const phonenumberfield = {
2
+ color: { value: '{components.fieldcontrol.color}' },
3
+ borderColor: { value: '{components.fieldcontrol.borderColor}' },
4
+ fontSize: { value: '{components.fieldcontrol.fontSize}' },
5
+ _focus: {
6
+ borderColor: { value: '{components.fieldcontrol._focus.borderColor}' },
7
+ },
8
+ };
9
+
10
+ export { phonenumberfield };
@@ -1 +1,18 @@
1
- const a={borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}};export{a as placeholder};
1
+ const placeholder = {
2
+ borderRadius: { value: '{radii.small.value}' },
3
+ transitionDuration: { value: '{time.long.value}' },
4
+ startColor: { value: '{colors.background.secondary.value}' },
5
+ endColor: { value: '{colors.background.tertiary.value}' },
6
+ // sizes
7
+ small: {
8
+ height: { value: '{space.small.value}' },
9
+ },
10
+ default: {
11
+ height: { value: '{space.medium.value}' },
12
+ },
13
+ large: {
14
+ height: { value: '{space.large.value}' },
15
+ },
16
+ };
17
+
18
+ export { placeholder };
@@ -1 +1,67 @@
1
- const e={alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.background.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{color:{value:"{components.text.color.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"}}}};export{e as radio};
1
+ const radio = {
2
+ alignItems: { value: 'center' },
3
+ justifyContent: { value: 'flex-start' },
4
+ gap: { value: 'inherit' },
5
+ _disabled: { cursor: { value: 'not-allowed' } },
6
+ button: {
7
+ alignItems: { value: 'center' },
8
+ justifyContent: { value: 'center' },
9
+ width: { value: '{fontSizes.medium.value}' },
10
+ height: { value: '{fontSizes.medium.value}' },
11
+ boxSizing: { value: 'border-box' },
12
+ borderWidth: { value: '{borderWidths.medium.value}' },
13
+ borderStyle: { value: 'solid' },
14
+ borderRadius: { value: '50%' },
15
+ borderColor: { value: '{colors.border.primary.value}' },
16
+ color: { value: '{colors.background.primary.value}' },
17
+ backgroundColor: { value: '{colors.background.primary.value}' },
18
+ transitionProperty: { value: 'all' },
19
+ transitionDuration: { value: '{time.medium.value}' },
20
+ outlineColor: { value: '{colors.transparent.value}' },
21
+ outlineStyle: { value: 'solid' },
22
+ outlineWidth: { value: '{outlineWidths.medium.value}' },
23
+ outlineOffset: { value: '{outlineOffsets.medium.value}' },
24
+ // We want the dot inside the border to be a border-width from the border
25
+ padding: { value: '{borderWidths.medium.value}' },
26
+ small: {
27
+ width: { value: '{fontSizes.small.value}' },
28
+ height: { value: '{fontSizes.small.value}' },
29
+ },
30
+ large: {
31
+ width: { value: '{fontSizes.large.value}' },
32
+ height: { value: '{fontSizes.large.value}' },
33
+ },
34
+ _checked: {
35
+ color: {
36
+ value: '{colors.primary.80.value}',
37
+ },
38
+ _disabled: { color: { value: '{colors.background.disabled.value}' } },
39
+ },
40
+ _focus: {
41
+ borderColor: { value: '{colors.border.focus.value}' },
42
+ boxShadow: { value: '{components.fieldcontrol._focus.boxShadow.value}' },
43
+ },
44
+ _error: {
45
+ borderColor: { value: '{colors.border.error.value}' },
46
+ _focus: {
47
+ boxShadow: {
48
+ value: '{components.fieldcontrol._error._focus.boxShadow.value}',
49
+ },
50
+ },
51
+ },
52
+ _disabled: {
53
+ borderColor: { value: '{colors.border.disabled.value}' },
54
+ backgroundColor: { value: '{colors.background.primary.value}' },
55
+ },
56
+ },
57
+ label: {
58
+ color: { value: '{components.text.color.value}' },
59
+ _disabled: {
60
+ color: {
61
+ value: '{colors.font.disabled.value}',
62
+ },
63
+ },
64
+ },
65
+ };
66
+
67
+ export { radio };
@@ -1 +1,19 @@
1
- const o={radio:{borderWidth:{value:"{components.radio.button.borderWidth}"},borderColor:{value:"{components.radio.button.borderColor}"},backgroundColor:{value:"{components.radio.button.backgroundColor}"},_checked:{color:{value:"{components.radio.button._checked.color}"}},label:{color:{value:"{components.radio.label.color}"}}},label:{color:{value:"{components.field.label.color}"}}};export{o as radiogroup};
1
+ const radiogroup = {
2
+ radio: {
3
+ borderWidth: { value: '{components.radio.button.borderWidth}' },
4
+ borderColor: { value: '{components.radio.button.borderColor}' },
5
+ backgroundColor: { value: '{components.radio.button.backgroundColor}' },
6
+ _checked: {
7
+ color: { value: '{components.radio.button._checked.color}' },
8
+ },
9
+ label: {
10
+ color: { value: '{components.radio.label.color}' },
11
+ },
12
+ },
13
+ legend: {
14
+ color: { value: '{components.fieldset.legend.color}' },
15
+ fontWeight: { value: '{fontWeights.normal}' },
16
+ },
17
+ };
18
+
19
+ export { radiogroup };
@@ -1 +1,9 @@
1
- const l={large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}};export{l as rating};
1
+ const rating = {
2
+ large: { size: { value: '{fontSizes.xxxl.value}' } },
3
+ default: { size: { value: '{fontSizes.xl.value}' } },
4
+ small: { size: { value: '{fontSizes.small.value}' } },
5
+ filled: { color: { value: '{colors.secondary.80.value}' } },
6
+ empty: { color: { value: '{colors.background.tertiary.value}' } },
7
+ };
8
+
9
+ export { rating };
@@ -1 +1,39 @@
1
- const o={color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},backgroundColor:{value:"{colors.background.primary.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}};export{o as searchfield};
1
+ const searchfield = {
2
+ color: { value: '{components.fieldcontrol.color.value}' },
3
+ button: {
4
+ color: { value: '{components.button.color.value}' },
5
+ backgroundColor: { value: '{colors.background.primary.value}' },
6
+ _active: {
7
+ backgroundColor: {
8
+ value: '{components.button._active.backgroundColor.value}',
9
+ },
10
+ borderColor: { value: '{components.button._active.borderColor.value}' },
11
+ color: { value: '{components.button._active.color.value}' },
12
+ },
13
+ _disabled: {
14
+ backgroundColor: {
15
+ value: '{components.button._disabled.backgroundColor.value}',
16
+ },
17
+ borderColor: {
18
+ value: '{components.button._disabled.borderColor.value}',
19
+ },
20
+ color: { value: '{components.button._disabled.color.value}' },
21
+ },
22
+ _focus: {
23
+ backgroundColor: {
24
+ value: '{components.button._focus.backgroundColor.value}',
25
+ },
26
+ borderColor: { value: '{components.button._focus.borderColor.value}' },
27
+ color: { value: '{components.button._focus.color.value}' },
28
+ },
29
+ _hover: {
30
+ backgroundColor: {
31
+ value: '{components.button._hover.backgroundColor.value}',
32
+ },
33
+ borderColor: { value: '{components.button._hover.borderColor.value}' },
34
+ color: { value: '{components.button._hover.color.value}' },
35
+ },
36
+ },
37
+ };
38
+
39
+ export { searchfield };