@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
@@ -0,0 +1,78 @@
1
+ @layer amplify.components {
2
+ .amplify-switchfield {
3
+ display: inline-block;
4
+ font-size: var(--amplify-components-switchfield-font-size);
5
+ cursor: pointer;
6
+ }
7
+ .amplify-switchfield--small {
8
+ font-size: var(--amplify-components-switchfield-small-font-size);
9
+ }
10
+ .amplify-switchfield--large {
11
+ font-size: var(--amplify-components-switchfield-large-font-size);
12
+ }
13
+
14
+ .amplify-switch__wrapper {
15
+ display: inline-flex;
16
+ align-items: center;
17
+ }
18
+ .amplify-switch__wrapper--start {
19
+ flex-direction: row;
20
+ }
21
+ .amplify-switch__wrapper--end {
22
+ flex-direction: row-reverse;
23
+ }
24
+ .amplify-switch__wrapper--top {
25
+ flex-direction: column;
26
+ }
27
+ .amplify-switch__wrapper--bottom {
28
+ flex-direction: column-reverse;
29
+ }
30
+
31
+ .amplify-switch__track {
32
+ display: inline-flex;
33
+ justify-content: flex-start;
34
+ box-sizing: content-box;
35
+ border-radius: var(--amplify-components-switchfield-track-border-radius);
36
+ padding: var(--amplify-components-switchfield-track-padding);
37
+ width: var(--amplify-components-switchfield-track-width);
38
+ height: var(--amplify-components-switchfield-track-height);
39
+ transition-duration: var(--amplify-components-switchfield-track-transition-duration);
40
+ background-color: var(--amplify-components-switchfield-track-background-color);
41
+ }
42
+ .amplify-switch__track--checked {
43
+ background-color: var(--amplify-components-switchfield-track-checked-background-color);
44
+ }
45
+ .amplify-switch__track--disabled {
46
+ opacity: var(--amplify-components-switchfield-disabled-opacity);
47
+ cursor: not-allowed;
48
+ }
49
+ .amplify-switch__track--focused {
50
+ box-shadow: var(--amplify-components-switchfield-focused-shadow);
51
+ }
52
+ .amplify-switch__track--error {
53
+ background-color: var(--amplify-components-switchfield-track-error-background-color);
54
+ }
55
+
56
+ .amplify-switch__thumb {
57
+ background-color: var(--amplify-components-switchfield-thumb-background-color);
58
+ transition-duration: var(--amplify-components-switchfield-thumb-transition-duration);
59
+ border-radius: var(--amplify-components-switchfield-thumb-border-radius);
60
+ width: var(--amplify-components-switchfield-thumb-width);
61
+ height: var(--amplify-components-switchfield-thumb-width);
62
+ border-width: var(--amplify-components-switchfield-thumb-border-width);
63
+ border-style: var(--amplify-components-switchfield-thumb-border-style);
64
+ border-color: var(--amplify-components-switchfield-thumb-border-color);
65
+ overflow-wrap: break-word;
66
+ }
67
+ .amplify-switch__thumb--checked {
68
+ transform: var(--amplify-components-switchfield-thumb-checked-transform);
69
+ }
70
+ .amplify-switch__thumb--disabled {
71
+ cursor: not-allowed;
72
+ }
73
+
74
+ .amplify-switch__label {
75
+ padding: var(--amplify-components-switchfield-label-padding);
76
+ cursor: pointer;
77
+ }
78
+ }
@@ -0,0 +1,146 @@
1
+ .amplify-table {
2
+ /**
3
+ * Default Table primitive stylings
4
+ */
5
+ border-collapse: var(--amplify-components-table-border-collapse);
6
+ display: var(--amplify-components-table-display);
7
+ width: var(--amplify-components-table-width);
8
+ --amplify-internal-table-caption-font-size: var(
9
+ --amplify-components-table-caption-font-size
10
+ );
11
+ --amplify-internal-table-th-font-size: var(
12
+ --amplify-components-table-header-font-size
13
+ );
14
+ --amplify-internal-table-th-padding: var(
15
+ --amplify-components-table-header-padding
16
+ );
17
+ --amplify-internal-table-td-font-size: var(
18
+ --amplify-components-table-data-font-size
19
+ );
20
+ --amplify-internal-table-td-padding: var(
21
+ --amplify-components-table-data-padding
22
+ );
23
+ --amplify-internal-table-td-border-width: var(
24
+ --amplify-components-table-data-border-width
25
+ )
26
+ 0px var(--amplify-components-table-data-border-width) 0px;
27
+ --amplify-internal-table-th-border-width: var(
28
+ --amplify-components-table-header-border-width
29
+ )
30
+ 0px var(--amplify-components-table-header-border-width) 0px;
31
+ /**
32
+ * Data attribute stylings
33
+ */
34
+ }
35
+ .amplify-table--small {
36
+ --amplify-internal-table-caption-font-size: var(
37
+ --amplify-components-table-caption-small-font-size
38
+ );
39
+ --amplify-internal-table-th-font-size: var(
40
+ --amplify-components-table-header-small-font-size
41
+ );
42
+ --amplify-internal-table-th-padding: var(
43
+ --amplify-components-table-header-small-padding
44
+ );
45
+ --amplify-internal-table-td-font-size: var(
46
+ --amplify-components-table-data-small-font-size
47
+ );
48
+ --amplify-internal-table-td-padding: var(
49
+ --amplify-components-table-data-small-padding
50
+ );
51
+ }
52
+ .amplify-table--large {
53
+ --amplify-internal-table-caption-font-size: var(
54
+ --amplify-components-table-caption-large-font-size
55
+ );
56
+ --amplify-internal-table-th-font-size: var(
57
+ --amplify-components-table-header-large-font-size
58
+ );
59
+ --amplify-internal-table-th-padding: var(
60
+ --amplify-components-table-header-large-padding
61
+ );
62
+ --amplify-internal-table-td-font-size: var(
63
+ --amplify-components-table-data-large-font-size
64
+ );
65
+ --amplify-internal-table-td-padding: var(
66
+ --amplify-components-table-data-large-padding
67
+ );
68
+ }
69
+ .amplify-table--bordered {
70
+ --amplify-internal-table-td-border-width: var(
71
+ --amplify-components-table-data-border-width
72
+ )
73
+ var(--amplify-components-table-data-border-width)
74
+ var(--amplify-components-table-data-border-width)
75
+ var(--amplify-components-table-data-border-width);
76
+ --amplify-internal-table-th-border-width: var(
77
+ --amplify-components-table-header-border-width
78
+ )
79
+ var(--amplify-components-table-header-border-width)
80
+ var(--amplify-components-table-header-border-width)
81
+ var(--amplify-components-table-header-border-width);
82
+ }
83
+ .amplify-table__caption {
84
+ caption-side: var(--amplify-components-table-caption-caption-side);
85
+ color: var(--amplify-components-table-caption-color);
86
+ display: var(--amplify-components-table-caption-display);
87
+ font-size: var(--amplify-internal-table-caption-font-size);
88
+ text-align: var(--amplify-components-table-caption-text-align);
89
+ word-break: var(--amplify-components-table-caption-word-break);
90
+ }
91
+ .amplify-table__head {
92
+ display: var(--amplify-components-table-head-display);
93
+ vertical-align: var(--amplify-components-table-head-vertical-align);
94
+ }
95
+ .amplify-table__body {
96
+ display: var(--amplify-components-table-body-display);
97
+ vertical-align: var(--amplify-components-table-body-vertical-align);
98
+ }
99
+ .amplify-table__foot {
100
+ display: var(--amplify-components-table-foot-display);
101
+ vertical-align: var(--amplify-components-table-foot-vertical-align);
102
+ }
103
+ .amplify-table__row {
104
+ display: var(--amplify-components-table-row-display);
105
+ vertical-align: var(--amplify-components-table-row-vertical-align);
106
+ }
107
+ .amplify-table__th {
108
+ border-color: var(--amplify-components-table-header-border-color);
109
+ border-style: var(--amplify-components-table-header-border-style);
110
+ border-width: var(--amplify-internal-table-th-border-width);
111
+ color: var(--amplify-components-table-header-color);
112
+ display: var(--amplify-components-table-header-display);
113
+ font-size: var(--amplify-internal-table-th-font-size);
114
+ font-weight: var(--amplify-components-table-header-font-weight);
115
+ padding: var(--amplify-internal-table-th-padding);
116
+ vertical-align: var(--amplify-components-table-header-vertical-align);
117
+ }
118
+ .amplify-table__th:first-child {
119
+ border-left-width: var(--amplify-components-table-header-border-width);
120
+ }
121
+ .amplify-table__th:last-child {
122
+ border-right-width: var(--amplify-components-table-header-border-width);
123
+ }
124
+ .amplify-table__td {
125
+ border-color: var(--amplify-components-table-data-border-color);
126
+ border-style: var(--amplify-components-table-data-border-style);
127
+ border-width: var(--amplify-internal-table-td-border-width);
128
+ color: var(--amplify-components-table-data-color);
129
+ display: var(--amplify-components-table-data-display);
130
+ font-size: var(--amplify-internal-table-td-font-size);
131
+ font-weight: var(--amplify-components-table-data-font-weight);
132
+ padding: var(--amplify-internal-table-td-padding);
133
+ vertical-align: var(--amplify-components-table-data-vertical-align);
134
+ }
135
+ .amplify-table__td:first-child {
136
+ border-left-width: var(--amplify-components-table-data-border-width);
137
+ }
138
+ .amplify-table__td:last-child {
139
+ border-right-width: var(--amplify-components-table-data-border-width);
140
+ }
141
+ .amplify-table[data-variation=striped] .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
142
+ background-color: var(--amplify-components-table-row-striped-background-color);
143
+ }
144
+ .amplify-table[data-highlightonhover=true] .amplify-table__row:not(.amplify-table__head *):hover {
145
+ background-color: var(--amplify-components-table-row-hover-background-color);
146
+ }
@@ -0,0 +1,148 @@
1
+ @layer amplify.components {
2
+ .amplify-table {
3
+ /**
4
+ * Default Table primitive stylings
5
+ */
6
+ border-collapse: var(--amplify-components-table-border-collapse);
7
+ display: var(--amplify-components-table-display);
8
+ width: var(--amplify-components-table-width);
9
+ --amplify-internal-table-caption-font-size: var(
10
+ --amplify-components-table-caption-font-size
11
+ );
12
+ --amplify-internal-table-th-font-size: var(
13
+ --amplify-components-table-header-font-size
14
+ );
15
+ --amplify-internal-table-th-padding: var(
16
+ --amplify-components-table-header-padding
17
+ );
18
+ --amplify-internal-table-td-font-size: var(
19
+ --amplify-components-table-data-font-size
20
+ );
21
+ --amplify-internal-table-td-padding: var(
22
+ --amplify-components-table-data-padding
23
+ );
24
+ --amplify-internal-table-td-border-width: var(
25
+ --amplify-components-table-data-border-width
26
+ )
27
+ 0px var(--amplify-components-table-data-border-width) 0px;
28
+ --amplify-internal-table-th-border-width: var(
29
+ --amplify-components-table-header-border-width
30
+ )
31
+ 0px var(--amplify-components-table-header-border-width) 0px;
32
+ /**
33
+ * Data attribute stylings
34
+ */
35
+ }
36
+ .amplify-table--small {
37
+ --amplify-internal-table-caption-font-size: var(
38
+ --amplify-components-table-caption-small-font-size
39
+ );
40
+ --amplify-internal-table-th-font-size: var(
41
+ --amplify-components-table-header-small-font-size
42
+ );
43
+ --amplify-internal-table-th-padding: var(
44
+ --amplify-components-table-header-small-padding
45
+ );
46
+ --amplify-internal-table-td-font-size: var(
47
+ --amplify-components-table-data-small-font-size
48
+ );
49
+ --amplify-internal-table-td-padding: var(
50
+ --amplify-components-table-data-small-padding
51
+ );
52
+ }
53
+ .amplify-table--large {
54
+ --amplify-internal-table-caption-font-size: var(
55
+ --amplify-components-table-caption-large-font-size
56
+ );
57
+ --amplify-internal-table-th-font-size: var(
58
+ --amplify-components-table-header-large-font-size
59
+ );
60
+ --amplify-internal-table-th-padding: var(
61
+ --amplify-components-table-header-large-padding
62
+ );
63
+ --amplify-internal-table-td-font-size: var(
64
+ --amplify-components-table-data-large-font-size
65
+ );
66
+ --amplify-internal-table-td-padding: var(
67
+ --amplify-components-table-data-large-padding
68
+ );
69
+ }
70
+ .amplify-table--bordered {
71
+ --amplify-internal-table-td-border-width: var(
72
+ --amplify-components-table-data-border-width
73
+ )
74
+ var(--amplify-components-table-data-border-width)
75
+ var(--amplify-components-table-data-border-width)
76
+ var(--amplify-components-table-data-border-width);
77
+ --amplify-internal-table-th-border-width: var(
78
+ --amplify-components-table-header-border-width
79
+ )
80
+ var(--amplify-components-table-header-border-width)
81
+ var(--amplify-components-table-header-border-width)
82
+ var(--amplify-components-table-header-border-width);
83
+ }
84
+ .amplify-table__caption {
85
+ caption-side: var(--amplify-components-table-caption-caption-side);
86
+ color: var(--amplify-components-table-caption-color);
87
+ display: var(--amplify-components-table-caption-display);
88
+ font-size: var(--amplify-internal-table-caption-font-size);
89
+ text-align: var(--amplify-components-table-caption-text-align);
90
+ word-break: var(--amplify-components-table-caption-word-break);
91
+ }
92
+ .amplify-table__head {
93
+ display: var(--amplify-components-table-head-display);
94
+ vertical-align: var(--amplify-components-table-head-vertical-align);
95
+ }
96
+ .amplify-table__body {
97
+ display: var(--amplify-components-table-body-display);
98
+ vertical-align: var(--amplify-components-table-body-vertical-align);
99
+ }
100
+ .amplify-table__foot {
101
+ display: var(--amplify-components-table-foot-display);
102
+ vertical-align: var(--amplify-components-table-foot-vertical-align);
103
+ }
104
+ .amplify-table__row {
105
+ display: var(--amplify-components-table-row-display);
106
+ vertical-align: var(--amplify-components-table-row-vertical-align);
107
+ }
108
+ .amplify-table__th {
109
+ border-color: var(--amplify-components-table-header-border-color);
110
+ border-style: var(--amplify-components-table-header-border-style);
111
+ border-width: var(--amplify-internal-table-th-border-width);
112
+ color: var(--amplify-components-table-header-color);
113
+ display: var(--amplify-components-table-header-display);
114
+ font-size: var(--amplify-internal-table-th-font-size);
115
+ font-weight: var(--amplify-components-table-header-font-weight);
116
+ padding: var(--amplify-internal-table-th-padding);
117
+ vertical-align: var(--amplify-components-table-header-vertical-align);
118
+ }
119
+ .amplify-table__th:first-child {
120
+ border-left-width: var(--amplify-components-table-header-border-width);
121
+ }
122
+ .amplify-table__th:last-child {
123
+ border-right-width: var(--amplify-components-table-header-border-width);
124
+ }
125
+ .amplify-table__td {
126
+ border-color: var(--amplify-components-table-data-border-color);
127
+ border-style: var(--amplify-components-table-data-border-style);
128
+ border-width: var(--amplify-internal-table-td-border-width);
129
+ color: var(--amplify-components-table-data-color);
130
+ display: var(--amplify-components-table-data-display);
131
+ font-size: var(--amplify-internal-table-td-font-size);
132
+ font-weight: var(--amplify-components-table-data-font-weight);
133
+ padding: var(--amplify-internal-table-td-padding);
134
+ vertical-align: var(--amplify-components-table-data-vertical-align);
135
+ }
136
+ .amplify-table__td:first-child {
137
+ border-left-width: var(--amplify-components-table-data-border-width);
138
+ }
139
+ .amplify-table__td:last-child {
140
+ border-right-width: var(--amplify-components-table-data-border-width);
141
+ }
142
+ .amplify-table[data-variation=striped] .amplify-table__row:not(.amplify-table__head *):nth-child(odd) {
143
+ background-color: var(--amplify-components-table-row-striped-background-color);
144
+ }
145
+ .amplify-table[data-highlightonhover=true] .amplify-table__row:not(.amplify-table__head *):hover {
146
+ background-color: var(--amplify-components-table-row-hover-background-color);
147
+ }
148
+ }
@@ -0,0 +1,87 @@
1
+ .amplify-tabs__list {
2
+ --internal-item-margin-start: 0;
3
+ --internal-item-margin-end: calc(
4
+ -1 * var(--amplify-components-tabs-item-border-width)
5
+ );
6
+ --internal-item-border-width: 0 0
7
+ var(--amplify-components-tabs-border-width) 0;
8
+ --internal-item-flex: initial;
9
+ display: flex;
10
+ flex-direction: row;
11
+ background-color: var(--amplify-components-tabs-background-color);
12
+ box-shadow: var(--amplify-components-tabs-box-shadow);
13
+ border-width: var(--internal-item-border-width);
14
+ border-style: var(--amplify-components-tabs-border-style);
15
+ border-color: var(--amplify-components-tabs-border-color);
16
+ gap: var(--amplify-components-tabs-gap);
17
+ }
18
+ .amplify-tabs__list--top {
19
+ --internal-item-border-width: var(--amplify-components-tabs-border-width)
20
+ 0 0 0;
21
+ --internal-item-margin-start: calc(
22
+ -1 * var(--amplify-components-tabs-item-border-width)
23
+ );
24
+ --internal-item-margin-end: 0;
25
+ }
26
+ .amplify-tabs__list--equal {
27
+ --internal-item-flex: 1 1 0;
28
+ }
29
+ .amplify-tabs__list--relative {
30
+ --internal-item-flex: 1 1 auto;
31
+ }
32
+ .amplify-tabs__panel {
33
+ display: none;
34
+ background-color: var(--amplify-components-tabs-panel-background-color);
35
+ padding-inline: var(--amplify-components-tabs-panel-padding-inline);
36
+ padding-block: var(--amplify-components-tabs-panel-padding-block);
37
+ }
38
+ .amplify-tabs__panel--active {
39
+ display: block;
40
+ }
41
+ .amplify-tabs__item {
42
+ position: relative;
43
+ background-color: var(--amplify-components-tabs-item-background-color);
44
+ box-sizing: border-box;
45
+ color: var(--amplify-components-tabs-item-color);
46
+ font-size: var(--amplify-components-tabs-item-font-size);
47
+ font-weight: var(--amplify-components-tabs-item-font-weight);
48
+ padding: var(--amplify-components-tabs-item-padding-vertical) var(--amplify-components-tabs-item-padding-horizontal);
49
+ text-align: var(--amplify-components-tabs-item-text-align);
50
+ transition: all var(--amplify-components-tabs-item-transition-duration);
51
+ border-width: var(--internal-item-border-width);
52
+ border-style: var(--amplify-components-tabs-item-border-style);
53
+ border-color: var(--amplify-components-tabs-item-border-color);
54
+ flex: var(--internal-item-flex);
55
+ margin-block-start: var(--internal-item-margin-start);
56
+ margin-block-end: var(--internal-item-margin-end);
57
+ }
58
+ .amplify-tabs__item--active {
59
+ color: var(--amplify-components-tabs-item-active-color);
60
+ border-color: var(--amplify-components-tabs-item-active-border-color);
61
+ background-color: var(--amplify-components-tabs-item-active-background-color);
62
+ transition-property: none;
63
+ }
64
+ .amplify-tabs__item:hover {
65
+ color: var(--amplify-components-tabs-item-hover-color);
66
+ cursor: pointer;
67
+ }
68
+ .amplify-tabs__item:focus-visible {
69
+ z-index: 2;
70
+ color: var(--amplify-components-tabs-item-focus-color);
71
+ background-color: var(--amplify-components-tabs-item-focus-background-color);
72
+ border-color: var(--amplify-components-tabs-item-focus-border-color);
73
+ box-shadow: var(--amplify-components-tabs-item-focus-box-shadow);
74
+ }
75
+ .amplify-tabs__item:active {
76
+ background-color: var(--amplify-components-tabs-item-active-background-color);
77
+ border-color: var(--amplify-components-tabs-item-active-border-color);
78
+ box-shadow: var(--amplify-components-tabs-item-active-box-shadow);
79
+ color: var(--amplify-components-tabs-item-active-color);
80
+ }
81
+ .amplify-tabs__item[disabled] {
82
+ background-color: var(--amplify-components-tabs-item-disabled-background-color);
83
+ border-color: var(--amplify-components-tabs-item-disabled-border-color);
84
+ box-shadow: var(--amplify-components-tabs-item-disabled-box-shadow);
85
+ color: var(--amplify-components-tabs-item-disabled-color);
86
+ cursor: not-allowed;
87
+ }
@@ -0,0 +1,89 @@
1
+ @layer amplify.components {
2
+ .amplify-tabs__list {
3
+ --internal-item-margin-start: 0;
4
+ --internal-item-margin-end: calc(
5
+ -1 * var(--amplify-components-tabs-item-border-width)
6
+ );
7
+ --internal-item-border-width: 0 0
8
+ var(--amplify-components-tabs-border-width) 0;
9
+ --internal-item-flex: initial;
10
+ display: flex;
11
+ flex-direction: row;
12
+ background-color: var(--amplify-components-tabs-background-color);
13
+ box-shadow: var(--amplify-components-tabs-box-shadow);
14
+ border-width: var(--internal-item-border-width);
15
+ border-style: var(--amplify-components-tabs-border-style);
16
+ border-color: var(--amplify-components-tabs-border-color);
17
+ gap: var(--amplify-components-tabs-gap);
18
+ }
19
+ .amplify-tabs__list--top {
20
+ --internal-item-border-width: var(--amplify-components-tabs-border-width)
21
+ 0 0 0;
22
+ --internal-item-margin-start: calc(
23
+ -1 * var(--amplify-components-tabs-item-border-width)
24
+ );
25
+ --internal-item-margin-end: 0;
26
+ }
27
+ .amplify-tabs__list--equal {
28
+ --internal-item-flex: 1 1 0;
29
+ }
30
+ .amplify-tabs__list--relative {
31
+ --internal-item-flex: 1 1 auto;
32
+ }
33
+ .amplify-tabs__panel {
34
+ display: none;
35
+ background-color: var(--amplify-components-tabs-panel-background-color);
36
+ padding-inline: var(--amplify-components-tabs-panel-padding-inline);
37
+ padding-block: var(--amplify-components-tabs-panel-padding-block);
38
+ }
39
+ .amplify-tabs__panel--active {
40
+ display: block;
41
+ }
42
+ .amplify-tabs__item {
43
+ position: relative;
44
+ background-color: var(--amplify-components-tabs-item-background-color);
45
+ box-sizing: border-box;
46
+ color: var(--amplify-components-tabs-item-color);
47
+ font-size: var(--amplify-components-tabs-item-font-size);
48
+ font-weight: var(--amplify-components-tabs-item-font-weight);
49
+ padding: var(--amplify-components-tabs-item-padding-vertical) var(--amplify-components-tabs-item-padding-horizontal);
50
+ text-align: var(--amplify-components-tabs-item-text-align);
51
+ transition: all var(--amplify-components-tabs-item-transition-duration);
52
+ border-width: var(--internal-item-border-width);
53
+ border-style: var(--amplify-components-tabs-item-border-style);
54
+ border-color: var(--amplify-components-tabs-item-border-color);
55
+ flex: var(--internal-item-flex);
56
+ margin-block-start: var(--internal-item-margin-start);
57
+ margin-block-end: var(--internal-item-margin-end);
58
+ }
59
+ .amplify-tabs__item--active {
60
+ color: var(--amplify-components-tabs-item-active-color);
61
+ border-color: var(--amplify-components-tabs-item-active-border-color);
62
+ background-color: var(--amplify-components-tabs-item-active-background-color);
63
+ transition-property: none;
64
+ }
65
+ .amplify-tabs__item:hover {
66
+ color: var(--amplify-components-tabs-item-hover-color);
67
+ cursor: pointer;
68
+ }
69
+ .amplify-tabs__item:focus-visible {
70
+ z-index: 2;
71
+ color: var(--amplify-components-tabs-item-focus-color);
72
+ background-color: var(--amplify-components-tabs-item-focus-background-color);
73
+ border-color: var(--amplify-components-tabs-item-focus-border-color);
74
+ box-shadow: var(--amplify-components-tabs-item-focus-box-shadow);
75
+ }
76
+ .amplify-tabs__item:active {
77
+ background-color: var(--amplify-components-tabs-item-active-background-color);
78
+ border-color: var(--amplify-components-tabs-item-active-border-color);
79
+ box-shadow: var(--amplify-components-tabs-item-active-box-shadow);
80
+ color: var(--amplify-components-tabs-item-active-color);
81
+ }
82
+ .amplify-tabs__item[disabled] {
83
+ background-color: var(--amplify-components-tabs-item-disabled-background-color);
84
+ border-color: var(--amplify-components-tabs-item-disabled-border-color);
85
+ box-shadow: var(--amplify-components-tabs-item-disabled-box-shadow);
86
+ color: var(--amplify-components-tabs-item-disabled-color);
87
+ cursor: not-allowed;
88
+ }
89
+ }
@@ -0,0 +1,40 @@
1
+ .amplify-text {
2
+ display: block;
3
+ color: var(--amplify-components-text-color);
4
+ }
5
+ b.amplify-text,
6
+ em.amplify-text,
7
+ i.amplify-text,
8
+ span.amplify-text,
9
+ strong.amplify-text {
10
+ display: inline;
11
+ }
12
+
13
+ .amplify-text--truncated {
14
+ display: inline-block;
15
+ max-width: 100%;
16
+ overflow: hidden;
17
+ text-overflow: ellipsis;
18
+ white-space: nowrap;
19
+ }
20
+ .amplify-text--primary {
21
+ color: var(--amplify-components-text-primary-color);
22
+ }
23
+ .amplify-text--secondary {
24
+ color: var(--amplify-components-text-secondary-color);
25
+ }
26
+ .amplify-text--tertiary {
27
+ color: var(--amplify-components-text-tertiary-color);
28
+ }
29
+ .amplify-text--error {
30
+ color: var(--amplify-components-text-error-color);
31
+ }
32
+ .amplify-text--info {
33
+ color: var(--amplify-components-text-info-color);
34
+ }
35
+ .amplify-text--success {
36
+ color: var(--amplify-components-text-success-color);
37
+ }
38
+ .amplify-text--warning {
39
+ color: var(--amplify-components-text-warning-color);
40
+ }
@@ -0,0 +1,42 @@
1
+ @layer amplify.components {
2
+ .amplify-text {
3
+ display: block;
4
+ color: var(--amplify-components-text-color);
5
+ }
6
+ b.amplify-text,
7
+ em.amplify-text,
8
+ i.amplify-text,
9
+ span.amplify-text,
10
+ strong.amplify-text {
11
+ display: inline;
12
+ }
13
+
14
+ .amplify-text--truncated {
15
+ display: inline-block;
16
+ max-width: 100%;
17
+ overflow: hidden;
18
+ text-overflow: ellipsis;
19
+ white-space: nowrap;
20
+ }
21
+ .amplify-text--primary {
22
+ color: var(--amplify-components-text-primary-color);
23
+ }
24
+ .amplify-text--secondary {
25
+ color: var(--amplify-components-text-secondary-color);
26
+ }
27
+ .amplify-text--tertiary {
28
+ color: var(--amplify-components-text-tertiary-color);
29
+ }
30
+ .amplify-text--error {
31
+ color: var(--amplify-components-text-error-color);
32
+ }
33
+ .amplify-text--info {
34
+ color: var(--amplify-components-text-info-color);
35
+ }
36
+ .amplify-text--success {
37
+ color: var(--amplify-components-text-success-color);
38
+ }
39
+ .amplify-text--warning {
40
+ color: var(--amplify-components-text-warning-color);
41
+ }
42
+ }