@workday/canvas-kit-css 13.0.0-alpha.1021-next.0 → 13.0.0-alpha.1024-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/badge.css +2 -2
- package/loading-dots.css +2 -2
- package/modal.css +2 -2
- package/package.json +2 -2
- package/popup.css +2 -2
- package/skeleton.css +2 -2
- package/tabs.css +122 -0
package/badge.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-br893h {
|
|
2
2
|
from {
|
|
3
3
|
transform: scale(0.85);
|
|
4
4
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
.cnvs-count-badge {
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
align-items: center;
|
|
15
|
-
animation: animation-
|
|
15
|
+
animation: animation-br893h 0.2s ease;
|
|
16
16
|
background: var(--cnvs-sys-color-static-red-default);
|
|
17
17
|
border-radius: var(--cnvs-sys-shape-round);
|
|
18
18
|
color: var(--cnvs-sys-color-text-inverse);
|
package/loading-dots.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-br8952 {
|
|
2
2
|
0%, 80%, 100% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
border-radius: var(--cnvs-sys-shape-round);
|
|
26
26
|
transform: scale(0);
|
|
27
27
|
display: inline-block;
|
|
28
|
-
animation-name: animation-
|
|
28
|
+
animation-name: animation-br8952;
|
|
29
29
|
animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
|
|
30
30
|
animation-iteration-count: infinite;
|
|
31
31
|
animation-timing-function: ease-in-out;
|
package/modal.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-br8954 {
|
|
2
2
|
0% {
|
|
3
3
|
background: none;
|
|
4
4
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
height: 100vh;
|
|
19
19
|
background: var(--cnvs-sys-color-bg-overlay);
|
|
20
20
|
animation-duration: 0.3s;
|
|
21
|
-
animation-name: animation-
|
|
21
|
+
animation-name: animation-br8954;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.wd-no-animation .cnvs-modal-overlay-container {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-css",
|
|
3
|
-
"version": "13.0.0-alpha.
|
|
3
|
+
"version": "13.0.0-alpha.1024-next.0",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit 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": "698ba5a6dcaf31c0a081fa13ec319480d4061319"
|
|
29
29
|
}
|
package/popup.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-br89x {
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 1;
|
|
4
4
|
transform: translate(var(--cnvs-translate-position-x), var(--cnvs-translate-position-y));
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
padding: var(--cnvs-sys-space-x6);
|
|
28
28
|
max-height: var(--cnvs-popup-card-max-height);
|
|
29
29
|
overflow-y: auto;
|
|
30
|
-
animation-name: animation-
|
|
30
|
+
animation-name: animation-br89x;
|
|
31
31
|
animation-duration: 150ms;
|
|
32
32
|
animation-timing-function: ease-out;
|
|
33
33
|
transform-origin: var(--cnvs-popup-card-transform-origin-vertical) var(--cnvs-popup-card-transform-origin-horizontal);
|
package/skeleton.css
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
@keyframes animation-
|
|
39
|
+
@keyframes animation-br895h {
|
|
40
40
|
from {
|
|
41
41
|
opacity: 0.4;
|
|
42
42
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
.cnvs-skeleton {
|
|
51
51
|
box-sizing: border-box;
|
|
52
|
-
animation: animation-
|
|
52
|
+
animation: animation-br895h 0.8s linear infinite alternate;
|
|
53
53
|
position: relative;
|
|
54
54
|
overflow: hidden;
|
|
55
55
|
height: 100%;
|
package/tabs.css
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.cnvs-tab-item {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
font-family: var(--cnvs-sys-font-family-default),Helvetica Neue,Helvetica,Arial,sans-serif;
|
|
4
|
+
font-weight: var(--cnvs-sys-font-weight-medium);
|
|
5
|
+
line-height: var(--cnvs-sys-line-height-subtext-large);
|
|
6
|
+
font-size: var(--cnvs-sys-font-size-subtext-large);
|
|
7
|
+
letter-spacing: var(--cnvs-base-letter-spacing-150);
|
|
8
|
+
border: none;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
flex: 0 0 auto;
|
|
11
|
+
min-width: var(--cnvs-sys-space-zero);
|
|
12
|
+
align-items: center;
|
|
13
|
+
padding: var(--cnvs-sys-space-x3) var(--cnvs-sys-space-x4);
|
|
14
|
+
height: 3.25rem;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
color: var(--cnvs-sys-color-fg-muted-default);
|
|
17
|
+
position: relative;
|
|
18
|
+
border-radius: var(--cnvs-sys-space-x1) var(--cnvs-sys-space-x1) var(--cnvs-sys-space-zero) var(--cnvs-sys-space-zero);
|
|
19
|
+
transition: background 150ms ease,color 150ms ease;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
text-overflow: ellipsis;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-muted-soft);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.cnvs-tab-item:has([data-part="system-icon"]), .cnvs-tab-item:has([data-part="ellipsis-text"]) {
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: var(--cnvs-sys-space-x2);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.cnvs-tab-item:hover, .cnvs-tab-item.hover, .cnvs-tab-item:focus-visible, .cnvs-tab-item.focus {
|
|
32
|
+
background-color: var(--cnvs-base-palette-soap-200);
|
|
33
|
+
color: var(--cnvs-base-palette-black-pepper-400);
|
|
34
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-icon-strong);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cnvs-tab-item:focus-visible, .cnvs-tab-item.focus {
|
|
38
|
+
outline: none;
|
|
39
|
+
box-shadow: inset 0 0 0 2px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1)),inset 0 0 0 2px var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1));
|
|
40
|
+
--cnvs-button-box-shadow-inner: var(--cnvs-sys-color-border-inverse);
|
|
41
|
+
--cnvs-button-box-shadow-outer: var(--cnvs-brand-common-focus-outline);
|
|
42
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-icon-strong);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.cnvs-tab-item:disabled, .cnvs-tab-item.disabled, .cnvs-tab-item[aria-disabled] {
|
|
46
|
+
color: var(--cnvs-sys-color-text-disabled);
|
|
47
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.cnvs-tab-item:disabled:hover, .cnvs-tab-item.disabled:hover, .cnvs-tab-item[aria-disabled]:hover {
|
|
51
|
+
cursor: auto;
|
|
52
|
+
background-color: var(--cnvs-sys-color-bg-transparent);
|
|
53
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cnvs-tab-item[aria-selected=true] {
|
|
57
|
+
color: var(--cnvs-brand-primary-base);
|
|
58
|
+
cursor: default;
|
|
59
|
+
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.cnvs-tab-item[aria-selected=true]:after {
|
|
63
|
+
position: absolute;
|
|
64
|
+
height: var(--cnvs-sys-space-x1);
|
|
65
|
+
border-radius: var(--cnvs-sys-shape-x1) var(--cnvs-sys-shape-x1) var(--cnvs-sys-shape-zero) var(--cnvs-sys-shape-zero);
|
|
66
|
+
background-color: var(--cnvs-brand-primary-base);
|
|
67
|
+
bottom: var(--cnvs-sys-space-zero);
|
|
68
|
+
content: '';
|
|
69
|
+
left: var(--cnvs-sys-space-zero);
|
|
70
|
+
margin-block-start: calc(calc(var(--cnvs-sys-space-x2) / var(--cnvs-sys-space-x1)) * -1);
|
|
71
|
+
width: 100%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.cnvs-tab-item[aria-selected=true]:hover, .cnvs-tab-item[aria-selected=true].hover, .cnvs-tab-item[aria-selected=true]:focus-visible, .cnvs-tab-item[aria-selected=true].focus {
|
|
75
|
+
background-color: var(--cnvs-sys-color-bg-transparent);
|
|
76
|
+
color: var(--cnvs-brand-primary-base);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
.cnvs-tabs-list {
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
display: flex;
|
|
83
|
+
position: relative;
|
|
84
|
+
border-bottom: 0.0625rem solid var(--cnvs-sys-color-border-divider);
|
|
85
|
+
gap: var(--cnvs-sys-space-x3);
|
|
86
|
+
padding-inline: var(--cnvs-sys-space-x6);
|
|
87
|
+
mask-image: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
.cnvs-tabs-list.modality-touch {
|
|
92
|
+
padding-inline: var(--cnvs-sys-space-zero);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
.cnvs-tabs-list.modality-touch.is-dragging.direction-left {
|
|
105
|
+
mask-image: linear-gradient(to left, white 80%, transparent);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
.cnvs-tabs-list.modality-touch.is-dragging.direction-right {
|
|
110
|
+
mask-image: linear-gradient(to right, white 80%, transparent);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
.cnvs-tabs-overflow-button {
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.cnvs-tabs-overflow-button:has([data-part="tabs-overflow-button-icon"]) {
|
|
119
|
+
display: flex;
|
|
120
|
+
gap: var(--cnvs-sys-space-zero);
|
|
121
|
+
}
|
|
122
|
+
|