@discuss-ds/ui 0.13.0 → 0.14.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/CHANGELOG.md +12 -0
- package/dist/index.cjs +26 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +26 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/styles/globals.css +23 -0
package/package.json
CHANGED
package/src/styles/globals.css
CHANGED
|
@@ -432,3 +432,26 @@ body {
|
|
|
432
432
|
outline-offset: var(--sys-focus-ring-offset);
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
+
|
|
436
|
+
/*
|
|
437
|
+
* AI mark "draw-on": the mark is drawn along its own path from its first end to its last, holds, then clears the same way and
|
|
438
|
+
* repeats. Applied to the stroke inside AIMiniAvatar's mask (the stroke carries `pathLength="1"`, so the dash values are fractions
|
|
439
|
+
* of the path). Always apply it behind `motion-safe:`: without it the stroke is a plain line that fully reveals the still mark.
|
|
440
|
+
*/
|
|
441
|
+
@keyframes ai-draw-on {
|
|
442
|
+
0% {
|
|
443
|
+
stroke-dashoffset: 1;
|
|
444
|
+
}
|
|
445
|
+
55%,
|
|
446
|
+
78% {
|
|
447
|
+
stroke-dashoffset: 0;
|
|
448
|
+
}
|
|
449
|
+
100% {
|
|
450
|
+
stroke-dashoffset: -1;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
@utility animate-ai-draw-on {
|
|
455
|
+
stroke-dasharray: 1 1;
|
|
456
|
+
animation: ai-draw-on 2.4s ease-in-out infinite;
|
|
457
|
+
}
|