@dialpad/dialtone-css 8.75.0 → 8.75.1
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/motion_text.less +296 -0
- package/lib/build/less/components/popover.less +0 -7
- package/lib/build/less/dialtone.less +3 -3
- package/lib/dist/dialtone-default-theme.css +317 -321
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone.css +317 -321
- package/lib/dist/dialtone.min.css +1 -1
- package/lib/dist/tokens-docs.json +1 -1
- package/package.json +3 -3
- package/lib/build/less/recipes/motion_text.less +0 -296
- /package/lib/build/less/{recipes/combobox_multi_select.less → components/combobox-multi-select.less} +0 -0
- /package/lib/build/less/{recipes/combobox_with_popover.less → components/combobox-with-popover.less} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-css",
|
|
3
|
-
"version": "8.75.
|
|
3
|
+
"version": "8.75.1",
|
|
4
4
|
"description": "Dialpad's design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Dialpad",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"less": "^4.2.0",
|
|
79
79
|
"oslllo-svg-fixer": "^2.2.0",
|
|
80
80
|
"through2": "^4.0.2",
|
|
81
|
-
"@dialpad/
|
|
82
|
-
"@dialpad/
|
|
81
|
+
"@dialpad/postcss-responsive-variations": "1.2.3",
|
|
82
|
+
"@dialpad/dialtone-tokens": "1.47.4"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"chalk": "^5.2.0",
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// DIALTONE
|
|
3
|
-
// RECIPES: MOTION TEXT
|
|
4
|
-
//
|
|
5
|
-
// TABLE OF CONTENTS
|
|
6
|
-
// • CSS CUSTOM PROPERTIES
|
|
7
|
-
// • BASE STYLE
|
|
8
|
-
// • CHILD ELEMENTS
|
|
9
|
-
// • ANIMATION KEYFRAMES
|
|
10
|
-
// • TRANSITION CLASSES - GRADIENT IN
|
|
11
|
-
// • TRANSITION CLASSES - FADE IN
|
|
12
|
-
// • TRANSITION CLASSES - SLIDE IN
|
|
13
|
-
// • GRADIENT IN
|
|
14
|
-
// • GRADIENT SWEEP & SHIMMER
|
|
15
|
-
// • MODIFIERS
|
|
16
|
-
// • ACCESSIBILITY
|
|
17
|
-
//
|
|
18
|
-
// ============================================================================
|
|
19
|
-
// $ CSS CUSTOM PROPERTIES
|
|
20
|
-
// ----------------------------------------------------------------------------
|
|
21
|
-
@property --dt-recipe-motion-text-mask-pos {
|
|
22
|
-
inherits: true;
|
|
23
|
-
initial-value: 0%;
|
|
24
|
-
syntax: '<percentage>';
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// ============================================================================
|
|
28
|
-
// $ BASE STYLE
|
|
29
|
-
// ----------------------------------------------------------------------------
|
|
30
|
-
.dt-recipe-motion-text {
|
|
31
|
-
/* Theme variables - can be overridden by design system */
|
|
32
|
-
--dt-recipe-motion-text-duration: 1000ms;
|
|
33
|
-
--dt-recipe-motion-text-char-duration: var(--dt-recipe-motion-text-duration);
|
|
34
|
-
--dt-recipe-motion-text-word-duration: calc(var(--dt-recipe-motion-text-duration) * 2);
|
|
35
|
-
--dt-recipe-motion-text-highlight-color: linear-gradient(135deg, var(--dt-color-brand-magenta) 10%, var(--dt-color-brand-purple) 80%, var(--dt-color-brand-gold) 100%);
|
|
36
|
-
--dt-recipe-motion-text-gradient: linear-gradient(
|
|
37
|
-
90deg,
|
|
38
|
-
transparent 0%,
|
|
39
|
-
transparent 20%,
|
|
40
|
-
black 40%,
|
|
41
|
-
black 60%,
|
|
42
|
-
transparent 80%,
|
|
43
|
-
transparent 100%
|
|
44
|
-
) 0% 0% / 500% 100%;
|
|
45
|
-
--dt-recipe-motion-text-shimmer-gradient: linear-gradient(
|
|
46
|
-
90deg,
|
|
47
|
-
black 0%,
|
|
48
|
-
black 20%,
|
|
49
|
-
#0005 40%,
|
|
50
|
-
#0005 60%,
|
|
51
|
-
black 80%,
|
|
52
|
-
black 100%
|
|
53
|
-
) 0% 0% / 500% 100%;
|
|
54
|
-
|
|
55
|
-
position: relative;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// ============================================================================
|
|
59
|
-
// $ CHILD ELEMENTS
|
|
60
|
-
// ----------------------------------------------------------------------------
|
|
61
|
-
.dt-recipe-motion-text__sr-only {
|
|
62
|
-
position: absolute;
|
|
63
|
-
width: 1px;
|
|
64
|
-
height: 1px;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
white-space: nowrap;
|
|
67
|
-
clip-path: inset(50%);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.dt-recipe-motion-text__content {
|
|
71
|
-
display: contents;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.dt-recipe-motion-text__fallback {
|
|
75
|
-
display: contents;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.dt-recipe-motion-text__char {
|
|
79
|
-
display: inline;
|
|
80
|
-
white-space: pre;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.dt-recipe-motion-text__word {
|
|
84
|
-
position: relative;
|
|
85
|
-
display: inline-block;
|
|
86
|
-
white-space: nowrap;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// ============================================================================
|
|
90
|
-
// $ ANIMATION KEYFRAMES
|
|
91
|
-
// ----------------------------------------------------------------------------
|
|
92
|
-
|
|
93
|
-
// Gradient-in mode animations
|
|
94
|
-
@keyframes dt-recipe-motion-text-gradient-in-char-appear {
|
|
95
|
-
from {
|
|
96
|
-
opacity: 0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
to {
|
|
100
|
-
opacity: 1;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@keyframes dt-recipe-motion-text-gradient-in-char-reveal {
|
|
105
|
-
from {
|
|
106
|
-
color: var(--dt-color-neutral-transparent);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
to {
|
|
110
|
-
color: inherit;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@keyframes dt-recipe-motion-text-gradient-in-word-reveal {
|
|
115
|
-
from {
|
|
116
|
-
--dt-recipe-motion-text-mask-pos: 100%;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
to {
|
|
120
|
-
--dt-recipe-motion-text-mask-pos: 0%;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// Fade-in mode animations
|
|
125
|
-
@keyframes dt-recipe-motion-text-fade-in-char-appear {
|
|
126
|
-
from {
|
|
127
|
-
opacity: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
to {
|
|
131
|
-
opacity: 1;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@keyframes dt-recipe-motion-text-fade-in-word-appear {
|
|
136
|
-
from {
|
|
137
|
-
opacity: 0;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
to {
|
|
141
|
-
opacity: 1;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// Slide-in mode animations
|
|
146
|
-
@keyframes dt-recipe-motion-text-slide-in-char-appear {
|
|
147
|
-
from {
|
|
148
|
-
transform: translateY(0.3em);
|
|
149
|
-
opacity: 0;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
to {
|
|
153
|
-
transform: translateY(0);
|
|
154
|
-
opacity: 1;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@keyframes dt-recipe-motion-text-slide-in-word-appear {
|
|
159
|
-
from {
|
|
160
|
-
transform: translateY(0.5em);
|
|
161
|
-
opacity: 0;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
to {
|
|
165
|
-
transform: translateY(0);
|
|
166
|
-
opacity: 1;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// ============================================================================
|
|
171
|
-
// $ TRANSITION CLASSES - GRADIENT IN
|
|
172
|
-
// ----------------------------------------------------------------------------
|
|
173
|
-
.dt-recipe-motion-text-char-gradient-in-enter-active {
|
|
174
|
-
animation: dt-recipe-motion-text-gradient-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-in-out);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.dt-recipe-motion-text-char-gradient-in-leave-active {
|
|
178
|
-
animation: dt-recipe-motion-text-gradient-in-char-appear calc(var(--dt-recipe-motion-text-char-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.dt-recipe-motion-text-word-gradient-in-enter-active {
|
|
182
|
-
animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 1.5) var(--ttf-out-quint);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.dt-recipe-motion-text-word-gradient-in-leave-active {
|
|
186
|
-
animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
// ============================================================================
|
|
190
|
-
// $ TRANSITION CLASSES - FADE IN
|
|
191
|
-
// ----------------------------------------------------------------------------
|
|
192
|
-
.dt-recipe-motion-text-char-fade-in-enter-active {
|
|
193
|
-
animation: dt-recipe-motion-text-fade-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-out-quint);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.dt-recipe-motion-text-char-fade-in-leave-active {
|
|
197
|
-
animation: dt-recipe-motion-text-fade-in-char-appear calc(var(--dt-recipe-motion-text-char-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.dt-recipe-motion-text-word-fade-in-enter-active {
|
|
201
|
-
animation: dt-recipe-motion-text-fade-in-word-appear var(--dt-recipe-motion-text-word-duration) var(--ttf-out-quint);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.dt-recipe-motion-text-word-fade-in-leave-active {
|
|
205
|
-
animation: dt-recipe-motion-text-fade-in-word-appear calc(var(--dt-recipe-motion-text-word-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
// ============================================================================
|
|
209
|
-
// $ TRANSITION CLASSES - SLIDE IN
|
|
210
|
-
// ----------------------------------------------------------------------------
|
|
211
|
-
.dt-recipe-motion-text-char-slide-in-enter-active {
|
|
212
|
-
animation: dt-recipe-motion-text-slide-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-out-quint);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.dt-recipe-motion-text-char-slide-in-leave-active {
|
|
216
|
-
animation: dt-recipe-motion-text-slide-in-char-appear calc(var(--dt-recipe-motion-text-char-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.dt-recipe-motion-text-word-slide-in-enter-active {
|
|
220
|
-
animation: dt-recipe-motion-text-slide-in-word-appear var(--dt-recipe-motion-text-word-duration) var(--ttf-out-quint);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.dt-recipe-motion-text-word-slide-in-leave-active {
|
|
224
|
-
animation: dt-recipe-motion-text-slide-in-word-appear calc(var(--dt-recipe-motion-text-word-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
// ============================================================================
|
|
228
|
-
// $ GRADIENT IN
|
|
229
|
-
// ----------------------------------------------------------------------------
|
|
230
|
-
// Delay reveal of character text color to prevent a flash on the first letter
|
|
231
|
-
.dt-recipe-motion-text--gradient-in .dt-recipe-motion-text__char {
|
|
232
|
-
animation: dt-recipe-motion-text-gradient-in-char-reveal var(--dt-recipe-motion-text-char-duration) var(--ttf-in-out);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// ============================================================================
|
|
236
|
-
// $ GRADIENT SWEEP & SHIMMER
|
|
237
|
-
// ----------------------------------------------------------------------------
|
|
238
|
-
.dt-recipe-motion-text--gradient-sweep,
|
|
239
|
-
.dt-recipe-motion-text--shimmer {
|
|
240
|
-
position: relative;
|
|
241
|
-
display: inline-block;
|
|
242
|
-
animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 1.5) var(--ttf-in-out) 1;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.dt-recipe-motion-text--gradient-in .dt-recipe-motion-text__word::before,
|
|
246
|
-
.dt-recipe-motion-text--gradient-sweep::before {
|
|
247
|
-
position: absolute;
|
|
248
|
-
font-size: inherit;
|
|
249
|
-
line-height: inherit;
|
|
250
|
-
letter-spacing: inherit;
|
|
251
|
-
background: var(--dt-recipe-motion-text-highlight-color);
|
|
252
|
-
-webkit-background-clip: text;
|
|
253
|
-
background-clip: text;
|
|
254
|
-
content: attr(data-text-content);
|
|
255
|
-
pointer-events: none;
|
|
256
|
-
-webkit-text-fill-color: transparent;
|
|
257
|
-
mask: var(--dt-recipe-motion-text-gradient);
|
|
258
|
-
mask-position: var(--dt-recipe-motion-text-mask-pos) 0%;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.dt-recipe-motion-text--shimmer {
|
|
262
|
-
content: attr(data-text-content);
|
|
263
|
-
mask: var(--dt-recipe-motion-text-shimmer-gradient);
|
|
264
|
-
mask-position: var(--dt-recipe-motion-text-mask-pos) 0%;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
// ============================================================================
|
|
268
|
-
// $ MODIFIERS
|
|
269
|
-
// ----------------------------------------------------------------------------
|
|
270
|
-
.dt-recipe-motion-text--none .dt-recipe-motion-text__word,
|
|
271
|
-
.dt-recipe-motion-text--none .dt-recipe-motion-text__char {
|
|
272
|
-
transform: none;
|
|
273
|
-
opacity: 1;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.dt-recipe-motion-text--paused {
|
|
277
|
-
animation-play-state: paused !important;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.dt-recipe-motion-text--looped {
|
|
281
|
-
animation-iteration-count: infinite !important;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
// ============================================================================
|
|
285
|
-
// $ ACCESSIBILITY
|
|
286
|
-
// ----------------------------------------------------------------------------
|
|
287
|
-
@media (prefers-reduced-motion: reduce) {
|
|
288
|
-
.dt-recipe-motion-text {
|
|
289
|
-
--dt-recipe-motion-text-duration: 0ms;
|
|
290
|
-
--dt-recipe-motion-text-char-duration: 0ms;
|
|
291
|
-
--dt-recipe-motion-text-word-duration: 0ms;
|
|
292
|
-
|
|
293
|
-
transition-duration: 0ms !important;
|
|
294
|
-
animation-duration: 0ms !important;
|
|
295
|
-
}
|
|
296
|
-
}
|
/package/lib/build/less/{recipes/combobox_multi_select.less → components/combobox-multi-select.less}
RENAMED
|
File without changes
|
/package/lib/build/less/{recipes/combobox_with_popover.less → components/combobox-with-popover.less}
RENAMED
|
File without changes
|