gridsmith-ui 0.2.7 → 0.2.8

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/dist/roots.css CHANGED
@@ -40,6 +40,17 @@
40
40
  --ds-transition-speed: 200ms;
41
41
  --ds-transition-ease: ease-in-out;
42
42
 
43
+ /* Hover motion — per-channel tokens */
44
+ --ds-hover-scale: 1;
45
+ --ds-hover-lift: 0px;
46
+ --ds-press-depth: 1px;
47
+ --ds-interactive-hover-speed: 150ms;
48
+ --ds-interactive-hover-ease: ease-out;
49
+ --ds-ambient-hover-scale: 1;
50
+ --ds-ambient-hover-lift: 0px;
51
+ --ds-ambient-hover-speed: 250ms;
52
+ --ds-ambient-hover-ease: cubic-bezier(0.33, 1, 0.68, 1);
53
+
43
54
  --ds-sidebar-width: 224px;
44
55
  --ds-sidebar-compact-width: 72px;
45
56
  --ds-sidebar-collapsed-width: 56px;
@@ -404,9 +415,22 @@
404
415
  @media (prefers-reduced-motion: reduce) {
405
416
  :root {
406
417
  --ds-transition-speed: 0ms;
418
+ --ds-hover-scale: 1;
419
+ --ds-hover-lift: 0px;
420
+ --ds-press-depth: 0px;
421
+ --ds-interactive-hover-speed: 0ms;
422
+ --ds-ambient-hover-scale: 1;
423
+ --ds-ambient-hover-lift: 0px;
424
+ --ds-ambient-hover-speed: 0ms;
407
425
  }
408
426
  }
409
427
 
428
+ /* Nested cards: only the outermost card gets ambient hover */
429
+ [data-card] [data-card] {
430
+ --ds-ambient-hover-scale: 1;
431
+ --ds-ambient-hover-lift: 0px;
432
+ }
433
+
410
434
  /* ── Shadow Mode: Neumorphic ────────────────────────────────────
411
435
  Dual opposing shadows: dark bottom-right + bright top-left.
412
436
  Responsive to offset/blur/alpha sliders via root variables.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridsmith-ui",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Gridsmith component library — 79 React components with design tokens and a CSS custom property theming engine",
5
5
  "type": "module",
6
6
  "sideEffects": [