@nadicodeai/design-system 12.1.110 → 12.1.112
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/AGENTS.md +8 -6
- package/DESIGN.md +163 -1785
- package/README.md +11 -7
- package/dist/tokens/nadicode.dtcg-resolved.json +1 -1
- package/dist/tokens/nadicode.dtcg.json +1 -1
- package/package.json +2 -1
- package/src/tokens/extension.tokens.json +1383 -0
package/AGENTS.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# @nadicodeai/design-system
|
|
2
2
|
|
|
3
|
-
`DESIGN.md` is nadicode's
|
|
4
|
-
every component, website section and product screen
|
|
5
|
-
belong to `@nadicodeai/ui
|
|
3
|
+
`DESIGN.md` is nadicode's design authority for the tokens, the visual direction
|
|
4
|
+
and the rules every component, website section and product screen shares. React
|
|
5
|
+
components belong to `@nadicodeai/ui`, and a component's own contract is the
|
|
6
|
+
usage page in its source; `examples/` contains rendered specimens.
|
|
6
7
|
|
|
7
8
|
- Design and CSS changes: `product-design` first, then the relevant section of
|
|
8
9
|
`DESIGN.md`.
|
|
@@ -17,13 +18,14 @@ belong to `@nadicodeai/ui`; `examples/` contains rendered specimens.
|
|
|
17
18
|
--update-snapshots` inside that image and commit the new screenshots.
|
|
18
19
|
- Releases: `../../docs/agents/publish.md`.
|
|
19
20
|
|
|
20
|
-
Edit token sources in `DESIGN.md
|
|
21
|
+
Edit token sources (the four groups in `DESIGN.md`'s front matter, every other
|
|
22
|
+
value in `src/tokens/extension.tokens.json`), then run
|
|
21
23
|
`npm run build -w @nadicodeai/design-system`. Generated CSS and `dist/`
|
|
22
24
|
are outputs, not hand-edited sources. Favicon source changes use
|
|
23
25
|
`generate:favicons`; a lucide-static upgrade uses `generate:icons`.
|
|
24
26
|
`package.json` owns the commands; shared validation policy is in
|
|
25
27
|
`../../docs/agents/develop.md`.
|
|
26
28
|
|
|
27
|
-
Visual behavior comes from `DESIGN.md`, a
|
|
28
|
-
design decision. Screenshots verify that behavior. Name primitives
|
|
29
|
+
Visual behavior comes from `DESIGN.md`, a component's usage page, a shipped
|
|
30
|
+
surface, or the user's design decision. Screenshots verify that behavior. Name primitives
|
|
29
31
|
for nadicode's concepts, keeping source-brand lineage in references.
|