@equal-experts/kuat-react 0.9.1 → 0.10.0

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/README.md CHANGED
@@ -32,6 +32,22 @@ pnpm add react react-dom @equal-experts/kuat-core @equal-experts/kuat-react
32
32
 
33
33
  You need **both** packages: core supplies CSS variables and the Tailwind preset; this package supplies components.
34
34
 
35
+ ### Agent Guardrails
36
+
37
+ Add this to your project `AGENTS.md` (or `.cursorrules`) so agent workflows stay Kuat-first:
38
+
39
+ ```markdown
40
+ ## Kuat UI Component Selection Rules
41
+ 1. Load bundled rules entrypoints from `@equal-experts/kuat-core`:
42
+ - `node_modules/@equal-experts/kuat-core/agent-docs/kuat-docs/rules/README.md`
43
+ - `node_modules/@equal-experts/kuat-core/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md`
44
+ 2. Ensure decisions reference both bundled Equal Experts foundations and web rules (`.../external/kuat-agent-rules/.../foundations/*` and `.../types/web/*`).
45
+ 3. Read `kuat-docs/setup/choosing-components.md` before building UI.
46
+ 4. Choose sources in order: Kuat blocks -> Kuat components -> shadcn gaps -> custom.
47
+ 5. Verify exports in `@equal-experts/kuat-react` before implementing.
48
+ 6. Document the chosen source and any exception rationale in PR notes.
49
+ ```
50
+
35
51
  ### Peer dependencies
36
52
 
37
53
  Install peers for the components you use before running `dev` or `build`.
@@ -94,10 +110,12 @@ import { KuatRadialProgress } from '@equal-experts/kuat-react/kuat-radial-progre
94
110
 
95
111
  See [public-api-inventory.md](https://github.com/equalexperts/kuat-mono/blob/master/kuat-docs/setup/public-api-inventory.md) for the full subpath list.
96
112
 
97
- `KuatCarousel` is currently exported from the root barrel:
113
+ `KuatCarousel` is exported from both the root barrel and subpath:
98
114
 
99
115
  ```tsx
100
116
  import { KuatCarousel } from '@equal-experts/kuat-react';
117
+ // or
118
+ import { KuatCarousel } from '@equal-experts/kuat-react/kuat-carousel';
101
119
  ```
102
120
 
103
121
  ---
@@ -261,7 +279,7 @@ pnpm dev
261
279
  - Pass: `Button`, `Field`, and `KuatCarousel` render with Kuat styles (not plain browser defaults).
262
280
  - Pass: typography uses Kuat font stack (Lexend for sans) rather than template defaults.
263
281
  - Fail: any need to import internal `dist/*.css` files manually.
264
- - Fail: using `@equal-experts/kuat-react/carousel` instead of root barrel import for carousel.
282
+ - Fail: selecting custom/shadcn carousel without documenting why `@equal-experts/kuat-react` carousel exports were not used.
265
283
 
266
284
  ---
267
285
 
package/dist/accordion.js CHANGED
@@ -1,10 +1,9 @@
1
- import { c as n } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { A as i, c as t, a as e, b as s } from "./accordion-CUlVo4uo.js";
1
+ import { c as r } from "./utils-DLUjLwnh.js";
2
+ import { A as a, c as e, a as i, b as s } from "./accordion-CUlVo4uo.js";
4
3
  export {
5
- i as Accordion,
6
- t as AccordionContent,
7
- e as AccordionItem,
4
+ a as Accordion,
5
+ e as AccordionContent,
6
+ i as AccordionItem,
8
7
  s as AccordionTrigger,
9
- n as cn
8
+ r as cn
10
9
  };
@@ -1,17 +1,16 @@
1
- import { c as r } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { A as t, i, j as g, d as s, h as A, f as D, e as c, b as n, a as p, g as f, c as m } from "./alert-dialog-yHaNWLGX.js";
1
+ import { c as e } from "./utils-DLUjLwnh.js";
2
+ import { A as o, i as t, j as i, d as g, h as s, f as A, e as D, b as c, a as n, g as f, c as p } from "./alert-dialog-yHaNWLGX.js";
4
3
  export {
5
- t as AlertDialog,
6
- i as AlertDialogAction,
7
- g as AlertDialogCancel,
8
- s as AlertDialogContent,
9
- A as AlertDialogDescription,
10
- D as AlertDialogFooter,
11
- c as AlertDialogHeader,
12
- n as AlertDialogOverlay,
13
- p as AlertDialogPortal,
4
+ o as AlertDialog,
5
+ t as AlertDialogAction,
6
+ i as AlertDialogCancel,
7
+ g as AlertDialogContent,
8
+ s as AlertDialogDescription,
9
+ A as AlertDialogFooter,
10
+ D as AlertDialogHeader,
11
+ c as AlertDialogOverlay,
12
+ n as AlertDialogPortal,
14
13
  f as AlertDialogTitle,
15
- m as AlertDialogTrigger,
16
- r as cn
14
+ p as AlertDialogTrigger,
15
+ e as cn
17
16
  };
package/dist/badge.js CHANGED
@@ -1,8 +1,7 @@
1
1
  import { c as e } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { B as t, b as m } from "./badge-BZgdEQSD.js";
2
+ import { B as s, b as t } from "./badge-BZgdEQSD.js";
4
3
  export {
5
- t as Badge,
6
- m as badgeVariants,
4
+ s as Badge,
5
+ t as badgeVariants,
7
6
  e as cn
8
7
  };
@@ -1,10 +1,9 @@
1
- import { c as a } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { B as u, a as n, b as s, c as e } from "./button-group-enIzvVeN.js";
1
+ import { c as r } from "./utils-DLUjLwnh.js";
2
+ import { B as u, a as p, b as n, c as s } from "./button-group-enIzvVeN.js";
4
3
  export {
5
4
  u as ButtonGroup,
6
- n as ButtonGroupSeparator,
7
- s as ButtonGroupText,
8
- e as buttonGroupVariants,
9
- a as cn
5
+ p as ButtonGroupSeparator,
6
+ n as ButtonGroupText,
7
+ s as buttonGroupVariants,
8
+ r as cn
10
9
  };
package/dist/button.js CHANGED
@@ -1,8 +1,7 @@
1
1
  import { c as a } from "./utils-DLUjLwnh.js";
2
- /* empty css */
3
- import { B as s, b as m } from "./button-C0a1gFoV.js";
2
+ import { B as n, b as s } from "./button-C0a1gFoV.js";
4
3
  export {
5
- s as Button,
6
- m as buttonVariants,
4
+ n as Button,
5
+ s as buttonVariants,
7
6
  a as cn
8
7
  };