@dialpad/dialtone-css 8.46.0 → 8.46.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/lib/build/less/components/avatar.less +61 -3
- package/lib/build/less/components/collapsible.less +6 -0
- package/lib/build/less/components/combobox.less +9 -0
- package/lib/build/less/components/datepicker.less +3 -8
- package/lib/build/less/components/description-list.less +30 -0
- package/lib/build/less/components/dropdown.less +14 -0
- package/lib/build/less/components/emoji-picker.less +4 -0
- package/lib/build/less/components/empty-state.less +0 -4
- package/lib/build/less/components/item-layout.less +20 -20
- package/lib/build/less/components/list-item.less +38 -0
- package/lib/build/less/components/rich-text-editor.less +57 -0
- package/lib/build/less/components/scroller.less +49 -0
- package/lib/build/less/components/skeleton.less +11 -7
- package/lib/build/less/components/tooltip.less +20 -0
- package/lib/build/less/dialtone-reset.less +7 -6
- package/lib/build/less/dialtone.less +5 -0
- package/lib/build/less/utilities/borders.less +38 -8
- package/lib/build/less/utilities/colors.less +10 -3
- package/lib/build/less/utilities/effects.less +3 -4
- package/lib/build/less/utilities/interactivity.less +14 -3
- package/lib/build/less/utilities/layout.less +4 -4
- package/lib/build/less/utilities/spacing.less +27 -7
- package/lib/build/less/utilities/typography.less +3 -2
- package/lib/dist/dialtone-default-theme.css +304 -58
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone.css +304 -58
- package/lib/dist/dialtone.min.css +1 -1
- package/lib/dist/tokens/tokens-dp-dark.css +7 -7
- package/lib/dist/tokens/tokens-expressive-dark.css +7 -7
- package/lib/dist/tokens/tokens-expressive-sm-dark.css +7 -7
- package/lib/dist/tokens/tokens-tmo-dark.css +7 -7
- package/package.json +3 -5
- package/lib/build/less/utilities/lint-staged.config.cjs +0 -5
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
--avatar-color-background: var(--dt-avatar-color-background-000);
|
|
23
23
|
--avatar-color-text: var(--dt-avatar-color-foreground);
|
|
24
24
|
--avatar-size-shape: var(--dt-size-600);
|
|
25
|
-
--avatar-size-image: 100
|
|
25
|
+
--avatar-size-image: var(--dt-size-100-percent);
|
|
26
26
|
--avatar-size-text: var(--dt-font-size-200);
|
|
27
27
|
--avatar-presence-position-right: var(--dt-space-200-negative);
|
|
28
28
|
--avatar-presence-position-bottom: var(--dt-space-200-negative);
|
|
@@ -75,6 +75,11 @@
|
|
|
75
75
|
border-radius: var(--dt-size-radius-pill);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
&--image-loaded {
|
|
79
|
+
background-color: transparent;
|
|
80
|
+
background-image: unset;
|
|
81
|
+
}
|
|
82
|
+
|
|
78
83
|
&__initials {
|
|
79
84
|
position: absolute;
|
|
80
85
|
z-index: var(--zi-base);
|
|
@@ -93,13 +98,15 @@
|
|
|
93
98
|
position: absolute;
|
|
94
99
|
right: var(--avatar-presence-position-right);
|
|
95
100
|
bottom: var(--avatar-presence-position-bottom);
|
|
101
|
+
z-index: var(--zi-base);
|
|
96
102
|
display: flex;
|
|
97
103
|
}
|
|
98
104
|
|
|
99
105
|
&__count {
|
|
100
106
|
position: absolute;
|
|
101
|
-
right: 0;
|
|
102
|
-
bottom: 0;
|
|
107
|
+
right: var(--dt-space-0);
|
|
108
|
+
bottom: var(--dt-space-0);
|
|
109
|
+
z-index: var(--zi-base);
|
|
103
110
|
display: inline-flex;
|
|
104
111
|
align-items: center;
|
|
105
112
|
justify-content: center;
|
|
@@ -121,6 +128,57 @@
|
|
|
121
128
|
}
|
|
122
129
|
}
|
|
123
130
|
|
|
131
|
+
&--clickable {
|
|
132
|
+
--avatar-color-border: transparent;
|
|
133
|
+
|
|
134
|
+
padding: 0;
|
|
135
|
+
background-color: transparent;
|
|
136
|
+
border: var(--dt-size-border-100) solid var(--avatar-color-border);
|
|
137
|
+
border-radius: var(--dt-size-radius-circle);
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
|
|
140
|
+
&:focus-visible {
|
|
141
|
+
outline: none;
|
|
142
|
+
box-shadow: var(--dt-shadow-focus);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&:hover {
|
|
146
|
+
--avatar-color-border: var(--dt-color-border-default);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&:active {
|
|
150
|
+
--avatar-color-border: var(--dt-color-border-moderate);
|
|
151
|
+
|
|
152
|
+
transform: scale(0.98);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&__overlay {
|
|
157
|
+
position: absolute;
|
|
158
|
+
z-index: var(--zi-base);
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
justify-content: center;
|
|
162
|
+
width: var(--dt-size-100-percent);
|
|
163
|
+
height: var(--dt-size-100-percent);
|
|
164
|
+
background-color: var(--dt-color-surface-contrast-opaque);
|
|
165
|
+
border-radius: var(--dt-size-radius-circle);
|
|
166
|
+
opacity: var(--dt-opacity-900);
|
|
167
|
+
|
|
168
|
+
&-icon {
|
|
169
|
+
width: var(--dt-size-100-percent);
|
|
170
|
+
color: var(--dt-color-foreground-primary-inverted);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&-text {
|
|
174
|
+
width: var(--dt-size-100-percent);
|
|
175
|
+
color: var(--dt-color-foreground-primary-inverted);
|
|
176
|
+
font-weight: var(--dt-font-weight-bold);
|
|
177
|
+
font-size: var(--dt-font-size-200);
|
|
178
|
+
text-align: center;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
124
182
|
// -- SIZES
|
|
125
183
|
// ------------------------------------------------------------------------
|
|
126
184
|
|
|
@@ -15,6 +15,15 @@
|
|
|
15
15
|
// ----------------------------------------------------------------------------
|
|
16
16
|
.d-combobox__empty-list {
|
|
17
17
|
padding: var(--dt-space-0);
|
|
18
|
+
|
|
19
|
+
&-item {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
padding: var(--dt-space-300) var(--dt-space-450);
|
|
24
|
+
font-size: var(--dt-font-size-200);
|
|
25
|
+
line-height: var(--lh4);
|
|
26
|
+
}
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
// ============================================================================
|
|
@@ -14,16 +14,14 @@
|
|
|
14
14
|
--datepicker-width: calc(var(--dt-size-300) * 75); // A bit of a magic number as default fixed size, may use CSS utilities to override
|
|
15
15
|
--datepicker-button-size: calc(var(--dt-size-600) - var(--dt-size-200)); // Emulates SM button since Vue component in lieu of Vue component using DT button
|
|
16
16
|
|
|
17
|
+
box-sizing: border-box;
|
|
17
18
|
width: var(--datepicker-width);
|
|
18
19
|
padding: var(--dt-space-500);
|
|
19
|
-
box-sizing: border-box;
|
|
20
20
|
|
|
21
21
|
&__hd {
|
|
22
22
|
padding: 0 var(--dt-space-300);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
&__bd {
|
|
26
|
-
}
|
|
27
25
|
|
|
28
26
|
&__month-year {
|
|
29
27
|
justify-content: space-between;
|
|
@@ -33,15 +31,12 @@
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
&__month-year-title {
|
|
36
|
-
line-height: var(--dt-font-line-height-300);
|
|
37
|
-
font-size: var(--dt-font-size-100);
|
|
38
34
|
font-weight: var(--dt-font-weight-normal);
|
|
35
|
+
font-size: var(--dt-font-size-100);
|
|
36
|
+
line-height: var(--dt-font-line-height-300);
|
|
39
37
|
text-transform: uppercase;
|
|
40
38
|
}
|
|
41
39
|
|
|
42
|
-
&__nav {
|
|
43
|
-
}
|
|
44
|
-
|
|
45
40
|
&__nav-btn {
|
|
46
41
|
width: var(--datepicker-button-size);
|
|
47
42
|
height: var(--datepicker-button-size);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.d-description-list {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: row wrap;
|
|
4
|
+
gap: var(--description-list-gap);
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
font-size: var(--dt-font-size-100);
|
|
7
|
+
line-height: var(--dt-font-line-height-300);
|
|
8
|
+
|
|
9
|
+
--description-list-gap: var(--dt-space-400);
|
|
10
|
+
each(range(0, 600, 100), {
|
|
11
|
+
&--gap-@{value} {
|
|
12
|
+
--description-list-gap: ~"var(--dt-space-@{value})";
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
&--column {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__term {
|
|
21
|
+
flex: 0 1 40%;
|
|
22
|
+
color: var(--dt-color-foreground-tertiary);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__description {
|
|
26
|
+
flex: 1 1 50%;
|
|
27
|
+
margin-left: 0;
|
|
28
|
+
color: var(--dt-color-foreground-primary);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.d-context-menu-list {
|
|
2
|
+
width: var(--dt-size-850);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.d-dropdown-list {
|
|
6
|
+
position: relative;
|
|
7
|
+
margin: var(--dt-space-300);
|
|
8
|
+
padding-right: var(--dt-space-0);
|
|
9
|
+
padding-left: var(--dt-space-0);
|
|
10
|
+
|
|
11
|
+
>.d-list-item {
|
|
12
|
+
margin-top: var(--dt-space-200);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// ============================================================================
|
|
13
13
|
// $ BASE STYLE
|
|
14
14
|
// ----------------------------------------------------------------------------
|
|
15
|
-
.
|
|
15
|
+
.d-item-layout {
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: stretch;
|
|
18
18
|
min-height: calc(var(--dt-size-550) + var(--dt-size-300));
|
|
@@ -20,65 +20,65 @@
|
|
|
20
20
|
font-size: var(--dt-font-size-200);
|
|
21
21
|
line-height: var(--dt-font-line-height-300);
|
|
22
22
|
|
|
23
|
-
> .
|
|
23
|
+
> .d-item-layout--content {
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
flex-grow: 1;
|
|
27
27
|
justify-content: center;
|
|
28
28
|
min-width: var(--dt-size-0);
|
|
29
29
|
|
|
30
|
-
> .
|
|
30
|
+
> .d-item-layout--subtitle {
|
|
31
31
|
color: var(--dt-color-foreground-tertiary);
|
|
32
32
|
font-size: var(--dt-font-size-100);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
> .
|
|
35
|
+
> .d-item-layout--subtitle--with-title {
|
|
36
36
|
margin-top: var(--dt-space-200-negative);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
> .
|
|
39
|
+
> .d-item-layout--bottom {
|
|
40
40
|
margin-top: var(--dt-space-200);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
> .
|
|
45
|
-
> .
|
|
44
|
+
> .d-item-layout--right,
|
|
45
|
+
> .d-item-layout--left {
|
|
46
46
|
display: flex;
|
|
47
47
|
align-items: center;
|
|
48
48
|
min-width: var(--dt-size-600);
|
|
49
49
|
min-height: inherit;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
> .
|
|
53
|
-
padding-left: var(--dt-space-400);
|
|
52
|
+
> .d-item-layout--right {
|
|
54
53
|
flex-shrink: 0;
|
|
54
|
+
padding-left: var(--dt-space-400);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
> .
|
|
57
|
+
> .d-item-layout--left {
|
|
58
58
|
justify-content: flex-end;
|
|
59
59
|
padding-right: var(--dt-space-400);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
> .
|
|
62
|
+
> .d-item-layout--selected {
|
|
63
63
|
display: flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.d-item-layout--custom {
|
|
69
69
|
display: grid;
|
|
70
70
|
grid-template-areas: 'left content right selected';
|
|
71
71
|
grid-template-columns: minmax(0, max-content) 1fr minmax(0, max-content) minmax(0, max-content);
|
|
72
72
|
|
|
73
|
-
> .
|
|
73
|
+
> .d-item-layout--left {
|
|
74
74
|
grid-area: left;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
> .
|
|
77
|
+
> .d-item-layout--right {
|
|
78
78
|
grid-area: right;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
> .
|
|
81
|
+
> .d-item-layout--content {
|
|
82
82
|
display: grid;
|
|
83
83
|
grid-area: content;
|
|
84
84
|
grid-template-areas:
|
|
@@ -87,24 +87,24 @@
|
|
|
87
87
|
'bottom';
|
|
88
88
|
grid-template-rows: repeat(auto-fit, minmax(0, auto));
|
|
89
89
|
|
|
90
|
-
> .
|
|
90
|
+
> .d-item-layout--title {
|
|
91
91
|
grid-area: title;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
> .
|
|
94
|
+
> .d-item-layout--subtitle {
|
|
95
95
|
grid-area: subtitle;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
> .
|
|
98
|
+
> .d-item-layout--subtitle--with-title {
|
|
99
99
|
//
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
> .
|
|
102
|
+
> .d-item-layout--bottom {
|
|
103
103
|
grid-area: bottom;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
> .
|
|
107
|
+
> .d-item-layout--selected {
|
|
108
108
|
grid-area: selected;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.d-list-item {
|
|
2
|
+
list-style: none;
|
|
3
|
+
background-color: var(--dt-action-color-background-muted-default);
|
|
4
|
+
|
|
5
|
+
&:not(.d-list-item--static) {
|
|
6
|
+
border-radius: var(--dt-size-radius-300);
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--focusable:focus,
|
|
11
|
+
&--focusable:focus-within,
|
|
12
|
+
&--highlighted {
|
|
13
|
+
background-color: var(--dt-action-color-background-muted-hover);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&--highlighted:active {
|
|
17
|
+
background-color: var(--dt-action-color-background-muted-active);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&--selected-icon {
|
|
21
|
+
margin-left: var(--dt-space-400);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&[role="menuitem"] {
|
|
25
|
+
border-radius: var(--dt-size-300);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-separator {
|
|
29
|
+
margin: var(--dt-space-300) var(--dt-space-300-negative);
|
|
30
|
+
list-style: none;
|
|
31
|
+
border-top: var(--dt-size-100) solid var(--dt-color-border-default);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:focus-visible {
|
|
35
|
+
outline: none;
|
|
36
|
+
box-shadow: var(--dt-shadow-focus);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.d-rich-text-editor {
|
|
2
|
+
&__code-block {
|
|
3
|
+
padding: var(--dt-space-400);
|
|
4
|
+
background: var(--dt-color-surface-secondary);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
> .ProseMirror {
|
|
8
|
+
box-shadow: none;
|
|
9
|
+
|
|
10
|
+
p.is-editor-empty:first-child::before {
|
|
11
|
+
float: left;
|
|
12
|
+
height: 0;
|
|
13
|
+
color: var(--dt-color-foreground-placeholder);
|
|
14
|
+
content: attr(data-placeholder);
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
ul, ol {
|
|
19
|
+
padding-left: var(--dt-space-525);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
ul > li {
|
|
23
|
+
list-style-type: disc;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
ol > li {
|
|
27
|
+
list-style-type: decimal;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
blockquote {
|
|
31
|
+
margin-left: 0;
|
|
32
|
+
padding-left: var(--dt-space-400);
|
|
33
|
+
border-left: var(--dt-size-border-300) solid var(--dt-color-foreground-muted-inverted);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.d-suggestion-list__container {
|
|
39
|
+
max-height: var(--dt-size-875);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.d-suggestion-list {
|
|
43
|
+
position: relative;
|
|
44
|
+
min-width: var(--dt-size-925);
|
|
45
|
+
max-width: var(--dt-size-975);
|
|
46
|
+
padding: var(--dt-size-300);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.d-suggestion-list__item {
|
|
50
|
+
border: var(--dt-size-100) solid transparent;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.d-mention-suggestion__name {
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
text-overflow: ellipsis;
|
|
57
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.vue-recycle-scroller{
|
|
2
|
+
position:relative
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.vue-recycle-scroller.direction-vertical:not(.page-mode){
|
|
6
|
+
overflow-y:auto
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.vue-recycle-scroller.direction-horizontal:not(.page-mode){
|
|
10
|
+
overflow-x:auto
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.vue-recycle-scroller.direction-horizontal{
|
|
14
|
+
display:flex
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.vue-recycle-scroller__slot{
|
|
18
|
+
flex:auto 0 0
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.vue-recycle-scroller__item-wrapper{
|
|
22
|
+
position:relative;
|
|
23
|
+
flex:1;
|
|
24
|
+
box-sizing:border-box;
|
|
25
|
+
overflow:hidden
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{
|
|
29
|
+
position:absolute;
|
|
30
|
+
top:0;
|
|
31
|
+
left:0;
|
|
32
|
+
will-change:transform
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{
|
|
36
|
+
width:100%
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{
|
|
40
|
+
height:100%
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{
|
|
44
|
+
width:100%
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{
|
|
48
|
+
height:100%
|
|
49
|
+
}
|
|
@@ -17,9 +17,13 @@
|
|
|
17
17
|
// ============================================================================
|
|
18
18
|
// @ SKELETON CONTAINER
|
|
19
19
|
// ----------------------------------------------------------------------------
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
|
|
21
|
+
// The --placeholder-from-color and --placeholder-to-color
|
|
22
|
+
// custom properties can be set on the parent class of the
|
|
23
|
+
// placeholder to control the animation colors.
|
|
24
|
+
.d-skeleton-placeholder {
|
|
25
|
+
--placeholder-from-color: var(--dt-color-surface-bold-opaque);
|
|
26
|
+
--placeholder-to-color: var(--dt-color-surface-moderate-opaque);
|
|
23
27
|
|
|
24
28
|
display: flex;
|
|
25
29
|
width: 100%;
|
|
@@ -29,14 +33,14 @@
|
|
|
29
33
|
stroke: none;
|
|
30
34
|
|
|
31
35
|
&--animate {
|
|
32
|
-
animation-name: skeleton-placeholder-throb;
|
|
36
|
+
animation-name: d-skeleton-placeholder-throb;
|
|
33
37
|
animation-iteration-count: infinite;
|
|
34
38
|
}
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
// the animation is used by the skeleton component
|
|
38
|
-
@keyframes skeleton-placeholder-throb {
|
|
39
|
-
|
|
42
|
+
@keyframes d-skeleton-placeholder-throb {
|
|
43
|
+
10% {
|
|
40
44
|
background: var(--placeholder-from-color);
|
|
41
45
|
fill: var(--placeholder-from-color);
|
|
42
46
|
}
|
|
@@ -46,7 +50,7 @@
|
|
|
46
50
|
fill: var(--placeholder-to-color);
|
|
47
51
|
}
|
|
48
52
|
|
|
49
|
-
|
|
53
|
+
90% {
|
|
50
54
|
background: var(--placeholder-from-color);
|
|
51
55
|
fill: var(--placeholder-from-color);
|
|
52
56
|
}
|
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
// ============================================================================
|
|
28
28
|
// $ BASE STYLE
|
|
29
29
|
// ----------------------------------------------------------------------------
|
|
30
|
+
|
|
31
|
+
@import (inline) 'tippy.js/dist/svg-arrow.css';
|
|
32
|
+
|
|
30
33
|
.d-tooltip-container {
|
|
31
34
|
position: relative;
|
|
32
35
|
display: inline-flex;
|
|
@@ -34,6 +37,23 @@
|
|
|
34
37
|
justify-content: center;
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
.tippy-box[data-reference-hidden] {
|
|
41
|
+
visibility: hidden;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.tippy-box > .tippy-svg-arrow {
|
|
46
|
+
fill: var(--dt-color-surface-contrast);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.tippy-box[data-theme~='inverted'] > .tippy-svg-arrow {
|
|
50
|
+
fill: var(--dt-color-surface-moderate);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.tippy-box[data-animation='fade'][data-state='hidden'] {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
37
57
|
.d-tooltip {
|
|
38
58
|
// -- COMPONENT CSS VARS
|
|
39
59
|
// -----------------------
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
/* stylelint-disable meowtec/no-px */
|
|
2
|
+
|
|
1
3
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
2
4
|
|
|
3
5
|
/* Document
|
|
4
6
|
========================================================================== */
|
|
5
7
|
|
|
6
8
|
* {
|
|
7
|
-
padding: 0;
|
|
8
9
|
margin: 0;
|
|
10
|
+
padding: 0;
|
|
9
11
|
|
|
10
12
|
&,
|
|
11
13
|
&::before,
|
|
@@ -63,10 +65,9 @@ hr {
|
|
|
63
65
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
64
66
|
* 2. Correct the odd `em` font sizing in all browsers.
|
|
65
67
|
*/
|
|
66
|
-
// stylelint-disable
|
|
67
68
|
pre {
|
|
68
|
-
font-family: monospace, monospace; /* 1 */
|
|
69
69
|
font-size: 1em; /* 2 */
|
|
70
|
+
font-family: monospace; /* 1 */
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
/* Text-level semantics
|
|
@@ -94,9 +95,9 @@ u {
|
|
|
94
95
|
*/
|
|
95
96
|
|
|
96
97
|
abbr[title] {
|
|
97
|
-
border-bottom: none; /* 1 */
|
|
98
98
|
text-decoration: underline; /* 2 */
|
|
99
99
|
text-decoration: underline dotted; /* 2 */
|
|
100
|
+
border-bottom: none; /* 1 */
|
|
100
101
|
text-underline-offset: calc(var(--dt-size-border-300) - var(--dt-size-border-100));
|
|
101
102
|
text-decoration-thickness: var(--dt-size-border-100);
|
|
102
103
|
}
|
|
@@ -123,10 +124,10 @@ strong {
|
|
|
123
124
|
code,
|
|
124
125
|
kbd,
|
|
125
126
|
samp {
|
|
126
|
-
font-family: monospace, monospace; /* 1 */
|
|
127
127
|
font-size: 1em; /* 2 */
|
|
128
|
+
font-family: monospace; /* 1 */
|
|
128
129
|
}
|
|
129
|
-
|
|
130
|
+
|
|
130
131
|
/**
|
|
131
132
|
* Add the correct font size in all browsers.
|
|
132
133
|
*/
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
@import 'components/collapsible';
|
|
26
26
|
@import 'components/combobox';
|
|
27
27
|
@import 'components/datepicker';
|
|
28
|
+
@import 'components/dropdown';
|
|
29
|
+
@import 'components/description-list';
|
|
28
30
|
@import 'components/empty-state';
|
|
29
31
|
@import 'components/forms';
|
|
30
32
|
@import 'components/image-viewer';
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
@import 'components/link';
|
|
34
36
|
@import 'components/list-group'; // Dialtone 5 shim
|
|
35
37
|
@import 'components/list-item-group';
|
|
38
|
+
@import 'components/list-item';
|
|
36
39
|
@import 'components/modal';
|
|
37
40
|
@import 'components/notice';
|
|
38
41
|
@import 'components/toast';
|
|
@@ -40,6 +43,8 @@
|
|
|
40
43
|
@import 'components/pagination';
|
|
41
44
|
@import 'components/popover';
|
|
42
45
|
@import 'components/radio-checkbox';
|
|
46
|
+
@import 'components/rich-text-editor';
|
|
47
|
+
@import 'components/scroller';
|
|
43
48
|
@import 'components/selects';
|
|
44
49
|
@import 'components/skeleton';
|
|
45
50
|
@import 'components/table';
|