@nadicodeai/ui 12.1.205 → 12.1.206

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 +10 -0
  2. package/package.json +2 -2
package/AGENTS.md CHANGED
@@ -25,6 +25,16 @@ that draws it for all of them, never in `DESIGN.md`
25
25
  server actions, runtime adapters, permissions and copy. Apps change a
26
26
  component's appearance only through its typed variants and slots; a new
27
27
  appearance is added here.
28
+ - **Pages.** Every product page renders a composition from this package whose
29
+ slots are fixed, and lint rules keep the pages there; a written rule that left
30
+ the assembly to each page let the pages drift.
31
+ - **Elements.** An app whose pages must reach an element through a shared
32
+ component sets `jsxImportSource` to `#jsx`, a module of its own that types the
33
+ intrinsic elements without it, so a raw `<table>` or `<h1>` on a page is a
34
+ type error in the editor and the typecheck; a file that owns one opts back in
35
+ with `/** @jsxImportSource react */`. It is a type and not a lint check per
36
+ element, which an agent met only after writing the element, and declaration
37
+ merging cannot remove an element from React's own list.
28
38
  - **Source.** Components stay flat under `src/components/`; reviewed registry
29
39
  source sits in `src/internal/` and is not a public namespace. Base UI is the
30
40
  primitive base: no Radix or vaul, and `cmdk` only for the stock Command. A
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadicodeai/ui",
3
- "version": "12.1.205",
3
+ "version": "12.1.206",
4
4
  "type": "module",
5
5
  "imports": {
6
6
  "#jsx": "./src/jsx/index.ts",
@@ -78,7 +78,7 @@
78
78
  "@headless-tree/react": "1.8.0",
79
79
  "@iconify-icons/logos": "^2.0.3",
80
80
  "@iconify/react": "^6.0.2",
81
- "@nadicodeai/design-system": "12.1.205",
81
+ "@nadicodeai/design-system": "12.1.206",
82
82
  "@tanstack/react-table": "^9.3.1",
83
83
  "@vgpu/wgsl": "0.6.0",
84
84
  "class-variance-authority": "^0.7.1",