@wikicasa-dev/components 2.5.4 → 2.5.5

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,4 +1,4 @@
1
- import '../../assets/swiper-autoplay.css';/* empty css */
1
+ import '../../assets/swiper-controller.css';/* empty css */
2
2
  import { Autoplay as p } from "swiper/modules";
3
3
  export {
4
4
  p as default
@@ -1,4 +1,4 @@
1
- import '../../assets/swiper-autoplay.css';/* empty css */
1
+ import '../../assets/swiper-controller.css';/* empty css */
2
2
  import { Controller as e } from "swiper/modules";
3
3
  export {
4
4
  e as default
@@ -1,4 +1,4 @@
1
- import '../../assets/swiper-autoplay.css';/* empty css */
1
+ import '../../assets/swiper-controller.css';/* empty css */
2
2
  import { Keyboard as e } from "swiper/modules";
3
3
  export {
4
4
  e as default
@@ -1,4 +1,4 @@
1
- import '../../assets/swiper-autoplay.css';/* empty css */
1
+ import '../../assets/swiper-controller.css';/* empty css */
2
2
  import { Thumbs as t } from "swiper/modules";
3
3
  export {
4
4
  t as default
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as A, mergeModels as h, useModel as F, useTemplateRef as y, shallowRef as C, onUnmounted as K, createBlock as N, openBlock as k, Teleport as S, createVNode as w, Transition as V, unref as p, withCtx as P, withDirectives as R, createElementVNode as l, normalizeClass as i, createElementBlock as x, createCommentVNode as g, renderSlot as d, withModifiers as U, vShow as j } from "vue";
2
2
  import { CloseIcon as q } from "@wikicasa-dev/svg-icons";
3
- const G = ["data-state"], J = ["id", "data-cy"], Q = ["innerHTML"], Y = /* @__PURE__ */ A({
3
+ const G = ["id", "data-cy", "data-state"], J = ["innerHTML"], X = /* @__PURE__ */ A({
4
4
  __name: "BaseModal",
5
5
  props: /* @__PURE__ */ h({
6
6
  id: { default: "base-bt-modal" },
@@ -96,7 +96,6 @@ const G = ["data-state"], J = ["id", "data-cy"], Q = ["innerHTML"], Y = /* @__PU
96
96
  { "uikit-bg-transparent": !o.value },
97
97
  { "sm:uikit-pt-[30px]": !e.centered }
98
98
  ]]),
99
- "data-state": o.value ? "open" : "closed",
100
99
  onClick: H,
101
100
  onMousedown: $,
102
101
  onMouseup: D
@@ -115,6 +114,7 @@ const G = ["data-state"], J = ["id", "data-cy"], Q = ["innerHTML"], Y = /* @__PU
115
114
  e.fullHeight ? "uikit-h-[95%]" : "uikit-h-auto"
116
115
  ]]),
117
116
  tabindex: "-1",
117
+ "data-state": o.value ? "open" : "closed",
118
118
  onClick: n[1] || (n[1] = (v) => r("dialogClick", v)),
119
119
  onFocusin: O
120
120
  }, [
@@ -140,7 +140,7 @@ const G = ["data-state"], J = ["id", "data-cy"], Q = ["innerHTML"], Y = /* @__PU
140
140
  l("span", {
141
141
  class: i(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", e.titleClasses]),
142
142
  innerHTML: e.headerTitle
143
- }, null, 10, Q)
143
+ }, null, 10, J)
144
144
  ])
145
145
  ], 2),
146
146
  l("div", {
@@ -155,8 +155,8 @@ const G = ["data-state"], J = ["id", "data-cy"], Q = ["innerHTML"], Y = /* @__PU
155
155
  d(t.$slots, "footer", { closeModal: a })
156
156
  ], 2)) : g("", !0),
157
157
  d(t.$slots, "fixed-bottom")
158
- ], 42, J)
159
- ], 42, G), [
158
+ ], 42, G)
159
+ ], 34), [
160
160
  [j, o.value]
161
161
  ])
162
162
  ]),
@@ -166,5 +166,5 @@ const G = ["data-state"], J = ["id", "data-cy"], Q = ["innerHTML"], Y = /* @__PU
166
166
  }
167
167
  });
168
168
  export {
169
- Y as default
169
+ X as default
170
170
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",