@aws-amplify/ui 5.8.1 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/esm/helpers/accountSettings/utils.mjs +33 -1
  2. package/dist/esm/helpers/accountSettings/validator.mjs +120 -1
  3. package/dist/esm/helpers/authenticator/actor.mjs +20 -1
  4. package/dist/esm/helpers/authenticator/constants.mjs +144 -1
  5. package/dist/esm/helpers/authenticator/defaultAuthHubHandler.mjs +52 -0
  6. package/dist/esm/helpers/authenticator/facade.mjs +137 -1
  7. package/dist/esm/helpers/authenticator/form.mjs +43 -1
  8. package/dist/esm/helpers/authenticator/formFields/defaults.mjs +132 -1
  9. package/dist/esm/helpers/authenticator/formFields/formFields.mjs +62 -1
  10. package/dist/esm/helpers/authenticator/formFields/utils.mjs +35 -0
  11. package/dist/esm/helpers/authenticator/getRoute.mjs +47 -0
  12. package/dist/esm/helpers/authenticator/textUtil.mjs +112 -1
  13. package/dist/esm/helpers/authenticator/utils.mjs +38 -1
  14. package/dist/esm/helpers/utils.mjs +5 -1
  15. package/dist/esm/i18n/country-dial-codes.mjs +210 -1
  16. package/dist/esm/i18n/dictionaries/authenticator/de.mjs +87 -1
  17. package/dist/esm/i18n/dictionaries/authenticator/defaultTexts.mjs +83 -1
  18. package/dist/esm/i18n/dictionaries/authenticator/en.mjs +74 -1
  19. package/dist/esm/i18n/dictionaries/authenticator/es.mjs +83 -1
  20. package/dist/esm/i18n/dictionaries/authenticator/fr.mjs +92 -1
  21. package/dist/esm/i18n/dictionaries/authenticator/he.mjs +54 -1
  22. package/dist/esm/i18n/dictionaries/authenticator/id.mjs +96 -1
  23. package/dist/esm/i18n/dictionaries/authenticator/it.mjs +82 -1
  24. package/dist/esm/i18n/dictionaries/authenticator/ja.mjs +86 -1
  25. package/dist/esm/i18n/dictionaries/authenticator/kr.mjs +71 -1
  26. package/dist/esm/i18n/dictionaries/authenticator/nb.mjs +95 -1
  27. package/dist/esm/i18n/dictionaries/authenticator/nl.mjs +67 -1
  28. package/dist/esm/i18n/dictionaries/authenticator/pl.mjs +71 -1
  29. package/dist/esm/i18n/dictionaries/authenticator/pt.mjs +61 -1
  30. package/dist/esm/i18n/dictionaries/authenticator/ru.mjs +61 -1
  31. package/dist/esm/i18n/dictionaries/authenticator/sv.mjs +82 -1
  32. package/dist/esm/i18n/dictionaries/authenticator/tr.mjs +76 -1
  33. package/dist/esm/i18n/dictionaries/authenticator/ua.mjs +84 -1
  34. package/dist/esm/i18n/dictionaries/authenticator/zh.mjs +74 -1
  35. package/dist/esm/i18n/dictionaries/index.mjs +47 -1
  36. package/dist/esm/i18n/translations.mjs +67 -1
  37. package/dist/esm/index.mjs +28 -1
  38. package/dist/esm/machines/authenticator/actions.mjs +188 -1
  39. package/dist/esm/machines/authenticator/actors/forgotPassword.mjs +184 -0
  40. package/dist/esm/machines/authenticator/actors/signIn.mjs +328 -1
  41. package/dist/esm/machines/authenticator/actors/signOut.mjs +28 -1
  42. package/dist/esm/machines/authenticator/actors/signUp.mjs +295 -0
  43. package/dist/esm/machines/authenticator/actors/verifyUserAttributes.mjs +106 -0
  44. package/dist/esm/machines/authenticator/defaultServices.mjs +102 -1
  45. package/dist/esm/machines/authenticator/guards.mjs +70 -0
  46. package/dist/esm/machines/authenticator/index.mjs +368 -1
  47. package/dist/esm/machines/authenticator/utils.mjs +71 -0
  48. package/dist/esm/theme/breakpoints.mjs +14 -1
  49. package/dist/esm/theme/createTheme.mjs +156 -1
  50. package/dist/esm/theme/defaultDarkModeOverride.mjs +128 -1
  51. package/dist/esm/theme/defaultTheme.mjs +10 -1
  52. package/dist/esm/theme/tokens/borderWidths.mjs +7 -1
  53. package/dist/esm/theme/tokens/colors.mjs +166 -1
  54. package/dist/esm/theme/tokens/components/accordion.mjs +47 -0
  55. package/dist/esm/theme/tokens/components/alert.mjs +35 -1
  56. package/dist/esm/theme/tokens/components/authenticator.mjs +39 -1
  57. package/dist/esm/theme/tokens/components/autocomplete.mjs +42 -1
  58. package/dist/esm/theme/tokens/components/badge.mjs +44 -1
  59. package/dist/esm/theme/tokens/components/breadcrumbs.mjs +34 -1
  60. package/dist/esm/theme/tokens/components/button.mjs +685 -1
  61. package/dist/esm/theme/tokens/components/card.mjs +27 -1
  62. package/dist/esm/theme/tokens/components/checkbox.mjs +87 -1
  63. package/dist/esm/theme/tokens/components/checkboxField.mjs +8 -1
  64. package/dist/esm/theme/tokens/components/collection.mjs +72 -1
  65. package/dist/esm/theme/tokens/components/copy.mjs +18 -1
  66. package/dist/esm/theme/tokens/components/dialCodeSelect.mjs +7 -1
  67. package/dist/esm/theme/tokens/components/divider.mjs +22 -1
  68. package/dist/esm/theme/tokens/components/dropZone.mjs +46 -1
  69. package/dist/esm/theme/tokens/components/field.mjs +20 -1
  70. package/dist/esm/theme/tokens/components/fieldControl.mjs +131 -1
  71. package/dist/esm/theme/tokens/components/fieldGroup.mjs +11 -1
  72. package/dist/esm/theme/tokens/components/fieldMessages.mjs +13 -1
  73. package/dist/esm/theme/tokens/components/fieldset.mjs +40 -1
  74. package/dist/esm/theme/tokens/components/flex.mjs +9 -1
  75. package/dist/esm/theme/tokens/components/heading.mjs +30 -1
  76. package/dist/esm/theme/tokens/components/highlightMatch.mjs +7 -1
  77. package/dist/esm/theme/tokens/components/icon.mjs +6 -1
  78. package/dist/esm/theme/tokens/components/image.mjs +8 -1
  79. package/dist/esm/theme/tokens/components/inAppMessaging.mjs +23 -1
  80. package/dist/esm/theme/tokens/components/index.mjs +111 -1
  81. package/dist/esm/theme/tokens/components/input.mjs +12 -1
  82. package/dist/esm/theme/tokens/components/link.mjs +9 -1
  83. package/dist/esm/theme/tokens/components/liveness.mjs +7 -1
  84. package/dist/esm/theme/tokens/components/loader.mjs +42 -1
  85. package/dist/esm/theme/tokens/components/menu.mjs +27 -1
  86. package/dist/esm/theme/tokens/components/message.mjs +102 -1
  87. package/dist/esm/theme/tokens/components/pagination.mjs +40 -1
  88. package/dist/esm/theme/tokens/components/passwordField.mjs +38 -1
  89. package/dist/esm/theme/tokens/components/phoneNumberField.mjs +10 -1
  90. package/dist/esm/theme/tokens/components/placeholder.mjs +18 -1
  91. package/dist/esm/theme/tokens/components/radio.mjs +67 -1
  92. package/dist/esm/theme/tokens/components/radioGroup.mjs +19 -1
  93. package/dist/esm/theme/tokens/components/rating.mjs +9 -1
  94. package/dist/esm/theme/tokens/components/searchField.mjs +39 -1
  95. package/dist/esm/theme/tokens/components/select.mjs +63 -1
  96. package/dist/esm/theme/tokens/components/selectField.mjs +16 -1
  97. package/dist/esm/theme/tokens/components/sliderField.mjs +70 -1
  98. package/dist/esm/theme/tokens/components/stepperField.mjs +33 -1
  99. package/dist/esm/theme/tokens/components/storagemanager.mjs +97 -1
  100. package/dist/esm/theme/tokens/components/switchField.mjs +61 -1
  101. package/dist/esm/theme/tokens/components/table.mjs +105 -1
  102. package/dist/esm/theme/tokens/components/tabs.mjs +59 -1
  103. package/dist/esm/theme/tokens/components/text.mjs +28 -1
  104. package/dist/esm/theme/tokens/components/textAreaField.mjs +11 -1
  105. package/dist/esm/theme/tokens/components/textField.mjs +12 -1
  106. package/dist/esm/theme/tokens/components/toggleButton.mjs +96 -1
  107. package/dist/esm/theme/tokens/components/toggleButtonGroup.mjs +7 -1
  108. package/dist/esm/theme/tokens/fontSizes.mjs +14 -1
  109. package/dist/esm/theme/tokens/fontWeights.mjs +13 -1
  110. package/dist/esm/theme/tokens/fonts.mjs +19 -1
  111. package/dist/esm/theme/tokens/index.mjs +65 -1
  112. package/dist/esm/theme/tokens/lineHeights.mjs +7 -1
  113. package/dist/esm/theme/tokens/opacities.mjs +15 -1
  114. package/dist/esm/theme/tokens/outlineOffsets.mjs +7 -1
  115. package/dist/esm/theme/tokens/outlineWidths.mjs +7 -1
  116. package/dist/esm/theme/tokens/radii.mjs +11 -1
  117. package/dist/esm/theme/tokens/shadows.mjs +28 -1
  118. package/dist/esm/theme/tokens/space.mjs +29 -1
  119. package/dist/esm/theme/tokens/time.mjs +7 -1
  120. package/dist/esm/theme/tokens/transforms.mjs +10 -1
  121. package/dist/esm/theme/utils.mjs +81 -1
  122. package/dist/esm/types/authenticator/attributes.mjs +41 -1
  123. package/dist/esm/types/authenticator/user.mjs +18 -1
  124. package/dist/esm/types/authenticator/utils.mjs +5 -1
  125. package/dist/esm/types/primitives/componentClassName.mjs +164 -1
  126. package/dist/esm/utils/classNames.mjs +39 -0
  127. package/dist/esm/utils/setUserAgent/constants.mjs +43 -0
  128. package/dist/esm/utils/setUserAgent/setUserAgent.mjs +65 -0
  129. package/dist/esm/utils/utils.mjs +227 -0
  130. package/dist/esm/validators/index.mjs +19 -1
  131. package/dist/index.js +8396 -1
  132. package/dist/styles/StorageManager.css +138 -0
  133. package/dist/styles/StorageManager.layer.css +140 -0
  134. package/dist/styles/_fieldControl.css +0 -0
  135. package/dist/styles/_fieldControl.layer.css +3 -0
  136. package/dist/styles/accordion.css +64 -0
  137. package/dist/styles/accordion.layer.css +66 -0
  138. package/dist/styles/alert.css +44 -0
  139. package/dist/styles/alert.layer.css +46 -0
  140. package/dist/styles/authenticator.css +72 -0
  141. package/dist/styles/authenticator.layer.css +74 -0
  142. package/dist/styles/autocomplete.css +48 -0
  143. package/dist/styles/autocomplete.layer.css +50 -0
  144. package/dist/styles/badge.css +35 -0
  145. package/dist/styles/badge.layer.css +37 -0
  146. package/dist/styles/base.css +1491 -0
  147. package/dist/styles/base.layer.css +1493 -0
  148. package/dist/styles/breadcrumbs.css +40 -0
  149. package/dist/styles/breadcrumbs.layer.css +42 -0
  150. package/dist/styles/button.css +1122 -0
  151. package/dist/styles/button.layer.css +1124 -0
  152. package/dist/styles/card.css +26 -0
  153. package/dist/styles/card.layer.css +28 -0
  154. package/dist/styles/checkbox.css +95 -0
  155. package/dist/styles/checkbox.layer.css +97 -0
  156. package/dist/styles/checkboxField.css +6 -0
  157. package/dist/styles/checkboxField.layer.css +8 -0
  158. package/dist/styles/collection.css +70 -0
  159. package/dist/styles/collection.layer.css +72 -0
  160. package/dist/styles/copy.css +27 -0
  161. package/dist/styles/copy.layer.css +29 -0
  162. package/dist/styles/dialCodeSelect.css +3 -0
  163. package/dist/styles/dialCodeSelect.layer.css +5 -0
  164. package/dist/styles/divider.css +47 -0
  165. package/dist/styles/divider.layer.css +49 -0
  166. package/dist/styles/dropZone.css +45 -0
  167. package/dist/styles/dropZone.layer.css +47 -0
  168. package/dist/styles/field.css +17 -0
  169. package/dist/styles/field.layer.css +19 -0
  170. package/dist/styles/fieldGroup.css +130 -0
  171. package/dist/styles/fieldGroup.layer.css +132 -0
  172. package/dist/styles/fieldMessages.css +10 -0
  173. package/dist/styles/fieldMessages.layer.css +12 -0
  174. package/dist/styles/fieldModifiers.css +15 -0
  175. package/dist/styles/fieldModifiers.layer.css +17 -0
  176. package/dist/styles/fieldset.css +37 -0
  177. package/dist/styles/fieldset.layer.css +39 -0
  178. package/dist/styles/flex.css +8 -0
  179. package/dist/styles/flex.layer.css +10 -0
  180. package/dist/styles/grid.css +3 -0
  181. package/dist/styles/grid.layer.css +5 -0
  182. package/dist/styles/heading.css +40 -0
  183. package/dist/styles/heading.layer.css +42 -0
  184. package/dist/styles/highlightMatch.css +3 -0
  185. package/dist/styles/highlightMatch.layer.css +5 -0
  186. package/dist/styles/icon.css +14 -0
  187. package/dist/styles/icon.layer.css +16 -0
  188. package/dist/styles/image.css +9 -0
  189. package/dist/styles/image.layer.css +11 -0
  190. package/dist/styles/inAppMessaging.css +179 -0
  191. package/dist/styles/inAppMessaging.layer.css +181 -0
  192. package/dist/styles/input.css +83 -0
  193. package/dist/styles/input.layer.css +85 -0
  194. package/dist/styles/link.css +26 -0
  195. package/dist/styles/link.layer.css +28 -0
  196. package/dist/styles/liveness.css +423 -0
  197. package/dist/styles/liveness.layer.css +425 -0
  198. package/dist/styles/loader.css +108 -0
  199. package/dist/styles/loader.layer.css +110 -0
  200. package/dist/styles/menu.css +54 -0
  201. package/dist/styles/menu.layer.css +56 -0
  202. package/dist/styles/message.css +111 -0
  203. package/dist/styles/message.layer.css +113 -0
  204. package/dist/styles/pagination.css +41 -0
  205. package/dist/styles/pagination.layer.css +43 -0
  206. package/dist/styles/passwordField.css +49 -0
  207. package/dist/styles/passwordField.layer.css +51 -0
  208. package/dist/styles/phoneNumberField.css +30 -0
  209. package/dist/styles/phoneNumberField.layer.css +32 -0
  210. package/dist/styles/placeholder.css +31 -0
  211. package/dist/styles/placeholder.layer.css +33 -0
  212. package/dist/styles/radio.css +82 -0
  213. package/dist/styles/radio.layer.css +84 -0
  214. package/dist/styles/radioGroupField.css +25 -0
  215. package/dist/styles/radioGroupField.layer.css +27 -0
  216. package/dist/styles/radiogroup.css +5 -0
  217. package/dist/styles/radiogroup.layer.css +7 -0
  218. package/dist/styles/rating.css +33 -0
  219. package/dist/styles/rating.layer.css +35 -0
  220. package/dist/styles/reset.css +76 -0
  221. package/dist/styles/reset.layer.css +78 -0
  222. package/dist/styles/scrollView.css +4 -0
  223. package/dist/styles/scrollView.layer.css +6 -0
  224. package/dist/styles/searchField.css +29 -0
  225. package/dist/styles/searchField.layer.css +31 -0
  226. package/dist/styles/select.css +128 -0
  227. package/dist/styles/select.layer.css +130 -0
  228. package/dist/styles/selectField.css +18 -0
  229. package/dist/styles/selectField.layer.css +20 -0
  230. package/dist/styles/sliderField.css +143 -0
  231. package/dist/styles/sliderField.layer.css +145 -0
  232. package/dist/styles/stepperField.css +77 -0
  233. package/dist/styles/stepperField.layer.css +79 -0
  234. package/dist/styles/switchField.css +76 -0
  235. package/dist/styles/switchField.layer.css +78 -0
  236. package/dist/styles/table.css +146 -0
  237. package/dist/styles/table.layer.css +148 -0
  238. package/dist/styles/tabs.css +87 -0
  239. package/dist/styles/tabs.layer.css +89 -0
  240. package/dist/styles/text.css +40 -0
  241. package/dist/styles/text.layer.css +42 -0
  242. package/dist/styles/textArea.css +71 -0
  243. package/dist/styles/textArea.layer.css +73 -0
  244. package/dist/styles/textAreaField.css +12 -0
  245. package/dist/styles/textAreaField.layer.css +14 -0
  246. package/dist/styles/textField.css +14 -0
  247. package/dist/styles/textField.layer.css +16 -0
  248. package/dist/styles/toggleButton.css +280 -0
  249. package/dist/styles/toggleButton.layer.css +282 -0
  250. package/dist/styles/toggleButtonGroup.css +31 -0
  251. package/dist/styles/toggleButtonGroup.layer.css +33 -0
  252. package/dist/styles/visuallyHidden.css +12 -0
  253. package/dist/styles/visuallyHidden.layer.css +14 -0
  254. package/dist/styles.css +343 -680
  255. package/dist/styles.layer.css +6164 -0
  256. package/dist/theme.css +93 -156
  257. package/dist/types/helpers/accountSettings/utils.d.ts +1 -3
  258. package/dist/types/helpers/authenticator/actor.d.ts +1 -1
  259. package/dist/types/helpers/authenticator/constants.d.ts +5 -0
  260. package/dist/types/helpers/authenticator/defaultAuthHubHandler.d.ts +15 -0
  261. package/dist/types/helpers/authenticator/facade.d.ts +35 -6
  262. package/dist/types/helpers/authenticator/formFields/defaults.d.ts +3 -1
  263. package/dist/types/helpers/authenticator/formFields/formFields.d.ts +2 -1
  264. package/dist/types/helpers/authenticator/formFields/index.d.ts +1 -1
  265. package/dist/types/helpers/authenticator/formFields/{util.d.ts → utils.d.ts} +2 -0
  266. package/dist/types/helpers/authenticator/getRoute.d.ts +2 -0
  267. package/dist/types/helpers/authenticator/index.d.ts +2 -1
  268. package/dist/types/helpers/authenticator/textUtil.d.ts +8 -7
  269. package/dist/types/{types/authenticator/stateMachine/authMachine.d.ts → helpers/authenticator/types.d.ts} +5 -5
  270. package/dist/types/helpers/authenticator/utils.d.ts +0 -25
  271. package/dist/types/helpers/index.d.ts +0 -1
  272. package/dist/types/helpers/utils.d.ts +2 -2
  273. package/dist/types/i18n/translations.d.ts +2 -3
  274. package/dist/types/machines/authenticator/actions.d.ts +4 -62
  275. package/dist/types/machines/authenticator/actors/{resetPassword.d.ts → forgotPassword.d.ts} +3 -3
  276. package/dist/types/machines/authenticator/actors/index.d.ts +3 -1
  277. package/dist/types/machines/authenticator/actors/signIn.d.ts +3 -3
  278. package/dist/types/machines/authenticator/actors/signOut.d.ts +2 -2
  279. package/dist/types/machines/authenticator/{signUp.d.ts → actors/signUp.d.ts} +3 -3
  280. package/dist/types/machines/authenticator/actors/verifyUserAttributes.d.ts +5 -0
  281. package/dist/types/machines/authenticator/defaultServices.d.ts +208 -28
  282. package/dist/types/machines/authenticator/getAuthenticatorConfig.d.ts +14 -0
  283. package/dist/types/machines/authenticator/guards.d.ts +4 -0
  284. package/dist/types/machines/authenticator/index.d.ts +4 -2
  285. package/dist/types/machines/authenticator/types.d.ts +125 -0
  286. package/dist/types/machines/authenticator/utils.d.ts +7 -0
  287. package/dist/types/machines/index.d.ts +1 -0
  288. package/dist/types/theme/tokens/borderWidths.d.ts +2 -2
  289. package/dist/types/theme/tokens/colors.d.ts +7 -9
  290. package/dist/types/theme/tokens/components/accordion.d.ts +12 -0
  291. package/dist/types/theme/tokens/components/index.d.ts +2 -4
  292. package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
  293. package/dist/types/theme/tokens/components/storagemanager.d.ts +18 -3
  294. package/dist/types/theme/tokens/components/tabs.d.ts +4 -3
  295. package/dist/types/theme/tokens/fontSizes.d.ts +2 -2
  296. package/dist/types/theme/tokens/fontWeights.d.ts +2 -2
  297. package/dist/types/theme/tokens/fonts.d.ts +2 -2
  298. package/dist/types/theme/tokens/lineHeights.d.ts +2 -2
  299. package/dist/types/theme/tokens/opacities.d.ts +2 -2
  300. package/dist/types/theme/tokens/outlineOffsets.d.ts +2 -2
  301. package/dist/types/theme/tokens/outlineWidths.d.ts +2 -2
  302. package/dist/types/theme/tokens/radii.d.ts +2 -2
  303. package/dist/types/theme/tokens/shadows.d.ts +2 -2
  304. package/dist/types/theme/tokens/space.d.ts +2 -2
  305. package/dist/types/theme/tokens/time.d.ts +2 -2
  306. package/dist/types/theme/tokens/types/designToken.d.ts +12 -6
  307. package/dist/types/theme/types.d.ts +5 -1
  308. package/dist/types/types/authenticator/attributes.d.ts +10 -4
  309. package/dist/types/types/authenticator/form.d.ts +7 -6
  310. package/dist/types/types/authenticator/index.d.ts +0 -1
  311. package/dist/types/types/authenticator/user.d.ts +3 -29
  312. package/dist/types/types/authenticator/validator.d.ts +2 -2
  313. package/dist/types/types/displayText.d.ts +84 -0
  314. package/dist/types/types/index.d.ts +1 -0
  315. package/dist/types/types/primitives/componentClassName.d.ts +162 -180
  316. package/dist/types/types/util.d.ts +0 -5
  317. package/dist/types/utils/classNames.d.ts +4 -0
  318. package/dist/types/utils/index.d.ts +3 -135
  319. package/dist/types/utils/setUserAgent/constants.d.ts +7 -0
  320. package/dist/types/utils/setUserAgent/index.d.ts +1 -0
  321. package/dist/types/utils/setUserAgent/setUserAgent.d.ts +19 -0
  322. package/dist/types/utils/utils.d.ts +147 -0
  323. package/dist/types/validators/index.d.ts +2 -2
  324. package/package.json +5 -19
  325. package/dist/esm/helpers/authenticator/context.mjs +0 -1
  326. package/dist/esm/helpers/authenticator/formFields/util.mjs +0 -1
  327. package/dist/esm/helpers/storage/fileUploader/utils/uploader.mjs +0 -1
  328. package/dist/esm/machines/authenticator/actors/resetPassword.mjs +0 -1
  329. package/dist/esm/machines/authenticator/signUp.mjs +0 -1
  330. package/dist/esm/theme/tokens/components/expander.mjs +0 -1
  331. package/dist/esm/theme/tokens/components/fileUploader.mjs +0 -1
  332. package/dist/esm/utils/index.mjs +0 -1
  333. package/dist/types/helpers/authenticator/context.d.ts +0 -13
  334. package/dist/types/helpers/storage/fileUploader/index.d.ts +0 -1
  335. package/dist/types/helpers/storage/fileUploader/utils/index.d.ts +0 -1
  336. package/dist/types/helpers/storage/fileUploader/utils/uploader.d.ts +0 -28
  337. package/dist/types/helpers/storage/index.d.ts +0 -1
  338. package/dist/types/theme/tokens/components/expander.d.ts +0 -22
  339. package/dist/types/theme/tokens/components/fileUploader.d.ts +0 -23
  340. package/dist/types/types/authenticator/stateMachine/context.d.ts +0 -109
  341. package/dist/types/types/authenticator/stateMachine/event.d.ts +0 -17
  342. package/dist/types/types/authenticator/stateMachine/index.d.ts +0 -4
  343. package/dist/types/types/authenticator/stateMachine/state.d.ts +0 -10
@@ -0,0 +1,26 @@
1
+ .amplify-card {
2
+ background-color: var(--amplify-components-card-background-color);
3
+ border-radius: var(--amplify-components-card-border-radius);
4
+ border-width: var(--amplify-components-card-border-width);
5
+ border-style: var(--amplify-components-card-border-style);
6
+ border-color: var(--amplify-components-card-border-color);
7
+ box-shadow: var(--amplify-components-card-box-shadow);
8
+ display: block;
9
+ padding: var(--amplify-components-card-padding);
10
+ }
11
+ .amplify-card--outlined {
12
+ background-color: var(--amplify-components-card-outlined-background-color);
13
+ border-radius: var(--amplify-components-card-outlined-border-radius);
14
+ border-width: var(--amplify-components-card-outlined-border-width);
15
+ border-style: var(--amplify-components-card-outlined-border-style);
16
+ border-color: var(--amplify-components-card-outlined-border-color);
17
+ box-shadow: var(--amplify-components-card-outlined-box-shadow);
18
+ }
19
+ .amplify-card--elevated {
20
+ background-color: var(--amplify-components-card-elevated-background-color);
21
+ border-radius: var(--amplify-components-card-elevated-border-radius);
22
+ border-width: var(--amplify-components-card-elevated-border-width);
23
+ border-style: var(--amplify-components-card-elevated-border-style);
24
+ border-color: var(--amplify-components-card-elevated-border-color);
25
+ box-shadow: var(--amplify-components-card-elevated-box-shadow);
26
+ }
@@ -0,0 +1,28 @@
1
+ @layer amplify.components {
2
+ .amplify-card {
3
+ background-color: var(--amplify-components-card-background-color);
4
+ border-radius: var(--amplify-components-card-border-radius);
5
+ border-width: var(--amplify-components-card-border-width);
6
+ border-style: var(--amplify-components-card-border-style);
7
+ border-color: var(--amplify-components-card-border-color);
8
+ box-shadow: var(--amplify-components-card-box-shadow);
9
+ display: block;
10
+ padding: var(--amplify-components-card-padding);
11
+ }
12
+ .amplify-card--outlined {
13
+ background-color: var(--amplify-components-card-outlined-background-color);
14
+ border-radius: var(--amplify-components-card-outlined-border-radius);
15
+ border-width: var(--amplify-components-card-outlined-border-width);
16
+ border-style: var(--amplify-components-card-outlined-border-style);
17
+ border-color: var(--amplify-components-card-outlined-border-color);
18
+ box-shadow: var(--amplify-components-card-outlined-box-shadow);
19
+ }
20
+ .amplify-card--elevated {
21
+ background-color: var(--amplify-components-card-elevated-background-color);
22
+ border-radius: var(--amplify-components-card-elevated-border-radius);
23
+ border-width: var(--amplify-components-card-elevated-border-width);
24
+ border-style: var(--amplify-components-card-elevated-border-style);
25
+ border-color: var(--amplify-components-card-elevated-border-color);
26
+ box-shadow: var(--amplify-components-card-elevated-box-shadow);
27
+ }
28
+ }
@@ -0,0 +1,95 @@
1
+ .amplify-checkbox {
2
+ cursor: var(--amplify-components-checkbox-cursor);
3
+ align-items: var(--amplify-components-checkbox-align-items);
4
+ flex-direction: row-reverse;
5
+ gap: inherit;
6
+ position: relative;
7
+ }
8
+ .amplify-checkbox--disabled {
9
+ cursor: var(--amplify-components-checkbox-disabled-cursor);
10
+ color: var(--amplify-components-checkbox-label-disabled-color);
11
+ }
12
+
13
+ .amplify-checkbox__button {
14
+ position: var(--amplify-components-checkbox-button-position);
15
+ align-items: var(--amplify-components-checkbox-button-align-items);
16
+ justify-content: var(--amplify-components-checkbox-button-justify-content);
17
+ color: var(--amplify-components-checkbox-button-color);
18
+ --amplify-internal-checkbox_button-focused-before-border-color: var(
19
+ --amplify-components-checkbox-button-focus-border-color
20
+ );
21
+ --amplify-internal-checkbox_button-focused-before-box-shadow: var(
22
+ --amplify-components-checkbox-button-focus-box-shadow
23
+ );
24
+ }
25
+ .amplify-checkbox__button::before {
26
+ content: "";
27
+ display: inline-block;
28
+ position: absolute;
29
+ box-sizing: border-box;
30
+ width: var(--amplify-components-checkbox-button-before-width);
31
+ height: var(--amplify-components-checkbox-button-before-height);
32
+ border-width: var(--amplify-components-checkbox-button-before-border-width);
33
+ border-radius: var(--amplify-components-checkbox-button-before-border-radius);
34
+ border-style: var(--amplify-components-checkbox-button-before-border-style);
35
+ border-color: var(--amplify-components-checkbox-button-before-border-color);
36
+ }
37
+ .amplify-checkbox__button--focused::before {
38
+ outline-color: var(--amplify-components-checkbox-button-focus-outline-color);
39
+ outline-style: var(--amplify-components-checkbox-button-focus-outline-style);
40
+ outline-width: var(--amplify-components-checkbox-button-focus-outline-width);
41
+ outline-offset: var(--amplify-components-checkbox-button-focus-outline-offset);
42
+ border-color: var(--amplify-internal-checkbox_button-focused-before-border-color);
43
+ box-shadow: var(--amplify-internal-checkbox_button-focused-before-box-shadow);
44
+ }
45
+ .amplify-checkbox__button--error {
46
+ --amplify-internal-checkbox_button-focused-before-border-color: var(
47
+ --amplify-components-checkbox-button-error-focus-border-color
48
+ );
49
+ --amplify-internal-checkbox_button-focused-before-box-shadow: var(
50
+ --amplify-components-checkbox-button-error-focus-box-shadow
51
+ );
52
+ }
53
+ .amplify-checkbox__button--error::before {
54
+ border-color: var(--amplify-components-checkbox-button-error-border-color);
55
+ }
56
+ .amplify-checkbox__button--disabled::before {
57
+ border-color: var(--amplify-components-checkbox-button-disabled-border-color);
58
+ }
59
+
60
+ .amplify-checkbox__icon {
61
+ line-height: 1;
62
+ width: 1em;
63
+ height: 1em;
64
+ background-color: var(--amplify-components-checkbox-icon-background-color);
65
+ opacity: var(--amplify-components-checkbox-icon-opacity);
66
+ transform: var(--amplify-components-checkbox-icon-transform);
67
+ border-radius: var(--amplify-components-checkbox-icon-border-radius);
68
+ transition-property: var(--amplify-components-checkbox-icon-transition-property);
69
+ transition-duration: var(--amplify-components-checkbox-icon-transition-duration);
70
+ transition-timing-function: var(--amplify-components-checkbox-icon-transition-timing-function);
71
+ --amplify-internal-checkbox-icon-disabled-background-color: var(
72
+ --amplify-components-checkbox-icon-background-color
73
+ );
74
+ }
75
+ .amplify-checkbox__icon--checked {
76
+ opacity: var(--amplify-components-checkbox-icon-checked-opacity);
77
+ transform: var(--amplify-components-checkbox-icon-checked-transform);
78
+ --amplify-internal-checkbox-icon-disabled-background-color: var(
79
+ --amplify-components-checkbox-icon-checked-disabled-background-color
80
+ );
81
+ }
82
+ .amplify-checkbox__icon--indeterminate {
83
+ opacity: var(--amplify-components-checkbox-icon-indeterminate-opacity);
84
+ transform: var(--amplify-components-checkbox-icon-indeterminate-transform);
85
+ --amplify-internal-checkbox-icon-disabled-background-color: var(
86
+ --amplify-components-checkbox-icon-indeterminate-disabled-background-color
87
+ );
88
+ }
89
+ .amplify-checkbox__icon--disabled {
90
+ background-color: var(--amplify-internal-checkbox-icon-disabled-background-color);
91
+ }
92
+
93
+ .amplify-checkbox__label {
94
+ color: inherit;
95
+ }
@@ -0,0 +1,97 @@
1
+ @layer amplify.components {
2
+ .amplify-checkbox {
3
+ cursor: var(--amplify-components-checkbox-cursor);
4
+ align-items: var(--amplify-components-checkbox-align-items);
5
+ flex-direction: row-reverse;
6
+ gap: inherit;
7
+ position: relative;
8
+ }
9
+ .amplify-checkbox--disabled {
10
+ cursor: var(--amplify-components-checkbox-disabled-cursor);
11
+ color: var(--amplify-components-checkbox-label-disabled-color);
12
+ }
13
+
14
+ .amplify-checkbox__button {
15
+ position: var(--amplify-components-checkbox-button-position);
16
+ align-items: var(--amplify-components-checkbox-button-align-items);
17
+ justify-content: var(--amplify-components-checkbox-button-justify-content);
18
+ color: var(--amplify-components-checkbox-button-color);
19
+ --amplify-internal-checkbox_button-focused-before-border-color: var(
20
+ --amplify-components-checkbox-button-focus-border-color
21
+ );
22
+ --amplify-internal-checkbox_button-focused-before-box-shadow: var(
23
+ --amplify-components-checkbox-button-focus-box-shadow
24
+ );
25
+ }
26
+ .amplify-checkbox__button::before {
27
+ content: "";
28
+ display: inline-block;
29
+ position: absolute;
30
+ box-sizing: border-box;
31
+ width: var(--amplify-components-checkbox-button-before-width);
32
+ height: var(--amplify-components-checkbox-button-before-height);
33
+ border-width: var(--amplify-components-checkbox-button-before-border-width);
34
+ border-radius: var(--amplify-components-checkbox-button-before-border-radius);
35
+ border-style: var(--amplify-components-checkbox-button-before-border-style);
36
+ border-color: var(--amplify-components-checkbox-button-before-border-color);
37
+ }
38
+ .amplify-checkbox__button--focused::before {
39
+ outline-color: var(--amplify-components-checkbox-button-focus-outline-color);
40
+ outline-style: var(--amplify-components-checkbox-button-focus-outline-style);
41
+ outline-width: var(--amplify-components-checkbox-button-focus-outline-width);
42
+ outline-offset: var(--amplify-components-checkbox-button-focus-outline-offset);
43
+ border-color: var(--amplify-internal-checkbox_button-focused-before-border-color);
44
+ box-shadow: var(--amplify-internal-checkbox_button-focused-before-box-shadow);
45
+ }
46
+ .amplify-checkbox__button--error {
47
+ --amplify-internal-checkbox_button-focused-before-border-color: var(
48
+ --amplify-components-checkbox-button-error-focus-border-color
49
+ );
50
+ --amplify-internal-checkbox_button-focused-before-box-shadow: var(
51
+ --amplify-components-checkbox-button-error-focus-box-shadow
52
+ );
53
+ }
54
+ .amplify-checkbox__button--error::before {
55
+ border-color: var(--amplify-components-checkbox-button-error-border-color);
56
+ }
57
+ .amplify-checkbox__button--disabled::before {
58
+ border-color: var(--amplify-components-checkbox-button-disabled-border-color);
59
+ }
60
+
61
+ .amplify-checkbox__icon {
62
+ line-height: 1;
63
+ width: 1em;
64
+ height: 1em;
65
+ background-color: var(--amplify-components-checkbox-icon-background-color);
66
+ opacity: var(--amplify-components-checkbox-icon-opacity);
67
+ transform: var(--amplify-components-checkbox-icon-transform);
68
+ border-radius: var(--amplify-components-checkbox-icon-border-radius);
69
+ transition-property: var(--amplify-components-checkbox-icon-transition-property);
70
+ transition-duration: var(--amplify-components-checkbox-icon-transition-duration);
71
+ transition-timing-function: var(--amplify-components-checkbox-icon-transition-timing-function);
72
+ --amplify-internal-checkbox-icon-disabled-background-color: var(
73
+ --amplify-components-checkbox-icon-background-color
74
+ );
75
+ }
76
+ .amplify-checkbox__icon--checked {
77
+ opacity: var(--amplify-components-checkbox-icon-checked-opacity);
78
+ transform: var(--amplify-components-checkbox-icon-checked-transform);
79
+ --amplify-internal-checkbox-icon-disabled-background-color: var(
80
+ --amplify-components-checkbox-icon-checked-disabled-background-color
81
+ );
82
+ }
83
+ .amplify-checkbox__icon--indeterminate {
84
+ opacity: var(--amplify-components-checkbox-icon-indeterminate-opacity);
85
+ transform: var(--amplify-components-checkbox-icon-indeterminate-transform);
86
+ --amplify-internal-checkbox-icon-disabled-background-color: var(
87
+ --amplify-components-checkbox-icon-indeterminate-disabled-background-color
88
+ );
89
+ }
90
+ .amplify-checkbox__icon--disabled {
91
+ background-color: var(--amplify-internal-checkbox-icon-disabled-background-color);
92
+ }
93
+
94
+ .amplify-checkbox__label {
95
+ color: inherit;
96
+ }
97
+ }
@@ -0,0 +1,6 @@
1
+ .amplify-checkboxfield {
2
+ align-content: var(--amplify-components-checkboxfield-align-content);
3
+ align-items: var(--amplify-components-checkboxfield-align-items);
4
+ flex-direction: var(--amplify-components-checkboxfield-flex-direction);
5
+ justify-content: var(--amplify-components-checkboxfield-justify-content);
6
+ }
@@ -0,0 +1,8 @@
1
+ @layer amplify.components {
2
+ .amplify-checkboxfield {
3
+ align-content: var(--amplify-components-checkboxfield-align-content);
4
+ align-items: var(--amplify-components-checkboxfield-align-items);
5
+ flex-direction: var(--amplify-components-checkboxfield-flex-direction);
6
+ justify-content: var(--amplify-components-checkboxfield-justify-content);
7
+ }
8
+ }
@@ -0,0 +1,70 @@
1
+ .amplify-collection {
2
+ flex-direction: column;
3
+ }
4
+ .amplify-collection__pagination {
5
+ justify-content: center;
6
+ --amplify-components-pagination-current-color: var(
7
+ --amplify-components-collection-pagination-current-color
8
+ );
9
+ --amplify-components-pagination-current-background-color: var(
10
+ --amplify-components-collection-pagination-current-background-color
11
+ );
12
+ --amplify-components-pagination-button-color: var(
13
+ --amplify-components-collection-pagination-button-color
14
+ );
15
+ --amplify-components-pagination-button-hover-color: var(
16
+ --amplify-components-collection-pagination-button-hover-color
17
+ );
18
+ --amplify-components-pagination-button-hover-background-color: var(
19
+ --amplify-components-collection-pagination-button-hover-background-color
20
+ );
21
+ --amplify-components-pagination-button-disabled-color: var(
22
+ --amplify-components-collection-pagination-button-disabled-color
23
+ );
24
+ }
25
+ .amplify-collection__search {
26
+ flex-direction: row;
27
+ justify-content: center;
28
+ --amplify-components-searchfield-input-color: var(
29
+ --amplify-components-collection-search-input-color
30
+ );
31
+ --amplify-components-searchfield-button-color: var(
32
+ --amplify-components-collection-search-button-color
33
+ );
34
+ --amplify-components-searchfield-button-active-background-color: var(
35
+ --amplify-components-collection-search-button-active-background-color
36
+ );
37
+ --amplify-components-searchfield-button-active-border-color: var(
38
+ --amplify-components-collection-search-button-active-border-color
39
+ );
40
+ --amplify-components-searchfield-button-active-color: var(
41
+ --amplify-components-collection-search-button-active-color
42
+ );
43
+ --amplify-components-searchfield-button-disabled-background-color: var(
44
+ --amplify-components-collection-search-button-disabled-background-color
45
+ );
46
+ --amplify-components-searchfield-button-disabled-border-color: var(
47
+ --amplify-components-collection-search-button-disabled-border-color
48
+ );
49
+ --amplify-components-searchfield-button-disabled-color: var(
50
+ --amplify-components-collection-search-button-disabled-color
51
+ );
52
+ --amplify-components-searchfield-button-focus-background-color: var(
53
+ --amplify-components-collection-search-button-focus-background-color
54
+ );
55
+ --amplify-components-searchfield-button-focus-border-color: var(
56
+ --amplify-components-collection-search-button-focus-border-color
57
+ );
58
+ --amplify-components-searchfield-button-focus-color: var(
59
+ --amplify-components-collection-search-button-focus-color
60
+ );
61
+ --amplify-components-searchfield-button-hover-background-color: var(
62
+ --amplify-components-collection-search-button-hover-background-color
63
+ );
64
+ --amplify-components-searchfield-button-hover-border-color: var(
65
+ --amplify-components-collection-search-button-hover-border-color
66
+ );
67
+ --amplify-components-searchfield-button-hover-color: var(
68
+ --amplify-components-collection-search-button-hover-color
69
+ );
70
+ }
@@ -0,0 +1,72 @@
1
+ @layer amplify.components {
2
+ .amplify-collection {
3
+ flex-direction: column;
4
+ }
5
+ .amplify-collection__pagination {
6
+ justify-content: center;
7
+ --amplify-components-pagination-current-color: var(
8
+ --amplify-components-collection-pagination-current-color
9
+ );
10
+ --amplify-components-pagination-current-background-color: var(
11
+ --amplify-components-collection-pagination-current-background-color
12
+ );
13
+ --amplify-components-pagination-button-color: var(
14
+ --amplify-components-collection-pagination-button-color
15
+ );
16
+ --amplify-components-pagination-button-hover-color: var(
17
+ --amplify-components-collection-pagination-button-hover-color
18
+ );
19
+ --amplify-components-pagination-button-hover-background-color: var(
20
+ --amplify-components-collection-pagination-button-hover-background-color
21
+ );
22
+ --amplify-components-pagination-button-disabled-color: var(
23
+ --amplify-components-collection-pagination-button-disabled-color
24
+ );
25
+ }
26
+ .amplify-collection__search {
27
+ flex-direction: row;
28
+ justify-content: center;
29
+ --amplify-components-searchfield-input-color: var(
30
+ --amplify-components-collection-search-input-color
31
+ );
32
+ --amplify-components-searchfield-button-color: var(
33
+ --amplify-components-collection-search-button-color
34
+ );
35
+ --amplify-components-searchfield-button-active-background-color: var(
36
+ --amplify-components-collection-search-button-active-background-color
37
+ );
38
+ --amplify-components-searchfield-button-active-border-color: var(
39
+ --amplify-components-collection-search-button-active-border-color
40
+ );
41
+ --amplify-components-searchfield-button-active-color: var(
42
+ --amplify-components-collection-search-button-active-color
43
+ );
44
+ --amplify-components-searchfield-button-disabled-background-color: var(
45
+ --amplify-components-collection-search-button-disabled-background-color
46
+ );
47
+ --amplify-components-searchfield-button-disabled-border-color: var(
48
+ --amplify-components-collection-search-button-disabled-border-color
49
+ );
50
+ --amplify-components-searchfield-button-disabled-color: var(
51
+ --amplify-components-collection-search-button-disabled-color
52
+ );
53
+ --amplify-components-searchfield-button-focus-background-color: var(
54
+ --amplify-components-collection-search-button-focus-background-color
55
+ );
56
+ --amplify-components-searchfield-button-focus-border-color: var(
57
+ --amplify-components-collection-search-button-focus-border-color
58
+ );
59
+ --amplify-components-searchfield-button-focus-color: var(
60
+ --amplify-components-collection-search-button-focus-color
61
+ );
62
+ --amplify-components-searchfield-button-hover-background-color: var(
63
+ --amplify-components-collection-search-button-hover-background-color
64
+ );
65
+ --amplify-components-searchfield-button-hover-border-color: var(
66
+ --amplify-components-collection-search-button-hover-border-color
67
+ );
68
+ --amplify-components-searchfield-button-hover-color: var(
69
+ --amplify-components-collection-search-button-hover-color
70
+ );
71
+ }
72
+ }
@@ -0,0 +1,27 @@
1
+ [data-amplify-copy] {
2
+ display: flex;
3
+ font-size: var(--amplify-components-copy-font-size);
4
+ gap: var(--amplify-components-copy-gap);
5
+ justify-content: center;
6
+ align-items: center;
7
+ word-break: break-all;
8
+ }
9
+
10
+ [data-amplify-copy-svg] {
11
+ cursor: pointer;
12
+ position: relative;
13
+ }
14
+ [data-amplify-copy-svg] path {
15
+ fill: var(--amplify-components-copy-svg-path-fill);
16
+ }
17
+ [data-amplify-copy-svg]:hover [data-amplify-copy-tooltip] {
18
+ visibility: visible;
19
+ font-size: var(--amplify-components-copy-tool-tip-font-size);
20
+ }
21
+
22
+ [data-amplify-copy-tooltip] {
23
+ visibility: hidden;
24
+ position: absolute;
25
+ bottom: var(--amplify-components-copy-tool-tip-bottom);
26
+ color: var(--amplify-components-copy-tool-tip-color);
27
+ }
@@ -0,0 +1,29 @@
1
+ @layer amplify.components {
2
+ [data-amplify-copy] {
3
+ display: flex;
4
+ font-size: var(--amplify-components-copy-font-size);
5
+ gap: var(--amplify-components-copy-gap);
6
+ justify-content: center;
7
+ align-items: center;
8
+ word-break: break-all;
9
+ }
10
+
11
+ [data-amplify-copy-svg] {
12
+ cursor: pointer;
13
+ position: relative;
14
+ }
15
+ [data-amplify-copy-svg] path {
16
+ fill: var(--amplify-components-copy-svg-path-fill);
17
+ }
18
+ [data-amplify-copy-svg]:hover [data-amplify-copy-tooltip] {
19
+ visibility: visible;
20
+ font-size: var(--amplify-components-copy-tool-tip-font-size);
21
+ }
22
+
23
+ [data-amplify-copy-tooltip] {
24
+ visibility: hidden;
25
+ position: absolute;
26
+ bottom: var(--amplify-components-copy-tool-tip-bottom);
27
+ color: var(--amplify-components-copy-tool-tip-color);
28
+ }
29
+ }
@@ -0,0 +1,3 @@
1
+ .amplify-dialcodeselect {
2
+ height: var(--amplify-components-countrycodeselect-height);
3
+ }
@@ -0,0 +1,5 @@
1
+ @layer amplify.components {
2
+ .amplify-dialcodeselect {
3
+ height: var(--amplify-components-countrycodeselect-height);
4
+ }
5
+ }
@@ -0,0 +1,47 @@
1
+ .amplify-divider {
2
+ --amplify-internal-divider-size: var(
3
+ --amplify-components-divider-border-width
4
+ );
5
+ border-color: var(--amplify-components-divider-border-color);
6
+ border-style: var(--amplify-components-divider-border-style);
7
+ border-width: 0;
8
+ opacity: var(--amplify-components-divider-opacity);
9
+ padding: 0;
10
+ display: flex;
11
+ position: relative;
12
+ text-align: center;
13
+ justify-content: center;
14
+ }
15
+ .amplify-divider::after {
16
+ content: attr(data-label);
17
+ position: absolute;
18
+ transform: translateY(-50%);
19
+ font-size: var(--amplify-components-divider-label-font-size);
20
+ padding-inline: var(--amplify-components-divider-label-padding-inline);
21
+ background-color: var(--amplify-components-divider-label-background-color);
22
+ color: var(--amplify-components-divider-label-color);
23
+ }
24
+ .amplify-divider--small {
25
+ --amplify-internal-divider-size: var(
26
+ --amplify-components-divider-small-border-width
27
+ );
28
+ }
29
+ .amplify-divider--large {
30
+ --amplify-internal-divider-size: var(
31
+ --amplify-components-divider-large-border-width
32
+ );
33
+ }
34
+ .amplify-divider--horizontal {
35
+ width: 100%;
36
+ border-bottom-width: var(--amplify-internal-divider-size);
37
+ }
38
+ .amplify-divider--vertical {
39
+ border-left-width: var(--amplify-internal-divider-size);
40
+ flex-direction: column;
41
+ }
42
+ .amplify-divider--vertical::after {
43
+ top: auto;
44
+ transform: translateX(-50%);
45
+ padding-block: 0;
46
+ padding-inline: 0;
47
+ }
@@ -0,0 +1,49 @@
1
+ @layer amplify.components {
2
+ .amplify-divider {
3
+ --amplify-internal-divider-size: var(
4
+ --amplify-components-divider-border-width
5
+ );
6
+ border-color: var(--amplify-components-divider-border-color);
7
+ border-style: var(--amplify-components-divider-border-style);
8
+ border-width: 0;
9
+ opacity: var(--amplify-components-divider-opacity);
10
+ padding: 0;
11
+ display: flex;
12
+ position: relative;
13
+ text-align: center;
14
+ justify-content: center;
15
+ }
16
+ .amplify-divider::after {
17
+ content: attr(data-label);
18
+ position: absolute;
19
+ transform: translateY(-50%);
20
+ font-size: var(--amplify-components-divider-label-font-size);
21
+ padding-inline: var(--amplify-components-divider-label-padding-inline);
22
+ background-color: var(--amplify-components-divider-label-background-color);
23
+ color: var(--amplify-components-divider-label-color);
24
+ }
25
+ .amplify-divider--small {
26
+ --amplify-internal-divider-size: var(
27
+ --amplify-components-divider-small-border-width
28
+ );
29
+ }
30
+ .amplify-divider--large {
31
+ --amplify-internal-divider-size: var(
32
+ --amplify-components-divider-large-border-width
33
+ );
34
+ }
35
+ .amplify-divider--horizontal {
36
+ width: 100%;
37
+ border-bottom-width: var(--amplify-internal-divider-size);
38
+ }
39
+ .amplify-divider--vertical {
40
+ border-left-width: var(--amplify-internal-divider-size);
41
+ flex-direction: column;
42
+ }
43
+ .amplify-divider--vertical::after {
44
+ top: auto;
45
+ transform: translateX(-50%);
46
+ padding-block: 0;
47
+ padding-inline: 0;
48
+ }
49
+ }
@@ -0,0 +1,45 @@
1
+ .amplify-dropzone {
2
+ display: block;
3
+ background-color: var(--amplify-components-dropzone-background-color);
4
+ border-color: var(--amplify-components-dropzone-border-color);
5
+ border-width: var(--amplify-components-dropzone-border-width);
6
+ border-style: var(--amplify-components-dropzone-border-style);
7
+ border-radius: var(--amplify-components-dropzone-border-radius);
8
+ color: var(--amplify-components-dropzone-color);
9
+ padding-block: var(--amplify-components-dropzone-padding-block);
10
+ padding-inline: var(--amplify-components-dropzone-padding-inline);
11
+ text-align: var(--amplify-components-dropzone-text-align);
12
+ }
13
+ .amplify-dropzone--disabled {
14
+ cursor: not-allowed;
15
+ background-color: var(--amplify-components-dropzone-disabled-background-color);
16
+ border-color: var(--amplify-components-dropzone-disabled-border-color);
17
+ border-width: var(--amplify-components-dropzone-disabled-border-width);
18
+ border-style: var(--amplify-components-dropzone-disabled-border-style);
19
+ border-radius: var(--amplify-components-dropzone-disabled-border-radius);
20
+ color: var(--amplify-components-dropzone-disabled-color);
21
+ }
22
+ .amplify-dropzone--active {
23
+ background-color: var(--amplify-components-dropzone-active-background-color);
24
+ border-color: var(--amplify-components-dropzone-active-border-color);
25
+ border-width: var(--amplify-components-dropzone-active-border-width);
26
+ border-style: var(--amplify-components-dropzone-active-border-style);
27
+ border-radius: var(--amplify-components-dropzone-active-border-radius);
28
+ color: var(--amplify-components-dropzone-active-color);
29
+ }
30
+ .amplify-dropzone--rejected {
31
+ background-color: var(--amplify-components-dropzone-rejected-background-color);
32
+ border-color: var(--amplify-components-dropzone-rejected-border-color);
33
+ border-width: var(--amplify-components-dropzone-rejected-border-width);
34
+ border-style: var(--amplify-components-dropzone-rejected-border-style);
35
+ border-radius: var(--amplify-components-dropzone-rejected-border-radius);
36
+ color: var(--amplify-components-dropzone-rejected-color);
37
+ }
38
+ .amplify-dropzone--accepted {
39
+ background-color: var(--amplify-components-dropzone-accepted-background-color);
40
+ border-color: var(--amplify-components-dropzone-accepted-border-color);
41
+ border-width: var(--amplify-components-dropzone-accepted-border-width);
42
+ border-style: var(--amplify-components-dropzone-accepted-border-style);
43
+ border-radius: var(--amplify-components-dropzone-accepted-border-radius);
44
+ color: var(--amplify-components-dropzone-accepted-color);
45
+ }
@@ -0,0 +1,47 @@
1
+ @layer amplify.components {
2
+ .amplify-dropzone {
3
+ display: block;
4
+ background-color: var(--amplify-components-dropzone-background-color);
5
+ border-color: var(--amplify-components-dropzone-border-color);
6
+ border-width: var(--amplify-components-dropzone-border-width);
7
+ border-style: var(--amplify-components-dropzone-border-style);
8
+ border-radius: var(--amplify-components-dropzone-border-radius);
9
+ color: var(--amplify-components-dropzone-color);
10
+ padding-block: var(--amplify-components-dropzone-padding-block);
11
+ padding-inline: var(--amplify-components-dropzone-padding-inline);
12
+ text-align: var(--amplify-components-dropzone-text-align);
13
+ }
14
+ .amplify-dropzone--disabled {
15
+ cursor: not-allowed;
16
+ background-color: var(--amplify-components-dropzone-disabled-background-color);
17
+ border-color: var(--amplify-components-dropzone-disabled-border-color);
18
+ border-width: var(--amplify-components-dropzone-disabled-border-width);
19
+ border-style: var(--amplify-components-dropzone-disabled-border-style);
20
+ border-radius: var(--amplify-components-dropzone-disabled-border-radius);
21
+ color: var(--amplify-components-dropzone-disabled-color);
22
+ }
23
+ .amplify-dropzone--active {
24
+ background-color: var(--amplify-components-dropzone-active-background-color);
25
+ border-color: var(--amplify-components-dropzone-active-border-color);
26
+ border-width: var(--amplify-components-dropzone-active-border-width);
27
+ border-style: var(--amplify-components-dropzone-active-border-style);
28
+ border-radius: var(--amplify-components-dropzone-active-border-radius);
29
+ color: var(--amplify-components-dropzone-active-color);
30
+ }
31
+ .amplify-dropzone--rejected {
32
+ background-color: var(--amplify-components-dropzone-rejected-background-color);
33
+ border-color: var(--amplify-components-dropzone-rejected-border-color);
34
+ border-width: var(--amplify-components-dropzone-rejected-border-width);
35
+ border-style: var(--amplify-components-dropzone-rejected-border-style);
36
+ border-radius: var(--amplify-components-dropzone-rejected-border-radius);
37
+ color: var(--amplify-components-dropzone-rejected-color);
38
+ }
39
+ .amplify-dropzone--accepted {
40
+ background-color: var(--amplify-components-dropzone-accepted-background-color);
41
+ border-color: var(--amplify-components-dropzone-accepted-border-color);
42
+ border-width: var(--amplify-components-dropzone-accepted-border-width);
43
+ border-style: var(--amplify-components-dropzone-accepted-border-style);
44
+ border-radius: var(--amplify-components-dropzone-accepted-border-radius);
45
+ color: var(--amplify-components-dropzone-accepted-color);
46
+ }
47
+ }