@sigx/zero-daisyui 0.6.0 → 0.7.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/README.md +1 -2
- package/dist/audit.json +1805 -70
- package/dist/components.d.ts +9 -0
- package/dist/components.js +1 -0
- package/dist/css/components/fieldset.css +91 -0
- package/dist/css/components/menu.css +66 -0
- package/dist/css/components/popover.css +72 -0
- package/dist/css/components/progress.css +0 -4
- package/dist/css/components/table.css +70 -0
- package/dist/css/components/tooltip.css +65 -0
- package/dist/css/index.css +363 -4
- package/dist/lynx/components/accordion.css +4 -0
- package/dist/lynx/components/button.css +53 -1
- package/dist/lynx/components/dialog.css +19 -0
- package/dist/lynx/components/fieldset.css +219 -0
- package/dist/lynx/components/popover.css +37 -0
- package/dist/lynx/components/progress.css +0 -20
- package/dist/lynx/components/select.css +12 -1
- package/dist/lynx/components/slider.css +292 -10
- package/dist/lynx/components/switch.css +2 -0
- package/dist/lynx/components/table.css +52 -0
- package/dist/lynx/components/tabs.css +102 -93
- package/dist/lynx/components/timeline.css +58 -1
- package/dist/lynx/components/toast.css +41 -6
- package/dist/lynx/index.css +894 -134
- package/dist/lynx/manifest.json +30 -3
- package/dist/manifest.json +28 -1
- package/dist/recipes.d.ts +10 -0
- package/dist/recipes.d.ts.map +1 -1
- package/dist/recipes.js +508 -55
- package/dist/recipes.js.map +1 -1
- package/dist/register.d.ts +9 -0
- package/dist/report.json +303 -57
- package/package.json +4 -4
- package/src/recipes.ts +514 -55
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
overflow-x: auto;
|
|
17
17
|
padding: var(--tabs-ring-room);
|
|
18
18
|
scroll-padding-inline: var(--tabs-ring-room);
|
|
19
|
+
position: relative;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
.zx-tabs__tab {
|
|
@@ -30,7 +31,6 @@
|
|
|
30
31
|
cursor: pointer;
|
|
31
32
|
position: relative;
|
|
32
33
|
transition: background var(--duration-normal) var(--ease-standard), color var(--duration-normal) var(--ease-standard);
|
|
33
|
-
--tab-active-ink: var(--color-base-content);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.zx-root .zx-tabs__tab {
|
|
@@ -67,8 +67,13 @@
|
|
|
67
67
|
outline-offset: 2px;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
.zx-tabs__tab.zx-f-pressed {
|
|
71
|
+
color: var(--color-base-content);
|
|
72
|
+
}
|
|
73
|
+
|
|
70
74
|
.zx-tabs__indicator {
|
|
71
75
|
display: none;
|
|
76
|
+
--tab-active-ink: var(--color-base-content);
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
.zx-tabs__panel {
|
|
@@ -99,26 +104,6 @@
|
|
|
99
104
|
--tab-px: var(--space-2xl);
|
|
100
105
|
}
|
|
101
106
|
|
|
102
|
-
.zx-root .zx-tabs__tab.zx-a-color-primary {
|
|
103
|
-
--tab-active-ink: #3f2bcb;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.zx-root.zx-theme-dark .zx-tabs__tab.zx-a-color-primary {
|
|
107
|
-
--tab-active-ink: #6567ff;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.zx-root.zx-theme-dim .zx-tabs__tab.zx-a-color-primary {
|
|
111
|
-
--tab-active-ink: #a0e791;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.zx-root.zx-theme-nord .zx-tabs__tab.zx-a-color-primary {
|
|
115
|
-
--tab-active-ink: #5c7da6;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.zx-root.zx-theme-sunset .zx-tabs__tab.zx-a-color-primary {
|
|
119
|
-
--tab-active-ink: #fb8a62;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
107
|
.zx-root .zx-tabs__tab.zx-a-color-primary.zx-s-active {
|
|
123
108
|
color: #3f2bcb;
|
|
124
109
|
}
|
|
@@ -139,24 +124,24 @@
|
|
|
139
124
|
color: #fb8a62;
|
|
140
125
|
}
|
|
141
126
|
|
|
142
|
-
.zx-root .zx-
|
|
143
|
-
--tab-active-ink: #
|
|
127
|
+
.zx-root .zx-tabs__indicator.zx-a-color-primary {
|
|
128
|
+
--tab-active-ink: #3f2bcb;
|
|
144
129
|
}
|
|
145
130
|
|
|
146
|
-
.zx-root.zx-theme-dark .zx-
|
|
147
|
-
--tab-active-ink: #
|
|
131
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-primary {
|
|
132
|
+
--tab-active-ink: #6567ff;
|
|
148
133
|
}
|
|
149
134
|
|
|
150
|
-
.zx-root.zx-theme-dim .zx-
|
|
151
|
-
--tab-active-ink: #
|
|
135
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-primary {
|
|
136
|
+
--tab-active-ink: #a0e791;
|
|
152
137
|
}
|
|
153
138
|
|
|
154
|
-
.zx-root.zx-theme-nord .zx-
|
|
155
|
-
--tab-active-ink: #
|
|
139
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-primary {
|
|
140
|
+
--tab-active-ink: #5c7da6;
|
|
156
141
|
}
|
|
157
142
|
|
|
158
|
-
.zx-root.zx-theme-sunset .zx-
|
|
159
|
-
--tab-active-ink: #
|
|
143
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-primary {
|
|
144
|
+
--tab-active-ink: #fb8a62;
|
|
160
145
|
}
|
|
161
146
|
|
|
162
147
|
.zx-root .zx-tabs__tab.zx-a-color-secondary.zx-s-active {
|
|
@@ -179,24 +164,24 @@
|
|
|
179
164
|
color: #e68aac;
|
|
180
165
|
}
|
|
181
166
|
|
|
182
|
-
.zx-root .zx-
|
|
183
|
-
--tab-active-ink: #
|
|
167
|
+
.zx-root .zx-tabs__indicator.zx-a-color-secondary {
|
|
168
|
+
--tab-active-ink: #ad316f;
|
|
184
169
|
}
|
|
185
170
|
|
|
186
|
-
.zx-root.zx-theme-dark .zx-
|
|
187
|
-
--tab-active-ink: #
|
|
171
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-secondary {
|
|
172
|
+
--tab-active-ink: #fa7cb6;
|
|
188
173
|
}
|
|
189
174
|
|
|
190
|
-
.zx-root.zx-theme-dim .zx-
|
|
191
|
-
--tab-active-ink: #
|
|
175
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-secondary {
|
|
176
|
+
--tab-active-ink: #ed9984;
|
|
192
177
|
}
|
|
193
178
|
|
|
194
|
-
.zx-root.zx-theme-nord .zx-
|
|
195
|
-
--tab-active-ink: #
|
|
179
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-secondary {
|
|
180
|
+
--tab-active-ink: #677e98;
|
|
196
181
|
}
|
|
197
182
|
|
|
198
|
-
.zx-root.zx-theme-sunset .zx-
|
|
199
|
-
--tab-active-ink: #
|
|
183
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-secondary {
|
|
184
|
+
--tab-active-ink: #e68aac;
|
|
200
185
|
}
|
|
201
186
|
|
|
202
187
|
.zx-root .zx-tabs__tab.zx-a-color-accent.zx-s-active {
|
|
@@ -219,24 +204,24 @@
|
|
|
219
204
|
color: #ab9fe8;
|
|
220
205
|
}
|
|
221
206
|
|
|
222
|
-
.zx-root .zx-
|
|
223
|
-
--tab-active-ink: #
|
|
207
|
+
.zx-root .zx-tabs__indicator.zx-a-color-accent {
|
|
208
|
+
--tab-active-ink: #2b786d;
|
|
224
209
|
}
|
|
225
210
|
|
|
226
|
-
.zx-root.zx-theme-dark .zx-
|
|
227
|
-
--tab-active-ink: #
|
|
211
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-accent {
|
|
212
|
+
--tab-active-ink: #93e5d9;
|
|
228
213
|
}
|
|
229
214
|
|
|
230
|
-
.zx-root.zx-theme-dim .zx-
|
|
231
|
-
--tab-active-ink: #
|
|
215
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-accent {
|
|
216
|
+
--tab-active-ink: #bfade1;
|
|
232
217
|
}
|
|
233
218
|
|
|
234
|
-
.zx-root.zx-theme-nord .zx-
|
|
235
|
-
--tab-active-ink: #
|
|
219
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-accent {
|
|
220
|
+
--tab-active-ink: #5e7d8c;
|
|
236
221
|
}
|
|
237
222
|
|
|
238
|
-
.zx-root.zx-theme-sunset .zx-
|
|
239
|
-
--tab-active-ink: #
|
|
223
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-accent {
|
|
224
|
+
--tab-active-ink: #ab9fe8;
|
|
240
225
|
}
|
|
241
226
|
|
|
242
227
|
.zx-root .zx-tabs__tab.zx-a-color-neutral.zx-s-active {
|
|
@@ -259,24 +244,24 @@
|
|
|
259
244
|
color: #667a8a;
|
|
260
245
|
}
|
|
261
246
|
|
|
262
|
-
.zx-root .zx-
|
|
263
|
-
--tab-active-ink: #
|
|
247
|
+
.zx-root .zx-tabs__indicator.zx-a-color-neutral {
|
|
248
|
+
--tab-active-ink: #121214;
|
|
264
249
|
}
|
|
265
250
|
|
|
266
|
-
.zx-root.zx-theme-dark .zx-
|
|
267
|
-
--tab-active-ink: #
|
|
251
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-neutral {
|
|
252
|
+
--tab-active-ink: #878e92;
|
|
268
253
|
}
|
|
269
254
|
|
|
270
|
-
.zx-root.zx-theme-dim .zx-
|
|
271
|
-
--tab-active-ink: #
|
|
255
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-neutral {
|
|
256
|
+
--tab-active-ink: #71828c;
|
|
272
257
|
}
|
|
273
258
|
|
|
274
|
-
.zx-root.zx-theme-nord .zx-
|
|
275
|
-
--tab-active-ink: #
|
|
259
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-neutral {
|
|
260
|
+
--tab-active-ink: #3a4150;
|
|
276
261
|
}
|
|
277
262
|
|
|
278
|
-
.zx-root.zx-theme-sunset .zx-
|
|
279
|
-
--tab-active-ink: #
|
|
263
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-neutral {
|
|
264
|
+
--tab-active-ink: #667a8a;
|
|
280
265
|
}
|
|
281
266
|
|
|
282
267
|
.zx-root .zx-tabs__tab.zx-a-color-info.zx-s-active {
|
|
@@ -299,24 +284,24 @@
|
|
|
299
284
|
color: #91d4e3;
|
|
300
285
|
}
|
|
301
286
|
|
|
302
|
-
.zx-root .zx-
|
|
303
|
-
--tab-active-ink: #
|
|
287
|
+
.zx-root .zx-tabs__indicator.zx-a-color-info {
|
|
288
|
+
--tab-active-ink: #2685b3;
|
|
304
289
|
}
|
|
305
290
|
|
|
306
|
-
.zx-root.zx-theme-dark .zx-
|
|
307
|
-
--tab-active-ink: #
|
|
291
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-info {
|
|
292
|
+
--tab-active-ink: #70ceff;
|
|
308
293
|
}
|
|
309
294
|
|
|
310
|
-
.zx-root.zx-theme-dim .zx-
|
|
311
|
-
--tab-active-ink: #
|
|
295
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-info {
|
|
296
|
+
--tab-active-ink: #6ce2f3;
|
|
312
297
|
}
|
|
313
298
|
|
|
314
|
-
.zx-root.zx-theme-nord .zx-
|
|
315
|
-
--tab-active-ink: #
|
|
299
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-info {
|
|
300
|
+
--tab-active-ink: #89728a;
|
|
316
301
|
}
|
|
317
302
|
|
|
318
|
-
.zx-root.zx-theme-sunset .zx-
|
|
319
|
-
--tab-active-ink: #
|
|
303
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-info {
|
|
304
|
+
--tab-active-ink: #91d4e3;
|
|
320
305
|
}
|
|
321
306
|
|
|
322
307
|
.zx-root .zx-tabs__tab.zx-a-color-success.zx-s-active {
|
|
@@ -339,24 +324,24 @@
|
|
|
339
324
|
color: #a6cebe;
|
|
340
325
|
}
|
|
341
326
|
|
|
342
|
-
.zx-root .zx-
|
|
343
|
-
--tab-active-ink: #
|
|
327
|
+
.zx-root .zx-tabs__indicator.zx-a-color-success {
|
|
328
|
+
--tab-active-ink: #2a7858;
|
|
344
329
|
}
|
|
345
330
|
|
|
346
|
-
.zx-root.zx-theme-dark .zx-
|
|
347
|
-
--tab-active-ink: #
|
|
331
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-success {
|
|
332
|
+
--tab-active-ink: #92e5c2;
|
|
348
333
|
}
|
|
349
334
|
|
|
350
|
-
.zx-root.zx-theme-dim .zx-
|
|
351
|
-
--tab-active-ink: #
|
|
335
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-success {
|
|
336
|
+
--tab-active-ink: #8ee0c9;
|
|
352
337
|
}
|
|
353
338
|
|
|
354
|
-
.zx-root.zx-theme-nord .zx-
|
|
355
|
-
--tab-active-ink: #
|
|
339
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-success {
|
|
340
|
+
--tab-active-ink: #6b7d6a;
|
|
356
341
|
}
|
|
357
342
|
|
|
358
|
-
.zx-root.zx-theme-sunset .zx-
|
|
359
|
-
--tab-active-ink: #
|
|
343
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-success {
|
|
344
|
+
--tab-active-ink: #a6cebe;
|
|
360
345
|
}
|
|
361
346
|
|
|
362
347
|
.zx-root .zx-tabs__tab.zx-a-color-warning.zx-s-active {
|
|
@@ -379,24 +364,24 @@
|
|
|
379
364
|
color: #c5c1b7;
|
|
380
365
|
}
|
|
381
366
|
|
|
382
|
-
.zx-root .zx-
|
|
383
|
-
--tab-active-ink: #
|
|
367
|
+
.zx-root .zx-tabs__indicator.zx-a-color-warning {
|
|
368
|
+
--tab-active-ink: #755a2b;
|
|
384
369
|
}
|
|
385
370
|
|
|
386
|
-
.zx-root.zx-theme-dark .zx-
|
|
387
|
-
--tab-active-ink: #
|
|
371
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-warning {
|
|
372
|
+
--tab-active-ink: #f5ddac;
|
|
388
373
|
}
|
|
389
374
|
|
|
390
|
-
.zx-root.zx-theme-dim .zx-
|
|
391
|
-
--tab-active-ink: #
|
|
375
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-warning {
|
|
376
|
+
--tab-active-ink: #cecfa6;
|
|
392
377
|
}
|
|
393
378
|
|
|
394
|
-
.zx-root.zx-theme-nord .zx-
|
|
395
|
-
--tab-active-ink: #
|
|
379
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-warning {
|
|
380
|
+
--tab-active-ink: #7d7463;
|
|
396
381
|
}
|
|
397
382
|
|
|
398
|
-
.zx-root.zx-theme-sunset .zx-
|
|
399
|
-
--tab-active-ink: #
|
|
383
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-warning {
|
|
384
|
+
--tab-active-ink: #c5c1b7;
|
|
400
385
|
}
|
|
401
386
|
|
|
402
387
|
.zx-root .zx-tabs__tab.zx-a-color-error.zx-s-active {
|
|
@@ -419,13 +404,37 @@
|
|
|
419
404
|
color: #f2bbc0;
|
|
420
405
|
}
|
|
421
406
|
|
|
407
|
+
.zx-root .zx-tabs__indicator.zx-a-color-error {
|
|
408
|
+
--tab-active-ink: #d9576d;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.zx-root.zx-theme-dark .zx-tabs__indicator.zx-a-color-error {
|
|
412
|
+
--tab-active-ink: #ff7d90;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.zx-root.zx-theme-dim .zx-tabs__indicator.zx-a-color-error {
|
|
416
|
+
--tab-active-ink: #f5b3a4;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.zx-root.zx-theme-nord .zx-tabs__indicator.zx-a-color-error {
|
|
420
|
+
--tab-active-ink: #a85b64;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.zx-root.zx-theme-sunset .zx-tabs__indicator.zx-a-color-error {
|
|
424
|
+
--tab-active-ink: #f2bbc0;
|
|
425
|
+
}
|
|
426
|
+
|
|
422
427
|
.zx-tabs__tab.zx-a-variant-border {
|
|
423
428
|
border-radius: var(--radius-field);
|
|
424
|
-
border-bottom: 3px solid transparent;
|
|
425
429
|
}
|
|
426
430
|
|
|
427
|
-
.zx-
|
|
431
|
+
.zx-tabs__indicator.zx-a-variant-border {
|
|
432
|
+
display: flex;
|
|
433
|
+
box-sizing: border-box;
|
|
434
|
+
border-bottom-width: 3px;
|
|
435
|
+
border-bottom-style: solid;
|
|
428
436
|
border-bottom-color: var(--tab-active-ink);
|
|
437
|
+
transform: scaleX(0.8);
|
|
429
438
|
}
|
|
430
439
|
|
|
431
440
|
.zx-tabs__tab.zx-a-variant-lift {
|
|
@@ -17,8 +17,11 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.zx-timeline__item {
|
|
20
|
-
display:
|
|
20
|
+
display: flex;
|
|
21
21
|
position: relative;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
flex-wrap: wrap;
|
|
24
|
+
align-items: center;
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
.zx-timeline__item.zx-o-vertical {
|
|
@@ -43,30 +46,42 @@
|
|
|
43
46
|
align-items: center;
|
|
44
47
|
justify-content: center;
|
|
45
48
|
font-size: 0;
|
|
49
|
+
width: calc(var(--size-selector) * 3);
|
|
50
|
+
height: calc(var(--size-selector) * 3);
|
|
51
|
+
flex-grow: 0;
|
|
52
|
+
flex-shrink: 0;
|
|
46
53
|
}
|
|
47
54
|
|
|
48
55
|
.zx-timeline__marker.zx-a-size-xs {
|
|
49
56
|
inline-size: calc(var(--size-selector) * 2);
|
|
50
57
|
block-size: calc(var(--size-selector) * 2);
|
|
51
58
|
border: calc((var(--size-selector) * 2) / 6) solid var(--timeline-ring);
|
|
59
|
+
width: calc(var(--size-selector) * 2);
|
|
60
|
+
height: calc(var(--size-selector) * 2);
|
|
52
61
|
}
|
|
53
62
|
|
|
54
63
|
.zx-timeline__marker.zx-a-size-sm {
|
|
55
64
|
inline-size: calc(var(--size-selector) * 2.5);
|
|
56
65
|
block-size: calc(var(--size-selector) * 2.5);
|
|
57
66
|
border: calc((var(--size-selector) * 2.5) / 6) solid var(--timeline-ring);
|
|
67
|
+
width: calc(var(--size-selector) * 2.5);
|
|
68
|
+
height: calc(var(--size-selector) * 2.5);
|
|
58
69
|
}
|
|
59
70
|
|
|
60
71
|
.zx-timeline__marker.zx-a-size-lg {
|
|
61
72
|
inline-size: calc(var(--size-selector) * 3.5);
|
|
62
73
|
block-size: calc(var(--size-selector) * 3.5);
|
|
63
74
|
border: calc((var(--size-selector) * 3.5) / 6) solid var(--timeline-ring);
|
|
75
|
+
width: calc(var(--size-selector) * 3.5);
|
|
76
|
+
height: calc(var(--size-selector) * 3.5);
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
.zx-timeline__marker.zx-a-size-xl {
|
|
67
80
|
inline-size: calc(var(--size-selector) * 4);
|
|
68
81
|
block-size: calc(var(--size-selector) * 4);
|
|
69
82
|
border: calc((var(--size-selector) * 4) / 6) solid var(--timeline-ring);
|
|
83
|
+
width: calc(var(--size-selector) * 4);
|
|
84
|
+
height: calc(var(--size-selector) * 4);
|
|
70
85
|
}
|
|
71
86
|
|
|
72
87
|
.zx-timeline__connector {
|
|
@@ -80,6 +95,31 @@
|
|
|
80
95
|
inline-size: var(--border);
|
|
81
96
|
min-block-size: var(--space-lg);
|
|
82
97
|
block-size: 100%;
|
|
98
|
+
flex-grow: 0;
|
|
99
|
+
flex-shrink: 1;
|
|
100
|
+
flex-basis: 100%;
|
|
101
|
+
height: var(--space-lg);
|
|
102
|
+
background: transparent;
|
|
103
|
+
border-left-width: var(--border);
|
|
104
|
+
border-left-style: solid;
|
|
105
|
+
border-left-color: var(--color-base-300);
|
|
106
|
+
margin-left: calc((var(--size-selector) * 3) / 2 - var(--border) / 2);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.zx-timeline__connector.zx-o-vertical.zx-a-size-xs {
|
|
110
|
+
margin-left: calc((var(--size-selector) * 2) / 2 - var(--border) / 2);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.zx-timeline__connector.zx-o-vertical.zx-a-size-sm {
|
|
114
|
+
margin-left: calc((var(--size-selector) * 2.5) / 2 - var(--border) / 2);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.zx-timeline__connector.zx-o-vertical.zx-a-size-lg {
|
|
118
|
+
margin-left: calc((var(--size-selector) * 3.5) / 2 - var(--border) / 2);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.zx-timeline__connector.zx-o-vertical.zx-a-size-xl {
|
|
122
|
+
margin-left: calc((var(--size-selector) * 4) / 2 - var(--border) / 2);
|
|
83
123
|
}
|
|
84
124
|
|
|
85
125
|
.zx-timeline__connector.zx-o-horizontal {
|
|
@@ -89,6 +129,12 @@
|
|
|
89
129
|
block-size: var(--border);
|
|
90
130
|
min-inline-size: var(--space-lg);
|
|
91
131
|
inline-size: 100%;
|
|
132
|
+
order: 1;
|
|
133
|
+
flex-grow: 1;
|
|
134
|
+
flex-shrink: 1;
|
|
135
|
+
flex-basis: 0;
|
|
136
|
+
height: var(--border);
|
|
137
|
+
min-width: var(--space-lg);
|
|
92
138
|
}
|
|
93
139
|
|
|
94
140
|
.zx-timeline__content {
|
|
@@ -106,24 +152,35 @@
|
|
|
106
152
|
grid-row: 1;
|
|
107
153
|
justify-self: end;
|
|
108
154
|
text-align: end;
|
|
155
|
+
order: -1;
|
|
156
|
+
flex-grow: 1;
|
|
157
|
+
flex-shrink: 1;
|
|
158
|
+
flex-basis: 0;
|
|
109
159
|
}
|
|
110
160
|
|
|
111
161
|
.zx-timeline__content.zx-o-vertical.zx-p-end {
|
|
112
162
|
grid-column: 3;
|
|
113
163
|
grid-row: 1;
|
|
114
164
|
justify-self: start;
|
|
165
|
+
flex-grow: 1;
|
|
166
|
+
flex-shrink: 1;
|
|
167
|
+
flex-basis: 0;
|
|
115
168
|
}
|
|
116
169
|
|
|
117
170
|
.zx-timeline__content.zx-o-horizontal.zx-p-start {
|
|
118
171
|
grid-row: 1;
|
|
119
172
|
grid-column: 1;
|
|
120
173
|
align-self: end;
|
|
174
|
+
order: -1;
|
|
175
|
+
flex-basis: 100%;
|
|
121
176
|
}
|
|
122
177
|
|
|
123
178
|
.zx-timeline__content.zx-o-horizontal.zx-p-end {
|
|
124
179
|
grid-row: 3;
|
|
125
180
|
grid-column: 1;
|
|
126
181
|
align-self: start;
|
|
182
|
+
order: 2;
|
|
183
|
+
flex-basis: 100%;
|
|
127
184
|
}
|
|
128
185
|
|
|
129
186
|
.zx-timeline__marker.zx-a-color-primary {
|
|
@@ -12,52 +12,62 @@
|
|
|
12
12
|
border: none;
|
|
13
13
|
background: transparent;
|
|
14
14
|
overflow: visible;
|
|
15
|
+
width: auto;
|
|
15
16
|
list-style: none;
|
|
16
17
|
flex-direction: column;
|
|
17
18
|
gap: var(--space-sm);
|
|
18
19
|
pointer-events: none;
|
|
20
|
+
display: flex;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
.zx-toast__viewport.zx-p-top-start {
|
|
22
24
|
top: 0;
|
|
23
25
|
left: 0;
|
|
26
|
+
align-items: flex-start;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
.zx-toast__viewport.zx-p-top {
|
|
27
30
|
top: 0;
|
|
28
|
-
left:
|
|
29
|
-
transform:
|
|
31
|
+
left: 0;
|
|
32
|
+
transform: none;
|
|
33
|
+
right: 0;
|
|
34
|
+
align-items: center;
|
|
30
35
|
}
|
|
31
36
|
|
|
32
37
|
.zx-toast__viewport.zx-p-top-end {
|
|
33
38
|
top: 0;
|
|
34
39
|
right: 0;
|
|
40
|
+
align-items: flex-end;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
.zx-toast__viewport.zx-p-bottom-start {
|
|
38
44
|
bottom: 0;
|
|
39
45
|
flex-direction: column-reverse;
|
|
40
46
|
left: 0;
|
|
47
|
+
align-items: flex-start;
|
|
41
48
|
}
|
|
42
49
|
|
|
43
50
|
.zx-toast__viewport.zx-p-bottom {
|
|
44
51
|
bottom: 0;
|
|
45
|
-
left:
|
|
46
|
-
transform:
|
|
52
|
+
left: 0;
|
|
53
|
+
transform: none;
|
|
47
54
|
flex-direction: column-reverse;
|
|
55
|
+
right: 0;
|
|
56
|
+
align-items: center;
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
.zx-toast__viewport.zx-p-bottom-end {
|
|
51
60
|
bottom: 0;
|
|
52
61
|
flex-direction: column-reverse;
|
|
53
62
|
right: 0;
|
|
63
|
+
align-items: flex-end;
|
|
54
64
|
}
|
|
55
65
|
|
|
56
66
|
.zx-toast__root {
|
|
57
67
|
pointer-events: auto;
|
|
58
|
-
display:
|
|
68
|
+
display: flex;
|
|
59
69
|
grid-template-columns: 1fr auto auto;
|
|
60
|
-
align-items:
|
|
70
|
+
align-items: flex-start;
|
|
61
71
|
column-gap: var(--space-md);
|
|
62
72
|
padding: var(--space-md) var(--space-lg);
|
|
63
73
|
background: var(--toast-bg);
|
|
@@ -68,6 +78,11 @@
|
|
|
68
78
|
opacity: 0;
|
|
69
79
|
transform: translateY(var(--toast-from));
|
|
70
80
|
transition: opacity var(--duration-normal) var(--ease-standard), transform var(--duration-normal) var(--ease-standard);
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
position: relative;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
width: 100%;
|
|
85
|
+
max-width: 24rem;
|
|
71
86
|
}
|
|
72
87
|
|
|
73
88
|
.zx-toast__root.zx-s-open {
|
|
@@ -75,20 +90,36 @@
|
|
|
75
90
|
transform: none;
|
|
76
91
|
}
|
|
77
92
|
|
|
93
|
+
.zx-toast__root.zx-p-top-start {
|
|
94
|
+
--toast-from: -8px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.zx-toast__root.zx-p-top {
|
|
98
|
+
--toast-from: -8px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.zx-toast__root.zx-p-top-end {
|
|
102
|
+
--toast-from: -8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
78
105
|
.zx-toast__title {
|
|
79
106
|
grid-column: 1;
|
|
80
107
|
font-weight: var(--weight-semibold);
|
|
108
|
+
padding-right: 1.75em;
|
|
81
109
|
}
|
|
82
110
|
|
|
83
111
|
.zx-toast__description {
|
|
84
112
|
grid-column: 1;
|
|
85
113
|
font-size: var(--text-xs);
|
|
114
|
+
color: var(--toast-ink);
|
|
115
|
+
opacity: 0.75;
|
|
86
116
|
}
|
|
87
117
|
|
|
88
118
|
.zx-toast__action {
|
|
89
119
|
grid-column: 2;
|
|
90
120
|
grid-row: 1;
|
|
91
121
|
appearance: none;
|
|
122
|
+
border: var(--border) solid var(--toast-ink);
|
|
92
123
|
background: transparent;
|
|
93
124
|
color: var(--toast-ink);
|
|
94
125
|
border-radius: 9999px;
|
|
@@ -96,6 +127,7 @@
|
|
|
96
127
|
font-size: var(--text-xs);
|
|
97
128
|
font-weight: var(--weight-semibold);
|
|
98
129
|
cursor: pointer;
|
|
130
|
+
margin-top: var(--space-xs);
|
|
99
131
|
}
|
|
100
132
|
|
|
101
133
|
.zx-toast__action.zx-f-disabled {
|
|
@@ -119,6 +151,9 @@
|
|
|
119
151
|
padding: var(--space-2xs) var(--space-xs);
|
|
120
152
|
font-size: var(--text-xs);
|
|
121
153
|
cursor: pointer;
|
|
154
|
+
position: absolute;
|
|
155
|
+
top: var(--space-xs);
|
|
156
|
+
right: var(--space-xs);
|
|
122
157
|
}
|
|
123
158
|
|
|
124
159
|
.zx-toast__close.zx-f-disabled {
|