@dxc-technology/halstack-react 0.0.0-9e54008 → 0.0.0-9ef63cd
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 +54 -144
- package/HalstackContext.js +11 -36
- package/README.md +47 -0
- package/accordion/Accordion.accessibility.test.js +71 -0
- package/accordion/Accordion.js +33 -87
- package/accordion/Accordion.stories.tsx +8 -64
- 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 +24 -24
- 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 +34 -120
- 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 +142 -42
- 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/breadcrumbs/Breadcrumbs.accessibility.test.d.ts +1 -0
- package/breadcrumbs/Breadcrumbs.accessibility.test.js +96 -0
- package/breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/breadcrumbs/Breadcrumbs.js +79 -0
- package/breadcrumbs/Breadcrumbs.stories.tsx +194 -0
- package/breadcrumbs/Breadcrumbs.test.d.ts +1 -0
- package/breadcrumbs/Breadcrumbs.test.js +169 -0
- package/breadcrumbs/Item.d.ts +4 -0
- package/breadcrumbs/Item.js +52 -0
- package/breadcrumbs/dropdownTheme.d.ts +53 -0
- package/breadcrumbs/dropdownTheme.js +62 -0
- package/breadcrumbs/types.d.ts +16 -0
- package/bulleted-list/BulletedList.accessibility.test.js +119 -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.d.ts +1 -1
- package/button/Button.js +68 -100
- package/button/Button.stories.tsx +35 -135
- package/button/Button.test.js +19 -16
- package/button/types.d.ts +9 -5
- package/card/Card.accessibility.test.js +36 -0
- package/card/Card.js +23 -45
- 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 +88 -126
- 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 +22 -36
- package/chip/Chip.stories.tsx +10 -25
- 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 +41 -24
- package/common/utils.js +2 -8
- package/common/variables.d.ts +54 -144
- package/common/variables.js +128 -225
- 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 +97 -0
- package/contextual-menu/ContextualMenu.d.ts +5 -0
- package/contextual-menu/ContextualMenu.js +88 -0
- package/contextual-menu/ContextualMenu.stories.tsx +232 -0
- package/contextual-menu/ContextualMenu.test.js +205 -0
- package/contextual-menu/GroupItem.d.ts +4 -0
- package/contextual-menu/GroupItem.js +67 -0
- package/contextual-menu/ItemAction.d.ts +4 -0
- package/contextual-menu/ItemAction.js +51 -0
- package/contextual-menu/MenuItem.d.ts +4 -0
- package/contextual-menu/MenuItem.js +29 -0
- package/contextual-menu/SingleItem.d.ts +4 -0
- package/contextual-menu/SingleItem.js +38 -0
- package/contextual-menu/types.d.ts +58 -0
- package/contextual-menu/types.js +5 -0
- package/date-input/Calendar.js +15 -59
- package/date-input/DateInput.accessibility.test.js +228 -0
- package/date-input/DateInput.js +61 -108
- package/date-input/DateInput.stories.tsx +19 -31
- package/date-input/DateInput.test.js +674 -701
- package/date-input/DatePicker.js +23 -48
- 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 +21 -59
- package/dialog/Dialog.stories.tsx +175 -0
- package/dialog/Dialog.test.js +206 -204
- 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 +67 -135
- package/dropdown/Dropdown.stories.tsx +15 -26
- package/dropdown/Dropdown.test.js +402 -389
- package/dropdown/DropdownMenu.js +12 -23
- package/dropdown/DropdownMenuItem.js +13 -21
- package/dropdown/types.d.ts +20 -24
- package/file-input/FileInput.accessibility.test.js +160 -0
- package/file-input/FileInput.js +179 -286
- package/file-input/FileInput.stories.tsx +1 -1
- package/file-input/FileInput.test.js +293 -354
- package/file-input/FileItem.js +30 -67
- 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 +125 -0
- package/footer/Footer.d.ts +1 -1
- package/footer/Footer.js +73 -103
- package/footer/Footer.stories.tsx +76 -8
- package/footer/Footer.test.js +21 -33
- package/footer/Icons.d.ts +3 -2
- package/footer/Icons.js +53 -22
- package/footer/types.d.ts +26 -22
- package/grid/Grid.d.ts +1 -1
- package/grid/Grid.js +2 -17
- package/grid/Grid.stories.tsx +38 -38
- package/grid/types.d.ts +10 -10
- package/header/Header.accessibility.test.js +93 -0
- package/header/Header.d.ts +1 -1
- package/header/Header.js +38 -104
- package/header/Header.stories.tsx +16 -0
- package/header/Header.test.js +12 -25
- package/header/Icons.d.ts +2 -2
- package/header/Icons.js +3 -13
- 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 +4 -0
- package/image/Image.js +70 -0
- package/image/Image.stories.tsx +129 -0
- package/image/types.d.ts +72 -0
- package/image/types.js +5 -0
- package/inset/Inset.js +13 -21
- package/inset/types.d.ts +2 -2
- package/layout/ApplicationLayout.d.ts +2 -2
- package/layout/ApplicationLayout.js +35 -69
- package/layout/ApplicationLayout.stories.tsx +1 -1
- package/layout/Icons.d.ts +7 -5
- package/layout/Icons.js +41 -59
- package/layout/types.d.ts +3 -3
- package/link/Link.accessibility.test.js +108 -0
- package/link/Link.js +28 -47
- package/link/Link.stories.tsx +4 -4
- package/link/Link.test.js +23 -41
- package/link/types.d.ts +14 -14
- package/main.d.ts +9 -4
- package/main.js +46 -59
- package/nav-tabs/NavTabs.accessibility.test.js +44 -0
- package/nav-tabs/NavTabs.d.ts +1 -2
- package/nav-tabs/NavTabs.js +19 -48
- package/nav-tabs/NavTabs.stories.tsx +30 -25
- package/nav-tabs/NavTabs.test.js +45 -50
- package/nav-tabs/NavTabsContext.d.ts +3 -0
- package/nav-tabs/NavTabsContext.js +8 -0
- package/nav-tabs/Tab.js +38 -67
- package/nav-tabs/types.d.ts +10 -10
- package/number-input/NumberInput.accessibility.test.js +228 -0
- package/number-input/NumberInput.js +46 -36
- package/number-input/NumberInput.stories.tsx +42 -26
- package/number-input/NumberInput.test.js +859 -412
- package/number-input/NumberInputContext.d.ts +3 -4
- package/number-input/NumberInputContext.js +3 -14
- package/number-input/types.d.ts +17 -5
- package/package.json +42 -40
- package/paginator/Paginator.accessibility.test.js +79 -0
- package/paginator/Paginator.js +27 -52
- 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/PasswordInput.accessibility.test.js +153 -0
- package/password-input/PasswordInput.js +58 -127
- package/password-input/PasswordInput.stories.tsx +1 -33
- package/password-input/PasswordInput.test.js +157 -140
- package/password-input/types.d.ts +8 -7
- package/progress-bar/ProgressBar.accessibility.test.js +35 -0
- package/progress-bar/ProgressBar.js +26 -56
- 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 -57
- package/radio-group/RadioGroup.accessibility.test.js +97 -0
- package/radio-group/RadioGroup.js +40 -88
- package/radio-group/RadioGroup.stories.tsx +10 -10
- package/radio-group/RadioGroup.test.js +504 -472
- 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 +285 -0
- package/resultset-table/ResultsetTable.d.ts +7 -0
- package/{resultsetTable → resultset-table}/ResultsetTable.js +45 -69
- package/{resultsetTable → resultset-table}/ResultsetTable.stories.tsx +118 -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/Listbox.js +36 -54
- package/select/Option.js +28 -36
- package/select/Select.accessibility.test.js +228 -0
- package/select/Select.js +111 -177
- package/select/Select.stories.tsx +59 -111
- package/select/Select.test.js +1895 -1858
- package/select/types.d.ts +15 -16
- package/sidenav/Sidenav.accessibility.test.js +59 -0
- package/sidenav/Sidenav.js +44 -81
- package/sidenav/Sidenav.stories.tsx +4 -9
- 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 +20 -20
- package/slider/Slider.accessibility.test.js +104 -0
- package/slider/Slider.js +66 -125
- package/slider/Slider.stories.tsx +0 -60
- 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 +21 -55
- 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 +98 -0
- package/switch/Switch.js +49 -100
- package/switch/Switch.stories.tsx +12 -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 +93 -0
- package/table/Table.d.ts +6 -2
- package/table/Table.js +76 -33
- package/table/{Table.stories.jsx → Table.stories.tsx} +309 -2
- package/table/Table.test.js +93 -6
- package/table/types.d.ts +34 -6
- package/tabs/Tab.js +22 -37
- package/tabs/Tabs.accessibility.test.js +56 -0
- package/tabs/Tabs.js +59 -147
- package/tabs/Tabs.stories.tsx +8 -4
- package/tabs/Tabs.test.js +57 -131
- package/tabs/types.d.ts +21 -21
- package/tag/Tag.accessibility.test.js +69 -0
- package/tag/Tag.js +27 -57
- package/tag/Tag.stories.tsx +4 -7
- package/tag/Tag.test.js +17 -36
- package/tag/types.d.ts +9 -9
- package/text-input/Suggestion.js +9 -26
- package/text-input/Suggestions.d.ts +1 -1
- package/text-input/Suggestions.js +30 -70
- package/text-input/TextInput.accessibility.test.js +321 -0
- package/text-input/TextInput.js +222 -326
- package/text-input/TextInput.stories.tsx +65 -160
- 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 -111
- 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 +90 -109
- package/toggle-group/ToggleGroup.stories.tsx +10 -7
- package/toggle-group/ToggleGroup.test.js +68 -87
- package/toggle-group/types.d.ts +28 -19
- 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 +51 -141
- 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 +27 -73
- package/wizard/Wizard.stories.tsx +19 -0
- package/wizard/Wizard.test.js +53 -80
- package/wizard/types.d.ts +8 -8
- 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/date-input/Icons.d.ts +0 -6
- package/date-input/Icons.js +0 -75
- package/number-input/numberInputContextTypes.d.ts +0 -19
- package/paginator/Icons.d.ts +0 -5
- package/paginator/Icons.js +0 -54
- package/resultsetTable/Icons.d.ts +0 -7
- package/resultsetTable/ResultsetTable.d.ts +0 -4
- package/select/Icons.d.ts +0 -10
- package/select/Icons.js +0 -93
- package/sidenav/Icons.d.ts +0 -7
- package/sidenav/Icons.js +0 -51
- package/text-input/Icons.d.ts +0 -8
- package/text-input/Icons.js +0 -60
- /package/{resultsetTable → action-icon}/types.js +0 -0
- /package/{number-input/numberInputContextTypes.js → breadcrumbs/types.js} +0 -0
- /package/spinner/{Spinner.stories.jsx → Spinner.stories.tsx} +0 -0
package/typography/Typography.js
CHANGED
|
@@ -1,32 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
-
|
|
14
10
|
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
|
|
16
11
|
var _BaseTypography = _interopRequireDefault(require("../utils/BaseTypography"));
|
|
17
|
-
|
|
18
12
|
var _excluded = ["textOverflow", "whiteSpace", "children"];
|
|
19
|
-
|
|
20
13
|
var DxcTypography = function DxcTypography(_ref) {
|
|
21
14
|
var textOverflow = _ref.textOverflow,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
whiteSpace = _ref.whiteSpace,
|
|
16
|
+
children = _ref.children,
|
|
17
|
+
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
25
18
|
return /*#__PURE__*/_react["default"].createElement(_BaseTypography["default"], (0, _extends2["default"])({
|
|
26
19
|
textOverflow: textOverflow,
|
|
27
20
|
whiteSpace: whiteSpace == null && textOverflow != null && textOverflow !== "unset" ? "nowrap" : whiteSpace
|
|
28
21
|
}, props), children);
|
|
29
22
|
};
|
|
30
|
-
|
|
31
|
-
var _default = DxcTypography;
|
|
32
|
-
exports["default"] = _default;
|
|
23
|
+
var _default = exports["default"] = DxcTypography;
|
package/typography/types.d.ts
CHANGED
package/useTheme.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare const useTheme: () => {
|
|
|
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 @@ declare const useTheme: () => {
|
|
|
109
109
|
}>;
|
|
110
110
|
bulletedList?: Partial<{
|
|
111
111
|
fontColor: string;
|
|
112
|
-
fontColorOnDark: string;
|
|
113
112
|
bulletIconHeight: string;
|
|
114
113
|
bulletIconWidth: string;
|
|
115
114
|
bulletHeight: string;
|
|
@@ -124,19 +123,12 @@ declare const useTheme: () => {
|
|
|
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 @@ declare const useTheme: () => {
|
|
|
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 @@ declare const useTheme: () => {
|
|
|
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 @@ declare const useTheme: () => {
|
|
|
192
169
|
}>;
|
|
193
170
|
checkbox?: Partial<{
|
|
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?: Partial<{
|
|
@@ -280,8 +251,7 @@ declare const useTheme: () => {
|
|
|
280
251
|
dialog?: Partial<{
|
|
281
252
|
overlayColor: string;
|
|
282
253
|
backgroundColor: string;
|
|
283
|
-
|
|
284
|
-
closeIconHeight: string;
|
|
254
|
+
closeIconSize: string;
|
|
285
255
|
closeIconTopPosition: string;
|
|
286
256
|
closeIconRightPosition: string;
|
|
287
257
|
closeIconBackgroundColor: string;
|
|
@@ -311,9 +281,14 @@ declare const useTheme: () => {
|
|
|
311
281
|
buttonPaddingBottom: string;
|
|
312
282
|
buttonPaddingLeft: string;
|
|
313
283
|
buttonPaddingRight: string;
|
|
284
|
+
buttonHeight: string;
|
|
285
|
+
buttonBorderRadius: string;
|
|
286
|
+
buttonBorderStyle: string;
|
|
287
|
+
buttonBorderThickness: string;
|
|
288
|
+
buttonBorderColor: string;
|
|
314
289
|
disabledColor: string;
|
|
315
290
|
disabledButtonBackgroundColor: string;
|
|
316
|
-
|
|
291
|
+
disabledButtonBorderColor: string;
|
|
317
292
|
optionBackgroundColor: string;
|
|
318
293
|
hoverOptionBackgroundColor: string;
|
|
319
294
|
activeOptionBackgroundColor: string;
|
|
@@ -353,7 +328,6 @@ declare const useTheme: () => {
|
|
|
353
328
|
focusDropBorderColor: string;
|
|
354
329
|
disabledDropBorderColor: string;
|
|
355
330
|
dragoverDropBackgroundColor: string;
|
|
356
|
-
activeFileItemIconBackgrounColor: string;
|
|
357
331
|
errorFileItemBorderColor: string;
|
|
358
332
|
errorFileItemBackgroundColor: string;
|
|
359
333
|
errorFilePreviewBackgroundColor: string;
|
|
@@ -449,7 +423,6 @@ declare const useTheme: () => {
|
|
|
449
423
|
underlinedThickness: string;
|
|
450
424
|
underlinedStyle: string;
|
|
451
425
|
contentColor: string;
|
|
452
|
-
contentColorOnDark: string;
|
|
453
426
|
}>;
|
|
454
427
|
heading?: Partial<{
|
|
455
428
|
level1FontColor: string;
|
|
@@ -488,6 +461,14 @@ declare const useTheme: () => {
|
|
|
488
461
|
level5LineHeight: string;
|
|
489
462
|
level5LetterSpacing: string;
|
|
490
463
|
}>;
|
|
464
|
+
image?: Partial<{
|
|
465
|
+
captionFontColor: string;
|
|
466
|
+
captionFontFamily: string;
|
|
467
|
+
captionFontSize: string;
|
|
468
|
+
captionFontStyle: string;
|
|
469
|
+
captionFontWeight: string;
|
|
470
|
+
captionLineHeight: string;
|
|
471
|
+
}>;
|
|
491
472
|
link?: Partial<{
|
|
492
473
|
fontColor: string;
|
|
493
474
|
fontFamily: string;
|
|
@@ -547,32 +528,27 @@ declare const useTheme: () => {
|
|
|
547
528
|
totalItemsContainerMarginLeft: string;
|
|
548
529
|
}>;
|
|
549
530
|
paragraph?: Partial<{
|
|
550
|
-
fontColor: string;
|
|
551
|
-
fontColorOnDark: string;
|
|
552
531
|
display: string;
|
|
532
|
+
fontColor: string;
|
|
553
533
|
fontSize: string;
|
|
554
534
|
fontWeight: string;
|
|
555
535
|
}>;
|
|
556
536
|
progressBar?: Partial<{
|
|
557
537
|
trackLineColor: string;
|
|
558
|
-
trackLineColorOnDark: string;
|
|
559
538
|
totalLineColor: string;
|
|
560
539
|
labelFontFamily: string;
|
|
561
540
|
labelFontSize: string;
|
|
562
541
|
labelFontStyle: string;
|
|
563
542
|
labelFontWeight: string;
|
|
564
543
|
labelFontColor: string;
|
|
565
|
-
labelFontColorOnDark: string;
|
|
566
544
|
labelFontTextTransform: string;
|
|
567
545
|
valueFontFamily: string;
|
|
568
546
|
valueFontSize: string;
|
|
569
547
|
valueFontStyle: string;
|
|
570
548
|
valueFontWeight: string;
|
|
571
549
|
valueFontColor: string;
|
|
572
|
-
valueFontColorOnDark: string;
|
|
573
550
|
valueFontTextTransform: string;
|
|
574
551
|
helperTextFontColor: string;
|
|
575
|
-
helperTextFontColorOnDark: string;
|
|
576
552
|
helperTextFontSize: string;
|
|
577
553
|
helperTextFontStyle: string;
|
|
578
554
|
helperTextFontWeight: string;
|
|
@@ -608,9 +584,9 @@ declare const useTheme: () => {
|
|
|
608
584
|
errorRadioInputColor: string;
|
|
609
585
|
hoverErrorRadioInputColor: string;
|
|
610
586
|
activeErrorRadioInputColor: string;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
587
|
+
readOnlyRadioInputColor: string;
|
|
588
|
+
hoverReadOnlyRadioInputColor: string;
|
|
589
|
+
activeReadOnlyRadioInputColor: string;
|
|
614
590
|
disabledRadioInputColor: string;
|
|
615
591
|
disabledLabelFontColor: string;
|
|
616
592
|
disabledHelperTextFontColor: string;
|
|
@@ -750,7 +726,6 @@ declare const useTheme: () => {
|
|
|
750
726
|
slider?: Partial<{
|
|
751
727
|
fontFamily: string;
|
|
752
728
|
limitValuesFontColor: string;
|
|
753
|
-
limitValuesFontColorOnDark: string;
|
|
754
729
|
limitValuesFontSize: string;
|
|
755
730
|
limitValuesFontStyle: string;
|
|
756
731
|
limitValuesFontWeight: string;
|
|
@@ -767,15 +742,10 @@ declare const useTheme: () => {
|
|
|
767
742
|
helperTextFontWeight: string;
|
|
768
743
|
helperTextLineHeight: string;
|
|
769
744
|
fontColor: string;
|
|
770
|
-
fontColorOnDark: string;
|
|
771
745
|
labelFontColor: string;
|
|
772
|
-
labelFontColorOnDark: string;
|
|
773
746
|
helperTextFontColor: string;
|
|
774
|
-
helperTextFontColorOnDark: string;
|
|
775
747
|
disabledLabelFontColor: string;
|
|
776
|
-
disabledLabelFontColorOnDark: string;
|
|
777
748
|
disabledHelperTextFontColor: string;
|
|
778
|
-
disabledHelperTextFontColorOnDark: string;
|
|
779
749
|
thumbHeight: string;
|
|
780
750
|
thumbWidth: string;
|
|
781
751
|
hoverThumbHeight: string;
|
|
@@ -783,40 +753,28 @@ declare const useTheme: () => {
|
|
|
783
753
|
thumbVerticalPosition: string;
|
|
784
754
|
hoverThumbVerticalPosition: string;
|
|
785
755
|
thumbBackgroundColor: string;
|
|
786
|
-
thumbBackgroundColorOnDark: string;
|
|
787
756
|
hoverThumbScale: string;
|
|
788
757
|
hoverThumbBackgroundColor: string;
|
|
789
|
-
hoverThumbBackgroundColorOnDark: string;
|
|
790
758
|
activeThumbScale: string;
|
|
791
759
|
activeThumbBackgroundColor: string;
|
|
792
|
-
activeThumbBackgroundColorOnDark: string;
|
|
793
760
|
focusThumbBackgroundColor: string;
|
|
794
|
-
focusThumbBackgroundColorOnDark: string;
|
|
795
761
|
tickHeight: string;
|
|
796
762
|
tickWidth: string;
|
|
797
763
|
tickVerticalPosition: string;
|
|
798
764
|
tickBackgroundColor: string;
|
|
799
|
-
tickBackgroundColorOnDark: string;
|
|
800
765
|
trackLineThickness: string;
|
|
801
766
|
trackLineVerticalPosition: string;
|
|
802
767
|
trackLineColor: string;
|
|
803
|
-
trackLineColorOnDark: string;
|
|
804
768
|
totalLineThickness: string;
|
|
805
769
|
totalLineVerticalPosition: string;
|
|
806
770
|
totalLineColor: string;
|
|
807
|
-
totalLineColorOnDark: string;
|
|
808
771
|
disabledThumbVerticalPosition: string;
|
|
809
772
|
disabledThumbBackgroundColor: string;
|
|
810
|
-
disabledThumbBackgroundColorOnDark: string;
|
|
811
773
|
disabledTickVerticalPosition: string;
|
|
812
774
|
disabledTickBackgroundColor: string;
|
|
813
|
-
disabledTickBackgroundColorOnDark: string;
|
|
814
775
|
disabledTrackLineColor: string;
|
|
815
|
-
disabledTrackLineColorOnDark: string;
|
|
816
776
|
disabledTotalLineColor: string;
|
|
817
|
-
disabledTotalLineColorOnDark: string;
|
|
818
777
|
focusColor: string;
|
|
819
|
-
focusColorOnDark: string;
|
|
820
778
|
floorLabelMarginRight: string;
|
|
821
779
|
ceilLabelMarginLeft: string;
|
|
822
780
|
inputMarginLeft: string;
|
|
@@ -830,14 +788,12 @@ declare const useTheme: () => {
|
|
|
830
788
|
labelFontStyle: string;
|
|
831
789
|
labelFontWeight: string;
|
|
832
790
|
labelFontColor: string;
|
|
833
|
-
labelFontColorOnDark: string;
|
|
834
791
|
labelTextAlign: string;
|
|
835
792
|
progressValueFontFamily: string;
|
|
836
793
|
progressValueFontSize: string;
|
|
837
794
|
progressValueFontStyle: string;
|
|
838
795
|
progressValueFontWeight: string;
|
|
839
796
|
progressValueFontColor: string;
|
|
840
|
-
progressValueFontColorOnDark: string;
|
|
841
797
|
progressValueTextAlign: string;
|
|
842
798
|
overlayBackgroundColor: string;
|
|
843
799
|
overlayOpacity: string;
|
|
@@ -856,32 +812,21 @@ declare const useTheme: () => {
|
|
|
856
812
|
}>;
|
|
857
813
|
switch?: Partial<{
|
|
858
814
|
checkedTrackBackgroundColor: string;
|
|
859
|
-
checkedTrackBackgroundColorOnDark: string;
|
|
860
815
|
checkedThumbBackgroundColor: string;
|
|
861
|
-
checkedThumbBackgroundColorOnDark: string;
|
|
862
816
|
uncheckedTrackBackgroundColor: string;
|
|
863
|
-
uncheckedTrackBackgroundColorOnDark: string;
|
|
864
817
|
uncheckedThumbBackgroundColor: string;
|
|
865
|
-
uncheckedThumbBackgroundColorOnDark: string;
|
|
866
818
|
disabledCheckedTrackBackgroundColor: string;
|
|
867
|
-
disabledCheckedTrackBackgroundColorOnDark: string;
|
|
868
819
|
disabledCheckedThumbBackgroundColor: string;
|
|
869
|
-
disabledCheckedThumbBackgroundColorOnDark: string;
|
|
870
820
|
disabledUncheckedTrackBackgroundColor: string;
|
|
871
|
-
disabledUncheckedTrackBackgroundColorOnDark: string;
|
|
872
821
|
disabledUncheckedThumbBackgroundColor: string;
|
|
873
|
-
disabledUncheckedThumbBackgroundColorOnDark: string;
|
|
874
822
|
disabledLabelFontColor: string;
|
|
875
|
-
disabledLabelFontColorOnDark: string;
|
|
876
823
|
disabledLabelFontStyle: string;
|
|
877
824
|
labelFontFamily: string;
|
|
878
825
|
labelFontSize: string;
|
|
879
826
|
labelFontStyle: string;
|
|
880
827
|
labelFontWeight: string;
|
|
881
828
|
labelFontColor: string;
|
|
882
|
-
labelFontColorOnDark: string;
|
|
883
829
|
thumbFocusColor: string;
|
|
884
|
-
thumbFocusColorOnDark: string;
|
|
885
830
|
thumbHeight: string;
|
|
886
831
|
thumbWidth: string;
|
|
887
832
|
thumbShift: string;
|
|
@@ -904,8 +849,16 @@ declare const useTheme: () => {
|
|
|
904
849
|
dataPaddingBottom: string;
|
|
905
850
|
dataPaddingRight: string;
|
|
906
851
|
dataPaddingLeft: string;
|
|
852
|
+
dataPaddingTopReduced: string;
|
|
853
|
+
dataPaddingBottomReduced: string;
|
|
854
|
+
dataPaddingRightReduced: string;
|
|
855
|
+
dataPaddingLeftReduced: string;
|
|
907
856
|
dataTextAlign: string;
|
|
908
857
|
dataTextLineHeight: string;
|
|
858
|
+
firstChildPaddingLeft: string;
|
|
859
|
+
lastChildPaddingRight: string;
|
|
860
|
+
firstChildPaddingLeftReduced: string;
|
|
861
|
+
lastChildPaddingRightReduced: string;
|
|
909
862
|
headerBackgroundColor: string;
|
|
910
863
|
headerBorderRadius: string;
|
|
911
864
|
headerFontFamily: string;
|
|
@@ -918,11 +871,25 @@ declare const useTheme: () => {
|
|
|
918
871
|
headerPaddingBottom: string;
|
|
919
872
|
headerPaddingRight: string;
|
|
920
873
|
headerPaddingLeft: string;
|
|
874
|
+
headerPaddingTopReduced: string;
|
|
875
|
+
headerPaddingBottomReduced: string;
|
|
876
|
+
headerPaddingRightReduced: string;
|
|
877
|
+
headerPaddingLeftReduced: string;
|
|
921
878
|
headerTextAlign: string;
|
|
922
879
|
headerTextLineHeight: string;
|
|
923
880
|
scrollBarThumbColor: string;
|
|
924
881
|
scrollBarTrackColor: string;
|
|
925
882
|
sortIconColor: string;
|
|
883
|
+
actionIconColor: string;
|
|
884
|
+
disabledActionIconColor: string;
|
|
885
|
+
hoverActionIconColor: string;
|
|
886
|
+
focusActionIconColor: string;
|
|
887
|
+
activeActionIconColor: string;
|
|
888
|
+
actionBackgroundColor: string;
|
|
889
|
+
disabledActionBackgroundColor: string;
|
|
890
|
+
hoverActionBackgroundColor: string;
|
|
891
|
+
focusActionBorderColor: string;
|
|
892
|
+
activeActionBackgroundColor: string;
|
|
926
893
|
}>;
|
|
927
894
|
tabs?: Partial<{
|
|
928
895
|
fontFamily: string;
|
|
@@ -941,7 +908,6 @@ declare const useTheme: () => {
|
|
|
941
908
|
disabledFontColor: string;
|
|
942
909
|
disabledIconColor: string;
|
|
943
910
|
disabledFontStyle: string;
|
|
944
|
-
disabledBadgeBackgroundColor: string;
|
|
945
911
|
hoverBackgroundColor: string;
|
|
946
912
|
pressedBackgroundColor: string;
|
|
947
913
|
pressedFontWeight: string;
|
|
@@ -949,19 +915,6 @@ declare const useTheme: () => {
|
|
|
949
915
|
dividerThickness: string;
|
|
950
916
|
focusOutline: string;
|
|
951
917
|
scrollButtonsWidth: string;
|
|
952
|
-
badgeBackgroundColor: string;
|
|
953
|
-
badgeFontFamily: string;
|
|
954
|
-
badgeFontSize: string;
|
|
955
|
-
badgeFontStyle: string;
|
|
956
|
-
badgeFontWeight: string;
|
|
957
|
-
badgeFontColor: string;
|
|
958
|
-
badgeLetterSpacing: string;
|
|
959
|
-
badgeWidth: string;
|
|
960
|
-
badgeHeight: string;
|
|
961
|
-
badgeRadius: string;
|
|
962
|
-
badgeWidthWithNotificationNumber: string;
|
|
963
|
-
badgeHeightWithNotificationNumber: string;
|
|
964
|
-
badgeRadiusWithNotificationNumber: string;
|
|
965
918
|
}>;
|
|
966
919
|
tag?: Partial<{
|
|
967
920
|
fontFamily: string;
|
|
@@ -983,130 +936,87 @@ declare const useTheme: () => {
|
|
|
983
936
|
textarea?: Partial<{
|
|
984
937
|
fontFamily: string;
|
|
985
938
|
enabledBorderColor: string;
|
|
986
|
-
enabledBorderColorOnDark: string;
|
|
987
939
|
hoverBorderColor: string;
|
|
988
|
-
hoverBorderColorOnDark: string;
|
|
989
940
|
focusBorderColor: string;
|
|
990
|
-
focusBorderColorOnDark: string;
|
|
991
941
|
disabledBorderColor: string;
|
|
992
|
-
disabledBorderColorOnDark: string;
|
|
993
942
|
disabledContainerFillColor: string;
|
|
994
|
-
|
|
943
|
+
readOnlyBorderColor: string;
|
|
944
|
+
hoverReadOnlyBorderColor: string;
|
|
995
945
|
errorBorderColor: string;
|
|
996
|
-
errorBorderColorOnDark: string;
|
|
997
946
|
hoverErrorBorderColor: string;
|
|
998
|
-
hoverErrorBorderColorOnDark: string;
|
|
999
947
|
inputMarginTop: string;
|
|
1000
948
|
inputMarginBottom: string;
|
|
1001
949
|
errorMessageColor: string;
|
|
1002
|
-
errorMessageColorOnDark: string;
|
|
1003
950
|
labelFontColor: string;
|
|
1004
|
-
labelFontColorOnDark: string;
|
|
1005
951
|
labelFontSize: string;
|
|
1006
952
|
labelFontStyle: string;
|
|
1007
953
|
labelFontWeight: string;
|
|
1008
954
|
labelLineHeight: string;
|
|
1009
955
|
disabledLabelFontColor: string;
|
|
1010
|
-
disabledLabelFontColorOnDark: string;
|
|
1011
956
|
optionalLabelFontWeight: string;
|
|
1012
957
|
helperTextFontColor: string;
|
|
1013
|
-
helperTextFontColorOnDark: string;
|
|
1014
958
|
helperTextFontSize: string;
|
|
1015
959
|
helperTextFontStyle: string;
|
|
1016
960
|
helperTextFontWeight: string;
|
|
1017
961
|
helperTextLineHeight: string;
|
|
1018
962
|
disabledHelperTextFontColor: string;
|
|
1019
|
-
disabledHelperTextFontColorOnDark: string;
|
|
1020
963
|
placeholderFontColor: string;
|
|
1021
|
-
placeholderFontColorOnDark: string;
|
|
1022
964
|
disabledPlaceholderFontColor: string;
|
|
1023
|
-
disabledPlaceholderFontColorOnDark: string;
|
|
1024
965
|
valueFontColor: string;
|
|
1025
|
-
valueFontColorOnDark: string;
|
|
1026
966
|
valueFontSize: string;
|
|
1027
967
|
valueFontStyle: string;
|
|
1028
968
|
valueFontWeight: string;
|
|
1029
969
|
disabledValueFontColor: string;
|
|
1030
|
-
disabledValueFontColorOnDark: string;
|
|
1031
970
|
}>;
|
|
1032
971
|
textInput?: Partial<{
|
|
1033
972
|
fontFamily: string;
|
|
1034
973
|
enabledBorderColor: string;
|
|
1035
|
-
enabledBorderColorOnDark: string;
|
|
1036
974
|
hoverBorderColor: string;
|
|
1037
|
-
hoverBorderColorOnDark: string;
|
|
1038
975
|
focusBorderColor: string;
|
|
1039
|
-
focusBorderColorOnDark: string;
|
|
1040
976
|
disabledBorderColor: string;
|
|
1041
|
-
disabledBorderColorOnDark: string;
|
|
1042
977
|
disabledContainerFillColor: string;
|
|
1043
|
-
|
|
978
|
+
readOnlyBorderColor: string;
|
|
979
|
+
hoverReadOnlyBorderColor: string;
|
|
1044
980
|
errorBorderColor: string;
|
|
1045
|
-
errorBorderColorOnDark: string;
|
|
1046
981
|
hoverErrorBorderColor: string;
|
|
1047
|
-
hoverErrorBorderColorOnDark: string;
|
|
1048
982
|
inputMarginTop: string;
|
|
1049
983
|
inputMarginBottom: string;
|
|
1050
984
|
errorMessageColor: string;
|
|
1051
|
-
errorMessageColorOnDark: string;
|
|
1052
985
|
errorIconColor: string;
|
|
1053
|
-
errorIconColorOnDark: string;
|
|
1054
986
|
labelFontColor: string;
|
|
1055
|
-
labelFontColorOnDark: string;
|
|
1056
987
|
labelFontSize: string;
|
|
1057
988
|
labelFontStyle: string;
|
|
1058
989
|
labelFontWeight: string;
|
|
1059
990
|
labelLineHeight: string;
|
|
1060
991
|
disabledLabelFontColor: string;
|
|
1061
|
-
disabledLabelFontColorOnDark: string;
|
|
1062
992
|
optionalLabelFontWeight: string;
|
|
1063
993
|
helperTextFontColor: string;
|
|
1064
|
-
helperTextFontColorOnDark: string;
|
|
1065
994
|
helperTextFontSize: string;
|
|
1066
995
|
helperTextFontStyle: string;
|
|
1067
996
|
helperTextFontWeight: string;
|
|
1068
997
|
helperTextLineHeight: string;
|
|
1069
998
|
disabledHelperTextFontColor: string;
|
|
1070
|
-
disabledHelperTextFontColorOnDark: string;
|
|
1071
999
|
prefixColor: string;
|
|
1072
|
-
prefixColorOnDark: string;
|
|
1073
1000
|
suffixColor: string;
|
|
1074
|
-
suffixColorOnDark: string;
|
|
1075
1001
|
disabledPrefixColor: string;
|
|
1076
1002
|
disabledSuffixColor: string;
|
|
1077
|
-
disabledPrefixColorOnDark: string;
|
|
1078
|
-
disabledSuffixColorOnDark: string;
|
|
1079
1003
|
placeholderFontColor: string;
|
|
1080
|
-
placeholderFontColorOnDark: string;
|
|
1081
1004
|
disabledPlaceholderFontColor: string;
|
|
1082
|
-
disabledPlaceholderFontColorOnDark: string;
|
|
1083
1005
|
valueFontColor: string;
|
|
1084
|
-
valueFontColorOnDark: string;
|
|
1085
1006
|
valueFontSize: string;
|
|
1086
1007
|
valueFontStyle: string;
|
|
1087
1008
|
valueFontWeight: string;
|
|
1088
1009
|
disabledValueFontColor: string;
|
|
1089
|
-
disabledValueFontColorOnDark: string;
|
|
1090
1010
|
actionIconColor: string;
|
|
1091
|
-
actionIconColorOnDark: string;
|
|
1092
1011
|
disabledActionIconColor: string;
|
|
1093
|
-
disabledActionIconColorOnDark: string;
|
|
1094
1012
|
hoverActionIconColor: string;
|
|
1095
|
-
hoverActionIconColorOnDark: string;
|
|
1096
1013
|
focusActionIconColor: string;
|
|
1097
|
-
focusActionIconColorOnDark: string;
|
|
1098
1014
|
activeActionIconColor: string;
|
|
1099
|
-
activeActionIconColorOnDark: string;
|
|
1100
1015
|
actionBackgroundColor: string;
|
|
1101
|
-
actionBackgroundColorOnDark: string;
|
|
1102
1016
|
disabledActionBackgroundColor: string;
|
|
1103
|
-
disabledActionBackgroundColorOnDark: string;
|
|
1104
1017
|
hoverActionBackgroundColor: string;
|
|
1105
|
-
hoverActionBackgroundColorOnDark: string;
|
|
1106
1018
|
focusActionBorderColor: string;
|
|
1107
|
-
focusActionBorderColorOnDark: string;
|
|
1108
1019
|
activeActionBackgroundColor: string;
|
|
1109
|
-
activeActionBackgroundColorOnDark: string;
|
|
1110
1020
|
listDialogBackgroundColor: string;
|
|
1111
1021
|
listDialogBorderColor: string;
|
|
1112
1022
|
listOptionDividerColor: string;
|
package/useTheme.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _react = require("react");
|
|
11
|
-
|
|
12
9
|
var _variables = require("./common/variables");
|
|
13
|
-
|
|
14
10
|
var _HalstackContext = _interopRequireDefault(require("./HalstackContext"));
|
|
15
|
-
|
|
16
11
|
var useTheme = function useTheme() {
|
|
17
12
|
var colorsTheme = (0, _react.useContext)(_HalstackContext["default"]);
|
|
18
13
|
return colorsTheme || _variables.componentTokens;
|
|
19
14
|
};
|
|
20
|
-
|
|
21
|
-
var _default = useTheme;
|
|
22
|
-
exports["default"] = _default;
|
|
15
|
+
var _default = exports["default"] = useTheme;
|
package/useTranslatedLabels.js
CHANGED
|
@@ -4,17 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = require("react");
|
|
9
|
-
|
|
10
8
|
var _variables = require("./common/variables");
|
|
11
|
-
|
|
12
9
|
var _HalstackContext = require("./HalstackContext");
|
|
13
|
-
|
|
14
10
|
var useTranslatedLabels = function useTranslatedLabels() {
|
|
15
11
|
var labels = (0, _react.useContext)(_HalstackContext.HalstackLanguageContext);
|
|
16
12
|
return labels || _variables.defaultTranslatedComponentLabels;
|
|
17
13
|
};
|
|
18
|
-
|
|
19
|
-
var _default = useTranslatedLabels;
|
|
20
|
-
exports["default"] = _default;
|
|
14
|
+
var _default = exports["default"] = useTranslatedLabels;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
type TypographyContextProps = {
|
|
3
3
|
as?: keyof HTMLElementTagNameMap;
|
|
4
4
|
display?: string;
|
|
5
5
|
fontFamily?: string;
|
|
@@ -14,7 +14,7 @@ declare type TypographyContextProps = {
|
|
|
14
14
|
textOverflow?: string;
|
|
15
15
|
whiteSpace?: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type BaseTypographyProps = TypographyContextProps & {
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
};
|
|
20
20
|
declare const BaseTypography: ({ as, display, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign, color, textDecoration, textOverflow, whiteSpace, children, }: BaseTypographyProps) => JSX.Element;
|