@workday/canvas-kit-css 13.2.1 → 13.2.2
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/package.json +2 -2
- package/action-bar.css +0 -32
- package/avatar.css +0 -186
- package/badge.css +0 -38
- package/banner.css +0 -95
- package/button.css +0 -661
- package/card.css +0 -23
- package/checkbox.css +0 -240
- package/collection.css +0 -25
- package/combobox.css +0 -4
- package/common.css +0 -53
- package/expandable.css +0 -93
- package/form-field.css +0 -190
- package/icon.css +0 -165
- package/loading-dots.css +0 -47
- package/menu.css +0 -150
- package/modal.css +0 -109
- package/popup.css +0 -74
- package/select.css +0 -37
- package/skeleton.css +0 -73
- package/switch.css +0 -93
- package/table.css +0 -132
- package/tabs.css +0 -123
- package/text-area.css +0 -30
- package/text-input.css +0 -146
- package/text.css +0 -189
- package/toast.css +0 -42
- package/tooltip.css +0 -79
package/toast.css
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.cnvs-toast-close-icon {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.cnvs-toast-icon {
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
align-self: start;
|
|
10
|
-
margin: var(--cnvs-sys-space-x4) var(--cnvs-sys-space-x3);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.cnvs-toast-message {
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
word-break: break-word;
|
|
17
|
-
margin-block-start: var(--cnvs-sys-space-zero);
|
|
18
|
-
margin-block-end: var(--cnvs-sys-space-zero);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.cnvs-toast-body {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
align-items: flex-start;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
padding-top: var(--cnvs-sys-space-x4);
|
|
28
|
-
padding-bottom: var(--cnvs-sys-space-x4);
|
|
29
|
-
flex-grow: 1;
|
|
30
|
-
gap: var(--cnvs-sys-space-x1);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.cnvs-toast {
|
|
35
|
-
box-sizing: border-box;
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
width: calc(calc(var(--cnvs-sys-space-x20) * 4) + var(--cnvs-sys-space-x10));
|
|
39
|
-
padding: var(--cnvs-sys-space-zero);
|
|
40
|
-
gap: var(--cnvs-sys-space-x1);
|
|
41
|
-
}
|
|
42
|
-
|
package/tooltip.css
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@keyframes animation-p2y92s {
|
|
2
|
-
0% {
|
|
3
|
-
opacity: 0;
|
|
4
|
-
transform: translate(var(--cnvs-tooltip-translate-position-x), var(--cnvs-tooltip-translate-position-y));
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
100% {
|
|
8
|
-
opacity: 1;
|
|
9
|
-
transform: translate(0);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.cnvs-tooltip-container {
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
17
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
18
|
-
line-height: var(--cnvs-sys-line-height-subtext-medium);
|
|
19
|
-
font-size: var(--cnvs-sys-font-size-subtext-medium);
|
|
20
|
-
letter-spacing: var(--cnvs-base-letter-spacing-100);
|
|
21
|
-
display: inline-flex;
|
|
22
|
-
position: relative;
|
|
23
|
-
padding: var(--cnvs-sys-space-x3);
|
|
24
|
-
color: var(--cnvs-sys-color-text-inverse);
|
|
25
|
-
animation-name: animation-p2y92s;
|
|
26
|
-
animation-duration: 150ms;
|
|
27
|
-
animation-timing-function: ease-out;
|
|
28
|
-
transform-origin: var(--cnvs-tooltip-container-tooltip-transform-origin-vertical) var(--cnvs-tooltip-container-tooltip-transform-origin-horizontal);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.cnvs-tooltip-container a {
|
|
32
|
-
color: var(--cnvs-sys-color-text-inverse);
|
|
33
|
-
text-decoration: underline;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.cnvs-tooltip-container:before {
|
|
37
|
-
content: "";
|
|
38
|
-
border-radius: var(--cnvs-sys-shape-x1);
|
|
39
|
-
outline: 0.0625rem solid transparent;
|
|
40
|
-
outline-offset: -0.0625rem;
|
|
41
|
-
z-index: -1;
|
|
42
|
-
margin: var(--cnvs-sys-space-x1);
|
|
43
|
-
background-color: var(--cnvs-sys-color-bg-translucent);
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: 0;
|
|
46
|
-
left: 0;
|
|
47
|
-
right: 0;
|
|
48
|
-
bottom: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
body:has(:focus-visible, .focus) .cnvs-tooltip-container {
|
|
52
|
-
padding: calc(var(--cnvs-sys-space-x4) - calc(var(--cnvs-sys-space-x1) / 2));
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
body:has(:focus-visible, .focus) .cnvs-tooltip-container:before {
|
|
56
|
-
margin: calc(var(--cnvs-sys-space-x1) + calc(var(--cnvs-sys-space-x1) / 2));
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
[data-popper-reference-hidden] .cnvs-tooltip-container {
|
|
60
|
-
visibility: hidden;
|
|
61
|
-
pointer-events: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
[data-popper-placement="top-start"] .cnvs-tooltip-container, [data-popper-placement="bottom-start"] .cnvs-tooltip-container {
|
|
65
|
-
left: calc(var(--cnvs-sys-space-x1) * -1);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
[data-popper-placement="top-end"] .cnvs-tooltip-container, [data-popper-placement="bottom-end"] .cnvs-tooltip-container {
|
|
69
|
-
right: calc(var(--cnvs-sys-space-x1) * -1);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
[data-popper-placement="left-start"] .cnvs-tooltip-container, [data-popper-placement="right-start"] .cnvs-tooltip-container {
|
|
73
|
-
top: calc(var(--cnvs-sys-space-x1) * -1);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
[data-popper-placement="left-end"] .cnvs-tooltip-container, [data-popper-placement="right-end"] .cnvs-tooltip-container {
|
|
77
|
-
bottom: calc(var(--cnvs-sys-space-x1) * -1);
|
|
78
|
-
}
|
|
79
|
-
|