@aws-amplify/ui 5.8.1 → 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 (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 +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 +298 -684
  255. package/dist/styles.layer.css +6115 -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,63 @@
1
- const a={color:{value:"{components.fieldcontrol.color}"},backgroundColor:{value:"{colors.background.primary.value}"},paddingInlineEnd:{value:"{space.xxl.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"},small:{right:{value:"{space.xs.value}"}},large:{right:{value:"{space.medium.value}"}}},option:{backgroundColor:{value:"transparent"},color:{value:"{colors.font.primary.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"}}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"},paddingInlineEnd:{value:"{space.xl.value}"}},large:{minWidth:{value:"7.5rem"},paddingInlineEnd:{value:"{space.xxl.value}"}},expanded:{paddingBlock:{value:"{space.xs.value}"},paddingInline:{value:"{space.small.value}"},option:{paddingBlock:{value:"{space.xs.value}"},paddingInline:{value:"{space.small.value}"}}}};export{a as select};
1
+ const select = {
2
+ color: { value: '{components.fieldcontrol.color}' },
3
+ backgroundColor: { value: '{colors.background.primary.value}' },
4
+ paddingInlineEnd: { value: '{space.xxl.value}' },
5
+ _disabled: {
6
+ color: { value: '{colors.font.disabled.value}' },
7
+ backgroundColor: { value: '{colors.background.disabled.value}' },
8
+ },
9
+ // wrappers
10
+ wrapper: {
11
+ flex: { value: '1' },
12
+ display: { value: 'block' },
13
+ position: { value: 'relative' },
14
+ cursor: { value: 'pointer' },
15
+ },
16
+ iconWrapper: {
17
+ alignItems: { value: 'center' },
18
+ position: { value: 'absolute' },
19
+ top: { value: '50%' },
20
+ right: { value: '{space.medium.value}' },
21
+ transform: { value: 'translateY(-50%)' },
22
+ pointerEvents: { value: 'none' },
23
+ small: {
24
+ right: { value: '{space.xs.value}' },
25
+ },
26
+ large: {
27
+ right: { value: '{space.medium.value}' },
28
+ },
29
+ },
30
+ // It's important to test these option values on Chrome/FireFox/Edge
31
+ // on Windows because they allow styling of the option element.
32
+ // Chrome/Safari/Firefox on Mac uses the system ui.
33
+ option: {
34
+ backgroundColor: { value: 'transparent' },
35
+ color: { value: '{colors.font.primary.value}' },
36
+ _disabled: {
37
+ color: { value: '{colors.font.disabled.value}' },
38
+ backgroundColor: {
39
+ value: 'transparent',
40
+ },
41
+ },
42
+ },
43
+ whiteSpace: { value: 'nowrap' },
44
+ minWidth: { value: '6.5rem' },
45
+ small: {
46
+ minWidth: { value: '5.5rem' },
47
+ paddingInlineEnd: { value: '{space.xl.value}' },
48
+ },
49
+ large: {
50
+ minWidth: { value: '7.5rem' },
51
+ paddingInlineEnd: { value: '{space.xxl.value}' },
52
+ },
53
+ expanded: {
54
+ paddingBlock: { value: '{space.xs.value}' },
55
+ paddingInline: { value: '{space.small.value}' },
56
+ option: {
57
+ paddingBlock: { value: '{space.xs.value}' },
58
+ paddingInline: { value: '{space.small.value}' },
59
+ },
60
+ },
61
+ };
62
+
63
+ export { select };
@@ -1 +1,16 @@
1
- const o={borderColor:{value:"{components.fieldcontrol.borderColor}"},color:{value:"{components.fieldcontrol.color}"},flexDirection:{value:"column"},fontSize:{value:"{components.fieldcontrol.fontSize}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor}"}},label:{color:{value:"{components.field.label.color}"}}};export{o as selectfield};
1
+ const selectfield = {
2
+ borderColor: { value: '{components.fieldcontrol.borderColor}' },
3
+ color: { value: '{components.fieldcontrol.color}' },
4
+ flexDirection: {
5
+ value: 'column',
6
+ },
7
+ fontSize: { value: '{components.fieldcontrol.fontSize}' },
8
+ _focus: {
9
+ borderColor: { value: '{components.fieldcontrol._focus.borderColor}' },
10
+ },
11
+ label: {
12
+ color: { value: '{components.field.label.color}' },
13
+ },
14
+ };
15
+
16
+ export { selectfield };
@@ -1 +1,70 @@
1
- const r={paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.medium.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}};export{r as sliderfield};
1
+ const sliderfield = {
2
+ paddingBlock: { value: '{space.xs.value}' },
3
+ // The track is the thin background of the slider
4
+ track: {
5
+ backgroundColor: { value: '{colors.background.quaternary.value}' },
6
+ borderRadius: { value: '9999px' },
7
+ height: { value: '0.375rem' },
8
+ minWidth: { value: '10rem' },
9
+ },
10
+ // The range is the filled part of the track
11
+ range: {
12
+ backgroundColor: { value: '{colors.primary.80.value}' },
13
+ borderRadius: { value: '9999px' },
14
+ _disabled: {
15
+ backgroundColor: { value: '{colors.background.disabled.value}' },
16
+ },
17
+ },
18
+ // The thumb is the circle above the track that the user drags
19
+ thumb: {
20
+ width: { value: '1.25rem' },
21
+ height: { value: '1.25rem' },
22
+ backgroundColor: { value: '{colors.background.primary.value}' },
23
+ boxShadow: { value: '{shadows.small.value}' },
24
+ borderRadius: { value: '50%' },
25
+ borderWidth: { value: '{borderWidths.medium.value}' },
26
+ borderColor: { value: '{colors.border.primary.value}' },
27
+ borderStyle: { value: 'solid' },
28
+ _disabled: {
29
+ backgroundColor: { value: '{colors.background.disabled.value}' },
30
+ borderColor: { value: 'transparent' },
31
+ boxShadow: { value: 'none' },
32
+ },
33
+ _hover: {
34
+ backgroundColor: { value: '{colors.background.primary.value}' },
35
+ borderColor: { value: '{colors.border.focus.value}' },
36
+ },
37
+ _focus: {
38
+ borderColor: { value: '{colors.border.focus.value}' },
39
+ boxShadow: {
40
+ value: {
41
+ offsetX: '0',
42
+ offsetY: '0',
43
+ blurRadius: '0',
44
+ spreadRadius: '2px',
45
+ color: '{colors.border.focus.value}',
46
+ },
47
+ },
48
+ },
49
+ },
50
+ small: {
51
+ track: {
52
+ height: { value: '0.25rem' },
53
+ },
54
+ thumb: {
55
+ width: { value: '1rem' },
56
+ height: { value: '1rem' },
57
+ },
58
+ },
59
+ large: {
60
+ track: {
61
+ height: { value: '0.625rem' },
62
+ },
63
+ thumb: {
64
+ width: { value: '1.5rem' },
65
+ height: { value: '1.5rem' },
66
+ },
67
+ },
68
+ };
69
+
70
+ export { sliderfield };
@@ -1 +1,33 @@
1
- const o={borderColor:{value:"{components.fieldcontrol.borderColor}"},flexDirection:{value:"column"},input:{color:{value:"{components.fieldcontrol.color}"},fontSize:{value:"{components.fieldcontrol.fontSize}"},textAlign:{value:"center"}},button:{color:{value:"{components.button.color}"},backgroundColor:{value:"{colors.transparent}"},_active:{color:{value:"{components.button._active.color}"},backgroundColor:{value:"{components.button._active.backgroundColor}"}},_focus:{color:{value:"{components.button._focus.color}"},backgroundColor:{value:"{components.button._focus.backgroundColor}"}},_disabled:{color:{value:"{components.button._disabled.color}"},backgroundColor:{value:"{components.fieldcontrol._disabled.backgroundColor}"}},_hover:{color:{value:"{components.button._hover.color}"},backgroundColor:{value:"{components.button._hover.backgroundColor}"}}}};export{o as stepperfield};
1
+ const stepperfield = {
2
+ borderColor: { value: '{components.fieldcontrol.borderColor}' },
3
+ flexDirection: { value: 'column' },
4
+ input: {
5
+ color: { value: '{components.fieldcontrol.color}' },
6
+ fontSize: { value: '{components.fieldcontrol.fontSize}' },
7
+ textAlign: { value: 'center' },
8
+ },
9
+ button: {
10
+ color: { value: '{components.button.color}' },
11
+ backgroundColor: { value: '{colors.transparent}' },
12
+ _active: {
13
+ color: { value: '{components.button._active.color}' },
14
+ backgroundColor: { value: '{components.button._active.backgroundColor}' },
15
+ },
16
+ _focus: {
17
+ color: { value: '{components.button._focus.color}' },
18
+ backgroundColor: { value: '{components.button._focus.backgroundColor}' },
19
+ },
20
+ _disabled: {
21
+ color: { value: '{components.button._disabled.color}' },
22
+ backgroundColor: {
23
+ value: '{components.fieldcontrol._disabled.backgroundColor}',
24
+ },
25
+ },
26
+ _hover: {
27
+ color: { value: '{components.button._hover.color}' },
28
+ backgroundColor: { value: '{components.button._hover.backgroundColor}' },
29
+ },
30
+ },
31
+ };
32
+
33
+ export { stepperfield };
@@ -1 +1,97 @@
1
- import{fileuploader as e}from"./fileUploader.mjs";const s=Object.assign(Object.assign({},e),{filelist:{flexDirection:{value:"column"},gap:{value:"{space.small}"}},previewer:Object.assign(Object.assign({},e.previewer),{footer:{justifyContent:{value:"flex-end"}}})});export{s as storagemanager};
1
+ const storagemanager = {
2
+ dropzone: {
3
+ backgroundColor: { value: '{colors.background.primary}' },
4
+ borderRadius: { value: '{radii.small}' },
5
+ borderColor: { value: '{colors.border.primary}' },
6
+ borderStyle: { value: 'dashed' },
7
+ borderWidth: { value: '{borderWidths.small}' },
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: {
15
+ value: '{components.storagemanager.dropzone.borderRadius}',
16
+ },
17
+ borderColor: { value: '{colors.border.pressed}' },
18
+ borderStyle: {
19
+ value: '{components.storagemanager.dropzone.borderStyle}',
20
+ },
21
+ borderWidth: { value: '{borderWidths.medium}' },
22
+ },
23
+ icon: {
24
+ color: { value: '{colors.border.primary}' },
25
+ fontSize: { value: '{fontSizes.xxl}' },
26
+ },
27
+ text: {
28
+ color: { value: '{colors.font.tertiary}' },
29
+ fontSize: { value: '{fontSizes.medium}' },
30
+ fontWeight: { value: '{fontWeights.bold}' },
31
+ },
32
+ },
33
+ file: {
34
+ backgroundColor: { value: '{colors.background.primary}' },
35
+ borderRadius: { value: '{radii.small}' },
36
+ borderColor: { value: '{colors.border.primary}' },
37
+ borderStyle: { value: 'solid' },
38
+ borderWidth: { value: '{borderWidths.small}' },
39
+ paddingBlock: { value: '{space.xs}' },
40
+ paddingInline: { value: '{space.small}' },
41
+ gap: { value: '{space.small}' },
42
+ alignItems: { value: 'baseline' },
43
+ name: {
44
+ fontSize: { value: '{fontSizes.medium}' },
45
+ fontWeight: { value: '{fontWeights.bold}' },
46
+ color: { value: '{colors.font.primary}' },
47
+ },
48
+ size: {
49
+ fontSize: { value: '{fontSizes.small}' },
50
+ fontWeight: { value: '{fontWeights.normal}' },
51
+ color: { value: '{colors.font.tertiary}' },
52
+ },
53
+ image: {
54
+ width: { value: '{space.xxl}' },
55
+ height: { value: '{space.xxl}' },
56
+ backgroundColor: { value: '{colors.background.secondary}' },
57
+ color: { value: '{colors.font.tertiary}' },
58
+ borderRadius: { value: '{radii.small}' },
59
+ },
60
+ },
61
+ filelist: {
62
+ flexDirection: { value: 'column' },
63
+ gap: { value: '{space.small}' },
64
+ },
65
+ loader: {
66
+ strokeLinecap: { value: 'round' },
67
+ strokeEmpty: { value: '{colors.border.secondary}' },
68
+ strokeFilled: { value: '{components.loader.strokeFilled}' },
69
+ strokeWidth: { value: '{borderWidths.large}' },
70
+ },
71
+ previewer: {
72
+ backgroundColor: { value: '{colors.background.primary}' },
73
+ borderColor: { value: '{colors.border.primary}' },
74
+ borderStyle: { value: 'solid' },
75
+ borderWidth: { value: '{borderWidths.small}' },
76
+ borderRadius: { value: '{radii.small}' },
77
+ paddingBlock: { value: '{space.zero}' },
78
+ paddingInline: { value: '{space.zero}' },
79
+ maxHeight: { value: '40rem' },
80
+ maxWidth: { value: 'auto' },
81
+ text: {
82
+ fontSize: { value: '{fontSizes.medium}' },
83
+ fontWeight: { value: '{fontWeights.bold}' },
84
+ color: { value: '{colors.font.primary}' },
85
+ },
86
+ body: {
87
+ paddingBlock: { value: '{space.medium}' },
88
+ paddingInline: { value: '{space.medium}' },
89
+ gap: { value: '{space.small}' },
90
+ },
91
+ footer: {
92
+ justifyContent: { value: 'flex-end' },
93
+ },
94
+ },
95
+ };
96
+
97
+ export { storagemanager };
@@ -1 +1,61 @@
1
- const e={_disabled:{opacity:{value:"{opacities.60.value}"}},_focused:{shadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},fontSize:{value:"{fontSizes.medium.value}"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.80.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"},_error:{backgroundColor:{value:"{colors.background.error.value}"}}}};export{e as switchfield};
1
+ const switchfield = {
2
+ // States
3
+ _disabled: {
4
+ opacity: { value: '{opacities.60.value}' },
5
+ },
6
+ _focused: {
7
+ shadow: {
8
+ value: {
9
+ offsetX: '0px',
10
+ offsetY: '0px',
11
+ blurRadius: '0px',
12
+ spreadRadius: '2px',
13
+ color: '{colors.border.focus.value}',
14
+ },
15
+ },
16
+ },
17
+ // Sizes
18
+ fontSize: { value: '{fontSizes.medium.value}' },
19
+ large: {
20
+ fontSize: { value: '{fontSizes.large.value}' },
21
+ },
22
+ small: {
23
+ fontSize: { value: '{fontSizes.small.value}' },
24
+ },
25
+ // Child elements
26
+ label: {
27
+ padding: { value: '{space.xs.value}' },
28
+ },
29
+ thumb: {
30
+ backgroundColor: { value: '{colors.background.primary.value}' },
31
+ borderColor: { value: 'transparent' },
32
+ borderWidth: { value: '{borderWidths.small.value}' },
33
+ borderStyle: { value: 'solid' },
34
+ borderRadius: { value: '{radii.xxxl.value}' },
35
+ checked: {
36
+ transform: { value: '{transforms.slideX.medium.value}' },
37
+ },
38
+ transition: {
39
+ duration: { value: '{time.medium.value}' },
40
+ },
41
+ width: { value: '{space.relative.medium.value}' },
42
+ },
43
+ track: {
44
+ backgroundColor: { value: '{colors.background.quaternary.value}' },
45
+ borderRadius: { value: '{radii.xxxl.value}' },
46
+ checked: {
47
+ backgroundColor: { value: '{colors.primary.80.value}' },
48
+ },
49
+ height: { value: '{space.relative.medium.value}' },
50
+ padding: { value: '{outlineWidths.medium.value}' },
51
+ transition: {
52
+ duration: { value: '{time.short.value}' },
53
+ },
54
+ width: { value: '{space.relative.xl.value}' },
55
+ _error: {
56
+ backgroundColor: { value: '{colors.background.error.value}' },
57
+ },
58
+ },
59
+ };
60
+
61
+ export { switchfield };
@@ -1 +1,105 @@
1
- const e={borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}};export{e as table};
1
+ const table = {
2
+ /**
3
+ * Default table styles
4
+ */
5
+ borderCollapse: { value: 'collapse' },
6
+ display: { value: 'table' },
7
+ width: { value: '100%' },
8
+ /**
9
+ * Default table head styles
10
+ */
11
+ head: {
12
+ display: { value: 'table-header-group' },
13
+ verticalAlign: { value: 'middle' },
14
+ },
15
+ /**
16
+ * Default table body styles
17
+ */
18
+ body: {
19
+ display: { value: 'table-row-group' },
20
+ verticalAlign: { value: 'middle' },
21
+ },
22
+ /**
23
+ * Default table foot styles
24
+ */
25
+ foot: {
26
+ display: { value: 'table-footer-group' },
27
+ verticalAlign: { value: 'middle' },
28
+ },
29
+ /**
30
+ * Default table row styles
31
+ */
32
+ row: {
33
+ display: { value: 'table-row' },
34
+ verticalAlign: { value: 'middle' },
35
+ hover: {
36
+ backgroundColor: { value: '{colors.background.tertiary.value}' },
37
+ },
38
+ striped: {
39
+ backgroundColor: { value: '{colors.background.secondary.value}' },
40
+ },
41
+ },
42
+ /**
43
+ * Default table header cell styles
44
+ */
45
+ header: {
46
+ borderColor: { value: '{colors.border.tertiary.value}' },
47
+ borderStyle: { value: 'solid' },
48
+ borderWidth: { value: '{borderWidths.small.value}' },
49
+ color: { value: '{colors.font.primary.value}' },
50
+ display: { value: 'table-cell' },
51
+ fontSize: { value: '{fontSizes.medium.value}' },
52
+ fontWeight: { value: '{fontWeights.bold.value}' },
53
+ padding: { value: '{space.medium.value}' },
54
+ verticalAlign: { value: 'middle' },
55
+ large: {
56
+ fontSize: { value: '{fontSizes.large.value}' },
57
+ padding: { value: '{space.large.value}' },
58
+ },
59
+ small: {
60
+ fontSize: { value: '{fontSizes.small.value}' },
61
+ padding: { value: '{space.xs.value}' },
62
+ },
63
+ },
64
+ /**
65
+ * Default table data cell styles
66
+ */
67
+ data: {
68
+ borderColor: { value: '{colors.border.tertiary.value}' },
69
+ borderStyle: { value: 'solid' },
70
+ borderWidth: { value: '{borderWidths.small.value}' },
71
+ color: { value: '{colors.font.primary.value}' },
72
+ display: { value: 'table-cell' },
73
+ fontSize: { value: '{fontSizes.medium.value}' },
74
+ fontWeight: { value: '{fontWeights.normal.value}' },
75
+ padding: { value: '{space.medium.value}' },
76
+ verticalAlign: { value: 'middle' },
77
+ large: {
78
+ fontSize: { value: '{fontSizes.large.value}' },
79
+ padding: { value: '{space.large.value}' },
80
+ },
81
+ small: {
82
+ fontSize: { value: '{fontSizes.small.value}' },
83
+ padding: { value: '{space.xs.value}' },
84
+ },
85
+ },
86
+ /**
87
+ * Default table caption styles
88
+ */
89
+ caption: {
90
+ captionSide: { value: 'bottom' },
91
+ color: { value: '{colors.font.primary.value}' },
92
+ display: { value: 'table-caption' },
93
+ fontSize: { value: '{fontSizes.medium.value}' },
94
+ textAlign: { value: 'center' },
95
+ wordBreak: { value: 'break-all' },
96
+ large: {
97
+ fontSize: { value: '{fontSizes.large.value}' },
98
+ },
99
+ small: {
100
+ fontSize: { value: '{fontSizes.small.value}' },
101
+ },
102
+ },
103
+ };
104
+
105
+ export { table };
@@ -1 +1,59 @@
1
- const e={backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}};export{e as tabs};
1
+ const tabs = {
2
+ backgroundColor: { value: 'transparent' },
3
+ borderColor: { value: '{colors.border.secondary.value}' },
4
+ borderStyle: { value: 'solid' },
5
+ borderWidth: { value: '{borderWidths.medium.value}' },
6
+ gap: { value: '0' },
7
+ item: {
8
+ backgroundColor: { value: 'transparent' },
9
+ borderColor: { value: '{colors.border.secondary.value}' },
10
+ borderStyle: { value: 'solid' },
11
+ borderWidth: { value: '{borderWidths.medium.value}' },
12
+ color: { value: '{colors.font.secondary.value}' },
13
+ fontSize: { value: '{fontSizes.medium.value}' },
14
+ fontWeight: { value: '{fontWeights.bold.value}' },
15
+ paddingVertical: { value: '{space.small.value}' },
16
+ paddingHorizontal: { value: '{space.medium.value}' },
17
+ textAlign: { value: 'center' },
18
+ transitionDuration: { value: '{time.medium.value}' },
19
+ _hover: {
20
+ backgroundColor: { value: 'transparent' },
21
+ borderColor: { value: '{colors.border.focus.value}' },
22
+ boxShadow: { value: 'none' },
23
+ color: { value: '{colors.font.hover.value}' },
24
+ },
25
+ _focus: {
26
+ backgroundColor: { value: 'transparent' },
27
+ borderColor: { value: '{colors.border.focus.value}' },
28
+ boxShadow: {
29
+ value: {
30
+ offsetX: '0px',
31
+ offsetY: '0px',
32
+ blurRadius: '0px',
33
+ spreadRadius: '{borderWidths.medium}',
34
+ color: '{colors.border.focus.value}',
35
+ },
36
+ },
37
+ color: { value: '{colors.font.focus.value}' },
38
+ },
39
+ _active: {
40
+ backgroundColor: { value: 'transparent' },
41
+ borderColor: { value: '{colors.font.interactive.value}' },
42
+ boxShadow: { value: 'none' },
43
+ color: { value: '{colors.font.interactive.value}' },
44
+ },
45
+ _disabled: {
46
+ backgroundColor: { value: 'transparent' },
47
+ borderColor: { value: '{colors.border.tertiary.value}' },
48
+ boxShadow: { value: 'none' },
49
+ color: { value: '{colors.font.disabled.value}' },
50
+ },
51
+ },
52
+ panel: {
53
+ backgroundColor: { value: 'transparent' },
54
+ paddingInline: { value: '0' },
55
+ paddingBlock: { value: '{space.small.value}' },
56
+ },
57
+ };
58
+
59
+ export { tabs };
@@ -1 +1,28 @@
1
- const o={color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}};export{o as text};
1
+ const text = {
2
+ // default styles
3
+ color: { value: '{colors.font.primary.value}' },
4
+ // variations
5
+ primary: {
6
+ color: { value: '{colors.font.primary.value}' },
7
+ },
8
+ secondary: {
9
+ color: { value: '{colors.font.secondary.value}' },
10
+ },
11
+ tertiary: {
12
+ color: { value: '{colors.font.tertiary.value}' },
13
+ },
14
+ error: {
15
+ color: { value: '{colors.font.error.value}' },
16
+ },
17
+ warning: {
18
+ color: { value: '{colors.font.warning.value}' },
19
+ },
20
+ success: {
21
+ color: { value: '{colors.font.success.value}' },
22
+ },
23
+ info: {
24
+ color: { value: '{colors.font.info.value}' },
25
+ },
26
+ };
27
+
28
+ export { text };
@@ -1 +1,11 @@
1
- const o={color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}};export{o as textareafield};
1
+ const textareafield = {
2
+ color: { value: '{components.fieldcontrol.color.value}' },
3
+ borderColor: { value: '{components.fieldcontrol.borderColor.value}' },
4
+ _focus: {
5
+ borderColor: {
6
+ value: '{components.fieldcontrol._focus.borderColor.value}',
7
+ },
8
+ },
9
+ };
10
+
11
+ export { textareafield };
@@ -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 textfield};
1
+ const textfield = {
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 { textfield };