@workday/canvas-kit-preview-react 14.0.0-alpha.1135-next.0 → 14.0.0-alpha.1144-next.0
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/dist/commonjs/divider/lib/Divider.js +1 -1
- package/dist/commonjs/information-highlight/lib/InformationHighlight.d.ts +4 -4
- package/dist/commonjs/information-highlight/lib/InformationHighlight.js +8 -8
- package/dist/commonjs/information-highlight/lib/parts/Body.js +1 -1
- package/dist/commonjs/information-highlight/lib/parts/Heading.js +1 -1
- package/dist/commonjs/information-highlight/lib/parts/Link.js +1 -1
- package/dist/commonjs/loading-sparkles/lib/LoadingSparkles.js +3 -3
- package/dist/commonjs/multi-select/lib/MultiSelectInput.js +3 -3
- package/dist/commonjs/multi-select/lib/useMultiSelectModel.js +1 -1
- package/dist/commonjs/pill/lib/Pill.d.ts.map +1 -1
- package/dist/commonjs/pill/lib/Pill.js +6 -6
- package/dist/commonjs/pill/lib/PillAvatar.js +1 -1
- package/dist/commonjs/pill/lib/PillCount.js +1 -1
- package/dist/commonjs/pill/lib/PillIcon.js +1 -1
- package/dist/commonjs/pill/lib/PillIconButton.js +1 -1
- package/dist/commonjs/pill/lib/PillLabel.js +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.js +3 -3
- package/dist/commonjs/radio/lib/RadioLabel.js +1 -1
- package/dist/commonjs/radio/lib/RadioText.js +4 -4
- package/dist/commonjs/radio/lib/StyledRadioButton.js +5 -5
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.js +16 -16
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.js +4 -4
- package/dist/commonjs/side-panel/lib/SidePanel.js +7 -7
- package/dist/commonjs/side-panel/lib/SidePanelToggleButton.js +11 -11
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +13 -13
- package/dist/commonjs/status-indicator/lib/StatusIndicatorLabel.js +1 -1
- package/dist/es6/divider/lib/Divider.js +1 -1
- package/dist/es6/information-highlight/lib/InformationHighlight.d.ts +4 -4
- package/dist/es6/information-highlight/lib/InformationHighlight.js +9 -9
- package/dist/es6/information-highlight/lib/parts/Body.js +1 -1
- package/dist/es6/information-highlight/lib/parts/Heading.js +1 -1
- package/dist/es6/information-highlight/lib/parts/Link.js +1 -1
- package/dist/es6/loading-sparkles/lib/LoadingSparkles.js +4 -4
- package/dist/es6/multi-select/lib/MultiSelectInput.js +3 -3
- package/dist/es6/multi-select/lib/useMultiSelectModel.js +1 -1
- package/dist/es6/pill/lib/Pill.d.ts.map +1 -1
- package/dist/es6/pill/lib/Pill.js +7 -7
- package/dist/es6/pill/lib/PillAvatar.js +1 -1
- package/dist/es6/pill/lib/PillCount.js +1 -1
- package/dist/es6/pill/lib/PillIcon.js +1 -1
- package/dist/es6/pill/lib/PillIconButton.js +1 -1
- package/dist/es6/pill/lib/PillLabel.js +1 -1
- package/dist/es6/radio/lib/RadioGroup.js +3 -3
- package/dist/es6/radio/lib/RadioLabel.js +1 -1
- package/dist/es6/radio/lib/RadioText.js +4 -4
- package/dist/es6/radio/lib/StyledRadioButton.js +5 -5
- package/dist/es6/segmented-control/lib/SegmentedControlItem.js +16 -16
- package/dist/es6/segmented-control/lib/SegmentedControlList.js +4 -4
- package/dist/es6/side-panel/lib/SidePanel.js +7 -7
- package/dist/es6/side-panel/lib/SidePanelToggleButton.js +11 -11
- package/dist/es6/status-indicator/lib/StatusIndicator.js +13 -13
- package/dist/es6/status-indicator/lib/StatusIndicatorLabel.js +1 -1
- package/information-highlight/lib/InformationHighlight.tsx +5 -5
- package/loading-sparkles/lib/LoadingSparkles.tsx +2 -2
- package/multi-select/lib/useMultiSelectModel.ts +1 -1
- package/package.json +5 -5
- package/pill/lib/Pill.tsx +3 -2
- package/status-indicator/lib/StatusIndicator.tsx +9 -9
|
@@ -10,19 +10,19 @@ export const panelStencil = createStencil({
|
|
|
10
10
|
expandedWidth: '',
|
|
11
11
|
collapsedWidth: '',
|
|
12
12
|
},
|
|
13
|
-
base: { name: "
|
|
13
|
+
base: { name: "bo3y4g", styles: "box-sizing:border-box;overflow:hidden;position:relative;height:100%;outline:0.0625rem solid transparent;transition:width ease-out 200ms, max-width ease-out 200ms;" },
|
|
14
14
|
modifiers: {
|
|
15
15
|
variant: {
|
|
16
|
-
alternate: { name: "
|
|
17
|
-
standard: { name: "
|
|
16
|
+
alternate: { name: "bo3y4h", styles: "background-color:var(--cnvs-sys-color-bg-default);box-shadow:var(--cnvs-sys-depth-5);" },
|
|
17
|
+
standard: { name: "bo3y4i", styles: "background-color:var(--cnvs-sys-color-bg-alt-softer);" }
|
|
18
18
|
},
|
|
19
19
|
expanded: {
|
|
20
|
-
true: { name: "
|
|
21
|
-
false: { name: "
|
|
20
|
+
true: { name: "bo3y4j", styles: "width:var(--expandedWidth-panel-bd9477);max-width:var(--expandedWidth-panel-bd9477);" },
|
|
21
|
+
false: { name: "bo3y4k", styles: "width:var(--collapsedWidth-panel-bd9477);max-width:var(--collapsedWidth-panel-bd9477);" }
|
|
22
22
|
},
|
|
23
23
|
touched: {
|
|
24
|
-
true: { name: "
|
|
25
|
-
false: { name: "
|
|
24
|
+
true: { name: "bo3y4l", styles: "" },
|
|
25
|
+
false: { name: "bo3y4m", styles: "animation:none;" }
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}, "panel-bd9477");
|
|
@@ -8,35 +8,35 @@ import { SidePanelContext } from './hooks';
|
|
|
8
8
|
import { createStencil, handleCsProp } from '@workday/canvas-kit-styling';
|
|
9
9
|
import { system } from '@workday/canvas-tokens-web';
|
|
10
10
|
export const sidePanelToggleButtonStencil = createStencil({
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "bo3y45", styles: "box-sizing:border-box;position:absolute;top:var(--cnvs-sys-space-x6);width:var(--cnvs-sys-space-x8);inset-inline-end:var(--cnvs-sys-space-x4);" },
|
|
12
12
|
modifiers: {
|
|
13
13
|
state: {
|
|
14
|
-
collapsing: { name: "
|
|
15
|
-
collapsed: { name: "
|
|
16
|
-
expanded: { name: "
|
|
17
|
-
expanding: { name: "
|
|
14
|
+
collapsing: { name: "bo3y46", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
|
|
15
|
+
collapsed: { name: "bo3y47", styles: "margin:auto;inset-inline-start:0;inset-inline-end:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
|
|
16
|
+
expanded: { name: "bo3y48", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
|
|
17
|
+
expanding: { name: "bo3y49", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" }
|
|
18
18
|
},
|
|
19
19
|
origin: {
|
|
20
|
-
left: { name: "
|
|
21
|
-
right: { name: "
|
|
20
|
+
left: { name: "bo3y4a", styles: "" },
|
|
21
|
+
right: { name: "bo3y4b", styles: "" }
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
compound: [
|
|
25
25
|
{
|
|
26
26
|
modifiers: { state: 'collapsed', origin: 'right' },
|
|
27
|
-
styles: { name: "
|
|
27
|
+
styles: { name: "bo3y4c", styles: "transform:scaleX(-1);" }
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
modifiers: { state: 'collapsing', origin: 'right' },
|
|
31
|
-
styles: { name: "
|
|
31
|
+
styles: { name: "bo3y4d", styles: "transform:scaleX(-1);inset-inline-start:var(--cnvs-sys-space-x4);" }
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
modifiers: { state: 'expanded', origin: 'right' },
|
|
35
|
-
styles: { name: "
|
|
35
|
+
styles: { name: "bo3y4e", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-sys-space-x4);" }
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
modifiers: { state: 'expanding', origin: 'right' },
|
|
39
|
-
styles: { name: "
|
|
39
|
+
styles: { name: "bo3y4f", styles: "transform:scaleX(1);inset-inline-start:var(--cnvs-sys-space-x4);" }
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}, "side-panel-toggle-button-da8098");
|
|
@@ -7,31 +7,31 @@ import { systemIconStencil } from '@workday/canvas-kit-react/icon';
|
|
|
7
7
|
import { StatusIndicatorIcon } from './StatusIndicatorIcon';
|
|
8
8
|
import { StatusIndicatorLabel } from './StatusIndicatorLabel';
|
|
9
9
|
const statusIndicatorStencil = createStencil({
|
|
10
|
-
base: { name: "
|
|
10
|
+
base: { name: "bo3y54", styles: "box-sizing:border-box;display:inline-flex;gap:var(--cnvs-sys-space-x1);max-width:12.5rem;align-items:center;border-radius:var(--cnvs-sys-shape-half);height:1.25rem;padding:var(--cnvs-sys-space-zero) var(--cnvs-sys-space-x1);outline:0.0625rem solid transparent;" },
|
|
11
11
|
modifiers: {
|
|
12
12
|
gray: {
|
|
13
|
-
high: { name: "
|
|
14
|
-
low: { name: "
|
|
13
|
+
high: { name: "bo3y55", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-3a4847:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-gray-default);" },
|
|
14
|
+
low: { name: "bo3y56", styles: "color:var(--cnvs-sys-color-fg-muted-default);--color-system-icon-3a4847:var(--cnvs-sys-color-static-gray-strong);background:var(--cnvs-sys-color-bg-alt-softer);" }
|
|
15
15
|
},
|
|
16
16
|
orange: {
|
|
17
|
-
high: { name: "
|
|
18
|
-
low: { name: "
|
|
17
|
+
high: { name: "bo3y57", styles: "color:var(--cnvs-sys-color-static-gray-stronger);--color-system-icon-3a4847:var(--cnvs-sys-color-static-gray-stronger);background:var(--cnvs-sys-color-static-amber-default);" },
|
|
18
|
+
low: { name: "bo3y58", styles: "color:var(--cnvs-sys-color-static-amber-strongest);--color-system-icon-3a4847:var(--cnvs-sys-color-static-amber-strongest);background:var(--cnvs-sys-color-static-amber-softer);" }
|
|
19
19
|
},
|
|
20
20
|
blue: {
|
|
21
|
-
high: { name: "
|
|
22
|
-
low: { name: "
|
|
21
|
+
high: { name: "bo3y59", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-3a4847:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-blue-default);" },
|
|
22
|
+
low: { name: "bo3y5a", styles: "color:var(--cnvs-sys-color-static-blue-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-static-blue-strong);background:var(--cnvs-sys-color-static-blue-softer);" }
|
|
23
23
|
},
|
|
24
24
|
green: {
|
|
25
|
-
high: { name: "
|
|
26
|
-
low: { name: "
|
|
25
|
+
high: { name: "bo3y5b", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-3a4847:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-green-strong);" },
|
|
26
|
+
low: { name: "bo3y5c", styles: "color:var(--cnvs-sys-color-static-green-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-static-green-strong);background:var(--cnvs-sys-color-static-green-softer);" }
|
|
27
27
|
},
|
|
28
28
|
red: {
|
|
29
|
-
high: { name: "
|
|
30
|
-
low: { name: "
|
|
29
|
+
high: { name: "bo3y5d", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-3a4847:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-red-default);" },
|
|
30
|
+
low: { name: "bo3y5e", styles: "color:var(--cnvs-sys-color-static-red-strong);--color-system-icon-3a4847:var(--cnvs-sys-color-static-red-strong);background:var(--cnvs-sys-color-static-red-softer);" }
|
|
31
31
|
},
|
|
32
32
|
transparent: {
|
|
33
|
-
high: { name: "
|
|
34
|
-
low: { name: "
|
|
33
|
+
high: { name: "bo3y5f", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-3a4847:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-bg-translucent);" },
|
|
34
|
+
low: { name: "bo3y5g", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-3a4847:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-bg-translucent);" }
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}, "status-indicator-1a565e");
|
|
@@ -6,7 +6,7 @@ import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
|
6
6
|
import { system } from '@workday/canvas-tokens-web';
|
|
7
7
|
const statusIndicatorLabelStencil = createStencil({
|
|
8
8
|
extends: textStencil,
|
|
9
|
-
base: { name: "
|
|
9
|
+
base: { name: "bo3y53", styles: "box-sizing:border-box;font-weight:var(--cnvs-sys-font-weight-bold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize;color:inherit;" },
|
|
10
10
|
defaultModifiers: { typeLevel: 'subtext.large' }
|
|
11
11
|
}, "status-indicator-label-63258e");
|
|
12
12
|
export const StatusIndicatorLabel = createComponent('span')({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {createContainer} from '@workday/canvas-kit-react/common';
|
|
2
2
|
import {cssVar, createStencil, handleCsProp, CSProps, px2rem} from '@workday/canvas-kit-styling';
|
|
3
|
-
import {
|
|
3
|
+
import {system} from '@workday/canvas-tokens-web';
|
|
4
4
|
|
|
5
5
|
import {InformationHighlightHeading} from './parts/Heading';
|
|
6
6
|
import {Body} from './parts/Body';
|
|
@@ -38,7 +38,7 @@ export const informationHighlightStencil = createStencil({
|
|
|
38
38
|
borderInlineStart: `solid ${cssVar(system.space.x1)} ${cssVar(
|
|
39
39
|
system.color.bg.primary.default
|
|
40
40
|
)}`,
|
|
41
|
-
backgroundColor:
|
|
41
|
+
backgroundColor: system.color.bg.primary.softer,
|
|
42
42
|
'& [data-part="information-highlight-icon"]': {
|
|
43
43
|
[systemIconStencil.vars.accentColor]: system.color.icon.inverse,
|
|
44
44
|
[systemIconStencil.vars.color]: system.color.bg.primary.default,
|
|
@@ -62,7 +62,7 @@ export const informationHighlightStencil = createStencil({
|
|
|
62
62
|
borderInlineStart: `solid ${cssVar(system.space.x1)} ${cssVar(
|
|
63
63
|
system.color.border.caution.default
|
|
64
64
|
)}`,
|
|
65
|
-
backgroundColor:
|
|
65
|
+
backgroundColor: system.color.bg.caution.softest,
|
|
66
66
|
'& [data-part="information-highlight-icon"]': {
|
|
67
67
|
[systemIconStencil.vars.accentColor]: system.color.icon.inverse,
|
|
68
68
|
[systemIconStencil.vars.color]: system.color.fg.contrast.default,
|
|
@@ -86,11 +86,11 @@ export const informationHighlightStencil = createStencil({
|
|
|
86
86
|
borderInlineStart: `solid ${cssVar(system.space.x1)} ${cssVar(
|
|
87
87
|
system.color.border.critical.default
|
|
88
88
|
)}`,
|
|
89
|
-
backgroundColor:
|
|
89
|
+
backgroundColor: system.color.bg.critical.softest,
|
|
90
90
|
'& [data-part="information-highlight-icon"]': {
|
|
91
91
|
[systemIconStencil.vars.accentColor]: system.color.icon.inverse,
|
|
92
92
|
[systemIconStencil.vars.color]: system.color.bg.critical.default,
|
|
93
|
-
[systemIconStencil.vars.backgroundColor]: system.color.
|
|
93
|
+
[systemIconStencil.vars.backgroundColor]: system.color.fg.critical,
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
96
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {system} from '@workday/canvas-tokens-web';
|
|
2
2
|
import {createComponent} from '@workday/canvas-kit-react/common';
|
|
3
3
|
import {SystemIcon, systemIconStencil} from '@workday/canvas-kit-react/icon';
|
|
4
4
|
import {CSProps, createStencil, handleCsProp, keyframes, px2rem} from '@workday/canvas-kit-styling';
|
|
@@ -45,7 +45,7 @@ export const loadingSparklesStencil = createStencil({
|
|
|
45
45
|
animationIterationCount: 'infinite',
|
|
46
46
|
animationName: LOADING_ANIMATION,
|
|
47
47
|
animationTimingFunction: 'ease-in-out',
|
|
48
|
-
[systemIconStencil.vars.color]:
|
|
48
|
+
[systemIconStencil.vars.color]: system.color.fg.ai,
|
|
49
49
|
'&:nth-child(1)': {
|
|
50
50
|
animationDelay: '0ms',
|
|
51
51
|
},
|
|
@@ -57,7 +57,7 @@ export const useMultiSelectModel = createModelHook({
|
|
|
57
57
|
)
|
|
58
58
|
.filter(item => item) as Item<any>[],
|
|
59
59
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
60
|
-
[model.state.selectedIds]
|
|
60
|
+
[model.state.selectedIds, model.state.items]
|
|
61
61
|
);
|
|
62
62
|
cachedSelectedRef.current = cachedSelected;
|
|
63
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-preview-react",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.1144-next.0",
|
|
4
4
|
"description": "Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
48
48
|
"@emotion/styled": "^11.6.0",
|
|
49
|
-
"@workday/canvas-kit-react": "^14.0.0-alpha.
|
|
50
|
-
"@workday/canvas-kit-styling": "^14.0.0-alpha.
|
|
49
|
+
"@workday/canvas-kit-react": "^14.0.0-alpha.1144-next.0",
|
|
50
|
+
"@workday/canvas-kit-styling": "^14.0.0-alpha.1144-next.0",
|
|
51
51
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
52
|
-
"@workday/canvas-tokens-web": "
|
|
52
|
+
"@workday/canvas-tokens-web": "3.0.0-alpha.0",
|
|
53
53
|
"@workday/design-assets-types": "^0.2.8"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react-hook-form": "7.36.1",
|
|
59
59
|
"yup": "^0.32.11"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "8c2a2215d9a0b96f98e4b768781d3a5061a61f9c"
|
|
62
62
|
}
|
package/pill/lib/Pill.tsx
CHANGED
|
@@ -11,7 +11,7 @@ import {PillCount, pillCountStencil} from './PillCount';
|
|
|
11
11
|
import {PillAvatar} from './PillAvatar';
|
|
12
12
|
import {PillLabel} from './PillLabel';
|
|
13
13
|
import {systemIconStencil} from '@workday/canvas-kit-react/icon';
|
|
14
|
-
import {
|
|
14
|
+
import {system} from '@workday/canvas-tokens-web';
|
|
15
15
|
|
|
16
16
|
export interface PillProps extends BoxProps {
|
|
17
17
|
/**
|
|
@@ -53,6 +53,7 @@ export const pillStencil = createStencil({
|
|
|
53
53
|
[buttonStencil.vars.border]: system.color.border.input.default,
|
|
54
54
|
[buttonStencil.vars.label]: system.color.text.strong,
|
|
55
55
|
[systemIconStencil.vars.color]: system.color.icon.default,
|
|
56
|
+
[pillCountStencil.vars.borderColor]: 'transparent',
|
|
56
57
|
whiteSpace: 'nowrap',
|
|
57
58
|
textOverflow: 'ellipsis',
|
|
58
59
|
overflow: 'hidden',
|
|
@@ -87,7 +88,7 @@ export const pillStencil = createStencil({
|
|
|
87
88
|
[buttonStencil.vars.border]: system.color.border.input.strong,
|
|
88
89
|
[buttonStencil.vars.label]: system.color.text.strong,
|
|
89
90
|
[systemIconStencil.vars.color]: system.color.icon.strong,
|
|
90
|
-
[pillCountStencil.vars.backgroundColor]:
|
|
91
|
+
[pillCountStencil.vars.backgroundColor]: system.color.bg.alt.stronger,
|
|
91
92
|
[pillCountStencil.vars.borderColor]: 'transparent',
|
|
92
93
|
},
|
|
93
94
|
'&:disabled, &.disabled': {
|
|
@@ -48,21 +48,21 @@ const statusIndicatorStencil = createStencil({
|
|
|
48
48
|
background: system.color.static.gray.default,
|
|
49
49
|
},
|
|
50
50
|
low: {
|
|
51
|
-
color: system.color.
|
|
51
|
+
color: system.color.fg.muted.default,
|
|
52
52
|
[systemIconStencil.vars.color]: system.color.static.gray.strong,
|
|
53
|
-
background: system.color.
|
|
53
|
+
background: system.color.bg.alt.softer,
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
56
|
orange: {
|
|
57
57
|
high: {
|
|
58
58
|
color: system.color.static.gray.stronger,
|
|
59
59
|
[systemIconStencil.vars.color]: system.color.static.gray.stronger,
|
|
60
|
-
background: system.color.static.
|
|
60
|
+
background: system.color.static.amber.default,
|
|
61
61
|
},
|
|
62
62
|
low: {
|
|
63
|
-
color: system.color.static.
|
|
64
|
-
[systemIconStencil.vars.color]: system.color.static.
|
|
65
|
-
background: system.color.static.
|
|
63
|
+
color: system.color.static.amber.strongest,
|
|
64
|
+
[systemIconStencil.vars.color]: system.color.static.amber.strongest,
|
|
65
|
+
background: system.color.static.amber.softer,
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
blue: {
|
|
@@ -74,7 +74,7 @@ const statusIndicatorStencil = createStencil({
|
|
|
74
74
|
low: {
|
|
75
75
|
color: system.color.static.blue.strong,
|
|
76
76
|
[systemIconStencil.vars.color]: system.color.static.blue.strong,
|
|
77
|
-
background: system.color.static.blue.
|
|
77
|
+
background: system.color.static.blue.softer,
|
|
78
78
|
},
|
|
79
79
|
},
|
|
80
80
|
green: {
|
|
@@ -86,7 +86,7 @@ const statusIndicatorStencil = createStencil({
|
|
|
86
86
|
low: {
|
|
87
87
|
color: system.color.static.green.strong,
|
|
88
88
|
[systemIconStencil.vars.color]: system.color.static.green.strong,
|
|
89
|
-
background: system.color.static.green.
|
|
89
|
+
background: system.color.static.green.softer,
|
|
90
90
|
},
|
|
91
91
|
},
|
|
92
92
|
red: {
|
|
@@ -98,7 +98,7 @@ const statusIndicatorStencil = createStencil({
|
|
|
98
98
|
low: {
|
|
99
99
|
color: system.color.static.red.strong,
|
|
100
100
|
[systemIconStencil.vars.color]: system.color.static.red.strong,
|
|
101
|
-
background: system.color.static.red.
|
|
101
|
+
background: system.color.static.red.softer,
|
|
102
102
|
},
|
|
103
103
|
},
|
|
104
104
|
transparent: {
|