@equal-experts/kuat-vue 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/CarouselNext.vue_vue_type_script_setup_true_lang-Ccl5Fhm_.js +1426 -0
- package/dist/KuatCarouselNext.vue_vue_type_script_setup_true_lang-DZzbUdio.js +97 -0
- package/dist/accordion.js +6 -7
- package/dist/alert-dialog.js +12 -13
- package/dist/badge.js +3 -4
- package/dist/button-group.js +6 -7
- package/dist/button.js +3 -4
- package/dist/carousel.d.ts +2 -0
- package/dist/carousel.js +8 -0
- package/dist/checkbox.js +4 -5
- package/dist/components/ui/carousel/Carousel.vue.d.ts +3 -1
- package/dist/components/ui/carousel/index.d.ts +1 -1
- package/dist/components/ui/content-card/ContentCard.vue.d.ts +10 -0
- package/dist/components/ui/kuat-carousel/KuatCarousel.vue.d.ts +2 -2
- package/dist/field.js +16 -17
- package/dist/index.js +399 -1897
- package/dist/input.js +5 -6
- package/dist/kuat-carousel.d.ts +2 -0
- package/dist/kuat-carousel.js +8 -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 +20 -21
- package/dist/toggle.js +7 -8
- package/package.json +13 -4
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as e, createBlock as n, openBlock as o, normalizeClass as c, withCtx as l, renderSlot as i } from "vue";
|
|
2
|
+
import { _ as p, a as _, b as u, c as m, d as f } from "./CarouselNext.vue_vue_type_script_setup_true_lang-Ccl5Fhm_.js";
|
|
3
|
+
const C = /* @__PURE__ */ e({
|
|
4
|
+
__name: "KuatCarousel",
|
|
5
|
+
props: {
|
|
6
|
+
class: {},
|
|
7
|
+
opts: {},
|
|
8
|
+
plugins: {},
|
|
9
|
+
events: {},
|
|
10
|
+
setApi: {},
|
|
11
|
+
slidesPerView: { default: 1 },
|
|
12
|
+
orientation: { default: "horizontal" }
|
|
13
|
+
},
|
|
14
|
+
setup(a) {
|
|
15
|
+
const s = a;
|
|
16
|
+
return (t, r) => (o(), n(p, {
|
|
17
|
+
class: c(s.class),
|
|
18
|
+
opts: s.opts,
|
|
19
|
+
plugins: s.plugins,
|
|
20
|
+
events: s.events,
|
|
21
|
+
"set-api": s.setApi,
|
|
22
|
+
basis: s.slidesPerView,
|
|
23
|
+
orientation: s.orientation
|
|
24
|
+
}, {
|
|
25
|
+
controls: l(() => [
|
|
26
|
+
i(t.$slots, "controls")
|
|
27
|
+
]),
|
|
28
|
+
content: l(() => [
|
|
29
|
+
i(t.$slots, "content")
|
|
30
|
+
]),
|
|
31
|
+
_: 3
|
|
32
|
+
}, 8, ["class", "opts", "plugins", "events", "set-api", "basis", "orientation"]));
|
|
33
|
+
}
|
|
34
|
+
}), b = /* @__PURE__ */ e({
|
|
35
|
+
__name: "KuatCarouselContent",
|
|
36
|
+
props: {
|
|
37
|
+
class: {}
|
|
38
|
+
},
|
|
39
|
+
setup(a) {
|
|
40
|
+
const s = a;
|
|
41
|
+
return (t, r) => (o(), n(_, {
|
|
42
|
+
class: c(s.class)
|
|
43
|
+
}, {
|
|
44
|
+
default: l(() => [
|
|
45
|
+
i(t.$slots, "default")
|
|
46
|
+
]),
|
|
47
|
+
_: 3
|
|
48
|
+
}, 8, ["class"]));
|
|
49
|
+
}
|
|
50
|
+
}), h = /* @__PURE__ */ e({
|
|
51
|
+
__name: "KuatCarouselItem",
|
|
52
|
+
props: {
|
|
53
|
+
class: {},
|
|
54
|
+
basis: {}
|
|
55
|
+
},
|
|
56
|
+
setup(a) {
|
|
57
|
+
const s = a;
|
|
58
|
+
return (t, r) => (o(), n(u, {
|
|
59
|
+
class: c(s.class),
|
|
60
|
+
basis: s.basis
|
|
61
|
+
}, {
|
|
62
|
+
default: l(() => [
|
|
63
|
+
i(t.$slots, "default")
|
|
64
|
+
]),
|
|
65
|
+
_: 3
|
|
66
|
+
}, 8, ["class", "basis"]));
|
|
67
|
+
}
|
|
68
|
+
}), v = /* @__PURE__ */ e({
|
|
69
|
+
__name: "KuatCarouselPrevious",
|
|
70
|
+
props: {
|
|
71
|
+
class: {}
|
|
72
|
+
},
|
|
73
|
+
setup(a) {
|
|
74
|
+
const s = a;
|
|
75
|
+
return (t, r) => (o(), n(m, {
|
|
76
|
+
class: c(s.class)
|
|
77
|
+
}, null, 8, ["class"]));
|
|
78
|
+
}
|
|
79
|
+
}), K = /* @__PURE__ */ e({
|
|
80
|
+
__name: "KuatCarouselNext",
|
|
81
|
+
props: {
|
|
82
|
+
class: {}
|
|
83
|
+
},
|
|
84
|
+
setup(a) {
|
|
85
|
+
const s = a;
|
|
86
|
+
return (t, r) => (o(), n(f, {
|
|
87
|
+
class: c(s.class)
|
|
88
|
+
}, null, 8, ["class"]));
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
export {
|
|
92
|
+
C as _,
|
|
93
|
+
b as a,
|
|
94
|
+
h as b,
|
|
95
|
+
v as c,
|
|
96
|
+
K as d
|
|
97
|
+
};
|
package/dist/accordion.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
3
|
-
import { _ as i, b as t, A as e, a as s } from "./AccordionTrigger-BRz5PzEd.js";
|
|
1
|
+
import { c as r } from "./utils-DLUjLwnh.js";
|
|
2
|
+
import { _ as a, b as e, A as i, a as s } from "./AccordionTrigger-BRz5PzEd.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,15 +1,14 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
3
|
-
import { _ as t, A as i, a as g, b as s, c as A, d as D, e as c, f as n, g as p } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js";
|
|
1
|
+
import { c as l } from "./utils-DLUjLwnh.js";
|
|
2
|
+
import { _ as r, A as t, a as i, b as g, c as s, d as A, e as D, f as c, g as n } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js";
|
|
4
3
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
15
14
|
};
|
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 "./index-C3VyxnTa.js";
|
|
2
|
+
import { B as s, b as t } from "./index-C3VyxnTa.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 "./index-iz_NZI-V.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 "./index-iz_NZI-V.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 { _ as s, b as m } from "./index-CBmjn3iX.js";
|
|
2
|
+
import { _ as n, b as s } from "./index-CBmjn3iX.js";
|
|
4
3
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
n as Button,
|
|
5
|
+
s as buttonVariants,
|
|
7
6
|
a as cn
|
|
8
7
|
};
|
package/dist/carousel.js
ADDED
package/dist/checkbox.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
3
|
-
import { C as r, b as s, _, a as c } from "./constants-BpzIL1jq.js";
|
|
1
|
+
import { c as o } from "./utils-DLUjLwnh.js";
|
|
2
|
+
import { C as e, b as s, _, a as c } from "./constants-BpzIL1jq.js";
|
|
4
3
|
export {
|
|
5
|
-
|
|
4
|
+
e as CHECKBOX_FIELD_APPEARANCES,
|
|
6
5
|
s as CHECKBOX_FIELD_LAYOUTS,
|
|
7
6
|
_ as Checkbox,
|
|
8
7
|
c as CheckboxField,
|
|
9
|
-
|
|
8
|
+
o as cn
|
|
10
9
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { default as useEmblaCarousel } from 'embla-carousel-vue';
|
|
2
3
|
import { CarouselApi, CarouselItemBasis, CarouselOrientation } from './context';
|
|
3
4
|
|
|
5
|
+
export type CarouselPlugins = Parameters<typeof useEmblaCarousel>[1];
|
|
4
6
|
export type CarouselEventHandler = (api: CarouselApi, eventName: string) => void;
|
|
5
7
|
export type CarouselEventHandlers = Partial<Record<string, CarouselEventHandler>>;
|
|
6
8
|
interface Props {
|
|
@@ -8,7 +10,7 @@ interface Props {
|
|
|
8
10
|
opts?: Record<string, unknown>;
|
|
9
11
|
basis?: CarouselItemBasis;
|
|
10
12
|
orientation?: CarouselOrientation;
|
|
11
|
-
plugins?:
|
|
13
|
+
plugins?: CarouselPlugins;
|
|
12
14
|
setApi?: (api: CarouselApi | undefined) => void;
|
|
13
15
|
events?: CarouselEventHandlers;
|
|
14
16
|
}
|
|
@@ -4,4 +4,4 @@ export { default as CarouselItem } from './CarouselItem.vue';
|
|
|
4
4
|
export { default as CarouselPrevious } from './CarouselPrevious.vue';
|
|
5
5
|
export { default as CarouselNext } from './CarouselNext.vue';
|
|
6
6
|
export type { CarouselItemBasis, CarouselOrientation, CarouselApi } from './context';
|
|
7
|
-
export type { CarouselEventHandler, CarouselEventHandlers } from './Carousel.vue';
|
|
7
|
+
export type { CarouselEventHandler, CarouselEventHandlers, CarouselPlugins } from './Carousel.vue';
|
|
@@ -3,6 +3,10 @@ import { PrimitiveProps } from 'reka-ui';
|
|
|
3
3
|
|
|
4
4
|
interface Props extends PrimitiveProps {
|
|
5
5
|
class?: HTMLAttributes["class"];
|
|
6
|
+
/** Width behavior for the root card container. */
|
|
7
|
+
width?: "default" | "fluid" | "custom";
|
|
8
|
+
/** Used when `width` is `custom`; accepts CSS max-width values. */
|
|
9
|
+
maxWidth?: string | number;
|
|
6
10
|
/** Optional media; when `null`, the media area is removed (no gap). */
|
|
7
11
|
imageSrc?: string | null;
|
|
8
12
|
imageAlt?: string;
|
|
@@ -22,16 +26,22 @@ declare function __VLS_template(): {
|
|
|
22
26
|
};
|
|
23
27
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
24
28
|
as: string;
|
|
29
|
+
width: string;
|
|
30
|
+
maxWidth: string;
|
|
25
31
|
imageSrc: null;
|
|
26
32
|
imageAlt: string;
|
|
27
33
|
contentText: null;
|
|
28
34
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
35
|
as: string;
|
|
36
|
+
width: string;
|
|
37
|
+
maxWidth: string;
|
|
30
38
|
imageSrc: null;
|
|
31
39
|
imageAlt: string;
|
|
32
40
|
contentText: null;
|
|
33
41
|
}>>> & Readonly<{}>, {
|
|
34
42
|
as: import('reka-ui').AsTag | import('vue').Component;
|
|
43
|
+
width: "default" | "fluid" | "custom";
|
|
44
|
+
maxWidth: string | number;
|
|
35
45
|
imageSrc: string | null;
|
|
36
46
|
imageAlt: string;
|
|
37
47
|
contentText: string | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
-
import { CarouselApi, CarouselEventHandlers, CarouselOrientation } from '../carousel';
|
|
2
|
+
import { CarouselApi, CarouselEventHandlers, CarouselOrientation, CarouselPlugins } from '../carousel';
|
|
3
3
|
|
|
4
4
|
export type KuatCarouselSlidesPerView = 1 | 2 | 3;
|
|
5
5
|
interface Props {
|
|
6
6
|
class?: HTMLAttributes["class"];
|
|
7
7
|
opts?: Record<string, unknown>;
|
|
8
|
-
plugins?:
|
|
8
|
+
plugins?: CarouselPlugins;
|
|
9
9
|
events?: CarouselEventHandlers;
|
|
10
10
|
setApi?: (api: CarouselApi | undefined) => void;
|
|
11
11
|
slidesPerView?: KuatCarouselSlidesPerView;
|
package/dist/field.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
3
|
-
import { _ as
|
|
4
|
-
import { F as E, e as c, _ as n, a as I, b as L, c as _, d as m } from "./FieldSet.vue_vue_type_script_setup_true_lang-D9i4ciy0.js";
|
|
1
|
+
import { c as s } from "./utils-DLUjLwnh.js";
|
|
2
|
+
import { _ as i, a as r, b as F, c as l, d as o } from "./FieldTitle.vue_vue_type_script_setup_true_lang-Bu8UIwRT.js";
|
|
3
|
+
import { F as p, e as E, _ as c, a as n, b as I, c as L, d as _ } from "./FieldSet.vue_vue_type_script_setup_true_lang-D9i4ciy0.js";
|
|
5
4
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
p as FIELD_LEGEND_VARIANTS,
|
|
6
|
+
E as FIELD_ORIENTATIONS,
|
|
7
|
+
i as Field,
|
|
8
|
+
r as FieldContent,
|
|
9
|
+
F as FieldDescription,
|
|
10
|
+
c as FieldError,
|
|
11
|
+
n as FieldGroup,
|
|
12
|
+
l as FieldLabel,
|
|
13
|
+
I as FieldLegend,
|
|
14
|
+
L as FieldSeparator,
|
|
15
|
+
_ as FieldSet,
|
|
16
|
+
o as FieldTitle,
|
|
17
|
+
s as cn
|
|
19
18
|
};
|