@cloudgrid-io/ui 0.31.1 → 0.31.3

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.
Files changed (49) hide show
  1. package/dist/blocks/agent-prompt.d.ts +22 -0
  2. package/dist/blocks/agent-prompt.d.ts.map +1 -1
  3. package/dist/blocks/agent-prompt.js +41 -7
  4. package/dist/blocks/agent-prompt.js.map +1 -1
  5. package/dist/blocks/cloudgrid-install.d.ts.map +1 -1
  6. package/dist/blocks/cloudgrid-install.js +6 -7
  7. package/dist/blocks/cloudgrid-install.js.map +1 -1
  8. package/dist/blocks/icons.d.ts +1 -1
  9. package/dist/blocks/icons.d.ts.map +1 -1
  10. package/dist/blocks/icons.js +1 -1
  11. package/dist/blocks/icons.js.map +1 -1
  12. package/dist/blocks/phosphor-marks.d.ts +2 -0
  13. package/dist/blocks/phosphor-marks.d.ts.map +1 -1
  14. package/dist/blocks/phosphor-marks.js +3 -0
  15. package/dist/blocks/phosphor-marks.js.map +1 -1
  16. package/dist/blocks/showcase-scroll.d.ts +103 -0
  17. package/dist/blocks/showcase-scroll.d.ts.map +1 -0
  18. package/dist/blocks/showcase-scroll.js +432 -0
  19. package/dist/blocks/showcase-scroll.js.map +1 -0
  20. package/dist/brand/showcase/all-the-way-down.webp +0 -0
  21. package/dist/brand/showcase/analytics-dashboard.webp +0 -0
  22. package/dist/brand/showcase/campaign-brief-builder.webp +0 -0
  23. package/dist/brand/showcase/chess-puzzles.webp +0 -0
  24. package/dist/brand/showcase/fox-tales.webp +0 -0
  25. package/dist/brand/showcase/invoices.webp +0 -0
  26. package/dist/brand/showcase/living-board-update.webp +0 -0
  27. package/dist/brand/showcase/moon-run.webp +0 -0
  28. package/dist/brand/showcase/onboarding-guide.webp +0 -0
  29. package/dist/brand/showcase/online-shop.webp +0 -0
  30. package/dist/brand/showcase/operating-review.webp +0 -0
  31. package/dist/brand/showcase/pricing-simulator.webp +0 -0
  32. package/dist/brand/showcase/rent-or-buy.webp +0 -0
  33. package/dist/brand/showcase/sales-call-coach.webp +0 -0
  34. package/dist/brand/showcase/space-today.webp +0 -0
  35. package/dist/brand/showcase/stocks-dashboard.webp +0 -0
  36. package/dist/brand/showcase/task-manager.webp +0 -0
  37. package/dist/brand/showcase/tour-poster.webp +0 -0
  38. package/dist/brand/showcase/your-crm.webp +0 -0
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +1 -0
  42. package/dist/index.js.map +1 -1
  43. package/dist/theme.css +5 -0
  44. package/dist/tokens/base.json +20 -0
  45. package/dist/tokens/surface-ink.json +21 -0
  46. package/dist/tokens/surface-panel.json +21 -0
  47. package/dist/tokens.css +33 -0
  48. package/dist/tokens.json +8 -2
  49. package/package.json +1 -1
package/dist/tokens.css CHANGED
@@ -1390,6 +1390,20 @@
1390
1390
  --cg-shadow-raised: 0 4px 14px rgba(34, 34, 34, 0.06);
1391
1391
  --cg-shadow-hover: 0 8px 24px rgba(34, 34, 34, 0.08);
1392
1392
  --cg-shadow-panel: 0 10px 40px rgba(90, 71, 240, 0.18);
1393
+ /*
1394
+ The lift under a picture tile that sits directly on a surface: the showcase's
1395
+ creation cards (#283). A ROLE, declared in all three scopes, because the value that
1396
+ reads depends on the ground. On white and on ink it is --cg-shadow-card. On the
1397
+ purple panel an ink shadow at 4% vanishes, so the panel scope redeclares it as the
1398
+ same geometry in a deep violet (surface-panel.json).
1399
+
1400
+ Declared on ink as well, as the card shadow, so a tile inside an ink block that is
1401
+ itself inside the panel does not inherit the violet. */
1402
+ --cg-shadow-tile: var(--cg-shadow-card);
1403
+ /*
1404
+ The deeper lift of a hovered picture tile (#283). Same three-scope reasoning as
1405
+ --cg-shadow-tile: --cg-shadow-hover on white and on ink, a violet on the panel. */
1406
+ --cg-shadow-tile-hover: var(--cg-shadow-hover);
1393
1407
  --cg-ring-focus: 0 0 0 3px var(--cg-focus-ring);
1394
1408
  /*
1395
1409
  The live dot's halo as a ready-made box-shadow, so a surface draws the mark with
@@ -1654,6 +1668,17 @@
1654
1668
  /*
1655
1669
  Translucent white — the base wash is a dark ink and would not register on the panel ground. */
1656
1670
  --cg-hover: rgba(255, 255, 255, 0.10);
1671
+
1672
+ /* ---- elevation ----
1673
+ elevation: the picture-tile shadows, redeclared for the purple ground (#283).
1674
+
1675
+ SOURCE: the founder-approved showcase mock (v3, 2026-10-06). The library's ink
1676
+ shadows are 4-8% of #222 and disappear on #5a47f0, so a tile looked pasted on rather
1677
+ than sitting on the panel. These are a deep violet, rgb(24, 12, 110): the panel's
1678
+ own hue taken down to near-black, so the shadow reads as the panel in shade rather
1679
+ than as a grey cast on it. */
1680
+ --cg-shadow-tile: 0 1px 2px rgba(24, 12, 110, 0.16), 0 6px 16px -4px rgba(24, 12, 110, 0.26);
1681
+ --cg-shadow-tile-hover: 0 2px 4px rgba(24, 12, 110, 0.18), 0 16px 32px -8px rgba(24, 12, 110, 0.42);
1657
1682
  }
1658
1683
 
1659
1684
  [data-cg-surface='ink'] {
@@ -1743,4 +1768,12 @@
1743
1768
  /*
1744
1769
  Translucent white — the base wash is a dark ink and would not register on the ink ground. */
1745
1770
  --cg-hover: rgba(255, 255, 255, 0.06);
1771
+
1772
+ /* ---- elevation ----
1773
+ elevation: the picture-tile shadows, pinned back to the card shadows on ink (#283).
1774
+
1775
+ No ink value was designed. These exist so a tile on ink nested inside the panel
1776
+ does not inherit the panel's violet. */
1777
+ --cg-shadow-tile: var(--cg-shadow-card);
1778
+ --cg-shadow-tile-hover: var(--cg-shadow-hover);
1746
1779
  }
package/dist/tokens.json CHANGED
@@ -183,6 +183,8 @@
183
183
  "--cg-shadow-raised": "0 4px 14px rgba(34, 34, 34, 0.06)",
184
184
  "--cg-shadow-hover": "0 8px 24px rgba(34, 34, 34, 0.08)",
185
185
  "--cg-shadow-panel": "0 10px 40px rgba(90, 71, 240, 0.18)",
186
+ "--cg-shadow-tile": "var(--cg-shadow-card)",
187
+ "--cg-shadow-tile-hover": "var(--cg-shadow-hover)",
186
188
  "--cg-ring-focus": "0 0 0 3px var(--cg-focus-ring)",
187
189
  "--cg-ring-live": "0 0 0 4px var(--cg-live-halo)",
188
190
  "--cg-duration-fast": "120ms",
@@ -237,7 +239,9 @@
237
239
  "--cg-pending-strong": "var(--cg-expired-strong)",
238
240
  "--cg-unhealthy-strong": "var(--cg-text-primary)",
239
241
  "--cg-danger-strong": "var(--cg-text-primary)",
240
- "--cg-hover": "rgba(255, 255, 255, 0.10)"
242
+ "--cg-hover": "rgba(255, 255, 255, 0.10)",
243
+ "--cg-shadow-tile": "0 1px 2px rgba(24, 12, 110, 0.16), 0 6px 16px -4px rgba(24, 12, 110, 0.26)",
244
+ "--cg-shadow-tile-hover": "0 2px 4px rgba(24, 12, 110, 0.18), 0 16px 32px -8px rgba(24, 12, 110, 0.42)"
241
245
  },
242
246
  "ink": {
243
247
  "--cg-text-primary": "#ffffff",
@@ -275,7 +279,9 @@
275
279
  "--cg-pending-strong": "var(--cg-expired-strong)",
276
280
  "--cg-unhealthy-strong": "var(--cg-text-primary)",
277
281
  "--cg-danger-strong": "var(--cg-text-primary)",
278
- "--cg-hover": "rgba(255, 255, 255, 0.06)"
282
+ "--cg-hover": "rgba(255, 255, 255, 0.06)",
283
+ "--cg-shadow-tile": "var(--cg-shadow-card)",
284
+ "--cg-shadow-tile-hover": "var(--cg-shadow-hover)"
279
285
  }
280
286
  }
281
287
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudgrid-io/ui",
3
- "version": "0.31.1",
3
+ "version": "0.31.3",
4
4
  "description": "CloudGrid design system: React components, brand design tokens, Tailwind theme, self-hosted fonts.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",