@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discuss-ds/ui",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",
@@ -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
+ }