@wikicasa-dev/components 2.3.1-alpha.6 → 2.3.1-alpha.8
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/dist/Swiper/autoplay.js +1 -1
- package/dist/Swiper/controller.js +1 -1
- package/dist/Swiper/keyboard.js +1 -1
- package/dist/Swiper/thumbs.js +1 -1
- package/dist/UIKit/BaseToggle.d.ts +1 -0
- package/dist/packages/components/lib/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +7 -7
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +16 -14
- package/dist/packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +11 -10
- package/dist/packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +12 -11
- package/package.json +1 -1
- /package/dist/assets/{swiper-autoplay.css → swiper-keyboard.css} +0 -0
package/dist/Swiper/autoplay.js
CHANGED
package/dist/Swiper/keyboard.js
CHANGED
package/dist/Swiper/thumbs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as o, createPropsRestProxy as a, createBlock as c, openBlock as n, unref as d, mergeProps as i, withCtx as s, renderSlot as p } from "vue";
|
|
2
2
|
import { AccordionTrigger as l } from "reka-ui";
|
|
3
|
-
const
|
|
3
|
+
const y = /* @__PURE__ */ o({
|
|
4
4
|
__name: "AccordionTriggerPrimitive",
|
|
5
5
|
props: {
|
|
6
6
|
asChild: { type: Boolean },
|
|
@@ -8,15 +8,15 @@ const _ = /* @__PURE__ */ t({
|
|
|
8
8
|
dataCy: {}
|
|
9
9
|
},
|
|
10
10
|
setup(e) {
|
|
11
|
-
const r = e;
|
|
12
|
-
return (
|
|
11
|
+
const r = a(e, ["dataCy"]);
|
|
12
|
+
return (t, m) => (n(), c(d(l), i(r, { "data-cy": e.dataCy }), {
|
|
13
13
|
default: s(() => [
|
|
14
|
-
|
|
14
|
+
p(t.$slots, "default")
|
|
15
15
|
]),
|
|
16
16
|
_: 3
|
|
17
|
-
}, 16));
|
|
17
|
+
}, 16, ["data-cy"]));
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
y as default
|
|
22
22
|
};
|
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import { defineComponent as s, mergeModels as
|
|
1
|
+
import { defineComponent as s, mergeModels as d, useModel as n, createElementBlock as k, openBlock as c, renderSlot as a, createVNode as u, createCommentVNode as m, unref as o, withCtx as f, createElementVNode as p } from "vue";
|
|
2
2
|
import { SwitchRoot as b, SwitchThumb as h } from "reka-ui";
|
|
3
|
-
const g = { class: "uikit-flex uikit-items-center uikit-gap-[8px]" }, w = ["innerHTML"],
|
|
3
|
+
const g = { class: "uikit-flex uikit-items-center uikit-gap-[8px]" }, w = ["innerHTML"], V = /* @__PURE__ */ s({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "BaseToggle",
|
|
6
|
-
props: /* @__PURE__ */
|
|
7
|
-
label: {}
|
|
6
|
+
props: /* @__PURE__ */ d({
|
|
7
|
+
label: {},
|
|
8
|
+
dataCy: {}
|
|
8
9
|
}, {
|
|
9
10
|
modelValue: { type: Boolean, default: !1 },
|
|
10
11
|
modelModifiers: {}
|
|
11
12
|
}),
|
|
12
13
|
emits: ["update:modelValue"],
|
|
13
|
-
setup(
|
|
14
|
-
const i =
|
|
15
|
-
return (
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
setup(e) {
|
|
15
|
+
const i = n(e, "modelValue");
|
|
16
|
+
return (t, l) => (c(), k("div", g, [
|
|
17
|
+
a(t.$slots, "leftLabel"),
|
|
18
|
+
u(o(b), {
|
|
18
19
|
modelValue: i.value,
|
|
19
20
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => i.value = r),
|
|
21
|
+
"data-cy": e.dataCy,
|
|
20
22
|
class: "uikit-flex uikit-h-[20px] uikit-w-[40px] uikit-cursor-pointer uikit-rounded-full uikit-p-0 uikit-transition-[background] uikit-will-change-[background] focus-visible:uikit-outline-w-primary data-[state=checked]:uikit-bg-w-primary data-[state=unchecked]:uikit-bg-w-cultured"
|
|
21
23
|
}, {
|
|
22
24
|
default: f(() => [
|
|
23
|
-
|
|
25
|
+
u(o(h), { class: "uikit-box-border uikit-flex uikit-size-[20px] uikit-translate-x-0 uikit-items-center uikit-justify-center uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-lightgray uikit-bg-white uikit-shadow-xl uikit-transition-transform uikit-will-change-transform data-[state=checked]:uikit-translate-x-full" })
|
|
24
26
|
]),
|
|
25
27
|
_: 1
|
|
26
|
-
}, 8, ["modelValue"]),
|
|
27
|
-
|
|
28
|
+
}, 8, ["modelValue", "data-cy"]),
|
|
29
|
+
t.$slots.leftLabel ? m("", !0) : a(t.$slots, "rightLabel", { key: 0 }, () => [
|
|
28
30
|
p("span", {
|
|
29
31
|
class: "uikit-ml-[10px]",
|
|
30
|
-
innerHTML:
|
|
32
|
+
innerHTML: e.label
|
|
31
33
|
}, null, 8, w)
|
|
32
34
|
])
|
|
33
35
|
]));
|
|
34
36
|
}
|
|
35
37
|
});
|
|
36
38
|
export {
|
|
37
|
-
|
|
39
|
+
V as default
|
|
38
40
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, createBlock as
|
|
2
|
-
import { CheckboxRoot as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as n, createPropsRestProxy as p, createBlock as u, openBlock as i, unref as m, mergeProps as s, withCtx as c, renderSlot as y, normalizeProps as f, guardReactiveProps as C } from "vue";
|
|
2
|
+
import { CheckboxRoot as B } from "reka-ui";
|
|
3
|
+
const V = /* @__PURE__ */ n({
|
|
4
4
|
__name: "CheckboxGroupItemPrimitive",
|
|
5
5
|
props: {
|
|
6
6
|
dataCy: {},
|
|
@@ -16,17 +16,18 @@ const g = /* @__PURE__ */ p({
|
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:modelValue"],
|
|
18
18
|
setup(t, { emit: a }) {
|
|
19
|
-
const
|
|
20
|
-
return (
|
|
21
|
-
"
|
|
19
|
+
const r = p(t, ["dataCy"]), l = a;
|
|
20
|
+
return (d, o) => (i(), u(m(B), s(r, {
|
|
21
|
+
"data-cy": t.dataCy,
|
|
22
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => l("update:modelValue", e))
|
|
22
23
|
}), {
|
|
23
|
-
default:
|
|
24
|
-
|
|
24
|
+
default: c((e) => [
|
|
25
|
+
y(d.$slots, "default", f(C(e)))
|
|
25
26
|
]),
|
|
26
27
|
_: 3
|
|
27
|
-
}, 16));
|
|
28
|
+
}, 16, ["data-cy"]));
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
V as default
|
|
32
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, createBlock as
|
|
2
|
-
import { CheckboxGroupRoot as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as n, createPropsRestProxy as p, createBlock as u, openBlock as i, unref as s, mergeProps as m, withCtx as c, renderSlot as y } from "vue";
|
|
2
|
+
import { CheckboxGroupRoot as f } from "reka-ui";
|
|
3
|
+
const x = /* @__PURE__ */ n({
|
|
4
4
|
__name: "CheckboxGroupPrimitive",
|
|
5
5
|
props: {
|
|
6
6
|
dataCy: {},
|
|
@@ -17,18 +17,19 @@ const C = /* @__PURE__ */ p({
|
|
|
17
17
|
required: { type: Boolean }
|
|
18
18
|
},
|
|
19
19
|
emits: ["update:modelValue"],
|
|
20
|
-
setup(
|
|
21
|
-
const a =
|
|
22
|
-
return (
|
|
23
|
-
"
|
|
20
|
+
setup(e, { emit: t }) {
|
|
21
|
+
const a = p(e, ["dataCy"]), r = t;
|
|
22
|
+
return (l, o) => (i(), u(s(f), m(a, {
|
|
23
|
+
"data-cy": e.dataCy,
|
|
24
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => r("update:modelValue", d))
|
|
24
25
|
}), {
|
|
25
|
-
default:
|
|
26
|
-
|
|
26
|
+
default: c(() => [
|
|
27
|
+
y(l.$slots, "default")
|
|
27
28
|
]),
|
|
28
29
|
_: 3
|
|
29
|
-
}, 16));
|
|
30
|
+
}, 16, ["data-cy"]));
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
x as default
|
|
34
35
|
};
|
package/package.json
CHANGED
|
File without changes
|