@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,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 */
@@ -1,4 +1,5 @@
1
- import React, { AriaAttributes } from 'react';
1
+ import type { AriaAttributes } from 'react';
2
+ import type React from 'react';
2
3
  export interface BaseComponentProps {
3
4
  /**
4
5
  * @description
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
3
- import { BaseLinkProps } from './link';
1
+ import type * as React from 'react';
2
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
3
+ import type { BaseLinkProps } from './link';
4
4
  /** @deprecated For internal use only */
5
5
  export interface BaseBreadcrumbProps extends BaseViewProps {
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { Sizes } from './base';
2
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
3
- import { FlexContainerStyleProps } from './flex';
1
+ import type { Sizes } from './base';
2
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
3
+ import type { FlexContainerStyleProps } from './flex';
4
4
  export type ButtonSizes = Sizes;
5
5
  export type ButtonTypes = 'button' | 'reset' | 'submit';
6
6
  export type ButtonVariations = 'primary' | 'link' | 'menu' | 'warning' | 'destructive';
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- import { AriaProps } from './base';
3
- import { BaseStyleProps } from './style';
4
- import { BaseButtonProps } from './button';
5
- import { BaseFlexProps } from './flex';
6
- import { ElementType, PrimitiveProps } from './view';
1
+ import type * as React from 'react';
2
+ import type { AriaProps } from './base';
3
+ import type { BaseStyleProps } from './style';
4
+ import type { BaseButtonProps } from './button';
5
+ import type { BaseFlexProps } from './flex';
6
+ import type { ElementType, PrimitiveProps } from './view';
7
7
  /** @deprecated For internal use only */
8
8
  export interface BaseButtonGroupProps extends AriaProps, BaseStyleProps, BaseFlexProps, Pick<BaseButtonProps, 'size' | 'variation'> {
9
9
  children?: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
1
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
2
2
  export type CardVariations = 'outlined' | 'elevated';
3
3
  /** @deprecated For internal use only */
4
4
  export interface BaseCardProps extends BaseViewProps {
@@ -1,9 +1,9 @@
1
- import { ChangeEvent, Dispatch, SetStateAction } from 'react';
2
- import { BaseFlexProps } from './flex';
3
- import { BaseInputProps } from './input';
4
- import { FieldProps, LabelPositions } from './field';
5
- import { BaseStyleProps } from './style';
6
- import { ElementType, PrimitiveProps } from './view';
1
+ import type { ChangeEvent, Dispatch, SetStateAction } from 'react';
2
+ import type { BaseFlexProps } from './flex';
3
+ import type { BaseInputProps } from './input';
4
+ import type { FieldProps, LabelPositions } from './field';
5
+ import type { BaseStyleProps } from './style';
6
+ import type { ElementType, PrimitiveProps } from './view';
7
7
  /** @deprecated For internal use only */
8
8
  export interface BaseCheckboxProps extends BaseFlexProps, BaseInputProps {
9
9
  /**
@@ -1,6 +1,6 @@
1
- import { BaseCheckboxProps } from './checkbox';
2
- import { BaseFieldProps } from './field';
3
- import { ElementType, PrimitiveProps } from './view';
1
+ import type { BaseCheckboxProps } from './checkbox';
2
+ import type { BaseFieldProps } from './field';
3
+ import type { ElementType, PrimitiveProps } from './view';
4
4
  /** @deprecated For internal use only */
5
5
  export interface BaseCheckboxFieldProps extends BaseCheckboxProps, BaseFieldProps {
6
6
  }
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- import { BaseFlexProps } from './flex';
3
- import { BaseGridProps } from './grid';
4
- import { BaseStyleProps } from './style';
5
- import { ElementType, PrimitiveProps, PrimitivePropsWithAs } from './view';
1
+ import type * as React from 'react';
2
+ import type { BaseFlexProps } from './flex';
3
+ import type { BaseGridProps } from './grid';
4
+ import type { BaseStyleProps } from './style';
5
+ import type { ElementType, PrimitiveProps, PrimitivePropsWithAs } from './view';
6
6
  export type CollectionType = 'list' | 'grid' | 'table';
7
7
  export interface CollectionWrapperProps extends BaseStyleProps {
8
8
  /**
@@ -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 DividerOrientations = 'horizontal' | 'vertical';
4
4
  export type DividerSizes = Sizes;
5
5
  export interface DividerOptions {
@@ -1,8 +1,8 @@
1
- import { BaseFieldGroupIconButtonProps } from './fieldGroupIcon';
2
- import { BaseInputProps } from './input';
3
- import { BaseTextProps } from './text';
4
- import { BaseStyleProps } from './style';
5
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
1
+ import type { BaseFieldGroupIconButtonProps } from './fieldGroupIcon';
2
+ import type { BaseInputProps } from './input';
3
+ import type { BaseTextProps } from './text';
4
+ import type { BaseStyleProps } from './style';
5
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
6
6
  /**
7
7
  * Shared type across all field types
8
8
  * @deprecated For internal use only
@@ -1,6 +1,6 @@
1
- import { BaseFlexProps } from './flex';
2
- import { FieldVariations } from './field';
3
- import { ElementType, PrimitiveProps } from './view';
1
+ import type { BaseFlexProps } from './flex';
2
+ import type { FieldVariations } from './field';
3
+ import type { ElementType, PrimitiveProps } from './view';
4
4
  export type FieldGroupOrientation = 'horizontal' | 'vertical';
5
5
  /** @deprecated For internal use only */
6
6
  export interface BaseFieldGroupOptions extends BaseFlexProps {
@@ -1,5 +1,5 @@
1
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
2
- import { BaseButtonProps } from './button';
1
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
2
+ import type { BaseButtonProps } from './button';
3
3
  /** @deprecated For internal use only */
4
4
  export interface BaseFieldGroupIconProps extends BaseViewProps {
5
5
  /**
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- import { Sizes } from './base';
3
- import { BaseViewProps } from './view';
4
- import { FlexContainerStyleProps } from './flex';
5
- import { ElementType, PrimitiveProps } from './view';
1
+ import type * as React from 'react';
2
+ import type { Sizes } from './base';
3
+ import type { BaseViewProps } from './view';
4
+ import type { FlexContainerStyleProps } from './flex';
5
+ import type { ElementType, PrimitiveProps } from './view';
6
6
  /** @deprecated For internal use only */
7
7
  export interface BaseFieldsetProps extends BaseViewProps, FlexContainerStyleProps {
8
8
  /**
@@ -1,6 +1,6 @@
1
- import { Property } from 'csstype';
2
- import { CSSLayoutStyleProps, ResponsiveStyle } from './style';
3
- import { BaseViewProps, PrimitiveProps, ElementType } from './view';
1
+ import type { Property } from 'csstype';
2
+ import type { CSSLayoutStyleProps, ResponsiveStyle } from './style';
3
+ import type { BaseViewProps, PrimitiveProps, ElementType } from './view';
4
4
  export interface FlexContainerStyleProps extends CSSLayoutStyleProps {
5
5
  /**
6
6
  * @description
@@ -1,6 +1,6 @@
1
- import { Property } from 'csstype';
2
- import { ResponsiveStyle, CSSLayoutStyleProps } from './style';
3
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
1
+ import type { Property } from 'csstype';
2
+ import type { ResponsiveStyle, CSSLayoutStyleProps } from './style';
3
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
4
4
  export type GridSpanType = number | string | 'auto';
5
5
  export interface GridContainerStyleProps extends CSSLayoutStyleProps {
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { BaseTextProps } from './text';
2
- import { ElementType, PrimitiveProps } from './view';
1
+ import type { BaseTextProps } from './text';
2
+ import type { ElementType, PrimitiveProps } from './view';
3
3
  export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
4
4
  export type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
5
5
  /** @deprecated For internal use only */
@@ -1,4 +1,4 @@
1
- import { ElementType, PrimitiveProps, BaseViewProps } from './view';
1
+ import type { ElementType, PrimitiveProps, BaseViewProps } from './view';
2
2
  /** @deprecated For internal use only */
3
3
  export interface BaseHighlightMatchProps extends BaseViewProps {
4
4
  /**