@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.
@@ -1,5 +1,5 @@
1
1
  import { Autoplay as t } from "swiper/modules";
2
- import '../assets/swiper-autoplay.css';/* empty css */
2
+ import '../assets/swiper-keyboard.css';/* empty css */
3
3
  export {
4
4
  t as Autoplay
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Controller as e } from "swiper/modules";
2
- import '../assets/swiper-autoplay.css';/* empty css */
2
+ import '../assets/swiper-keyboard.css';/* empty css */
3
3
  export {
4
4
  e as Controller
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Keyboard as m } from "swiper/modules";
2
- import '../assets/swiper-autoplay.css';/* empty css */
2
+ import '../assets/swiper-keyboard.css';/* empty css */
3
3
  export {
4
4
  m as Keyboard
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Thumbs as p } from "swiper/modules";
2
- import '../assets/swiper-autoplay.css';/* empty css */
2
+ import '../assets/swiper-keyboard.css';/* empty css */
3
3
  export {
4
4
  p as Thumbs
5
5
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as m, useId as s, watch as f, createElementBlock as h, openBlock as d, createVNode as o, renderSlot as b, unref as l, normalizeClass as C, withCtx as u, createBlock as x, createCommentVNode as y, createTextVNode as V, toDisplayString as g } from "vue";
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__ */ m({
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 = s(), a = c;
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 r = (t) => {
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, i) => (d(), h("label", {
33
+ return (t, l) => (d(), h("label", {
34
34
  class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
35
- onClick: i[0] || (i[0] = (k) => a("click", k))
35
+ onClick: l[0] || (l[0] = (r) => a("click", r))
36
36
  }, [
37
- o(l(p), {
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": r
48
+ "onUpdate:modelValue": k
49
49
  }, {
50
50
  default: u(() => [
51
- o(l(w), { class: "uikit-flex" }, {
51
+ o(i(w), { class: "uikit-flex" }, {
52
52
  default: u(() => [
53
- e.modelValue === !0 ? (d(), x(l(B), {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.2.9-alpha.40",
3
+ "version": "2.2.9-alpha.42",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",