@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 +20 -2
- package/dist/accordion.js +6 -7
- package/dist/alert-dialog.js +13 -14
- package/dist/badge.js +3 -4
- package/dist/button-group.js +6 -7
- package/dist/button.js +3 -4
- package/dist/carousel-vRCoMeVE.js +1401 -0
- package/dist/carousel.d.ts +2 -0
- package/dist/carousel.js +9 -0
- package/dist/checkbox.js +6 -7
- package/dist/components/ui/content-card/content-card.d.ts +4 -0
- package/dist/field.js +11 -12
- package/dist/index.js +460 -1841
- package/dist/input.js +5 -6
- package/dist/kuat-carousel-DsHwXGpb.js +16 -0
- package/dist/kuat-carousel.d.ts +2 -0
- package/dist/kuat-carousel.js +9 -0
- package/dist/radio.js +6 -7
- package/dist/select.js +12 -13
- package/dist/style.css +1 -1
- package/dist/textarea.js +0 -1
- package/dist/toggle-group.js +5 -6
- package/dist/toggle.js +6 -7
- package/package.json +13 -4
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
|
|
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:
|
|
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
|
|
2
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
a as Accordion,
|
|
5
|
+
e as AccordionContent,
|
|
6
|
+
i as AccordionItem,
|
|
8
7
|
s as AccordionTrigger,
|
|
9
|
-
|
|
8
|
+
r as cn
|
|
10
9
|
};
|
package/dist/alert-dialog.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
16
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
4
|
+
s as Badge,
|
|
5
|
+
t as badgeVariants,
|
|
7
6
|
e as cn
|
|
8
7
|
};
|
package/dist/button-group.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
4
|
+
n as Button,
|
|
5
|
+
s as buttonVariants,
|
|
7
6
|
a as cn
|
|
8
7
|
};
|