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.
- package/dist/UiEditor/UiEditor.js +1 -1
- package/dist/UiFlex/UiFlex.css +1 -1
- package/dist/UiFlex/UiFlex.d.ts +0 -2
- package/dist/UiFlex/UiFlex.js +26 -33
- package/package.json +3 -3
|
@@ -11035,7 +11035,7 @@ function Rp(n) {
|
|
|
11035
11035
|
if (l)
|
|
11036
11036
|
return l;
|
|
11037
11037
|
const a = s.getMeta("applyInputRules");
|
|
11038
|
-
return
|
|
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;
|
package/dist/UiFlex/UiFlex.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
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)}
|
package/dist/UiFlex/UiFlex.d.ts
CHANGED
|
@@ -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<{}>;
|
package/dist/UiFlex/UiFlex.js
CHANGED
|
@@ -1,51 +1,44 @@
|
|
|
1
1
|
import "./UiFlex.css";
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { _ as
|
|
4
|
-
const x = "div",
|
|
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:
|
|
10
|
-
justify: { default:
|
|
9
|
+
align: { default: C },
|
|
10
|
+
justify: { default: v },
|
|
11
11
|
wrap: { type: Boolean },
|
|
12
|
-
gap: { default:
|
|
13
|
-
shrink: { type: Boolean },
|
|
14
|
-
grow: { type: Boolean }
|
|
12
|
+
gap: { default: w }
|
|
15
13
|
},
|
|
16
|
-
setup(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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 =
|
|
28
|
-
return (
|
|
29
|
-
class:
|
|
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:
|
|
39
|
-
|
|
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"
|
|
35
|
+
}, 8, ["class", "data-column", "data-align", "data-justify", "data-wrap", "data-gap"]));
|
|
43
36
|
}
|
|
44
|
-
}),
|
|
45
|
-
flex:
|
|
46
|
-
},
|
|
47
|
-
$style:
|
|
48
|
-
},
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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",
|