@dxc-technology/halstack-react 0.0.0-bd47c58 → 0.0.0-bdaadec
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/BackgroundColorContext.d.ts +1 -10
- package/BackgroundColorContext.js +4 -21
- package/HalstackContext.d.ts +43 -138
- package/HalstackContext.js +10 -35
- package/accordion/Accordion.accessibility.test.js +71 -0
- package/accordion/Accordion.js +31 -84
- package/accordion/Accordion.stories.tsx +5 -51
- package/accordion/Accordion.test.js +18 -33
- package/accordion/types.d.ts +6 -6
- package/accordion-group/AccordionGroup.accessibility.test.js +88 -0
- package/accordion-group/AccordionGroup.d.ts +2 -3
- package/accordion-group/AccordionGroup.js +17 -44
- package/accordion-group/AccordionGroup.stories.tsx +1 -1
- package/accordion-group/AccordionGroup.test.js +42 -60
- package/accordion-group/AccordionGroupAccordion.js +11 -23
- package/accordion-group/AccordionGroupContext.d.ts +3 -0
- package/accordion-group/AccordionGroupContext.js +8 -0
- package/accordion-group/types.d.ts +7 -7
- package/action-icon/ActionIcon.accessibility.test.js +63 -0
- package/action-icon/ActionIcon.d.ts +4 -0
- package/action-icon/ActionIcon.js +48 -0
- package/action-icon/ActionIcon.stories.tsx +41 -0
- package/action-icon/ActionIcon.test.js +64 -0
- package/action-icon/types.d.ts +26 -0
- package/alert/Alert.accessibility.test.js +95 -0
- package/alert/Alert.js +29 -118
- package/alert/Alert.test.js +28 -45
- package/alert/types.d.ts +5 -5
- package/badge/Badge.accessibility.test.js +129 -0
- package/badge/Badge.d.ts +1 -1
- package/badge/Badge.js +141 -43
- package/badge/Badge.stories.tsx +210 -0
- package/badge/Badge.test.js +30 -0
- package/badge/types.d.ts +52 -3
- package/bleed/Bleed.js +13 -21
- package/bleed/types.d.ts +2 -2
- package/box/Box.accessibility.test.js +33 -0
- package/box/Box.js +11 -33
- package/box/Box.test.js +1 -6
- package/box/types.d.ts +3 -3
- package/bulleted-list/BulletedList.accessibility.test.js +107 -0
- package/bulleted-list/BulletedList.js +22 -55
- package/bulleted-list/BulletedList.stories.tsx +2 -93
- package/bulleted-list/types.d.ts +5 -5
- package/button/Button.accessibility.test.js +127 -0
- package/button/Button.js +36 -59
- package/button/Button.stories.tsx +33 -133
- package/button/Button.test.js +13 -21
- package/button/types.d.ts +5 -5
- package/card/Card.accessibility.test.js +36 -0
- package/card/Card.js +21 -44
- package/card/Card.test.js +10 -21
- package/card/types.d.ts +5 -5
- package/checkbox/Checkbox.accessibility.test.js +87 -0
- package/checkbox/Checkbox.js +85 -120
- package/checkbox/Checkbox.stories.tsx +16 -54
- package/checkbox/Checkbox.test.js +107 -63
- package/checkbox/types.d.ts +8 -4
- package/chip/Chip.accessibility.test.js +67 -0
- package/chip/Chip.js +20 -36
- package/chip/Chip.stories.tsx +5 -24
- package/chip/Chip.test.js +17 -30
- package/chip/types.d.ts +4 -4
- package/common/coreTokens.d.ts +105 -14
- package/common/coreTokens.js +40 -23
- package/common/utils.js +2 -8
- package/common/variables.d.ts +44 -139
- package/common/variables.js +55 -157
- package/container/Container.d.ts +4 -0
- package/container/Container.js +194 -0
- package/container/Container.stories.tsx +214 -0
- package/container/types.d.ts +74 -0
- package/container/types.js +5 -0
- package/contextual-menu/ContextualMenu.accessibility.test.js +86 -0
- package/contextual-menu/ContextualMenu.d.ts +7 -0
- package/contextual-menu/ContextualMenu.js +71 -0
- package/contextual-menu/ContextualMenu.stories.tsx +182 -0
- package/contextual-menu/ContextualMenu.test.js +71 -0
- package/contextual-menu/MenuItemAction.d.ts +4 -0
- package/contextual-menu/MenuItemAction.js +46 -0
- package/contextual-menu/types.d.ts +22 -0
- package/contextual-menu/types.js +5 -0
- package/date-input/Calendar.js +13 -57
- package/date-input/DateInput.accessibility.test.js +216 -0
- package/date-input/DateInput.js +50 -96
- package/date-input/DateInput.stories.tsx +11 -30
- package/date-input/DateInput.test.js +674 -701
- package/date-input/DatePicker.js +11 -42
- package/date-input/Icons.d.ts +6 -6
- package/date-input/Icons.js +6 -23
- package/date-input/YearPicker.js +8 -34
- package/date-input/types.d.ts +28 -22
- package/dialog/Dialog.accessibility.test.js +69 -0
- package/dialog/Dialog.js +13 -40
- package/dialog/Dialog.stories.tsx +170 -0
- package/dialog/Dialog.test.js +126 -188
- package/dialog/types.d.ts +18 -13
- package/divider/Divider.accessibility.test.js +33 -0
- package/divider/Divider.d.ts +4 -0
- package/divider/Divider.js +36 -0
- package/divider/Divider.stories.tsx +223 -0
- package/divider/Divider.test.js +38 -0
- package/divider/types.d.ts +21 -0
- package/divider/types.js +5 -0
- package/dropdown/Dropdown.accessibility.test.js +180 -0
- package/dropdown/Dropdown.js +59 -128
- package/dropdown/Dropdown.stories.tsx +5 -16
- package/dropdown/Dropdown.test.js +391 -378
- package/dropdown/DropdownMenu.js +8 -19
- package/dropdown/DropdownMenuItem.js +11 -20
- package/dropdown/types.d.ts +20 -24
- package/file-input/FileInput.accessibility.test.js +160 -0
- package/file-input/FileInput.js +180 -284
- package/file-input/FileInput.stories.tsx +1 -1
- package/file-input/FileInput.test.js +279 -354
- package/file-input/FileItem.js +25 -66
- package/file-input/types.d.ts +9 -9
- package/flex/Flex.js +25 -39
- package/flex/types.d.ts +6 -6
- package/footer/Footer.accessibility.test.js +117 -0
- package/footer/Footer.d.ts +1 -1
- package/footer/Footer.js +43 -68
- package/footer/Footer.stories.tsx +54 -9
- package/footer/Footer.test.js +18 -32
- package/footer/Icons.d.ts +3 -2
- package/footer/Icons.js +66 -7
- package/footer/types.d.ts +17 -17
- package/grid/Grid.js +1 -16
- package/grid/types.d.ts +10 -10
- package/header/Header.accessibility.test.js +84 -0
- package/header/Header.d.ts +1 -1
- package/header/Header.js +28 -84
- package/header/Header.test.js +12 -25
- package/header/Icons.d.ts +2 -2
- package/header/Icons.js +2 -7
- package/header/types.d.ts +7 -8
- package/heading/Heading.accessibility.test.js +33 -0
- package/heading/Heading.js +9 -31
- package/heading/Heading.test.js +70 -87
- package/heading/types.d.ts +7 -7
- package/icon/Icon.accessibility.test.js +30 -0
- package/icon/Icon.d.ts +4 -0
- package/icon/Icon.js +33 -0
- package/icon/Icon.stories.tsx +28 -0
- package/icon/types.d.ts +4 -0
- package/icon/types.js +5 -0
- package/image/Image.accessibility.test.js +56 -0
- package/image/Image.d.ts +2 -2
- package/image/Image.js +17 -32
- package/image/Image.stories.tsx +3 -1
- package/image/types.d.ts +2 -2
- package/inset/Inset.js +13 -21
- package/inset/types.d.ts +2 -2
- package/layout/ApplicationLayout.d.ts +2 -2
- package/layout/ApplicationLayout.js +26 -66
- package/layout/ApplicationLayout.stories.tsx +1 -1
- package/layout/Icons.d.ts +8 -5
- package/layout/Icons.js +49 -59
- package/layout/types.d.ts +3 -3
- package/link/Link.accessibility.test.js +112 -0
- package/link/Link.js +28 -47
- package/link/Link.stories.tsx +2 -2
- package/link/Link.test.js +23 -41
- package/link/types.d.ts +14 -14
- package/main.d.ts +7 -4
- package/main.js +32 -60
- package/nav-tabs/NavTabs.accessibility.test.js +52 -0
- package/nav-tabs/NavTabs.d.ts +1 -2
- package/nav-tabs/NavTabs.js +19 -48
- package/nav-tabs/NavTabs.stories.tsx +7 -5
- package/nav-tabs/NavTabs.test.js +38 -44
- package/nav-tabs/NavTabsContext.d.ts +3 -0
- package/nav-tabs/NavTabsContext.js +8 -0
- package/nav-tabs/Tab.js +24 -52
- package/nav-tabs/types.d.ts +9 -9
- package/number-input/NumberInput.accessibility.test.js +228 -0
- package/number-input/NumberInput.d.ts +0 -7
- package/number-input/NumberInput.js +47 -39
- package/number-input/NumberInput.stories.tsx +42 -26
- package/number-input/NumberInput.test.js +839 -575
- package/number-input/NumberInputContext.d.ts +3 -0
- package/number-input/NumberInputContext.js +8 -0
- package/number-input/types.d.ts +17 -5
- package/package.json +39 -37
- package/paginator/Icons.d.ts +5 -5
- package/paginator/Icons.js +5 -19
- package/paginator/Paginator.accessibility.test.js +79 -0
- package/paginator/Paginator.js +15 -43
- package/paginator/Paginator.test.js +224 -207
- package/paginator/types.d.ts +3 -3
- package/paragraph/Paragraph.accessibility.test.js +28 -0
- package/paragraph/Paragraph.js +3 -19
- package/paragraph/Paragraph.stories.tsx +0 -17
- package/password-input/Icons.d.ts +3 -3
- package/password-input/Icons.js +1 -5
- package/password-input/PasswordInput.accessibility.test.js +153 -0
- package/password-input/PasswordInput.js +26 -48
- package/password-input/PasswordInput.stories.tsx +1 -34
- package/password-input/PasswordInput.test.js +153 -129
- package/password-input/types.d.ts +8 -7
- package/progress-bar/ProgressBar.accessibility.test.js +35 -0
- package/progress-bar/ProgressBar.js +21 -53
- package/progress-bar/{ProgressBar.stories.jsx → ProgressBar.stories.tsx} +1 -1
- package/progress-bar/ProgressBar.test.js +35 -52
- package/progress-bar/types.d.ts +3 -3
- package/quick-nav/QuickNav.accessibility.test.js +57 -0
- package/quick-nav/QuickNav.js +4 -27
- package/quick-nav/QuickNav.stories.tsx +1 -1
- package/quick-nav/types.d.ts +10 -10
- package/radio-group/Radio.d.ts +1 -1
- package/radio-group/Radio.js +22 -54
- package/radio-group/RadioGroup.accessibility.test.js +97 -0
- package/radio-group/RadioGroup.js +37 -83
- package/radio-group/RadioGroup.stories.tsx +10 -10
- package/radio-group/RadioGroup.test.js +504 -470
- package/radio-group/types.d.ts +8 -8
- package/resultset-table/Icons.d.ts +7 -0
- package/{resultsetTable → resultset-table}/Icons.js +1 -5
- package/resultset-table/ResultsetTable.accessibility.test.js +274 -0
- package/resultset-table/ResultsetTable.d.ts +7 -0
- package/{resultsetTable → resultset-table}/ResultsetTable.js +44 -69
- package/{resultsetTable → resultset-table}/ResultsetTable.stories.tsx +106 -5
- package/{resultsetTable → resultset-table}/ResultsetTable.test.js +148 -92
- package/{resultsetTable → resultset-table}/types.d.ts +44 -11
- package/resultset-table/types.js +5 -0
- package/select/Icons.d.ts +7 -7
- package/select/Icons.js +1 -5
- package/select/Listbox.js +13 -39
- package/select/Option.js +17 -27
- package/select/Select.accessibility.test.js +217 -0
- package/select/Select.js +87 -163
- package/select/Select.stories.tsx +3 -4
- package/select/Select.test.js +1946 -1804
- package/select/types.d.ts +14 -15
- package/sidenav/Icons.d.ts +4 -4
- package/sidenav/Icons.js +1 -5
- package/sidenav/Sidenav.accessibility.test.js +59 -0
- package/sidenav/Sidenav.js +29 -70
- package/sidenav/Sidenav.stories.tsx +0 -1
- package/sidenav/Sidenav.test.js +3 -10
- package/{layout → sidenav}/SidenavContext.d.ts +1 -1
- package/{layout → sidenav}/SidenavContext.js +3 -9
- package/sidenav/types.d.ts +18 -18
- package/slider/Slider.accessibility.test.js +104 -0
- package/slider/Slider.js +68 -125
- package/slider/Slider.test.js +107 -103
- package/slider/types.d.ts +4 -4
- package/spinner/Spinner.accessibility.test.js +96 -0
- package/spinner/Spinner.js +16 -54
- package/spinner/Spinner.test.js +25 -34
- package/spinner/types.d.ts +3 -3
- package/status-light/StatusLight.accessibility.test.js +157 -0
- package/status-light/StatusLight.d.ts +4 -0
- package/status-light/StatusLight.js +51 -0
- package/status-light/StatusLight.stories.tsx +74 -0
- package/status-light/StatusLight.test.js +25 -0
- package/status-light/types.d.ts +17 -0
- package/status-light/types.js +5 -0
- package/switch/Switch.accessibility.test.js +89 -0
- package/switch/Switch.js +49 -97
- package/switch/Switch.stories.tsx +0 -34
- package/switch/Switch.test.js +51 -96
- package/switch/types.d.ts +4 -4
- package/table/DropdownTheme.js +62 -0
- package/table/Table.accessibility.test.js +82 -0
- package/table/Table.d.ts +6 -2
- package/table/Table.js +76 -33
- package/table/{Table.stories.jsx → Table.stories.tsx} +297 -2
- package/table/Table.test.js +93 -6
- package/table/types.d.ts +34 -6
- package/tabs/Tab.js +17 -33
- package/tabs/Tabs.accessibility.test.js +56 -0
- package/tabs/Tabs.js +52 -129
- package/tabs/Tabs.stories.tsx +1 -1
- package/tabs/Tabs.test.js +62 -118
- package/tabs/types.d.ts +19 -19
- package/tag/Tag.accessibility.test.js +69 -0
- package/tag/Tag.js +21 -51
- package/tag/Tag.test.js +19 -30
- package/tag/types.d.ts +7 -7
- package/text-input/Suggestion.js +9 -26
- package/text-input/Suggestions.d.ts +1 -1
- package/text-input/Suggestions.js +19 -67
- package/text-input/TextInput.accessibility.test.js +321 -0
- package/text-input/TextInput.js +197 -287
- package/text-input/TextInput.stories.tsx +49 -153
- package/text-input/TextInput.test.js +1227 -1194
- package/text-input/types.d.ts +25 -17
- package/textarea/Textarea.accessibility.test.js +155 -0
- package/textarea/Textarea.js +67 -109
- package/textarea/{Textarea.stories.jsx → Textarea.stories.tsx} +58 -100
- package/textarea/Textarea.test.js +150 -179
- package/textarea/types.d.ts +9 -5
- package/toggle-group/ToggleGroup.accessibility.test.js +107 -0
- package/toggle-group/ToggleGroup.js +21 -61
- package/toggle-group/ToggleGroup.stories.tsx +4 -4
- package/toggle-group/ToggleGroup.test.js +48 -81
- package/toggle-group/types.d.ts +10 -10
- package/typography/Typography.accessibility.test.js +339 -0
- package/typography/Typography.js +4 -13
- package/typography/types.d.ts +1 -1
- package/useTheme.d.ts +41 -136
- package/useTheme.js +1 -8
- package/useTranslatedLabels.js +1 -7
- package/utils/BaseTypography.d.ts +2 -2
- package/utils/BaseTypography.js +16 -30
- package/utils/FocusLock.js +25 -39
- package/wizard/Wizard.accessibility.test.js +55 -0
- package/wizard/Wizard.js +14 -49
- package/wizard/Wizard.test.js +53 -80
- package/wizard/types.d.ts +7 -7
- package/common/OpenSans.css +0 -69
- package/common/fonts/OpenSans-Bold.ttf +0 -0
- package/common/fonts/OpenSans-BoldItalic.ttf +0 -0
- package/common/fonts/OpenSans-ExtraBold.ttf +0 -0
- package/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/common/fonts/OpenSans-Italic.ttf +0 -0
- package/common/fonts/OpenSans-Light.ttf +0 -0
- package/common/fonts/OpenSans-LightItalic.ttf +0 -0
- package/common/fonts/OpenSans-Regular.ttf +0 -0
- package/common/fonts/OpenSans-SemiBold.ttf +0 -0
- package/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- package/resultsetTable/Icons.d.ts +0 -7
- package/resultsetTable/ResultsetTable.d.ts +0 -4
- package/slider/Slider.stories.tsx +0 -240
- package/text-input/Icons.d.ts +0 -8
- package/text-input/Icons.js +0 -60
- /package/{resultsetTable → action-icon}/types.js +0 -0
- /package/spinner/{Spinner.stories.jsx → Spinner.stories.tsx} +0 -0
package/common/variables.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const componentTokens: {
|
|
|
36
36
|
disabledIconColor: string;
|
|
37
37
|
iconSize: string;
|
|
38
38
|
iconMarginLeft: string;
|
|
39
|
-
|
|
39
|
+
iconMarginRight: string;
|
|
40
40
|
accordionGroupSeparatorBorderColor: string;
|
|
41
41
|
accordionGroupSeparatorBorderThickness: string;
|
|
42
42
|
accordionGroupSeparatorBorderRadius: string;
|
|
@@ -109,7 +109,6 @@ export declare const componentTokens: {
|
|
|
109
109
|
};
|
|
110
110
|
bulletedList: {
|
|
111
111
|
fontColor: string;
|
|
112
|
-
fontColorOnDark: string;
|
|
113
112
|
bulletIconHeight: string;
|
|
114
113
|
bulletIconWidth: string;
|
|
115
114
|
bulletHeight: string;
|
|
@@ -124,19 +123,12 @@ export declare const componentTokens: {
|
|
|
124
123
|
paddingTop: string;
|
|
125
124
|
paddingBottom: string;
|
|
126
125
|
focusBorderColor: string;
|
|
127
|
-
focusBorderColorOnDark: string;
|
|
128
126
|
primaryBackgroundColor: string;
|
|
129
|
-
primaryBackgroundColorOnDark: string;
|
|
130
127
|
primaryFontColor: string;
|
|
131
|
-
primaryFontColorOnDark: string;
|
|
132
128
|
primaryHoverBackgroundColor: string;
|
|
133
|
-
primaryHoverBackgroundColorOnDark: string;
|
|
134
129
|
primaryActiveBackgroundColor: string;
|
|
135
|
-
primaryActiveBackgroundColorOnDark: string;
|
|
136
130
|
primaryDisabledBackgroundColor: string;
|
|
137
|
-
primaryDisabledBackgroundColorOnDark: string;
|
|
138
131
|
primaryDisabledFontColor: string;
|
|
139
|
-
primaryDisabledFontColorOnDark: string;
|
|
140
132
|
primaryBorderThickness: string;
|
|
141
133
|
primaryBorderStyle: string;
|
|
142
134
|
primaryBorderRadius: string;
|
|
@@ -144,23 +136,14 @@ export declare const componentTokens: {
|
|
|
144
136
|
primaryFontSize: string;
|
|
145
137
|
primaryFontWeight: string;
|
|
146
138
|
secondaryBackgroundColor: string;
|
|
147
|
-
secondaryBackgroundColorOnDark: string;
|
|
148
139
|
secondaryFontColor: string;
|
|
149
|
-
secondaryFontColorOnDark: string;
|
|
150
140
|
secondaryHoverFontColor: string;
|
|
151
|
-
secondaryHoverFontColorOnDark: string;
|
|
152
141
|
secondaryBorderColor: string;
|
|
153
|
-
secondaryBorderColorOnDark: string;
|
|
154
142
|
secondaryHoverBackgroundColor: string;
|
|
155
|
-
secondaryHoverBackgroundColorOnDark: string;
|
|
156
143
|
secondaryActiveBackgroundColor: string;
|
|
157
|
-
secondaryActiveBackgroundColorOnDark: string;
|
|
158
144
|
secondaryDisabledBackgroundColor: string;
|
|
159
|
-
secondaryDisabledBackgroundColorOnDark: string;
|
|
160
145
|
secondaryDisabledFontColor: string;
|
|
161
|
-
secondaryDisabledFontColorOnDark: string;
|
|
162
146
|
secondaryDisabledBorderColor: string;
|
|
163
|
-
secondaryDisabledBorderColorOnDark: string;
|
|
164
147
|
secondaryBorderThickness: string;
|
|
165
148
|
secondaryBorderStyle: string;
|
|
166
149
|
secondaryBorderRadius: string;
|
|
@@ -168,17 +151,11 @@ export declare const componentTokens: {
|
|
|
168
151
|
secondaryFontSize: string;
|
|
169
152
|
secondaryFontWeight: string;
|
|
170
153
|
textBackgroundColor: string;
|
|
171
|
-
textBackgroundColorOnDark: string;
|
|
172
154
|
textFontColor: string;
|
|
173
|
-
textFontColorOnDark: string;
|
|
174
155
|
textHoverBackgroundColor: string;
|
|
175
|
-
textHoverBackgroundColorOnDark: string;
|
|
176
156
|
textActiveBackgroundColor: string;
|
|
177
|
-
textActiveBackgroundColorOnDark: string;
|
|
178
157
|
textDisabledBackgroundColor: string;
|
|
179
|
-
textDisabledBackgroundColorOnDark: string;
|
|
180
158
|
textDisabledFontColor: string;
|
|
181
|
-
textDisabledFontColorOnDark: string;
|
|
182
159
|
textBorderThickness: string;
|
|
183
160
|
textBorderStyle: string;
|
|
184
161
|
textBorderRadius: string;
|
|
@@ -192,30 +169,24 @@ export declare const componentTokens: {
|
|
|
192
169
|
};
|
|
193
170
|
checkbox: {
|
|
194
171
|
backgroundColorChecked: string;
|
|
195
|
-
backgroundColorCheckedOnDark: string;
|
|
196
172
|
hoverBackgroundColorChecked: string;
|
|
197
|
-
hoverBackgroundColorCheckedOnDark: string;
|
|
198
173
|
disabledBackgroundColorChecked: string;
|
|
199
|
-
|
|
174
|
+
readOnlyBackgroundColorChecked: string;
|
|
175
|
+
hoverReadOnlyBackgroundColorChecked: string;
|
|
200
176
|
borderColor: string;
|
|
201
|
-
borderColorOnDark: string;
|
|
202
177
|
hoverBorderColor: string;
|
|
203
|
-
hoverBorderColorOnDark: string;
|
|
204
178
|
disabledBorderColor: string;
|
|
205
|
-
|
|
179
|
+
readOnlyBorderColor: string;
|
|
180
|
+
hoverReadOnlyBorderColor: string;
|
|
206
181
|
checkColor: string;
|
|
207
|
-
checkColorOnDark: string;
|
|
208
182
|
disabledCheckColor: string;
|
|
209
|
-
|
|
183
|
+
readOnlyCheckColor: string;
|
|
210
184
|
fontFamily: string;
|
|
211
185
|
fontSize: string;
|
|
212
186
|
fontWeight: string;
|
|
213
187
|
fontColor: string;
|
|
214
|
-
fontColorOnDark: string;
|
|
215
188
|
disabledFontColor: string;
|
|
216
|
-
disabledFontColorOnDark: string;
|
|
217
189
|
focusColor: string;
|
|
218
|
-
focusColorOnDark: string;
|
|
219
190
|
checkLabelSpacing: string;
|
|
220
191
|
};
|
|
221
192
|
chip: {
|
|
@@ -311,8 +282,14 @@ export declare const componentTokens: {
|
|
|
311
282
|
buttonPaddingBottom: string;
|
|
312
283
|
buttonPaddingLeft: string;
|
|
313
284
|
buttonPaddingRight: string;
|
|
285
|
+
buttonHeight: string;
|
|
286
|
+
buttonBorderRadius: string;
|
|
287
|
+
buttonBorderStyle: string;
|
|
288
|
+
buttonBorderThickness: string;
|
|
289
|
+
buttonBorderColor: string;
|
|
314
290
|
disabledColor: string;
|
|
315
291
|
disabledButtonBackgroundColor: string;
|
|
292
|
+
disabledButtonBorderColor: string;
|
|
316
293
|
disabledBorderColor: string;
|
|
317
294
|
optionBackgroundColor: string;
|
|
318
295
|
hoverOptionBackgroundColor: string;
|
|
@@ -449,7 +426,6 @@ export declare const componentTokens: {
|
|
|
449
426
|
underlinedThickness: string;
|
|
450
427
|
underlinedStyle: string;
|
|
451
428
|
contentColor: string;
|
|
452
|
-
contentColorOnDark: string;
|
|
453
429
|
};
|
|
454
430
|
heading: {
|
|
455
431
|
level1FontColor: string;
|
|
@@ -556,31 +532,26 @@ export declare const componentTokens: {
|
|
|
556
532
|
};
|
|
557
533
|
paragraph: {
|
|
558
534
|
fontColor: string;
|
|
559
|
-
fontColorOnDark: string;
|
|
560
535
|
display: string;
|
|
561
536
|
fontSize: string;
|
|
562
537
|
fontWeight: string;
|
|
563
538
|
};
|
|
564
539
|
progressBar: {
|
|
565
540
|
trackLineColor: string;
|
|
566
|
-
trackLineColorOnDark: string;
|
|
567
541
|
totalLineColor: string;
|
|
568
542
|
labelFontFamily: string;
|
|
569
543
|
labelFontSize: string;
|
|
570
544
|
labelFontStyle: string;
|
|
571
545
|
labelFontWeight: string;
|
|
572
546
|
labelFontColor: string;
|
|
573
|
-
labelFontColorOnDark: string;
|
|
574
547
|
labelFontTextTransform: string;
|
|
575
548
|
valueFontFamily: string;
|
|
576
549
|
valueFontSize: string;
|
|
577
550
|
valueFontStyle: string;
|
|
578
551
|
valueFontWeight: string;
|
|
579
552
|
valueFontColor: string;
|
|
580
|
-
valueFontColorOnDark: string;
|
|
581
553
|
valueFontTextTransform: string;
|
|
582
554
|
helperTextFontColor: string;
|
|
583
|
-
helperTextFontColorOnDark: string;
|
|
584
555
|
helperTextFontSize: string;
|
|
585
556
|
helperTextFontStyle: string;
|
|
586
557
|
helperTextFontWeight: string;
|
|
@@ -616,9 +587,9 @@ export declare const componentTokens: {
|
|
|
616
587
|
errorRadioInputColor: string;
|
|
617
588
|
hoverErrorRadioInputColor: string;
|
|
618
589
|
activeErrorRadioInputColor: string;
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
590
|
+
readOnlyRadioInputColor: string;
|
|
591
|
+
hoverReadOnlyRadioInputColor: string;
|
|
592
|
+
activeReadOnlyRadioInputColor: string;
|
|
622
593
|
disabledRadioInputColor: string;
|
|
623
594
|
disabledLabelFontColor: string;
|
|
624
595
|
disabledHelperTextFontColor: string;
|
|
@@ -758,7 +729,6 @@ export declare const componentTokens: {
|
|
|
758
729
|
slider: {
|
|
759
730
|
fontFamily: string;
|
|
760
731
|
limitValuesFontColor: string;
|
|
761
|
-
limitValuesFontColorOnDark: string;
|
|
762
732
|
limitValuesFontSize: string;
|
|
763
733
|
limitValuesFontStyle: string;
|
|
764
734
|
limitValuesFontWeight: string;
|
|
@@ -775,15 +745,10 @@ export declare const componentTokens: {
|
|
|
775
745
|
helperTextFontWeight: string;
|
|
776
746
|
helperTextLineHeight: string;
|
|
777
747
|
fontColor: string;
|
|
778
|
-
fontColorOnDark: string;
|
|
779
748
|
labelFontColor: string;
|
|
780
|
-
labelFontColorOnDark: string;
|
|
781
749
|
helperTextFontColor: string;
|
|
782
|
-
helperTextFontColorOnDark: string;
|
|
783
750
|
disabledLabelFontColor: string;
|
|
784
|
-
disabledLabelFontColorOnDark: string;
|
|
785
751
|
disabledHelperTextFontColor: string;
|
|
786
|
-
disabledHelperTextFontColorOnDark: string;
|
|
787
752
|
thumbHeight: string;
|
|
788
753
|
thumbWidth: string;
|
|
789
754
|
hoverThumbHeight: string;
|
|
@@ -791,40 +756,28 @@ export declare const componentTokens: {
|
|
|
791
756
|
thumbVerticalPosition: string;
|
|
792
757
|
hoverThumbVerticalPosition: string;
|
|
793
758
|
thumbBackgroundColor: string;
|
|
794
|
-
thumbBackgroundColorOnDark: string;
|
|
795
759
|
hoverThumbScale: string;
|
|
796
760
|
hoverThumbBackgroundColor: string;
|
|
797
|
-
hoverThumbBackgroundColorOnDark: string;
|
|
798
761
|
activeThumbScale: string;
|
|
799
762
|
activeThumbBackgroundColor: string;
|
|
800
|
-
activeThumbBackgroundColorOnDark: string;
|
|
801
763
|
focusThumbBackgroundColor: string;
|
|
802
|
-
focusThumbBackgroundColorOnDark: string;
|
|
803
764
|
tickHeight: string;
|
|
804
765
|
tickWidth: string;
|
|
805
766
|
tickVerticalPosition: string;
|
|
806
767
|
tickBackgroundColor: string;
|
|
807
|
-
tickBackgroundColorOnDark: string;
|
|
808
768
|
trackLineThickness: string;
|
|
809
769
|
trackLineVerticalPosition: string;
|
|
810
770
|
trackLineColor: string;
|
|
811
|
-
trackLineColorOnDark: string;
|
|
812
771
|
totalLineThickness: string;
|
|
813
772
|
totalLineVerticalPosition: string;
|
|
814
773
|
totalLineColor: string;
|
|
815
|
-
totalLineColorOnDark: string;
|
|
816
774
|
disabledThumbVerticalPosition: string;
|
|
817
775
|
disabledThumbBackgroundColor: string;
|
|
818
|
-
disabledThumbBackgroundColorOnDark: string;
|
|
819
776
|
disabledTickVerticalPosition: string;
|
|
820
777
|
disabledTickBackgroundColor: string;
|
|
821
|
-
disabledTickBackgroundColorOnDark: string;
|
|
822
778
|
disabledTrackLineColor: string;
|
|
823
|
-
disabledTrackLineColorOnDark: string;
|
|
824
779
|
disabledTotalLineColor: string;
|
|
825
|
-
disabledTotalLineColorOnDark: string;
|
|
826
780
|
focusColor: string;
|
|
827
|
-
focusColorOnDark: string;
|
|
828
781
|
floorLabelMarginRight: string;
|
|
829
782
|
ceilLabelMarginLeft: string;
|
|
830
783
|
inputMarginLeft: string;
|
|
@@ -838,14 +791,12 @@ export declare const componentTokens: {
|
|
|
838
791
|
labelFontStyle: string;
|
|
839
792
|
labelFontWeight: string;
|
|
840
793
|
labelFontColor: string;
|
|
841
|
-
labelFontColorOnDark: string;
|
|
842
794
|
labelTextAlign: string;
|
|
843
795
|
progressValueFontFamily: string;
|
|
844
796
|
progressValueFontSize: string;
|
|
845
797
|
progressValueFontStyle: string;
|
|
846
798
|
progressValueFontWeight: string;
|
|
847
799
|
progressValueFontColor: string;
|
|
848
|
-
progressValueFontColorOnDark: string;
|
|
849
800
|
progressValueTextAlign: string;
|
|
850
801
|
overlayBackgroundColor: string;
|
|
851
802
|
overlayOpacity: string;
|
|
@@ -864,32 +815,21 @@ export declare const componentTokens: {
|
|
|
864
815
|
};
|
|
865
816
|
switch: {
|
|
866
817
|
checkedTrackBackgroundColor: string;
|
|
867
|
-
checkedTrackBackgroundColorOnDark: string;
|
|
868
818
|
checkedThumbBackgroundColor: string;
|
|
869
|
-
checkedThumbBackgroundColorOnDark: string;
|
|
870
819
|
uncheckedTrackBackgroundColor: string;
|
|
871
|
-
uncheckedTrackBackgroundColorOnDark: string;
|
|
872
820
|
uncheckedThumbBackgroundColor: string;
|
|
873
|
-
uncheckedThumbBackgroundColorOnDark: string;
|
|
874
821
|
disabledCheckedTrackBackgroundColor: string;
|
|
875
|
-
disabledCheckedTrackBackgroundColorOnDark: string;
|
|
876
822
|
disabledCheckedThumbBackgroundColor: string;
|
|
877
|
-
disabledCheckedThumbBackgroundColorOnDark: string;
|
|
878
823
|
disabledUncheckedTrackBackgroundColor: string;
|
|
879
|
-
disabledUncheckedTrackBackgroundColorOnDark: string;
|
|
880
824
|
disabledUncheckedThumbBackgroundColor: string;
|
|
881
|
-
disabledUncheckedThumbBackgroundColorOnDark: string;
|
|
882
825
|
disabledLabelFontColor: string;
|
|
883
|
-
disabledLabelFontColorOnDark: string;
|
|
884
826
|
disabledLabelFontStyle: string;
|
|
885
827
|
labelFontFamily: string;
|
|
886
828
|
labelFontSize: string;
|
|
887
829
|
labelFontStyle: string;
|
|
888
830
|
labelFontWeight: string;
|
|
889
831
|
labelFontColor: string;
|
|
890
|
-
labelFontColorOnDark: string;
|
|
891
832
|
thumbFocusColor: string;
|
|
892
|
-
thumbFocusColorOnDark: string;
|
|
893
833
|
thumbHeight: string;
|
|
894
834
|
thumbWidth: string;
|
|
895
835
|
thumbShift: string;
|
|
@@ -912,8 +852,16 @@ export declare const componentTokens: {
|
|
|
912
852
|
dataPaddingBottom: string;
|
|
913
853
|
dataPaddingRight: string;
|
|
914
854
|
dataPaddingLeft: string;
|
|
855
|
+
dataPaddingTopReduced: string;
|
|
856
|
+
dataPaddingBottomReduced: string;
|
|
857
|
+
dataPaddingRightReduced: string;
|
|
858
|
+
dataPaddingLeftReduced: string;
|
|
915
859
|
dataTextAlign: string;
|
|
916
860
|
dataTextLineHeight: string;
|
|
861
|
+
firstChildPaddingLeft: string;
|
|
862
|
+
lastChildPaddingRight: string;
|
|
863
|
+
firstChildPaddingLeftReduced: string;
|
|
864
|
+
lastChildPaddingRightReduced: string;
|
|
917
865
|
headerBackgroundColor: string;
|
|
918
866
|
headerBorderRadius: string;
|
|
919
867
|
headerFontFamily: string;
|
|
@@ -926,11 +874,25 @@ export declare const componentTokens: {
|
|
|
926
874
|
headerPaddingBottom: string;
|
|
927
875
|
headerPaddingRight: string;
|
|
928
876
|
headerPaddingLeft: string;
|
|
877
|
+
headerPaddingTopReduced: string;
|
|
878
|
+
headerPaddingBottomReduced: string;
|
|
879
|
+
headerPaddingRightReduced: string;
|
|
880
|
+
headerPaddingLeftReduced: string;
|
|
929
881
|
headerTextAlign: string;
|
|
930
882
|
headerTextLineHeight: string;
|
|
931
883
|
scrollBarThumbColor: string;
|
|
932
884
|
scrollBarTrackColor: string;
|
|
933
885
|
sortIconColor: string;
|
|
886
|
+
actionIconColor: string;
|
|
887
|
+
disabledActionIconColor: string;
|
|
888
|
+
hoverActionIconColor: string;
|
|
889
|
+
focusActionIconColor: string;
|
|
890
|
+
activeActionIconColor: string;
|
|
891
|
+
actionBackgroundColor: string;
|
|
892
|
+
disabledActionBackgroundColor: string;
|
|
893
|
+
hoverActionBackgroundColor: string;
|
|
894
|
+
focusActionBorderColor: string;
|
|
895
|
+
activeActionBackgroundColor: string;
|
|
934
896
|
};
|
|
935
897
|
tabs: {
|
|
936
898
|
fontFamily: string;
|
|
@@ -949,7 +911,6 @@ export declare const componentTokens: {
|
|
|
949
911
|
disabledFontColor: string;
|
|
950
912
|
disabledIconColor: string;
|
|
951
913
|
disabledFontStyle: string;
|
|
952
|
-
disabledBadgeBackgroundColor: string;
|
|
953
914
|
hoverBackgroundColor: string;
|
|
954
915
|
pressedBackgroundColor: string;
|
|
955
916
|
pressedFontWeight: string;
|
|
@@ -957,19 +918,6 @@ export declare const componentTokens: {
|
|
|
957
918
|
dividerThickness: string;
|
|
958
919
|
focusOutline: string;
|
|
959
920
|
scrollButtonsWidth: string;
|
|
960
|
-
badgeBackgroundColor: string;
|
|
961
|
-
badgeFontFamily: string;
|
|
962
|
-
badgeFontSize: string;
|
|
963
|
-
badgeFontStyle: string;
|
|
964
|
-
badgeFontWeight: string;
|
|
965
|
-
badgeFontColor: string;
|
|
966
|
-
badgeLetterSpacing: string;
|
|
967
|
-
badgeWidth: string;
|
|
968
|
-
badgeHeight: string;
|
|
969
|
-
badgeRadius: string;
|
|
970
|
-
badgeWidthWithNotificationNumber: string;
|
|
971
|
-
badgeHeightWithNotificationNumber: string;
|
|
972
|
-
badgeRadiusWithNotificationNumber: string;
|
|
973
921
|
};
|
|
974
922
|
tag: {
|
|
975
923
|
fontFamily: string;
|
|
@@ -991,130 +939,87 @@ export declare const componentTokens: {
|
|
|
991
939
|
textarea: {
|
|
992
940
|
fontFamily: string;
|
|
993
941
|
enabledBorderColor: string;
|
|
994
|
-
enabledBorderColorOnDark: string;
|
|
995
942
|
hoverBorderColor: string;
|
|
996
|
-
hoverBorderColorOnDark: string;
|
|
997
943
|
focusBorderColor: string;
|
|
998
|
-
focusBorderColorOnDark: string;
|
|
999
944
|
disabledBorderColor: string;
|
|
1000
|
-
disabledBorderColorOnDark: string;
|
|
1001
945
|
disabledContainerFillColor: string;
|
|
1002
|
-
|
|
946
|
+
readOnlyBorderColor: string;
|
|
947
|
+
hoverReadOnlyBorderColor: string;
|
|
1003
948
|
errorBorderColor: string;
|
|
1004
|
-
errorBorderColorOnDark: string;
|
|
1005
949
|
hoverErrorBorderColor: string;
|
|
1006
|
-
hoverErrorBorderColorOnDark: string;
|
|
1007
950
|
inputMarginTop: string;
|
|
1008
951
|
inputMarginBottom: string;
|
|
1009
952
|
errorMessageColor: string;
|
|
1010
|
-
errorMessageColorOnDark: string;
|
|
1011
953
|
labelFontColor: string;
|
|
1012
|
-
labelFontColorOnDark: string;
|
|
1013
954
|
labelFontSize: string;
|
|
1014
955
|
labelFontStyle: string;
|
|
1015
956
|
labelFontWeight: string;
|
|
1016
957
|
labelLineHeight: string;
|
|
1017
958
|
disabledLabelFontColor: string;
|
|
1018
|
-
disabledLabelFontColorOnDark: string;
|
|
1019
959
|
optionalLabelFontWeight: string;
|
|
1020
960
|
helperTextFontColor: string;
|
|
1021
|
-
helperTextFontColorOnDark: string;
|
|
1022
961
|
helperTextFontSize: string;
|
|
1023
962
|
helperTextFontStyle: string;
|
|
1024
963
|
helperTextFontWeight: string;
|
|
1025
964
|
helperTextLineHeight: string;
|
|
1026
965
|
disabledHelperTextFontColor: string;
|
|
1027
|
-
disabledHelperTextFontColorOnDark: string;
|
|
1028
966
|
placeholderFontColor: string;
|
|
1029
|
-
placeholderFontColorOnDark: string;
|
|
1030
967
|
disabledPlaceholderFontColor: string;
|
|
1031
|
-
disabledPlaceholderFontColorOnDark: string;
|
|
1032
968
|
valueFontColor: string;
|
|
1033
|
-
valueFontColorOnDark: string;
|
|
1034
969
|
valueFontSize: string;
|
|
1035
970
|
valueFontStyle: string;
|
|
1036
971
|
valueFontWeight: string;
|
|
1037
972
|
disabledValueFontColor: string;
|
|
1038
|
-
disabledValueFontColorOnDark: string;
|
|
1039
973
|
};
|
|
1040
974
|
textInput: {
|
|
1041
975
|
fontFamily: string;
|
|
1042
976
|
enabledBorderColor: string;
|
|
1043
|
-
enabledBorderColorOnDark: string;
|
|
1044
977
|
hoverBorderColor: string;
|
|
1045
|
-
hoverBorderColorOnDark: string;
|
|
1046
978
|
focusBorderColor: string;
|
|
1047
|
-
focusBorderColorOnDark: string;
|
|
1048
979
|
disabledBorderColor: string;
|
|
1049
|
-
disabledBorderColorOnDark: string;
|
|
1050
980
|
disabledContainerFillColor: string;
|
|
1051
|
-
|
|
981
|
+
readOnlyBorderColor: string;
|
|
982
|
+
hoverReadOnlyBorderColor: string;
|
|
1052
983
|
errorBorderColor: string;
|
|
1053
|
-
errorBorderColorOnDark: string;
|
|
1054
984
|
hoverErrorBorderColor: string;
|
|
1055
|
-
hoverErrorBorderColorOnDark: string;
|
|
1056
985
|
inputMarginTop: string;
|
|
1057
986
|
inputMarginBottom: string;
|
|
1058
987
|
errorMessageColor: string;
|
|
1059
|
-
errorMessageColorOnDark: string;
|
|
1060
988
|
errorIconColor: string;
|
|
1061
|
-
errorIconColorOnDark: string;
|
|
1062
989
|
labelFontColor: string;
|
|
1063
|
-
labelFontColorOnDark: string;
|
|
1064
990
|
labelFontSize: string;
|
|
1065
991
|
labelFontStyle: string;
|
|
1066
992
|
labelFontWeight: string;
|
|
1067
993
|
labelLineHeight: string;
|
|
1068
994
|
disabledLabelFontColor: string;
|
|
1069
|
-
disabledLabelFontColorOnDark: string;
|
|
1070
995
|
optionalLabelFontWeight: string;
|
|
1071
996
|
helperTextFontColor: string;
|
|
1072
|
-
helperTextFontColorOnDark: string;
|
|
1073
997
|
helperTextFontSize: string;
|
|
1074
998
|
helperTextFontStyle: string;
|
|
1075
999
|
helperTextFontWeight: string;
|
|
1076
1000
|
helperTextLineHeight: string;
|
|
1077
1001
|
disabledHelperTextFontColor: string;
|
|
1078
|
-
disabledHelperTextFontColorOnDark: string;
|
|
1079
1002
|
prefixColor: string;
|
|
1080
|
-
prefixColorOnDark: string;
|
|
1081
1003
|
suffixColor: string;
|
|
1082
|
-
suffixColorOnDark: string;
|
|
1083
1004
|
disabledPrefixColor: string;
|
|
1084
1005
|
disabledSuffixColor: string;
|
|
1085
|
-
disabledPrefixColorOnDark: string;
|
|
1086
|
-
disabledSuffixColorOnDark: string;
|
|
1087
1006
|
placeholderFontColor: string;
|
|
1088
|
-
placeholderFontColorOnDark: string;
|
|
1089
1007
|
disabledPlaceholderFontColor: string;
|
|
1090
|
-
disabledPlaceholderFontColorOnDark: string;
|
|
1091
1008
|
valueFontColor: string;
|
|
1092
|
-
valueFontColorOnDark: string;
|
|
1093
1009
|
valueFontSize: string;
|
|
1094
1010
|
valueFontStyle: string;
|
|
1095
1011
|
valueFontWeight: string;
|
|
1096
1012
|
disabledValueFontColor: string;
|
|
1097
|
-
disabledValueFontColorOnDark: string;
|
|
1098
1013
|
actionIconColor: string;
|
|
1099
|
-
actionIconColorOnDark: string;
|
|
1100
1014
|
disabledActionIconColor: string;
|
|
1101
|
-
disabledActionIconColorOnDark: string;
|
|
1102
1015
|
hoverActionIconColor: string;
|
|
1103
|
-
hoverActionIconColorOnDark: string;
|
|
1104
1016
|
focusActionIconColor: string;
|
|
1105
|
-
focusActionIconColorOnDark: string;
|
|
1106
1017
|
activeActionIconColor: string;
|
|
1107
|
-
activeActionIconColorOnDark: string;
|
|
1108
1018
|
actionBackgroundColor: string;
|
|
1109
|
-
actionBackgroundColorOnDark: string;
|
|
1110
1019
|
disabledActionBackgroundColor: string;
|
|
1111
|
-
disabledActionBackgroundColorOnDark: string;
|
|
1112
1020
|
hoverActionBackgroundColor: string;
|
|
1113
|
-
hoverActionBackgroundColorOnDark: string;
|
|
1114
1021
|
focusActionBorderColor: string;
|
|
1115
|
-
focusActionBorderColorOnDark: string;
|
|
1116
1022
|
activeActionBackgroundColor: string;
|
|
1117
|
-
activeActionBackgroundColorOnDark: string;
|
|
1118
1023
|
listDialogBackgroundColor: string;
|
|
1119
1024
|
listDialogBorderColor: string;
|
|
1120
1025
|
listOptionDividerColor: string;
|
|
@@ -1240,8 +1145,8 @@ export declare const componentTokens: {
|
|
|
1240
1145
|
focusColor: string;
|
|
1241
1146
|
};
|
|
1242
1147
|
};
|
|
1243
|
-
export
|
|
1244
|
-
export
|
|
1148
|
+
export type AdvancedTheme = typeof componentTokens;
|
|
1149
|
+
export type OpinionatedTheme = {
|
|
1245
1150
|
accordion: {
|
|
1246
1151
|
accentColor: string;
|
|
1247
1152
|
titleFontColor: string;
|
|
@@ -1487,4 +1392,4 @@ export declare const defaultTranslatedComponentLabels: {
|
|
|
1487
1392
|
nextMonthTitle: string;
|
|
1488
1393
|
};
|
|
1489
1394
|
};
|
|
1490
|
-
export
|
|
1395
|
+
export type TranslatedLabels = typeof defaultTranslatedComponentLabels;
|