@nadicodeai/design-system 5.2.4 → 5.2.5

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/DESIGN.md CHANGED
@@ -594,7 +594,7 @@ A register adds rules. It never redefines a foundation value. A value one regist
594
594
  | --- | --- | --- | --- |
595
595
  | Website | `apps/website/docs/design-doctrine.md` over `## Layout` here | `register.website.layout`: `section`, `page-*`, `frame-*`, `cell-padding`, `section-gap`, `cross-size-*`, every `h-*` height. It speaks `display-xl`, `display-lg`, and `title-lg` | Light only |
596
596
  | Portal | `apps/portal/docs/design-doctrine.md` | `register.portal.density`: `filter-chip-gap`, `filter-chip-height`, `filter-chip-icon` | System, light, dark, on the `.dark` class |
597
- | Nadia desktop app | `apps/nadia/docs/design-doctrine.md` | `register.nadia.*`: the colour-role aliases, the radius aliases, six elevation recipes, and the overlay border; data only, never projected to CSS | Follows the operating system, on the `.dark` class |
597
+ | Nadia desktop app | `apps/nadia/docs/design-doctrine.md` | `register.nadia.*`: colour-role and radius aliases; six deprecated elevation recipes and the legacy overlay border remain as compatibility data. New surfaces consume the foundation's material roles | Follows the operating system, on the `.dark` class |
598
598
 
599
599
  The website's depth is flat and architectural: hairlines, contrast, dotted fields, diagonal fills, and dark action bands make hierarchy, and the page frame and row grid stay dominant. It uses no rung of the material ladder and no floating card stack as page structure. Marketing bands may use `register.website.layout.section`, emitted as `--nc-section`, when they need the broader inherited hero rhythm. The website kernel uses no negative letter spacing outside the two display tiers.
600
600
 
@@ -740,7 +740,7 @@ Each delivery tier (see Layout, "Delivery Tiers") has exactly one authoring file
740
740
 
741
741
  ### Authored token extension
742
742
 
743
- The YAML front matter carries the four groups the Google design schema defines: colors, typography, rounded, spacing. Everything else this contract owns is authored in the one `json design-tokens` fence below, as DTCG 2025.10. It holds `core.material`, `core.elevation` (four rungs per mode, each recipe ending in its own ring), `core.motion.duration` and `core.motion.ease`, and the register groups: `register.website.layout` (the page-grammar geometry), `register.portal.density` (the filter-chip sizes), and `register.nadia` (the desktop's colour and radius aliases onto `core`, plus its own six elevation recipes and overlay border).
743
+ The YAML front matter carries the four groups the Google design schema defines: colors, typography, rounded, spacing. Everything else this contract owns is authored in the one `json design-tokens` fence below, as DTCG 2025.10. It holds `core.material`, `core.elevation` (four rungs per mode, each recipe ending in its own ring), `core.motion.duration` and `core.motion.ease`, and the register groups: `register.website.layout` (the page-grammar geometry), `register.portal.density` (the filter-chip sizes), and `register.nadia` (the desktop's colour and radius aliases onto `core`, plus deprecated elevation data retained for older consumers).
744
744
 
745
745
  An alias is written in the short `{core.color.canvas}` form here; the build rewrites it to the public rooted form `{nadicode.core.color.canvas}` in `dist/tokens/nadicode.dtcg.json`. `$extensions."ai.nadicode.targets"` on a register group lists where its values go: `css` puts them in the generated stylesheets, `data` keeps them in the token files only. A register group without that key fails the build. `core` carries no key and always reaches both.
746
746
 
@@ -948,7 +948,7 @@ An alias is written in the short `{core.color.canvas}` form here; the build rewr
948
948
  "accent": {"$value":"{core.color.canvas-soft-2}"},
949
949
  "accent-foreground": {"$value":"{core.color.ink}"},
950
950
  "border": {"$value":"{core.color.line}"},
951
- "input": {"$value":"{core.color.seam}"},
951
+ "input": {"$value":"{core.color.input}"},
952
952
  "ring": {"$value":"{core.color.focus-ring}"},
953
953
  "midground": {"$value":"{core.color.body}"},
954
954
  "composer-ring": {"$value":"{core.color.focus-ring}"},
@@ -1002,6 +1002,8 @@ An alias is written in the short `{core.color.canvas}` form here; the build rewr
1002
1002
  "4xl": {"$value":"{core.rounded.3xl}"}
1003
1003
  },
1004
1004
  "elevation": {
1005
+ "$deprecated": true,
1006
+ "$description": "Compatibility data for older Nadia consumers. New surfaces use core.elevation's four material roles; resting controls have no shadow.",
1005
1007
  "light": {
1006
1008
  "$type": "shadow",
1007
1009
  "control": {
@@ -3912,11 +3912,11 @@
3912
3912
  "$value": {
3913
3913
  "colorSpace": "srgb",
3914
3914
  "components": [
3915
- 0.831,
3916
- 0.831,
3917
- 0.831
3915
+ 0.459,
3916
+ 0.459,
3917
+ 0.459
3918
3918
  ],
3919
- "hex": "#d4d4d4"
3919
+ "hex": "#757575"
3920
3920
  }
3921
3921
  },
3922
3922
  "ring": {
@@ -4372,6 +4372,8 @@
4372
4372
  }
4373
4373
  },
4374
4374
  "elevation": {
4375
+ "$deprecated": true,
4376
+ "$description": "Compatibility data for older Nadia consumers. New surfaces use core.elevation's four material roles; resting controls have no shadow.",
4375
4377
  "light": {
4376
4378
  "$type": "shadow",
4377
4379
  "control": {
@@ -3789,7 +3789,7 @@
3789
3789
  "$value": "{nadicode.core.color.line}"
3790
3790
  },
3791
3791
  "input": {
3792
- "$value": "{nadicode.core.color.seam}"
3792
+ "$value": "{nadicode.core.color.input}"
3793
3793
  },
3794
3794
  "ring": {
3795
3795
  "$value": "{nadicode.core.color.focus-ring}"
@@ -3932,6 +3932,8 @@
3932
3932
  }
3933
3933
  },
3934
3934
  "elevation": {
3935
+ "$deprecated": true,
3936
+ "$description": "Compatibility data for older Nadia consumers. New surfaces use core.elevation's four material roles; resting controls have no shadow.",
3935
3937
  "light": {
3936
3938
  "$type": "shadow",
3937
3939
  "control": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/design-system",
3
- "version": "5.2.4",
3
+ "version": "5.2.5",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -173,13 +173,13 @@
173
173
  "esbuild": "^0.28.0",
174
174
  "eslint": "^9.39.4",
175
175
  "lucide-static": "1.41.0",
176
- "parse5": "^7.3.0",
176
+ "parse5": "^8.0.1",
177
177
  "postcss": "^8.5.15",
178
178
  "postcss-value-parser": "^4.2.0",
179
179
  "sharp": "^0.34.5",
180
180
  "style-dictionary": "^5.4.3",
181
181
  "tsx": "^4.21.0",
182
182
  "typescript": "^5",
183
- "vitest": "^4.1.6"
183
+ "vitest": "^5.0.0"
184
184
  }
185
185
  }