@codacy/ui-components 0.66.14 → 0.66.16
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/lib/Banner/Banner.styles.d.ts +1 -1
- package/lib/BigTabs/BigTabs.styles.js +4 -4
- package/lib/Button/styles.js +4 -4
- package/lib/CloseButton/index.d.ts +1 -1
- package/lib/ExpandableBox/ExpandableBox.styles.d.ts +2 -2
- package/lib/theme/ColorSchemes/components/alerts.d.ts +29 -5
- package/lib/theme/ColorSchemes/components/alerts.js +3 -2
- package/lib/theme/ColorSchemes/components/button.d.ts +82 -5
- package/lib/theme/ColorSchemes/components/button.js +3 -2
- package/lib/theme/ColorSchemes/components/cards.d.ts +15 -6
- package/lib/theme/ColorSchemes/components/cards.js +3 -2
- package/lib/theme/ColorSchemes/components/charts.d.ts +92 -6
- package/lib/theme/ColorSchemes/components/charts.js +3 -2
- package/lib/theme/ColorSchemes/components/checkbox-input.d.ts +12 -6
- package/lib/theme/ColorSchemes/components/checkbox-input.js +2 -3
- package/lib/theme/ColorSchemes/components/divider.d.ts +3 -3
- package/lib/theme/ColorSchemes/components/divider.js +3 -2
- package/lib/theme/ColorSchemes/components/drawer.d.ts +20 -6
- package/lib/theme/ColorSchemes/components/drawer.js +3 -2
- package/lib/theme/ColorSchemes/components/effects.d.ts +4 -3
- package/lib/theme/ColorSchemes/components/effects.js +3 -2
- package/lib/theme/ColorSchemes/components/filters.d.ts +11 -5
- package/lib/theme/ColorSchemes/components/filters.js +3 -2
- package/lib/theme/ColorSchemes/components/input.d.ts +37 -5
- package/lib/theme/ColorSchemes/components/input.js +3 -2
- package/lib/theme/ColorSchemes/components/issues.d.ts +26 -1
- package/lib/theme/ColorSchemes/components/issues.js +3 -2
- package/lib/theme/ColorSchemes/components/label.d.ts +32 -5
- package/lib/theme/ColorSchemes/components/label.js +3 -2
- package/lib/theme/ColorSchemes/components/list-orb.d.ts +7 -5
- package/lib/theme/ColorSchemes/components/list-orb.js +3 -2
- package/lib/theme/ColorSchemes/components/loading.d.ts +3 -3
- package/lib/theme/ColorSchemes/components/loading.js +3 -2
- package/lib/theme/ColorSchemes/components/logo.d.ts +5 -3
- package/lib/theme/ColorSchemes/components/logo.js +3 -2
- package/lib/theme/ColorSchemes/components/modals.d.ts +5 -5
- package/lib/theme/ColorSchemes/components/modals.js +3 -2
- package/lib/theme/ColorSchemes/components/navigation.d.ts +16 -7
- package/lib/theme/ColorSchemes/components/navigation.js +5 -3
- package/lib/theme/ColorSchemes/components/selector.d.ts +19 -6
- package/lib/theme/ColorSchemes/components/selector.js +2 -3
- package/lib/theme/ColorSchemes/components/stepper.d.ts +8 -5
- package/lib/theme/ColorSchemes/components/stepper.js +3 -2
- package/lib/theme/ColorSchemes/components/tables.d.ts +11 -5
- package/lib/theme/ColorSchemes/components/tables.js +3 -2
- package/lib/theme/ColorSchemes/components/tabs.d.ts +12 -5
- package/lib/theme/ColorSchemes/components/tabs.js +3 -2
- package/lib/theme/ColorSchemes/components/utils.d.ts +5 -0
- package/lib/theme/ColorSchemes/components/utils.js +11 -0
- package/lib/theme/ColorSchemes/light/index.d.ts +407 -948
- package/package.json +1 -1
|
@@ -1,7 +1,93 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
export declare const charts: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'charts-primary-icon-enabled': string;
|
|
4
|
+
'charts-primary-icon-disabled': string;
|
|
5
|
+
'charts-primary-iconLink-enabled': string;
|
|
6
|
+
'charts-primary-iconLink-disabled': string;
|
|
7
|
+
'charts-success-icon-enabled': string;
|
|
8
|
+
'charts-success-icon-disabled': string;
|
|
9
|
+
'charts-critical-icon-enabled': string;
|
|
10
|
+
'charts-critical-icon-disabled': string;
|
|
11
|
+
'charts-high-icon-enabled': string;
|
|
12
|
+
'charts-high-icon-disabled': string;
|
|
13
|
+
'charts-medium-icon-enabled': string;
|
|
14
|
+
'charts-medium-icon-disabled': string;
|
|
15
|
+
'charts-minor-icon-enabled': string;
|
|
16
|
+
'charts-minor-icon-disabled': string;
|
|
17
|
+
'charts-primary-text-enabled': string;
|
|
18
|
+
'charts-secondary-text-enabled': string;
|
|
19
|
+
'charts-tertiary-text-enabled': string;
|
|
20
|
+
'charts-primary-text-disabled': string;
|
|
21
|
+
'charts-primary-link-enabled': string;
|
|
22
|
+
'charts-critical-text-enabled': string;
|
|
23
|
+
'charts-critical-text-disabled': string;
|
|
24
|
+
'charts-high-text-enabled': string;
|
|
25
|
+
'charts-high-text-disabled': string;
|
|
26
|
+
'charts-medium-text-enabled': string;
|
|
27
|
+
'charts-medium-text-disabled': string;
|
|
28
|
+
'charts-minor-text-enabled': string;
|
|
29
|
+
'charts-minor-text-disabled': string;
|
|
30
|
+
'charts-primary-border-enabled': string;
|
|
31
|
+
'charts-secondary-border-enabled': string;
|
|
32
|
+
'charts-primary-border-active': string;
|
|
33
|
+
'charts-critical-border-enabled': string;
|
|
34
|
+
'charts-critical-border-disabled': string;
|
|
35
|
+
'charts-high-border-enabled': string;
|
|
36
|
+
'charts-high-border-disabled': string;
|
|
37
|
+
'charts-medium-border-enabled': string;
|
|
38
|
+
'charts-medium-border-disabled': string;
|
|
39
|
+
'charts-minor-border-enabled': string;
|
|
40
|
+
'charts-minor-border-disabled': string;
|
|
41
|
+
'charts-primary-background-enabled': string;
|
|
42
|
+
'charts-secondary-background-enabled': string;
|
|
43
|
+
'charts-tertiary-background-enabled': string;
|
|
44
|
+
'charts-subtle-background-enabled': string;
|
|
45
|
+
'charts-danger-background-enabled': string;
|
|
46
|
+
'charts-danger-background-active': string;
|
|
47
|
+
'charts-warning-background-enabled': string;
|
|
48
|
+
'charts-warning-background-active': string;
|
|
49
|
+
'charts-success-background-enabled': string;
|
|
50
|
+
'charts-success-background-active': string;
|
|
51
|
+
'charts-info-background-enabled': string;
|
|
52
|
+
'charts-info-background-active': string;
|
|
53
|
+
'charts-attention-background-enabled': string;
|
|
54
|
+
'charts-attention-background-active': string;
|
|
55
|
+
'charts-critical-background-enabled': string;
|
|
56
|
+
'charts-critical-background-active': string;
|
|
57
|
+
'charts-high-background-enabled': string;
|
|
58
|
+
'charts-high-background-active': string;
|
|
59
|
+
'charts-medium-background-enabled': string;
|
|
60
|
+
'charts-medium-background-active': string;
|
|
61
|
+
'charts-minor-background-enabled': string;
|
|
62
|
+
'charts-minor-background-active': string;
|
|
63
|
+
'charts-value1-border-enabled': string;
|
|
64
|
+
'charts-value1-border-disabled': string;
|
|
65
|
+
'charts-value2-border-enabled': string;
|
|
66
|
+
'charts-value2-border-disabled': string;
|
|
67
|
+
'charts-value3-border-enabled': string;
|
|
68
|
+
'charts-value3-border-disabled': string;
|
|
69
|
+
'charts-value4-border-enabled': string;
|
|
70
|
+
'charts-value4-border-disabled': string;
|
|
71
|
+
'charts-value5-border-enabled': string;
|
|
72
|
+
'charts-value5-border-disabled': string;
|
|
73
|
+
'charts-value6-border-enabled': string;
|
|
74
|
+
'charts-value6-border-disabled': string;
|
|
75
|
+
'charts-value7-border-enabled': string;
|
|
76
|
+
'charts-value7-border-disabled': string;
|
|
77
|
+
'charts-value1-background-enabled': string;
|
|
78
|
+
'charts-value1-background-disabled': string;
|
|
79
|
+
'charts-value2-background-enabled': string;
|
|
80
|
+
'charts-value2-background-disabled': string;
|
|
81
|
+
'charts-value3-background-enabled': string;
|
|
82
|
+
'charts-value3-background-disabled': string;
|
|
83
|
+
'charts-value4-background-enabled': string;
|
|
84
|
+
'charts-value4-background-disabled': string;
|
|
85
|
+
'charts-value5-background-enabled': string;
|
|
86
|
+
'charts-value5-background-disabled': string;
|
|
87
|
+
'charts-value6-background-enabled': string;
|
|
88
|
+
'charts-value6-background-disabled': string;
|
|
89
|
+
'charts-value7-background-enabled': string;
|
|
90
|
+
'charts-value7-background-disabled': string;
|
|
91
|
+
'charts-value8-background-enabled': string;
|
|
92
|
+
'charts-value8-background-disabled': string;
|
|
93
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.charts = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var charts = exports.charts = function charts(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'charts-primary-icon-enabled': colors['icon-enabled'],
|
|
10
11
|
'charts-primary-icon-disabled': colors['text-disabled'],
|
|
11
12
|
'charts-primary-iconLink-enabled': colors['icon-brand-enabled'],
|
|
@@ -96,5 +97,5 @@ var charts = exports.charts = function charts(colors) {
|
|
|
96
97
|
'charts-value7-background-disabled': colors['data-color7-disabled'],
|
|
97
98
|
'charts-value8-background-enabled': colors['data-color8-enabled'],
|
|
98
99
|
'charts-value8-background-disabled': colors['data-color8-disabled']
|
|
99
|
-
};
|
|
100
|
+
});
|
|
100
101
|
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
export declare const checkboxInput: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'checkboxInput-primary-text-enabled': string;
|
|
4
|
+
'checkboxInput-primary-text-disabled': string;
|
|
5
|
+
'checkboxInput-secondary-text-enabled': string;
|
|
6
|
+
'checkboxInput-secondary-text-disabled': string;
|
|
7
|
+
'checkboxInput-primary-background-enabled': string;
|
|
8
|
+
'checkboxInput-primary-background-disabled': string;
|
|
9
|
+
'checkboxInput-primary-border-active': string;
|
|
10
|
+
'checkboxInput-primary-border-enabled': string;
|
|
11
|
+
'checkboxInput-primary-icon-enabled': string;
|
|
12
|
+
'checkboxInput-primary-icon-disabled': string;
|
|
13
|
+
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.checkboxInput = void 0;
|
|
8
|
-
var
|
|
7
|
+
var _utils = require("./utils");
|
|
9
8
|
var checkboxInput = exports.checkboxInput = function checkboxInput(colors) {
|
|
10
|
-
return (0,
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
11
10
|
'checkboxInput-primary-text-enabled': colors['text-primary'],
|
|
12
11
|
'checkboxInput-primary-text-disabled': colors['border-brand-subtle'],
|
|
13
12
|
'checkboxInput-secondary-text-enabled': colors['text-tertiary'],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '../..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const divider: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'divider-enabled': string;
|
|
4
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.divider = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var divider = exports.divider = function divider(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'divider-enabled': colors['border-primary']
|
|
10
|
-
};
|
|
11
|
+
});
|
|
11
12
|
};
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
export declare const drawer: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'drawer-body-text-enabled': string;
|
|
4
|
+
'drawer-body-text-disabled': string;
|
|
5
|
+
'drawer-body-background-enabled': string;
|
|
6
|
+
'drawer-body-border-enabled': string;
|
|
7
|
+
'drawer-body-icon-enabled': string;
|
|
8
|
+
'drawer-body-icon-disabled': string;
|
|
9
|
+
'drawer-item-text-enabled': string;
|
|
10
|
+
'drawer-item-text-disabled': string;
|
|
11
|
+
'drawer-item-text-hover': string;
|
|
12
|
+
'drawer-item-text-active': string;
|
|
13
|
+
'drawer-item-background-enabled': string;
|
|
14
|
+
'drawer-item-background-disabled': string;
|
|
15
|
+
'drawer-item-background-hover': string;
|
|
16
|
+
'drawer-item-background-active': string;
|
|
17
|
+
'drawer-item-icon-enabled': string;
|
|
18
|
+
'drawer-item-icon-disabled': string;
|
|
19
|
+
'drawer-item-icon-hover': string;
|
|
20
|
+
'drawer-item-icon-active': string;
|
|
21
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.drawer = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var drawer = exports.drawer = function drawer(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'drawer-body-text-enabled': colors['text-secondary'],
|
|
10
11
|
'drawer-body-text-disabled': colors['text-disabled'],
|
|
11
12
|
'drawer-body-background-enabled': colors['background-primary'],
|
|
@@ -24,5 +25,5 @@ var drawer = exports.drawer = function drawer(colors) {
|
|
|
24
25
|
'drawer-item-icon-disabled': colors['icon-disabled'],
|
|
25
26
|
'drawer-item-icon-hover': colors['icon-hover'],
|
|
26
27
|
'drawer-item-icon-active': colors['icon-brand-enabled']
|
|
27
|
-
};
|
|
28
|
+
});
|
|
28
29
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PrimitiveColorScheme } from '../primitives';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const effects: (colors: PrimitiveColorScheme) => {
|
|
3
|
+
'effect-elevation-1': `${string}26`;
|
|
4
|
+
'effect-elevation-2': `${string}33`;
|
|
5
|
+
};
|
|
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.effects = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var effects = exports.effects = function effects(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'effect-elevation-1': "".concat(colors['grey-30'], "26"),
|
|
10
11
|
'effect-elevation-2': "".concat(colors['grey-30'], "33")
|
|
11
|
-
};
|
|
12
|
+
});
|
|
12
13
|
};
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const filters: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'filter-text-enabled': string;
|
|
4
|
+
'filter-text-disabled': string;
|
|
5
|
+
'filter-background-enabled': string;
|
|
6
|
+
'filter-background-disabled': string;
|
|
7
|
+
'filter-border-enabled': string;
|
|
8
|
+
'filter-border-disabled': string;
|
|
9
|
+
'filter-border-active': string;
|
|
10
|
+
'filter-icon-enabled': string;
|
|
11
|
+
'filter-icon-disabled': string;
|
|
12
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.filters = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var filters = exports.filters = function filters(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'filter-text-enabled': colors['text-secondary'],
|
|
10
11
|
'filter-text-disabled': colors['text-disabled'],
|
|
11
12
|
'filter-background-enabled': colors['background-primary'],
|
|
@@ -15,5 +16,5 @@ var filters = exports.filters = function filters(colors) {
|
|
|
15
16
|
'filter-border-active': colors['border-brand-pressed'],
|
|
16
17
|
'filter-icon-enabled': colors['icon-enabled'],
|
|
17
18
|
'filter-icon-disabled': colors['icon-disabled']
|
|
18
|
-
};
|
|
19
|
+
});
|
|
19
20
|
};
|
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const input: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'input-icon-enabled': string;
|
|
4
|
+
'input-icon-hover': string;
|
|
5
|
+
'input-icon-focus': string;
|
|
6
|
+
'input-icon-disabled': string;
|
|
7
|
+
'input-icon-error': string;
|
|
8
|
+
'input-border-enabled': string;
|
|
9
|
+
'input-border-hover': string;
|
|
10
|
+
'input-border-focus': string;
|
|
11
|
+
'input-border-disabled': string;
|
|
12
|
+
'input-border-error': string;
|
|
13
|
+
'input-background-enabled': string;
|
|
14
|
+
'input-background-hover': string;
|
|
15
|
+
'input-background-focus': string;
|
|
16
|
+
'input-background-disabled': string;
|
|
17
|
+
'input-background-error': string;
|
|
18
|
+
'input-text-enabled': string;
|
|
19
|
+
'input-text-hover': string;
|
|
20
|
+
'input-text-focus': string;
|
|
21
|
+
'input-text-disabled': string;
|
|
22
|
+
'input-text-error': string;
|
|
23
|
+
'input-placeholder-enabled': string;
|
|
24
|
+
'input-placeholder-hover': string;
|
|
25
|
+
'input-placeholder-focus': string;
|
|
26
|
+
'input-placeholder-disabled': string;
|
|
27
|
+
'input-placeholder-error': string;
|
|
28
|
+
'input-helper-enabled': string;
|
|
29
|
+
'input-helper-hover': string;
|
|
30
|
+
'input-helper-focus': string;
|
|
31
|
+
'input-helper-disabled': string;
|
|
32
|
+
'input-helper-error': string;
|
|
33
|
+
'input-label-enabled': string;
|
|
34
|
+
'input-label-hover': string;
|
|
35
|
+
'input-label-focus': string;
|
|
36
|
+
'input-label-disabled': string;
|
|
37
|
+
'input-label-error': string;
|
|
38
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.input = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var input = exports.input = function input(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'input-icon-enabled': colors['icon-enabled'],
|
|
10
11
|
'input-icon-hover': colors['icon-enabled'],
|
|
11
12
|
'input-icon-focus': colors['icon-enabled'],
|
|
@@ -41,5 +42,5 @@ var input = exports.input = function input(colors) {
|
|
|
41
42
|
'input-label-focus': colors['text-secondary'],
|
|
42
43
|
'input-label-disabled': colors['text-disabled'],
|
|
43
44
|
'input-label-error': colors['text-secondary']
|
|
44
|
-
};
|
|
45
|
+
});
|
|
45
46
|
};
|
|
@@ -3,5 +3,30 @@ declare type Variant = 'critical' | 'high' | 'medium' | 'minor';
|
|
|
3
3
|
declare type State = 'collapsed' | 'expanded';
|
|
4
4
|
declare type Element = 'background' | 'border' | 'code' | 'line';
|
|
5
5
|
export declare type IssueKey = `issues-${Variant}-${Element}-${State}`;
|
|
6
|
-
export declare const issues: (colors: FunctionalColorScheme) =>
|
|
6
|
+
export declare const issues: (colors: FunctionalColorScheme) => {
|
|
7
|
+
'issues-critical-border-collapsed': string;
|
|
8
|
+
'issues-critical-border-expanded': string;
|
|
9
|
+
'issues-high-border-collapsed': string;
|
|
10
|
+
'issues-high-border-expanded': string;
|
|
11
|
+
'issues-medium-border-collapsed': string;
|
|
12
|
+
'issues-medium-border-expanded': string;
|
|
13
|
+
'issues-minor-border-collapsed': string;
|
|
14
|
+
'issues-minor-border-expanded': string;
|
|
15
|
+
'issues-critical-code-collapsed': string;
|
|
16
|
+
'issues-critical-code-expanded': string;
|
|
17
|
+
'issues-high-code-collapsed': string;
|
|
18
|
+
'issues-high-code-expanded': string;
|
|
19
|
+
'issues-medium-code-collapsed': string;
|
|
20
|
+
'issues-medium-code-expanded': string;
|
|
21
|
+
'issues-minor-code-collapsed': string;
|
|
22
|
+
'issues-minor-code-expanded': string;
|
|
23
|
+
'issues-critical-line-collapsed': string;
|
|
24
|
+
'issues-critical-line-expanded': string;
|
|
25
|
+
'issues-high-line-collapsed': string;
|
|
26
|
+
'issues-high-line-expanded': string;
|
|
27
|
+
'issues-medium-line-collapsed': string;
|
|
28
|
+
'issues-medium-line-expanded': string;
|
|
29
|
+
'issues-minor-line-collapsed': string;
|
|
30
|
+
'issues-minor-line-expanded': string;
|
|
31
|
+
};
|
|
7
32
|
export {};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.issues = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var issues = exports.issues = function issues(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'issues-critical-border-collapsed': colors['border-critical-enabled'],
|
|
10
11
|
'issues-critical-border-expanded': colors['border-critical-disabled'],
|
|
11
12
|
'issues-high-border-collapsed': colors['border-high-enabled'],
|
|
@@ -30,5 +31,5 @@ var issues = exports.issues = function issues(colors) {
|
|
|
30
31
|
'issues-medium-line-expanded': colors['text-inverted'],
|
|
31
32
|
'issues-minor-line-collapsed': colors['text-disabled'],
|
|
32
33
|
'issues-minor-line-expanded': colors['text-inverted']
|
|
33
|
-
};
|
|
34
|
+
});
|
|
34
35
|
};
|
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const label: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'label-default-icon': string;
|
|
4
|
+
'label-default-text': string;
|
|
5
|
+
'label-default-background': string;
|
|
6
|
+
'label-danger-icon': string;
|
|
7
|
+
'label-danger-text': string;
|
|
8
|
+
'label-danger-background': string;
|
|
9
|
+
'label-success-icon': string;
|
|
10
|
+
'label-success-text': string;
|
|
11
|
+
'label-success-background': string;
|
|
12
|
+
'label-warning-icon': string;
|
|
13
|
+
'label-warning-text': string;
|
|
14
|
+
'label-warning-background': string;
|
|
15
|
+
'label-info-icon': string;
|
|
16
|
+
'label-info-text': string;
|
|
17
|
+
'label-info-background': string;
|
|
18
|
+
'label-attention-icon': string;
|
|
19
|
+
'label-attention-text': string;
|
|
20
|
+
'label-attention-background': string;
|
|
21
|
+
'label-critical-icon': string;
|
|
22
|
+
'label-critical-text': string;
|
|
23
|
+
'label-critical-background': string;
|
|
24
|
+
'label-high-icon': string;
|
|
25
|
+
'label-high-text': string;
|
|
26
|
+
'label-high-background': string;
|
|
27
|
+
'label-medium-icon': string;
|
|
28
|
+
'label-medium-text': string;
|
|
29
|
+
'label-medium-background': string;
|
|
30
|
+
'label-minor-icon': string;
|
|
31
|
+
'label-minor-text': string;
|
|
32
|
+
'label-minor-background': string;
|
|
33
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.label = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var label = exports.label = function label(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'label-default-icon': colors['icon-enabled'],
|
|
10
11
|
'label-default-text': colors['text-secondary'],
|
|
11
12
|
'label-default-background': colors['background-subtle'],
|
|
@@ -36,5 +37,5 @@ var label = exports.label = function label(colors) {
|
|
|
36
37
|
'label-minor-icon': colors['icon-minor-enabled'],
|
|
37
38
|
'label-minor-text': colors['text-minor-enabled'],
|
|
38
39
|
'label-minor-background': colors['background-minor']
|
|
39
|
-
};
|
|
40
|
+
});
|
|
40
41
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const listOrb: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'listOrb-primary-text': string;
|
|
4
|
+
'listOrb-secondary-text': string;
|
|
5
|
+
'listOrb-primary-icon': string;
|
|
6
|
+
'listOrb-primary-background': string;
|
|
7
|
+
'listOrb-secondary-background': string;
|
|
8
|
+
};
|
|
@@ -4,12 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.listOrb = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var listOrb = exports.listOrb = function listOrb(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'listOrb-primary-text': colors['text-primary'],
|
|
10
11
|
'listOrb-secondary-text': colors['text-secondary'],
|
|
11
12
|
'listOrb-primary-icon': colors['icon-brand-enabled'],
|
|
12
13
|
'listOrb-primary-background': colors['background-brand'],
|
|
13
14
|
'listOrb-secondary-background': colors['background-subtle']
|
|
14
|
-
};
|
|
15
|
+
});
|
|
15
16
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '../..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const loading: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'loading-background': string;
|
|
4
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.loading = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var loading = exports.loading = function loading(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'loading-background': colors['background-brand']
|
|
10
|
-
};
|
|
11
|
+
});
|
|
11
12
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '../..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const logo: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'logo-brand': string;
|
|
4
|
+
'logo-inverted': string;
|
|
5
|
+
'logo-primary': string;
|
|
6
|
+
};
|
|
@@ -4,10 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.logo = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var logo = exports.logo = function logo(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'logo-brand': colors['icon-brand-enabled'],
|
|
10
11
|
'logo-inverted': colors['icon-inverted'],
|
|
11
12
|
'logo-primary': colors['icon-subtle-pressed']
|
|
12
|
-
};
|
|
13
|
+
});
|
|
13
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
export declare const modals: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'modal-body-text': string;
|
|
4
|
+
'modal-body-background': string;
|
|
5
|
+
'modal-backdrop-background': string;
|
|
6
|
+
};
|
|
@@ -4,10 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.modals = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var modals = exports.modals = function modals(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'modal-body-text': colors['text-primary'],
|
|
10
11
|
'modal-body-background': colors['background-primary'],
|
|
11
12
|
'modal-backdrop-background': colors['background-subtle-enabled']
|
|
12
|
-
};
|
|
13
|
+
});
|
|
13
14
|
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { FunctionalColorScheme } from '..';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
export declare const navigation: (colors: FunctionalColorScheme) => {
|
|
3
|
+
'navigation-left-menu-item-text-enabled': string;
|
|
4
|
+
'navigation-left-menu-item-text-active': string;
|
|
5
|
+
'navigation-left-menu-item-text-hover': string;
|
|
6
|
+
'navigation-left-menu-item-icon-enabled': string;
|
|
7
|
+
'navigation-left-menu-item-icon-active': string;
|
|
8
|
+
'navigation-left-menu-item-background-enabled': string;
|
|
9
|
+
'navigation-left-menu-item-background-active': string;
|
|
10
|
+
'navigation-left-menu-wrapper-text-enabled': string;
|
|
11
|
+
'navigation-left-menu-wrapper-background-enabled': string;
|
|
12
|
+
'navigation-top-bar-item-text-enabled': string;
|
|
13
|
+
'navigation-top-bar-item-background-hover': string;
|
|
14
|
+
'navigation-top-bar-logo': string;
|
|
15
|
+
'navigation-top-bar-wrapper-text-enabled': string;
|
|
16
|
+
'navigation-top-bar-wrapper-background-enabled': string;
|
|
17
|
+
};
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.navigation = void 0;
|
|
7
|
+
var _utils = require("./utils");
|
|
7
8
|
var navigation = exports.navigation = function navigation(colors) {
|
|
8
|
-
return {
|
|
9
|
+
return (0, _utils.validateKeys)()({
|
|
9
10
|
'navigation-left-menu-item-text-enabled': colors['text-secondary'],
|
|
10
11
|
'navigation-left-menu-item-text-active': colors['text-brand-enabled'],
|
|
11
12
|
'navigation-left-menu-item-text-hover': colors['text-brand-hover'],
|
|
@@ -16,8 +17,9 @@ var navigation = exports.navigation = function navigation(colors) {
|
|
|
16
17
|
'navigation-left-menu-wrapper-text-enabled': colors['text-disabled'],
|
|
17
18
|
'navigation-left-menu-wrapper-background-enabled': colors['background-secondary'],
|
|
18
19
|
'navigation-top-bar-item-text-enabled': colors['text-tertiary'],
|
|
19
|
-
'navigation-top-bar-item-background-hover': colors['background-subtle-
|
|
20
|
+
'navigation-top-bar-item-background-hover': colors['background-subtle-disabled'],
|
|
21
|
+
'navigation-top-bar-logo': colors['icon-focus'],
|
|
20
22
|
'navigation-top-bar-wrapper-text-enabled': colors['text-tertiary'],
|
|
21
23
|
'navigation-top-bar-wrapper-background-enabled': colors['background-subtle']
|
|
22
|
-
};
|
|
24
|
+
});
|
|
23
25
|
};
|