@equal-experts/kuat-vue 0.4.1 → 0.4.2

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 (57) hide show
  1. package/README.md +10 -27
  2. package/dist/AccordionTrigger-BRz5PzEd.js +105 -0
  3. package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js +173 -0
  4. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  5. package/dist/accordion.js +2 -2
  6. package/dist/alert-dialog.js +2 -2
  7. package/dist/badge.js +2 -2
  8. package/dist/button-group.js +2 -2
  9. package/dist/button.js +5 -6
  10. package/dist/components/ui/badge/Badge.vue.d.ts +9 -2
  11. package/dist/components/ui/badge/constants.d.ts +4 -0
  12. package/dist/components/ui/badge/index.d.ts +12 -5
  13. package/dist/components/ui/breadcrumb/Breadcrumb.vue.d.ts +34 -0
  14. package/dist/components/ui/breadcrumb/index.d.ts +2 -0
  15. package/dist/components/ui/breadcrumb/types.d.ts +8 -0
  16. package/dist/components/ui/button/Button.vue.d.ts +13 -3
  17. package/dist/components/ui/button/constants.d.ts +12 -0
  18. package/dist/components/ui/button/index.d.ts +10 -6
  19. package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +20 -6
  20. package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -2
  21. package/dist/components/ui/button-group/constants.d.ts +2 -0
  22. package/dist/components/ui/button-group/index.d.ts +10 -5
  23. package/dist/components/ui/content-card/ContentCard.vue.d.ts +62 -0
  24. package/dist/components/ui/content-card/index.d.ts +1 -0
  25. package/dist/components/ui/kuat-carousel/KuatCarousel.vue.d.ts +47 -0
  26. package/dist/components/ui/kuat-carousel/KuatCarouselContent.vue.d.ts +25 -0
  27. package/dist/components/ui/kuat-carousel/KuatCarouselItem.vue.d.ts +25 -0
  28. package/dist/components/ui/kuat-carousel/KuatCarouselNext.vue.d.ts +16 -0
  29. package/dist/components/ui/kuat-carousel/KuatCarouselPrevious.vue.d.ts +16 -0
  30. package/dist/components/ui/kuat-carousel/index.d.ts +6 -0
  31. package/dist/components/ui/kuat-header/EELogo.vue.d.ts +32 -0
  32. package/dist/components/ui/kuat-header/KuatHeader.vue.d.ts +55 -0
  33. package/dist/components/ui/kuat-header/constants.d.ts +4 -0
  34. package/dist/components/ui/kuat-header/index.d.ts +15 -0
  35. package/dist/components/ui/kuat-logo-lockup/EELogoIcon.vue.d.ts +18 -0
  36. package/dist/components/ui/kuat-logo-lockup/KuatLogoLockup.vue.d.ts +45 -0
  37. package/dist/components/ui/kuat-logo-lockup/constants.d.ts +4 -0
  38. package/dist/components/ui/kuat-logo-lockup/index.d.ts +4 -0
  39. package/dist/components/ui/kuat-radial-progress/KuatRadialProgress.vue.d.ts +52 -0
  40. package/dist/components/ui/kuat-radial-progress/constants.d.ts +4 -0
  41. package/dist/components/ui/kuat-radial-progress/index.d.ts +3 -0
  42. package/dist/index-C3VyxnTa.js +35 -0
  43. package/dist/index-CBmjn3iX.js +58 -0
  44. package/dist/index-iz_NZI-V.js +85 -0
  45. package/dist/index.d.ts +15 -22
  46. package/dist/index.js +2006 -29
  47. package/dist/style.css +1 -1
  48. package/dist/test/setup.d.ts +1 -0
  49. package/dist/{utils-qaFjX9_3.js → utils-DLUjLwnh.js} +0 -1
  50. package/package.json +17 -9
  51. package/dist/AccordionTrigger.vue_vue_type_script_setup_true_lang-CG4FNPK2.js +0 -107
  52. package/dist/AlertDialogTrigger.vue_vue_type_script_setup_true_lang-chev-oxU.js +0 -185
  53. package/dist/Button.vue_vue_type_script_setup_true_lang-CtAz6Sf_.js +0 -30
  54. package/dist/index-B9dF2hh8.js +0 -103
  55. package/dist/index-CMJyKNIG.js +0 -45
  56. package/dist/index-D3egriua.js +0 -33
  57. package/dist/index-DACAHwoB.js +0 -34
@@ -0,0 +1,85 @@
1
+ import { defineComponent as s, createElementBlock as f, openBlock as n, normalizeClass as u, unref as a, renderSlot as i, createBlock as p, mergeProps as d, withCtx as h } from "vue";
2
+ import { c as r } from "./utils-DLUjLwnh.js";
3
+ import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import { Separator as B, Primitive as v } from "reka-ui";
5
+ import { r as _ } from "./index-A7umpmtg.js";
6
+ const g = ["data-orientation"], b = /* @__PURE__ */ s({
7
+ __name: "ButtonGroup",
8
+ props: {
9
+ class: {},
10
+ orientation: { default: "horizontal" }
11
+ },
12
+ setup(o) {
13
+ const t = o;
14
+ return (e, l) => (n(), f("div", {
15
+ role: "group",
16
+ "data-slot": "button-group",
17
+ "data-orientation": t.orientation,
18
+ class: u(a(r)("button-group", `button-group--${t.orientation}`, t.class))
19
+ }, [
20
+ i(e.$slots, "default", {}, void 0, !0)
21
+ ], 10, g));
22
+ }
23
+ }), k = /* @__PURE__ */ c(b, [["__scopeId", "data-v-10dc75ee"]]), x = /* @__PURE__ */ s({
24
+ __name: "Separator",
25
+ props: {
26
+ orientation: { default: "horizontal" },
27
+ decorative: { type: Boolean, default: !0 },
28
+ asChild: { type: Boolean },
29
+ as: {},
30
+ class: {}
31
+ },
32
+ setup(o) {
33
+ const t = o, e = _(t, "class");
34
+ return (l, m) => (n(), p(a(B), d({ "data-slot": "separator" }, a(e), {
35
+ class: a(r)("separator", t.class)
36
+ }), null, 16, ["class"]));
37
+ }
38
+ }), S = /* @__PURE__ */ c(x, [["__scopeId", "data-v-02e74a9d"]]), $ = /* @__PURE__ */ s({
39
+ __name: "ButtonGroupSeparator",
40
+ props: {
41
+ orientation: { default: "vertical" },
42
+ decorative: { type: Boolean },
43
+ asChild: { type: Boolean },
44
+ as: {},
45
+ class: {}
46
+ },
47
+ setup(o) {
48
+ const t = o, e = _(t, "class");
49
+ return (l, m) => (n(), p(a(S), d({ "data-slot": "button-group-separator" }, a(e), {
50
+ orientation: t.orientation,
51
+ class: a(r)("button-group-separator", t.class)
52
+ }), null, 16, ["orientation", "class"]));
53
+ }
54
+ }), T = /* @__PURE__ */ c($, [["__scopeId", "data-v-6c3c09e8"]]), C = /* @__PURE__ */ s({
55
+ __name: "ButtonGroupText",
56
+ props: {
57
+ class: {},
58
+ asChild: { type: Boolean },
59
+ as: { default: "div" }
60
+ },
61
+ setup(o) {
62
+ const t = o;
63
+ return (e, l) => (n(), p(a(v), {
64
+ as: o.as,
65
+ "as-child": o.asChild,
66
+ class: u(a(r)("button-group-text", t.class))
67
+ }, {
68
+ default: h(() => [
69
+ i(e.$slots, "default", {}, void 0, !0)
70
+ ]),
71
+ _: 3
72
+ }, 8, ["as", "as-child", "class"]));
73
+ }
74
+ }), w = /* @__PURE__ */ c(C, [["__scopeId", "data-v-e434e88e"]]);
75
+ function E(o) {
76
+ const t = (o == null ? void 0 : o.orientation) ?? "horizontal";
77
+ return r("button-group", `button-group--${t}`);
78
+ }
79
+ export {
80
+ k as B,
81
+ S,
82
+ T as a,
83
+ w as b,
84
+ E as c
85
+ };
package/dist/index.d.ts CHANGED
@@ -2,27 +2,20 @@
2
2
  export { cn } from './lib/utils';
3
3
  export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, } from './components/ui/button-group';
4
4
  export type { ButtonGroupVariants } from './components/ui/button-group';
5
- /**
6
- * @deprecated Install directly via `npx shadcn-vue@latest add button`.
7
- * The component will be themed automatically when using kuat-core.
8
- */
9
- export { Button, buttonVariants } from './components/ui/button';
10
- /** @deprecated */
11
- export type { ButtonVariants } from './components/ui/button';
12
- /**
13
- * @deprecated Install directly via `npx shadcn-vue@latest add accordion`.
14
- * The component will be themed automatically when using kuat-core.
15
- */
5
+ export { ContentCard } from './components/ui/content-card';
6
+ export { KuatHeader, kuatHeaderVariants, EELogo } from './components/ui/kuat-header';
7
+ export type { KuatHeaderVariants } from './components/ui/kuat-header';
8
+ export { KuatCarousel, KuatCarouselContent, KuatCarouselItem, KuatCarouselPrevious, KuatCarouselNext, } from './components/ui/kuat-carousel';
9
+ export type { KuatCarouselSlidesPerView } from './components/ui/kuat-carousel';
10
+ export { KuatRadialProgress, KUAT_RADIAL_PROGRESS_SIZES, KUAT_RADIAL_PROGRESS_COLORS, } from './components/ui/kuat-radial-progress';
11
+ export type { KuatRadialProgressSize, KuatRadialProgressColor, } from './components/ui/kuat-radial-progress';
12
+ export { KuatLogoLockup, EELogoIcon, KUAT_LOGO_LOCKUP_USE, KUAT_LOGO_LOCKUP_MODE, } from './components/ui/kuat-logo-lockup';
13
+ export type { KuatLogoLockupUse, KuatLogoLockupMode, } from './components/ui/kuat-logo-lockup';
16
14
  export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
17
- /**
18
- * @deprecated Install directly via `npx shadcn-vue@latest add alert-dialog`.
19
- * The component will be themed automatically when using kuat-core.
20
- */
21
15
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from './components/ui/alert-dialog';
22
- /**
23
- * @deprecated Install directly via `npx shadcn-vue@latest add badge`.
24
- * The component will be themed automatically when using kuat-core.
25
- */
26
- export { Badge, badgeVariants } from './components/ui/badge';
27
- /** @deprecated */
28
- export type { BadgeVariants } from './components/ui/badge';
16
+ export { Badge, badgeVariants, BADGE_VARIANTS, BADGE_ROUNDNESS } from './components/ui/badge';
17
+ export type { BadgeVariants, BadgeVariant, BadgeRoundness } from './components/ui/badge';
18
+ export { Breadcrumb } from './components/ui/breadcrumb';
19
+ export type { BreadcrumbItemEntry } from './components/ui/breadcrumb';
20
+ export { Button, buttonVariants, BUTTON_VARIANTS, BUTTON_SIZES, BUTTON_COLORS, } from './components/ui/button';
21
+ export type { ButtonVariants, ButtonVariant, ButtonSize, ButtonColor } from './components/ui/button';