@aws-amplify/ui 6.10.2 → 6.10.3

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 (190) hide show
  1. package/README.md +21 -3
  2. package/dist/types/helpers/accountSettings/validator.d.ts +1 -1
  3. package/dist/types/helpers/authenticator/actor.d.ts +1 -1
  4. package/dist/types/helpers/authenticator/constants.d.ts +2 -2
  5. package/dist/types/helpers/authenticator/debugUtils.d.ts +1 -1
  6. package/dist/types/helpers/authenticator/defaultAuthHubHandler.d.ts +1 -1
  7. package/dist/types/helpers/authenticator/facade.d.ts +4 -4
  8. package/dist/types/helpers/authenticator/form.d.ts +1 -1
  9. package/dist/types/helpers/authenticator/formFields/defaults.d.ts +2 -2
  10. package/dist/types/helpers/authenticator/formFields/formFields.d.ts +2 -2
  11. package/dist/types/helpers/authenticator/formFields/utils.d.ts +2 -2
  12. package/dist/types/helpers/authenticator/getRoute.d.ts +2 -2
  13. package/dist/types/helpers/authenticator/textUtil.d.ts +3 -3
  14. package/dist/types/helpers/authenticator/types.d.ts +4 -4
  15. package/dist/types/i18n/dictionaries/authenticator/de.d.ts +1 -1
  16. package/dist/types/i18n/dictionaries/authenticator/en.d.ts +1 -1
  17. package/dist/types/i18n/dictionaries/authenticator/es.d.ts +1 -1
  18. package/dist/types/i18n/dictionaries/authenticator/fr.d.ts +1 -1
  19. package/dist/types/i18n/dictionaries/authenticator/he.d.ts +1 -1
  20. package/dist/types/i18n/dictionaries/authenticator/id.d.ts +1 -1
  21. package/dist/types/i18n/dictionaries/authenticator/it.d.ts +1 -1
  22. package/dist/types/i18n/dictionaries/authenticator/ja.d.ts +1 -1
  23. package/dist/types/i18n/dictionaries/authenticator/kr.d.ts +1 -1
  24. package/dist/types/i18n/dictionaries/authenticator/nb.d.ts +1 -1
  25. package/dist/types/i18n/dictionaries/authenticator/nl.d.ts +1 -1
  26. package/dist/types/i18n/dictionaries/authenticator/pl.d.ts +1 -1
  27. package/dist/types/i18n/dictionaries/authenticator/pt.d.ts +1 -1
  28. package/dist/types/i18n/dictionaries/authenticator/ru.d.ts +1 -1
  29. package/dist/types/i18n/dictionaries/authenticator/sv.d.ts +1 -1
  30. package/dist/types/i18n/dictionaries/authenticator/th.d.ts +1 -1
  31. package/dist/types/i18n/dictionaries/authenticator/tr.d.ts +1 -1
  32. package/dist/types/i18n/dictionaries/authenticator/ua.d.ts +1 -1
  33. package/dist/types/i18n/dictionaries/authenticator/zh.d.ts +1 -1
  34. package/dist/types/machines/authenticator/actions.d.ts +2 -2
  35. package/dist/types/machines/authenticator/actors/forgotPassword.d.ts +1 -1
  36. package/dist/types/machines/authenticator/actors/signIn.d.ts +1 -1
  37. package/dist/types/machines/authenticator/actors/signOut.d.ts +1 -1
  38. package/dist/types/machines/authenticator/actors/signUp.d.ts +1 -1
  39. package/dist/types/machines/authenticator/actors/utils.d.ts +1 -1
  40. package/dist/types/machines/authenticator/actors/verifyUserAttributes.d.ts +1 -1
  41. package/dist/types/machines/authenticator/defaultServices.d.ts +2 -2
  42. package/dist/types/machines/authenticator/getAuthenticatorConfig.d.ts +1 -1
  43. package/dist/types/machines/authenticator/guards.d.ts +2 -2
  44. package/dist/types/machines/authenticator/index.d.ts +1 -1
  45. package/dist/types/machines/authenticator/types.d.ts +4 -4
  46. package/dist/types/machines/authenticator/utils.d.ts +3 -3
  47. package/dist/types/theme/components/accordion.d.ts +1 -1
  48. package/dist/types/theme/components/aiConverstion.d.ts +1 -1
  49. package/dist/types/theme/components/alert.d.ts +1 -1
  50. package/dist/types/theme/components/autocomplete.d.ts +1 -1
  51. package/dist/types/theme/components/avatar.d.ts +1 -1
  52. package/dist/types/theme/components/badge.d.ts +1 -1
  53. package/dist/types/theme/components/breadcrumbs.d.ts +1 -1
  54. package/dist/types/theme/components/buttonGroup.d.ts +1 -1
  55. package/dist/types/theme/components/card.d.ts +1 -1
  56. package/dist/types/theme/components/checkbox.d.ts +1 -1
  57. package/dist/types/theme/components/checkboxField.d.ts +1 -1
  58. package/dist/types/theme/components/collection.d.ts +1 -1
  59. package/dist/types/theme/components/divider.d.ts +1 -1
  60. package/dist/types/theme/components/dropZone.d.ts +1 -1
  61. package/dist/types/theme/components/field.d.ts +1 -1
  62. package/dist/types/theme/components/fieldGroup.d.ts +1 -1
  63. package/dist/types/theme/components/fieldset.d.ts +1 -1
  64. package/dist/types/theme/components/fileUploader.d.ts +1 -1
  65. package/dist/types/theme/components/heading.d.ts +1 -1
  66. package/dist/types/theme/components/highlightMatch.d.ts +1 -1
  67. package/dist/types/theme/components/index.d.ts +48 -48
  68. package/dist/types/theme/components/input.d.ts +1 -1
  69. package/dist/types/theme/components/loader.d.ts +1 -1
  70. package/dist/types/theme/components/menu.d.ts +1 -1
  71. package/dist/types/theme/components/message.d.ts +1 -1
  72. package/dist/types/theme/components/pagination.d.ts +1 -1
  73. package/dist/types/theme/components/placeholder.d.ts +1 -1
  74. package/dist/types/theme/components/radio.d.ts +1 -1
  75. package/dist/types/theme/components/rating.d.ts +1 -1
  76. package/dist/types/theme/components/scrollview.d.ts +1 -1
  77. package/dist/types/theme/components/searchField.d.ts +1 -1
  78. package/dist/types/theme/components/select.d.ts +1 -1
  79. package/dist/types/theme/components/selectField.d.ts +1 -1
  80. package/dist/types/theme/components/sliderField.d.ts +1 -1
  81. package/dist/types/theme/components/stepperField.d.ts +1 -1
  82. package/dist/types/theme/components/storageBrowser.d.ts +1 -1
  83. package/dist/types/theme/components/storageManager.d.ts +1 -1
  84. package/dist/types/theme/components/switchField.d.ts +1 -1
  85. package/dist/types/theme/components/table.d.ts +1 -1
  86. package/dist/types/theme/components/tabs.d.ts +1 -1
  87. package/dist/types/theme/components/text.d.ts +1 -1
  88. package/dist/types/theme/components/textField.d.ts +1 -1
  89. package/dist/types/theme/components/textarea.d.ts +1 -1
  90. package/dist/types/theme/components/textareaField.d.ts +1 -1
  91. package/dist/types/theme/components/toggleButton.d.ts +1 -1
  92. package/dist/types/theme/components/utils.d.ts +5 -9
  93. package/dist/types/theme/createTheme/createAnimationCSS.d.ts +2 -2
  94. package/dist/types/theme/createTheme/createColorPalette.d.ts +1 -1
  95. package/dist/types/theme/createTheme/createComponentCSS.d.ts +3 -3
  96. package/dist/types/theme/createTheme/createComponentClasses.d.ts +3 -3
  97. package/dist/types/theme/createTheme/createGlobalCSS.d.ts +1 -1
  98. package/dist/types/theme/createTheme/createTheme.d.ts +2 -2
  99. package/dist/types/theme/createTheme/defineComponentTheme.d.ts +5 -5
  100. package/dist/types/theme/createTheme/index.d.ts +4 -2
  101. package/dist/types/theme/createTheme/utils.d.ts +3 -3
  102. package/dist/types/theme/defaultDarkModeOverride.d.ts +2 -2
  103. package/dist/types/theme/defaultTheme.d.ts +1 -1
  104. package/dist/types/theme/index.d.ts +5 -3
  105. package/dist/types/theme/tokens/borderWidths.d.ts +1 -1
  106. package/dist/types/theme/tokens/colors.d.ts +1 -1
  107. package/dist/types/theme/tokens/components/accordion.d.ts +1 -1
  108. package/dist/types/theme/tokens/components/aiConversation.d.ts +1 -1
  109. package/dist/types/theme/tokens/components/alert.d.ts +1 -1
  110. package/dist/types/theme/tokens/components/authenticator.d.ts +1 -1
  111. package/dist/types/theme/tokens/components/autocomplete.d.ts +1 -1
  112. package/dist/types/theme/tokens/components/avatar.d.ts +1 -1
  113. package/dist/types/theme/tokens/components/badge.d.ts +1 -1
  114. package/dist/types/theme/tokens/components/breadcrumbs.d.ts +1 -1
  115. package/dist/types/theme/tokens/components/button.d.ts +1 -1
  116. package/dist/types/theme/tokens/components/card.d.ts +1 -1
  117. package/dist/types/theme/tokens/components/checkbox.d.ts +1 -1
  118. package/dist/types/theme/tokens/components/checkboxField.d.ts +1 -1
  119. package/dist/types/theme/tokens/components/collection.d.ts +1 -1
  120. package/dist/types/theme/tokens/components/copy.d.ts +1 -1
  121. package/dist/types/theme/tokens/components/dialCodeSelect.d.ts +1 -1
  122. package/dist/types/theme/tokens/components/divider.d.ts +1 -1
  123. package/dist/types/theme/tokens/components/dropZone.d.ts +1 -1
  124. package/dist/types/theme/tokens/components/field.d.ts +1 -1
  125. package/dist/types/theme/tokens/components/fieldControl.d.ts +1 -1
  126. package/dist/types/theme/tokens/components/fieldGroup.d.ts +1 -1
  127. package/dist/types/theme/tokens/components/fieldMessages.d.ts +1 -1
  128. package/dist/types/theme/tokens/components/fieldset.d.ts +1 -1
  129. package/dist/types/theme/tokens/components/fileuploader.d.ts +2 -2
  130. package/dist/types/theme/tokens/components/flex.d.ts +1 -1
  131. package/dist/types/theme/tokens/components/heading.d.ts +1 -1
  132. package/dist/types/theme/tokens/components/highlightMatch.d.ts +1 -1
  133. package/dist/types/theme/tokens/components/icon.d.ts +1 -1
  134. package/dist/types/theme/tokens/components/image.d.ts +1 -1
  135. package/dist/types/theme/tokens/components/inAppMessaging.d.ts +1 -1
  136. package/dist/types/theme/tokens/components/index.d.ts +57 -57
  137. package/dist/types/theme/tokens/components/input.d.ts +1 -1
  138. package/dist/types/theme/tokens/components/link.d.ts +1 -1
  139. package/dist/types/theme/tokens/components/liveness.d.ts +1 -1
  140. package/dist/types/theme/tokens/components/loader.d.ts +1 -1
  141. package/dist/types/theme/tokens/components/menu.d.ts +1 -1
  142. package/dist/types/theme/tokens/components/message.d.ts +1 -1
  143. package/dist/types/theme/tokens/components/pagination.d.ts +1 -1
  144. package/dist/types/theme/tokens/components/passwordField.d.ts +1 -1
  145. package/dist/types/theme/tokens/components/phoneNumberField.d.ts +1 -1
  146. package/dist/types/theme/tokens/components/placeholder.d.ts +1 -1
  147. package/dist/types/theme/tokens/components/radio.d.ts +1 -1
  148. package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
  149. package/dist/types/theme/tokens/components/rating.d.ts +1 -1
  150. package/dist/types/theme/tokens/components/searchField.d.ts +1 -1
  151. package/dist/types/theme/tokens/components/select.d.ts +1 -1
  152. package/dist/types/theme/tokens/components/selectField.d.ts +1 -1
  153. package/dist/types/theme/tokens/components/sliderField.d.ts +1 -1
  154. package/dist/types/theme/tokens/components/stepperField.d.ts +1 -1
  155. package/dist/types/theme/tokens/components/storagemanager.d.ts +2 -2
  156. package/dist/types/theme/tokens/components/switchField.d.ts +1 -1
  157. package/dist/types/theme/tokens/components/table.d.ts +1 -1
  158. package/dist/types/theme/tokens/components/tabs.d.ts +1 -1
  159. package/dist/types/theme/tokens/components/text.d.ts +1 -1
  160. package/dist/types/theme/tokens/components/textAreaField.d.ts +1 -1
  161. package/dist/types/theme/tokens/components/textField.d.ts +1 -1
  162. package/dist/types/theme/tokens/components/toggleButton.d.ts +1 -1
  163. package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +1 -1
  164. package/dist/types/theme/tokens/fontSizes.d.ts +1 -1
  165. package/dist/types/theme/tokens/fontWeights.d.ts +1 -1
  166. package/dist/types/theme/tokens/fonts.d.ts +1 -1
  167. package/dist/types/theme/tokens/index.d.ts +16 -16
  168. package/dist/types/theme/tokens/lineHeights.d.ts +1 -1
  169. package/dist/types/theme/tokens/opacities.d.ts +1 -1
  170. package/dist/types/theme/tokens/outlineOffsets.d.ts +1 -1
  171. package/dist/types/theme/tokens/outlineWidths.d.ts +1 -1
  172. package/dist/types/theme/tokens/radii.d.ts +1 -1
  173. package/dist/types/theme/tokens/shadows.d.ts +1 -1
  174. package/dist/types/theme/tokens/space.d.ts +1 -1
  175. package/dist/types/theme/tokens/time.d.ts +1 -1
  176. package/dist/types/theme/tokens/transforms.d.ts +1 -1
  177. package/dist/types/theme/tokens/types/designToken.d.ts +1 -1
  178. package/dist/types/theme/tokens/types/typography.d.ts +1 -1
  179. package/dist/types/theme/types.d.ts +7 -6
  180. package/dist/types/types/authenticator/attributes.d.ts +1 -1
  181. package/dist/types/types/authenticator/form.d.ts +2 -2
  182. package/dist/types/types/authenticator/validator.d.ts +2 -2
  183. package/dist/types/types/index.d.ts +1 -1
  184. package/dist/types/types/primitives/index.d.ts +2 -1
  185. package/dist/types/utils/index.d.ts +4 -2
  186. package/dist/types/utils/setUserAgent/constants.d.ts +1 -1
  187. package/dist/types/utils/setUserAgent/index.d.ts +2 -1
  188. package/dist/types/utils/utils.d.ts +1 -1
  189. package/dist/types/validators/index.d.ts +1 -1
  190. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type FieldMessagesTokens<Output extends OutputVariantKey> = {
3
3
  error?: DesignTokenProperties<'color' | 'fontSize', Output>;
4
4
  description?: DesignTokenProperties<'color' | 'fontSize' | 'fontStyle', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type FieldsetSizeTokens<Output> = DesignTokenProperties<'gap', Output>;
3
3
  export type FieldsetOutlinedTokens<Output> = DesignTokenProperties<'padding' | 'borderColor' | 'borderWidth' | 'borderStyle', Output> & {
4
4
  small?: DesignTokenProperties<'padding', Output>;
@@ -1,5 +1,5 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- import { TypographyTokens } from '../types/typography';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
+ import type { TypographyTokens } from '../types/typography';
3
3
  type BaseDropZoneTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderRadius', OutputType>;
4
4
  export interface FileUploaderTokens<OutputType extends OutputVariantKey> {
5
5
  dropzone?: DesignTokenProperties<'gap' | 'paddingBlock' | 'paddingInline' | 'textAlign', OutputType> & BaseDropZoneTokens<OutputType> & {
@@ -1,3 +1,3 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type FlexTokens<Output extends OutputVariantKey> = DesignTokenProperties<'gap' | 'justifyContent' | 'alignItems' | 'alignContent' | 'flexWrap', Output>;
3
3
  export declare const flex: Required<FlexTokens<'default'>>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type HeadingLevelTokens<Output> = DesignTokenProperties<'fontSize' | 'fontWeight', Output>;
3
3
  type Level = 1 | 2 | 3 | 4 | 5 | 6;
4
4
  export type HeadingTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'lineHeight', Output> & Partial<Record<Level, HeadingLevelTokens<Output>>>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type HighlightMatchTokens<OutputType extends OutputVariantKey> = {
3
3
  highlighted?: DesignTokenProperties<'fontWeight', OutputType>;
4
4
  };
@@ -1,3 +1,3 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type IconTokens<Output extends OutputVariantKey> = DesignTokenProperties<'height' | 'lineHeight', Output>;
3
3
  export declare const icon: Required<IconTokens<'default'>>;
@@ -1,3 +1,3 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type ImageTokens<Output extends OutputVariantKey> = DesignTokenProperties<'maxWidth' | 'height' | 'objectFit' | 'objectPosition', Output>;
3
3
  export declare const image: Required<ImageTokens<'default'>>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type BannerTokens<Output> = DesignTokenProperties<'height' | 'width', Output>;
3
3
  type ButtonTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderRadius' | 'color', Output>;
4
4
  type DialogTokens<Output> = DesignTokenProperties<'height' | 'minHeight' | 'minWidth' | 'width', Output>;
@@ -1,60 +1,60 @@
1
- import { AlertTokens } from './alert';
2
- import { AIConversationTokens } from './aiConversation';
3
- import { AutocompleteTokens } from './autocomplete';
4
- import { AuthenticatorTokens } from './authenticator';
5
- import { AvatarTokens } from './avatar';
6
- import { BadgeTokens } from './badge';
7
- import { BreadcrumbsTokens } from './breadcrumbs';
8
- import { ButtonTokens } from './button';
9
- import { CardTokens } from './card';
10
- import { CheckboxTokens } from './checkbox';
11
- import { CheckboxFieldTokens } from './checkboxField';
12
- import { CollectionTokens } from './collection';
13
- import { CopyTokens } from './copy';
14
- import { DialCodeSelectTokens } from './dialCodeSelect';
15
- import { DividerTokens } from './divider';
16
- import { DropZoneTokens } from './dropZone';
17
- import { AccordionTokens } from './accordion';
18
- import { FieldTokens } from './field';
19
- import { FieldControlTokens } from './fieldControl';
20
- import { FieldGroupTokens } from './fieldGroup';
21
- import { FieldsetTokens } from './fieldset';
22
- import { FieldMessagesTokens } from './fieldMessages';
23
- import { FileUploaderTokens } from './fileuploader';
24
- import { FlexTokens } from './flex';
25
- import { HeadingTokens } from './heading';
26
- import { HighlightMatchTokens } from './highlightMatch';
27
- import { IconTokens } from './icon';
28
- import { InputTokens } from './input';
29
- import { ImageTokens } from './image';
30
- import { InAppMessagingTokens } from './inAppMessaging';
31
- import { LinkTokens } from './link';
32
- import { LivenessTokens } from './liveness';
33
- import { LoaderTokens } from './loader';
34
- import { MenuTokens } from './menu';
35
- import { MessageTokens } from './message';
36
- import { PaginationTokens } from './pagination';
37
- import { PasswordFieldTokens } from './passwordField';
38
- import { PhoneNumberFieldTokens } from './phoneNumberField';
39
- import { PlaceholderTokens } from './placeholder';
40
- import { RadioTokens } from './radio';
41
- import { RadioGroupTokens } from './radioGroup';
42
- import { RatingTokens } from './rating';
43
- import { SearchFieldTokens } from './searchField';
44
- import { SelectTokens } from './select';
45
- import { SelectFieldTokens } from './selectField';
46
- import { SliderFieldTokens } from './sliderField';
47
- import { StepperFieldTokens } from './stepperField';
48
- import { StorageManagerTokens } from './storagemanager';
49
- import { SwitchFieldTokens } from './switchField';
50
- import { TableTokens } from './table';
51
- import { TabsTokens } from './tabs';
52
- import { TextTokens } from './text';
53
- import { TextAreaFieldTokens } from './textAreaField';
54
- import { TextFieldTokens } from './textField';
55
- import { ToggleButtonTokens } from './toggleButton';
56
- import { ToggleButtonGroupTokens } from './toggleButtonGroup';
57
- import { OutputVariantKey } from '../types/designToken';
1
+ import type { AlertTokens } from './alert';
2
+ import type { AIConversationTokens } from './aiConversation';
3
+ import type { AutocompleteTokens } from './autocomplete';
4
+ import type { AuthenticatorTokens } from './authenticator';
5
+ import type { AvatarTokens } from './avatar';
6
+ import type { BadgeTokens } from './badge';
7
+ import type { BreadcrumbsTokens } from './breadcrumbs';
8
+ import type { ButtonTokens } from './button';
9
+ import type { CardTokens } from './card';
10
+ import type { CheckboxTokens } from './checkbox';
11
+ import type { CheckboxFieldTokens } from './checkboxField';
12
+ import type { CollectionTokens } from './collection';
13
+ import type { CopyTokens } from './copy';
14
+ import type { DialCodeSelectTokens } from './dialCodeSelect';
15
+ import type { DividerTokens } from './divider';
16
+ import type { DropZoneTokens } from './dropZone';
17
+ import type { AccordionTokens } from './accordion';
18
+ import type { FieldTokens } from './field';
19
+ import type { FieldControlTokens } from './fieldControl';
20
+ import type { FieldGroupTokens } from './fieldGroup';
21
+ import type { FieldsetTokens } from './fieldset';
22
+ import type { FieldMessagesTokens } from './fieldMessages';
23
+ import type { FileUploaderTokens } from './fileuploader';
24
+ import type { FlexTokens } from './flex';
25
+ import type { HeadingTokens } from './heading';
26
+ import type { HighlightMatchTokens } from './highlightMatch';
27
+ import type { IconTokens } from './icon';
28
+ import type { InputTokens } from './input';
29
+ import type { ImageTokens } from './image';
30
+ import type { InAppMessagingTokens } from './inAppMessaging';
31
+ import type { LinkTokens } from './link';
32
+ import type { LivenessTokens } from './liveness';
33
+ import type { LoaderTokens } from './loader';
34
+ import type { MenuTokens } from './menu';
35
+ import type { MessageTokens } from './message';
36
+ import type { PaginationTokens } from './pagination';
37
+ import type { PasswordFieldTokens } from './passwordField';
38
+ import type { PhoneNumberFieldTokens } from './phoneNumberField';
39
+ import type { PlaceholderTokens } from './placeholder';
40
+ import type { RadioTokens } from './radio';
41
+ import type { RadioGroupTokens } from './radioGroup';
42
+ import type { RatingTokens } from './rating';
43
+ import type { SearchFieldTokens } from './searchField';
44
+ import type { SelectTokens } from './select';
45
+ import type { SelectFieldTokens } from './selectField';
46
+ import type { SliderFieldTokens } from './sliderField';
47
+ import type { StepperFieldTokens } from './stepperField';
48
+ import type { StorageManagerTokens } from './storagemanager';
49
+ import type { SwitchFieldTokens } from './switchField';
50
+ import type { TableTokens } from './table';
51
+ import type { TabsTokens } from './tabs';
52
+ import type { TextTokens } from './text';
53
+ import type { TextAreaFieldTokens } from './textAreaField';
54
+ import type { TextFieldTokens } from './textField';
55
+ import type { ToggleButtonTokens } from './toggleButton';
56
+ import type { ToggleButtonGroupTokens } from './toggleButtonGroup';
57
+ import type { OutputVariantKey } from '../types/designToken';
58
58
  type BaseComponentTokens<Output extends OutputVariantKey> = {
59
59
  accordion?: AccordionTokens<Output>;
60
60
  aiConversation?: AIConversationTokens<Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type InputTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
3
3
  _focus?: DesignTokenProperties<'borderColor', Output>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type LinkState = 'active' | 'focus' | 'hover' | 'visited';
3
3
  export type LinkTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color', Output> & Partial<Record<LinkState, DesignTokenProperties<'color', Output>>>;
4
4
  export declare const link: Required<LinkTokens<'default'>>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type ModalTokenKey = 'backgroundColor';
3
3
  type LivenessModalTokens<OutputType> = DesignTokenProperties<ModalTokenKey, OutputType>;
4
4
  export type LivenessTokens<OutputType extends OutputVariantKey> = {
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type LoaderSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'height' | 'width', Output>;
3
3
  type LoaderLinearSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'strokeWidth', Output>;
4
4
  type BaseLoaderTokens<Output> = DesignTokenProperties<'animationDuration' | 'fontSize' | 'height' | 'strokeEmpty' | 'strokeFilled' | 'strokeLinecap' | 'width', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type MenuSizeTokens<Output> = DesignTokenProperties<'width' | 'height', Output>;
3
3
  export type MenuTokens<Output extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'boxShadow' | 'flexDirection' | 'gap' | 'maxWidth' | 'minWidth', Output> & {
4
4
  small?: MenuSizeTokens<Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type MessageColorThemeTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'color' | 'borderColor', OutputType>;
3
3
  type MessageVariationTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'color' | 'borderColor', OutputType> & {
4
4
  info?: MessageColorThemeTokens<OutputType>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type PaginationTokens<Output extends OutputVariantKey> = {
3
3
  current?: DesignTokenProperties<'alignItems' | 'backgroundColor' | 'color' | 'fontSize' | 'justifyContent', Output>;
4
4
  button?: DesignTokenProperties<'color' | 'paddingInlineEnd' | 'paddingInlineStart' | 'transitionDuration' | 'transitionProperty', Output> & {
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type StateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output>;
3
3
  type StateWithShadowTokens<Output> = StateTokens<Output> & DesignTokenProperties<'boxShadow', Output>;
4
4
  type ErrorStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output> & {
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type PhoneNumberFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
3
3
  _focus?: DesignTokenProperties<'borderColor', Output>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type PlaceholderSizeTokens<Output> = DesignTokenProperties<'height', Output>;
3
3
  export type PlaceholderTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderRadius' | 'transitionDuration' | 'startColor' | 'endColor', Output> & {
4
4
  small?: PlaceholderSizeTokens<Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type RadioButtonSizeTokens<Output> = DesignTokenProperties<'width' | 'height', Output>;
3
3
  export type RadioTokens<Output extends OutputVariantKey> = DesignTokenProperties<'alignItems' | 'justifyContent' | 'gap', Output> & {
4
4
  _disabled?: DesignTokenProperties<'cursor', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type RadioGroupTokens<Output extends OutputVariantKey> = {
3
3
  radio?: DesignTokenProperties<'borderWidth' | 'borderColor' | 'backgroundColor', Output> & {
4
4
  _checked?: DesignTokenProperties<'color', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type RatingTokens<Output extends OutputVariantKey> = {
3
3
  large?: DesignTokenProperties<'size', Output>;
4
4
  default?: DesignTokenProperties<'size', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type StateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output>;
3
3
  type SearchTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color'> & {
4
4
  _active?: StateTokens<Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type SelectSizeTokens<Output> = DesignTokenProperties<'minWidth' | 'paddingInlineEnd', Output>;
3
3
  type SelectIconWrapperTokens<Output> = DesignTokenProperties<'alignItems' | 'position' | 'top' | 'right' | 'transform' | 'pointerEvents', Output> & {
4
4
  small?: DesignTokenProperties<'right', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type SelectFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'color' | 'flexDirection' | 'fontSize', Output> & {
3
3
  _focus?: DesignTokenProperties<'borderColor', Output>;
4
4
  label?: DesignTokenProperties<'color', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type SliderFieldThumbStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'boxShadow', Output>;
3
3
  type SliderFieldSizeTokens<Output> = {
4
4
  track?: DesignTokenProperties<'height', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type ButtonStateColorTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color', Output>;
3
3
  export type StepperFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'flexDirection', Output> & {
4
4
  input?: DesignTokenProperties<'textAlign' | 'color' | 'fontSize', Output>;
@@ -1,5 +1,5 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- import { TypographyTokens } from '../types/typography';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
+ import type { TypographyTokens } from '../types/typography';
3
3
  type BaseDropZoneTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderRadius', OutputType>;
4
4
  export interface StorageManagerTokens<OutputType extends OutputVariantKey> {
5
5
  dropzone?: DesignTokenProperties<'gap' | 'paddingBlock' | 'paddingInline' | 'textAlign', OutputType> & BaseDropZoneTokens<OutputType> & {
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type SwitchFieldSizeTokens<OutputType> = DesignTokenProperties<'fontSize', OutputType>;
3
3
  type SwitchFieldTrackCheckedTokens<OutputType> = DesignTokenProperties<'backgroundColor', OutputType>;
4
4
  export type SwitchFieldTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'fontSize', OutputType> & {
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type BaseTableTokens<Output> = DesignTokenProperties<'display' | 'verticalAlign', Output>;
3
3
  type TableCellTokens<Output> = DesignTokenProperties<'borderColor' | 'borderStyle' | 'borderWidth' | 'color' | 'display' | 'fontSize' | 'fontWeight' | 'padding' | 'verticalAlign', Output> & {
4
4
  large?: TableCellSizeTokens<Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type TabItemStateTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'boxShadow' | 'color', OutputType>;
3
3
  type TabItemTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderStyle' | 'borderWidth' | 'color' | 'fontSize' | 'fontWeight' | 'paddingVertical' | 'paddingHorizontal' | 'textAlign' | 'transitionDuration', OutputType> & {
4
4
  _hover?: TabItemStateTokens<OutputType>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type OrderVariantKey = 'primary' | 'secondary' | 'tertiary';
3
3
  type InformationVariantKey = 'info' | 'warning' | 'error' | 'success';
4
4
  type BaseTextTokens<Output> = DesignTokenProperties<'color', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type TokenKey = 'color' | 'borderColor' | 'fontSize';
3
3
  export type TextAreaFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<Output extends 'default' ? Exclude<TokenKey, 'fontSize'> : TokenKey, Output> & {
4
4
  _focus?: DesignTokenProperties<'borderColor', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  export type TextFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
3
3
  _focus?: DesignTokenProperties<'borderColor', Output>;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type ToggleButtonStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color', Output>;
3
3
  export type ToggleButtonTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'color', Output> & {
4
4
  _hover?: DesignTokenProperties<'backgroundColor', Output>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
1
+ import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  type ToggleButtonGroupTokenKey = 'alignItems' | 'alignContent' | 'justifyContent';
3
3
  export type ToggleButtonGroupTokens<Output extends OutputVariantKey> = DesignTokenProperties<ToggleButtonGroupTokenKey, Output>;
4
4
  export declare const togglebuttongroup: Required<ToggleButtonGroupTokens<'default'>>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, FontSizeValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, FontSizeValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type FontSize = 'xxxs' | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
3
3
  export type FontSizes<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<FontSize, FontSizeValue<Platform, Output>, Output, Platform> & RecursiveDesignToken<FontSizeValue<Platform, Output>, Output, Platform>;
4
4
  export declare const fontSizes: FontSizes<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, FontWeightValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, FontWeightValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type FontWeight = 'hairline' | 'thin' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
3
3
  export type FontWeights<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<FontWeight, FontWeightValue<Platform, Output>, Output, Platform> & RecursiveDesignToken<FontWeightValue<Platform, Output>, Output, Platform>;
4
4
  export declare const fontWeights: FontWeights<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, FontValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, FontValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type FontVariant = 'variable' | 'static';
3
3
  type BaseFonts<Output extends OutputVariantKey = unknown, Platform = unknown> = {
4
4
  default?: DesignTokenValues<FontVariant, FontValue, Output, Platform>;
@@ -1,19 +1,19 @@
1
- import { BorderWidths } from './borderWidths';
2
- import { Colors } from './colors';
3
- import { ComponentTokens, DefaultComponentTokens, WebComponentTokens } from './components';
4
- import { Fonts } from './fonts';
5
- import { FontSizes } from './fontSizes';
6
- import { FontWeights } from './fontWeights';
7
- import { LineHeights } from './lineHeights';
8
- import { Opacities } from './opacities';
9
- import { OutlineOffsets } from './outlineOffsets';
10
- import { OutlineWidths } from './outlineWidths';
11
- import { Radii } from './radii';
12
- import { Shadows } from './shadows';
13
- import { Space } from './space';
14
- import { Time } from './time';
15
- import { Transforms } from './transforms';
16
- import { OutputVariantKey } from './types/designToken';
1
+ import type { BorderWidths } from './borderWidths';
2
+ import type { Colors } from './colors';
3
+ import type { ComponentTokens, DefaultComponentTokens, WebComponentTokens } from './components';
4
+ import type { Fonts } from './fonts';
5
+ import type { FontSizes } from './fontSizes';
6
+ import type { FontWeights } from './fontWeights';
7
+ import type { LineHeights } from './lineHeights';
8
+ import type { Opacities } from './opacities';
9
+ import type { OutlineOffsets } from './outlineOffsets';
10
+ import type { OutlineWidths } from './outlineWidths';
11
+ import type { Radii } from './radii';
12
+ import type { Shadows } from './shadows';
13
+ import type { Space } from './space';
14
+ import type { Time } from './time';
15
+ import type { Transforms } from './transforms';
16
+ import type { OutputVariantKey } from './types/designToken';
17
17
  /**
18
18
  * Used for custom themes
19
19
  */
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, LineHeightValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, LineHeightValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type LineHeightSize = 'small' | 'medium' | 'large';
3
3
  export type LineHeights<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<LineHeightSize, LineHeightValue, Output, Platform> & RecursiveDesignToken<LineHeightValue, Output, Platform>;
4
4
  export declare const lineHeights: LineHeights<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OpacityValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, OpacityValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type OpacityScale = 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
3
3
  export type Opacities<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OpacityScale, OpacityValue<Platform, Output>, Output, Platform> & RecursiveDesignToken<OpacityValue<Platform, Output>, Output, Platform>;
4
4
  export declare const opacities: Opacities<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutlineOffsetValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, OutlineOffsetValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type OutlineOffsetSize = 'small' | 'medium' | 'large';
3
3
  export type OutlineOffsets<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OutlineOffsetSize, OutlineOffsetValue, Output, Platform> & RecursiveDesignToken<OutlineOffsetValue, Output, Platform>;
4
4
  export declare const outlineOffsets: OutlineOffsets<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutlineWidthValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, OutlineWidthValue, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
2
2
  type OutlineWidthSize = 'small' | 'medium' | 'large';
3
3
  export type OutlineWidths<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OutlineWidthSize, OutlineWidthValue, Output, Platform> & RecursiveDesignToken<OutlineWidthValue, Output, Platform>;
4
4
  export declare const outlineWidths: OutlineWidths<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutputVariantKey, RadiusValue, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, OutputVariantKey, RadiusValue, RecursiveDesignToken } from './types/designToken';
2
2
  type RadiusSize = 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl';
3
3
  export type Radii<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<RadiusSize, RadiusValue<Platform, Output>, Output, Platform> & RecursiveDesignToken<RadiusValue<Platform, Output>, Output, Platform>;
4
4
  export declare const radii: Radii<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutputVariantKey, RecursiveDesignToken, ShadowValue } from './types/designToken';
1
+ import type { DesignTokenValues, OutputVariantKey, RecursiveDesignToken, ShadowValue } from './types/designToken';
2
2
  type ShadowSize = 'small' | 'medium' | 'large';
3
3
  export type Shadows<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<ShadowSize, ShadowValue, Output, Platform> & RecursiveDesignToken<ShadowValue, Output, Platform>;
4
4
  export declare const shadows: Shadows<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutputVariantKey, SpaceValue, RecursiveDesignToken } from './types/designToken';
1
+ import type { DesignTokenValues, OutputVariantKey, SpaceValue, RecursiveDesignToken } from './types/designToken';
2
2
  type SpaceSize = 'xxxs' | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl';
3
3
  export type SpaceSizes<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<SpaceSize | 'zero', SpaceValue<Platform>, Output, Platform>;
4
4
  type BaseSpace<Output extends OutputVariantKey = unknown, Platform = unknown> = SpaceSizes<Output, Platform> & {
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutputVariantKey, RecursiveDesignToken, TimeValue } from './types/designToken';
1
+ import type { DesignTokenValues, OutputVariantKey, RecursiveDesignToken, TimeValue } from './types/designToken';
2
2
  type Duration = 'short' | 'medium' | 'long';
3
3
  export type Time<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<Duration, TimeValue<Platform, Output>, Output, Platform> & RecursiveDesignToken<TimeValue<Platform, Output>, Output, Platform>;
4
4
  export declare const time: Time<'default'>;
@@ -1,4 +1,4 @@
1
- import { DesignTokenValues, OutputVariantKey, TransformValue } from './types/designToken';
1
+ import type { DesignTokenValues, OutputVariantKey, TransformValue } from './types/designToken';
2
2
  type TransformSize = 'small' | 'medium' | 'large';
3
3
  export type BaseTransforms<Output extends OutputVariantKey = unknown, Platform = unknown> = {
4
4
  slideX?: DesignTokenValues<TransformSize, TransformValue, Output, Platform>;
@@ -1,4 +1,4 @@
1
- import { Properties } from 'csstype';
1
+ import type { Properties } from 'csstype';
2
2
  /**
3
3
  * a DesignToken can be either an object with a `value` key of `ValueType` or the `ValueType` itself
4
4
  */
@@ -1,2 +1,2 @@
1
- import { DesignTokenProperties } from './designToken';
1
+ import type { DesignTokenProperties } from './designToken';
2
2
  export type TypographyTokens<OutputType> = DesignTokenProperties<'fontSize' | 'fontWeight' | 'color', OutputType>;
@@ -1,8 +1,9 @@
1
- import { PartialDeep } from '../types';
2
- import { DefaultTokens, Tokens, WebTokens } from './tokens';
3
- import { Breakpoints } from './breakpoints';
4
- import { ComponentsTheme } from './components';
5
- import { CSSProperties } from './components/utils';
1
+ import type { PartialDeep } from '../types';
2
+ import type { DefaultTokens, WebTokens } from './tokens';
3
+ import type { Tokens } from './tokens';
4
+ import type { Breakpoints } from './breakpoints';
5
+ import type { ComponentsTheme } from './components';
6
+ import type { CSSProperties } from './components/utils';
6
7
  export * from './tokens/types/designToken';
7
8
  export type { BorderWidths } from './tokens/borderWidths';
8
9
  export type { FontSizes } from './tokens/fontSizes';
@@ -11,7 +12,7 @@ export type { LineHeights } from './tokens/lineHeights';
11
12
  export type { Radii } from './tokens/radii';
12
13
  export type { Shadows } from './tokens/shadows';
13
14
  export type { SpaceSizes } from './tokens/space';
14
- export { Tokens };
15
+ export type { Tokens };
15
16
  /**
16
17
  * An override is a set of tokens that override others
17
18
  * in certain contexts. On Android, these are like resource
@@ -1,4 +1,4 @@
1
- import { UserAttributeKey } from 'aws-amplify/auth';
1
+ import type { UserAttributeKey } from 'aws-amplify/auth';
2
2
  /** Array of auth fields that we supply defaults with */
3
3
  export declare const signUpFieldsWithDefault: readonly ["birthdate", "email", "family_name", "given_name", "middle_name", "name", "nickname", "phone_number", "preferred_username", "profile", "website"];
4
4
  /** Auth fields that we supply defaults with */
@@ -1,5 +1,5 @@
1
- import { ResourcesConfig } from 'aws-amplify';
2
- import { AuthFieldsWithDefaults } from './attributes';
1
+ import type { ResourcesConfig } from 'aws-amplify';
2
+ import type { AuthFieldsWithDefaults } from './attributes';
3
3
  /**
4
4
  * Map of each input name to its value
5
5
  */
@@ -1,5 +1,5 @@
1
- import { PasswordSettings } from '.';
2
- import { AuthFormData, AuthTouchData } from './form';
1
+ import type { PasswordSettings } from '.';
2
+ import type { AuthFormData, AuthTouchData } from './form';
3
3
  /**
4
4
  * Maps each input to its validation error, if any
5
5
  */