@aws-amplify/ui-react 6.11.1 → 6.11.2

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 (256) hide show
  1. package/README.md +14 -15
  2. package/dist/esm/version.mjs +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/types/PrimitiveCatalog.d.ts +1 -1
  5. package/dist/types/components/AccountSettings/ChangePassword/ChangePassword.d.ts +1 -1
  6. package/dist/types/components/AccountSettings/ChangePassword/defaults.d.ts +1 -1
  7. package/dist/types/components/AccountSettings/ChangePassword/types.d.ts +3 -3
  8. package/dist/types/components/AccountSettings/DeleteUser/DeleteUser.d.ts +1 -1
  9. package/dist/types/components/AccountSettings/DeleteUser/defaults.d.ts +1 -1
  10. package/dist/types/components/AccountSettings/DeleteUser/types.d.ts +4 -4
  11. package/dist/types/components/AccountSettings/shared/Defaults.d.ts +1 -1
  12. package/dist/types/components/AccountSettings/types.d.ts +2 -2
  13. package/dist/types/components/AccountSettings/utils/displayText.d.ts +1 -1
  14. package/dist/types/components/AccountSettings/utils/index.d.ts +2 -1
  15. package/dist/types/components/Authenticator/Authenticator.d.ts +6 -5
  16. package/dist/types/components/Authenticator/ConfirmSignIn/ConfirmSignIn.d.ts +1 -1
  17. package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +1 -1
  18. package/dist/types/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.d.ts +1 -1
  19. package/dist/types/components/Authenticator/ForceNewPassword/ForceNewPassword.d.ts +1 -1
  20. package/dist/types/components/Authenticator/ForgotPassword/ConfirmResetPassword.d.ts +1 -1
  21. package/dist/types/components/Authenticator/ForgotPassword/ForgotPassword.d.ts +1 -1
  22. package/dist/types/components/Authenticator/RouteContainer/RouteContainer.d.ts +1 -1
  23. package/dist/types/components/Authenticator/RouteContainer/index.d.ts +1 -1
  24. package/dist/types/components/Authenticator/Router/Router.d.ts +1 -1
  25. package/dist/types/components/Authenticator/Router/index.d.ts +1 -1
  26. package/dist/types/components/Authenticator/Router/types.d.ts +1 -1
  27. package/dist/types/components/Authenticator/SelectMfaType/SelectMfaType.d.ts +1 -1
  28. package/dist/types/components/Authenticator/SetupEmail/SetupEmail.d.ts +1 -1
  29. package/dist/types/components/Authenticator/SetupTotp/SetupTotp.d.ts +1 -1
  30. package/dist/types/components/Authenticator/VerifyUser/ConfirmVerifyUser.d.ts +1 -1
  31. package/dist/types/components/Authenticator/VerifyUser/VerifyUser.d.ts +1 -1
  32. package/dist/types/components/Authenticator/hooks/useCustomComponents/index.d.ts +2 -1
  33. package/dist/types/components/Authenticator/hooks/useCustomComponents/useCustomComponents.d.ts +1 -1
  34. package/dist/types/components/Authenticator/hooks/useFormHandlers/useFormHandlers.d.ts +1 -1
  35. package/dist/types/components/Authenticator/index.d.ts +6 -3
  36. package/dist/types/components/Authenticator/shared/FormField.d.ts +1 -1
  37. package/dist/types/components/Authenticator/shared/SignInSignUpTabs.d.ts +1 -1
  38. package/dist/types/components/Authenticator/shared/TwoButtonSubmitFooter.d.ts +1 -1
  39. package/dist/types/components/Authenticator/withAuthenticator.d.ts +2 -2
  40. package/dist/types/components/FileSelect/index.d.ts +2 -1
  41. package/dist/types/components/FilterChildren/index.d.ts +2 -1
  42. package/dist/types/components/ThemeProvider/ComponentStyle.d.ts +2 -2
  43. package/dist/types/components/ThemeProvider/ThemeContext.d.ts +2 -2
  44. package/dist/types/components/ThemeProvider/ThemeProvider.d.ts +1 -1
  45. package/dist/types/components/ThemeProvider/ThemeStyle.d.ts +1 -1
  46. package/dist/types/components/ThemeProvider/index.d.ts +2 -1
  47. package/dist/types/hooks/useAuth.d.ts +1 -1
  48. package/dist/types/hooks/useBreakpointValue.d.ts +1 -1
  49. package/dist/types/hooks/useDeprecationWarning.d.ts +1 -1
  50. package/dist/types/hooks/useTheme.d.ts +3 -3
  51. package/dist/types/hooks/useThemeBreakpoint.d.ts +1 -1
  52. package/dist/types/internal.d.ts +4 -2
  53. package/dist/types/primitives/Accordion/Accordion.d.ts +2 -2
  54. package/dist/types/primitives/Accordion/AccordionContainer.d.ts +2 -2
  55. package/dist/types/primitives/Accordion/AccordionContent.d.ts +2 -2
  56. package/dist/types/primitives/Accordion/AccordionIcon.d.ts +2 -2
  57. package/dist/types/primitives/Accordion/AccordionItem.d.ts +2 -2
  58. package/dist/types/primitives/Accordion/AccordionTrigger.d.ts +2 -2
  59. package/dist/types/primitives/Accordion/index.d.ts +1 -1
  60. package/dist/types/primitives/Accordion/types.d.ts +2 -2
  61. package/dist/types/primitives/Alert/Alert.d.ts +1 -1
  62. package/dist/types/primitives/Alert/AlertIcon.d.ts +1 -1
  63. package/dist/types/primitives/Avatar/Avatar.d.ts +2 -2
  64. package/dist/types/primitives/Avatar/index.d.ts +1 -1
  65. package/dist/types/primitives/Avatar/types.d.ts +2 -2
  66. package/dist/types/primitives/Badge/Badge.d.ts +1 -1
  67. package/dist/types/primitives/Breadcrumbs/BreadcrumbContainer.d.ts +1 -1
  68. package/dist/types/primitives/Breadcrumbs/BreadcrumbItem.d.ts +1 -1
  69. package/dist/types/primitives/Breadcrumbs/BreadcrumbLink.d.ts +1 -1
  70. package/dist/types/primitives/Breadcrumbs/BreadcrumbSeparator.d.ts +1 -1
  71. package/dist/types/primitives/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  72. package/dist/types/primitives/Button/Button.d.ts +1 -1
  73. package/dist/types/primitives/ButtonGroup/ButtonGroup.d.ts +1 -1
  74. package/dist/types/primitives/Card/Card.d.ts +1 -1
  75. package/dist/types/primitives/Checkbox/Checkbox.d.ts +2 -2
  76. package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
  77. package/dist/types/primitives/Collection/Collection.d.ts +1 -1
  78. package/dist/types/primitives/Divider/Divider.d.ts +1 -1
  79. package/dist/types/primitives/DropZone/DropZone.d.ts +3 -3
  80. package/dist/types/primitives/DropZone/DropZoneContainer.d.ts +2 -2
  81. package/dist/types/primitives/DropZone/index.d.ts +1 -1
  82. package/dist/types/primitives/DropZone/types.d.ts +3 -3
  83. package/dist/types/primitives/Field/Field.d.ts +1 -1
  84. package/dist/types/primitives/Field/FieldClearButton.d.ts +1 -1
  85. package/dist/types/primitives/Field/FieldDescription.d.ts +1 -1
  86. package/dist/types/primitives/Field/FieldErrorMessage.d.ts +1 -1
  87. package/dist/types/primitives/FieldGroup/FieldGroup.d.ts +1 -1
  88. package/dist/types/primitives/FieldGroupIcon/FieldGroupIcon.d.ts +1 -1
  89. package/dist/types/primitives/FieldGroupIcon/FieldGroupIconButton.d.ts +1 -1
  90. package/dist/types/primitives/Fieldset/Fieldset.d.ts +1 -1
  91. package/dist/types/primitives/Flex/Flex.d.ts +1 -1
  92. package/dist/types/primitives/Grid/Grid.d.ts +1 -1
  93. package/dist/types/primitives/Heading/Heading.d.ts +1 -1
  94. package/dist/types/primitives/Icon/Icon.d.ts +1 -1
  95. package/dist/types/primitives/Icon/context/IconsContext.d.ts +1 -1
  96. package/dist/types/primitives/Icon/context/IconsProvider.d.ts +2 -2
  97. package/dist/types/primitives/Icon/context/index.d.ts +2 -1
  98. package/dist/types/primitives/Icon/context/useIcons.d.ts +1 -1
  99. package/dist/types/primitives/Icon/icons/IconAdd.d.ts +1 -1
  100. package/dist/types/primitives/Icon/icons/IconAssistant.d.ts +1 -1
  101. package/dist/types/primitives/Icon/icons/IconAttach.d.ts +1 -1
  102. package/dist/types/primitives/Icon/icons/IconCheck.d.ts +1 -1
  103. package/dist/types/primitives/Icon/icons/IconCheckCircle.d.ts +1 -1
  104. package/dist/types/primitives/Icon/icons/IconCheckCircleOutline.d.ts +1 -1
  105. package/dist/types/primitives/Icon/icons/IconChevronLeft.d.ts +1 -1
  106. package/dist/types/primitives/Icon/icons/IconChevronRight.d.ts +1 -1
  107. package/dist/types/primitives/Icon/icons/IconClose.d.ts +1 -1
  108. package/dist/types/primitives/Icon/icons/IconDocument.d.ts +1 -1
  109. package/dist/types/primitives/Icon/icons/IconEdit.d.ts +1 -1
  110. package/dist/types/primitives/Icon/icons/IconError.d.ts +1 -1
  111. package/dist/types/primitives/Icon/icons/IconExpandMore.d.ts +1 -1
  112. package/dist/types/primitives/Icon/icons/IconFile.d.ts +1 -1
  113. package/dist/types/primitives/Icon/icons/IconIndeterminate.d.ts +1 -1
  114. package/dist/types/primitives/Icon/icons/IconInfo.d.ts +1 -1
  115. package/dist/types/primitives/Icon/icons/IconMenu.d.ts +1 -1
  116. package/dist/types/primitives/Icon/icons/IconRemove.d.ts +1 -1
  117. package/dist/types/primitives/Icon/icons/IconSearch.d.ts +1 -1
  118. package/dist/types/primitives/Icon/icons/IconSend.d.ts +1 -1
  119. package/dist/types/primitives/Icon/icons/IconStar.d.ts +1 -1
  120. package/dist/types/primitives/Icon/icons/IconUpload.d.ts +1 -1
  121. package/dist/types/primitives/Icon/icons/IconUser.d.ts +1 -1
  122. package/dist/types/primitives/Icon/icons/IconVisibility.d.ts +1 -1
  123. package/dist/types/primitives/Icon/icons/IconVisibilityOff.d.ts +1 -1
  124. package/dist/types/primitives/Icon/icons/IconWarning.d.ts +1 -1
  125. package/dist/types/primitives/Icon/icons/types.d.ts +1 -1
  126. package/dist/types/primitives/Icon/index.d.ts +2 -1
  127. package/dist/types/primitives/Image/Image.d.ts +1 -1
  128. package/dist/types/primitives/Input/Input.d.ts +1 -1
  129. package/dist/types/primitives/Label/Label.d.ts +1 -1
  130. package/dist/types/primitives/Link/Link.d.ts +1 -1
  131. package/dist/types/primitives/Loader/Loader.d.ts +2 -2
  132. package/dist/types/primitives/Menu/Menu.d.ts +1 -1
  133. package/dist/types/primitives/Menu/MenuButton.d.ts +1 -1
  134. package/dist/types/primitives/Menu/MenuItem.d.ts +1 -1
  135. package/dist/types/primitives/Message/Message.d.ts +1 -1
  136. package/dist/types/primitives/Message/MessageContainer.d.ts +1 -1
  137. package/dist/types/primitives/Message/MessageContent.d.ts +1 -1
  138. package/dist/types/primitives/Message/MessageDismiss.d.ts +1 -1
  139. package/dist/types/primitives/Message/MessageHeading.d.ts +1 -1
  140. package/dist/types/primitives/Message/MessageIcon.d.ts +1 -1
  141. package/dist/types/primitives/Message/useMessage.d.ts +1 -1
  142. package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
  143. package/dist/types/primitives/Pagination/PaginationItem.d.ts +1 -1
  144. package/dist/types/primitives/Pagination/usePagination.d.ts +1 -1
  145. package/dist/types/primitives/PasswordField/PasswordField.d.ts +1 -1
  146. package/dist/types/primitives/PasswordField/ShowPasswordButton.d.ts +1 -1
  147. package/dist/types/primitives/PhoneNumberField/DialCodeSelect.d.ts +1 -1
  148. package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +1 -1
  149. package/dist/types/primitives/Placeholder/Placeholder.d.ts +1 -1
  150. package/dist/types/primitives/Radio/Radio.d.ts +1 -1
  151. package/dist/types/primitives/RadioGroupField/RadioGroupField.d.ts +1 -1
  152. package/dist/types/primitives/RadioGroupField/context.d.ts +1 -1
  153. package/dist/types/primitives/Rating/Rating.d.ts +1 -1
  154. package/dist/types/primitives/Rating/RatingIcon.d.ts +2 -2
  155. package/dist/types/primitives/Rating/RatingMixedIcon.d.ts +2 -2
  156. package/dist/types/primitives/ScrollView/ScrollView.d.ts +1 -1
  157. package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
  158. package/dist/types/primitives/SearchField/useSearchField.d.ts +1 -1
  159. package/dist/types/primitives/Select/Select.d.ts +2 -2
  160. package/dist/types/primitives/SelectField/SelectField.d.ts +1 -1
  161. package/dist/types/primitives/SliderField/SliderField.d.ts +2 -2
  162. package/dist/types/primitives/StepperField/StepperField.d.ts +2 -2
  163. package/dist/types/primitives/StepperField/useStepper.d.ts +1 -1
  164. package/dist/types/primitives/SwitchField/SwitchField.d.ts +1 -1
  165. package/dist/types/primitives/SwitchField/useSwitch.d.ts +1 -1
  166. package/dist/types/primitives/Table/Table.d.ts +1 -1
  167. package/dist/types/primitives/Table/TableBody.d.ts +1 -1
  168. package/dist/types/primitives/Table/TableCell.d.ts +1 -1
  169. package/dist/types/primitives/Table/TableFoot.d.ts +1 -1
  170. package/dist/types/primitives/Table/TableHead.d.ts +1 -1
  171. package/dist/types/primitives/Table/TableRow.d.ts +1 -1
  172. package/dist/types/primitives/Tabs/Tabs.d.ts +2 -2
  173. package/dist/types/primitives/Tabs/TabsContainer.d.ts +2 -2
  174. package/dist/types/primitives/Tabs/TabsItem.d.ts +2 -2
  175. package/dist/types/primitives/Tabs/TabsList.d.ts +2 -2
  176. package/dist/types/primitives/Tabs/TabsPanel.d.ts +2 -2
  177. package/dist/types/primitives/Tabs/index.d.ts +1 -1
  178. package/dist/types/primitives/Tabs/types.d.ts +2 -2
  179. package/dist/types/primitives/Text/Text.d.ts +1 -1
  180. package/dist/types/primitives/TextArea/AutoresizeTextarea.d.ts +2 -2
  181. package/dist/types/primitives/TextArea/TextArea.d.ts +2 -2
  182. package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +2 -2
  183. package/dist/types/primitives/TextField/TextField.d.ts +1 -1
  184. package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +1 -1
  185. package/dist/types/primitives/ToggleButton/useToggleButton.d.ts +1 -1
  186. package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  187. package/dist/types/primitives/ToggleButtonGroup/useToggleButtonGroup.d.ts +1 -1
  188. package/dist/types/primitives/View/View.d.ts +1 -1
  189. package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  190. package/dist/types/primitives/components.d.ts +8 -4
  191. package/dist/types/primitives/index.d.ts +2 -1
  192. package/dist/types/primitives/shared/constants.d.ts +1 -1
  193. package/dist/types/primitives/shared/getStyleValue.d.ts +1 -1
  194. package/dist/types/primitives/shared/responsive/getMediaQueries.d.ts +1 -1
  195. package/dist/types/primitives/shared/responsive/useBreakpoint.d.ts +1 -1
  196. package/dist/types/primitives/shared/responsive/utils.d.ts +1 -1
  197. package/dist/types/primitives/shared/styleUtils.d.ts +3 -3
  198. package/dist/types/primitives/shared/utils.d.ts +2 -1
  199. package/dist/types/primitives/types/alert.d.ts +3 -3
  200. package/dist/types/primitives/types/autocomplete.d.ts +3 -3
  201. package/dist/types/primitives/types/badge.d.ts +2 -2
  202. package/dist/types/primitives/types/base.d.ts +2 -1
  203. package/dist/types/primitives/types/breadcrumbs.d.ts +3 -3
  204. package/dist/types/primitives/types/button.d.ts +3 -3
  205. package/dist/types/primitives/types/buttonGroup.d.ts +6 -6
  206. package/dist/types/primitives/types/card.d.ts +1 -1
  207. package/dist/types/primitives/types/checkbox.d.ts +6 -6
  208. package/dist/types/primitives/types/checkboxField.d.ts +3 -3
  209. package/dist/types/primitives/types/collection.d.ts +5 -5
  210. package/dist/types/primitives/types/divider.d.ts +2 -2
  211. package/dist/types/primitives/types/field.d.ts +5 -5
  212. package/dist/types/primitives/types/fieldGroup.d.ts +3 -3
  213. package/dist/types/primitives/types/fieldGroupIcon.d.ts +2 -2
  214. package/dist/types/primitives/types/fieldset.d.ts +5 -5
  215. package/dist/types/primitives/types/flex.d.ts +3 -3
  216. package/dist/types/primitives/types/grid.d.ts +3 -3
  217. package/dist/types/primitives/types/heading.d.ts +2 -2
  218. package/dist/types/primitives/types/highlightMatch.d.ts +1 -1
  219. package/dist/types/primitives/types/icon.d.ts +4 -4
  220. package/dist/types/primitives/types/image.d.ts +3 -3
  221. package/dist/types/primitives/types/input.d.ts +4 -4
  222. package/dist/types/primitives/types/label.d.ts +1 -1
  223. package/dist/types/primitives/types/link.d.ts +2 -2
  224. package/dist/types/primitives/types/loader.d.ts +4 -4
  225. package/dist/types/primitives/types/menu.d.ts +5 -5
  226. package/dist/types/primitives/types/message.d.ts +4 -4
  227. package/dist/types/primitives/types/pagination.d.ts +3 -3
  228. package/dist/types/primitives/types/passwordField.d.ts +5 -5
  229. package/dist/types/primitives/types/phoneNumberField.d.ts +4 -4
  230. package/dist/types/primitives/types/placeholder.d.ts +4 -4
  231. package/dist/types/primitives/types/radio.d.ts +3 -3
  232. package/dist/types/primitives/types/radioGroupField.d.ts +6 -6
  233. package/dist/types/primitives/types/rating.d.ts +5 -5
  234. package/dist/types/primitives/types/responsive.d.ts +1 -1
  235. package/dist/types/primitives/types/scrollView.d.ts +1 -1
  236. package/dist/types/primitives/types/searchField.d.ts +4 -4
  237. package/dist/types/primitives/types/select.d.ts +3 -3
  238. package/dist/types/primitives/types/selectField.d.ts +4 -4
  239. package/dist/types/primitives/types/sliderField.d.ts +5 -5
  240. package/dist/types/primitives/types/stepperField.d.ts +2 -2
  241. package/dist/types/primitives/types/style.d.ts +6 -6
  242. package/dist/types/primitives/types/switchField.d.ts +6 -6
  243. package/dist/types/primitives/types/table.d.ts +3 -3
  244. package/dist/types/primitives/types/text.d.ts +1 -1
  245. package/dist/types/primitives/types/textArea.d.ts +4 -4
  246. package/dist/types/primitives/types/textAreaField.d.ts +5 -5
  247. package/dist/types/primitives/types/textField.d.ts +5 -5
  248. package/dist/types/primitives/types/toggleButton.d.ts +2 -2
  249. package/dist/types/primitives/types/toggleButtonGroup.d.ts +4 -4
  250. package/dist/types/primitives/types/view.d.ts +4 -4
  251. package/dist/types/primitives/types/visuallyHidden.d.ts +1 -1
  252. package/dist/types/primitives/utils/primitiveWithForwardRef.d.ts +1 -1
  253. package/dist/types/primitives/utils/splitPrimitiveProps.d.ts +1 -1
  254. package/dist/types/primitives/utils/testUtils.d.ts +1 -1
  255. package/dist/types/version.d.ts +1 -1
  256. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { BreadcrumbsSeparatorProps, ForwardRefPrimitive } from '../types';
1
+ import type { BreadcrumbsSeparatorProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/breadcrumbs)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseBreadcrumbProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseBreadcrumbProps, ForwardRefPrimitive } from '../types';
2
2
  import { BreadcrumbItem } from './BreadcrumbItem';
3
3
  import { BreadcrumbLink } from './BreadcrumbLink';
4
4
  import { BreadcrumbSeparator } from './BreadcrumbSeparator';
@@ -1,4 +1,4 @@
1
- import { BaseButtonProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseButtonProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/button)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseButtonGroupProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseButtonGroupProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/button#buttongroup)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseCardProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseCardProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/card)
4
4
  */
@@ -1,3 +1,3 @@
1
- import { BaseCheckboxProps } from '../types/checkbox';
2
- import { ForwardRefPrimitive } from '../types/view';
1
+ import type { BaseCheckboxProps } from '../types/checkbox';
2
+ import type { ForwardRefPrimitive } from '../types/view';
3
3
  export declare const Checkbox: ForwardRefPrimitive<BaseCheckboxProps, 'input'>;
@@ -1,4 +1,4 @@
1
- import { BaseCheckboxFieldProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseCheckboxFieldProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/checkboxfield)
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BaseCollectionProps, ElementType } from '../types';
2
+ import type { BaseCollectionProps, ElementType } from '../types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/collection)
5
5
  */
@@ -1,4 +1,4 @@
1
- import { BaseDividerProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseDividerProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/divider)
4
4
  */
@@ -1,6 +1,6 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseDropZoneProps } from './types';
3
- import { AcceptedType, DefaultType, RejectedType } from './DropZoneChildren';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseDropZoneProps } from './types';
3
+ import type { AcceptedType, DefaultType, RejectedType } from './DropZoneChildren';
4
4
  type DropZoneType = ForwardRefPrimitive<BaseDropZoneProps, 'div'> & {
5
5
  Accepted: AcceptedType;
6
6
  Rejected: RejectedType;
@@ -1,4 +1,4 @@
1
- import { BaseDropZoneContainerProps } from './types';
2
- import { ForwardRefPrimitive } from '../types';
1
+ import type { BaseDropZoneContainerProps } from './types';
2
+ import type { ForwardRefPrimitive } from '../types';
3
3
  declare const DropZoneContainer: ForwardRefPrimitive<BaseDropZoneContainerProps, 'div'>;
4
4
  export { DropZoneContainer };
@@ -1,2 +1,2 @@
1
1
  export { DropZone } from './DropZone';
2
- export { DropZoneProps } from './types';
2
+ export type { DropZoneProps } from './types';
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { ElementType, PrimitiveProps, BaseViewProps } from '../types';
3
- import { UseDropZoneParams } from '@aws-amplify/ui-react-core';
1
+ import type * as React from 'react';
2
+ import type { ElementType, PrimitiveProps, BaseViewProps } from '../types';
3
+ import type { UseDropZoneParams } from '@aws-amplify/ui-react-core';
4
4
  export interface BaseDropZoneProps extends BaseViewProps, UseDropZoneParams {
5
5
  }
6
6
  export type DropZoneProps<Element extends ElementType = 'div'> = PrimitiveProps<BaseDropZoneProps, Element>;
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, FlexContainerStyleProps, BaseViewProps, BaseInputProps, BaseFieldProps } from '../types';
1
+ import type { ForwardRefPrimitive, FlexContainerStyleProps, BaseViewProps, BaseInputProps, BaseFieldProps } from '../types';
2
2
  interface FieldPrimitiveProps extends BaseFieldProps, BaseInputProps, FlexContainerStyleProps, BaseViewProps {
3
3
  }
4
4
  export declare const Field: ForwardRefPrimitive<FieldPrimitiveProps, 'div'>;
@@ -1,2 +1,2 @@
1
- import { BaseFieldClearButtonProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseFieldClearButtonProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const FieldClearButton: ForwardRefPrimitive<BaseFieldClearButtonProps, 'button'>;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- import { BaseFieldDescriptionProps } from '../types';
2
+ import type { BaseFieldDescriptionProps } from '../types';
3
3
  export declare const QA_FIELD_DESCRIPTION = "qa-field-description";
4
4
  export declare const FieldDescription: React.FC<BaseFieldDescriptionProps>;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
- import { BaseFieldErrorMessageProps } from '../types/field';
2
+ import type { BaseFieldErrorMessageProps } from '../types/field';
3
3
  export declare const FieldErrorMessage: React.FC<BaseFieldErrorMessageProps>;
@@ -1,2 +1,2 @@
1
- import { BaseFieldGroupOptions, ForwardRefPrimitive } from '../types';
1
+ import type { BaseFieldGroupOptions, ForwardRefPrimitive } from '../types';
2
2
  export declare const FieldGroup: ForwardRefPrimitive<BaseFieldGroupOptions, 'div'>;
@@ -1,2 +1,2 @@
1
- import { BaseFieldGroupIconProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseFieldGroupIconProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const FieldGroupIcon: ForwardRefPrimitive<BaseFieldGroupIconProps, 'div'>;
@@ -1,2 +1,2 @@
1
- import { BaseFieldGroupIconButtonProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseFieldGroupIconButtonProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const FieldGroupIconButton: ForwardRefPrimitive<BaseFieldGroupIconButtonProps, 'button'>;
@@ -1,4 +1,4 @@
1
- import { BaseFieldsetProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseFieldsetProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/fieldset)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseFlexProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseFlexProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/flex)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseGridProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseGridProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/grid)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseHeadingProps, HeadingTag } from '../types';
1
+ import type { ForwardRefPrimitive, BaseHeadingProps, HeadingTag } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/heading)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseIconProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseIconProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/icon)
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { StorageBrowserIconType } from './StorageBrowserIcons';
2
+ import type { StorageBrowserIconType } from './StorageBrowserIcons';
3
3
  type ComponentIcons<Keys extends string> = {
4
4
  [Key in Keys]?: React.ReactNode;
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { IconsContextInterface } from './IconsContext';
2
+ import type { IconsContextInterface } from './IconsContext';
3
3
  interface IconProviderProps {
4
4
  children: React.ReactNode;
5
5
  icons?: IconsContextInterface;
6
6
  }
7
- export { IconsContextInterface };
7
+ export type { IconsContextInterface };
8
8
  export declare function IconsProvider({ children, icons, }: IconProviderProps): React.JSX.Element;
@@ -1,2 +1,3 @@
1
- export { IconsProvider, IconsContextInterface } from './IconsProvider';
1
+ export type { IconsContextInterface } from './IconsProvider';
2
+ export { IconsProvider } from './IconsProvider';
2
3
  export { useIcons } from './useIcons';
@@ -1,2 +1,2 @@
1
- import { IconsContextInterface } from './IconsContext';
1
+ import type { IconsContextInterface } from './IconsContext';
2
2
  export declare function useIcons<Key extends keyof IconsContextInterface>(component?: Key): IconsContextInterface[Key] | undefined;
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { InternalIcon } from './types';
1
+ import type { InternalIcon } from './types';
2
2
  /**
3
3
  * @internal For internal Amplify UI use only. May be removed in a future release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ViewProps } from '../../types';
1
+ import type { ViewProps } from '../../types';
2
2
  export type InternalIcon = (props: ViewProps & {
3
3
  size?: string | number;
4
4
  }) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
1
  export { Icon } from './Icon';
2
- export { IconsProvider, IconsContextInterface, useIcons } from './context';
2
+ export type { IconsContextInterface } from './context';
3
+ export { IconsProvider, useIcons } from './context';
3
4
  export * from './icons';
@@ -1,4 +1,4 @@
1
- import { BaseImageProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseImageProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/image)
4
4
  */
@@ -1,2 +1,2 @@
1
- import { BaseInputProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseInputProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const Input: ForwardRefPrimitive<BaseInputProps, 'input'>;
@@ -1,2 +1,2 @@
1
- import { BaseLabelProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseLabelProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const Label: ForwardRefPrimitive<BaseLabelProps, 'label'>;
@@ -1,4 +1,4 @@
1
- import { BaseLinkProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseLinkProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/link)
4
4
  */
@@ -1,5 +1,5 @@
1
- import { BaseLoaderProps } from '../types/loader';
2
- import { ForwardRefPrimitive } from '../types/view';
1
+ import type { BaseLoaderProps } from '../types/loader';
2
+ import type { ForwardRefPrimitive } from '../types/view';
3
3
  export declare const LINEAR_EMPTY = "linear-empty";
4
4
  export declare const LINEAR_FILLED = "linear-filled";
5
5
  export declare const CIRCULAR_EMPTY = "circular-empty";
@@ -1,4 +1,4 @@
1
- import { BaseMenuProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMenuProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MENU_TRIGGER_TEST_ID = "amplify-menu-trigger-test-id";
3
3
  export declare const MENU_ITEMS_GROUP_TEST_ID = "amplify-menu-items-group-test-id";
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { BaseMenuButtonProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMenuButtonProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MenuButton: ForwardRefPrimitive<BaseMenuButtonProps, 'button'>;
@@ -1,3 +1,3 @@
1
- import { ForwardRefPrimitive, BaseMenuItemProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseMenuItemProps } from '../types';
2
2
  export declare const MENU_ITEM_TEST_ID = "amplify-menu-item-test-id";
3
3
  export declare const MenuItem: ForwardRefPrimitive<BaseMenuItemProps, 'div'>;
@@ -1,4 +1,4 @@
1
- import { BaseMessageProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMessageProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/message)
4
4
  */
@@ -1,2 +1,2 @@
1
- import { BaseMessageContainerProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMessageContainerProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MessageContainer: ForwardRefPrimitive<BaseMessageContainerProps, 'div'>;
@@ -1,2 +1,2 @@
1
- import { BaseMessageContentProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMessageContentProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MessageContent: ForwardRefPrimitive<BaseMessageContentProps, 'div'>;
@@ -1,2 +1,2 @@
1
- import { BaseMessageDismissProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMessageDismissProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MessageDismiss: ForwardRefPrimitive<BaseMessageDismissProps, 'button'>;
@@ -1,2 +1,2 @@
1
- import { BaseMessageHeadingProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMessageHeadingProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MessageHeading: ForwardRefPrimitive<BaseMessageHeadingProps, 'div'>;
@@ -1,2 +1,2 @@
1
- import { BaseMessageIconProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseMessageIconProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const MessageIcon: ForwardRefPrimitive<BaseMessageIconProps, 'div'>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { MessageColorTheme } from '../types';
2
+ import type { MessageColorTheme } from '../types';
3
3
  export interface MessageContextType {
4
4
  colorTheme?: MessageColorTheme;
5
5
  dismissed?: boolean;
@@ -1,4 +1,4 @@
1
- import { BasePaginationProps, ForwardRefPrimitive } from '../types';
1
+ import type { BasePaginationProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/pagination)
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { BasePaginationItemProps } from '../types/pagination';
2
+ import type { BasePaginationItemProps } from '../types/pagination';
3
3
  export declare const PAGINATION_CURRENT_TEST_ID = "current";
4
4
  export declare const PAGINATION_ELLIPSIS_TEST_ID = "ellipsis";
5
5
  export declare const PaginationItem: React.FC<BasePaginationItemProps>;
@@ -1,2 +1,2 @@
1
- import { UsePaginationProps, UsePaginationResult } from '../types/pagination';
1
+ import type { UsePaginationProps, UsePaginationResult } from '../types/pagination';
2
2
  export declare const usePagination: (props: UsePaginationProps) => UsePaginationResult;
@@ -1,4 +1,4 @@
1
- import { BasePasswordFieldProps, ForwardRefPrimitive } from '../types';
1
+ import type { BasePasswordFieldProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/passwordfield)
4
4
  */
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, BaseShowPasswordButtonProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseShowPasswordButtonProps } from '../types';
2
2
  export declare const ShowPasswordButton: ForwardRefPrimitive<BaseShowPasswordButtonProps, 'button'>;
@@ -1,2 +1,2 @@
1
- import { BaseDialCodeSelectProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseDialCodeSelectProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const DialCodeSelect: ForwardRefPrimitive<BaseDialCodeSelectProps, 'select'>;
@@ -1,4 +1,4 @@
1
- import { PhoneNumberFieldProps, ForwardRefPrimitive } from '../types';
1
+ import type { PhoneNumberFieldProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/phonenumberfield)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BasePlaceholderProps, ForwardRefPrimitive } from '../types';
1
+ import type { BasePlaceholderProps, ForwardRefPrimitive } from '../types';
2
2
  export declare const CSS_VAR_START_COLOR: string;
3
3
  export declare const CSS_VAR_END_COLOR: string;
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { BaseRadioProps, RadioProps, ForwardRefPrimitive, Primitive } from '../types';
1
+ import type { BaseRadioProps, RadioProps, ForwardRefPrimitive, Primitive } from '../types';
2
2
  export declare const RadioPrimitive: Primitive<RadioProps, 'input'>;
3
3
  export declare const Radio: ForwardRefPrimitive<BaseRadioProps, 'input'>;
@@ -1,4 +1,4 @@
1
- import { BaseRadioGroupFieldProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseRadioGroupFieldProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/radiogroupfield)
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { LabelPositions } from '../types/field';
2
+ import type { LabelPositions } from '../types/field';
3
3
  export interface RadioGroupContextType {
4
4
  name: string;
5
5
  currentValue?: string;
@@ -1,4 +1,4 @@
1
- import { BaseRatingProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseRatingProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/rating)
4
4
  */