@workday/canvas-kit-preview-react 13.2.32 → 13.2.34
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.js +7 -7
- 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 +2 -2
- package/dist/commonjs/multi-select/lib/MultiSelectInput.js +3 -3
- package/dist/commonjs/pill/lib/Pill.d.ts +475 -5
- package/dist/commonjs/pill/lib/Pill.d.ts.map +1 -1
- package/dist/commonjs/pill/lib/Pill.js +3 -3
- package/dist/commonjs/pill/lib/PillAvatar.d.ts +222 -1
- package/dist/commonjs/pill/lib/PillAvatar.d.ts.map +1 -1
- package/dist/commonjs/pill/lib/PillAvatar.js +1 -1
- package/dist/commonjs/pill/lib/PillCount.js +1 -1
- package/dist/commonjs/pill/lib/PillIcon.d.ts +15 -1
- package/dist/commonjs/pill/lib/PillIcon.d.ts.map +1 -1
- package/dist/commonjs/pill/lib/PillIcon.js +1 -1
- package/dist/commonjs/pill/lib/PillIconButton.d.ts +67 -1
- package/dist/commonjs/pill/lib/PillIconButton.d.ts.map +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/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/commonjs/version/lib/version.js +1 -1
- package/dist/es6/divider/lib/Divider.js +1 -1
- package/dist/es6/information-highlight/lib/InformationHighlight.js +7 -7
- 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 +2 -2
- package/dist/es6/multi-select/lib/MultiSelectInput.js +3 -3
- package/dist/es6/pill/lib/Pill.d.ts +475 -5
- package/dist/es6/pill/lib/Pill.d.ts.map +1 -1
- package/dist/es6/pill/lib/Pill.js +3 -3
- package/dist/es6/pill/lib/PillAvatar.d.ts +222 -1
- package/dist/es6/pill/lib/PillAvatar.d.ts.map +1 -1
- package/dist/es6/pill/lib/PillAvatar.js +1 -1
- package/dist/es6/pill/lib/PillCount.js +1 -1
- package/dist/es6/pill/lib/PillIcon.d.ts +15 -1
- package/dist/es6/pill/lib/PillIcon.d.ts.map +1 -1
- package/dist/es6/pill/lib/PillIcon.js +1 -1
- package/dist/es6/pill/lib/PillIconButton.d.ts +67 -1
- package/dist/es6/pill/lib/PillIconButton.d.ts.map +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/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/dist/es6/version/lib/version.js +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,228 @@
|
|
|
1
1
|
import { AvatarProps } from '@workday/canvas-kit-react/avatar';
|
|
2
2
|
export interface PillAvatarProps extends AvatarProps {
|
|
3
3
|
}
|
|
4
|
-
export declare const pillAvatarStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {},
|
|
4
|
+
export declare const pillAvatarStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {}, import("@workday/canvas-kit-styling").Stencil<{
|
|
5
|
+
variant: {
|
|
6
|
+
light: ({ iconPart }: {
|
|
7
|
+
size: `--${string}`;
|
|
8
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
9
|
+
readonly icon: "avatar-icon";
|
|
10
|
+
readonly image: "avatar-image";
|
|
11
|
+
}>) => {
|
|
12
|
+
backgroundColor: "--cnvs-sys-color-bg-alt-default";
|
|
13
|
+
"[data-part=\"avatar-icon\"]": {
|
|
14
|
+
[x: string]: "--cnvs-sys-color-fg-default";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
dark: ({ iconPart }: {
|
|
18
|
+
size: `--${string}`;
|
|
19
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
20
|
+
readonly icon: "avatar-icon";
|
|
21
|
+
readonly image: "avatar-image";
|
|
22
|
+
}>) => {
|
|
23
|
+
backgroundColor: "--cnvs-sys-color-bg-primary-default";
|
|
24
|
+
"[data-part=\"avatar-icon\"]": {
|
|
25
|
+
[x: string]: "--cnvs-sys-color-fg-inverse";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
extraSmall: ({ iconPart }: {
|
|
31
|
+
size: `--${string}`;
|
|
32
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
33
|
+
readonly icon: "avatar-icon";
|
|
34
|
+
readonly image: "avatar-image";
|
|
35
|
+
}>) => {
|
|
36
|
+
width: "--cnvs-sys-space-x4";
|
|
37
|
+
height: "--cnvs-sys-space-x4";
|
|
38
|
+
"[data-part=\"avatar-icon\"]": {
|
|
39
|
+
[x: string]: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
small: ({ iconPart }: {
|
|
43
|
+
size: `--${string}`;
|
|
44
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
45
|
+
readonly icon: "avatar-icon";
|
|
46
|
+
readonly image: "avatar-image";
|
|
47
|
+
}>) => {
|
|
48
|
+
width: "--cnvs-sys-space-x6";
|
|
49
|
+
height: "--cnvs-sys-space-x6";
|
|
50
|
+
"[data-part=\"avatar-icon\"]": {
|
|
51
|
+
[x: string]: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
medium: ({ iconPart }: {
|
|
55
|
+
size: `--${string}`;
|
|
56
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
57
|
+
readonly icon: "avatar-icon";
|
|
58
|
+
readonly image: "avatar-image";
|
|
59
|
+
}>) => {
|
|
60
|
+
width: "--cnvs-sys-space-x8";
|
|
61
|
+
height: "--cnvs-sys-space-x8";
|
|
62
|
+
"[data-part=\"avatar-icon\"]": {
|
|
63
|
+
[x: string]: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
large: ({ iconPart }: {
|
|
67
|
+
size: `--${string}`;
|
|
68
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
69
|
+
readonly icon: "avatar-icon";
|
|
70
|
+
readonly image: "avatar-image";
|
|
71
|
+
}>) => {
|
|
72
|
+
width: "--cnvs-sys-space-x10";
|
|
73
|
+
height: "--cnvs-sys-space-x10";
|
|
74
|
+
"[data-part=\"avatar-icon\"]": {
|
|
75
|
+
[x: string]: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
extraLarge: ({ iconPart }: {
|
|
79
|
+
size: `--${string}`;
|
|
80
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
81
|
+
readonly icon: "avatar-icon";
|
|
82
|
+
readonly image: "avatar-image";
|
|
83
|
+
}>) => {
|
|
84
|
+
width: "--cnvs-sys-space-x16";
|
|
85
|
+
height: "--cnvs-sys-space-x16";
|
|
86
|
+
"[data-part=\"avatar-icon\"]": {
|
|
87
|
+
[x: string]: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
extraExtraLarge: ({ iconPart }: {
|
|
91
|
+
size: `--${string}`;
|
|
92
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
93
|
+
readonly icon: "avatar-icon";
|
|
94
|
+
readonly image: "avatar-image";
|
|
95
|
+
}>) => {
|
|
96
|
+
width: string;
|
|
97
|
+
height: string;
|
|
98
|
+
"[data-part=\"avatar-icon\"]": {
|
|
99
|
+
[x: string]: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
objectFit: {
|
|
104
|
+
contain: ({ imagePart }: {
|
|
105
|
+
size: `--${string}`;
|
|
106
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
107
|
+
readonly icon: "avatar-icon";
|
|
108
|
+
readonly image: "avatar-image";
|
|
109
|
+
}>) => {
|
|
110
|
+
"[data-part=\"avatar-image\"]": {
|
|
111
|
+
objectFit: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
fill: ({ imagePart }: {
|
|
115
|
+
size: `--${string}`;
|
|
116
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
117
|
+
readonly icon: "avatar-icon";
|
|
118
|
+
readonly image: "avatar-image";
|
|
119
|
+
}>) => {
|
|
120
|
+
"[data-part=\"avatar-image\"]": {
|
|
121
|
+
objectFit: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
cover: ({ imagePart }: {
|
|
125
|
+
size: `--${string}`;
|
|
126
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
127
|
+
readonly icon: "avatar-icon";
|
|
128
|
+
readonly image: "avatar-image";
|
|
129
|
+
}>) => {
|
|
130
|
+
"[data-part=\"avatar-image\"]": {
|
|
131
|
+
objectFit: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
"scale-down": ({ imagePart }: {
|
|
135
|
+
size: `--${string}`;
|
|
136
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
137
|
+
readonly icon: "avatar-icon";
|
|
138
|
+
readonly image: "avatar-image";
|
|
139
|
+
}>) => {
|
|
140
|
+
"[data-part=\"avatar-image\"]": {
|
|
141
|
+
objectFit: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
none: ({ imagePart }: {
|
|
145
|
+
size: `--${string}`;
|
|
146
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
147
|
+
readonly icon: "avatar-icon";
|
|
148
|
+
readonly image: "avatar-image";
|
|
149
|
+
}>) => {
|
|
150
|
+
"[data-part=\"avatar-image\"]": {
|
|
151
|
+
objectFit: string;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
"-moz-initial": ({ imagePart }: {
|
|
155
|
+
size: `--${string}`;
|
|
156
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
157
|
+
readonly icon: "avatar-icon";
|
|
158
|
+
readonly image: "avatar-image";
|
|
159
|
+
}>) => {
|
|
160
|
+
"[data-part=\"avatar-image\"]": {
|
|
161
|
+
objectFit: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
initial: ({ imagePart }: {
|
|
165
|
+
size: `--${string}`;
|
|
166
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
167
|
+
readonly icon: "avatar-icon";
|
|
168
|
+
readonly image: "avatar-image";
|
|
169
|
+
}>) => {
|
|
170
|
+
"[data-part=\"avatar-image\"]": {
|
|
171
|
+
objectFit: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
inherit: ({ imagePart }: {
|
|
175
|
+
size: `--${string}`;
|
|
176
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
177
|
+
readonly icon: "avatar-icon";
|
|
178
|
+
readonly image: "avatar-image";
|
|
179
|
+
}>) => {
|
|
180
|
+
"[data-part=\"avatar-image\"]": {
|
|
181
|
+
objectFit: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
revert: ({ imagePart }: {
|
|
185
|
+
size: `--${string}`;
|
|
186
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
187
|
+
readonly icon: "avatar-icon";
|
|
188
|
+
readonly image: "avatar-image";
|
|
189
|
+
}>) => {
|
|
190
|
+
"[data-part=\"avatar-image\"]": {
|
|
191
|
+
objectFit: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
unset: ({ imagePart }: {
|
|
195
|
+
size: `--${string}`;
|
|
196
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
197
|
+
readonly icon: "avatar-icon";
|
|
198
|
+
readonly image: "avatar-image";
|
|
199
|
+
}>) => {
|
|
200
|
+
"[data-part=\"avatar-image\"]": {
|
|
201
|
+
objectFit: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
isImageLoaded: {
|
|
206
|
+
true: ({ iconPart, imagePart }: {
|
|
207
|
+
size: `--${string}`;
|
|
208
|
+
} & import("@workday/canvas-kit-styling").StencilVarsParts<{
|
|
209
|
+
readonly icon: "avatar-icon";
|
|
210
|
+
readonly image: "avatar-image";
|
|
211
|
+
}>) => {
|
|
212
|
+
"[data-part=\"avatar-icon\"]": {
|
|
213
|
+
opacity: number;
|
|
214
|
+
};
|
|
215
|
+
"[data-part=\"avatar-image\"]": {
|
|
216
|
+
opacity: number;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
}, {
|
|
221
|
+
readonly icon: "avatar-icon";
|
|
222
|
+
readonly image: "avatar-image";
|
|
223
|
+
}, {
|
|
224
|
+
size: string;
|
|
225
|
+
}, never, never>>, {}, {}, import("@workday/canvas-kit-styling").Stencil<{
|
|
5
226
|
variant: {
|
|
6
227
|
light: ({ iconPart }: {
|
|
7
228
|
size: `--${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PillAvatar.d.ts","sourceRoot":"","sources":["../../../../pill/lib/PillAvatar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,WAAW,EAAgB,MAAM,kCAAkC,CAAC;AAKpF,MAAM,WAAW,eAAgB,SAAQ,WAAW;CAAG;AAEvD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"PillAvatar.d.ts","sourceRoot":"","sources":["../../../../pill/lib/PillAvatar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,WAAW,EAAgB,MAAM,kCAAkC,CAAC;AAKpF,MAAM,WAAW,eAAgB,SAAQ,WAAW;CAAG;AAEvD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAM5B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;EAcrB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { createStencil, px2rem } from '@workday/canvas-kit-styling';
|
|
|
6
6
|
import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
7
7
|
export const pillAvatarStencil = createStencil({
|
|
8
8
|
extends: avatarStencil,
|
|
9
|
-
base: { name: "
|
|
9
|
+
base: { name: "3f2hbv", styles: "box-sizing:border-box;cursor:pointer;flex:0 0 auto;" }
|
|
10
10
|
}, "pill-avatar-348a6f");
|
|
11
11
|
export const PillAvatar = createSubcomponent('div')({
|
|
12
12
|
modelHook: usePillModel,
|
|
@@ -8,7 +8,7 @@ export const pillCountStencil = createStencil({
|
|
|
8
8
|
backgroundColor: '',
|
|
9
9
|
borderColor: '',
|
|
10
10
|
},
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "474det", styles: "box-sizing:border-box;border-start-start-radius:var(--cnvs-sys-shape-zero);border-start-end-radius:var(--cnvs-sys-shape-x1);border-end-start-radius:var(--cnvs-sys-shape-zero);border-end-end-radius:var(--cnvs-sys-shape-x1);border-width:0.0625rem;border-inline-start-width:var(--cnvs-sys-space-zero);border-style:solid;border-color:var(--borderColor-pill-count-d778e9, var(--cnvs-sys-color-border-transparent));display:inline-flex;align-items:center;justify-content:center;height:1.375rem;width:var(--cnvs-sys-space-x6);padding:var(--cnvs-sys-space-zero) var(--cnvs-sys-space-x1);margin-inline-end:calc(var(--cnvs-sys-space-x2) * -1);margin-inline-start:var(--cnvs-sys-space-x1);background-color:var(--backgroundColor-pill-count-d778e9, var(--cnvs-sys-color-bg-alt-stronger));flex:0 0 auto;" }
|
|
12
12
|
}, "pill-count-d778e9");
|
|
13
13
|
export const PillCount = createComponent('span')({
|
|
14
14
|
displayName: 'Pill.Count',
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import { SystemIconProps } from '@workday/canvas-kit-react/icon';
|
|
2
2
|
export interface PillIconProps extends Partial<SystemIconProps> {
|
|
3
3
|
}
|
|
4
|
-
export declare const pillIconStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {},
|
|
4
|
+
export declare const pillIconStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {}, import("@workday/canvas-kit-styling").Stencil<{}, {}, {
|
|
5
|
+
color: string;
|
|
6
|
+
accentColor: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
}, import("@workday/canvas-kit-styling").Stencil<{
|
|
9
|
+
shouldMirror: {
|
|
10
|
+
true: {
|
|
11
|
+
transform: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}, {}, {
|
|
15
|
+
width: string;
|
|
16
|
+
height: string;
|
|
17
|
+
size: string;
|
|
18
|
+
}, never, never>, never>>, {}, {}, import("@workday/canvas-kit-styling").Stencil<{}, {}, {
|
|
5
19
|
color: string;
|
|
6
20
|
accentColor: string;
|
|
7
21
|
backgroundColor: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PillIcon.d.ts","sourceRoot":"","sources":["../../../../pill/lib/PillIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,eAAe,EAAoB,MAAM,gCAAgC,CAAC;AAO9F,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,eAAe,CAAC;CAAG;AAElE,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"PillIcon.d.ts","sourceRoot":"","sources":["../../../../pill/lib/PillIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,eAAe,EAAoB,MAAM,gCAAgC,CAAC;AAO9F,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,eAAe,CAAC;CAAG;AAElE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAO1B,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;EAWnB,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { system } from '@workday/canvas-tokens-web';
|
|
|
8
8
|
import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
9
9
|
export const pillIconStencil = createStencil({
|
|
10
10
|
extends: systemIconStencil,
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "2y29os", styles: "box-sizing:border-box;margin-inline-start:calc(var(--cnvs-sys-space-x1) * -1);--size-svg-728c60:1.25rem;flex:0 0 auto;" }
|
|
12
12
|
}, "pill-icon-4ef362");
|
|
13
13
|
export const PillIcon = createSubcomponent('span')({
|
|
14
14
|
modelHook: usePillModel,
|
|
@@ -5,7 +5,73 @@ export interface PillIconButtonProps extends Partial<SystemIconProps> {
|
|
|
5
5
|
*/
|
|
6
6
|
'aria-label'?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const pillIconButtonStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {},
|
|
8
|
+
export declare const pillIconButtonStencil: import("@workday/canvas-kit-styling").Stencil<import("@workday/canvas-kit-styling").StencilModifierConfig<{}, {}, import("@workday/canvas-kit-styling").Stencil<{
|
|
9
|
+
size: {
|
|
10
|
+
large: {
|
|
11
|
+
fontWeight: "--cnvs-sys-font-weight-bold";
|
|
12
|
+
height: string;
|
|
13
|
+
paddingInline: "--cnvs-sys-space-x8";
|
|
14
|
+
minWidth: string;
|
|
15
|
+
fontFamily: "--cnvs-sys-font-family-default";
|
|
16
|
+
lineHeight: "--cnvs-sys-line-height-body-small";
|
|
17
|
+
fontSize: "--cnvs-sys-font-size-body-small";
|
|
18
|
+
letterSpacing: "--cnvs-base-letter-spacing-200";
|
|
19
|
+
};
|
|
20
|
+
medium: {
|
|
21
|
+
fontWeight: "--cnvs-sys-font-weight-bold";
|
|
22
|
+
minWidth: string;
|
|
23
|
+
paddingInline: "--cnvs-sys-space-x6";
|
|
24
|
+
height: "--cnvs-sys-space-x10";
|
|
25
|
+
fontFamily: "--cnvs-sys-font-family-default";
|
|
26
|
+
lineHeight: "--cnvs-sys-line-height-subtext-large";
|
|
27
|
+
fontSize: "--cnvs-sys-font-size-subtext-large";
|
|
28
|
+
letterSpacing: "--cnvs-base-letter-spacing-150";
|
|
29
|
+
};
|
|
30
|
+
small: {
|
|
31
|
+
fontWeight: "--cnvs-sys-font-weight-bold";
|
|
32
|
+
height: "--cnvs-sys-space-x8";
|
|
33
|
+
minWidth: "--cnvs-sys-space-x20";
|
|
34
|
+
paddingInline: "--cnvs-sys-space-x4";
|
|
35
|
+
gap: "--cnvs-sys-space-x1";
|
|
36
|
+
fontFamily: "--cnvs-sys-font-family-default";
|
|
37
|
+
lineHeight: "--cnvs-sys-line-height-subtext-large";
|
|
38
|
+
fontSize: "--cnvs-sys-font-size-subtext-large";
|
|
39
|
+
letterSpacing: "--cnvs-base-letter-spacing-150";
|
|
40
|
+
};
|
|
41
|
+
extraSmall: {
|
|
42
|
+
fontWeight: "--cnvs-sys-font-weight-bold";
|
|
43
|
+
height: "--cnvs-sys-space-x6";
|
|
44
|
+
minWidth: string;
|
|
45
|
+
paddingInline: "--cnvs-sys-space-x3";
|
|
46
|
+
gap: "--cnvs-sys-space-x1";
|
|
47
|
+
fontFamily: "--cnvs-sys-font-family-default";
|
|
48
|
+
lineHeight: "--cnvs-sys-line-height-subtext-medium";
|
|
49
|
+
fontSize: "--cnvs-sys-font-size-subtext-medium";
|
|
50
|
+
letterSpacing: "--cnvs-base-letter-spacing-100";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
grow: {
|
|
54
|
+
true: {
|
|
55
|
+
width: string;
|
|
56
|
+
maxWidth: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
iconPosition: {
|
|
60
|
+
only: {
|
|
61
|
+
padding: "--cnvs-sys-space-zero";
|
|
62
|
+
};
|
|
63
|
+
start: {};
|
|
64
|
+
end: {};
|
|
65
|
+
};
|
|
66
|
+
}, {}, {
|
|
67
|
+
background: string;
|
|
68
|
+
border: string;
|
|
69
|
+
boxShadowInner: string;
|
|
70
|
+
boxShadowOuter: string;
|
|
71
|
+
label: string;
|
|
72
|
+
opacity: string;
|
|
73
|
+
borderRadius: string;
|
|
74
|
+
}, never, never>>, {}, {}, import("@workday/canvas-kit-styling").Stencil<{
|
|
9
75
|
size: {
|
|
10
76
|
large: {
|
|
11
77
|
fontWeight: "--cnvs-sys-font-weight-bold";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PillIconButton.d.ts","sourceRoot":"","sources":["../../../../pill/lib/PillIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,eAAe,EAAoB,MAAM,gCAAgC,CAAC;AAQ9F,MAAM,WAAW,mBAAoB,SAAQ,OAAO,CAAC,eAAe,CAAC;IACnE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"PillIconButton.d.ts","sourceRoot":"","sources":["../../../../pill/lib/PillIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,eAAe,EAAoB,MAAM,gCAAgC,CAAC;AAQ9F,MAAM,WAAW,mBAAoB,SAAQ,OAAO,CAAC,eAAe,CAAC;IACnE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuChC,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;EAoB1B,CAAC"}
|
|
@@ -9,7 +9,7 @@ import { system } from '@workday/canvas-tokens-web';
|
|
|
9
9
|
import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
10
10
|
export const pillIconButtonStencil = createStencil({
|
|
11
11
|
extends: buttonStencil,
|
|
12
|
-
base: { name: "
|
|
12
|
+
base: { name: "3sutu9", styles: "box-sizing:border-box;margin-inline-end:calc(0.4375rem * -1);margin-inline-start:calc(0.125rem * -1);border-radius:var(--cnvs-sys-shape-half);height:calc(var(--cnvs-sys-space-x4) + var(--cnvs-sys-space-x1));width:calc(var(--cnvs-sys-space-x4) + var(--cnvs-sys-space-x1));padding:var(--cnvs-sys-space-zero);overflow:visible;flex:0 0 auto;--border-button-65cb05:var(--cnvs-sys-color-border-transparent);--background-button-65cb05:var(--cnvs-sys-color-bg-alt-soft);--color-system-icon-99ce3e:var(--cnvs-sys-color-icon-default);--size-svg-728c60:var(--cnvs-sys-space-x6);::after{content:\"\";height:var(--cnvs-sys-space-x8);width:var(--cnvs-sys-space-x8);position:absolute;left:calc(0.4375rem * -1);bottom:calc(0.4375rem * -1);margin:var(--cnvs-sys-space-zero);pointer-events:all;}&:focus-visible, &.focus{--border-button-65cb05:var(--cnvs-sys-color-border-transparent);box-shadow:0 0 0 0px var(--cnvs-sys-color-border-transparent), 0 0 0 2px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));}&:hover, &.hover{--border-button-65cb05:var(--cnvs-sys-color-border-transparent);}&:disabled, &.disabled{--border-button-65cb05:var(--cnvs-sys-color-border-transparent);}" }
|
|
13
13
|
}, "pill-icon-button-10e7a0");
|
|
14
14
|
export const PillIconButton = createSubcomponent('button')({
|
|
15
15
|
modelHook: usePillModel,
|
|
@@ -5,7 +5,7 @@ import { OverflowTooltip } from '@workday/canvas-kit-react/tooltip';
|
|
|
5
5
|
import { usePillModel } from './usePillModel';
|
|
6
6
|
import { createStencil } from '@workday/canvas-kit-styling';
|
|
7
7
|
export const pillLabelStencil = createStencil({
|
|
8
|
-
base: { name: "
|
|
8
|
+
base: { name: "1xb2mn", styles: "box-sizing:border-box;flex-shrink:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;" }
|
|
9
9
|
}, "pill-label-412177");
|
|
10
10
|
export const PillLabel = createSubcomponent('span')({
|
|
11
11
|
modelHook: usePillModel,
|
|
@@ -10,11 +10,11 @@ import { brand, system } from '@workday/canvas-tokens-web';
|
|
|
10
10
|
* Styles for RadioGroup
|
|
11
11
|
*/
|
|
12
12
|
const radioGroupStencil = createStencil({
|
|
13
|
-
base: { name: "
|
|
13
|
+
base: { name: "34l4e6", styles: "box-sizing:border-box;display:flex;flex-direction:column;border-radius:var(--cnvs-sys-shape-x1);gap:var(--cnvs-sys-space-x2);padding:0.625rem var(--cnvs-sys-space-x3) var(--cnvs-sys-space-x2);margin:0 calc(var(--cnvs-sys-space-x3) * -1);transition:100ms box-shadow;width:fit-content;" },
|
|
14
14
|
modifiers: {
|
|
15
15
|
error: {
|
|
16
|
-
error: { name: "
|
|
17
|
-
alert: { name: "
|
|
16
|
+
error: { name: "1gut9f", styles: "box-shadow:inset 0 0 0 0.125rem var(--cnvs-brand-error-base);" },
|
|
17
|
+
alert: { name: "5txvs", styles: "box-shadow:inset 0 0 0 0.0625rem var(--cnvs-brand-alert-darkest), inset 0 0 0 0.1875rem var(--cnvs-brand-alert-base);" }
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}, "radio-group-aea204");
|
|
@@ -8,7 +8,7 @@ import { RadioText } from './RadioText';
|
|
|
8
8
|
import { createStencil } from '@workday/canvas-kit-styling';
|
|
9
9
|
import { system } from '@workday/canvas-tokens-web';
|
|
10
10
|
const radioLabelStencil = createStencil({
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "4629f7", styles: "box-sizing:border-box;align-items:flex-start;min-height:var(--cnvs-sys-space-x6);position:relative;gap:var(--cnvs-sys-space-x3);" }
|
|
12
12
|
}, "radio-label-0cca27");
|
|
13
13
|
export const RadioLabelContext = React.createContext({});
|
|
14
14
|
export const RadioLabel = createSubcomponent('label')({
|
|
@@ -9,19 +9,19 @@ import { system } from '@workday/canvas-tokens-web';
|
|
|
9
9
|
import { mergeStyles } from '@workday/canvas-kit-react/layout';
|
|
10
10
|
const radioTextStencil = createStencil({
|
|
11
11
|
extends: textStencil,
|
|
12
|
-
base: { name: "
|
|
12
|
+
base: { name: "1kb2uz", styles: "box-sizing:border-box;cursor:pointer;" },
|
|
13
13
|
modifiers: {
|
|
14
14
|
variant: {
|
|
15
|
-
inverse: { name: "
|
|
15
|
+
inverse: { name: "3gup3w", styles: "color:var(--cnvs-sys-color-text-inverse);" }
|
|
16
16
|
},
|
|
17
17
|
disabled: {
|
|
18
|
-
true: { name: "
|
|
18
|
+
true: { name: "4fqzf4", styles: "cursor:default;color:var(--cnvs-sys-color-text-disabled);" }
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
compound: [
|
|
22
22
|
{
|
|
23
23
|
modifiers: { variant: 'inverse', disabled: true },
|
|
24
|
-
styles: { name: "
|
|
24
|
+
styles: { name: "20rexp", styles: "color:var(--cnvs-sys-color-text-inverse);opacity:var(--cnvs-sys-opacity-disabled);" }
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
defaultModifiers: {
|
|
@@ -8,10 +8,10 @@ import { RadioLabelContext } from './RadioLabel';
|
|
|
8
8
|
const radioWidth = 18;
|
|
9
9
|
const radioHeight = 18;
|
|
10
10
|
const radioInputStencil = createStencil({
|
|
11
|
-
base: { name: "
|
|
11
|
+
base: { name: "1rm01e", styles: "box-sizing:border-box;cursor:pointer;height:1.125rem;width:1.125rem;border-radius:var(--cnvs-sys-shape-round);position:absolute;margin:var(--cnvs-sys-space-zero);&:focus-visible, &.focus, &:active{outline:transparent;}&:disabled, &.disabled{cursor:auto;+ .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-disabled);background-color:var(--cnvs-sys-color-bg-alt-softer);}&:hover + .cnvs-radio-check, &.hover + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-disabled);}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-accent);border:0.3125rem solid var(--cnvs-brand-primary-base);}}+ .cnvs-radio-check{display:flex;flex-direction:column;align-items:center;background-color:var(--cnvs-sys-color-bg-default);border-radius:var(--cnvs-sys-shape-round);box-sizing:border-box;border:0.0625rem solid var(--cnvs-sys-color-border-input-default);height:1.125rem;width:1.125rem;justify-content:center;pointer-events:none;position:absolute;transition:border 200ms ease, background 200ms;opacity:var(--cnvs-sys-opacity-full);}&:hover + .cnvs-radio-check, &.hover + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-strong);}&:focus-visible + .cnvs-radio-check, &.focus + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-primary-default);box-shadow:0 0 0 0px var(--cnvs-sys-color-border-inverse), 0 0 0 1px var(--cnvs-brand-common-focus-outline);}&:focus-visible:hover + .cnvs-radio-check, &.focus:hover + .cnvs-radio-check{outline:transparent;}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-accent);border:0.3125rem solid var(--cnvs-brand-primary-base);}&:focus-visible:checked + .cnvs-radio-check, &:focus-visible:hover:checked + .cnvs-radio-check, &.focus:checked + .cnvs-radio-check, &.focus:hover:checked + .cnvs-radio-check{outline:transparent;box-shadow:0 0 0 2px var(--cnvs-sys-color-border-inverse), 0 0 0 4px var(--cnvs-brand-common-focus-outline);}" },
|
|
12
12
|
modifiers: {
|
|
13
13
|
variant: {
|
|
14
|
-
inverse: { name: "
|
|
14
|
+
inverse: { name: "2f2gcm", styles: "+ .cnvs-radio-check{background-color:var(--cnvs-sys-color-bg-alt-softer);border-color:var(--cnvs-sys-color-border-input-inverse);}&:disabled, &.disabled{opacity:var(--cnvs-sys-opacity-disabled);+ .cnvs-radio-check{background-color:var(--cnvs-sys-color-bg-alt-softer);border-color:var(--cnvs-sys-color-border-input-disabled);opacity:var(--cnvs-sys-opacity-disabled);}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-base);border-color:var(--cnvs-sys-color-border-inverse);}}&:hover + .cnvs-radio-check, &.hover + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-inverse);}&:focus-visible + .cnvs-radio-check, &.focus + .cnvs-radio-check{border-color:var(--cnvs-sys-color-border-input-inverse);}&:checked + .cnvs-radio-check, &.checked + .cnvs-radio-check{background-color:var(--cnvs-brand-primary-base);border-color:var(--cnvs-sys-color-border-inverse);}&:focus-visible + .cnvs-radio-check, &:focus-visible:hover + .cnvs-radio-check, &.focus + .cnvs-radio-check, &.focus:hover + .cnvs-radio-check{box-shadow:0 0 0 0px var(--cnvs-sys-color-border-contrast-default), 0 0 0 2px var(--cnvs-sys-color-border-inverse);}&:focus-visible:checked + .cnvs-radio-check, &:focus-visible:hover:checked + .cnvs-radio-check, &.focus:checked + .cnvs-radio-check, &.focus:hover:checked + .cnvs-radio-check{box-shadow:0 0 0 2px var(--cnvs-sys-color-border-contrast-default), 0 0 0 4px var(--cnvs-sys-color-border-inverse);}" }
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}, "radio-input-f05aaa");
|
|
@@ -22,13 +22,13 @@ const StyledRadioInput = createComponent('input')({
|
|
|
22
22
|
},
|
|
23
23
|
});
|
|
24
24
|
const radioInputWrapperStyles = createStencil({
|
|
25
|
-
base: { name: "
|
|
25
|
+
base: { name: "3aqigv", styles: "box-sizing:border-box;height:1.125rem;width:1.125rem;flex:0 0 auto;::before{content:'';position:absolute;border-radius:var(--cnvs-sys-shape-round);height:1.125rem;transition:box-shadow 150ms ease-out;width:1.125rem;pointer-events:none;opacity:var(--cnvs-sys-opacity-full);}&:hover:before, &.hover:before{box-shadow:0 0 0 calc(var(--cnvs-sys-space-x2) - 0.0625rem) var(--cnvs-sys-color-bg-alt-soft);}" },
|
|
26
26
|
modifiers: {
|
|
27
27
|
variant: {
|
|
28
|
-
inverse: { name: "
|
|
28
|
+
inverse: { name: "1dbsax", styles: "::before{opacity:var(--cnvs-sys-opacity-disabled);}" }
|
|
29
29
|
},
|
|
30
30
|
disabled: {
|
|
31
|
-
true: { name: "
|
|
31
|
+
true: { name: "3kfk0j", styles: "&:hover:before, &.hover:before{box-shadow:none;cursor:auto;}" }
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}, "radio-input-wrapper-styles-fce2c4");
|
|
@@ -10,19 +10,19 @@ export const panelStencil = createStencil({
|
|
|
10
10
|
expandedWidth: '',
|
|
11
11
|
collapsedWidth: '',
|
|
12
12
|
},
|
|
13
|
-
base: { name: "
|
|
13
|
+
base: { name: "3vn2cj", 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: "2e7yaa", styles: "background-color:var(--cnvs-sys-color-bg-default);box-shadow:var(--cnvs-sys-depth-5);" },
|
|
17
|
+
standard: { name: "2fsf1e", styles: "background-color:var(--cnvs-sys-color-bg-alt-softer);" }
|
|
18
18
|
},
|
|
19
19
|
expanded: {
|
|
20
|
-
true: { name: "
|
|
21
|
-
false: { name: "
|
|
20
|
+
true: { name: "2fojzi", styles: "width:var(--expandedWidth-panel-bd9477);max-width:var(--expandedWidth-panel-bd9477);" },
|
|
21
|
+
false: { name: "4anr6p", 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: "kqkyd", styles: "" },
|
|
25
|
+
false: { name: "1rg0hm", 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: "ju1s9", 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: "ydztm", styles: "margin:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
|
|
15
|
+
collapsed: { name: "34x8fe", styles: "margin:auto;inset-inline-start:0;inset-inline-end:0;transform:scaleX(1);:dir(rtl){transform:scaleX(-1);}" },
|
|
16
|
+
expanded: { name: "26vtjp", styles: "margin:0;transform:scaleX(-1);:dir(rtl){transform:scaleX(1);}" },
|
|
17
|
+
expanding: { name: "1wveiq", 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: "2dvo5d", styles: "" },
|
|
21
|
+
right: { name: "3ksdxu", styles: "" }
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
compound: [
|
|
25
25
|
{
|
|
26
26
|
modifiers: { state: 'collapsed', origin: 'right' },
|
|
27
|
-
styles: { name: "
|
|
27
|
+
styles: { name: "3flmd6", styles: "transform:scaleX(-1);" }
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
modifiers: { state: 'collapsing', origin: 'right' },
|
|
31
|
-
styles: { name: "
|
|
31
|
+
styles: { name: "2xlsv5", 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: "3z0y5a", 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: "31ugnf", 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: "1jjwg8", 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: "2tij5b", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-gray-default);" },
|
|
14
|
+
low: { name: "2j5lqx", styles: "color:var(--cnvs-sys-color-static-gray-strong);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-gray-strong);background:var(--cnvs-sys-color-static-gray-soft);" }
|
|
15
15
|
},
|
|
16
16
|
orange: {
|
|
17
|
-
high: { name: "
|
|
18
|
-
low: { name: "
|
|
17
|
+
high: { name: "4fbvem", styles: "color:var(--cnvs-sys-color-static-gray-stronger);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-gray-stronger);background:var(--cnvs-sys-color-static-orange-default);" },
|
|
18
|
+
low: { name: "3dbzmq", styles: "color:var(--cnvs-sys-color-static-gold-stronger);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-gold-stronger);background:var(--cnvs-sys-color-static-orange-soft);" }
|
|
19
19
|
},
|
|
20
20
|
blue: {
|
|
21
|
-
high: { name: "
|
|
22
|
-
low: { name: "
|
|
21
|
+
high: { name: "3oxm20", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-blue-default);" },
|
|
22
|
+
low: { name: "27lqrm", styles: "color:var(--cnvs-sys-color-static-blue-strong);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-blue-strong);background:var(--cnvs-sys-color-static-blue-soft);" }
|
|
23
23
|
},
|
|
24
24
|
green: {
|
|
25
|
-
high: { name: "
|
|
26
|
-
low: { name: "
|
|
25
|
+
high: { name: "3wh2vo", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-green-strong);" },
|
|
26
|
+
low: { name: "3x7mnk", styles: "color:var(--cnvs-sys-color-static-green-strong);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-green-strong);background:var(--cnvs-sys-color-static-green-soft);" }
|
|
27
27
|
},
|
|
28
28
|
red: {
|
|
29
|
-
high: { name: "
|
|
30
|
-
low: { name: "
|
|
29
|
+
high: { name: "3qj5l7", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-static-red-default);" },
|
|
30
|
+
low: { name: "3al10r", styles: "color:var(--cnvs-sys-color-static-red-strong);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-red-strong);background:var(--cnvs-sys-color-static-red-soft);" }
|
|
31
31
|
},
|
|
32
32
|
transparent: {
|
|
33
|
-
high: { name: "
|
|
34
|
-
low: { name: "
|
|
33
|
+
high: { name: "4f42po", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-bg-translucent);" },
|
|
34
|
+
low: { name: "4ci6g1", styles: "color:var(--cnvs-sys-color-static-white);--color-system-icon-99ce3e:var(--cnvs-sys-color-static-white);background:var(--cnvs-sys-color-bg-translucent);" }
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}, "status-indicator-1a565e");
|