@wikicasa-dev/components 2.2.9-alpha.40 → 2.2.9-alpha.42
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/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +11 -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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, useId as m, watch as f, createElementBlock as h, openBlock as d, createVNode as o, renderSlot as b, unref as i, normalizeClass as C, withCtx as u, createBlock as x, createCommentVNode as y, createTextVNode as V, toDisplayString as g } from "vue";
|
|
2
2
|
import { CheckIcon as B } from "@wikicasa-dev/svg-icons";
|
|
3
3
|
import { CheckboxRoot as p, CheckboxIndicator as w } from "reka-ui";
|
|
4
|
-
const z = /* @__PURE__ */
|
|
4
|
+
const z = /* @__PURE__ */ s({
|
|
5
5
|
__name: "CheckboxBtn",
|
|
6
6
|
props: {
|
|
7
7
|
id: {},
|
|
@@ -16,41 +16,41 @@ const z = /* @__PURE__ */ m({
|
|
|
16
16
|
},
|
|
17
17
|
emits: ["click", "update:modelValue", "change"],
|
|
18
18
|
setup(e, { emit: c }) {
|
|
19
|
-
const n =
|
|
19
|
+
const n = m(), a = c;
|
|
20
20
|
f(
|
|
21
21
|
() => e.checked,
|
|
22
22
|
(t) => {
|
|
23
23
|
t !== void 0 && a("update:modelValue", t);
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
|
-
const
|
|
26
|
+
const k = (t) => {
|
|
27
27
|
t !== "indeterminate" && (a("change", {
|
|
28
28
|
id: e.id ?? n,
|
|
29
29
|
label: e.label,
|
|
30
30
|
checked: t
|
|
31
31
|
}), a("update:modelValue", t));
|
|
32
32
|
};
|
|
33
|
-
return (t,
|
|
33
|
+
return (t, l) => (d(), h("label", {
|
|
34
34
|
class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
|
|
35
|
-
onClick:
|
|
35
|
+
onClick: l[0] || (l[0] = (r) => a("click", r))
|
|
36
36
|
}, [
|
|
37
|
-
o(
|
|
37
|
+
o(i(p), {
|
|
38
38
|
"model-value": e.modelValue,
|
|
39
39
|
"data-cy": e.dataCy,
|
|
40
40
|
disabled: e.disabled,
|
|
41
|
-
class: C(["uikit-inline-flex uikit-size-[20px] uikit-items-center uikit-justify-center uikit-rounded-[4px] uikit-p-0 data-[state='unchecked']:uikit-border data-[state='unchecked']:uikit-border-solid data-[state='unchecked']:uikit-border-w-lightgray", [
|
|
41
|
+
class: C(["uikit-inline-flex uikit-size-[20px] uikit-shrink-0 uikit-items-center uikit-justify-center uikit-rounded-[4px] uikit-p-0 data-[state='unchecked']:uikit-border data-[state='unchecked']:uikit-border-solid data-[state='unchecked']:uikit-border-w-lightgray", [
|
|
42
42
|
{
|
|
43
43
|
"uikit-bg-white": !e.modelValue,
|
|
44
44
|
"uikit-bg-w-primary": e.modelValue
|
|
45
45
|
},
|
|
46
46
|
e.inputClass
|
|
47
47
|
]]),
|
|
48
|
-
"onUpdate:modelValue":
|
|
48
|
+
"onUpdate:modelValue": k
|
|
49
49
|
}, {
|
|
50
50
|
default: u(() => [
|
|
51
|
-
o(
|
|
51
|
+
o(i(w), { class: "uikit-flex" }, {
|
|
52
52
|
default: u(() => [
|
|
53
|
-
e.modelValue === !0 ? (d(), x(
|
|
53
|
+
e.modelValue === !0 ? (d(), x(i(B), {
|
|
54
54
|
key: 0,
|
|
55
55
|
"fill-color": "#fff",
|
|
56
56
|
width: 12,
|
package/package.json
CHANGED
|
File without changes
|