@wikicasa-dev/components 2.1.24-alpha.7 → 2.1.24-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.
@@ -16,9 +16,9 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- click: () => any;
19
+ click: (args_0: MouseEvent) => any;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
- onClick?: (() => any) | undefined;
21
+ onClick?: ((args_0: MouseEvent) => any) | undefined;
22
22
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
24
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "../lib/UIKit/BaseCard.vue.js";
2
2
  import '../assets/lib/UIKit/BaseCard.css';/* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-923393ce"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0358211e"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1 +1 @@
1
- .card[data-v-923393ce]{--card-max-height: none;--card-max-width: 930px;--card-height: auto;--card-width: auto;--card-border-radius-top-left: 20px;--card-border-radius-top-right: 20px;--card-border-radius-bottom-left: 20px;--card-border-radius-bottom-right: 20px;border-top-left-radius:var(--card-border-radius-top-left);border-top-right-radius:var(--card-border-radius-top-right);border-bottom-left-radius:var(--card-border-radius-bottom-left);border-bottom-right-radius:var(--card-border-radius-bottom-right);height:var(--card-height);width:var(--card-width);max-width:var(--card-max-width);max-height:var(--card-max-height);position:relative;z-index:0;display:flex;overflow:hidden;--tw-shadow: 0 0 8px #2222221F;--tw-shadow-colored: 0 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media screen and (min-width:576px){.card[data-v-923393ce]{--card-img-max-width: 300px;--card-height: 240px }}.card .card-body[data-v-923393ce]{--card-body-width: 100%;box-sizing:border-box;width:var(--card-body-width);padding:10px 15px}.card .card-img[data-v-923393ce]{--card-img-height: var(--card-height);--card-img-width: 100%;--card-img-max-height: none;--card-img-max-width: none;height:var(--card-img-height);width:var(--card-img-width);max-width:var(--card-img-max-width);max-height:var(--card-img-max-height)}@media screen and (min-width:576px){.card .card-img[data-v-923393ce]{--card-img-max-width: 300px }}.card.vertical[data-v-923393ce]{--card-vertical-height: var(--card-height);height:var(--card-vertical-height);flex-direction:column}@media not all and (min-width:576px){.card.vertical[data-v-923393ce]{min-height:100px;min-width:335px}}@media screen and (min-width:576px){.card.vertical[data-v-923393ce]{--card-vertical-height: fit-content }}.card.vertical .card-img[data-v-923393ce]{--card-vertical-img-height: 200px;--card-img-width: 100%;--card-img-max-width: 100%;height:var(--card-vertical-img-height)}.card.mini[data-v-923393ce]{--card-max-height: 100px;--card-max-width: 370px}.card.mini .card-img[data-v-923393ce]{--card-img-max-height: 110px;--card-img-max-width: 120px}@media(min-width:576px){.card.news-card[data-v-923393ce]{flex-direction:column}}.card.news-card[data-v-923393ce]{--card-height: 270px}@media screen and (max-width:576px){.card.news-card[data-v-923393ce]{--card-height: 100px;--card-width: 320px }.card.news-card .card-img[data-v-923393ce]{--card-height: 100px;--card-img-max-width: 100px }}@media screen and (min-width:576px){.card.news-card .card-img[data-v-923393ce]{--card-height: 150px;--card-img-max-width: 100% }}
1
+ .card[data-v-0358211e]{--card-max-height: none;--card-max-width: 930px;--card-height: auto;--card-width: auto;--card-border-radius-top-left: 20px;--card-border-radius-top-right: 20px;--card-border-radius-bottom-left: 20px;--card-border-radius-bottom-right: 20px;border-top-left-radius:var(--card-border-radius-top-left);border-top-right-radius:var(--card-border-radius-top-right);border-bottom-left-radius:var(--card-border-radius-bottom-left);border-bottom-right-radius:var(--card-border-radius-bottom-right);height:var(--card-height);width:var(--card-width);max-width:var(--card-max-width);max-height:var(--card-max-height);position:relative;z-index:0;display:flex;overflow:hidden;--tw-shadow: 0 0 8px #2222221F;--tw-shadow-colored: 0 0 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media screen and (min-width:576px){.card[data-v-0358211e]{--card-img-max-width: 300px;--card-height: 240px }}.card .card-body[data-v-0358211e]{--card-body-width: 100%;box-sizing:border-box;width:var(--card-body-width);padding:10px 15px}.card .card-img[data-v-0358211e]{--card-img-height: var(--card-height);--card-img-width: 100%;--card-img-max-height: none;--card-img-max-width: none;height:var(--card-img-height);width:var(--card-img-width);max-width:var(--card-img-max-width);max-height:var(--card-img-max-height)}@media screen and (min-width:576px){.card .card-img[data-v-0358211e]{--card-img-max-width: 300px }}.card.vertical[data-v-0358211e]{--card-vertical-height: var(--card-height);height:var(--card-vertical-height);flex-direction:column}@media not all and (min-width:576px){.card.vertical[data-v-0358211e]{min-height:100px;min-width:335px}}@media screen and (min-width:576px){.card.vertical[data-v-0358211e]{--card-vertical-height: fit-content }}.card.vertical .card-img[data-v-0358211e]{--card-vertical-img-height: 200px;--card-img-width: 100%;--card-img-max-width: 100%;height:var(--card-vertical-img-height)}.card.mini[data-v-0358211e]{--card-max-height: 100px;--card-max-width: 370px}.card.mini .card-img[data-v-0358211e]{--card-img-max-height: 110px;--card-img-max-width: 120px}@media(min-width:576px){.card.news-card[data-v-0358211e]{flex-direction:column}}.card.news-card[data-v-0358211e]{--card-height: 270px}@media screen and (max-width:576px){.card.news-card[data-v-0358211e]{--card-height: 100px;--card-width: 320px }.card.news-card .card-img[data-v-0358211e]{--card-height: 100px;--card-img-max-width: 100px }}@media screen and (min-width:576px){.card.news-card .card-img[data-v-0358211e]{--card-height: 150px;--card-img-max-width: 100% }}
@@ -1,5 +1,5 @@
1
1
  import { default as p } from "../../node_modules/swiper/modules/autoplay.js";
2
- import '../../assets/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../assets/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  p as Autoplay
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { default as e } from "../../node_modules/swiper/modules/controller.js";
2
- import '../../assets/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../assets/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  e as Controller
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { default as e } from "../../node_modules/swiper/modules/keyboard.js";
2
- import '../../assets/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../assets/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  e as Keyboard
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { default as t } from "../../node_modules/swiper/modules/thumbs.js";
2
- import '../../assets/node_modules/swiper/modules/keyboard.css';/* empty css */
2
+ import '../../assets/node_modules/swiper/modules/autoplay.css';/* empty css */
3
3
  export {
4
4
  t as Thumbs
5
5
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as m, computed as d, createBlock as u, openBlock as C, resolveDynamicComponent as y, normalizeClass as t, withCtx as f, createElementVNode as o, renderSlot as c } from "vue";
2
- const p = /* @__PURE__ */ m({
1
+ import { defineComponent as u, computed as d, createBlock as C, openBlock as y, resolveDynamicComponent as f, normalizeClass as a, withCtx as v, createElementVNode as o, renderSlot as c } from "vue";
2
+ const p = /* @__PURE__ */ u({
3
3
  __name: "BaseCard",
4
4
  props: {
5
5
  type: { default: "" },
@@ -12,20 +12,20 @@ const p = /* @__PURE__ */ m({
12
12
  const n = l, r = d(
13
13
  () => e.type === "news" ? "news-card" : e.type
14
14
  ), i = d(() => e.type ? `${e.type}-img` : "");
15
- return (a, s) => (C(), u(y(e.rootComponent), {
16
- class: t(["card", [r.value]]),
17
- onClick: s[0] || (s[0] = (v) => n("click"))
15
+ return (t, s) => (y(), C(f(e.rootComponent), {
16
+ class: a(["card", [r.value]]),
17
+ onClick: s[0] || (s[0] = (m) => n("click", m))
18
18
  }, {
19
- default: f(() => [
19
+ default: v(() => [
20
20
  o("div", {
21
- class: t(["card-img", [i.value, e.cardImgClasses]])
21
+ class: a(["card-img", [i.value, e.cardImgClasses]])
22
22
  }, [
23
- c(a.$slots, "card-image", {}, void 0, !0)
23
+ c(t.$slots, "card-image", {}, void 0, !0)
24
24
  ], 2),
25
25
  o("div", {
26
- class: t(["card-body", [e.cardBodyClasses]])
26
+ class: a(["card-body", [e.cardBodyClasses]])
27
27
  }, [
28
- c(a.$slots, "card-description", {}, void 0, !0)
28
+ c(t.$slots, "card-description", {}, void 0, !0)
29
29
  ], 2)
30
30
  ]),
31
31
  _: 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.1.24-alpha.7",
3
+ "version": "2.1.24-alpha.8",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",