@nadicodeai/ui 4.0.3 → 4.0.4

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 (2) hide show
  1. package/AGENTS.md +14 -25
  2. package/package.json +2 -2
package/AGENTS.md CHANGED
@@ -1,30 +1,19 @@
1
1
  # @nadicodeai/ui
2
2
 
3
- The `@nadicodeai/ui` npm workspace: the shared React UI package, with shadcn primitives on Base UI, the `@nadicodeai/ui/agents` interface, section compositions and product components. Source in `src/`, published from `dist/`. Read `docs/contract.md` before changing the library.
3
+ Shared React components, primitives, Agent interfaces, and page compositions.
4
+ Source lives in `src/`; consumers receive `dist/` through `package.json`
5
+ exports.
4
6
 
5
- ## Commands
7
+ - Component changes and admission: `docs/contract.md`.
8
+ - Consumer setup: `docs/consuming-cross-repo.md`.
9
+ - Tokens, CSS, motion, and assets: `../design-system/DESIGN.md`.
10
+ - Agent visuals: `docs/agent-visual.md`.
11
+ - Package releases: `../../docs/agents/publish.md`.
6
12
 
7
- | Command | When |
8
- | --- | --- |
9
- | `npm run check -w @nadicodeai/ui` then `npm run test -w @nadicodeai/ui` | Before pushing; `test` builds `dist`, then runs the guards and the jsdom accessibility tier |
10
- | `npm run dev -w @nadicodeai/ui` | Watch `src/`, refresh `dist/` |
11
- | `npm run build:dev -w @nadicodeai/ui` | One-shot incremental `dist/` refresh |
12
- | `npm run build -w @nadicodeai/ui` | Emit `dist/` before packing or app builds |
13
- | `npm run generate:brand-icons -w @nadicodeai/ui` | After editing the allow-list in `scripts/build-brand-icons.mjs` |
14
- | `npm pack --dry-run -w @nadicodeai/ui` | What consumers receive, after a surface, export, CSS or docs change |
13
+ `npm run dev -w @nadicodeai/ui` watches source and refreshes `dist/`;
14
+ `build:dev` refreshes it once. Remaining commands live in `package.json`;
15
+ validation policy is in `../../docs/agents/develop.md`.
15
16
 
16
- ## Routing
17
-
18
- | Topic | Path |
19
- | --- | --- |
20
- | Design-language terms | `../design-system/CONTEXT.md` |
21
- | Invariants, component admission, section vocabulary, consumer boundary | `docs/contract.md` |
22
- | Third-party brand marks | [Admission Rules](docs/contract.md#admission-rules); the NadicodeAI logo is `BrandLockup`, `BrandMark`, `BrandWordmark` |
23
- | Consumer installation and stylesheet setup | `docs/consuming-cross-repo.md` |
24
- | Tokens, modes, themes, cascade, the public stylesheet | `../design-system/DESIGN.md` and `../design-system/AGENTS.md` |
25
- | Motion | `../design-system/DESIGN.md`, `src/lib/motion.ts`, then the `product-design` skill |
26
- | Which component subpaths exist | `package.json` `exports`; the `./components/*` wildcard over `src/components/` is the whole surface |
27
- | shadcn and assistant-ui discovery | the live CLIs `npx shadcn@latest` and `npx assistant-ui@latest`; `--overwrite` needs a maintainer ask |
28
- | Releasing and publishing | `../../docs/agents/publish.md` |
29
- | Website page assembly | `../../apps/website/AGENTS.md`. Portal screens: `../../apps/portal/AGENTS.md` |
30
- | User-visible UI work | the `product-design` skill, loaded after this file |
17
+ When the brand-icon allow-list changes, run `generate:brand-icons`.
18
+ Use current shadcn or assistant-ui discovery for their components;
19
+ `--overwrite` requires authorization to replace the affected component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -61,7 +61,7 @@
61
61
  "@assistant-ui/react": "0.15.1",
62
62
  "@assistant-ui/react-markdown": "0.14.8",
63
63
  "@base-ui/react": "^1.6.0",
64
- "@nadicodeai/design-system": "4.0.3",
64
+ "@nadicodeai/design-system": "4.0.4",
65
65
  "@paper-design/shaders": "0.0.78",
66
66
  "class-variance-authority": "^0.7.1",
67
67
  "clsx": "^2.1.1",