@equal-experts/kuat-vue 0.9.1 → 0.9.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.
- 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/kuat-carousel/KuatCarousel.vue.d.ts +2 -2
- package/dist/field.js +16 -17
- package/dist/index.js +395 -1896
- 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
package/dist/textarea.js
CHANGED
package/dist/toggle-group.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { c as p } from "./utils-DLUjLwnh.js";
|
|
2
|
-
|
|
3
|
-
import { defineComponent as n, createBlock as i, openBlock as u, unref as e, mergeProps as g, withCtx as c, renderSlot as d } from "vue";
|
|
2
|
+
import { defineComponent as n, createBlock as i, openBlock as u, unref as o, mergeProps as g, withCtx as c, renderSlot as d } from "vue";
|
|
4
3
|
import { useForwardPropsEmits as m, ToggleGroupRoot as f, useForwardProps as _, ToggleGroupItem as G } from "reka-ui";
|
|
5
|
-
import { T as
|
|
4
|
+
import { T as $, a as w } from "./constants-CXAkjttx.js";
|
|
6
5
|
import { r as T } from "./index-A7umpmtg.js";
|
|
7
|
-
const
|
|
6
|
+
const k = /* @__PURE__ */ n({
|
|
8
7
|
__name: "ToggleGroup",
|
|
9
8
|
props: {
|
|
10
9
|
rovingFocus: { type: Boolean },
|
|
@@ -22,10 +21,10 @@ const z = /* @__PURE__ */ n({
|
|
|
22
21
|
class: {}
|
|
23
22
|
},
|
|
24
23
|
emits: ["update:modelValue"],
|
|
25
|
-
setup(s, { emit:
|
|
26
|
-
const t = s, r = m(t,
|
|
27
|
-
return (l, B) => (u(), i(
|
|
28
|
-
class:
|
|
24
|
+
setup(s, { emit: e }) {
|
|
25
|
+
const t = s, r = m(t, e);
|
|
26
|
+
return (l, B) => (u(), i(o(f), g({ "data-slot": "toggle-group" }, o(r), {
|
|
27
|
+
class: o(p)("toggle-group", `toggle-group--${t.orientation}`, t.class)
|
|
29
28
|
}), {
|
|
30
29
|
default: c(() => [
|
|
31
30
|
d(l.$slots, "default")
|
|
@@ -33,7 +32,7 @@ const z = /* @__PURE__ */ n({
|
|
|
33
32
|
_: 3
|
|
34
33
|
}, 16, ["class"]));
|
|
35
34
|
}
|
|
36
|
-
}),
|
|
35
|
+
}), z = /* @__PURE__ */ n({
|
|
37
36
|
__name: "ToggleGroupItem",
|
|
38
37
|
props: {
|
|
39
38
|
value: {},
|
|
@@ -45,13 +44,13 @@ const z = /* @__PURE__ */ n({
|
|
|
45
44
|
skin: { default: "outlined" }
|
|
46
45
|
},
|
|
47
46
|
setup(s) {
|
|
48
|
-
const
|
|
49
|
-
return (r, l) => (u(), i(
|
|
50
|
-
class:
|
|
47
|
+
const e = s, t = T(e, "class", "size", "skin"), a = _(t);
|
|
48
|
+
return (r, l) => (u(), i(o(G), g({ "data-slot": "toggle-group-item" }, o(a), {
|
|
49
|
+
class: o(p)(
|
|
51
50
|
"toggle-group-item",
|
|
52
|
-
`toggle-group-item--size-${
|
|
53
|
-
`toggle-group-item--skin-${
|
|
54
|
-
|
|
51
|
+
`toggle-group-item--size-${e.size}`,
|
|
52
|
+
`toggle-group-item--skin-${e.skin}`,
|
|
53
|
+
e.class
|
|
55
54
|
)
|
|
56
55
|
}), {
|
|
57
56
|
default: c(() => [
|
|
@@ -60,12 +59,12 @@ const z = /* @__PURE__ */ n({
|
|
|
60
59
|
_: 3
|
|
61
60
|
}, 16, ["class"]));
|
|
62
61
|
}
|
|
63
|
-
}),
|
|
62
|
+
}), E = ["horizontal", "vertical"];
|
|
64
63
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
E as TOGGLE_GROUP_ORIENTATIONS,
|
|
65
|
+
$ as TOGGLE_SIZES,
|
|
66
|
+
w as TOGGLE_SKINS,
|
|
67
|
+
k as ToggleGroup,
|
|
68
|
+
z as ToggleGroupItem,
|
|
70
69
|
p as cn
|
|
71
70
|
};
|
package/dist/toggle.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import { T as t, a as G } from "./constants-CXAkjttx.js";
|
|
1
|
+
import { c as a } from "./utils-DLUjLwnh.js";
|
|
2
|
+
import { _ as s } from "./Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js";
|
|
3
|
+
import { T as S, a as T } from "./constants-CXAkjttx.js";
|
|
5
4
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
S as TOGGLE_SIZES,
|
|
6
|
+
T as TOGGLE_SKINS,
|
|
7
|
+
s as Toggle,
|
|
8
|
+
a as cn
|
|
10
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equal-experts/kuat-vue",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -70,6 +70,14 @@
|
|
|
70
70
|
"import": "./dist/toggle-group.js",
|
|
71
71
|
"types": "./dist/toggle-group.d.ts"
|
|
72
72
|
},
|
|
73
|
+
"./carousel": {
|
|
74
|
+
"import": "./dist/carousel.js",
|
|
75
|
+
"types": "./dist/carousel.d.ts"
|
|
76
|
+
},
|
|
77
|
+
"./kuat-carousel": {
|
|
78
|
+
"import": "./dist/kuat-carousel.js",
|
|
79
|
+
"types": "./dist/kuat-carousel.d.ts"
|
|
80
|
+
},
|
|
73
81
|
"./styles": {
|
|
74
82
|
"types": "./dist/style.css.d.ts",
|
|
75
83
|
"default": "./dist/style.css"
|
|
@@ -95,10 +103,11 @@
|
|
|
95
103
|
"directory": "packages/kuat-vue"
|
|
96
104
|
},
|
|
97
105
|
"scripts": {
|
|
98
|
-
"build": "vite build && node -e \"const fs=require('node:fs');fs.writeFileSync('dist/style.css.d.ts','declare const stylesheet: string;\\\\nexport default stylesheet;\\\\n');\"",
|
|
99
|
-
"dev": "vite build --watch",
|
|
106
|
+
"build": "node scripts/concat-component-styles.mjs && NODE_OPTIONS=--max-old-space-size=12288 vite build && node -e \"const fs=require('node:fs');fs.writeFileSync('dist/style.css.d.ts','declare const stylesheet: string;\\\\nexport default stylesheet;\\\\n');\"",
|
|
107
|
+
"dev": "node scripts/concat-component-styles.mjs && NODE_OPTIONS=--max-old-space-size=12288 vite build --watch",
|
|
100
108
|
"lint": "eslint . --max-warnings 0",
|
|
101
|
-
"test": "vitest",
|
|
109
|
+
"test": "vitest run",
|
|
110
|
+
"test:watch": "vitest",
|
|
102
111
|
"test:run": "vitest run"
|
|
103
112
|
},
|
|
104
113
|
"dependencies": {
|