@aws-amplify/ui-react 6.11.0 → 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 (271) hide show
  1. package/README.md +14 -15
  2. package/dist/{Field-Bkpcn7E9.js → Field-BjInyX0G.js} +1 -1
  3. package/dist/esm/components/Authenticator/FederatedSignIn/FederatedSignIn.mjs +1 -1
  4. package/dist/esm/components/Authenticator/RouteContainer/RouteContainer.mjs +1 -9
  5. package/dist/esm/components/Authenticator/Router/Router.mjs +2 -2
  6. package/dist/esm/primitives/Collection/Collection.mjs +1 -1
  7. package/dist/esm/primitives/DropZone/DropZone.mjs +1 -1
  8. package/dist/esm/primitives/Loader/Loader.mjs +1 -1
  9. package/dist/esm/primitives/PhoneNumberField/DialCodeSelect.mjs +1 -1
  10. package/dist/esm/primitives/RadioGroupField/RadioGroupField.mjs +1 -1
  11. package/dist/esm/primitives/SelectField/SelectField.mjs +1 -1
  12. package/dist/esm/primitives/SliderField/SliderField.mjs +1 -1
  13. package/dist/esm/primitives/StepperField/StepperField.mjs +1 -1
  14. package/dist/esm/primitives/TextAreaField/TextAreaField.mjs +1 -1
  15. package/dist/esm/primitives/shared/utils.mjs +1 -1
  16. package/dist/esm/version.mjs +1 -1
  17. package/dist/index.js +3 -11
  18. package/dist/internal.js +1 -1
  19. package/dist/types/PrimitiveCatalog.d.ts +1 -1
  20. package/dist/types/components/AccountSettings/ChangePassword/ChangePassword.d.ts +1 -1
  21. package/dist/types/components/AccountSettings/ChangePassword/defaults.d.ts +1 -1
  22. package/dist/types/components/AccountSettings/ChangePassword/types.d.ts +3 -3
  23. package/dist/types/components/AccountSettings/DeleteUser/DeleteUser.d.ts +1 -1
  24. package/dist/types/components/AccountSettings/DeleteUser/defaults.d.ts +1 -1
  25. package/dist/types/components/AccountSettings/DeleteUser/types.d.ts +4 -4
  26. package/dist/types/components/AccountSettings/shared/Defaults.d.ts +1 -1
  27. package/dist/types/components/AccountSettings/types.d.ts +2 -2
  28. package/dist/types/components/AccountSettings/utils/displayText.d.ts +1 -1
  29. package/dist/types/components/AccountSettings/utils/index.d.ts +2 -1
  30. package/dist/types/components/Authenticator/Authenticator.d.ts +6 -5
  31. package/dist/types/components/Authenticator/ConfirmSignIn/ConfirmSignIn.d.ts +1 -1
  32. package/dist/types/components/Authenticator/ConfirmSignUp/ConfirmSignUp.d.ts +1 -1
  33. package/dist/types/components/Authenticator/FederatedSignIn/FederatedSignInButtons/FederatedSignInButton.d.ts +1 -1
  34. package/dist/types/components/Authenticator/ForceNewPassword/ForceNewPassword.d.ts +1 -1
  35. package/dist/types/components/Authenticator/ForgotPassword/ConfirmResetPassword.d.ts +1 -1
  36. package/dist/types/components/Authenticator/ForgotPassword/ForgotPassword.d.ts +1 -1
  37. package/dist/types/components/Authenticator/RouteContainer/RouteContainer.d.ts +1 -1
  38. package/dist/types/components/Authenticator/RouteContainer/index.d.ts +1 -1
  39. package/dist/types/components/Authenticator/Router/Router.d.ts +1 -1
  40. package/dist/types/components/Authenticator/Router/index.d.ts +1 -1
  41. package/dist/types/components/Authenticator/Router/types.d.ts +1 -1
  42. package/dist/types/components/Authenticator/SelectMfaType/SelectMfaType.d.ts +1 -1
  43. package/dist/types/components/Authenticator/SetupEmail/SetupEmail.d.ts +1 -1
  44. package/dist/types/components/Authenticator/SetupTotp/SetupTotp.d.ts +1 -1
  45. package/dist/types/components/Authenticator/VerifyUser/ConfirmVerifyUser.d.ts +1 -1
  46. package/dist/types/components/Authenticator/VerifyUser/VerifyUser.d.ts +1 -1
  47. package/dist/types/components/Authenticator/hooks/useCustomComponents/index.d.ts +2 -1
  48. package/dist/types/components/Authenticator/hooks/useCustomComponents/useCustomComponents.d.ts +1 -1
  49. package/dist/types/components/Authenticator/hooks/useFormHandlers/useFormHandlers.d.ts +1 -1
  50. package/dist/types/components/Authenticator/index.d.ts +6 -3
  51. package/dist/types/components/Authenticator/shared/FormField.d.ts +1 -1
  52. package/dist/types/components/Authenticator/shared/SignInSignUpTabs.d.ts +1 -1
  53. package/dist/types/components/Authenticator/shared/TwoButtonSubmitFooter.d.ts +1 -1
  54. package/dist/types/components/Authenticator/withAuthenticator.d.ts +2 -2
  55. package/dist/types/components/FileSelect/index.d.ts +2 -1
  56. package/dist/types/components/FilterChildren/index.d.ts +2 -1
  57. package/dist/types/components/ThemeProvider/ComponentStyle.d.ts +2 -2
  58. package/dist/types/components/ThemeProvider/ThemeContext.d.ts +2 -2
  59. package/dist/types/components/ThemeProvider/ThemeProvider.d.ts +1 -1
  60. package/dist/types/components/ThemeProvider/ThemeStyle.d.ts +1 -1
  61. package/dist/types/components/ThemeProvider/index.d.ts +2 -1
  62. package/dist/types/hooks/useAuth.d.ts +1 -1
  63. package/dist/types/hooks/useBreakpointValue.d.ts +1 -1
  64. package/dist/types/hooks/useDeprecationWarning.d.ts +1 -1
  65. package/dist/types/hooks/useTheme.d.ts +3 -3
  66. package/dist/types/hooks/useThemeBreakpoint.d.ts +1 -1
  67. package/dist/types/internal.d.ts +4 -2
  68. package/dist/types/primitives/Accordion/Accordion.d.ts +2 -2
  69. package/dist/types/primitives/Accordion/AccordionContainer.d.ts +2 -2
  70. package/dist/types/primitives/Accordion/AccordionContent.d.ts +2 -2
  71. package/dist/types/primitives/Accordion/AccordionIcon.d.ts +2 -2
  72. package/dist/types/primitives/Accordion/AccordionItem.d.ts +2 -2
  73. package/dist/types/primitives/Accordion/AccordionTrigger.d.ts +2 -2
  74. package/dist/types/primitives/Accordion/index.d.ts +1 -1
  75. package/dist/types/primitives/Accordion/types.d.ts +2 -2
  76. package/dist/types/primitives/Alert/Alert.d.ts +1 -1
  77. package/dist/types/primitives/Alert/AlertIcon.d.ts +1 -1
  78. package/dist/types/primitives/Avatar/Avatar.d.ts +2 -2
  79. package/dist/types/primitives/Avatar/index.d.ts +1 -1
  80. package/dist/types/primitives/Avatar/types.d.ts +2 -2
  81. package/dist/types/primitives/Badge/Badge.d.ts +1 -1
  82. package/dist/types/primitives/Breadcrumbs/BreadcrumbContainer.d.ts +1 -1
  83. package/dist/types/primitives/Breadcrumbs/BreadcrumbItem.d.ts +1 -1
  84. package/dist/types/primitives/Breadcrumbs/BreadcrumbLink.d.ts +1 -1
  85. package/dist/types/primitives/Breadcrumbs/BreadcrumbSeparator.d.ts +1 -1
  86. package/dist/types/primitives/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  87. package/dist/types/primitives/Button/Button.d.ts +1 -1
  88. package/dist/types/primitives/ButtonGroup/ButtonGroup.d.ts +1 -1
  89. package/dist/types/primitives/Card/Card.d.ts +1 -1
  90. package/dist/types/primitives/Checkbox/Checkbox.d.ts +2 -2
  91. package/dist/types/primitives/CheckboxField/CheckboxField.d.ts +1 -1
  92. package/dist/types/primitives/Collection/Collection.d.ts +1 -1
  93. package/dist/types/primitives/Divider/Divider.d.ts +1 -1
  94. package/dist/types/primitives/DropZone/DropZone.d.ts +3 -3
  95. package/dist/types/primitives/DropZone/DropZoneContainer.d.ts +2 -2
  96. package/dist/types/primitives/DropZone/index.d.ts +1 -1
  97. package/dist/types/primitives/DropZone/types.d.ts +3 -3
  98. package/dist/types/primitives/Field/Field.d.ts +1 -1
  99. package/dist/types/primitives/Field/FieldClearButton.d.ts +1 -1
  100. package/dist/types/primitives/Field/FieldDescription.d.ts +1 -1
  101. package/dist/types/primitives/Field/FieldErrorMessage.d.ts +1 -1
  102. package/dist/types/primitives/FieldGroup/FieldGroup.d.ts +1 -1
  103. package/dist/types/primitives/FieldGroupIcon/FieldGroupIcon.d.ts +1 -1
  104. package/dist/types/primitives/FieldGroupIcon/FieldGroupIconButton.d.ts +1 -1
  105. package/dist/types/primitives/Fieldset/Fieldset.d.ts +1 -1
  106. package/dist/types/primitives/Flex/Flex.d.ts +1 -1
  107. package/dist/types/primitives/Grid/Grid.d.ts +1 -1
  108. package/dist/types/primitives/Heading/Heading.d.ts +1 -1
  109. package/dist/types/primitives/Icon/Icon.d.ts +1 -1
  110. package/dist/types/primitives/Icon/context/IconsContext.d.ts +1 -1
  111. package/dist/types/primitives/Icon/context/IconsProvider.d.ts +2 -2
  112. package/dist/types/primitives/Icon/context/index.d.ts +2 -1
  113. package/dist/types/primitives/Icon/context/useIcons.d.ts +1 -1
  114. package/dist/types/primitives/Icon/icons/IconAdd.d.ts +1 -1
  115. package/dist/types/primitives/Icon/icons/IconAssistant.d.ts +1 -1
  116. package/dist/types/primitives/Icon/icons/IconAttach.d.ts +1 -1
  117. package/dist/types/primitives/Icon/icons/IconCheck.d.ts +1 -1
  118. package/dist/types/primitives/Icon/icons/IconCheckCircle.d.ts +1 -1
  119. package/dist/types/primitives/Icon/icons/IconCheckCircleOutline.d.ts +1 -1
  120. package/dist/types/primitives/Icon/icons/IconChevronLeft.d.ts +1 -1
  121. package/dist/types/primitives/Icon/icons/IconChevronRight.d.ts +1 -1
  122. package/dist/types/primitives/Icon/icons/IconClose.d.ts +1 -1
  123. package/dist/types/primitives/Icon/icons/IconDocument.d.ts +1 -1
  124. package/dist/types/primitives/Icon/icons/IconEdit.d.ts +1 -1
  125. package/dist/types/primitives/Icon/icons/IconError.d.ts +1 -1
  126. package/dist/types/primitives/Icon/icons/IconExpandMore.d.ts +1 -1
  127. package/dist/types/primitives/Icon/icons/IconFile.d.ts +1 -1
  128. package/dist/types/primitives/Icon/icons/IconIndeterminate.d.ts +1 -1
  129. package/dist/types/primitives/Icon/icons/IconInfo.d.ts +1 -1
  130. package/dist/types/primitives/Icon/icons/IconMenu.d.ts +1 -1
  131. package/dist/types/primitives/Icon/icons/IconRemove.d.ts +1 -1
  132. package/dist/types/primitives/Icon/icons/IconSearch.d.ts +1 -1
  133. package/dist/types/primitives/Icon/icons/IconSend.d.ts +1 -1
  134. package/dist/types/primitives/Icon/icons/IconStar.d.ts +1 -1
  135. package/dist/types/primitives/Icon/icons/IconUpload.d.ts +1 -1
  136. package/dist/types/primitives/Icon/icons/IconUser.d.ts +1 -1
  137. package/dist/types/primitives/Icon/icons/IconVisibility.d.ts +1 -1
  138. package/dist/types/primitives/Icon/icons/IconVisibilityOff.d.ts +1 -1
  139. package/dist/types/primitives/Icon/icons/IconWarning.d.ts +1 -1
  140. package/dist/types/primitives/Icon/icons/types.d.ts +1 -1
  141. package/dist/types/primitives/Icon/index.d.ts +2 -1
  142. package/dist/types/primitives/Image/Image.d.ts +1 -1
  143. package/dist/types/primitives/Input/Input.d.ts +1 -1
  144. package/dist/types/primitives/Label/Label.d.ts +1 -1
  145. package/dist/types/primitives/Link/Link.d.ts +1 -1
  146. package/dist/types/primitives/Loader/Loader.d.ts +2 -2
  147. package/dist/types/primitives/Menu/Menu.d.ts +1 -1
  148. package/dist/types/primitives/Menu/MenuButton.d.ts +1 -1
  149. package/dist/types/primitives/Menu/MenuItem.d.ts +1 -1
  150. package/dist/types/primitives/Message/Message.d.ts +1 -1
  151. package/dist/types/primitives/Message/MessageContainer.d.ts +1 -1
  152. package/dist/types/primitives/Message/MessageContent.d.ts +1 -1
  153. package/dist/types/primitives/Message/MessageDismiss.d.ts +1 -1
  154. package/dist/types/primitives/Message/MessageHeading.d.ts +1 -1
  155. package/dist/types/primitives/Message/MessageIcon.d.ts +1 -1
  156. package/dist/types/primitives/Message/useMessage.d.ts +1 -1
  157. package/dist/types/primitives/Pagination/Pagination.d.ts +1 -1
  158. package/dist/types/primitives/Pagination/PaginationItem.d.ts +1 -1
  159. package/dist/types/primitives/Pagination/usePagination.d.ts +1 -1
  160. package/dist/types/primitives/PasswordField/PasswordField.d.ts +1 -1
  161. package/dist/types/primitives/PasswordField/ShowPasswordButton.d.ts +1 -1
  162. package/dist/types/primitives/PhoneNumberField/DialCodeSelect.d.ts +1 -1
  163. package/dist/types/primitives/PhoneNumberField/PhoneNumberField.d.ts +1 -1
  164. package/dist/types/primitives/Placeholder/Placeholder.d.ts +1 -1
  165. package/dist/types/primitives/Radio/Radio.d.ts +1 -1
  166. package/dist/types/primitives/RadioGroupField/RadioGroupField.d.ts +1 -1
  167. package/dist/types/primitives/RadioGroupField/context.d.ts +1 -1
  168. package/dist/types/primitives/Rating/Rating.d.ts +1 -1
  169. package/dist/types/primitives/Rating/RatingIcon.d.ts +2 -2
  170. package/dist/types/primitives/Rating/RatingMixedIcon.d.ts +2 -2
  171. package/dist/types/primitives/ScrollView/ScrollView.d.ts +1 -1
  172. package/dist/types/primitives/SearchField/SearchFieldButton.d.ts +1 -1
  173. package/dist/types/primitives/SearchField/useSearchField.d.ts +1 -1
  174. package/dist/types/primitives/Select/Select.d.ts +2 -2
  175. package/dist/types/primitives/SelectField/SelectField.d.ts +1 -1
  176. package/dist/types/primitives/SliderField/SliderField.d.ts +2 -2
  177. package/dist/types/primitives/StepperField/StepperField.d.ts +2 -2
  178. package/dist/types/primitives/StepperField/useStepper.d.ts +1 -1
  179. package/dist/types/primitives/SwitchField/SwitchField.d.ts +1 -1
  180. package/dist/types/primitives/SwitchField/useSwitch.d.ts +1 -1
  181. package/dist/types/primitives/Table/Table.d.ts +1 -1
  182. package/dist/types/primitives/Table/TableBody.d.ts +1 -1
  183. package/dist/types/primitives/Table/TableCell.d.ts +1 -1
  184. package/dist/types/primitives/Table/TableFoot.d.ts +1 -1
  185. package/dist/types/primitives/Table/TableHead.d.ts +1 -1
  186. package/dist/types/primitives/Table/TableRow.d.ts +1 -1
  187. package/dist/types/primitives/Tabs/Tabs.d.ts +2 -2
  188. package/dist/types/primitives/Tabs/TabsContainer.d.ts +2 -2
  189. package/dist/types/primitives/Tabs/TabsItem.d.ts +2 -2
  190. package/dist/types/primitives/Tabs/TabsList.d.ts +2 -2
  191. package/dist/types/primitives/Tabs/TabsPanel.d.ts +2 -2
  192. package/dist/types/primitives/Tabs/index.d.ts +1 -1
  193. package/dist/types/primitives/Tabs/types.d.ts +2 -2
  194. package/dist/types/primitives/Text/Text.d.ts +1 -1
  195. package/dist/types/primitives/TextArea/AutoresizeTextarea.d.ts +2 -2
  196. package/dist/types/primitives/TextArea/TextArea.d.ts +2 -2
  197. package/dist/types/primitives/TextAreaField/TextAreaField.d.ts +2 -2
  198. package/dist/types/primitives/TextField/TextField.d.ts +1 -1
  199. package/dist/types/primitives/ToggleButton/ToggleButton.d.ts +1 -1
  200. package/dist/types/primitives/ToggleButton/useToggleButton.d.ts +1 -1
  201. package/dist/types/primitives/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  202. package/dist/types/primitives/ToggleButtonGroup/useToggleButtonGroup.d.ts +1 -1
  203. package/dist/types/primitives/View/View.d.ts +1 -1
  204. package/dist/types/primitives/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  205. package/dist/types/primitives/components.d.ts +8 -4
  206. package/dist/types/primitives/index.d.ts +2 -1
  207. package/dist/types/primitives/shared/constants.d.ts +1 -1
  208. package/dist/types/primitives/shared/getStyleValue.d.ts +1 -1
  209. package/dist/types/primitives/shared/responsive/getMediaQueries.d.ts +1 -1
  210. package/dist/types/primitives/shared/responsive/useBreakpoint.d.ts +1 -1
  211. package/dist/types/primitives/shared/responsive/utils.d.ts +1 -1
  212. package/dist/types/primitives/shared/styleUtils.d.ts +3 -3
  213. package/dist/types/primitives/shared/utils.d.ts +2 -1
  214. package/dist/types/primitives/types/alert.d.ts +3 -3
  215. package/dist/types/primitives/types/autocomplete.d.ts +3 -3
  216. package/dist/types/primitives/types/badge.d.ts +2 -2
  217. package/dist/types/primitives/types/base.d.ts +2 -1
  218. package/dist/types/primitives/types/breadcrumbs.d.ts +3 -3
  219. package/dist/types/primitives/types/button.d.ts +3 -3
  220. package/dist/types/primitives/types/buttonGroup.d.ts +6 -6
  221. package/dist/types/primitives/types/card.d.ts +1 -1
  222. package/dist/types/primitives/types/checkbox.d.ts +6 -6
  223. package/dist/types/primitives/types/checkboxField.d.ts +3 -3
  224. package/dist/types/primitives/types/collection.d.ts +5 -5
  225. package/dist/types/primitives/types/divider.d.ts +2 -2
  226. package/dist/types/primitives/types/field.d.ts +5 -5
  227. package/dist/types/primitives/types/fieldGroup.d.ts +3 -3
  228. package/dist/types/primitives/types/fieldGroupIcon.d.ts +2 -2
  229. package/dist/types/primitives/types/fieldset.d.ts +5 -5
  230. package/dist/types/primitives/types/flex.d.ts +3 -3
  231. package/dist/types/primitives/types/grid.d.ts +3 -3
  232. package/dist/types/primitives/types/heading.d.ts +2 -2
  233. package/dist/types/primitives/types/highlightMatch.d.ts +1 -1
  234. package/dist/types/primitives/types/icon.d.ts +4 -4
  235. package/dist/types/primitives/types/image.d.ts +3 -3
  236. package/dist/types/primitives/types/input.d.ts +4 -4
  237. package/dist/types/primitives/types/label.d.ts +1 -1
  238. package/dist/types/primitives/types/link.d.ts +2 -2
  239. package/dist/types/primitives/types/loader.d.ts +4 -4
  240. package/dist/types/primitives/types/menu.d.ts +5 -5
  241. package/dist/types/primitives/types/message.d.ts +4 -4
  242. package/dist/types/primitives/types/pagination.d.ts +3 -3
  243. package/dist/types/primitives/types/passwordField.d.ts +5 -5
  244. package/dist/types/primitives/types/phoneNumberField.d.ts +4 -4
  245. package/dist/types/primitives/types/placeholder.d.ts +4 -4
  246. package/dist/types/primitives/types/radio.d.ts +3 -3
  247. package/dist/types/primitives/types/radioGroupField.d.ts +6 -6
  248. package/dist/types/primitives/types/rating.d.ts +5 -5
  249. package/dist/types/primitives/types/responsive.d.ts +1 -1
  250. package/dist/types/primitives/types/scrollView.d.ts +1 -1
  251. package/dist/types/primitives/types/searchField.d.ts +4 -4
  252. package/dist/types/primitives/types/select.d.ts +3 -3
  253. package/dist/types/primitives/types/selectField.d.ts +4 -4
  254. package/dist/types/primitives/types/sliderField.d.ts +5 -5
  255. package/dist/types/primitives/types/stepperField.d.ts +2 -2
  256. package/dist/types/primitives/types/style.d.ts +6 -6
  257. package/dist/types/primitives/types/switchField.d.ts +6 -6
  258. package/dist/types/primitives/types/table.d.ts +3 -3
  259. package/dist/types/primitives/types/text.d.ts +1 -1
  260. package/dist/types/primitives/types/textArea.d.ts +4 -4
  261. package/dist/types/primitives/types/textAreaField.d.ts +5 -5
  262. package/dist/types/primitives/types/textField.d.ts +5 -5
  263. package/dist/types/primitives/types/toggleButton.d.ts +2 -2
  264. package/dist/types/primitives/types/toggleButtonGroup.d.ts +4 -4
  265. package/dist/types/primitives/types/view.d.ts +4 -4
  266. package/dist/types/primitives/types/visuallyHidden.d.ts +1 -1
  267. package/dist/types/primitives/utils/primitiveWithForwardRef.d.ts +1 -1
  268. package/dist/types/primitives/utils/splitPrimitiveProps.d.ts +1 -1
  269. package/dist/types/primitives/utils/testUtils.d.ts +1 -1
  270. package/dist/types/version.d.ts +1 -1
  271. package/package.json +9 -8
@@ -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
  */
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Property } from 'csstype';
3
- import { StyleToken } from '../types/style';
2
+ import type { Property } from 'csstype';
3
+ import type { StyleToken } from '../types/style';
4
4
  interface RatingIconProps {
5
5
  icon: React.ReactNode;
6
6
  fill?: StyleToken<Property.Color>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { Property } from 'csstype';
3
- import { StyleToken } from '../types/style';
2
+ import type { Property } from 'csstype';
3
+ import type { StyleToken } from '../types/style';
4
4
  interface RatingMixedIconProps {
5
5
  emptyColor?: StyleToken<Property.Color>;
6
6
  emptyIcon: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseScrollViewProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseScrollViewProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/scrollview)
4
4
  */
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, BaseSearchFieldButtonProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseSearchFieldButtonProps } from '../types';
2
2
  export declare const SearchFieldButton: ForwardRefPrimitive<BaseSearchFieldButtonProps, 'button'>;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { UseSearchFieldProps } from '../types';
2
+ import type { UseSearchFieldProps } from '../types';
3
3
  type ClearHandler = React.MouseEventHandler<HTMLButtonElement>;
4
4
  type ClickHandler = React.MouseEventHandler<HTMLButtonElement>;
5
5
  type KeyDownHandler = React.KeyboardEventHandler<HTMLInputElement>;
@@ -1,3 +1,3 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseSelectProps } from '../types/select';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseSelectProps } from '../types/select';
3
3
  export declare const Select: ForwardRefPrimitive<BaseSelectProps, 'select'>;
@@ -1,4 +1,4 @@
1
- import { BaseSelectFieldProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseSelectFieldProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/selectfield)
4
4
  */
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types/view';
2
- import { BaseSliderFieldProps } from '../types/sliderField';
1
+ import type { ForwardRefPrimitive } from '../types/view';
2
+ import type { BaseSliderFieldProps } from '../types/sliderField';
3
3
  export declare const SLIDER_LABEL_TEST_ID = "slider-label";
4
4
  export declare const SLIDER_ROOT_TEST_ID = "slider-root";
5
5
  export declare const SLIDER_TRACK_TEST_ID = "slider-track";
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types/view';
2
- import { BaseStepperFieldProps } from '../types/stepperField';
1
+ import type { ForwardRefPrimitive } from '../types/view';
2
+ import type { BaseStepperFieldProps } from '../types/stepperField';
3
3
  export declare const DECREASE_ICON = "decrease-icon";
4
4
  export declare const INCREASE_ICON = "increase-icon";
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { StepperFieldProps } from '../types/stepperField';
2
+ import type { StepperFieldProps } from '../types/stepperField';
3
3
  type ChangeHandler = React.ChangeEventHandler<HTMLInputElement>;
4
4
  type ClickHandler = React.MouseEventHandler<HTMLButtonElement>;
5
5
  type FocusHandler = React.FocusEventHandler<HTMLInputElement>;
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseSwitchFieldProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseSwitchFieldProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/switchfield)
4
4
  */
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  type ChangeHandler = React.ChangeEventHandler<HTMLInputElement>;
3
3
  interface UseSwitchProps {
4
4
  onChange?: ChangeHandler;
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseTableProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseTableProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/table)
4
4
  */
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, BaseTableBodyProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseTableBodyProps } from '../types';
2
2
  export declare const TableBody: ForwardRefPrimitive<BaseTableBodyProps, 'tbody'>;
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, TableCellElement, BaseTableCellProps } from '../types';
1
+ import type { ForwardRefPrimitive, TableCellElement, BaseTableCellProps } from '../types';
2
2
  export declare const TableCell: ForwardRefPrimitive<BaseTableCellProps, TableCellElement>;
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, BaseTableFootProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseTableFootProps } from '../types';
2
2
  export declare const TableFoot: ForwardRefPrimitive<BaseTableFootProps, 'tfoot'>;
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, BaseTableHeadProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseTableHeadProps } from '../types';
2
2
  export declare const TableHead: ForwardRefPrimitive<BaseTableHeadProps, 'thead'>;
@@ -1,2 +1,2 @@
1
- import { ForwardRefPrimitive, BaseTableRowProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseTableRowProps } from '../types';
2
2
  export declare const TableRow: ForwardRefPrimitive<BaseTableRowProps, 'tr'>;
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseTabsProps } from './types';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseTabsProps } from './types';
3
3
  import { TabsItem } from './TabsItem';
4
4
  import { TabList } from './TabsList';
5
5
  import { TabPanel } from './TabsPanel';
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseTabsProps } from './types';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseTabsProps } from './types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
5
5
  */
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseTabsItemProps } from './types';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseTabsItemProps } from './types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
5
5
  */
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseTabsListProps } from './types';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseTabsListProps } from './types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
5
5
  */
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseTabsPanelProps } from './types';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseTabsPanelProps } from './types';
3
3
  /**
4
4
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/tabs)
5
5
  */
@@ -1,2 +1,2 @@
1
1
  export { Tabs } from './Tabs';
2
- export { TabsProps } from './types';
2
+ export type { TabsProps } from './types';
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { ElementType, PrimitiveProps, BaseViewProps, BaseFlexProps } from '../types';
1
+ import type * as React from 'react';
2
+ import type { ElementType, PrimitiveProps, BaseViewProps, BaseFlexProps } from '../types';
3
3
  export type TabsSpacing = 'equal' | 'relative';
4
4
  export interface BaseTabsProps extends BaseTabsListProps {
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { BaseTextProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseTextProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/text)
4
4
  */
@@ -1,3 +1,3 @@
1
- import { ForwardRefPrimitive } from '../types/view';
2
- import { BaseTextAreaProps } from '../types/textArea';
1
+ import type { ForwardRefPrimitive } from '../types/view';
2
+ import type { BaseTextAreaProps } from '../types/textArea';
3
3
  export declare const AutoresizeTextArea: ForwardRefPrimitive<BaseTextAreaProps, 'textarea'>;
@@ -1,3 +1,3 @@
1
- import { ForwardRefPrimitive } from '../types/view';
2
- import { BaseTextAreaProps } from '../types/textArea';
1
+ import type { ForwardRefPrimitive } from '../types/view';
2
+ import type { BaseTextAreaProps } from '../types/textArea';
3
3
  export declare const TextArea: ForwardRefPrimitive<BaseTextAreaProps, 'textarea'>;
@@ -1,5 +1,5 @@
1
- import { ForwardRefPrimitive } from '../types';
2
- import { BaseTextAreaFieldProps } from '../types/textAreaField';
1
+ import type { ForwardRefPrimitive } from '../types';
2
+ import type { BaseTextAreaFieldProps } from '../types/textAreaField';
3
3
  export declare const DEFAULT_ROW_COUNT = 3;
4
4
  /**
5
5
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/textareafield)
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseTextFieldProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseTextFieldProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/textfield)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BaseToggleButtonProps, ForwardRefPrimitive } from '../types';
1
+ import type { BaseToggleButtonProps, ForwardRefPrimitive } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/togglebutton)
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ToggleButtonProps } from '../types';
2
+ import type { ToggleButtonProps } from '../types';
3
3
  type ClickHandler = React.MouseEventHandler<HTMLButtonElement>;
4
4
  type UseToggleButton = {
5
5
  handleClick: ClickHandler;
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseToggleButtonGroupProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseToggleButtonGroupProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/togglebutton#togglebuttongroup)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ToggleButtonGroupProps } from '../types';
1
+ import type { ToggleButtonGroupProps } from '../types';
2
2
  type UseToggleButtonParams = Pick<ToggleButtonGroupProps, 'onChange' | 'value' | 'isExclusive' | 'isSelectionRequired'>;
3
3
  export declare const useToggleButtonGroup: ({ onChange, value, isExclusive, isSelectionRequired, }: UseToggleButtonParams) => (value: string | undefined) => void;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseViewProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseViewProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/view)
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ForwardRefPrimitive, BaseVisuallyHiddenProps } from '../types';
1
+ import type { ForwardRefPrimitive, BaseVisuallyHiddenProps } from '../types';
2
2
  /**
3
3
  * [📖 Docs](https://ui.docs.amplify.aws/react/components/visuallyhidden)
4
4
  */
@@ -1,6 +1,7 @@
1
1
  export { Alert } from './Alert';
2
2
  export { Autocomplete } from './Autocomplete';
3
- export { Avatar, AvatarProps } from './Avatar';
3
+ export type { AvatarProps } from './Avatar';
4
+ export { Avatar } from './Avatar';
4
5
  export { Badge } from './Badge';
5
6
  export { Breadcrumbs } from './Breadcrumbs';
6
7
  export { Button } from './Button';
@@ -10,8 +11,10 @@ export { Checkbox } from './Checkbox';
10
11
  export { CheckboxField } from './CheckboxField';
11
12
  export { Collection } from './Collection';
12
13
  export { Divider } from './Divider';
13
- export { DropZone, DropZoneProps } from './DropZone';
14
- export { Accordion, AccordionProps, AccordionItemProps } from './Accordion';
14
+ export type { DropZoneProps } from './DropZone';
15
+ export { DropZone } from './DropZone';
16
+ export type { AccordionProps, AccordionItemProps } from './Accordion';
17
+ export { Accordion } from './Accordion';
15
18
  export { FieldGroupIcon, FieldGroupIconButton } from './FieldGroupIcon';
16
19
  export { Fieldset } from './Fieldset';
17
20
  export { Flex } from './Flex';
@@ -40,7 +43,8 @@ export { SliderField } from './SliderField';
40
43
  export { StepperField } from './StepperField';
41
44
  export { SwitchField } from './SwitchField';
42
45
  export * from './Table';
43
- export { Tabs, TabsProps } from './Tabs';
46
+ export type { TabsProps } from './Tabs';
47
+ export { Tabs } from './Tabs';
44
48
  export { Text } from './Text';
45
49
  export { TextAreaField } from './TextAreaField';
46
50
  export { TextField } from './TextField';
@@ -1,4 +1,5 @@
1
1
  export * from './components';
2
2
  export * from './hooks';
3
3
  export * from './types';
4
- export { IconsProvider, IconsContextInterface } from './Icon';
4
+ export type { IconsContextInterface } from './Icon';
5
+ export { IconsProvider } from './Icon';
@@ -1,4 +1,4 @@
1
- import { ThemeStylePropKey, ThemeTokenKey } from '../types/theme';
1
+ import type { ThemeStylePropKey, ThemeTokenKey } from '../types/theme';
2
2
  export declare const ComponentText: {
3
3
  Alert: {
4
4
  dismissButtonLabel: string;
@@ -1,4 +1,4 @@
1
- import { WebTheme } from '@aws-amplify/ui';
1
+ import type { WebTheme } from '@aws-amplify/ui';
2
2
  interface GetStyleValueProps {
3
3
  value: unknown;
4
4
  propKey?: string;
@@ -1,2 +1,2 @@
1
- import { GetMediaQueries } from '../../types/responsive';
1
+ import type { GetMediaQueries } from '../../types/responsive';
2
2
  export declare const getMediaQueries: GetMediaQueries;
@@ -1,2 +1,2 @@
1
- import { UseBreakpoint } from '../../types/responsive';
1
+ import type { UseBreakpoint } from '../../types/responsive';
2
2
  export declare const useBreakpoint: UseBreakpoint;
@@ -1,4 +1,4 @@
1
- import { Breakpoint, Breakpoints, ValueBreakpoints } from '../../types/responsive';
1
+ import type { Breakpoint, Breakpoints, ValueBreakpoints } from '../../types/responsive';
2
2
  export declare const getValueAtCurrentBreakpoint: <Value = string | number>({ breakpoint, breakpoints, values, }: {
3
3
  values: Partial<Record<"base" | "small" | "large" | "medium" | "xl" | "xxl", Value>> | Value[];
4
4
  breakpoint: Breakpoint;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { WebTheme } from '@aws-amplify/ui';
3
- import { GridItemStyleProps, GridSpanType, BaseViewProps } from '../types';
4
- import { Breakpoint, Breakpoints } from '../types/responsive';
2
+ import type { WebTheme } from '@aws-amplify/ui';
3
+ import type { GridItemStyleProps, GridSpanType, BaseViewProps } from '../types';
4
+ import type { Breakpoint, Breakpoints } from '../types/responsive';
5
5
  export declare const isSpanPrimitiveValue: (spanValue: GridItemStyleProps['rowSpan' | 'columnSpan']) => spanValue is GridSpanType;
6
6
  export declare const getGridSpan: (spanValue: GridSpanType) => string;
7
7
  export declare const convertGridSpan: (spanValue?: GridItemStyleProps['rowSpan' | 'columnSpan']) => GridItemStyleProps['row'] | GridItemStyleProps['column'] | null;
@@ -1,4 +1,5 @@
1
- import { classNameModifier, classNameModifierByFlag, WebTheme } from '@aws-amplify/ui';
1
+ import type { WebTheme } from '@aws-amplify/ui';
2
+ import { classNameModifier, classNameModifierByFlag } from '@aws-amplify/ui';
2
3
  export declare const strHasLength: (str: unknown) => str is string;
3
4
  export declare const isEmptyString: (value: unknown) => boolean;
4
5
  export declare const isNullOrEmptyString: (value: unknown) => boolean;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { BaseFlexProps } from './flex';
3
- import { ElementType, PrimitiveProps } from './view';
1
+ import type * as React from 'react';
2
+ import type { BaseFlexProps } from './flex';
3
+ import type { ElementType, PrimitiveProps } from './view';
4
4
  export type AlertVariations = 'info' | 'error' | 'warning' | 'success';
5
5
  /** @deprecated For internal use only */
6
6
  export interface BaseAlertProps extends BaseFlexProps {
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { BaseSearchFieldProps } from './searchField';
3
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
1
+ import type * as React from 'react';
2
+ import type { BaseSearchFieldProps } from './searchField';
3
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
4
4
  export interface AutocompleteComboboxProps {
5
5
  role: React.AriaRole;
6
6
  'aria-activedescendant': React.AriaAttributes['aria-activedescendant'];
@@ -1,5 +1,5 @@
1
- import { Sizes } from './base';
2
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
1
+ import type { Sizes } from './base';
2
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
3
3
  export type BadgeVariations = 'info' | 'error' | 'warning' | 'success';
4
4
  export type BadgeSizes = Sizes;
5
5
  /** @deprecated For internal use only */