@workday/canvas-kit-preview-css 14.0.0-alpha.1237-next.0 → 14.0.0-alpha.1239-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/multi-select.css +5 -3
- package/package.json +2 -2
- package/pill.css +6 -5
- package/radio.css +1 -1
package/multi-select.css
CHANGED
|
@@ -49,6 +49,8 @@
|
|
|
49
49
|
.cnvs-preview-multi-select-input:has(:disabled, .disabled) {
|
|
50
50
|
border-color: var(--cnvs-sys-color-border-input-disabled);
|
|
51
51
|
color: var(--cnvs-sys-color-text-disabled);
|
|
52
|
+
background-color: var(--cnvs-sys-color-bg-alt-softer);
|
|
53
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
.cnvs-preview-multi-select-input :where([data-part="form-input"]) {
|
|
@@ -93,18 +95,18 @@
|
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
|
|
96
|
-
.cnvs-preview-multi-select-input.error-
|
|
98
|
+
.cnvs-preview-multi-select-input.error-caution {
|
|
97
99
|
border-color: var(--cnvs-brand-common-alert-outer);
|
|
98
100
|
box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-common-alert-inner);
|
|
99
101
|
background-color: var(--cnvs-brand-alert-lightest);
|
|
100
102
|
outline-offset: 0.125rem;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
|
-
.cnvs-preview-multi-select-input.error-
|
|
105
|
+
.cnvs-preview-multi-select-input.error-caution:has(:hover, .hover, :disabled, .disabled, :focus-visible:not([disabled])), .focus:not(:has([disabled])) {
|
|
104
106
|
border-color: var(--cnvs-brand-common-alert-outer);
|
|
105
107
|
}
|
|
106
108
|
|
|
107
|
-
.cnvs-preview-multi-select-input.error-
|
|
109
|
+
.cnvs-preview-multi-select-input.error-caution:has(:focus-visible, .focus):not(:has([disabled])) {
|
|
108
110
|
box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-common-alert-inner),0 0 0 2px var(--cnvs-sys-color-border-inverse),0 0 0 4px var(--cnvs-brand-common-focus-outline);
|
|
109
111
|
}
|
|
110
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-preview-css",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.1239-next.0",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit Preview CSS components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"components",
|
|
26
26
|
"workday"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "fdb8b845a09a86de1fb0a383fb3c5def6016e064"
|
|
29
29
|
}
|
package/pill.css
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
.cnvs-preview-pill-icon-button:disabled, .cnvs-preview-pill-icon-button.disabled {
|
|
53
53
|
--cnvs-button-border: var(--cnvs-sys-color-border-transparent);
|
|
54
54
|
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
55
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
|
|
@@ -179,24 +180,24 @@
|
|
|
179
180
|
.cnvs-preview-pill.variant-read-only {
|
|
180
181
|
border: 0.0625rem solid var(--cnvs-sys-color-border-container);
|
|
181
182
|
cursor: default;
|
|
182
|
-
--cnvs-button-background:
|
|
183
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
.cnvs-preview-pill.variant-read-only:hover, .cnvs-preview-pill.variant-read-only.hover {
|
|
186
187
|
border-color: var(--cnvs-sys-color-border-container);
|
|
187
|
-
--cnvs-button-background:
|
|
188
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
.cnvs-preview-pill.variant-read-only:focus-visible, .cnvs-preview-pill.variant-read-only.focus {
|
|
191
|
-
--cnvs-button-background:
|
|
192
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
.cnvs-preview-pill.variant-read-only:active, .cnvs-preview-pill.variant-read-only.active {
|
|
195
|
-
--cnvs-button-background:
|
|
196
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
196
197
|
}
|
|
197
198
|
|
|
198
199
|
.cnvs-preview-pill.variant-read-only:disabled, .cnvs-preview-pill.variant-read-only.disabled {
|
|
199
|
-
--cnvs-button-background:
|
|
200
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
|
package/radio.css
CHANGED
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
|
|
201
|
-
.cnvs-preview-radio-group.error-
|
|
201
|
+
.cnvs-preview-radio-group.error-caution {
|
|
202
202
|
background-color: var(--cnvs-brand-alert-lightest);
|
|
203
203
|
box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-common-alert-inner),inset 0 0 0 0.1875rem var(--cnvs-brand-common-alert-outer);
|
|
204
204
|
}
|