carbon-react 106.1.4 → 106.1.7
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/esm/__internal__/checkable-input/checkable-input.d.ts +2 -2
- package/esm/__internal__/fieldset/fieldset.component.d.ts +45 -15
- package/esm/__internal__/form-field/form-field.component.d.ts +14 -0
- package/esm/__internal__/form-field/form-field.d.ts +2 -4
- package/esm/__internal__/input/input-presentation.style.d.ts +1 -1
- package/esm/__internal__/label/label.d.ts +2 -2
- package/esm/__internal__/validations/validation-icon.component.d.ts +2 -5
- package/esm/__spec_helper__/test-utils.d.ts +1 -1
- package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +17 -3
- package/esm/components/action-popover/action-popover.component.d.ts +35 -18
- package/esm/components/advanced-color-picker/advanced-color-picker.component.d.ts +14 -0
- package/esm/components/box/box.component.d.ts +1 -6
- package/esm/components/button-toggle-group/button-toggle-group.component.d.ts +14 -0
- package/esm/components/button-toggle-group/button-toggle-group.d.ts +2 -4
- package/esm/components/carbon-provider/carbon-provider.component.d.ts +1 -1
- package/esm/components/carbon-provider/carbon-provider.component.js +40 -38
- package/esm/components/card/card-row/card-row.component.d.ts +19 -4
- package/esm/components/card/card.component.d.ts +28 -10
- package/esm/components/checkbox/checkbox-group.component.d.ts +48 -15
- package/esm/components/checkbox/checkbox-group.d.ts +2 -2
- package/esm/components/checkbox/checkbox.component.d.ts +14 -0
- package/esm/components/content/content.component.d.ts +31 -9
- package/esm/components/date/__internal__/date-formats/index.js +88 -20
- package/esm/components/date/__internal__/utils.js +13 -3
- package/esm/components/date/date.component.js +13 -5
- package/esm/components/date-range/date-range.component.d.ts +68 -20
- package/esm/components/decimal/decimal.component.d.ts +14 -0
- package/esm/components/detail/detail.component.d.ts +34 -6
- package/esm/components/draggable/draggable-container.component.d.ts +24 -4
- package/esm/components/draggable/draggable-item.component.d.ts +34 -6
- package/esm/components/duelling-picklist/duelling-picklist.component.d.ts +27 -8
- package/esm/components/fieldset/fieldset.component.d.ts +23 -7
- package/esm/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +66 -17
- package/esm/components/flat-table/flat-table-header/flat-table-header.component.d.ts +48 -14
- package/esm/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +44 -12
- package/esm/components/flat-table/flat-table.component.d.ts +46 -20
- package/esm/components/flat-table/flat-table.style.js +2 -1
- package/esm/components/grid/grid-item/grid-item.component.d.ts +29 -22
- package/esm/components/grouped-character/grouped-character.component.d.ts +32 -10
- package/esm/components/heading/heading.component.d.ts +66 -18
- package/esm/components/help/help.component.d.ts +51 -22
- package/esm/components/loader/loader.component.d.ts +14 -0
- package/esm/components/loader-bar/loader-bar.component.d.ts +18 -3
- package/esm/components/message/message.component.d.ts +36 -12
- package/esm/components/multi-action-button/multi-action-button.component.d.ts +14 -0
- package/esm/components/note/note.component.d.ts +34 -11
- package/esm/components/numeral-date/numeral-date.component.d.ts +14 -0
- package/esm/components/numeral-date/numeral-date.d.ts +2 -2
- package/esm/components/pill/pill.component.d.ts +37 -22
- package/esm/components/pill/pill.style.js +1 -1
- package/esm/components/popover-container/popover-container.component.d.ts +54 -23
- package/esm/components/portrait/portrait.component.d.ts +55 -29
- package/esm/components/preview/preview.component.d.ts +26 -9
- package/esm/components/profile/profile.component.d.ts +28 -8
- package/esm/components/progress-tracker/progress-tracker.component.d.ts +14 -0
- package/esm/components/radio-button/radio-button-group.component.d.ts +60 -21
- package/esm/components/radio-button/radio-button-group.d.ts +2 -4
- package/esm/components/search/search.component.d.ts +14 -0
- package/esm/components/select/select-textbox/select-textbox.d.ts +2 -2
- package/esm/components/settings-row/settings-row.component.d.ts +26 -7
- package/esm/components/show-edit-pod/show-edit-pod.component.d.ts +58 -23
- package/esm/components/simple-color-picker/simple-color-picker.component.d.ts +52 -17
- package/esm/components/simple-color-picker/simple-color-picker.d.ts +2 -4
- package/esm/components/split-button/split-button.component.d.ts +14 -0
- package/esm/components/step-sequence/step-sequence.component.d.ts +21 -6
- package/esm/components/switch/switch.component.d.ts +14 -0
- package/esm/components/tabs/tab/tab.component.d.ts +51 -20
- package/esm/components/tabs/tabs.component.d.ts +46 -15
- package/esm/components/textarea/textarea.component.d.ts +14 -0
- package/esm/components/textarea/textarea.d.ts +2 -2
- package/esm/components/textbox/textbox.component.d.ts +14 -0
- package/esm/components/textbox/textbox.d.ts +2 -2
- package/esm/components/tile/tile-footer/tile-footer.component.d.ts +19 -4
- package/esm/components/tile-select/tile-select-group.component.d.ts +35 -12
- package/esm/components/tile-select/tile-select.component.d.ts +63 -26
- package/esm/components/typography/list.component.d.ts +1 -2
- package/esm/components/typography/typography.component.d.ts +1 -6
- package/esm/global.d.ts +1 -0
- package/esm/style/color-config/index.d.ts +2 -3
- package/esm/style/color-config/index.js +3 -2
- package/esm/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +3 -2
- package/esm/style/design-tokens/debug-theme.util.d.ts +449 -1
- package/esm/style/design-tokens/debug-theme.util.js +1 -1
- package/esm/style/design-tokens/generate-css-variables.util.d.ts +10 -1
- package/esm/style/global-style.d.ts +1 -8
- package/esm/style/palette/index.d.ts +19 -7
- package/esm/style/themes/aegean/aegean-theme.config.d.ts +3 -25
- package/esm/style/themes/aegean/aegean-theme.config.js +16 -14
- package/esm/style/themes/aegean/index.d.ts +2 -5
- package/esm/style/themes/base/base-theme.config.d.ts +31 -468
- package/esm/style/themes/base/base-theme.config.js +3 -1
- package/esm/style/themes/base/index.d.ts +3 -62
- package/esm/style/themes/base/index.js +2 -2
- package/esm/style/themes/index.d.ts +1 -5
- package/esm/style/themes/medium/index.d.ts +1 -1
- package/esm/style/themes/mint/index.d.ts +2 -5
- package/esm/style/themes/mint/mint-theme.config.d.ts +3 -25
- package/esm/style/themes/mint/mint-theme.config.js +16 -14
- package/esm/style/themes/none/index.d.ts +2 -5
- package/esm/style/themes/none/none-theme.config.d.ts +2 -3
- package/esm/style/themes/sage/index.d.ts +8 -11
- package/esm/style/themes/small/index.d.ts +1 -1
- package/esm/style/themes/test-utils.d.ts +1 -1
- package/esm/style/utils/add-hex-symbols.d.ts +1 -1
- package/esm/style/utils/at-opacity.d.ts +6 -1
- package/esm/style/utils/at-opacity.js +4 -2
- package/esm/style/utils/color.d.ts +3 -7
- package/esm/style/utils/color.js +10 -10
- package/esm/style/utils/filter-out-styled-system-spacing-props.d.ts +1 -3
- package/esm/style/utils/filter-styled-system-margin-props.d.ts +3 -1
- package/esm/style/utils/filter-styled-system-margin-props.js +1 -1
- package/esm/style/utils/filter-styled-system-padding-props.d.ts +3 -1
- package/esm/style/utils/filter-styled-system-padding-props.js +1 -1
- package/esm/style/utils/get-rgb-values.d.ts +2 -2
- package/esm/style/utils/get-rgb-values.js +1 -1
- package/esm/style/utils/index.d.ts +1 -1
- package/esm/style/utils/merge-deep.d.ts +2 -6
- package/esm/style/utils/merge-deep.js +19 -22
- package/esm/style/utils/mix.d.ts +4 -1
- package/esm/style/utils/mix.js +10 -5
- package/esm/style/utils/shade.d.ts +1 -1
- package/esm/style/utils/tint.d.ts +1 -1
- package/esm/style/utils/width.d.ts +2 -3
- package/lib/__internal__/checkable-input/checkable-input.d.ts +2 -2
- package/lib/__internal__/fieldset/fieldset.component.d.ts +45 -15
- package/lib/__internal__/form-field/form-field.component.d.ts +14 -0
- package/lib/__internal__/form-field/form-field.d.ts +2 -4
- package/lib/__internal__/input/input-presentation.style.d.ts +1 -1
- package/lib/__internal__/label/label.d.ts +2 -2
- package/lib/__internal__/validations/validation-icon.component.d.ts +2 -5
- package/lib/__spec_helper__/test-utils.d.ts +1 -1
- package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +17 -3
- package/lib/components/action-popover/action-popover.component.d.ts +35 -18
- package/lib/components/advanced-color-picker/advanced-color-picker.component.d.ts +14 -0
- package/lib/components/box/box.component.d.ts +1 -6
- package/lib/components/button-toggle-group/button-toggle-group.component.d.ts +14 -0
- package/lib/components/button-toggle-group/button-toggle-group.d.ts +2 -4
- package/lib/components/carbon-provider/carbon-provider.component.d.ts +1 -1
- package/lib/components/carbon-provider/carbon-provider.component.js +20 -19
- package/lib/components/card/card-row/card-row.component.d.ts +19 -4
- package/lib/components/card/card.component.d.ts +28 -10
- package/lib/components/checkbox/checkbox-group.component.d.ts +48 -15
- package/lib/components/checkbox/checkbox-group.d.ts +2 -2
- package/lib/components/checkbox/checkbox.component.d.ts +14 -0
- package/lib/components/content/content.component.d.ts +31 -9
- package/lib/components/date/__internal__/date-formats/index.js +88 -20
- package/lib/components/date/__internal__/utils.js +14 -3
- package/lib/components/date/date.component.js +13 -5
- package/lib/components/date-range/date-range.component.d.ts +68 -20
- package/lib/components/decimal/decimal.component.d.ts +14 -0
- package/lib/components/detail/detail.component.d.ts +34 -6
- package/lib/components/draggable/draggable-container.component.d.ts +24 -4
- package/lib/components/draggable/draggable-item.component.d.ts +34 -6
- package/lib/components/duelling-picklist/duelling-picklist.component.d.ts +27 -8
- package/lib/components/fieldset/fieldset.component.d.ts +23 -7
- package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.d.ts +66 -17
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +48 -14
- package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.d.ts +44 -12
- package/lib/components/flat-table/flat-table.component.d.ts +46 -20
- package/lib/components/flat-table/flat-table.style.js +2 -1
- package/lib/components/grid/grid-item/grid-item.component.d.ts +29 -22
- package/lib/components/grouped-character/grouped-character.component.d.ts +32 -10
- package/lib/components/heading/heading.component.d.ts +66 -18
- package/lib/components/help/help.component.d.ts +51 -22
- package/lib/components/loader/loader.component.d.ts +14 -0
- package/lib/components/loader-bar/loader-bar.component.d.ts +18 -3
- package/lib/components/message/message.component.d.ts +36 -12
- package/lib/components/multi-action-button/multi-action-button.component.d.ts +14 -0
- package/lib/components/note/note.component.d.ts +34 -11
- package/lib/components/numeral-date/numeral-date.component.d.ts +14 -0
- package/lib/components/numeral-date/numeral-date.d.ts +2 -2
- package/lib/components/pill/pill.component.d.ts +37 -22
- package/lib/components/pill/pill.style.js +1 -1
- package/lib/components/popover-container/popover-container.component.d.ts +54 -23
- package/lib/components/portrait/portrait.component.d.ts +55 -29
- package/lib/components/preview/preview.component.d.ts +26 -9
- package/lib/components/profile/profile.component.d.ts +28 -8
- package/lib/components/progress-tracker/progress-tracker.component.d.ts +14 -0
- package/lib/components/radio-button/radio-button-group.component.d.ts +60 -21
- package/lib/components/radio-button/radio-button-group.d.ts +2 -4
- package/lib/components/search/search.component.d.ts +14 -0
- package/lib/components/select/select-textbox/select-textbox.d.ts +2 -2
- package/lib/components/settings-row/settings-row.component.d.ts +26 -7
- package/lib/components/show-edit-pod/show-edit-pod.component.d.ts +58 -23
- package/lib/components/simple-color-picker/simple-color-picker.component.d.ts +52 -17
- package/lib/components/simple-color-picker/simple-color-picker.d.ts +2 -4
- package/lib/components/split-button/split-button.component.d.ts +14 -0
- package/lib/components/step-sequence/step-sequence.component.d.ts +21 -6
- package/lib/components/switch/switch.component.d.ts +14 -0
- package/lib/components/tabs/tab/tab.component.d.ts +51 -20
- package/lib/components/tabs/tabs.component.d.ts +46 -15
- package/lib/components/textarea/textarea.component.d.ts +14 -0
- package/lib/components/textarea/textarea.d.ts +2 -2
- package/lib/components/textbox/textbox.component.d.ts +14 -0
- package/lib/components/textbox/textbox.d.ts +2 -2
- package/lib/components/tile/tile-footer/tile-footer.component.d.ts +19 -4
- package/lib/components/tile-select/tile-select-group.component.d.ts +35 -12
- package/lib/components/tile-select/tile-select.component.d.ts +63 -26
- package/lib/components/typography/list.component.d.ts +1 -2
- package/lib/components/typography/typography.component.d.ts +1 -6
- package/lib/global.d.ts +1 -0
- package/lib/style/color-config/index.d.ts +2 -3
- package/lib/style/color-config/index.js +2 -1
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +3 -2
- package/lib/style/design-tokens/debug-theme.util.d.ts +449 -1
- package/lib/style/design-tokens/generate-css-variables.util.d.ts +10 -1
- package/lib/style/global-style.d.ts +1 -8
- package/lib/style/palette/index.d.ts +19 -7
- package/lib/style/themes/aegean/aegean-theme.config.d.ts +3 -25
- package/lib/style/themes/aegean/aegean-theme.config.js +16 -14
- package/lib/style/themes/aegean/index.d.ts +2 -5
- package/lib/style/themes/base/base-theme.config.d.ts +31 -468
- package/lib/style/themes/base/base-theme.config.js +3 -1
- package/lib/style/themes/base/index.d.ts +3 -62
- package/lib/style/themes/base/index.js +2 -2
- package/lib/style/themes/index.d.ts +1 -5
- package/lib/style/themes/medium/index.d.ts +1 -1
- package/lib/style/themes/mint/index.d.ts +2 -5
- package/lib/style/themes/mint/mint-theme.config.d.ts +3 -25
- package/lib/style/themes/mint/mint-theme.config.js +16 -14
- package/lib/style/themes/none/index.d.ts +2 -5
- package/lib/style/themes/none/none-theme.config.d.ts +2 -3
- package/lib/style/themes/sage/index.d.ts +8 -11
- package/lib/style/themes/small/index.d.ts +1 -1
- package/lib/style/themes/test-utils.d.ts +1 -1
- package/lib/style/utils/add-hex-symbols.d.ts +1 -1
- package/lib/style/utils/at-opacity.d.ts +6 -1
- package/lib/style/utils/at-opacity.js +4 -2
- package/lib/style/utils/color.d.ts +3 -7
- package/lib/style/utils/color.js +9 -9
- package/lib/style/utils/filter-out-styled-system-spacing-props.d.ts +1 -3
- package/lib/style/utils/filter-styled-system-margin-props.d.ts +3 -1
- package/lib/style/utils/filter-styled-system-margin-props.js +2 -0
- package/lib/style/utils/filter-styled-system-padding-props.d.ts +3 -1
- package/lib/style/utils/filter-styled-system-padding-props.js +2 -0
- package/lib/style/utils/get-rgb-values.d.ts +2 -2
- package/lib/style/utils/get-rgb-values.js +1 -1
- package/lib/style/utils/index.d.ts +1 -1
- package/lib/style/utils/merge-deep.d.ts +2 -6
- package/lib/style/utils/merge-deep.js +20 -24
- package/lib/style/utils/mix.d.ts +4 -1
- package/lib/style/utils/mix.js +10 -5
- package/lib/style/utils/shade.d.ts +1 -1
- package/lib/style/utils/tint.d.ts +1 -1
- package/lib/style/utils/width.d.ts +2 -3
- package/package.json +1 -1
- package/esm/style/__spec__.d.ts +0 -1
- package/esm/style/__spec__.js +0 -76
- package/lib/style/__spec__.d.ts +0 -1
- package/lib/style/__spec__.js +0 -82
|
@@ -1,484 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
declare
|
|
1
|
+
import { PaletteFunction } from "../../palette";
|
|
2
|
+
export declare type BasePalette = Record<string, string | PaletteFunction> & {
|
|
3
|
+
blackOpacity: PaletteFunction;
|
|
4
|
+
whiteOpacity: PaletteFunction;
|
|
5
|
+
[key: string]: PaletteFunction;
|
|
6
|
+
};
|
|
7
|
+
export interface Colors {
|
|
8
|
+
primary: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
tertiary: string;
|
|
11
|
+
loadingBarBackground: string;
|
|
12
|
+
white: "#FFFFFF";
|
|
13
|
+
error: string;
|
|
14
|
+
focus: string;
|
|
15
|
+
info: string;
|
|
16
|
+
warning: string;
|
|
17
|
+
destructive: {
|
|
18
|
+
hover: string;
|
|
19
|
+
};
|
|
20
|
+
warningText: string;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ThemeObject extends Record<string, unknown> {
|
|
3
24
|
name: string;
|
|
4
|
-
palette:
|
|
25
|
+
palette: BasePalette;
|
|
5
26
|
spacing: number;
|
|
6
27
|
space: string[];
|
|
7
|
-
colors:
|
|
8
|
-
primary: any;
|
|
9
|
-
secondary: any;
|
|
10
|
-
tertiary: any;
|
|
11
|
-
loadingBarBackground: any;
|
|
12
|
-
white: string;
|
|
13
|
-
error: any;
|
|
14
|
-
focus: any;
|
|
15
|
-
info: any;
|
|
16
|
-
warning: any;
|
|
17
|
-
warningText: any;
|
|
18
|
-
destructive: {
|
|
19
|
-
hover: any;
|
|
20
|
-
};
|
|
21
|
-
placeholder: any;
|
|
22
|
-
};
|
|
28
|
+
colors: Partial<Colors>;
|
|
23
29
|
disabled: {
|
|
24
|
-
background:
|
|
30
|
+
background: string;
|
|
25
31
|
};
|
|
26
32
|
zIndex: {
|
|
27
33
|
smallOverlay: number;
|
|
28
34
|
overlay: number;
|
|
35
|
+
popover: number;
|
|
29
36
|
nav: number;
|
|
30
37
|
modal: number;
|
|
31
38
|
header: number;
|
|
32
39
|
fullScreenModal: number;
|
|
33
|
-
popover: number;
|
|
34
40
|
notification: number;
|
|
35
41
|
aboveAll: number;
|
|
36
42
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
colorsActionDisabled500: any;
|
|
42
|
-
colorsSemanticFocus500: any;
|
|
43
|
-
colorsSemanticNegative500: any;
|
|
44
|
-
colorsSemanticNegative600: any;
|
|
45
|
-
colorsSemanticCaution500: any;
|
|
46
|
-
colorsSemanticInfo500: any;
|
|
47
|
-
metaName: string;
|
|
48
|
-
metaPublic: string;
|
|
49
|
-
colorsLogo: string;
|
|
50
|
-
colorsTransparent: string;
|
|
51
|
-
colorsYin030: string;
|
|
52
|
-
colorsYin055: string;
|
|
53
|
-
colorsYin065: string;
|
|
54
|
-
colorsYin075: string;
|
|
55
|
-
colorsYin090: string;
|
|
56
|
-
colorsYang100: string;
|
|
57
|
-
colorsYang030: string;
|
|
58
|
-
colorsYang080: string;
|
|
59
|
-
colorsGray600: string;
|
|
60
|
-
colorsGray700: string;
|
|
61
|
-
colorsGray750: string;
|
|
62
|
-
colorsGray850: string;
|
|
63
|
-
colorsGray900: string;
|
|
64
|
-
colorsGray1000: string;
|
|
65
|
-
colorsGray000: string;
|
|
66
|
-
colorsDisabled400: string;
|
|
67
|
-
colorsDisabled500: string;
|
|
68
|
-
colorsDisabled600: string;
|
|
69
|
-
colorsReadOnly400: string;
|
|
70
|
-
colorsReadOnly500: string;
|
|
71
|
-
colorsReadOnly600: string;
|
|
72
|
-
colorsComponentsMenuSpringStandard500: string;
|
|
73
|
-
colorsComponentsMenuSpringStandard600: string;
|
|
74
|
-
colorsComponentsMenuSpringStandard700: string;
|
|
75
|
-
colorsComponentsMenuSpringParent500: string;
|
|
76
|
-
colorsComponentsMenuSpringParent600: string;
|
|
77
|
-
colorsComponentsMenuSpringParent700: string;
|
|
78
|
-
colorsComponentsMenuSpringChild400: string;
|
|
79
|
-
colorsComponentsMenuSpringChild500: string;
|
|
80
|
-
colorsComponentsMenuSpringChild600: string;
|
|
81
|
-
colorsComponentsMenuSpringChildAlt400: string;
|
|
82
|
-
colorsComponentsMenuSpringChildAlt500: string;
|
|
83
|
-
colorsComponentsMenuSpringChildAlt600: string;
|
|
84
|
-
colorsComponentsMenuSummerStandard400: string;
|
|
85
|
-
colorsComponentsMenuSummerStandard500: string;
|
|
86
|
-
colorsComponentsMenuSummerStandard600: string;
|
|
87
|
-
colorsComponentsMenuSummerStandard700: string;
|
|
88
|
-
colorsComponentsMenuSummerStandard800: string;
|
|
89
|
-
colorsComponentsMenuSummerParent400: string;
|
|
90
|
-
colorsComponentsMenuSummerParent500: string;
|
|
91
|
-
colorsComponentsMenuSummerParent600: string;
|
|
92
|
-
colorsComponentsMenuSummerParent700: string;
|
|
93
|
-
colorsComponentsMenuSummerParent800: string;
|
|
94
|
-
colorsComponentsMenuSummerChild300: string;
|
|
95
|
-
colorsComponentsMenuSummerChild400: string;
|
|
96
|
-
colorsComponentsMenuSummerChild500: string;
|
|
97
|
-
colorsComponentsMenuSummerChild600: string;
|
|
98
|
-
colorsComponentsMenuSummerChild700: string;
|
|
99
|
-
colorsComponentsMenuSummerChild800: string;
|
|
100
|
-
colorsComponentsMenuSummerChildAlt300: string;
|
|
101
|
-
colorsComponentsMenuSummerChildAlt400: string;
|
|
102
|
-
colorsComponentsMenuSummerChildAlt500: string;
|
|
103
|
-
colorsComponentsMenuSummerChildAlt600: string;
|
|
104
|
-
colorsComponentsMenuSummerChildAlt700: string;
|
|
105
|
-
colorsComponentsMenuSummerChildAlt800: string;
|
|
106
|
-
colorsComponentsMenuAutumnStandard500: string;
|
|
107
|
-
colorsComponentsMenuAutumnStandard600: string;
|
|
108
|
-
colorsComponentsMenuAutumnStandard700: string;
|
|
109
|
-
colorsComponentsMenuAutumnParent500: string;
|
|
110
|
-
colorsComponentsMenuAutumnParent600: string;
|
|
111
|
-
colorsComponentsMenuAutumnParent700: string;
|
|
112
|
-
colorsComponentsMenuAutumnChild400: string;
|
|
113
|
-
colorsComponentsMenuAutumnChild500: string;
|
|
114
|
-
colorsComponentsMenuAutumnChild600: string;
|
|
115
|
-
colorsComponentsMenuAutumnChildAlt400: string;
|
|
116
|
-
colorsComponentsMenuAutumnChildAlt500: string;
|
|
117
|
-
colorsComponentsMenuAutumnChildAlt600: string;
|
|
118
|
-
colorsComponentsMenuWinterStandard400: string;
|
|
119
|
-
colorsComponentsMenuWinterStandard500: string;
|
|
120
|
-
colorsComponentsMenuWinterStandard600: string;
|
|
121
|
-
colorsComponentsMenuWinterStandard700: string;
|
|
122
|
-
colorsComponentsMenuWinterStandard800: string;
|
|
123
|
-
colorsComponentsMenuWinterParent400: string;
|
|
124
|
-
colorsComponentsMenuWinterParent500: string;
|
|
125
|
-
colorsComponentsMenuWinterParent600: string;
|
|
126
|
-
colorsComponentsMenuWinterParent700: string;
|
|
127
|
-
colorsComponentsMenuWinterParent800: string;
|
|
128
|
-
colorsComponentsMenuWinterChild300: string;
|
|
129
|
-
colorsComponentsMenuWinterChild400: string;
|
|
130
|
-
colorsComponentsMenuWinterChild500: string;
|
|
131
|
-
colorsComponentsMenuWinterChild600: string;
|
|
132
|
-
colorsComponentsMenuWinterChild700: string;
|
|
133
|
-
colorsComponentsMenuWinterChild800: string;
|
|
134
|
-
colorsComponentsMenuWinterChildAlt300: string;
|
|
135
|
-
colorsComponentsMenuWinterChildAlt400: string;
|
|
136
|
-
colorsComponentsMenuWinterChildAlt500: string;
|
|
137
|
-
colorsComponentsMenuWinterChildAlt600: string;
|
|
138
|
-
colorsComponentsMenuWinterChildAlt700: string;
|
|
139
|
-
colorsComponentsMenuWinterChildAlt800: string;
|
|
140
|
-
colorsComponentsMenuYin100: string;
|
|
141
|
-
colorsComponentsMenuYin065: string;
|
|
142
|
-
colorsComponentsMenuYin090: string;
|
|
143
|
-
colorsComponentsMenuYang100: string;
|
|
144
|
-
colorsComponentsMenuYang080: string;
|
|
145
|
-
colorsComponentsMenuTransparent: string;
|
|
146
|
-
colorsUtilityMajor100: string;
|
|
147
|
-
colorsUtilityMajor150: string;
|
|
148
|
-
colorsUtilityMajor200: string;
|
|
149
|
-
colorsUtilityMajor300: string;
|
|
150
|
-
colorsUtilityMajor400: string;
|
|
151
|
-
colorsUtilityMajor500: string;
|
|
152
|
-
colorsUtilityMajor800: string;
|
|
153
|
-
colorsUtilityMajor025: string;
|
|
154
|
-
colorsUtilityMajor010: string;
|
|
155
|
-
colorsUtilityMajor040: string;
|
|
156
|
-
colorsUtilityMajor050: string;
|
|
157
|
-
colorsUtilityMajor075: string;
|
|
158
|
-
colorsUtilityMajorTransparent: string;
|
|
159
|
-
colorsUtilityYin030: string;
|
|
160
|
-
colorsUtilityYin055: string;
|
|
161
|
-
colorsUtilityYin065: string;
|
|
162
|
-
colorsUtilityYin090: string;
|
|
163
|
-
colorsUtilityYang100: string;
|
|
164
|
-
colorsUtilityDisabled400: string;
|
|
165
|
-
colorsUtilityDisabled500: string;
|
|
166
|
-
colorsUtilityDisabled600: string;
|
|
167
|
-
colorsUtilityReadOnly400: string;
|
|
168
|
-
colorsUtilityReadOnly500: string;
|
|
169
|
-
colorsUtilityReadOnly600: string;
|
|
170
|
-
colorsActionMajor350: string;
|
|
171
|
-
colorsActionMajor450: string;
|
|
172
|
-
colorsActionMajor700: string;
|
|
173
|
-
colorsActionMajor025: string;
|
|
174
|
-
colorsActionMajorTransparent: string;
|
|
175
|
-
colorsActionMajorYin030: string;
|
|
176
|
-
colorsActionMajorYin055: string;
|
|
177
|
-
colorsActionMajorYin065: string;
|
|
178
|
-
colorsActionMajorYin090: string;
|
|
179
|
-
colorsActionMajorYang100: string;
|
|
180
|
-
colorsActionMajorYang030: string;
|
|
181
|
-
colorsActionMinor100: string;
|
|
182
|
-
colorsActionMinor150: string;
|
|
183
|
-
colorsActionMinor200: string;
|
|
184
|
-
colorsActionMinor250: string;
|
|
185
|
-
colorsActionMinor300: string;
|
|
186
|
-
colorsActionMinor400: string;
|
|
187
|
-
colorsActionMinor500: string;
|
|
188
|
-
colorsActionMinor550: string;
|
|
189
|
-
colorsActionMinor600: string;
|
|
190
|
-
colorsActionMinor850: string;
|
|
191
|
-
colorsActionMinor900: string;
|
|
192
|
-
colorsActionMinor025: string;
|
|
193
|
-
colorsActionMinor050: string;
|
|
194
|
-
colorsActionMinorTransparent: string;
|
|
195
|
-
colorsActionMinorYin030: string;
|
|
196
|
-
colorsActionMinorYin055: string;
|
|
197
|
-
colorsActionMinorYin065: string;
|
|
198
|
-
colorsActionMinorYin090: string;
|
|
199
|
-
colorsActionMinorYang100: string;
|
|
200
|
-
colorsActionDisabled400: string;
|
|
201
|
-
colorsActionDisabled600: string;
|
|
202
|
-
colorsActionReadOnly400: string;
|
|
203
|
-
colorsActionReadOnly500: string;
|
|
204
|
-
colorsActionReadOnly600: string;
|
|
205
|
-
colorsSemanticNeutral200: string;
|
|
206
|
-
colorsSemanticNeutral500: string;
|
|
207
|
-
colorsSemanticNeutral600: string;
|
|
208
|
-
colorsSemanticNeutralTransparent: string;
|
|
209
|
-
colorsSemanticNeutralYin030: string;
|
|
210
|
-
colorsSemanticNeutralYin055: string;
|
|
211
|
-
colorsSemanticNeutralYin065: string;
|
|
212
|
-
colorsSemanticNeutralYin090: string;
|
|
213
|
-
colorsSemanticNeutralYang100: string;
|
|
214
|
-
colorsSemanticFocus250: string;
|
|
215
|
-
colorsSemanticFocusTransparent: string;
|
|
216
|
-
colorsSemanticPositive500: string;
|
|
217
|
-
colorsSemanticPositive600: string;
|
|
218
|
-
colorsSemanticPositiveTransparent: string;
|
|
219
|
-
colorsSemanticPositiveYin030: string;
|
|
220
|
-
colorsSemanticPositiveYin055: string;
|
|
221
|
-
colorsSemanticPositiveYin065: string;
|
|
222
|
-
colorsSemanticPositiveYin090: string;
|
|
223
|
-
colorsSemanticPositiveYang100: string;
|
|
224
|
-
colorsSemanticNegativeTransparent: string;
|
|
225
|
-
colorsSemanticNegativeYin030: string;
|
|
226
|
-
colorsSemanticNegativeYin055: string;
|
|
227
|
-
colorsSemanticNegativeYin065: string;
|
|
228
|
-
colorsSemanticNegativeYin090: string;
|
|
229
|
-
colorsSemanticNegativeYang100: string;
|
|
230
|
-
colorsSemanticCaution400: string;
|
|
231
|
-
colorsSemanticCaution600: string;
|
|
232
|
-
colorsSemanticCaution650: string;
|
|
233
|
-
colorsSemanticCautionTransparent: string;
|
|
234
|
-
colorsSemanticCautionYin030: string;
|
|
235
|
-
colorsSemanticCautionYin055: string;
|
|
236
|
-
colorsSemanticCautionYin065: string;
|
|
237
|
-
colorsSemanticCautionYin090: string;
|
|
238
|
-
colorsSemanticCautionYang100: string;
|
|
239
|
-
colorsSemanticInfo150: string;
|
|
240
|
-
colorsSemanticInfo600: string;
|
|
241
|
-
colorsSemanticInfoTransparent: string;
|
|
242
|
-
colorsSemanticInfoYin030: string;
|
|
243
|
-
colorsSemanticInfoYin055: string;
|
|
244
|
-
colorsSemanticInfoYin065: string;
|
|
245
|
-
colorsSemanticInfoYin090: string;
|
|
246
|
-
colorsSemanticInfoYang100: string;
|
|
247
|
-
sizing100: string;
|
|
248
|
-
sizing125: string;
|
|
249
|
-
sizing150: string;
|
|
250
|
-
sizing175: string;
|
|
251
|
-
sizing200: string;
|
|
252
|
-
sizing250: string;
|
|
253
|
-
sizing275: string;
|
|
254
|
-
sizing300: string;
|
|
255
|
-
sizing350: string;
|
|
256
|
-
sizing375: string;
|
|
257
|
-
sizing400: string;
|
|
258
|
-
sizing450: string;
|
|
259
|
-
sizing500: string;
|
|
260
|
-
sizing525: string;
|
|
261
|
-
sizing600: string;
|
|
262
|
-
sizing700: string;
|
|
263
|
-
sizing800: string;
|
|
264
|
-
sizing900: string;
|
|
265
|
-
sizing1000: string;
|
|
266
|
-
sizing1300: string;
|
|
267
|
-
sizing1600: string;
|
|
268
|
-
sizing010: string;
|
|
269
|
-
sizing025: string;
|
|
270
|
-
sizing050: string;
|
|
271
|
-
sizing075: string;
|
|
272
|
-
sizingLogowidth: string;
|
|
273
|
-
spacing100: string;
|
|
274
|
-
spacing110: string;
|
|
275
|
-
spacing125: string;
|
|
276
|
-
spacing150: string;
|
|
277
|
-
spacing200: string;
|
|
278
|
-
spacing250: string;
|
|
279
|
-
spacing300: string;
|
|
280
|
-
spacing400: string;
|
|
281
|
-
spacing500: string;
|
|
282
|
-
spacing600: string;
|
|
283
|
-
spacing700: string;
|
|
284
|
-
spacing800: string;
|
|
285
|
-
spacing900: string;
|
|
286
|
-
spacing1000: string;
|
|
287
|
-
spacing000: string;
|
|
288
|
-
spacing010: string;
|
|
289
|
-
spacing025: string;
|
|
290
|
-
spacing050: string;
|
|
291
|
-
spacing060: string;
|
|
292
|
-
spacing075: string;
|
|
293
|
-
borderWidth100: string;
|
|
294
|
-
borderWidth200: string;
|
|
295
|
-
borderWidth300: string;
|
|
296
|
-
borderWidth400: string;
|
|
297
|
-
borderWidth000: string;
|
|
298
|
-
fontSizes100: string;
|
|
299
|
-
fontSizes200: string;
|
|
300
|
-
fontSizes300: string;
|
|
301
|
-
fontSizes400: string;
|
|
302
|
-
fontSizes500: string;
|
|
303
|
-
fontSizes600: string;
|
|
304
|
-
fontSizes700: string;
|
|
305
|
-
fontSizes800: string;
|
|
306
|
-
fontSizes900: string;
|
|
307
|
-
fontSizes1000: string;
|
|
308
|
-
fontSizes010: string;
|
|
309
|
-
fontSizes025: string;
|
|
310
|
-
fontSizes050: string;
|
|
311
|
-
boxShadow100: string;
|
|
312
|
-
boxShadow150: string;
|
|
313
|
-
boxShadow200: string;
|
|
314
|
-
boxShadow300: string;
|
|
315
|
-
boxShadow400: string;
|
|
316
|
-
boxShadow010: string;
|
|
317
|
-
boxShadow050: string;
|
|
318
|
-
boxShadow075: string;
|
|
319
|
-
boxShadow090: string;
|
|
320
|
-
boxShadow091: string;
|
|
321
|
-
fontWeights400: string;
|
|
322
|
-
fontWeights500: string;
|
|
323
|
-
fontWeights700: string;
|
|
324
|
-
lineHeights300: string;
|
|
325
|
-
lineHeights400: string;
|
|
326
|
-
lineHeights500: string;
|
|
327
|
-
fontFamiliesDefault: string;
|
|
328
|
-
fontFamiliesIos: string;
|
|
329
|
-
fontFamiliesAndroid: string;
|
|
330
|
-
fontFamiliesOther: string;
|
|
331
|
-
borderRadiusCircle: string;
|
|
332
|
-
typographyAccordionTitleM: string;
|
|
333
|
-
typographyAccordionSubtitleM: string;
|
|
334
|
-
typographyAccordionParagraphM: string;
|
|
335
|
-
typographyActionPopoverMenuItemM: string;
|
|
336
|
-
typographyAnchorNavLabelM: string;
|
|
337
|
-
typographyBadgeLabelM: string;
|
|
338
|
-
typographyButtonLabelS: string;
|
|
339
|
-
typographyButtonLabelM: string;
|
|
340
|
-
typographyButtonLabelL: string;
|
|
341
|
-
typographyCardParagraphM: string;
|
|
342
|
-
typographyCardSelectTitleM: string;
|
|
343
|
-
typographyCardSelectSubtitleM: string;
|
|
344
|
-
typographyCardSelectParagraphM: string;
|
|
345
|
-
typographyDatePickerCalendarDateM: string;
|
|
346
|
-
typographyDatePickerCalendarDayM: string;
|
|
347
|
-
typographyDatePickerCalendarMonthM: string;
|
|
348
|
-
typographyDialogTitleXs: string;
|
|
349
|
-
typographyDialogTitleS: string;
|
|
350
|
-
typographyDialogTitleMs: string;
|
|
351
|
-
typographyDialogTitleM: string;
|
|
352
|
-
typographyDialogTitleMl: string;
|
|
353
|
-
typographyDialogTitleL: string;
|
|
354
|
-
typographyDialogTitleXl: string;
|
|
355
|
-
typographyDialogTitleXxl: string;
|
|
356
|
-
typographyDialogParagraphXs: string;
|
|
357
|
-
typographyDialogParagraphS: string;
|
|
358
|
-
typographyDialogParagraphMs: string;
|
|
359
|
-
typographyDialogParagraphM: string;
|
|
360
|
-
typographyDialogParagraphMl: string;
|
|
361
|
-
typographyDialogParagraphL: string;
|
|
362
|
-
typographyDialogParagraphXl: string;
|
|
363
|
-
typographyDialogParagraphXxl: string;
|
|
364
|
-
typographyDrawerTitleM: string;
|
|
365
|
-
typographyDrawerParagraphM: string;
|
|
366
|
-
typographyFlashTextM: string;
|
|
367
|
-
typographyFlashTextL: string;
|
|
368
|
-
typographyFormFieldLabelXs: string;
|
|
369
|
-
typographyFormFieldLabelS: string;
|
|
370
|
-
typographyFormFieldLabelM: string;
|
|
371
|
-
typographyFormFieldLabelL: string;
|
|
372
|
-
typographyFormFieldHintTextXs: string;
|
|
373
|
-
typographyFormFieldHintTextS: string;
|
|
374
|
-
typographyFormFieldHintTextM: string;
|
|
375
|
-
typographyFormFieldHintTextL: string;
|
|
376
|
-
typographyFormFieldErrorMessageXs: string;
|
|
377
|
-
typographyFormFieldErrorMessageS: string;
|
|
378
|
-
typographyFormFieldErrorMessageM: string;
|
|
379
|
-
typographyFormFieldErrorMessageL: string;
|
|
380
|
-
typographyFormFieldCautionMessageXs: string;
|
|
381
|
-
typographyFormFieldCautionMessageS: string;
|
|
382
|
-
typographyFormFieldCautionMessageM: string;
|
|
383
|
-
typographyFormFieldCautionMessageL: string;
|
|
384
|
-
typographyFormFieldInputTextXs: string;
|
|
385
|
-
typographyFormFieldInputTextS: string;
|
|
386
|
-
typographyFormFieldInputTextM: string;
|
|
387
|
-
typographyFormFieldInputTextL: string;
|
|
388
|
-
typographyFormFieldDropdownOptionsXs: string;
|
|
389
|
-
typographyFormFieldDropdownOptionsS: string;
|
|
390
|
-
typographyFormFieldDropdownOptionsM: string;
|
|
391
|
-
typographyFormFieldDropdownOptionsL: string;
|
|
392
|
-
typographyFormFieldSecondLabelXs: string;
|
|
393
|
-
typographyFormFieldSecondLabelS: string;
|
|
394
|
-
typographyFormFieldSecondLabelM: string;
|
|
395
|
-
typographyFormFieldSecondLabelL: string;
|
|
396
|
-
typographyFormFieldCharacterCountXs: string;
|
|
397
|
-
typographyFormFieldCharacterCountS: string;
|
|
398
|
-
typographyFormFieldCharacterCountM: string;
|
|
399
|
-
typographyFormFieldCharacterCountL: string;
|
|
400
|
-
typographyLinkTextS: string;
|
|
401
|
-
typographyLinkTextM: string;
|
|
402
|
-
typographyLinkTextL: string;
|
|
403
|
-
typographyMenuLabelM: string;
|
|
404
|
-
typographyMenuLabelL: string;
|
|
405
|
-
typographyMenuSegmentTitleM: string;
|
|
406
|
-
typographyMessageHeadingM: string;
|
|
407
|
-
typographyMessageHeadingL: string;
|
|
408
|
-
typographyMessageTextM: string;
|
|
409
|
-
typographyMessageTextL: string;
|
|
410
|
-
typographyPaginationLabelM: string;
|
|
411
|
-
typographyPillLabelS: string;
|
|
412
|
-
typographyPillLabelM: string;
|
|
413
|
-
typographyPillLabelL: string;
|
|
414
|
-
typographyPillLabelXl: string;
|
|
415
|
-
typographyProfileEmailTextXs: string;
|
|
416
|
-
typographyProfileEmailTextS: string;
|
|
417
|
-
typographyProfileEmailTextM: string;
|
|
418
|
-
typographyProfileEmailTextMl: string;
|
|
419
|
-
typographyProfileEmailTextL: string;
|
|
420
|
-
typographyProfileEmailTextXl: string;
|
|
421
|
-
typographyProfileEmailTextXxl: string;
|
|
422
|
-
typographyProfileEmailLinkXs: string;
|
|
423
|
-
typographyProfileEmailLinkS: string;
|
|
424
|
-
typographyProfileEmailLinkM: string;
|
|
425
|
-
typographyProfileEmailLinkMl: string;
|
|
426
|
-
typographyProfileEmailLinkL: string;
|
|
427
|
-
typographyProfileEmailLinkXl: string;
|
|
428
|
-
typographyProfileEmailLinkXxl: string;
|
|
429
|
-
typographyProfileInitialsXs: string;
|
|
430
|
-
typographyProfileInitialsS: string;
|
|
431
|
-
typographyProfileInitialsM: string;
|
|
432
|
-
typographyProfileInitialsMl: string;
|
|
433
|
-
typographyProfileInitialsL: string;
|
|
434
|
-
typographyProfileInitialsXl: string;
|
|
435
|
-
typographyProfileInitialsXxl: string;
|
|
436
|
-
typographyProfileNameXs: string;
|
|
437
|
-
typographyProfileNameS: string;
|
|
438
|
-
typographyProfileNameM: string;
|
|
439
|
-
typographyProfileNameMl: string;
|
|
440
|
-
typographyProfileNameL: string;
|
|
441
|
-
typographyProfileNameXl: string;
|
|
442
|
-
typographyProfileNameXxl: string;
|
|
443
|
-
typographyProgressTrackerValueLabelS: string;
|
|
444
|
-
typographyProgressTrackerValueLabelM: string;
|
|
445
|
-
typographyProgressTrackerValueLabelL: string;
|
|
446
|
-
typographySearchLabelM: string;
|
|
447
|
-
typographySidebarTitleXs: string;
|
|
448
|
-
typographySidebarTitleS: string;
|
|
449
|
-
typographySidebarTitleMs: string;
|
|
450
|
-
typographySidebarTitleM: string;
|
|
451
|
-
typographySidebarTitleMl: string;
|
|
452
|
-
typographySidebarTitleL: string;
|
|
453
|
-
typographySidebarTitleXl: string;
|
|
454
|
-
typographySidebarParagraphXs: string;
|
|
455
|
-
typographySidebarParagraphS: string;
|
|
456
|
-
typographySidebarParagraphMs: string;
|
|
457
|
-
typographySidebarParagraphM: string;
|
|
458
|
-
typographySidebarParagraphMl: string;
|
|
459
|
-
typographySidebarParagraphL: string;
|
|
460
|
-
typographySidebarParagraphXl: string;
|
|
461
|
-
typographyStepFlowCompleteLabelM: string;
|
|
462
|
-
typographyStepFlowCurrentLabelM: string;
|
|
463
|
-
typographyStepFlowIncompleteLabelM: string;
|
|
464
|
-
typographySwitchOptionLabelM: string;
|
|
465
|
-
typographySwitchOptionLabelL: string;
|
|
466
|
-
typographyTableHeaderTextXs: string;
|
|
467
|
-
typographyTableHeaderTextS: string;
|
|
468
|
-
typographyTableHeaderTextM: string;
|
|
469
|
-
typographyTableHeaderTextL: string;
|
|
470
|
-
typographyTableHeaderTextXl: string;
|
|
471
|
-
typographyTableCellTextXs: string;
|
|
472
|
-
typographyTableCellTextS: string;
|
|
473
|
-
typographyTableCellTextM: string;
|
|
474
|
-
typographyTableCellTextL: string;
|
|
475
|
-
typographyTableCellTextXl: string;
|
|
476
|
-
typographyTileParagraphM: string;
|
|
477
|
-
typographyTooltipTextM: string;
|
|
478
|
-
typographyTooltipTextL: string;
|
|
479
|
-
opacity300: string;
|
|
480
|
-
opacity600: string;
|
|
481
|
-
opacity800: string;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
43
|
+
compatibility: Record<string, string | undefined>;
|
|
44
|
+
}
|
|
45
|
+
export declare const space: string[];
|
|
46
|
+
declare const _default: (palette: BasePalette) => ThemeObject;
|
|
484
47
|
export default _default;
|
|
@@ -41,6 +41,8 @@ export default (palette => {
|
|
|
41
41
|
},
|
|
42
42
|
|
|
43
43
|
get compatibility() {
|
|
44
|
+
var _this$colors, _this$colors$destruct;
|
|
45
|
+
|
|
44
46
|
return { ...tokens,
|
|
45
47
|
colorsActionMajor150: this.colors.loadingBarBackground,
|
|
46
48
|
colorsActionMajor500: this.colors.primary,
|
|
@@ -48,7 +50,7 @@ export default (palette => {
|
|
|
48
50
|
colorsActionDisabled500: this.disabled.background,
|
|
49
51
|
colorsSemanticFocus500: this.colors.focus,
|
|
50
52
|
colorsSemanticNegative500: this.colors.error,
|
|
51
|
-
colorsSemanticNegative600: this.colors.destructive.hover,
|
|
53
|
+
colorsSemanticNegative600: this === null || this === void 0 ? void 0 : (_this$colors = this.colors) === null || _this$colors === void 0 ? void 0 : (_this$colors$destruct = _this$colors.destructive) === null || _this$colors$destruct === void 0 ? void 0 : _this$colors$destruct.hover,
|
|
52
54
|
colorsSemanticCaution500: this.colors.warning,
|
|
53
55
|
colorsSemanticInfo500: this.colors.info
|
|
54
56
|
};
|
|
@@ -1,64 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export interface ColorsWithHex {
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
type BasePalette = Palette &
|
|
8
|
-
ColorsWithHex & {
|
|
9
|
-
blackOpacity: (opacity: number) => string;
|
|
10
|
-
whiteOpacity: (opacity: number) => string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export interface Colors {
|
|
14
|
-
primary: string;
|
|
15
|
-
secondary: string;
|
|
16
|
-
tertiary: string;
|
|
17
|
-
loadingBarBackground: string;
|
|
18
|
-
|
|
19
|
-
// generic
|
|
20
|
-
white: "#FFFFFF";
|
|
21
|
-
|
|
22
|
-
// status
|
|
23
|
-
error: string;
|
|
24
|
-
focus: string;
|
|
25
|
-
info: string;
|
|
26
|
-
warning: string;
|
|
27
|
-
destructive: {
|
|
28
|
-
hover: string;
|
|
29
|
-
};
|
|
30
|
-
warningText: string;
|
|
31
|
-
placeholder: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface ThemeObject {
|
|
35
|
-
name: string;
|
|
36
|
-
palette: BasePalette;
|
|
37
|
-
spacing: number;
|
|
38
|
-
space: string[];
|
|
39
|
-
|
|
40
|
-
colors: Colors;
|
|
41
|
-
|
|
42
|
-
disabled: {
|
|
43
|
-
background: string;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
zIndex: {
|
|
47
|
-
smallOverlay: number;
|
|
48
|
-
overlay: number;
|
|
49
|
-
popover: number;
|
|
50
|
-
nav: number;
|
|
51
|
-
modal: number;
|
|
52
|
-
header: number;
|
|
53
|
-
fullScreenModal: number;
|
|
54
|
-
notification: number;
|
|
55
|
-
aboveAll: number;
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
1
|
+
import { BasePalette, ThemeObject } from "./base-theme.config";
|
|
59
2
|
declare const baseTheme: ThemeObject;
|
|
60
|
-
|
|
61
|
-
declare function mergeWithBase(configureTheme: ThemeObject): ThemeObject;
|
|
62
|
-
|
|
63
3
|
export default baseTheme;
|
|
64
|
-
export
|
|
4
|
+
export declare const mergeWithBase: (configureTheme: (p: BasePalette) => Partial<ThemeObject>) => Partial<ThemeObject>;
|
|
5
|
+
export type { ThemeObject };
|
|
@@ -9,9 +9,9 @@ const colorsWithHex = addHexSymbols(baseColors);
|
|
|
9
9
|
const blackOpacity = atOpacity("#000000");
|
|
10
10
|
const whiteOpacity = atOpacity("#FFFFFF");
|
|
11
11
|
const palette = { ...colors,
|
|
12
|
+
...colorsWithHex,
|
|
12
13
|
blackOpacity,
|
|
13
|
-
whiteOpacity
|
|
14
|
-
...colorsWithHex
|
|
14
|
+
whiteOpacity
|
|
15
15
|
};
|
|
16
16
|
const baseTheme = configureBase(palette);
|
|
17
17
|
export default baseTheme;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import mintTheme from "./mint";
|
|
2
2
|
import aegeanTheme from "./aegean";
|
|
3
3
|
import sageTheme from "./sage";
|
|
4
|
-
import { ThemeObject } from "./base";
|
|
5
|
-
|
|
6
|
-
declare const carbonThemeList: ThemeObject[];
|
|
7
|
-
|
|
8
4
|
export { default as noTheme } from "./none";
|
|
9
5
|
export { default as baseTheme } from "./base";
|
|
10
6
|
export { mintTheme, aegeanTheme, sageTheme };
|
|
11
|
-
export
|
|
7
|
+
export declare const carbonThemeList: Partial<import("./base").ThemeObject>[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: Partial<import("../base").ThemeObject>;
|
|
2
2
|
export default _default;
|
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
primary: any;
|
|
5
|
-
secondary: any;
|
|
6
|
-
tertiary: any;
|
|
7
|
-
loadingBarBackground: any;
|
|
8
|
-
};
|
|
9
|
-
readonly compatibility: {
|
|
10
|
-
colorsActionMajor150: any;
|
|
11
|
-
colorsActionMajor500: any;
|
|
12
|
-
colorsActionMajor600: any;
|
|
13
|
-
colorsActionMajor700: any;
|
|
14
|
-
colorsComponentsMenuAutumnStandard600: any;
|
|
15
|
-
colorsComponentsMenuSpringChild600: any;
|
|
16
|
-
colorsComponentsMenuAutumnChild600: any;
|
|
17
|
-
colorsComponentsMenuSummerChild600: any;
|
|
18
|
-
colorsComponentsMenuWinterChild600: any;
|
|
19
|
-
colorsComponentsMenuSpringChildAlt600: any;
|
|
20
|
-
colorsComponentsMenuAutumnChildAlt600: any;
|
|
21
|
-
colorsComponentsMenuWinterChildAlt600: any;
|
|
22
|
-
colorsComponentsMenuSummerChildAlt600: any;
|
|
23
|
-
colorsBaseTheme: any;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import { ThemeObject } from "../base";
|
|
2
|
+
import { BasePalette } from "../base/base-theme.config";
|
|
3
|
+
declare const _default: (palette: BasePalette) => Partial<ThemeObject>;
|
|
26
4
|
export default _default;
|