@discuss-ds/ui 0.14.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.14.0",
3
+ "version": "0.14.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",
@@ -434,23 +434,24 @@ body {
434
434
  }
435
435
 
436
436
  /*
437
- * AI mark "draw-on": the glyph traces itself in from left to right, holds, then
438
- * clears the same way and repeats. Used by AIMiniAvatar while the AI is busy;
439
- * always apply it behind `motion-safe:` so reduced-motion users get the still mark.
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
440
  */
441
441
  @keyframes ai-draw-on {
442
442
  0% {
443
- clip-path: inset(0 100% 0 0);
443
+ stroke-dashoffset: 1;
444
444
  }
445
- 50%,
446
- 72% {
447
- clip-path: inset(0 0 0 0);
445
+ 55%,
446
+ 78% {
447
+ stroke-dashoffset: 0;
448
448
  }
449
449
  100% {
450
- clip-path: inset(0 0 0 100%);
450
+ stroke-dashoffset: -1;
451
451
  }
452
452
  }
453
453
 
454
454
  @utility animate-ai-draw-on {
455
+ stroke-dasharray: 1 1;
455
456
  animation: ai-draw-on 2.4s ease-in-out infinite;
456
457
  }