@human-synthesis/norns-ui 0.0.6 → 0.0.7

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": "@human-synthesis/norns-ui",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "UI library for the Norns ecosystem — Pug + Civet components on Tailwind v4.",
5
5
  "license": "MIT",
6
6
  "author": "Daniel Teodoroiu (https://humansynthesis.ai)",
@@ -32,11 +32,16 @@
32
32
  background-color: var(--color-bg);
33
33
  }
34
34
 
35
+ /* Respect prefers-reduced-motion without nuking decorative animations
36
+ * entirely: cap iterations to 1 (so infinite loops like the shiny
37
+ * sweep, sparkle, gradient shift play once and stop instead of
38
+ * looping), and shrink incidental transitions. Finite animations
39
+ * (ripple, copy-pop, toast-in, banner-in) keep their natural duration
40
+ * so users still see the state change they signal. */
35
41
  @media (prefers-reduced-motion: reduce) {
36
42
  *,
37
43
  *::before,
38
44
  *::after {
39
- animation-duration: 0.01ms !important;
40
45
  animation-iteration-count: 1 !important;
41
46
  transition-duration: 0.01ms !important;
42
47
  scroll-behavior: auto !important;