eco-vue-js 0.10.89 → 0.10.91

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.
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  class: "w-skeleton-w-auto w-skeleton-h-auto w-skeleton-rounded-full mx-1 aspect-square"
42
42
  })) : (openBlock(), createElementBlock("div", {
43
43
  key: 1,
44
- class: normalizeClass(["relative mx-1 grid aspect-square select-none items-center justify-center gap-1 rounded-full bg-[200%_auto] [background-position:right]", {
44
+ class: normalizeClass(["relative mx-1 grid aspect-square select-none gap-1 rounded-full bg-[200%_auto] [background-position:right]", {
45
45
  "w-ripple w-ripple-hover cursor-pointer": !_ctx.disabled && !_ctx.skeleton,
46
46
  "text-primary dark:text-primary-dark": _ctx.active && _ctx.semanticType === unref(SemanticType).SECONDARY,
47
47
  [unref(semanticTypeBackgroundMap)[_ctx.semanticType]]: true
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  renderSlot(_ctx.$slots, "icon", {}, () => [
59
59
  _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
60
60
  key: 0,
61
- class: normalizeClass(["square-6 w-svg-stroke-width-sm transition-transform", {
61
+ class: normalizeClass(["square-6 w-svg-stroke-width-sm place-self-center transition-transform", {
62
62
  "group-hover:scale-120": !_ctx.disabled
63
63
  }])
64
64
  }, null, 8, ["class"])) : createCommentVNode("", true)
@@ -1 +1 @@
1
- {"version":3,"file":"WModalWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/WModalWrapper.vue"],"names":[],"mappings":"AAiDA;AAmFA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAeF,iBAAS,cAAc;WAuFT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACA,GAAG;yBACJ,GAAG;yBACH,GAAG;;;;;;;;;;;;;;;;;;;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oB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -3,12 +3,8 @@ import _sfc_main$1 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
3
3
  import { BASE_ZINDEX_DROPDOWN } from '../../utils/utils.js';
4
4
  import { wModalHeaderHeight } from './models/injection.js';
5
5
 
6
- const _hoisted_1 = {
7
- ref: "header",
8
- class: "bg-default dark:bg-default-dark sm-not:w-screen sticky left-0 top-0 z-[1] w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))]"
9
- };
10
- const _hoisted_2 = { class: "text-accent -p--w-modal-wrapper-padding flex items-center justify-center text-balance text-center text-xl font-semibold" };
11
- const _hoisted_3 = { class: "sm:-px--w-modal-wrapper-padding" };
6
+ const _hoisted_1 = { class: "text-accent -p--w-modal-wrapper-padding flex items-center justify-center text-balance text-center text-xl font-semibold" };
7
+ const _hoisted_2 = { class: "sm:-px--w-modal-wrapper-padding" };
12
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
9
  __name: "WModalWrapper",
14
10
  props: {
@@ -35,19 +31,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
31
  })
36
32
  }, {
37
33
  default: withCtx(() => [
38
- createElementVNode("div", _hoisted_1, [
39
- createElementVNode("div", _hoisted_2, [
34
+ createElementVNode("div", {
35
+ ref: "header",
36
+ class: normalizeClass(["bg-default dark:bg-default-dark sticky left-0 top-0 z-[1] w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))]", {
37
+ "sm-not:w-full": !_ctx.maximized,
38
+ "sm-not:w-screen": _ctx.maximized
39
+ }])
40
+ }, [
41
+ createElementVNode("div", _hoisted_1, [
40
42
  renderSlot(_ctx.$slots, "title")
41
43
  ]),
42
44
  renderSlot(_ctx.$slots, "subtitle")
43
- ], 512),
44
- createElementVNode("div", _hoisted_3, [
45
+ ], 2),
46
+ createElementVNode("div", _hoisted_2, [
45
47
  renderSlot(_ctx.$slots, "default")
46
48
  ]),
47
49
  createElementVNode("div", {
48
50
  ref: "footer",
49
- class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sm-not:w-screen sticky bottom-0 left-0 flex w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))] justify-center", {
50
- "sm-not:flex-col": !_ctx.maximized
51
+ class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sticky bottom-0 left-0 flex w-[calc(var(--w-modal-wrapper-width,35rem)-var(--scroll-bar-width))] justify-center", {
52
+ "sm-not:flex-col sm-not:w-full": !_ctx.maximized,
53
+ "sm-not:w-screen": _ctx.maximized
51
54
  }]),
52
55
  style: normalizeStyle({ zIndex: unref(BASE_ZINDEX_DROPDOWN) })
53
56
  }, [
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
2
  element: HTMLDivElement;
3
- }, any>;
3
+ }, HTMLDivElement>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=WShine.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WShine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shine/WShine.vue"],"names":[],"mappings":"AAgBA;;;;AA6FA,wBAMG"}
1
+ {"version":3,"file":"WShine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shine/WShine.vue"],"names":[],"mappings":"AAeA;;;;AAmFA,wBAOG"}
@@ -1,20 +1,17 @@
1
- import { defineComponent, useTemplateRef, createElementBlock, createCommentVNode, unref, openBlock, createElementVNode, normalizeStyle } from 'vue';
2
- import { useIsMobile } from '../../utils/mobile.js';
1
+ import { defineComponent, useTemplateRef, createElementBlock, openBlock, createElementVNode, normalizeStyle, unref } from 'vue';
3
2
  import { useShine } from './use/useShine.js';
4
3
 
5
4
  const _hoisted_1 = {
6
- key: 0,
7
5
  ref: "element",
8
- class: "rounded-inherit pointer-events-none absolute inset-0 overflow-hidden print:hidden"
6
+ class: "rounded-inherit sm-not:hidden pointer-events-none absolute inset-0 overflow-hidden print:hidden"
9
7
  };
10
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
11
9
  __name: "WShine",
12
10
  setup(__props) {
13
11
  const { id } = useShine();
14
- const { isMobile } = useIsMobile();
15
12
  const elementRef = useTemplateRef("element");
16
13
  return (_ctx, _cache) => {
17
- return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1, [
14
+ return openBlock(), createElementBlock("div", _hoisted_1, [
18
15
  createElementVNode("div", {
19
16
  class: "bg-default/80 dark:bg-default/50 pointer-events-none absolute h-full w-screen bg-clip-border",
20
17
  style: normalizeStyle({
@@ -23,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
20
  "left": `-${unref(elementRef)?.getBoundingClientRect().left ?? 0}px`
24
21
  })
25
22
  }, null, 4)
26
- ], 512)) : createCommentVNode("", true);
23
+ ], 512);
27
24
  };
28
25
  }
29
26
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.10.89",
7
+ "version": "0.10.91",
8
8
  "dependencies": {
9
9
  "@stylistic/eslint-plugin": "5.2.2",
10
10
  "@tanstack/eslint-plugin-query": "5.81.2",