mhz-ui 1.3.17 → 1.3.18

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.
@@ -11035,7 +11035,7 @@ function Rp(n) {
11035
11035
  if (l)
11036
11036
  return l;
11037
11037
  const a = s.getMeta("applyInputRules");
11038
- return !!a && setTimeout(() => {
11038
+ return a && setTimeout(() => {
11039
11039
  let { text: u } = a;
11040
11040
  typeof u == "string" ? u = u : u = hi(k.from(u), o.schema);
11041
11041
  const { from: d } = a, f = d + u.length;
@@ -1 +1 @@
1
- ._flex_si9vt_1{display:flex;flex-grow:var(--v61824a30);flex-shrink:var(--c7399644);flex-direction:var(--v5bfadb0b);flex-wrap:var(--v3f140fc2);gap:var(--f414cf4a);align-items:var(--v4416f6e0);justify-content:var(--v43cd669e);width:var(--v7076914b)}.dark ._flex_si9vt_1{color:var(--color-white)}
1
+ ._flex_qq3eu_1{display:flex;flex-direction:var(--bd0c91ae);flex-wrap:var(--v45af6241);gap:var(--v78b561f9);align-items:var(--v0f8a4d32);justify-content:var(--a3abe380)}.dark ._flex_qq3eu_1{color:var(--color-white)}
@@ -5,8 +5,6 @@ interface IProps {
5
5
  justify?: 'normal' | 'stretch' | 'center' | 'flex-start' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
6
6
  wrap?: boolean;
7
7
  gap?: string;
8
- shrink?: boolean;
9
- grow?: boolean;
10
8
  }
11
9
  declare function __VLS_template(): {
12
10
  attrs: Partial<{}>;
@@ -1,51 +1,44 @@
1
1
  import "./UiFlex.css";
2
- import { defineComponent as i, useCssVars as f, computed as t, createBlock as m, openBlock as g, resolveDynamicComponent as w, normalizeClass as _, withCtx as v, renderSlot as y } from "vue";
3
- import { _ as C } from "../_plugin-vue_export-helper-CHgC5LLL.js";
4
- const x = "div", h = "normal", k = "normal", A = "8", F = /* @__PURE__ */ i({
2
+ import { defineComponent as p, useCssVars as d, computed as t, createBlock as r, openBlock as f, resolveDynamicComponent as m, normalizeClass as i, withCtx as _, renderSlot as g } from "vue";
3
+ import { _ as y } from "../_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const x = "div", C = "normal", v = "normal", w = "8", A = /* @__PURE__ */ p({
5
5
  __name: "UiFlex",
6
6
  props: {
7
7
  tag: { default: x },
8
8
  column: { type: Boolean },
9
- align: { default: h },
10
- justify: { default: k },
9
+ align: { default: C },
10
+ justify: { default: v },
11
11
  wrap: { type: Boolean },
12
- gap: { default: A },
13
- shrink: { type: Boolean },
14
- grow: { type: Boolean }
12
+ gap: { default: w }
15
13
  },
16
- setup(e) {
17
- f((o) => ({
18
- v61824a30: p.value,
19
- c7399644: c.value,
20
- v5bfadb0b: s.value,
21
- v3f140fc2: r.value,
22
- f414cf4a: u.value,
23
- v4416f6e0: n.value,
24
- v43cd669e: l.value,
25
- v7076914b: d.value
14
+ setup(o) {
15
+ d((e) => ({
16
+ bd0c91ae: s.value,
17
+ v45af6241: u.value,
18
+ v78b561f9: c.value,
19
+ v0f8a4d32: l.value,
20
+ a3abe380: n.value
26
21
  }));
27
- const a = e, s = t(() => a.column ? "column" : "row"), n = t(() => a.align), l = t(() => a.justify), r = t(() => a.wrap ? "wrap" : "nowrap"), u = t(() => a.gap ? `${a.gap}px` : "0"), c = t(() => a.shrink ? "1" : "0"), p = t(() => a.grow ? "1" : "0"), d = t(() => a.grow ? "100%" : "auto");
28
- return (o, D) => (g(), m(w(a.tag), {
29
- class: _(o.$style.flex),
22
+ const a = o, s = t(() => a.column ? "column" : "row"), l = t(() => a.align), n = t(() => a.justify), u = t(() => a.wrap ? "wrap" : "nowrap"), c = t(() => a.gap ? `${a.gap}px` : "0");
23
+ return (e, D) => (f(), r(m(a.tag), {
24
+ class: i(e.$style.flex),
30
25
  "data-column": a.column,
31
26
  "data-align": a.align,
32
27
  "data-justify": a.justify,
33
28
  "data-wrap": a.wrap,
34
- "data-gap": a.gap,
35
- "data-shrink": a.shrink,
36
- "data-grow": a.grow
29
+ "data-gap": a.gap
37
30
  }, {
38
- default: v(() => [
39
- y(o.$slots, "default")
31
+ default: _(() => [
32
+ g(e.$slots, "default")
40
33
  ]),
41
34
  _: 3
42
- }, 8, ["class", "data-column", "data-align", "data-justify", "data-wrap", "data-gap", "data-shrink", "data-grow"]));
35
+ }, 8, ["class", "data-column", "data-align", "data-justify", "data-wrap", "data-gap"]));
43
36
  }
44
- }), U = "_flex_si9vt_1", j = {
45
- flex: U
46
- }, B = {
47
- $style: j
48
- }, b = /* @__PURE__ */ C(F, [["__cssModules", B]]);
37
+ }), F = "_flex_qq3eu_1", U = {
38
+ flex: F
39
+ }, j = {
40
+ $style: U
41
+ }, B = /* @__PURE__ */ y(A, [["__cssModules", j]]);
49
42
  export {
50
- b as default
43
+ B as default
51
44
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mhz-ui",
3
3
  "description": "Mhz ui kit",
4
- "version": "1.3.17",
4
+ "version": "1.3.18",
5
5
  "author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -44,7 +44,7 @@
44
44
  "@storybook/addon-themes": "10.1.8",
45
45
  "@storybook/vue3": "10.1.8",
46
46
  "@storybook/vue3-vite": "10.1.8",
47
- "@types/node": "25.0.1",
47
+ "@types/node": "25.0.2",
48
48
  "@vitejs/plugin-vue": "6.0.3",
49
49
  "@vitest/coverage-v8": "4.0.15",
50
50
  "@vue/test-utils": "2.4.6",
@@ -71,7 +71,7 @@
71
71
  "stylelint-prettier": "5.0.3",
72
72
  "typescript": "5.9.3",
73
73
  "typescript-eslint": "8.49.0",
74
- "vite": "7.2.7",
74
+ "vite": "7.3.0",
75
75
  "vite-plugin-dts": "4.5.4",
76
76
  "vite-plugin-static-copy": "3.1.4",
77
77
  "vite-svg-loader": "5.1.0",