@aws-amplify/ui 5.6.0 → 5.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/esm/index.mjs +1 -1
  2. package/dist/esm/utils/index.mjs +1 -1
  3. package/dist/styles.css +1 -1
  4. package/dist/types/helpers/accountSettings/utils.d.ts +1 -1
  5. package/dist/types/helpers/authenticator/facade.d.ts +5 -5
  6. package/dist/types/helpers/authenticator/utils.d.ts +1 -1
  7. package/dist/types/helpers/utils.d.ts +1 -1
  8. package/dist/types/i18n/dictionaries/authenticator/types.d.ts +2 -2
  9. package/dist/types/i18n/translations.d.ts +2 -2
  10. package/dist/types/machines/authenticator/actions.d.ts +27 -27
  11. package/dist/types/machines/authenticator/actors/resetPassword.d.ts +1 -1
  12. package/dist/types/machines/authenticator/actors/signIn.d.ts +1 -1
  13. package/dist/types/machines/authenticator/index.d.ts +1 -1
  14. package/dist/types/machines/authenticator/signUp.d.ts +1 -1
  15. package/dist/types/theme/breakpoints.d.ts +1 -1
  16. package/dist/types/theme/tokens/borderWidths.d.ts +2 -2
  17. package/dist/types/theme/tokens/colors.d.ts +22 -22
  18. package/dist/types/theme/tokens/components/alert.d.ts +5 -5
  19. package/dist/types/theme/tokens/components/authenticator.d.ts +10 -10
  20. package/dist/types/theme/tokens/components/autocomplete.d.ts +1 -1
  21. package/dist/types/theme/tokens/components/badge.d.ts +6 -6
  22. package/dist/types/theme/tokens/components/button.d.ts +8 -8
  23. package/dist/types/theme/tokens/components/card.d.ts +3 -3
  24. package/dist/types/theme/tokens/components/checkbox.d.ts +6 -6
  25. package/dist/types/theme/tokens/components/checkboxField.d.ts +1 -1
  26. package/dist/types/theme/tokens/components/collection.d.ts +3 -3
  27. package/dist/types/theme/tokens/components/copy.d.ts +1 -1
  28. package/dist/types/theme/tokens/components/dialCodeSelect.d.ts +1 -1
  29. package/dist/types/theme/tokens/components/divider.d.ts +2 -2
  30. package/dist/types/theme/tokens/components/expander.d.ts +5 -5
  31. package/dist/types/theme/tokens/components/field.d.ts +2 -2
  32. package/dist/types/theme/tokens/components/fieldControl.d.ts +6 -6
  33. package/dist/types/theme/tokens/components/fieldGroup.d.ts +1 -1
  34. package/dist/types/theme/tokens/components/fieldMessages.d.ts +1 -1
  35. package/dist/types/theme/tokens/components/fileUploader.d.ts +2 -2
  36. package/dist/types/theme/tokens/components/flex.d.ts +1 -1
  37. package/dist/types/theme/tokens/components/heading.d.ts +3 -3
  38. package/dist/types/theme/tokens/components/highlightMatch.d.ts +1 -1
  39. package/dist/types/theme/tokens/components/icon.d.ts +1 -1
  40. package/dist/types/theme/tokens/components/image.d.ts +1 -1
  41. package/dist/types/theme/tokens/components/inAppMessaging.d.ts +5 -5
  42. package/dist/types/theme/tokens/components/index.d.ts +4 -4
  43. package/dist/types/theme/tokens/components/link.d.ts +2 -2
  44. package/dist/types/theme/tokens/components/liveness.d.ts +3 -3
  45. package/dist/types/theme/tokens/components/loader.d.ts +4 -4
  46. package/dist/types/theme/tokens/components/menu.d.ts +2 -2
  47. package/dist/types/theme/tokens/components/pagination.d.ts +1 -1
  48. package/dist/types/theme/tokens/components/passwordField.d.ts +3 -3
  49. package/dist/types/theme/tokens/components/phoneNumberField.d.ts +1 -1
  50. package/dist/types/theme/tokens/components/placeholder.d.ts +2 -2
  51. package/dist/types/theme/tokens/components/radio.d.ts +2 -2
  52. package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
  53. package/dist/types/theme/tokens/components/rating.d.ts +1 -1
  54. package/dist/types/theme/tokens/components/searchField.d.ts +3 -3
  55. package/dist/types/theme/tokens/components/select.d.ts +2 -2
  56. package/dist/types/theme/tokens/components/selectField.d.ts +1 -1
  57. package/dist/types/theme/tokens/components/sliderField.d.ts +3 -3
  58. package/dist/types/theme/tokens/components/stepperField.d.ts +2 -2
  59. package/dist/types/theme/tokens/components/switchField.d.ts +3 -3
  60. package/dist/types/theme/tokens/components/table.d.ts +5 -5
  61. package/dist/types/theme/tokens/components/tabs.d.ts +3 -3
  62. package/dist/types/theme/tokens/components/text.d.ts +4 -4
  63. package/dist/types/theme/tokens/components/textAreaField.d.ts +2 -2
  64. package/dist/types/theme/tokens/components/textField.d.ts +1 -1
  65. package/dist/types/theme/tokens/components/toggleButton.d.ts +2 -2
  66. package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +2 -2
  67. package/dist/types/theme/tokens/fontSizes.d.ts +2 -2
  68. package/dist/types/theme/tokens/fontWeights.d.ts +2 -2
  69. package/dist/types/theme/tokens/fonts.d.ts +3 -3
  70. package/dist/types/theme/tokens/index.d.ts +6 -6
  71. package/dist/types/theme/tokens/lineHeights.d.ts +2 -2
  72. package/dist/types/theme/tokens/opacities.d.ts +2 -2
  73. package/dist/types/theme/tokens/outlineOffsets.d.ts +2 -2
  74. package/dist/types/theme/tokens/outlineWidths.d.ts +2 -2
  75. package/dist/types/theme/tokens/radii.d.ts +2 -2
  76. package/dist/types/theme/tokens/shadows.d.ts +2 -2
  77. package/dist/types/theme/tokens/space.d.ts +4 -4
  78. package/dist/types/theme/tokens/time.d.ts +2 -2
  79. package/dist/types/theme/tokens/transforms.d.ts +3 -3
  80. package/dist/types/theme/tokens/types/designToken.d.ts +66 -66
  81. package/dist/types/theme/tokens/types/typography.d.ts +1 -1
  82. package/dist/types/theme/types.d.ts +2 -2
  83. package/dist/types/theme/utils.d.ts +3 -3
  84. package/dist/types/types/accountSettings/validator.d.ts +2 -2
  85. package/dist/types/types/authenticator/attributes.d.ts +7 -7
  86. package/dist/types/types/authenticator/form.d.ts +6 -6
  87. package/dist/types/types/authenticator/stateMachine/authMachine.d.ts +3 -3
  88. package/dist/types/types/authenticator/stateMachine/context.d.ts +2 -2
  89. package/dist/types/types/authenticator/stateMachine/event.d.ts +3 -3
  90. package/dist/types/types/authenticator/stateMachine/state.d.ts +6 -6
  91. package/dist/types/types/authenticator/user.d.ts +2 -2
  92. package/dist/types/types/authenticator/validator.d.ts +4 -4
  93. package/dist/types/types/primitives/componentClassName.d.ts +1 -0
  94. package/dist/types/types/primitives/index.d.ts +1 -1
  95. package/dist/types/types/util.d.ts +5 -5
  96. package/dist/types/utils/index.d.ts +18 -1
  97. package/package.json +1 -1
  98. package/dist/esm/utils/classname.mjs +0 -1
  99. package/dist/types/utils/classname.d.ts +0 -19
@@ -1,17 +1,17 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type FieldControlSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'paddingBlockStart' | 'paddingBlockEnd' | 'paddingInlineStart' | 'paddingInlineEnd', Output>;
3
- declare type FieldControlFocusTokens<Output> = DesignTokenProperties<'borderColor' | 'boxShadow', Output>;
4
- declare type FieldControlDisabledTokens<Output> = DesignTokenProperties<'color' | 'cursor' | 'borderColor' | 'backgroundColor', Output>;
5
- declare type FieldControlErrorTokens<Output> = DesignTokenProperties<'borderColor', Output> & {
2
+ type FieldControlSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'paddingBlockStart' | 'paddingBlockEnd' | 'paddingInlineStart' | 'paddingInlineEnd', Output>;
3
+ type FieldControlFocusTokens<Output> = DesignTokenProperties<'borderColor' | 'boxShadow', Output>;
4
+ type FieldControlDisabledTokens<Output> = DesignTokenProperties<'color' | 'cursor' | 'borderColor' | 'backgroundColor', Output>;
5
+ type FieldControlErrorTokens<Output> = DesignTokenProperties<'borderColor', Output> & {
6
6
  _focus?: DesignTokenProperties<'boxShadow', Output>;
7
7
  };
8
- declare type FieldControlQuietTokens<Output> = DesignTokenProperties<'borderStyle' | 'borderInlineStart' | 'borderInlineEnd' | 'borderBlockStart' | 'borderRadius', Output> & {
8
+ type FieldControlQuietTokens<Output> = DesignTokenProperties<'borderStyle' | 'borderInlineStart' | 'borderInlineEnd' | 'borderBlockStart' | 'borderRadius', Output> & {
9
9
  _focus?: DesignTokenProperties<'borderBlockEndColor' | 'boxShadow', Output>;
10
10
  _error?: DesignTokenProperties<'borderBlockEndColor', Output> & {
11
11
  _focus?: DesignTokenProperties<'boxShadow', Output>;
12
12
  };
13
13
  };
14
- export declare type FieldControlTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderStyle' | 'borderColor' | 'borderWidth' | 'borderRadius' | 'color' | 'paddingBlockStart' | 'paddingBlockEnd' | 'paddingInlineStart' | 'paddingInlineEnd' | 'fontSize' | 'lineHeight' | 'transitionDuration' | 'outlineColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset', Output> & {
14
+ export type FieldControlTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderStyle' | 'borderColor' | 'borderWidth' | 'borderRadius' | 'color' | 'paddingBlockStart' | 'paddingBlockEnd' | 'paddingInlineStart' | 'paddingInlineEnd' | 'fontSize' | 'lineHeight' | 'transitionDuration' | 'outlineColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset', Output> & {
15
15
  small?: FieldControlSizeTokens<Output>;
16
16
  large?: FieldControlSizeTokens<Output>;
17
17
  quiet?: FieldControlQuietTokens<Output>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type FieldGroupTokens<Output extends OutputVariantKey> = DesignTokenProperties<'gap', Output> & {
2
+ export type FieldGroupTokens<Output extends OutputVariantKey> = DesignTokenProperties<'gap', Output> & {
3
3
  vertical?: DesignTokenProperties<'alignItems', Output>;
4
4
  outer?: DesignTokenProperties<'alignItems', Output>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type FieldMessagesTokens<Output extends OutputVariantKey> = {
2
+ export type FieldMessagesTokens<Output extends OutputVariantKey> = {
3
3
  error?: DesignTokenProperties<'color' | 'fontSize', Output>;
4
4
  description?: DesignTokenProperties<'color' | 'fontSize' | 'fontStyle', Output>;
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
2
  import { TypographyTokens } from '../types/typography';
3
- declare type BaseDropZoneTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderRadius', OutputType>;
3
+ type BaseDropZoneTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderRadius', OutputType>;
4
4
  export interface FileUploaderTokens<OutputType extends OutputVariantKey> {
5
- dropzone?: DesignTokenProperties<'gap' | 'paddingBlock' | 'paddingInline' | 'textAlign'> & BaseDropZoneTokens<OutputType> & {
5
+ dropzone?: DesignTokenProperties<'gap' | 'paddingBlock' | 'paddingInline' | 'textAlign', OutputType> & BaseDropZoneTokens<OutputType> & {
6
6
  _active?: BaseDropZoneTokens<OutputType>;
7
7
  icon?: DesignTokenProperties<'fontSize' | 'color', OutputType>;
8
8
  text?: TypographyTokens<OutputType>;
@@ -1,3 +1,3 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type FlexTokens<Output extends OutputVariantKey> = DesignTokenProperties<'gap' | 'justifyContent' | 'alignItems' | 'alignContent' | 'flexWrap', Output>;
2
+ export type FlexTokens<Output extends OutputVariantKey> = DesignTokenProperties<'gap' | 'justifyContent' | 'alignItems' | 'alignContent' | 'flexWrap', Output>;
3
3
  export declare const flex: Required<FlexTokens<'default'>>;
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type HeadingLevelTokens<Output> = DesignTokenProperties<'fontSize' | 'fontWeight', Output>;
3
- declare type Level = 1 | 2 | 3 | 4 | 5 | 6;
4
- export declare type HeadingTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'lineHeight', Output> & Partial<Record<Level, HeadingLevelTokens<Output>>>;
2
+ type HeadingLevelTokens<Output> = DesignTokenProperties<'fontSize' | 'fontWeight', Output>;
3
+ type Level = 1 | 2 | 3 | 4 | 5 | 6;
4
+ export type HeadingTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'lineHeight', Output> & Partial<Record<Level, HeadingLevelTokens<Output>>>;
5
5
  export declare const heading: Required<HeadingTokens<'default'>>;
6
6
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type HighlightMatchTokens<OutputType extends OutputVariantKey> = {
2
+ export type HighlightMatchTokens<OutputType extends OutputVariantKey> = {
3
3
  highlighted?: DesignTokenProperties<'fontWeight', OutputType>;
4
4
  };
5
5
  export declare const highlightmatch: Required<HighlightMatchTokens<'default'>>;
@@ -1,3 +1,3 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type IconTokens<Output extends OutputVariantKey> = DesignTokenProperties<'height' | 'lineHeight', Output>;
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
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type ImageTokens<Output extends OutputVariantKey> = DesignTokenProperties<'maxWidth' | 'height' | 'objectFit' | 'objectPosition', Output>;
2
+ export type ImageTokens<Output extends OutputVariantKey> = DesignTokenProperties<'maxWidth' | 'height' | 'objectFit' | 'objectPosition', Output>;
3
3
  export declare const image: Required<ImageTokens<'default'>>;
@@ -1,9 +1,9 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type BannerTokens<Output> = DesignTokenProperties<'height' | 'width', Output>;
3
- declare type ButtonTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderRadius' | 'color', Output>;
4
- declare type DialogTokens<Output> = DesignTokenProperties<'height' | 'minHeight' | 'minWidth' | 'width', Output>;
5
- declare type HeaderTokens<Output> = DesignTokenProperties<'fontSize' | 'fontWeight', Output>;
6
- export declare type InAppMessagingTokens<Output extends OutputVariantKey> = {
2
+ type BannerTokens<Output> = DesignTokenProperties<'height' | 'width', Output>;
3
+ type ButtonTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderRadius' | 'color', Output>;
4
+ type DialogTokens<Output> = DesignTokenProperties<'height' | 'minHeight' | 'minWidth' | 'width', Output>;
5
+ type HeaderTokens<Output> = DesignTokenProperties<'fontSize' | 'fontWeight', Output>;
6
+ export type InAppMessagingTokens<Output extends OutputVariantKey> = {
7
7
  banner?: BannerTokens<Output>;
8
8
  button?: ButtonTokens<Output>;
9
9
  dialog?: DialogTokens<Output>;
@@ -48,7 +48,7 @@ import { TextFieldTokens } from './textField';
48
48
  import { ToggleButtonTokens } from './toggleButton';
49
49
  import { ToggleButtonGroupTokens } from './toggleButtonGroup';
50
50
  import { OutputVariantKey } from '../types/designToken';
51
- declare type BaseComponentTokens<Output extends OutputVariantKey> = {
51
+ type BaseComponentTokens<Output extends OutputVariantKey> = {
52
52
  alert?: AlertTokens<Output>;
53
53
  authenticator?: AuthenticatorTokens<Output>;
54
54
  autocomplete?: AutocompleteTokens<Output>;
@@ -99,11 +99,11 @@ declare type BaseComponentTokens<Output extends OutputVariantKey> = {
99
99
  togglebutton?: ToggleButtonTokens<Output>;
100
100
  togglebuttongroup?: ToggleButtonGroupTokens<Output>;
101
101
  };
102
- export declare type ComponentTokens = BaseComponentTokens<'optional'>;
103
- export declare type DefaultComponentTokens = Required<{
102
+ export type ComponentTokens = BaseComponentTokens<'optional'>;
103
+ export type DefaultComponentTokens = Required<{
104
104
  [Key in keyof ComponentTokens]: Required<BaseComponentTokens<'default'>[Key]>;
105
105
  }>;
106
- export declare type WebComponentTokens = Required<{
106
+ export type WebComponentTokens = Required<{
107
107
  [Key in keyof ComponentTokens]: Required<BaseComponentTokens<'required'>[Key]>;
108
108
  }>;
109
109
  export declare const components: DefaultComponentTokens;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type LinkState = 'active' | 'focus' | 'hover' | 'visited';
3
- export declare type LinkTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color', Output> & Partial<Record<LinkState, DesignTokenProperties<'color', Output>>>;
2
+ type LinkState = 'active' | 'focus' | 'hover' | 'visited';
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'>>;
5
5
  export {};
@@ -1,7 +1,7 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type ModalTokenKey = 'backgroundColor';
3
- declare type LivenessModalTokens<OutputType> = DesignTokenProperties<ModalTokenKey, OutputType>;
4
- export declare type LivenessTokens<OutputType extends OutputVariantKey> = {
2
+ type ModalTokenKey = 'backgroundColor';
3
+ type LivenessModalTokens<OutputType> = DesignTokenProperties<ModalTokenKey, OutputType>;
4
+ export type LivenessTokens<OutputType extends OutputVariantKey> = {
5
5
  cameraModule?: LivenessModalTokens<OutputType>;
6
6
  };
7
7
  export declare const liveness: Required<LivenessTokens<'default'>>;
@@ -1,8 +1,8 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type LoaderSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'height' | 'width', Output>;
3
- declare type LoaderLinearSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'strokeWidth', Output>;
4
- declare type BaseLoaderTokens<Output> = DesignTokenProperties<'animationDuration' | 'fontSize' | 'height' | 'strokeEmpty' | 'strokeFilled' | 'strokeLinecap' | 'width', Output>;
5
- export declare type LoaderTokens<Output extends OutputVariantKey> = BaseLoaderTokens<Output> & {
2
+ type LoaderSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'height' | 'width', Output>;
3
+ type LoaderLinearSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'strokeWidth', Output>;
4
+ type BaseLoaderTokens<Output> = DesignTokenProperties<'animationDuration' | 'fontSize' | 'height' | 'strokeEmpty' | 'strokeFilled' | 'strokeLinecap' | 'width', Output>;
5
+ export type LoaderTokens<Output extends OutputVariantKey> = BaseLoaderTokens<Output> & {
6
6
  small?: LoaderSizeTokens<Output>;
7
7
  large?: LoaderSizeTokens<Output>;
8
8
  linear?: Omit<BaseLoaderTokens<Output> & DesignTokenProperties<'minWidth' | 'strokeWidth', Output> & {
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type MenuSizeTokens<Output> = DesignTokenProperties<'width' | 'height', Output>;
3
- export declare type MenuTokens<Output extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'boxShadow' | 'flexDirection' | 'gap' | 'maxWidth' | 'minWidth', Output> & {
2
+ type MenuSizeTokens<Output> = DesignTokenProperties<'width' | 'height', Output>;
3
+ export type MenuTokens<Output extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'boxShadow' | 'flexDirection' | 'gap' | 'maxWidth' | 'minWidth', Output> & {
4
4
  small?: MenuSizeTokens<Output>;
5
5
  large?: MenuSizeTokens<Output>;
6
6
  item?: DesignTokenProperties<'minHeight' | 'paddingInlineEnd' | 'paddingInlineStart', Output>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type PaginationTokens<Output extends OutputVariantKey> = {
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> & {
5
5
  hover?: DesignTokenProperties<'backgroundColor' | 'color', Output>;
@@ -1,12 +1,12 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type StateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output>;
3
- declare type ButtonTokens<Output> = DesignTokenProperties<'color', Output> & {
2
+ type StateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output>;
3
+ type ButtonTokens<Output> = DesignTokenProperties<'color', Output> & {
4
4
  _active?: StateTokens<Output>;
5
5
  _disabled?: StateTokens<Output>;
6
6
  _focus?: StateTokens<Output>;
7
7
  _hover?: StateTokens<Output>;
8
8
  };
9
- export declare type PasswordFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color', Output> & {
9
+ export type PasswordFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color', Output> & {
10
10
  button?: ButtonTokens<Output>;
11
11
  };
12
12
  export declare const passwordfield: Required<PasswordFieldTokens<'default'>>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type PhoneNumberFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
2
+ export type PhoneNumberFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
3
3
  _focus?: DesignTokenProperties<'borderColor', Output>;
4
4
  };
5
5
  export declare const phonenumberfield: {
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type PlaceholderSizeTokens<Output> = DesignTokenProperties<'height', Output>;
3
- export declare type PlaceholderTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderRadius' | 'transitionDuration' | 'startColor' | 'endColor', Output> & {
2
+ type PlaceholderSizeTokens<Output> = DesignTokenProperties<'height', Output>;
3
+ export type PlaceholderTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderRadius' | 'transitionDuration' | 'startColor' | 'endColor', Output> & {
4
4
  small?: PlaceholderSizeTokens<Output>;
5
5
  default?: PlaceholderSizeTokens<Output>;
6
6
  large?: PlaceholderSizeTokens<Output>;
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type RadioButtonSizeTokens<Output> = DesignTokenProperties<'width' | 'height', Output>;
3
- export declare type RadioTokens<Output extends OutputVariantKey> = DesignTokenProperties<'alignItems' | 'justifyContent' | 'gap', Output> & {
2
+ type RadioButtonSizeTokens<Output> = DesignTokenProperties<'width' | 'height', Output>;
3
+ export type RadioTokens<Output extends OutputVariantKey> = DesignTokenProperties<'alignItems' | 'justifyContent' | 'gap', Output> & {
4
4
  _disabled?: DesignTokenProperties<'cursor', Output>;
5
5
  button?: DesignTokenProperties<'alignItems' | 'justifyContent' | 'width' | 'height' | 'boxSizing' | 'borderWidth' | 'borderStyle' | 'borderRadius' | 'borderColor' | 'color' | 'backgroundColor' | 'transitionProperty' | 'transitionDuration' | 'outlineColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'padding', Output> & {
6
6
  small?: RadioButtonSizeTokens<Output>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type RadioGroupTokens<Output extends OutputVariantKey> = {
2
+ export type RadioGroupTokens<Output extends OutputVariantKey> = {
3
3
  radio?: DesignTokenProperties<'borderWidth' | 'borderColor' | 'backgroundColor', Output> & {
4
4
  _checked?: DesignTokenProperties<'color', Output>;
5
5
  label?: DesignTokenProperties<'color', Output>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type RatingTokens<Output extends OutputVariantKey> = {
2
+ export type RatingTokens<Output extends OutputVariantKey> = {
3
3
  large?: DesignTokenProperties<'size', Output>;
4
4
  default?: DesignTokenProperties<'size', Output>;
5
5
  small?: DesignTokenProperties<'size', Output>;
@@ -1,12 +1,12 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type StateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output>;
3
- declare type SearchTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color'> & {
2
+ type StateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output>;
3
+ type SearchTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color'> & {
4
4
  _active?: StateTokens<Output>;
5
5
  _disabled?: StateTokens<Output>;
6
6
  _focus?: StateTokens<Output>;
7
7
  _hover?: StateTokens<Output>;
8
8
  };
9
- export declare type SearchFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color', Output> & {
9
+ export type SearchFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color', Output> & {
10
10
  button?: SearchTokens<Output>;
11
11
  };
12
12
  export declare const searchfield: Required<SearchFieldTokens<'default'>>;
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type SelectSizeTokens<Output> = DesignTokenProperties<'minWidth', Output>;
3
- export declare type SelectTokens<Output extends OutputVariantKey> = DesignTokenProperties<'paddingInlineEnd' | 'whiteSpace' | 'minWidth', Output> & {
2
+ type SelectSizeTokens<Output> = DesignTokenProperties<'minWidth', Output>;
3
+ export type SelectTokens<Output extends OutputVariantKey> = DesignTokenProperties<'paddingInlineEnd' | 'whiteSpace' | 'minWidth', Output> & {
4
4
  wrapper?: DesignTokenProperties<'cursor' | 'display' | 'flex' | 'position', Output>;
5
5
  iconWrapper?: DesignTokenProperties<'alignItems' | 'position' | 'top' | 'right' | 'transform' | 'pointerEvents', Output>;
6
6
  option?: DesignTokenProperties<'backgroundColor' | 'color', Output> & {
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type SelectFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'color' | 'flexDirection' | 'fontSize', Output> & {
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>;
5
5
  };
@@ -1,10 +1,10 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type SliderFieldThumbStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'boxShadow', Output>;
3
- declare type SliderFieldSizeTokens<Output> = {
2
+ type SliderFieldThumbStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'boxShadow', Output>;
3
+ type SliderFieldSizeTokens<Output> = {
4
4
  track?: DesignTokenProperties<'height', Output>;
5
5
  thumb?: DesignTokenProperties<'height' | 'width', Output>;
6
6
  };
7
- export declare type SliderFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'paddingBlock', Output> & {
7
+ export type SliderFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'paddingBlock', Output> & {
8
8
  track?: DesignTokenProperties<'backgroundColor' | 'borderRadius' | 'height' | 'minWidth', Output>;
9
9
  range?: DesignTokenProperties<'backgroundColor' | 'borderRadius', Output> & {
10
10
  _disabled?: DesignTokenProperties<'backgroundColor', Output>;
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type ButtonStateColorTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color', Output>;
3
- export declare type StepperFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'flexDirection', Output> & {
2
+ type ButtonStateColorTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color', Output>;
3
+ export type StepperFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'flexDirection', Output> & {
4
4
  input?: DesignTokenProperties<'textAlign' | 'color' | 'fontSize', Output>;
5
5
  button?: DesignTokenProperties<'backgroundColor' | 'color', Output> & {
6
6
  _active?: ButtonStateColorTokens<Output>;
@@ -1,7 +1,7 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type SwitchFieldSizeTokens<OutputType> = DesignTokenProperties<'fontSize', OutputType>;
3
- declare type SwitchFieldTrackCheckedTokens<OutputType> = DesignTokenProperties<'backgroundColor', OutputType>;
4
- export declare type SwitchFieldTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'fontSize', OutputType> & {
2
+ type SwitchFieldSizeTokens<OutputType> = DesignTokenProperties<'fontSize', OutputType>;
3
+ type SwitchFieldTrackCheckedTokens<OutputType> = DesignTokenProperties<'backgroundColor', OutputType>;
4
+ export type SwitchFieldTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'fontSize', OutputType> & {
5
5
  _disabled?: DesignTokenProperties<'opacity', OutputType>;
6
6
  _focused?: DesignTokenProperties<'shadow', OutputType>;
7
7
  large?: SwitchFieldSizeTokens<OutputType>;
@@ -1,12 +1,12 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type BaseTableTokens<Output> = DesignTokenProperties<'display' | 'verticalAlign', Output>;
3
- declare type TableCellTokens<Output> = DesignTokenProperties<'borderColor' | 'borderStyle' | 'borderWidth' | 'color' | 'display' | 'fontSize' | 'fontWeight' | 'padding' | 'verticalAlign', Output> & {
2
+ type BaseTableTokens<Output> = DesignTokenProperties<'display' | 'verticalAlign', Output>;
3
+ type TableCellTokens<Output> = DesignTokenProperties<'borderColor' | 'borderStyle' | 'borderWidth' | 'color' | 'display' | 'fontSize' | 'fontWeight' | 'padding' | 'verticalAlign', Output> & {
4
4
  large?: TableCellSizeTokens<Output>;
5
5
  small?: TableCellSizeTokens<Output>;
6
6
  };
7
- declare type TableCellSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'padding', Output>;
8
- declare type TableCaptionSizeTokens<Output> = DesignTokenProperties<'fontSize', Output>;
9
- export declare type TableTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderCollapse' | 'display' | 'width', Output> & {
7
+ type TableCellSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'padding', Output>;
8
+ type TableCaptionSizeTokens<Output> = DesignTokenProperties<'fontSize', Output>;
9
+ export type TableTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderCollapse' | 'display' | 'width', Output> & {
10
10
  head?: BaseTableTokens<Output>;
11
11
  body?: BaseTableTokens<Output>;
12
12
  foot?: BaseTableTokens<Output>;
@@ -1,12 +1,12 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type TabItemStateTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', OutputType>;
3
- declare type TabItemTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderStyle' | 'borderWidth' | 'color' | 'fontSize' | 'fontWeight' | 'paddingVertical' | 'paddingHorizontal' | 'textAlign' | 'transitionDuration', OutputType> & {
2
+ type TabItemStateTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', OutputType>;
3
+ type TabItemTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderStyle' | 'borderWidth' | 'color' | 'fontSize' | 'fontWeight' | 'paddingVertical' | 'paddingHorizontal' | 'textAlign' | 'transitionDuration', OutputType> & {
4
4
  _hover?: DesignTokenProperties<'color', OutputType>;
5
5
  _focus?: DesignTokenProperties<'color', OutputType>;
6
6
  _active?: TabItemStateTokens<OutputType>;
7
7
  _disabled?: TabItemStateTokens<OutputType>;
8
8
  };
9
- export declare type TabsTokens<Output extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderStyle' | 'borderWidth' | 'gap', Output> & {
9
+ export type TabsTokens<Output extends OutputVariantKey> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderStyle' | 'borderWidth' | 'gap', Output> & {
10
10
  item?: TabItemTokens<Output>;
11
11
  };
12
12
  export declare const tabs: Required<TabsTokens<'default'>>;
@@ -1,7 +1,7 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type OrderVariantKey = 'primary' | 'secondary' | 'tertiary';
3
- declare type InformationVariantKey = 'info' | 'warning' | 'error' | 'success';
4
- declare type BaseTextTokens<Output> = DesignTokenProperties<'color', Output>;
5
- export declare type TextTokens<Output extends OutputVariantKey> = BaseTextTokens<Output> & Partial<Record<OrderVariantKey | InformationVariantKey, BaseTextTokens<Output>>>;
2
+ type OrderVariantKey = 'primary' | 'secondary' | 'tertiary';
3
+ type InformationVariantKey = 'info' | 'warning' | 'error' | 'success';
4
+ type BaseTextTokens<Output> = DesignTokenProperties<'color', Output>;
5
+ export type TextTokens<Output extends OutputVariantKey> = BaseTextTokens<Output> & Partial<Record<OrderVariantKey | InformationVariantKey, BaseTextTokens<Output>>>;
6
6
  export declare const text: Required<TextTokens<'default'>>;
7
7
  export {};
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type TokenKey = 'color' | 'borderColor' | 'fontSize';
3
- export declare type TextAreaFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<Output extends 'default' ? Exclude<TokenKey, 'fontSize'> : TokenKey, Output> & {
2
+ type TokenKey = 'color' | 'borderColor' | 'fontSize';
3
+ export type TextAreaFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<Output extends 'default' ? Exclude<TokenKey, 'fontSize'> : TokenKey, Output> & {
4
4
  _focus?: DesignTokenProperties<'borderColor', Output>;
5
5
  };
6
6
  export declare const textareafield: Required<TextAreaFieldTokens<'default'>>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- export declare type TextFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
2
+ export type TextFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'color' | 'borderColor' | 'fontSize', Output> & {
3
3
  _focus?: DesignTokenProperties<'borderColor', Output>;
4
4
  };
5
5
  export declare const textfield: Required<TextFieldTokens<'default'>>;
@@ -1,6 +1,6 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type ToggleButtonStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color', Output>;
3
- export declare type ToggleButtonTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'color', Output> & {
2
+ type ToggleButtonStateTokens<Output> = DesignTokenProperties<'backgroundColor' | 'color', Output>;
3
+ export type ToggleButtonTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderColor' | 'color', Output> & {
4
4
  _hover?: DesignTokenProperties<'backgroundColor', Output>;
5
5
  _focus?: DesignTokenProperties<'borderColor' | 'color', Output>;
6
6
  _active?: DesignTokenProperties<'backgroundColor', Output>;
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
2
- declare type ToggleButtonGroupTokenKey = 'alignItems' | 'alignContent' | 'justifyContent';
3
- export declare type ToggleButtonGroupTokens<Output extends OutputVariantKey> = DesignTokenProperties<ToggleButtonGroupTokenKey, Output>;
2
+ type ToggleButtonGroupTokenKey = 'alignItems' | 'alignContent' | 'justifyContent';
3
+ export type ToggleButtonGroupTokens<Output extends OutputVariantKey> = DesignTokenProperties<ToggleButtonGroupTokenKey, Output>;
4
4
  export declare const togglebuttongroup: Required<ToggleButtonGroupTokens<'default'>>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, FontSizeValue, OutputVariantKey } from './types/designToken';
2
- declare type FontSize = 'xxxs' | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
3
- export declare type FontSizes<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<FontSize, FontSizeValue<Platform, Output>, Output, Platform>;
2
+ type FontSize = 'xxxs' | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
3
+ export type FontSizes<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<FontSize, FontSizeValue<Platform, Output>, Output, Platform>;
4
4
  export declare const fontSizes: FontSizes<'default'>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, FontWeightValue, OutputVariantKey } from './types/designToken';
2
- declare type FontWeight = 'hairline' | 'thin' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
3
- export declare type FontWeights<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<FontWeight, FontWeightValue<Platform, Output>, Output, Platform>;
2
+ type FontWeight = 'hairline' | 'thin' | 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
3
+ export type FontWeights<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<FontWeight, FontWeightValue<Platform, Output>, Output, Platform>;
4
4
  export declare const fontWeights: FontWeights<'default'>;
5
5
  export {};
@@ -1,8 +1,8 @@
1
1
  import { DesignTokenValues, FontValue, OutputVariantKey } from './types/designToken';
2
- declare type FontVariant = 'variable' | 'static';
3
- declare type BaseFonts<Output extends OutputVariantKey = unknown, Platform = unknown> = {
2
+ type FontVariant = 'variable' | 'static';
3
+ type BaseFonts<Output extends OutputVariantKey = unknown, Platform = unknown> = {
4
4
  default?: DesignTokenValues<FontVariant, FontValue, Output, Platform>;
5
5
  };
6
- export declare type Fonts<Output extends OutputVariantKey = unknown, Platform = unknown> = Output extends 'required' | 'default' ? Required<BaseFonts<Output, Platform>> : BaseFonts<Output, Platform>;
6
+ export type Fonts<Output extends OutputVariantKey = unknown, Platform = unknown> = Output extends 'required' | 'default' ? Required<BaseFonts<Output, Platform>> : BaseFonts<Output, Platform>;
7
7
  export declare const fonts: Fonts<'default'>;
8
8
  export {};
@@ -33,21 +33,21 @@ interface BaseTokens<Output extends OutputVariantKey = unknown> {
33
33
  time?: Time<Output>;
34
34
  transforms?: Transforms<Output>;
35
35
  }
36
- export declare type Tokens = BaseTokens<'optional'> & {
36
+ export type Tokens = BaseTokens<'optional'> & {
37
37
  components?: ComponentTokens;
38
38
  };
39
- export declare type DefaultTokens = Required<BaseTokens<'default'>> & {
39
+ export type DefaultTokens = Required<BaseTokens<'default'>> & {
40
40
  components: DefaultComponentTokens;
41
41
  };
42
42
  /**
43
43
  * The fully setup theme tokens. It has the same shape as Tokens
44
44
  * but each token has added fields.
45
45
  */
46
- export declare type WebTokens = Required<BaseTokens<'required'>> & {
46
+ export type WebTokens = Required<BaseTokens<'required'>> & {
47
47
  components: WebComponentTokens;
48
48
  };
49
- declare type ReactNative = 'react-native';
50
- declare type BaseReactNativeTokens<Output extends OutputVariantKey = unknown> = {
49
+ type ReactNative = 'react-native';
50
+ type BaseReactNativeTokens<Output extends OutputVariantKey = unknown> = {
51
51
  colors?: Colors<Output, ReactNative>;
52
52
  borderWidths?: BorderWidths<Output, ReactNative>;
53
53
  fontSizes?: Omit<FontSizes<Output, ReactNative>, 'xxxs' | 'xxxxl'>;
@@ -57,7 +57,7 @@ declare type BaseReactNativeTokens<Output extends OutputVariantKey = unknown> =
57
57
  space?: Omit<Space<Output, ReactNative>, 'xxxs' | 'relative' | 'zero'>;
58
58
  time?: Time<Output, ReactNative>;
59
59
  };
60
- export declare type ReactNativeTokens<Output extends OutputVariantKey> = Output extends 'required' | 'default' ? Required<BaseReactNativeTokens<Output>> : BaseReactNativeTokens<Output>;
60
+ export type ReactNativeTokens<Output extends OutputVariantKey> = Output extends 'required' | 'default' ? Required<BaseReactNativeTokens<Output>> : BaseReactNativeTokens<Output>;
61
61
  export declare const tokens: DefaultTokens;
62
62
  export declare const reactNativeTokens: ReactNativeTokens<'default'>;
63
63
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, LineHeightValue, OutputVariantKey } from './types/designToken';
2
- declare type LineHeightSize = 'small' | 'medium' | 'large';
3
- export declare type LineHeights<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<LineHeightSize, LineHeightValue, Output, Platform>;
2
+ type LineHeightSize = 'small' | 'medium' | 'large';
3
+ export type LineHeights<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<LineHeightSize, LineHeightValue, Output, Platform>;
4
4
  export declare const lineHeights: LineHeights<'default'>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, OpacityValue, OutputVariantKey } from './types/designToken';
2
- declare type OpacityScale = 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
3
- export declare type Opacities<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OpacityScale, OpacityValue<Platform, Output>, Output, Platform>;
2
+ type OpacityScale = 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100;
3
+ export type Opacities<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OpacityScale, OpacityValue<Platform, Output>, Output, Platform>;
4
4
  export declare const opacities: Opacities<'default'>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, OutlineOffsetValue, OutputVariantKey } from './types/designToken';
2
- declare type OutlineOffsetSize = 'small' | 'medium' | 'large';
3
- export declare type OutlineOffsets<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OutlineOffsetSize, OutlineOffsetValue, Output, Platform>;
2
+ type OutlineOffsetSize = 'small' | 'medium' | 'large';
3
+ export type OutlineOffsets<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OutlineOffsetSize, OutlineOffsetValue, Output, Platform>;
4
4
  export declare const outlineOffsets: OutlineOffsets<'default'>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, OutlineWidthValue, OutputVariantKey } from './types/designToken';
2
- declare type OutlineWidthSize = 'small' | 'medium' | 'large';
3
- export declare type OutlineWidths<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OutlineWidthSize, OutlineWidthValue, Output, Platform>;
2
+ type OutlineWidthSize = 'small' | 'medium' | 'large';
3
+ export type OutlineWidths<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<OutlineWidthSize, OutlineWidthValue, Output, Platform>;
4
4
  export declare const outlineWidths: OutlineWidths<'default'>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, OutputVariantKey, RadiusValue } from './types/designToken';
2
- declare type RadiusSize = 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl';
3
- export declare type Radii<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<RadiusSize, RadiusValue<Platform, Output>, Output, Platform>;
2
+ type RadiusSize = 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl';
3
+ export type Radii<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<RadiusSize, RadiusValue<Platform, Output>, Output, Platform>;
4
4
  export declare const radii: Radii<'default'>;
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, OutputVariantKey, ShadowValue } from './types/designToken';
2
- declare type ShadowSize = 'small' | 'medium' | 'large';
3
- export declare type Shadows<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<ShadowSize, ShadowValue, Output, Platform>;
2
+ type ShadowSize = 'small' | 'medium' | 'large';
3
+ export type Shadows<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<ShadowSize, ShadowValue, Output, Platform>;
4
4
  export declare const shadows: Shadows<'default'>;
5
5
  export {};
@@ -1,9 +1,9 @@
1
1
  import { DesignTokenValues, OutputVariantKey, SpaceValue } from './types/designToken';
2
- declare type SpaceSize = 'xxxs' | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl';
3
- export declare type SpaceSizes<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<SpaceSize | 'zero', SpaceValue<Platform>, Output, Platform>;
4
- declare type BaseSpace<Output extends OutputVariantKey = unknown, Platform = unknown> = SpaceSizes<Output, Platform> & {
2
+ type SpaceSize = 'xxxs' | 'xxs' | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl';
3
+ export type SpaceSizes<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<SpaceSize | 'zero', SpaceValue<Platform>, Output, Platform>;
4
+ type BaseSpace<Output extends OutputVariantKey = unknown, Platform = unknown> = SpaceSizes<Output, Platform> & {
5
5
  relative?: DesignTokenValues<SpaceSize | 'full', SpaceValue, Output, Platform>;
6
6
  };
7
- export declare type Space<Output extends OutputVariantKey = unknown, Platform = unknown> = Output extends 'required' | 'default' ? Required<BaseSpace<Output, Platform>> : BaseSpace<Output, Platform>;
7
+ export type Space<Output extends OutputVariantKey = unknown, Platform = unknown> = Output extends 'required' | 'default' ? Required<BaseSpace<Output, Platform>> : BaseSpace<Output, Platform>;
8
8
  export declare const space: Space<'default'>;
9
9
  export {};
@@ -1,5 +1,5 @@
1
1
  import { DesignTokenValues, OutputVariantKey, TimeValue } from './types/designToken';
2
- declare type Duration = 'short' | 'medium' | 'long';
3
- export declare type Time<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<Duration, TimeValue<Platform, Output>, Output, Platform>;
2
+ type Duration = 'short' | 'medium' | 'long';
3
+ export type Time<Output extends OutputVariantKey = unknown, Platform = unknown> = DesignTokenValues<Duration, TimeValue<Platform, Output>, Output, Platform>;
4
4
  export declare const time: Time<'default'>;
5
5
  export {};