@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.
- package/README.md +21 -3
- package/dist/types/helpers/accountSettings/validator.d.ts +1 -1
- package/dist/types/helpers/authenticator/actor.d.ts +1 -1
- package/dist/types/helpers/authenticator/constants.d.ts +2 -2
- package/dist/types/helpers/authenticator/debugUtils.d.ts +1 -1
- package/dist/types/helpers/authenticator/defaultAuthHubHandler.d.ts +1 -1
- package/dist/types/helpers/authenticator/facade.d.ts +4 -4
- package/dist/types/helpers/authenticator/form.d.ts +1 -1
- package/dist/types/helpers/authenticator/formFields/defaults.d.ts +2 -2
- package/dist/types/helpers/authenticator/formFields/formFields.d.ts +2 -2
- package/dist/types/helpers/authenticator/formFields/utils.d.ts +2 -2
- package/dist/types/helpers/authenticator/getRoute.d.ts +2 -2
- package/dist/types/helpers/authenticator/textUtil.d.ts +3 -3
- package/dist/types/helpers/authenticator/types.d.ts +4 -4
- package/dist/types/i18n/dictionaries/authenticator/de.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/en.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/es.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/fr.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/he.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/id.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/it.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/ja.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/kr.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/nb.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/nl.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/pl.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/pt.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/ru.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/sv.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/th.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/tr.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/ua.d.ts +1 -1
- package/dist/types/i18n/dictionaries/authenticator/zh.d.ts +1 -1
- package/dist/types/machines/authenticator/actions.d.ts +2 -2
- package/dist/types/machines/authenticator/actors/forgotPassword.d.ts +1 -1
- package/dist/types/machines/authenticator/actors/signIn.d.ts +1 -1
- package/dist/types/machines/authenticator/actors/signOut.d.ts +1 -1
- package/dist/types/machines/authenticator/actors/signUp.d.ts +1 -1
- package/dist/types/machines/authenticator/actors/utils.d.ts +1 -1
- package/dist/types/machines/authenticator/actors/verifyUserAttributes.d.ts +1 -1
- package/dist/types/machines/authenticator/defaultServices.d.ts +2 -2
- package/dist/types/machines/authenticator/getAuthenticatorConfig.d.ts +1 -1
- package/dist/types/machines/authenticator/guards.d.ts +2 -2
- package/dist/types/machines/authenticator/index.d.ts +1 -1
- package/dist/types/machines/authenticator/types.d.ts +4 -4
- package/dist/types/machines/authenticator/utils.d.ts +3 -3
- package/dist/types/theme/components/accordion.d.ts +1 -1
- package/dist/types/theme/components/aiConverstion.d.ts +1 -1
- package/dist/types/theme/components/alert.d.ts +1 -1
- package/dist/types/theme/components/autocomplete.d.ts +1 -1
- package/dist/types/theme/components/avatar.d.ts +1 -1
- package/dist/types/theme/components/badge.d.ts +1 -1
- package/dist/types/theme/components/breadcrumbs.d.ts +1 -1
- package/dist/types/theme/components/buttonGroup.d.ts +1 -1
- package/dist/types/theme/components/card.d.ts +1 -1
- package/dist/types/theme/components/checkbox.d.ts +1 -1
- package/dist/types/theme/components/checkboxField.d.ts +1 -1
- package/dist/types/theme/components/collection.d.ts +1 -1
- package/dist/types/theme/components/divider.d.ts +1 -1
- package/dist/types/theme/components/dropZone.d.ts +1 -1
- package/dist/types/theme/components/field.d.ts +1 -1
- package/dist/types/theme/components/fieldGroup.d.ts +1 -1
- package/dist/types/theme/components/fieldset.d.ts +1 -1
- package/dist/types/theme/components/fileUploader.d.ts +1 -1
- package/dist/types/theme/components/heading.d.ts +1 -1
- package/dist/types/theme/components/highlightMatch.d.ts +1 -1
- package/dist/types/theme/components/index.d.ts +48 -48
- package/dist/types/theme/components/input.d.ts +1 -1
- package/dist/types/theme/components/loader.d.ts +1 -1
- package/dist/types/theme/components/menu.d.ts +1 -1
- package/dist/types/theme/components/message.d.ts +1 -1
- package/dist/types/theme/components/pagination.d.ts +1 -1
- package/dist/types/theme/components/placeholder.d.ts +1 -1
- package/dist/types/theme/components/radio.d.ts +1 -1
- package/dist/types/theme/components/rating.d.ts +1 -1
- package/dist/types/theme/components/scrollview.d.ts +1 -1
- package/dist/types/theme/components/searchField.d.ts +1 -1
- package/dist/types/theme/components/select.d.ts +1 -1
- package/dist/types/theme/components/selectField.d.ts +1 -1
- package/dist/types/theme/components/sliderField.d.ts +1 -1
- package/dist/types/theme/components/stepperField.d.ts +1 -1
- package/dist/types/theme/components/storageBrowser.d.ts +1 -1
- package/dist/types/theme/components/storageManager.d.ts +1 -1
- package/dist/types/theme/components/switchField.d.ts +1 -1
- package/dist/types/theme/components/table.d.ts +1 -1
- package/dist/types/theme/components/tabs.d.ts +1 -1
- package/dist/types/theme/components/text.d.ts +1 -1
- package/dist/types/theme/components/textField.d.ts +1 -1
- package/dist/types/theme/components/textarea.d.ts +1 -1
- package/dist/types/theme/components/textareaField.d.ts +1 -1
- package/dist/types/theme/components/toggleButton.d.ts +1 -1
- package/dist/types/theme/components/utils.d.ts +5 -9
- package/dist/types/theme/createTheme/createAnimationCSS.d.ts +2 -2
- package/dist/types/theme/createTheme/createColorPalette.d.ts +1 -1
- package/dist/types/theme/createTheme/createComponentCSS.d.ts +3 -3
- package/dist/types/theme/createTheme/createComponentClasses.d.ts +3 -3
- package/dist/types/theme/createTheme/createGlobalCSS.d.ts +1 -1
- package/dist/types/theme/createTheme/createTheme.d.ts +2 -2
- package/dist/types/theme/createTheme/defineComponentTheme.d.ts +5 -5
- package/dist/types/theme/createTheme/index.d.ts +4 -2
- package/dist/types/theme/createTheme/utils.d.ts +3 -3
- package/dist/types/theme/defaultDarkModeOverride.d.ts +2 -2
- package/dist/types/theme/defaultTheme.d.ts +1 -1
- package/dist/types/theme/index.d.ts +5 -3
- package/dist/types/theme/tokens/borderWidths.d.ts +1 -1
- package/dist/types/theme/tokens/colors.d.ts +1 -1
- package/dist/types/theme/tokens/components/accordion.d.ts +1 -1
- package/dist/types/theme/tokens/components/aiConversation.d.ts +1 -1
- package/dist/types/theme/tokens/components/alert.d.ts +1 -1
- package/dist/types/theme/tokens/components/authenticator.d.ts +1 -1
- package/dist/types/theme/tokens/components/autocomplete.d.ts +1 -1
- package/dist/types/theme/tokens/components/avatar.d.ts +1 -1
- package/dist/types/theme/tokens/components/badge.d.ts +1 -1
- package/dist/types/theme/tokens/components/breadcrumbs.d.ts +1 -1
- package/dist/types/theme/tokens/components/button.d.ts +1 -1
- package/dist/types/theme/tokens/components/card.d.ts +1 -1
- package/dist/types/theme/tokens/components/checkbox.d.ts +1 -1
- package/dist/types/theme/tokens/components/checkboxField.d.ts +1 -1
- package/dist/types/theme/tokens/components/collection.d.ts +1 -1
- package/dist/types/theme/tokens/components/copy.d.ts +1 -1
- package/dist/types/theme/tokens/components/dialCodeSelect.d.ts +1 -1
- package/dist/types/theme/tokens/components/divider.d.ts +1 -1
- package/dist/types/theme/tokens/components/dropZone.d.ts +1 -1
- package/dist/types/theme/tokens/components/field.d.ts +1 -1
- package/dist/types/theme/tokens/components/fieldControl.d.ts +1 -1
- package/dist/types/theme/tokens/components/fieldGroup.d.ts +1 -1
- package/dist/types/theme/tokens/components/fieldMessages.d.ts +1 -1
- package/dist/types/theme/tokens/components/fieldset.d.ts +1 -1
- package/dist/types/theme/tokens/components/fileuploader.d.ts +2 -2
- package/dist/types/theme/tokens/components/flex.d.ts +1 -1
- package/dist/types/theme/tokens/components/heading.d.ts +1 -1
- package/dist/types/theme/tokens/components/highlightMatch.d.ts +1 -1
- package/dist/types/theme/tokens/components/icon.d.ts +1 -1
- package/dist/types/theme/tokens/components/image.d.ts +1 -1
- package/dist/types/theme/tokens/components/inAppMessaging.d.ts +1 -1
- package/dist/types/theme/tokens/components/index.d.ts +57 -57
- package/dist/types/theme/tokens/components/input.d.ts +1 -1
- package/dist/types/theme/tokens/components/link.d.ts +1 -1
- package/dist/types/theme/tokens/components/liveness.d.ts +1 -1
- package/dist/types/theme/tokens/components/loader.d.ts +1 -1
- package/dist/types/theme/tokens/components/menu.d.ts +1 -1
- package/dist/types/theme/tokens/components/message.d.ts +1 -1
- package/dist/types/theme/tokens/components/pagination.d.ts +1 -1
- package/dist/types/theme/tokens/components/passwordField.d.ts +1 -1
- package/dist/types/theme/tokens/components/phoneNumberField.d.ts +1 -1
- package/dist/types/theme/tokens/components/placeholder.d.ts +1 -1
- package/dist/types/theme/tokens/components/radio.d.ts +1 -1
- package/dist/types/theme/tokens/components/radioGroup.d.ts +1 -1
- package/dist/types/theme/tokens/components/rating.d.ts +1 -1
- package/dist/types/theme/tokens/components/searchField.d.ts +1 -1
- package/dist/types/theme/tokens/components/select.d.ts +1 -1
- package/dist/types/theme/tokens/components/selectField.d.ts +1 -1
- package/dist/types/theme/tokens/components/sliderField.d.ts +1 -1
- package/dist/types/theme/tokens/components/stepperField.d.ts +1 -1
- package/dist/types/theme/tokens/components/storagemanager.d.ts +2 -2
- package/dist/types/theme/tokens/components/switchField.d.ts +1 -1
- package/dist/types/theme/tokens/components/table.d.ts +1 -1
- package/dist/types/theme/tokens/components/tabs.d.ts +1 -1
- package/dist/types/theme/tokens/components/text.d.ts +1 -1
- package/dist/types/theme/tokens/components/textAreaField.d.ts +1 -1
- package/dist/types/theme/tokens/components/textField.d.ts +1 -1
- package/dist/types/theme/tokens/components/toggleButton.d.ts +1 -1
- package/dist/types/theme/tokens/components/toggleButtonGroup.d.ts +1 -1
- package/dist/types/theme/tokens/fontSizes.d.ts +1 -1
- package/dist/types/theme/tokens/fontWeights.d.ts +1 -1
- package/dist/types/theme/tokens/fonts.d.ts +1 -1
- package/dist/types/theme/tokens/index.d.ts +16 -16
- package/dist/types/theme/tokens/lineHeights.d.ts +1 -1
- package/dist/types/theme/tokens/opacities.d.ts +1 -1
- package/dist/types/theme/tokens/outlineOffsets.d.ts +1 -1
- package/dist/types/theme/tokens/outlineWidths.d.ts +1 -1
- package/dist/types/theme/tokens/radii.d.ts +1 -1
- package/dist/types/theme/tokens/shadows.d.ts +1 -1
- package/dist/types/theme/tokens/space.d.ts +1 -1
- package/dist/types/theme/tokens/time.d.ts +1 -1
- package/dist/types/theme/tokens/transforms.d.ts +1 -1
- package/dist/types/theme/tokens/types/designToken.d.ts +1 -1
- package/dist/types/theme/tokens/types/typography.d.ts +1 -1
- package/dist/types/theme/types.d.ts +7 -6
- package/dist/types/types/authenticator/attributes.d.ts +1 -1
- package/dist/types/types/authenticator/form.d.ts +2 -2
- package/dist/types/types/authenticator/validator.d.ts +2 -2
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/primitives/index.d.ts +2 -1
- package/dist/types/utils/index.d.ts +4 -2
- package/dist/types/utils/setUserAgent/constants.d.ts +1 -1
- package/dist/types/utils/setUserAgent/index.d.ts +2 -1
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/types/validators/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { WebTokens } from '../tokens';
|
|
2
|
-
import { AIConversationTheme } from './aiConverstion';
|
|
3
|
-
import { AccordionTheme } from './accordion';
|
|
4
|
-
import { AlertTheme } from './alert';
|
|
5
|
-
import { AutoCompleteTheme } from './autocomplete';
|
|
6
|
-
import { AvatarTheme } from './avatar';
|
|
7
|
-
import { BadgeTheme } from './badge';
|
|
8
|
-
import { BreadcrumbsTheme } from './breadcrumbs';
|
|
9
|
-
import { ButtonTheme } from './button';
|
|
10
|
-
import { ButtonGroupTheme } from './buttonGroup';
|
|
11
|
-
import { CardTheme } from './card';
|
|
12
|
-
import { CheckboxTheme } from './checkbox';
|
|
13
|
-
import { CheckboxFieldTheme } from './checkboxField';
|
|
14
|
-
import { CollectionTheme } from './collection';
|
|
15
|
-
import { DividerTheme } from './divider';
|
|
16
|
-
import { DropZoneTheme } from './dropZone';
|
|
17
|
-
import { FieldTheme } from './field';
|
|
18
|
-
import { FieldGroupTheme } from './fieldGroup';
|
|
19
|
-
import { FieldsetTheme } from './fieldset';
|
|
20
|
-
import { FileUploaderTheme } from './fileUploader';
|
|
21
|
-
import { HeadingTheme } from './heading';
|
|
22
|
-
import { HighlightMatchTheme } from './highlightMatch';
|
|
23
|
-
import { InputTheme } from './input';
|
|
24
|
-
import { LoaderTheme } from './loader';
|
|
25
|
-
import { MenuTheme } from './menu';
|
|
26
|
-
import { MessageTheme } from './message';
|
|
27
|
-
import { PaginationTheme } from './pagination';
|
|
28
|
-
import { PlaceholderTheme } from './placeholder';
|
|
29
|
-
import { RadioTheme } from './radio';
|
|
30
|
-
import { RatingTheme } from './rating';
|
|
31
|
-
import { ScrollViewTheme } from './scrollview';
|
|
32
|
-
import { SearchFieldTheme } from './searchField';
|
|
33
|
-
import { SelectTheme } from './select';
|
|
34
|
-
import { SelectFieldTheme } from './selectField';
|
|
35
|
-
import { SliderFieldTheme } from './sliderField';
|
|
36
|
-
import { StepperFieldTheme } from './stepperField';
|
|
37
|
-
import { StorageBrowserTheme } from './storageBrowser';
|
|
38
|
-
import { StorageManagerTheme } from './storageManager';
|
|
39
|
-
import { SwitchFieldTheme, SwitchTheme } from './switchField';
|
|
40
|
-
import { TableTheme } from './table';
|
|
41
|
-
import { TabsTheme } from './tabs';
|
|
42
|
-
import { TextTheme } from './text';
|
|
43
|
-
import { TextFieldTheme } from './textField';
|
|
44
|
-
import { TextareaTheme } from './textarea';
|
|
45
|
-
import { TextareaFieldTheme } from './textareaField';
|
|
46
|
-
import { ToggleButtonTheme, ToggleButtonGroupTheme } from './toggleButton';
|
|
47
|
-
import { ComponentTheme, BaseComponentTheme, BaseTheme } from './utils';
|
|
48
|
-
export { ClassNameFunction } from '../createTheme/createComponentClasses';
|
|
1
|
+
import type { WebTokens } from '../tokens';
|
|
2
|
+
import type { AIConversationTheme } from './aiConverstion';
|
|
3
|
+
import type { AccordionTheme } from './accordion';
|
|
4
|
+
import type { AlertTheme } from './alert';
|
|
5
|
+
import type { AutoCompleteTheme } from './autocomplete';
|
|
6
|
+
import type { AvatarTheme } from './avatar';
|
|
7
|
+
import type { BadgeTheme } from './badge';
|
|
8
|
+
import type { BreadcrumbsTheme } from './breadcrumbs';
|
|
9
|
+
import type { ButtonTheme } from './button';
|
|
10
|
+
import type { ButtonGroupTheme } from './buttonGroup';
|
|
11
|
+
import type { CardTheme } from './card';
|
|
12
|
+
import type { CheckboxTheme } from './checkbox';
|
|
13
|
+
import type { CheckboxFieldTheme } from './checkboxField';
|
|
14
|
+
import type { CollectionTheme } from './collection';
|
|
15
|
+
import type { DividerTheme } from './divider';
|
|
16
|
+
import type { DropZoneTheme } from './dropZone';
|
|
17
|
+
import type { FieldTheme } from './field';
|
|
18
|
+
import type { FieldGroupTheme } from './fieldGroup';
|
|
19
|
+
import type { FieldsetTheme } from './fieldset';
|
|
20
|
+
import type { FileUploaderTheme } from './fileUploader';
|
|
21
|
+
import type { HeadingTheme } from './heading';
|
|
22
|
+
import type { HighlightMatchTheme } from './highlightMatch';
|
|
23
|
+
import type { InputTheme } from './input';
|
|
24
|
+
import type { LoaderTheme } from './loader';
|
|
25
|
+
import type { MenuTheme } from './menu';
|
|
26
|
+
import type { MessageTheme } from './message';
|
|
27
|
+
import type { PaginationTheme } from './pagination';
|
|
28
|
+
import type { PlaceholderTheme } from './placeholder';
|
|
29
|
+
import type { RadioTheme } from './radio';
|
|
30
|
+
import type { RatingTheme } from './rating';
|
|
31
|
+
import type { ScrollViewTheme } from './scrollview';
|
|
32
|
+
import type { SearchFieldTheme } from './searchField';
|
|
33
|
+
import type { SelectTheme } from './select';
|
|
34
|
+
import type { SelectFieldTheme } from './selectField';
|
|
35
|
+
import type { SliderFieldTheme } from './sliderField';
|
|
36
|
+
import type { StepperFieldTheme } from './stepperField';
|
|
37
|
+
import type { StorageBrowserTheme } from './storageBrowser';
|
|
38
|
+
import type { StorageManagerTheme } from './storageManager';
|
|
39
|
+
import type { SwitchFieldTheme, SwitchTheme } from './switchField';
|
|
40
|
+
import type { TableTheme } from './table';
|
|
41
|
+
import type { TabsTheme } from './tabs';
|
|
42
|
+
import type { TextTheme } from './text';
|
|
43
|
+
import type { TextFieldTheme } from './textField';
|
|
44
|
+
import type { TextareaTheme } from './textarea';
|
|
45
|
+
import type { TextareaFieldTheme } from './textareaField';
|
|
46
|
+
import type { ToggleButtonTheme, ToggleButtonGroupTheme } from './toggleButton';
|
|
47
|
+
import type { ComponentTheme, BaseComponentTheme, BaseTheme } from './utils';
|
|
48
|
+
export type { ClassNameFunction } from '../createTheme/createComponentClasses';
|
|
49
49
|
export type { ComponentTheme, BaseComponentTheme, BaseTheme };
|
|
50
50
|
export type ComponentsTheme<TokensType extends WebTokens = WebTokens> = BaseComponentTheme<BaseTheme, string, TokensType> | BaseComponentTheme<AccordionTheme, 'accordion', TokensType> | BaseComponentTheme<AIConversationTheme, 'ai-conversation', TokensType> | BaseComponentTheme<AlertTheme, 'alert', TokensType> | BaseComponentTheme<AutoCompleteTheme, 'autocomplete', TokensType> | BaseComponentTheme<AvatarTheme, 'avatar', TokensType> | BaseComponentTheme<BadgeTheme, 'badge', TokensType> | BaseComponentTheme<BreadcrumbsTheme, 'breadcrumbs', TokensType> | BaseComponentTheme<ButtonTheme, 'button', TokensType> | BaseComponentTheme<ButtonGroupTheme, 'buttongroup', TokensType> | BaseComponentTheme<CardTheme, 'card', TokensType> | BaseComponentTheme<CheckboxTheme, 'checkbox', TokensType> | BaseComponentTheme<CheckboxFieldTheme, 'checkboxfield', TokensType> | BaseComponentTheme<CollectionTheme, 'collection', TokensType> | BaseComponentTheme<DividerTheme, 'divider', TokensType> | BaseComponentTheme<DropZoneTheme, 'dropzone', TokensType> | BaseComponentTheme<FieldTheme, 'field', TokensType> | BaseComponentTheme<FieldGroupTheme, 'field-group', TokensType> | BaseComponentTheme<FieldsetTheme, 'fieldset', TokensType> | BaseComponentTheme<FileUploaderTheme, 'fileuploader', TokensType> | BaseComponentTheme<HeadingTheme, 'heading', TokensType> | BaseComponentTheme<HighlightMatchTheme, 'highlightmatch', TokensType> | BaseComponentTheme<InputTheme, 'input', TokensType> | BaseComponentTheme<LoaderTheme, 'loader', TokensType> | BaseComponentTheme<MenuTheme, 'menu', TokensType> | BaseComponentTheme<MessageTheme, 'message', TokensType> | BaseComponentTheme<PaginationTheme, 'pagination', TokensType> | BaseComponentTheme<PlaceholderTheme, 'placeholder', TokensType> | BaseComponentTheme<RatingTheme, 'rating', TokensType> | BaseComponentTheme<RadioTheme, 'radio', TokensType> | BaseComponentTheme<ScrollViewTheme, 'scrollview', TokensType> | BaseComponentTheme<SearchFieldTheme, 'searchfield', TokensType> | BaseComponentTheme<SelectTheme, 'select', TokensType> | BaseComponentTheme<SelectFieldTheme, 'selectfield', TokensType> | BaseComponentTheme<SliderFieldTheme, 'sliderfield', TokensType> | BaseComponentTheme<StepperFieldTheme, 'stepperfield', TokensType> | BaseComponentTheme<StorageBrowserTheme, 'storage-browser', TokensType> | BaseComponentTheme<StorageManagerTheme, 'storagemanager', TokensType> | BaseComponentTheme<SwitchTheme, 'switch', TokensType> | BaseComponentTheme<SwitchFieldTheme, 'switchfield', TokensType> | BaseComponentTheme<TabsTheme, 'tabs', TokensType> | BaseComponentTheme<TableTheme, 'table', TokensType> | BaseComponentTheme<TextTheme, 'text', TokensType> | BaseComponentTheme<TextareaTheme, 'textarea', TokensType> | BaseComponentTheme<TextareaFieldTheme, 'textareafield', TokensType> | BaseComponentTheme<TextFieldTheme, 'textfield', TokensType> | BaseComponentTheme<ToggleButtonTheme, 'togglebutton', TokensType> | BaseComponentTheme<ToggleButtonGroupTheme, 'togglebuttongroup', TokensType>;
|
|
51
51
|
export type AllComponentThemes = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, FieldControlModifiers } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, FieldControlModifiers } from './utils';
|
|
2
2
|
export type InputTheme<Required extends boolean = false> = ComponentStyles & Modifiers<FieldControlModifiers, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentStyles, Elements, Modifiers, Size } from './utils';
|
|
1
|
+
import type { ComponentStyles, Elements, Modifiers, Size } from './utils';
|
|
2
2
|
export type LoaderTheme<Required extends boolean = false> = ComponentStyles & Elements<{
|
|
3
3
|
label?: ComponentStyles;
|
|
4
4
|
}, Required> & Modifiers<Size | 'linear' | 'determinate', Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentStyles, Elements } from './utils';
|
|
1
|
+
import type { ComponentStyles, Elements } from './utils';
|
|
2
2
|
export type MenuTheme<Required extends boolean = false> = ComponentStyles & Elements<{
|
|
3
3
|
[key in 'wrapper' | 'trigger' | 'content' | 'content__item']?: ComponentStyles;
|
|
4
4
|
}, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements, ColorTheme } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements, ColorTheme } from './utils';
|
|
2
2
|
export type MessageTheme<Required extends boolean = false> = ComponentStyles & Modifiers<'plain' | 'outlined' | 'filled' | ColorTheme | 'neutral', Required> & Elements<{
|
|
3
3
|
[key in 'icon' | 'heading' | 'content' | 'dismiss']?: ComponentStyles;
|
|
4
4
|
}, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentStyles, Elements, Modifiers } from './utils';
|
|
1
|
+
import type { ComponentStyles, Elements, Modifiers } from './utils';
|
|
2
2
|
export type PaginationTheme<Required extends boolean = false> = ComponentStyles & Elements<{
|
|
3
3
|
item?: ComponentStyles & Modifiers<'ellipsis' | 'current' | 'disabled'>;
|
|
4
4
|
}, Required>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Size } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Size } from './utils';
|
|
2
2
|
export type PlaceholderTheme<Required extends boolean = false> = ComponentStyles & Modifiers<Size, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentStyles, Elements, Modifiers, Size } from './utils';
|
|
1
|
+
import type { ComponentStyles, Elements, Modifiers, Size } from './utils';
|
|
2
2
|
export type RadioTheme<Required extends boolean = false> = ComponentStyles & Modifiers<Size | 'disabled', Required> & Elements<{
|
|
3
3
|
input?: ComponentStyles;
|
|
4
4
|
button?: ComponentStyles & Modifiers<Size>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentStyles, Elements, Modifiers, Size } from './utils';
|
|
1
|
+
import type { ComponentStyles, Elements, Modifiers, Size } from './utils';
|
|
2
2
|
export type RatingTheme<Required extends boolean = false> = ComponentStyles & Modifiers<Size> & Elements<{
|
|
3
3
|
item?: ComponentStyles;
|
|
4
4
|
icon?: ComponentStyles & Modifiers<'filled' | 'empty'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ComponentStyles, Modifiers, Orientation } from './utils';
|
|
1
|
+
import type { ComponentStyles, Modifiers, Orientation } from './utils';
|
|
2
2
|
export type ScrollViewTheme<Required extends boolean = false> = ComponentStyles & Modifiers<Orientation, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements, Size, FieldControlModifiers } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements, Size, FieldControlModifiers } from './utils';
|
|
2
2
|
export type SelectTheme<Required extends boolean = false> = ComponentStyles & Modifiers<FieldControlModifiers | 'expanded', Required> & Elements<{
|
|
3
3
|
wrapper?: ComponentStyles;
|
|
4
4
|
icon?: ComponentStyles & Modifiers<Size, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements, ColorTheme, Size } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements, ColorTheme, Size } from './utils';
|
|
2
2
|
export type SliderFieldTheme<Required extends boolean = false> = ComponentStyles & Modifiers<ColorTheme, Required> & Elements<{
|
|
3
3
|
label?: ComponentStyles;
|
|
4
4
|
group?: ComponentStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements, ColorTheme } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements, ColorTheme } from './utils';
|
|
2
2
|
export type StepperFieldTheme<Required extends boolean = false> = ComponentStyles & Modifiers<ColorTheme, Required> & Elements<{
|
|
3
3
|
'button--increase'?: ComponentStyles & Modifiers<'quiet' | 'disabled', Required>;
|
|
4
4
|
'button--decrease'?: ComponentStyles & Modifiers<'quiet' | 'disabled', Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements } from './utils';
|
|
2
2
|
type TableCellVariations = 'download' | 'select' | 'cancel';
|
|
3
3
|
export type StorageBrowserTheme<Required extends boolean = false> = ComponentStyles & Elements<{
|
|
4
4
|
error?: ComponentStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements, ColorTheme } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements, ColorTheme } from './utils';
|
|
2
2
|
export type StorageManagerTheme<Required extends boolean = false> = ComponentStyles & Modifiers<ColorTheme, Required> & Elements<{
|
|
3
3
|
dropzone?: ComponentStyles & Modifiers<'active' | 'small', Required>;
|
|
4
4
|
dropzone__icon?: ComponentStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Elements, Size } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Elements, Size } from './utils';
|
|
2
2
|
export type SwitchTheme<Required extends boolean = false> = ComponentStyles & Elements<{
|
|
3
3
|
wrapper?: ComponentStyles & Modifiers<'start' | 'end' | 'top' | 'bottom', Required>;
|
|
4
4
|
track?: ComponentStyles & Modifiers<'checked' | 'disabled' | 'focused' | 'error'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, Size, Elements } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, Size, Elements } from './utils';
|
|
2
2
|
export type TableTheme<Required extends boolean = false> = ComponentStyles & Modifiers<Size | 'bordered' | 'striped', Required> & Elements<{
|
|
3
3
|
[key in 'caption' | 'head' | 'body' | 'foot' | 'row' | 'th' | 'td']?: ComponentStyles;
|
|
4
4
|
}, Required>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentStyles, Elements, Modifiers } from './utils';
|
|
1
|
+
import type { ComponentStyles, Elements, Modifiers } from './utils';
|
|
2
2
|
export type TabsTheme<Required extends boolean = false> = ComponentStyles & Elements<{
|
|
3
3
|
list?: ComponentStyles & Modifiers<'equal' | 'relative' | 'top' | 'bottom'>;
|
|
4
4
|
panel?: ComponentStyles & Modifiers<'active'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles } from './utils';
|
|
2
2
|
export type TextVariation = 'primary' | 'secondary' | 'tertiary' | 'error' | 'warning' | 'info' | 'success';
|
|
3
3
|
export type TextTheme<Required extends boolean = false> = ComponentStyles & Modifiers<TextVariation | 'truncated', Required>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ComponentStyles } from './utils';
|
|
1
|
+
import type { ComponentStyles } from './utils';
|
|
2
2
|
export type TextFieldTheme = ComponentStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles, FieldControlModifiers } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles, FieldControlModifiers } from './utils';
|
|
2
2
|
export type TextareaTheme<Required extends boolean = false> = ComponentStyles & Modifiers<FieldControlModifiers, Required>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ComponentStyles } from './utils';
|
|
1
|
+
import type { ComponentStyles } from './utils';
|
|
2
2
|
export type TextareaFieldTheme = ComponentStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Modifiers, ComponentStyles } from './utils';
|
|
1
|
+
import type { Modifiers, ComponentStyles } from './utils';
|
|
2
2
|
export type ToggleButtonTheme<Required extends boolean = false> = ComponentStyles & Modifiers<'primary' | 'pressed' | 'link', Required>;
|
|
3
3
|
export type ToggleButtonGroupTheme = ComponentStyles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as CSS from 'csstype';
|
|
2
|
-
import { DesignToken } from '../types';
|
|
3
|
-
import { WebTokens } from '../tokens';
|
|
4
|
-
import { Breakpoints } from '../breakpoints';
|
|
2
|
+
import type { DesignToken } from '../types';
|
|
3
|
+
import type { WebTokens } from '../tokens';
|
|
4
|
+
import type { Breakpoints } from '../breakpoints';
|
|
5
5
|
export type ColorTheme = 'info' | 'warning' | 'success' | 'error';
|
|
6
6
|
export type Size = 'small' | 'large';
|
|
7
7
|
export type Orientation = 'horizontal' | 'vertical';
|
|
@@ -16,13 +16,9 @@ export interface ComponentStyles extends CSSProperties, Selectors {
|
|
|
16
16
|
_vars?: Record<string, DesignToken | string>;
|
|
17
17
|
}
|
|
18
18
|
export type Modifiers<Keys extends string = string, Required extends boolean = false> = Required extends true ? {
|
|
19
|
-
_modifiers:
|
|
20
|
-
[key in Keys]: ComponentStyles;
|
|
21
|
-
};
|
|
19
|
+
_modifiers: Record<Keys, ComponentStyles>;
|
|
22
20
|
} : {
|
|
23
|
-
_modifiers?:
|
|
24
|
-
[key in Keys]?: ComponentStyles;
|
|
25
|
-
};
|
|
21
|
+
_modifiers?: Partial<Record<Keys, ComponentStyles>>;
|
|
26
22
|
};
|
|
27
23
|
export type Elements<Properties extends Record<string, ComponentStyles & {
|
|
28
24
|
_modifiers?: Record<string, ComponentStyles>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WebTokens } from '../tokens';
|
|
2
|
-
import { Animations } from '../types';
|
|
1
|
+
import type { WebTokens } from '../tokens';
|
|
2
|
+
import type { Animations } from '../types';
|
|
3
3
|
export declare function createAnimationCSS({ animations, tokens, }: {
|
|
4
4
|
animations: Animations;
|
|
5
5
|
tokens: WebTokens;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorValues, ScaleKey } from '../tokens/colors';
|
|
1
|
+
import type { ColorValues, ScaleKey } from '../tokens/colors';
|
|
2
2
|
/**
|
|
3
3
|
* Takes a set of keys and a color name and returns an object of design tokens,
|
|
4
4
|
* used for applying a primary color at the theme level to our tokens.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WebTheme } from '../types';
|
|
2
|
-
import { ComponentsTheme } from '../components';
|
|
3
|
-
import { BaseTheme } from '../components/utils';
|
|
1
|
+
import type { WebTheme } from '../types';
|
|
2
|
+
import type { ComponentsTheme } from '../components';
|
|
3
|
+
import type { BaseTheme } from '../components/utils';
|
|
4
4
|
export declare function recursiveComponentCSS(baseSelector: string, theme: BaseTheme): string;
|
|
5
5
|
interface CreateComponentCSSParams {
|
|
6
6
|
theme: Pick<WebTheme, 'tokens' | 'breakpoints' | 'name'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ClassNamesArgs } from '../../utils';
|
|
2
|
-
import { ComponentThemeFromName } from '../components';
|
|
3
|
-
import { BaseTheme } from '../components/utils';
|
|
1
|
+
import type { ClassNamesArgs } from '../../utils';
|
|
2
|
+
import type { ComponentThemeFromName } from '../components';
|
|
3
|
+
import type { BaseTheme } from '../components/utils';
|
|
4
4
|
type ElementNames<T extends unknown> = T extends {
|
|
5
5
|
_element?: any;
|
|
6
6
|
} ? keyof Required<T['_element']> : never;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Theme, DefaultTheme, WebTheme } from '../types';
|
|
2
|
-
import { WebTokens } from '../tokens';
|
|
1
|
+
import type { Theme, DefaultTheme, WebTheme } from '../types';
|
|
2
|
+
import type { WebTokens } from '../tokens';
|
|
3
3
|
/**
|
|
4
4
|
* This will be used like `const myTheme = createTheme({})`
|
|
5
5
|
* `myTheme` can then be passed to a Provider or the generated CSS
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentThemeFromName, ComponentsTheme } from '../components';
|
|
2
|
-
import { BaseTheme, ComponentTheme, ComponentThemeOverride } from '../components/utils';
|
|
3
|
-
import { WebTokens } from '../tokens';
|
|
4
|
-
import { WebTheme } from '../types';
|
|
5
|
-
import { ClassNameFunction } from './createComponentClasses';
|
|
1
|
+
import type { ComponentThemeFromName, ComponentsTheme } from '../components';
|
|
2
|
+
import type { BaseTheme, ComponentTheme, ComponentThemeOverride } from '../components/utils';
|
|
3
|
+
import type { WebTokens } from '../tokens';
|
|
4
|
+
import type { WebTheme } from '../types';
|
|
5
|
+
import type { ClassNameFunction } from './createComponentClasses';
|
|
6
6
|
type CreateComponentThemeProps<TokensType extends WebTokens = WebTokens, ThemeType extends BaseTheme = BaseTheme, NameType extends string = string, OverridesType extends BaseTheme = BaseTheme> = {
|
|
7
7
|
name: NameType;
|
|
8
8
|
theme?: ComponentTheme<ThemeType, TokensType>;
|
|
@@ -2,6 +2,8 @@ export { createTheme } from './createTheme';
|
|
|
2
2
|
export { defineComponentTheme } from './defineComponentTheme';
|
|
3
3
|
export { createComponentCSS } from './createComponentCSS';
|
|
4
4
|
export { createGlobalCSS } from './createGlobalCSS';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
5
|
+
export type { SetupToken } from './utils';
|
|
6
|
+
export { cssNameTransform, deepExtend, isDesignToken, setupTokens, } from './utils';
|
|
7
|
+
export type { ClassNameArgs } from './createComponentClasses';
|
|
8
|
+
export { createComponentClasses } from './createComponentClasses';
|
|
7
9
|
export { resolveObject } from './resolveObject';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WebDesignToken } from '../types';
|
|
2
|
-
import { ShadowValue } from '../tokens/types/designToken';
|
|
3
|
-
import { CSSProperties } from '../components/utils';
|
|
1
|
+
import type { WebDesignToken } from '../types';
|
|
2
|
+
import type { ShadowValue } from '../tokens/types/designToken';
|
|
3
|
+
import type { CSSProperties } from '../components/utils';
|
|
4
4
|
export declare const CSS_VARIABLE_PREFIX = "amplify";
|
|
5
5
|
interface NameTransformProps {
|
|
6
6
|
path?: Array<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColorModeOverride } from './types';
|
|
2
|
-
import { ReactNativeTokens } from './tokens';
|
|
1
|
+
import type { ColorModeOverride } from './types';
|
|
2
|
+
import type { ReactNativeTokens } from './tokens';
|
|
3
3
|
/**
|
|
4
4
|
* A basic dark mode that just flips the base color
|
|
5
5
|
* palette.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DefaultTheme } from './types';
|
|
1
|
+
import type { DefaultTheme } from './types';
|
|
2
2
|
export declare const defaultTheme: DefaultTheme;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export type { SetupToken } from './createTheme';
|
|
2
|
+
export { createTheme, deepExtend, defineComponentTheme, createComponentClasses, createComponentCSS, createGlobalCSS, cssNameTransform, isDesignToken, resolveObject, setupTokens, } from './createTheme';
|
|
3
|
+
export type { BaseComponentTheme } from './components';
|
|
3
4
|
export { defaultTheme } from './defaultTheme';
|
|
4
5
|
export { defaultDarkModeOverride, reactNativeDarkTokens, } from './defaultDarkModeOverride';
|
|
5
|
-
export {
|
|
6
|
+
export type { ReactNativeTokens } from './tokens';
|
|
7
|
+
export { reactNativeTokens } from './tokens';
|
|
6
8
|
export * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenValues, OutputVariantKey, RecursiveDesignToken, SpaceValue } from './types/designToken';
|
|
1
|
+
import type { DesignTokenValues, OutputVariantKey, RecursiveDesignToken, SpaceValue } from './types/designToken';
|
|
2
2
|
type BorderWidthSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export type BorderWidths<Output extends OutputVariantKey = unknown, Platform = unknown> = (Output extends 'required' | 'default' ? Required<DesignTokenValues<BorderWidthSize, SpaceValue<Platform, Output>, Output, Platform>> : Partial<DesignTokenValues<BorderWidthSize, SpaceValue<Platform, Output>, Output, Platform>>) & RecursiveDesignToken<SpaceValue<Platform, Output>, Output, Platform>;
|
|
4
4
|
export declare const borderWidths: BorderWidths<'default'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorValue, DesignTokenValues, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
|
|
1
|
+
import type { ColorValue, DesignTokenValues, OutputVariantKey, RecursiveDesignToken } from './types/designToken';
|
|
2
2
|
/**
|
|
3
3
|
* Util type for creating color interfaces using `ColorValue` from string and number unions
|
|
4
4
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type AccordionTokens<Output extends OutputVariantKey> = DesignTokenProperties<'backgroundColor', Output> & {
|
|
3
3
|
item?: DesignTokenProperties<'borderWidth' | 'borderStyle' | 'borderColor' | 'borderRadius', Output> & {
|
|
4
4
|
icon?: DesignTokenProperties<'transitionDuration' | 'transitionTimingFunction' | 'color', Output>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export interface AIConversationTokens<OutputType extends OutputVariantKey> {
|
|
3
3
|
message?: DesignTokenProperties<'backgroundColor' | 'borderRadius' | 'paddingBlock' | 'paddingInline' | 'gap', OutputType> & {
|
|
4
4
|
sender?: DesignTokenProperties<'gap', OutputType> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type AlertVariationTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'color', OutputType>;
|
|
3
3
|
type AlertIconTokens<OutputType> = DesignTokenProperties<'size', OutputType>;
|
|
4
4
|
type AlertHeadingTokens<OutputType> = DesignTokenProperties<'fontSize' | 'fontWeight', OutputType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type ModalTokenKey = 'width' | 'height' | 'backgroundColor' | 'top' | 'left';
|
|
3
3
|
type AuthenticatorModalTokens<OutputType> = DesignTokenProperties<ModalTokenKey, OutputType>;
|
|
4
4
|
type RouterKey = 'borderWidth' | 'borderStyle' | 'borderColor' | 'backgroundColor' | 'boxShadow';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type AutocompleteTokens<OutputType extends OutputVariantKey> = {
|
|
3
3
|
menu?: DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'marginBlockStart' | 'width', OutputType> & {
|
|
4
4
|
options?: DesignTokenProperties<'display' | 'flexDirection' | 'maxHeight', OutputType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type AvatarVariationTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'color' | 'borderColor', OutputType>;
|
|
3
3
|
type AvatarSizeTokens<OutputType> = DesignTokenProperties<'fontSize' | 'width' | 'height', OutputType>;
|
|
4
4
|
type AvatarKey = 'backgroundColor' | 'borderRadius' | 'borderWidth' | 'borderColor' | 'color' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'height' | 'textAlign' | 'width';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type VariationKey = 'backgroundColor' | 'color';
|
|
3
3
|
type BadgeVariationTokens<OutputType> = DesignTokenProperties<VariationKey, OutputType>;
|
|
4
4
|
type SizeKey = 'fontSize' | 'paddingHorizontal' | 'paddingVertical';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type BreadcrumbsTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'gap' | 'flexDirection' | 'flexWrap' | 'color', OutputType> & {
|
|
3
3
|
item?: DesignTokenProperties<'color' | 'fontSize' | 'alignItems' | 'lineHeight' | 'flexDirection', OutputType>;
|
|
4
4
|
separator?: DesignTokenProperties<'color' | 'fontSize' | 'paddingInline', OutputType>;
|
|
@@ -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 ColorThemeTokens<Output> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'color', Output> & {
|
|
4
4
|
_hover?: StateTokens<Output>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type CardVariationStyleKey = 'backgroundColor' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'boxShadow';
|
|
3
3
|
type CardVariationTokens<OutputType> = DesignTokenProperties<CardVariationStyleKey, OutputType>;
|
|
4
4
|
export type CardTokens<OutputType extends OutputVariantKey> = CardVariationTokens<OutputType> & DesignTokenProperties<'padding', OutputType> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type ButtonFocusToken<Output> = DesignTokenProperties<'outlineColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'borderColor' | 'boxShadow', Output>;
|
|
3
3
|
type BeforeToken<Output> = DesignTokenProperties<'width' | 'height' | 'borderWidth' | 'borderRadius' | 'borderStyle' | 'borderColor', Output>;
|
|
4
4
|
type ButtonToken<Output> = DesignTokenProperties<'position' | 'alignItems' | 'justifyContent' | 'color', Output> & {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type CheckboxFieldTokens<Output extends OutputVariantKey> = DesignTokenProperties<'alignItems' | 'alignContent' | 'flexDirection' | 'justifyContent', Output>;
|
|
3
3
|
export declare const checkboxfield: Required<CheckboxFieldTokens<'default'>>;
|
|
@@ -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 PaginationTokens<Output> = {
|
|
4
4
|
current?: DesignTokenProperties<'color' | 'backgroundColor', Output>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type CopyTokens<Output extends OutputVariantKey> = DesignTokenProperties<'fontSize' | 'gap', Output> & {
|
|
3
3
|
svg?: {
|
|
4
4
|
path?: DesignTokenProperties<'fill', Output>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type DialCodeSelectTokens<Output extends OutputVariantKey> = DesignTokenProperties<'height', Output>;
|
|
3
3
|
export declare const dialcodeselect: Required<DialCodeSelectTokens<'default'>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type DividerSizeTokens<Output> = DesignTokenProperties<'borderWidth', Output>;
|
|
3
3
|
export type DividerTokens<Output extends OutputVariantKey> = DesignTokenProperties<'borderStyle' | 'borderColor' | 'borderWidth' | 'opacity', Output> & {
|
|
4
4
|
label?: DesignTokenProperties<'color' | 'paddingInline' | 'fontSize' | 'backgroundColor', Output>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type BaseDropZoneTokens<OutputType> = DesignTokenProperties<'backgroundColor' | 'borderColor' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'color', OutputType>;
|
|
3
3
|
export type DropZoneTokens<OutputType extends OutputVariantKey> = DesignTokenProperties<'gap' | 'paddingBlock' | 'paddingInline' | 'textAlign', OutputType> & BaseDropZoneTokens<OutputType> & {
|
|
4
4
|
_active?: BaseDropZoneTokens<OutputType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type FieldSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'gap', Output>;
|
|
3
3
|
export type FieldTokens<Output extends OutputVariantKey> = FieldSizeTokens<Output> & DesignTokenProperties<'flexDirection', Output> & {
|
|
4
4
|
small?: FieldSizeTokens<Output>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
type FieldControlSizeTokens<Output> = DesignTokenProperties<'fontSize' | 'paddingBlockStart' | 'paddingBlockEnd' | 'paddingInlineStart' | 'paddingInlineEnd', Output>;
|
|
3
3
|
type FieldControlFocusTokens<Output> = DesignTokenProperties<'borderColor' | 'boxShadow', Output>;
|
|
4
4
|
type FieldControlDisabledTokens<Output> = DesignTokenProperties<'color' | 'cursor' | 'borderColor' | 'backgroundColor', Output>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
1
|
+
import type { DesignTokenProperties, OutputVariantKey } from '../types/designToken';
|
|
2
2
|
export type FieldGroupTokens<Output extends OutputVariantKey> = DesignTokenProperties<'gap', Output> & {
|
|
3
3
|
vertical?: DesignTokenProperties<'alignItems', Output>;
|
|
4
4
|
outer?: DesignTokenProperties<'alignItems', Output>;
|