@workday/canvas-kit-css 14.0.0-alpha.1164-next.0 → 14.0.0-alpha.1167-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/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/breadcrumbs.css +0 -98
- package/button.css +0 -757
- package/card.css +0 -34
- package/checkbox.css +0 -240
- package/collection.css +0 -25
- package/color-picker.css +0 -87
- 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 -155
- package/modal.css +0 -108
- package/pagination.css +0 -143
- package/popup.css +0 -72
- package/segmented-control.css +0 -75
- 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/tabs.css
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
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(span) {
|
|
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-sys-color-bg-alt-default);
|
|
33
|
-
color: var(--cnvs-sys-color-fg-contrast-default);
|
|
34
|
-
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-contrast-default);
|
|
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-sys-color-border-inverse, 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
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
.cnvs-tabs-list.modality-touch {
|
|
91
|
-
overflow-x: auto;
|
|
92
|
-
padding-inline: var(--cnvs-sys-space-zero);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.cnvs-tabs-list.modality-touch[data-scroll-position="start"] {
|
|
96
|
-
mask-image: linear-gradient(to right, white 80%, transparent);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.cnvs-tabs-list.modality-touch[data-scroll-position="middle"] {
|
|
100
|
-
mask-image: linear-gradient(to left, white 80%, transparent),linear-gradient(to right, white 80%, transparent);
|
|
101
|
-
mask-composite: intersect;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.cnvs-tabs-list.modality-touch[data-scroll-position="end"] {
|
|
105
|
-
mask-image: linear-gradient(to left, white 80%, transparent);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
.cnvs-tabs-overflow-button {
|
|
116
|
-
box-sizing: border-box;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.cnvs-tabs-overflow-button:has([data-part="tabs-overflow-button-icon"]) {
|
|
120
|
-
display: flex;
|
|
121
|
-
gap: var(--cnvs-sys-space-zero);
|
|
122
|
-
}
|
|
123
|
-
|
package/text-area.css
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
.cnvs-text-area {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
min-height: var(--cnvs-sys-space-x16);
|
|
4
|
-
min-width: calc(calc(var(--cnvs-sys-space-x20) * 3) + var(--cnvs-sys-space-x10));
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.cnvs-text-area::webkit-resizer {
|
|
8
|
-
display: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.cnvs-text-area.resize-both {
|
|
13
|
-
resize: both;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.cnvs-text-area.resize-horizontal {
|
|
18
|
-
resize: horizontal;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.cnvs-text-area.resize-vertical {
|
|
23
|
-
resize: vertical;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.cnvs-text-area.resize-none {
|
|
28
|
-
resize: none;
|
|
29
|
-
}
|
|
30
|
-
|
package/text-input.css
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
.cnvs-text-input {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
4
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
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
|
-
display: block;
|
|
9
|
-
border: 0.0625rem solid var(--cnvs-sys-color-border-input-default);
|
|
10
|
-
background-color: var(--cnvs-sys-color-bg-default);
|
|
11
|
-
border-radius: var(--cnvs-sys-shape-x1);
|
|
12
|
-
height: var(--cnvs-sys-space-x10);
|
|
13
|
-
transition: 0.2s box-shadow,0.2s border-color;
|
|
14
|
-
padding: var(--cnvs-sys-space-x2);
|
|
15
|
-
margin: 0rem;
|
|
16
|
-
width: var(--cnvs-text-input-width);
|
|
17
|
-
min-width: var(--cnvs-text-input-width, calc(calc(var(--cnvs-sys-space-x20) * 3) + var(--cnvs-sys-space-x10)));
|
|
18
|
-
color: var(--cnvs-sys-color-text-default);
|
|
19
|
-
text-overflow: ellipsis;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.cnvs-text-input ::-ms-clear {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.cnvs-text-input::placeholder {
|
|
27
|
-
color: var(--cnvs-sys-color-text-hint);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.cnvs-text-input:is(:hover, .hover) {
|
|
31
|
-
border-color: var(--cnvs-sys-color-border-input-strong);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.cnvs-text-input:is(:focus-visible, .focus):where(:not([disabled])) {
|
|
35
|
-
border-color: var(--cnvs-brand-common-focus-outline);
|
|
36
|
-
box-shadow: inset 0 0 0 1px var(--cnvs-brand-common-focus-outline);
|
|
37
|
-
outline: 0.125rem solid transparent;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.cnvs-text-input:is(:disabled, .disabled) {
|
|
41
|
-
background-color: var(--cnvs-sys-color-bg-alt-softer);
|
|
42
|
-
border-color: var(--cnvs-sys-color-border-input-disabled);
|
|
43
|
-
color: var(--cnvs-sys-color-text-disabled);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.cnvs-text-input:is(:disabled, .disabled)::placeholder {
|
|
47
|
-
color: var(--cnvs-sys-color-text-disabled);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.cnvs-text-input.grow {
|
|
52
|
-
width: 100%;
|
|
53
|
-
resize: vertical;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.cnvs-text-input.grow-false {
|
|
58
|
-
width: initial;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.cnvs-text-input.error-error {
|
|
63
|
-
border-color: var(--cnvs-brand-error-base);
|
|
64
|
-
box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-error-base);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.cnvs-text-input.error-error:is(:hover, .hover, :disabled, .disabled, :focus-visible:not([disabled]), .focus:not([disabled])) {
|
|
68
|
-
border-color: var(--cnvs-brand-error-base);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.cnvs-text-input.error-error:is(:focus-visible, .focus):not([disabled]) {
|
|
72
|
-
box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-error-base),0 0 0 2px var(--cnvs-sys-color-border-inverse),0 0 0 4px var(--cnvs-brand-common-focus-outline);
|
|
73
|
-
outline-offset: 0.125rem;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
.cnvs-text-input.error-alert {
|
|
78
|
-
border-color: var(--cnvs-brand-alert-darkest);
|
|
79
|
-
box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-alert-base);
|
|
80
|
-
outline-offset: 0.125rem;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.cnvs-text-input.error-alert:is(:hover, .hover, :disabled, .disabled, :focus-visible:not([disabled]), .focus:not([disabled])) {
|
|
84
|
-
border-color: var(--cnvs-brand-alert-darkest);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.cnvs-text-input.error-alert:is(:focus-visible, .focus):not([disabled]) {
|
|
88
|
-
box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-alert-base),0 0 0 2px var(--cnvs-sys-color-border-inverse),0 0 0 4px var(--cnvs-brand-common-focus-outline);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
.cnvs-input-group-inner {
|
|
93
|
-
--cnvs-input-group-inner-inset-inline-start: initial;
|
|
94
|
-
--cnvs-input-group-inner-inset-inline-end: initial;
|
|
95
|
-
--cnvs-input-group-inner-width: var(--cnvs-sys-space-x10);
|
|
96
|
-
--cnvs-input-group-inner-height: var(--cnvs-sys-space-x10);
|
|
97
|
-
box-sizing: border-box;
|
|
98
|
-
display: flex;
|
|
99
|
-
position: absolute;
|
|
100
|
-
align-items: center;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
width: var(--cnvs-input-group-inner-width);
|
|
103
|
-
height: var(--cnvs-input-group-inner-height);
|
|
104
|
-
inset-inline-start: var(--cnvs-input-group-inner-inset-inline-start);
|
|
105
|
-
inset-inline-end: var(--cnvs-input-group-inner-inset-inline-end);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.cnvs-input-group-inner.pointer-events {
|
|
110
|
-
pointer-events: var(--cnvs-input-group-inner-pointer-events);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
.cnvs-input-group-input {
|
|
115
|
-
box-sizing: border-box;
|
|
116
|
-
display: flex;
|
|
117
|
-
width: 100%;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
.cnvs-input-group-input.padding-inline-start {
|
|
122
|
-
padding-inline-start: var(--cnvs-input-group-input-padding-inline-start);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
.cnvs-input-group-input.padding-inline-end {
|
|
127
|
-
padding-inline-end: var(--cnvs-input-group-input-padding-inline-end);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
.cnvs-input-group {
|
|
132
|
-
box-sizing: border-box;
|
|
133
|
-
display: flex;
|
|
134
|
-
position: relative;
|
|
135
|
-
align-items: center;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.cnvs-input-group :has([data-part="input-group-clear-button"]) {
|
|
139
|
-
transition: opacity 300ms ease;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.cnvs-input-group:where(:has(input:placeholder-shown)) :has([data-part="input-group-clear-button"]) {
|
|
143
|
-
opacity: 0;
|
|
144
|
-
pointer-events: none;
|
|
145
|
-
}
|
|
146
|
-
|
package/text.css
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
.cnvs-text {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.cnvs-text.type-level-title-large {
|
|
7
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
8
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
9
|
-
line-height: var(--cnvs-sys-line-height-title-large);
|
|
10
|
-
font-size: var(--cnvs-sys-font-size-title-large);
|
|
11
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.cnvs-text.type-level-title-medium {
|
|
16
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
17
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
18
|
-
line-height: var(--cnvs-sys-line-height-title-medium);
|
|
19
|
-
font-size: var(--cnvs-sys-font-size-title-medium);
|
|
20
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
.cnvs-text.type-level-title-small {
|
|
25
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
26
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
27
|
-
line-height: var(--cnvs-sys-line-height-title-small);
|
|
28
|
-
font-size: var(--cnvs-sys-font-size-title-small);
|
|
29
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
.cnvs-text.type-level-heading-large {
|
|
34
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
35
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
36
|
-
line-height: var(--cnvs-sys-line-height-heading-large);
|
|
37
|
-
font-size: var(--cnvs-sys-font-size-heading-large);
|
|
38
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.cnvs-text.type-level-heading-medium {
|
|
43
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
44
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
45
|
-
line-height: var(--cnvs-sys-line-height-heading-medium);
|
|
46
|
-
font-size: var(--cnvs-sys-font-size-heading-medium);
|
|
47
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.cnvs-text.type-level-heading-small {
|
|
52
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
53
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
54
|
-
line-height: var(--cnvs-sys-line-height-heading-small);
|
|
55
|
-
font-size: var(--cnvs-sys-font-size-heading-small);
|
|
56
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
.cnvs-text.type-level-body-large {
|
|
61
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
62
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
63
|
-
line-height: var(--cnvs-sys-line-height-body-large);
|
|
64
|
-
font-size: var(--cnvs-sys-font-size-body-large);
|
|
65
|
-
color: var(--cnvs-sys-color-text-default);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.cnvs-text.type-level-body-medium {
|
|
70
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
71
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
72
|
-
line-height: var(--cnvs-sys-line-height-body-medium);
|
|
73
|
-
font-size: var(--cnvs-sys-font-size-body-medium);
|
|
74
|
-
color: var(--cnvs-sys-color-text-default);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
.cnvs-text.type-level-body-small {
|
|
79
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
80
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
81
|
-
line-height: var(--cnvs-sys-line-height-body-small);
|
|
82
|
-
font-size: var(--cnvs-sys-font-size-body-small);
|
|
83
|
-
letter-spacing: var(--cnvs-base-letter-spacing-200);
|
|
84
|
-
color: var(--cnvs-sys-color-text-default);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
.cnvs-text.type-level-subtext-large {
|
|
89
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
90
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
91
|
-
line-height: var(--cnvs-sys-line-height-subtext-large);
|
|
92
|
-
font-size: var(--cnvs-sys-font-size-subtext-large);
|
|
93
|
-
letter-spacing: var(--cnvs-base-letter-spacing-150);
|
|
94
|
-
color: var(--cnvs-sys-color-text-default);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
.cnvs-text.type-level-subtext-medium {
|
|
99
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
100
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
101
|
-
line-height: var(--cnvs-sys-line-height-subtext-medium);
|
|
102
|
-
font-size: var(--cnvs-sys-font-size-subtext-medium);
|
|
103
|
-
letter-spacing: var(--cnvs-base-letter-spacing-100);
|
|
104
|
-
color: var(--cnvs-sys-color-text-default);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
.cnvs-text.type-level-subtext-small {
|
|
109
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
110
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
111
|
-
line-height: var(--cnvs-sys-line-height-subtext-small);
|
|
112
|
-
font-size: var(--cnvs-sys-font-size-subtext-small);
|
|
113
|
-
letter-spacing: var(--cnvs-base-letter-spacing-50);
|
|
114
|
-
color: var(--cnvs-sys-color-text-default);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
.cnvs-text.variant-error {
|
|
119
|
-
color: var(--cnvs-sys-color-text-critical-default);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
.cnvs-text.variant-hint {
|
|
124
|
-
color: var(--cnvs-sys-color-text-hint);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
.cnvs-text.variant-inverse {
|
|
129
|
-
color: var(--cnvs-sys-color-text-inverse);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
.cnvs-subtext {
|
|
134
|
-
box-sizing: border-box;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
.cnvs-body-text {
|
|
139
|
-
box-sizing: border-box;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
.cnvs-heading {
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
.cnvs-title {
|
|
149
|
-
box-sizing: border-box;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
.cnvs-label-text {
|
|
154
|
-
box-sizing: border-box;
|
|
155
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
156
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
157
|
-
line-height: var(--cnvs-sys-line-height-subtext-large);
|
|
158
|
-
font-size: var(--cnvs-sys-font-size-subtext-large);
|
|
159
|
-
letter-spacing: var(--cnvs-base-letter-spacing-150);
|
|
160
|
-
color: var(--cnvs-sys-color-text-default);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
.cnvs-label-text.disabled {
|
|
165
|
-
cursor: default;
|
|
166
|
-
color: var(--cnvs-sys-color-text-disabled);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
.cnvs-label-text.variant-inverse {
|
|
171
|
-
color: var(--cnvs-sys-color-text-inverse);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
.cnvs-label-text.variant-error {
|
|
176
|
-
color: var(--cnvs-sys-color-text-critical-default);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
.cnvs-label-text.variant-hint {
|
|
181
|
-
color: var(--cnvs-sys-color-text-hint);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
.cnvs-label-text.variant-inverse.disabled {
|
|
186
|
-
opacity: var(--cnvs-sys-opacity-disabled);
|
|
187
|
-
color: var(--cnvs-sys-color-text-inverse);
|
|
188
|
-
}
|
|
189
|
-
|
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-pt3z2x {
|
|
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-pt3z2x;
|
|
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
|
-
|