@equal-experts/kuat-vue 0.2.0 → 0.2.6

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 (63) hide show
  1. package/README.md +156 -3
  2. package/dist/AccordionTrigger.vue_vue_type_script_setup_true_lang-vy6KzwI7.js +107 -0
  3. package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DNFUKWlR.js +185 -0
  4. package/dist/Button.vue_vue_type_script_setup_true_lang-Xhp6qpI9.js +30 -0
  5. package/dist/accordion.d.ts +2 -0
  6. package/dist/accordion.js +9 -0
  7. package/dist/alert-dialog.d.ts +2 -0
  8. package/dist/alert-dialog.js +14 -0
  9. package/dist/badge.d.ts +3 -0
  10. package/dist/badge.js +7 -0
  11. package/dist/button-group.d.ts +3 -0
  12. package/dist/button-group.js +9 -0
  13. package/dist/button.d.ts +3 -0
  14. package/dist/button.js +8 -0
  15. package/dist/components/ui/accordion/Accordion.vue.d.ts +26 -0
  16. package/dist/components/ui/accordion/AccordionContent.vue.d.ts +27 -0
  17. package/dist/components/ui/accordion/AccordionItem.vue.d.ts +27 -0
  18. package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +28 -0
  19. package/dist/components/ui/accordion/index.d.ts +4 -0
  20. package/dist/components/ui/alert-dialog/AlertDialog.vue.d.ts +26 -0
  21. package/dist/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +27 -0
  22. package/dist/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +27 -0
  23. package/dist/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +41 -0
  24. package/dist/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +27 -0
  25. package/dist/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +26 -0
  26. package/dist/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +26 -0
  27. package/dist/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +27 -0
  28. package/dist/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +22 -0
  29. package/dist/components/ui/alert-dialog/index.d.ts +9 -0
  30. package/dist/components/ui/badge/Badge.vue.d.ts +42 -0
  31. package/dist/components/ui/badge/index.d.ts +7 -0
  32. package/dist/components/ui/button/index.d.ts +1 -1
  33. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +29 -0
  34. package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +32 -0
  35. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +42 -0
  36. package/dist/components/ui/button-group/index.d.ts +9 -0
  37. package/dist/components/ui/separator/Separator.vue.d.ts +35 -0
  38. package/dist/components/ui/separator/index.d.ts +1 -0
  39. package/dist/index-A7umpmtg.js +37 -0
  40. package/dist/index-BS0sZM3b.js +45 -0
  41. package/dist/index-Cctx-joO.js +103 -0
  42. package/dist/index-D5fkjZ2l.js +34 -0
  43. package/dist/index-DCxse3sU.js +33 -0
  44. package/dist/index.d.ts +6 -0
  45. package/dist/index.js +29 -2357
  46. package/dist/style.css +1 -1
  47. package/dist/styles-qaFjX9_3.js +2278 -0
  48. package/docs/README.md +35 -0
  49. package/docs/components/guidelines.md +221 -0
  50. package/docs/content/README.md +297 -0
  51. package/docs/content/content-foundations.md +506 -0
  52. package/docs/content/content-marketing-sales.md +454 -0
  53. package/docs/content/content-product-ux.md +875 -0
  54. package/docs/design/borders.md +500 -0
  55. package/docs/design/colours.md +523 -0
  56. package/docs/design/design-system.md +148 -0
  57. package/docs/design/layouts.md +681 -0
  58. package/docs/design/logo.md +383 -0
  59. package/docs/design/spacing.md +477 -0
  60. package/docs/design/typography.md +451 -0
  61. package/package.json +31 -5
  62. package/scripts/copy-docs.js +88 -0
  63. package/scripts/setup-docs.js +169 -0
package/README.md CHANGED
@@ -39,6 +39,46 @@ pnpm add lucide-vue-next
39
39
 
40
40
  **Note:** `@equal-experts/kuat-core` is bundled with this package - you don't need to install it separately.
41
41
 
42
+ ### Recommended: Use Subpath Imports
43
+
44
+ To avoid installing all peer dependencies when you only need specific components, use **subpath imports**. This allows you to import only the components you need and only install their required peer dependencies.
45
+
46
+ **Example: Only using Button**
47
+
48
+ ```bash
49
+ # Only install peer dependencies for Button
50
+ pnpm add vue radix-vue reka-ui
51
+ ```
52
+
53
+ ```vue
54
+ <script setup>
55
+ // Import from subpath - only Button and its dependencies are required
56
+ import { Button } from "@equal-experts/kuat-vue/button";
57
+ </script>
58
+ ```
59
+
60
+ **Component Peer Dependencies:**
61
+
62
+ - **Button**: `vue`, `radix-vue`, `reka-ui`
63
+ - **Accordion**: `vue`, `radix-vue`, `reka-ui`, `lucide-vue-next`
64
+ - **AlertDialog**: `vue`, `radix-vue`, `reka-ui`
65
+ - **Badge**: `vue`, `radix-vue`, `reka-ui`
66
+
67
+ **Using Main Export (All Components):**
68
+
69
+ If you import from the main package, you'll need all peer dependencies:
70
+
71
+ ```vue
72
+ <script setup>
73
+ // This requires ALL peer dependencies to be installed
74
+ import { Button, Accordion, AlertDialog } from "@equal-experts/kuat-vue";
75
+ </script>
76
+ ```
77
+
78
+ **lucide-vue-next Version Support:**
79
+
80
+ The package supports `lucide-vue-next` versions `^0.344.0 || >=0.400.0`, including the latest versions.
81
+
42
82
  ---
43
83
 
44
84
  ## Setup
@@ -145,11 +185,87 @@ If you want to use different fonts or load them differently, you can override th
145
185
 
146
186
  ---
147
187
 
188
+ ## AI Agent Documentation Setup
189
+
190
+ The Kuat Design System includes AI-friendly documentation optimized for LLM consumption. This documentation helps AI assistants understand the design system, generate code that follows design patterns, and maintain brand consistency.
191
+
192
+ ### Setup Documentation
193
+
194
+ To make the agent documentation available in your repository for LLM context (e.g., Cursor), run the setup script:
195
+
196
+ ```bash
197
+ # Using pnpm exec (recommended)
198
+ pnpm exec @equal-experts/kuat-vue setup-docs
199
+
200
+ # Using npm exec
201
+ npm exec @equal-experts/kuat-vue setup-docs
202
+
203
+ # Or if you have the package installed locally
204
+ cd node_modules/@equal-experts/kuat-vue && pnpm setup-docs
205
+ ```
206
+
207
+ This will copy the agent documentation to `.cursor/rules/kuat-docs/` in your repository root.
208
+
209
+ ### What Gets Copied
210
+
211
+ The setup script copies the following documentation:
212
+
213
+ - **Design System** (`design/`) - Colors, typography, spacing, borders, layouts, logo usage
214
+ - **Component Guidelines** (`components/`) - Component development patterns and best practices
215
+ - **Content Guidelines** (`content/`) - Content writing guidelines for marketing, sales, and product interfaces
216
+
217
+ ### Using the Documentation
218
+
219
+ Once copied, you can:
220
+
221
+ 1. **Reference in Cursor Rules**: Add references to `.cursor/rules/kuat-docs/` in your `.cursorrules` file
222
+ 2. **LLM Context**: The documentation is optimized for LLM consumption and provides context for:
223
+ - Understanding the design system
224
+ - Using components correctly
225
+ - Maintaining brand consistency
226
+ - Writing appropriate content
227
+
228
+ ### Updating Documentation
229
+
230
+ After installing a new version of `@equal-experts/kuat-vue`, run the setup script again to update the documentation:
231
+
232
+ ```bash
233
+ pnpm exec @equal-experts/kuat-vue setup-docs
234
+ ```
235
+
236
+ The script will automatically clean and replace the existing documentation.
237
+
238
+ ### Documentation Location
239
+
240
+ The documentation is copied to:
241
+ ```
242
+ .cursor/rules/kuat-docs/
243
+ ```
244
+
245
+ This location is chosen because:
246
+ - It's within the `.cursor/` directory (typically gitignored)
247
+ - It's in the `rules/` subdirectory where Cursor looks for context files
248
+ - It's clearly namespaced as `kuat-docs/` to avoid conflicts
249
+
250
+ ---
251
+
148
252
  ## Basic Usage
149
253
 
150
254
  ### Import Components
151
255
 
256
+ You can import components in two ways:
257
+
258
+ **Option 1: Subpath Import (Recommended for single components)**
259
+
260
+ ```typescript
261
+ // Import only Button - only requires Button's peer dependencies
262
+ import { Button } from "@equal-experts/kuat-vue/button";
263
+ ```
264
+
265
+ **Option 2: Main Package Import**
266
+
152
267
  ```typescript
268
+ // Import from main package - requires all peer dependencies
153
269
  import { Button } from "@equal-experts/kuat-vue";
154
270
  ```
155
271
 
@@ -165,7 +281,11 @@ import { Button } from "@equal-experts/kuat-vue";
165
281
  </template>
166
282
 
167
283
  <script setup lang="ts">
168
- import { Button } from "@equal-experts/kuat-vue";
284
+ // Recommended: Subpath import
285
+ import { Button } from "@equal-experts/kuat-vue/button";
286
+
287
+ // Or: Main package import
288
+ // import { Button } from "@equal-experts/kuat-vue";
169
289
  </script>
170
290
  ```
171
291
 
@@ -447,11 +567,44 @@ Then use without importing:
447
567
 
448
568
  ## Additional Resources
449
569
 
450
- - **Design System Documentation**: See [../../docs/agent/design/design-system.md](../../docs/agent/design/design-system.md)
451
- - **Component Guidelines**: See [../../docs/agent/technical/component-guidelines.md](../../docs/agent/technical/component-guidelines.md)
452
570
  - **shadcn-vue Documentation**: [https://www.shadcn-vue.com](https://www.shadcn-vue.com)
453
571
  - **Tailwind CSS v4**: [https://tailwindcss.com](https://tailwindcss.com)
454
572
  - **Vue 3 Documentation**: [https://vuejs.org](https://vuejs.org)
573
+ - **Radix Vue Documentation**: [https://www.radix-vue.com](https://www.radix-vue.com)
574
+
575
+ ---
576
+
577
+ ## AI Agent Documentation
578
+
579
+ This package includes AI-friendly documentation in the `docs/` directory, optimized for LLM consumption.
580
+
581
+ ### Included Documentation
582
+
583
+ - **[Design System](./docs/design/)** - Colors, typography, spacing, borders, and design tokens
584
+ - **[Component Guidelines](./docs/components/guidelines.md)** - Component development patterns and best practices
585
+ - **[Content Guidelines](./docs/content/)** - Content writing guidelines for marketing and product UX
586
+
587
+ ### Accessing Documentation
588
+
589
+ The documentation is available in your `node_modules` after installation:
590
+
591
+ ```
592
+ node_modules/@equal-experts/kuat-vue/docs/
593
+ ├── design/ # Design system guidelines
594
+ ├── components/ # Component patterns
595
+ └── content/ # Content writing guidelines
596
+ ```
597
+
598
+ ### For AI Agents
599
+
600
+ You can reference this documentation in your `.cursorrules` or similar configuration:
601
+
602
+ ```
603
+ # Kuat Design System Documentation
604
+ - Design tokens: node_modules/@equal-experts/kuat-vue/docs/design/
605
+ - Component patterns: node_modules/@equal-experts/kuat-vue/docs/components/
606
+ - Brand colors available: EE Blue, Tech Blue, Transform Teal, Equal Ember
607
+ ```
455
608
 
456
609
  ---
457
610
 
@@ -0,0 +1,107 @@
1
+ import { defineComponent as l, createBlock as d, openBlock as i, unref as e, normalizeProps as h, guardReactiveProps as y, withCtx as n, renderSlot as c, mergeProps as p, createElementVNode as B, normalizeClass as g, createVNode as _ } from "vue";
2
+ import { useForwardPropsEmits as w, AccordionRoot as C, AccordionContent as A, useForwardProps as P, AccordionItem as b, AccordionHeader as v, AccordionTrigger as $ } from "reka-ui";
3
+ import { c as m } from "./styles-qaFjX9_3.js";
4
+ import { r as u } from "./index-A7umpmtg.js";
5
+ import { ChevronDown as x } from "lucide-vue-next";
6
+ const F = /* @__PURE__ */ l({
7
+ __name: "Accordion",
8
+ props: {
9
+ collapsible: { type: Boolean },
10
+ disabled: { type: Boolean },
11
+ dir: {},
12
+ orientation: {},
13
+ unmountOnHide: { type: Boolean },
14
+ asChild: { type: Boolean },
15
+ as: {},
16
+ type: {},
17
+ modelValue: {},
18
+ defaultValue: {}
19
+ },
20
+ emits: ["update:modelValue"],
21
+ setup(s, { emit: o }) {
22
+ const r = w(s, o);
23
+ return (f, V) => (i(), d(e(C), h(y(e(r))), {
24
+ default: n(() => [
25
+ c(f.$slots, "default")
26
+ ]),
27
+ _: 3
28
+ }, 16));
29
+ }
30
+ }), I = /* @__PURE__ */ l({
31
+ __name: "AccordionContent",
32
+ props: {
33
+ forceMount: { type: Boolean },
34
+ asChild: { type: Boolean },
35
+ as: {},
36
+ class: {}
37
+ },
38
+ setup(s) {
39
+ const o = s, a = u(o, "class");
40
+ return (t, r) => (i(), d(e(A), p(e(a), { class: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
41
+ default: n(() => [
42
+ B("div", {
43
+ class: g(e(m)("pb-4 pt-0", o.class))
44
+ }, [
45
+ c(t.$slots, "default")
46
+ ], 2)
47
+ ]),
48
+ _: 3
49
+ }, 16));
50
+ }
51
+ }), N = /* @__PURE__ */ l({
52
+ __name: "AccordionItem",
53
+ props: {
54
+ disabled: { type: Boolean },
55
+ value: {},
56
+ unmountOnHide: { type: Boolean },
57
+ asChild: { type: Boolean },
58
+ as: {},
59
+ class: {}
60
+ },
61
+ setup(s) {
62
+ const o = s, a = u(o, "class"), t = P(a);
63
+ return (r, f) => (i(), d(e(b), p(e(t), {
64
+ class: e(m)("border-b", o.class)
65
+ }), {
66
+ default: n(() => [
67
+ c(r.$slots, "default")
68
+ ]),
69
+ _: 3
70
+ }, 16, ["class"]));
71
+ }
72
+ }), R = /* @__PURE__ */ l({
73
+ __name: "AccordionTrigger",
74
+ props: {
75
+ asChild: { type: Boolean },
76
+ as: {},
77
+ class: {}
78
+ },
79
+ setup(s) {
80
+ const o = s, a = u(o, "class");
81
+ return (t, r) => (i(), d(e(v), { class: "flex" }, {
82
+ default: n(() => [
83
+ _(e($), p(e(a), {
84
+ class: e(m)(
85
+ "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
86
+ o.class
87
+ )
88
+ }), {
89
+ default: n(() => [
90
+ c(t.$slots, "default"),
91
+ c(t.$slots, "icon", {}, () => [
92
+ _(e(x), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })
93
+ ])
94
+ ]),
95
+ _: 3
96
+ }, 16, ["class"])
97
+ ]),
98
+ _: 3
99
+ }));
100
+ }
101
+ });
102
+ export {
103
+ F as _,
104
+ N as a,
105
+ R as b,
106
+ I as c
107
+ };
@@ -0,0 +1,185 @@
1
+ import { defineComponent as l, createBlock as p, openBlock as r, unref as e, normalizeProps as A, guardReactiveProps as D, withCtx as c, renderSlot as n, mergeProps as u, createVNode as g, createElementBlock as h, normalizeClass as x } from "vue";
2
+ import { useForwardPropsEmits as $, AlertDialogRoot as B, AlertDialogAction as C, AlertDialogCancel as P, AlertDialogPortal as b, AlertDialogOverlay as w, AlertDialogContent as v, AlertDialogDescription as O, AlertDialogTitle as z, AlertDialogTrigger as k } from "reka-ui";
3
+ import { c as d } from "./styles-qaFjX9_3.js";
4
+ import { b as y } from "./index-DCxse3sU.js";
5
+ import { r as m } from "./index-A7umpmtg.js";
6
+ const H = /* @__PURE__ */ l({
7
+ __name: "AlertDialog",
8
+ props: {
9
+ open: { type: Boolean },
10
+ defaultOpen: { type: Boolean }
11
+ },
12
+ emits: ["update:open"],
13
+ setup(s, { emit: t }) {
14
+ const i = $(s, t);
15
+ return (f, _) => (r(), p(e(B), A(D(e(i))), {
16
+ default: c(() => [
17
+ n(f.$slots, "default")
18
+ ]),
19
+ _: 3
20
+ }, 16));
21
+ }
22
+ }), K = /* @__PURE__ */ l({
23
+ __name: "AlertDialogAction",
24
+ props: {
25
+ asChild: { type: Boolean },
26
+ as: {},
27
+ class: {}
28
+ },
29
+ setup(s) {
30
+ const t = s, a = m(t, "class");
31
+ return (o, i) => (r(), p(e(C), u(e(a), {
32
+ class: e(d)(e(y)(), t.class)
33
+ }), {
34
+ default: c(() => [
35
+ n(o.$slots, "default")
36
+ ]),
37
+ _: 3
38
+ }, 16, ["class"]));
39
+ }
40
+ }), M = /* @__PURE__ */ l({
41
+ __name: "AlertDialogCancel",
42
+ props: {
43
+ asChild: { type: Boolean },
44
+ as: {},
45
+ class: {}
46
+ },
47
+ setup(s) {
48
+ const t = s, a = m(t, "class");
49
+ return (o, i) => (r(), p(e(P), u(e(a), {
50
+ class: e(d)(
51
+ e(y)({ variant: "outline" }),
52
+ "mt-2 sm:mt-0",
53
+ t.class
54
+ )
55
+ }), {
56
+ default: c(() => [
57
+ n(o.$slots, "default")
58
+ ]),
59
+ _: 3
60
+ }, 16, ["class"]));
61
+ }
62
+ }), N = /* @__PURE__ */ l({
63
+ __name: "AlertDialogContent",
64
+ props: {
65
+ forceMount: { type: Boolean },
66
+ disableOutsidePointerEvents: { type: Boolean },
67
+ asChild: { type: Boolean },
68
+ as: {},
69
+ class: {}
70
+ },
71
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
72
+ setup(s, { emit: t }) {
73
+ const a = s, o = t, i = m(a, "class"), f = $(i, o);
74
+ return (_, F) => (r(), p(e(b), null, {
75
+ default: c(() => [
76
+ g(e(w), { class: "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }),
77
+ g(e(v), u(e(f), {
78
+ class: e(d)(
79
+ "fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
80
+ a.class
81
+ )
82
+ }), {
83
+ default: c(() => [
84
+ n(_.$slots, "default")
85
+ ]),
86
+ _: 3
87
+ }, 16, ["class"])
88
+ ]),
89
+ _: 3
90
+ }));
91
+ }
92
+ }), S = /* @__PURE__ */ l({
93
+ __name: "AlertDialogDescription",
94
+ props: {
95
+ asChild: { type: Boolean },
96
+ as: {},
97
+ class: {}
98
+ },
99
+ setup(s) {
100
+ const t = s, a = m(t, "class");
101
+ return (o, i) => (r(), p(e(O), u(e(a), {
102
+ class: e(d)("text-sm text-muted-foreground", t.class)
103
+ }), {
104
+ default: c(() => [
105
+ n(o.$slots, "default")
106
+ ]),
107
+ _: 3
108
+ }, 16, ["class"]));
109
+ }
110
+ }), q = /* @__PURE__ */ l({
111
+ __name: "AlertDialogFooter",
112
+ props: {
113
+ class: {}
114
+ },
115
+ setup(s) {
116
+ const t = s;
117
+ return (a, o) => (r(), h("div", {
118
+ class: x(
119
+ e(d)(
120
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",
121
+ t.class
122
+ )
123
+ )
124
+ }, [
125
+ n(a.$slots, "default")
126
+ ], 2));
127
+ }
128
+ }), G = /* @__PURE__ */ l({
129
+ __name: "AlertDialogHeader",
130
+ props: {
131
+ class: {}
132
+ },
133
+ setup(s) {
134
+ const t = s;
135
+ return (a, o) => (r(), h("div", {
136
+ class: x(e(d)("flex flex-col gap-y-2 text-center sm:text-left", t.class))
137
+ }, [
138
+ n(a.$slots, "default")
139
+ ], 2));
140
+ }
141
+ }), I = /* @__PURE__ */ l({
142
+ __name: "AlertDialogTitle",
143
+ props: {
144
+ asChild: { type: Boolean },
145
+ as: {},
146
+ class: {}
147
+ },
148
+ setup(s) {
149
+ const t = s, a = m(t, "class");
150
+ return (o, i) => (r(), p(e(z), u(e(a), {
151
+ class: e(d)("text-lg font-semibold", t.class)
152
+ }), {
153
+ default: c(() => [
154
+ n(o.$slots, "default")
155
+ ]),
156
+ _: 3
157
+ }, 16, ["class"]));
158
+ }
159
+ }), J = /* @__PURE__ */ l({
160
+ __name: "AlertDialogTrigger",
161
+ props: {
162
+ asChild: { type: Boolean },
163
+ as: {}
164
+ },
165
+ setup(s) {
166
+ const t = s;
167
+ return (a, o) => (r(), p(e(k), A(D(t)), {
168
+ default: c(() => [
169
+ n(a.$slots, "default")
170
+ ]),
171
+ _: 3
172
+ }, 16));
173
+ }
174
+ });
175
+ export {
176
+ H as _,
177
+ K as a,
178
+ M as b,
179
+ N as c,
180
+ S as d,
181
+ q as e,
182
+ G as f,
183
+ I as g,
184
+ J as h
185
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent as i, createBlock as n, openBlock as o, unref as t, normalizeClass as r, withCtx as l, renderSlot as c } from "vue";
2
+ import { Primitive as m } from "reka-ui";
3
+ import { c as f } from "./styles-qaFjX9_3.js";
4
+ import { b as u } from "./index-DCxse3sU.js";
5
+ const z = /* @__PURE__ */ i({
6
+ __name: "Button",
7
+ props: {
8
+ variant: {},
9
+ size: {},
10
+ class: {},
11
+ asChild: { type: Boolean },
12
+ as: { default: "button" }
13
+ },
14
+ setup(a) {
15
+ const s = a;
16
+ return (e, d) => (o(), n(t(m), {
17
+ as: a.as,
18
+ "as-child": a.asChild,
19
+ class: r(t(f)(t(u)({ variant: a.variant, size: a.size }), s.class))
20
+ }, {
21
+ default: l(() => [
22
+ c(e.$slots, "default")
23
+ ]),
24
+ _: 3
25
+ }, 8, ["as", "as-child", "class"]));
26
+ }
27
+ });
28
+ export {
29
+ z as _
30
+ };
@@ -0,0 +1,2 @@
1
+ export { cn } from './lib/utils';
2
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
@@ -0,0 +1,9 @@
1
+ import { c as r } from "./styles-qaFjX9_3.js";
2
+ import { _ as a, c as e, a as i, b as s } from "./AccordionTrigger.vue_vue_type_script_setup_true_lang-vy6KzwI7.js";
3
+ export {
4
+ a as Accordion,
5
+ e as AccordionContent,
6
+ i as AccordionItem,
7
+ s as AccordionTrigger,
8
+ r as cn
9
+ };
@@ -0,0 +1,2 @@
1
+ export { cn } from './lib/utils';
2
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from './components/ui/alert-dialog';
@@ -0,0 +1,14 @@
1
+ import { c as l } from "./styles-qaFjX9_3.js";
2
+ import { _ as r, a as t, b as i, c as g, d as s, e as A, f as D, g as c, h as n } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-DNFUKWlR.js";
3
+ export {
4
+ r 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 AlertDialogTitle,
12
+ n as AlertDialogTrigger,
13
+ l as cn
14
+ };
@@ -0,0 +1,3 @@
1
+ export { cn } from './lib/utils';
2
+ export { Badge, badgeVariants } from './components/ui/badge';
3
+ export type { BadgeVariants } from './components/ui/badge';
package/dist/badge.js ADDED
@@ -0,0 +1,7 @@
1
+ import { c as e } from "./styles-qaFjX9_3.js";
2
+ import { _ as s, b as t } from "./index-BS0sZM3b.js";
3
+ export {
4
+ s as Badge,
5
+ t as badgeVariants,
6
+ e as cn
7
+ };
@@ -0,0 +1,3 @@
1
+ export { cn } from './lib/utils';
2
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, } from './components/ui/button-group';
3
+ export type { ButtonGroupVariants } from './components/ui/button-group';
@@ -0,0 +1,9 @@
1
+ import { c as r } from "./styles-qaFjX9_3.js";
2
+ import { _ as u, a as p, b as n, c as s } from "./index-Cctx-joO.js";
3
+ export {
4
+ u as ButtonGroup,
5
+ p as ButtonGroupSeparator,
6
+ n as ButtonGroupText,
7
+ s as buttonGroupVariants,
8
+ r as cn
9
+ };
@@ -0,0 +1,3 @@
1
+ export { cn } from './lib/utils';
2
+ export { Button, buttonVariants } from './components/ui/button';
3
+ export type { ButtonVariants } from './components/ui/button';
package/dist/button.js ADDED
@@ -0,0 +1,8 @@
1
+ import { c as r } from "./styles-qaFjX9_3.js";
2
+ import { b as n } from "./index-DCxse3sU.js";
3
+ import { _ as e } from "./Button.vue_vue_type_script_setup_true_lang-Xhp6qpI9.js";
4
+ export {
5
+ e as Button,
6
+ n as buttonVariants,
7
+ r as cn
8
+ };
@@ -0,0 +1,26 @@
1
+ import { AccordionRootProps } from 'reka-ui';
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionRootProps<string | string[]>>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: string | string[] | undefined) => void;
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionRootProps<string | string[]>>>> & Readonly<{
9
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,27 @@
1
+ import { AccordionContentProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionContentProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionContentProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,27 @@
1
+ import { AccordionItemProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionItemProps & {
8
+ class?: HTMLAttributes["class"];
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionItemProps & {
10
+ class?: HTMLAttributes["class"];
11
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: import('vue').PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };