@wikicasa-dev/components 1.9.1 → 1.9.2

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,13 +1,22 @@
1
- import { openBlock as t, createElementBlock as i, renderSlot as o, pushScopeId as r, popScopeId as d, createElementVNode as s } from "vue";
2
- import { _ as a } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
- import './assets/BaseShimmerLoader.css';const l = {}, c = (e) => (r("data-v-987d360a"), e = e(), d(), e), u = { class: "uikit-relative uikit-overflow-hidden uikit-bg-w-lavender" }, n = /* @__PURE__ */ c(() => /* @__PURE__ */ s("div", { class: "shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full -uikit-translate-x-full" }, null, -1));
4
- function _(e, f) {
5
- return t(), i("div", u, [
6
- n,
7
- o(e.$slots, "default", {}, void 0, !0)
8
- ]);
9
- }
10
- const m = /* @__PURE__ */ a(l, [["render", _], ["__scopeId", "data-v-987d360a"]]);
1
+ import { defineComponent as i, openBlock as s, createElementBlock as r, normalizeClass as t, createElementVNode as a, renderSlot as o } from "vue";
2
+ import { _ as l } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
+ import './assets/BaseShimmerLoader.css';const m = /* @__PURE__ */ i({
4
+ inheritAttrs: !1,
5
+ __name: "BaseShimmerLoader",
6
+ props: {
7
+ shimmerClasses: {}
8
+ },
9
+ setup(u) {
10
+ return (e, n) => (s(), r("div", {
11
+ class: t(["uikit-relative uikit-overflow-hidden uikit-bg-w-lavender", e.$attrs.class])
12
+ }, [
13
+ a("div", {
14
+ class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full -uikit-translate-x-full", e.shimmerClasses])
15
+ }, null, 2),
16
+ o(e.$slots, "default", {}, void 0, !0)
17
+ ], 2));
18
+ }
19
+ }), c = /* @__PURE__ */ l(m, [["__scopeId", "data-v-31264965"]]);
11
20
  export {
12
- m as default
21
+ c as default
13
22
  };
@@ -1,9 +1,24 @@
1
+ import { ClassType } from '@wikicasa-dev/types';
2
+
1
3
  declare function __VLS_template(): {
2
4
  default?(_: {}): any;
3
5
  };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
7
+ shimmerClasses?: ClassType;
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ shimmerClasses?: ClassType;
10
+ }>>>, {}, {}>;
5
11
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
12
  export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
7
22
  type __VLS_WithTemplateSlots<T, S> = T & {
8
23
  new (): {
9
24
  $slots: S;
@@ -1 +1 @@
1
- .shimmer[data-v-987d360a]{animation:shimmer-987d360a 1.4s infinite;background-image:linear-gradient(90deg,#fff0,#fff3 20%,#ffffff80 60%,#fff0)}@keyframes shimmer-987d360a{to{transform:translate(100%)}}
1
+ .shimmer[data-v-31264965]{animation:shimmer-31264965 1.4s infinite;background-image:linear-gradient(90deg,#fff0,#fff3 20%,#ffffff80 60%,#fff0)}@keyframes shimmer-31264965{to{transform:translate(100%)}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",