persagy-vant 0.0.32 → 0.0.34
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/README.md +1 -1
- package/es/badge/Badge.d.ts +14 -0
- package/es/badge/Badge.mjs +2 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +10 -1
- package/es/badge/index.less +6 -0
- package/es/badge/var.less +1 -0
- package/es/button/Button.d.ts +1 -1
- package/es/button/index.d.ts +1 -1
- package/es/field/Field.d.ts +5 -18
- package/es/field/Field.mjs +3 -2
- package/es/field/index.d.ts +3 -10
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/loading/Loading.mjs +16 -19
- package/es/rate/RateCell.d.ts +1 -1
- package/es/rate/index.d.ts +1 -1
- package/es/search/Search.d.ts +17 -13
- package/es/search/Search.mjs +1 -0
- package/es/search/index.d.ts +10 -8
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.less +1 -0
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.less +37 -11
- package/es/sidebar-item/var.less +7 -7
- package/es/space/Space.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/index.d.ts +1 -1
- package/lib/badge/Badge.d.ts +14 -0
- package/lib/badge/Badge.js +2 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +10 -1
- package/lib/badge/index.less +6 -0
- package/lib/badge/var.less +1 -0
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/field/Field.d.ts +5 -18
- package/lib/field/Field.js +3 -2
- package/lib/field/index.d.ts +3 -10
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/loading/Loading.js +16 -19
- package/lib/rate/RateCell.d.ts +1 -1
- package/lib/rate/index.d.ts +1 -1
- package/lib/search/Search.d.ts +17 -13
- package/lib/search/Search.js +1 -0
- package/lib/search/index.d.ts +10 -8
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.less +1 -0
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.less +37 -11
- package/lib/sidebar-item/var.less +7 -7
- package/lib/space/Space.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/index.d.ts +1 -1
- package/lib/vant.cjs.js +23 -22
- package/lib/vant.es.js +23 -22
- package/lib/vant.js +23 -22
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +1 -1
- package/skills/use-persagy-vant/SKILL.md +2 -2
- package/skills/use-persagy-vant/references/business-component-catalog.md +1 -1
- package/skills/use-persagy-vant/references/component-catalog.md +14 -8
- package/skills/use-persagy-vant/references/component-documentation.md +19 -0
- package/skills/use-persagy-vant/references/design-interaction-baseline.md +9 -4
- package/skills/use-persagy-vant/references/page-recipes.md +17 -14
- package/skills/use-persagy-vant/references/reuse-policy.md +20 -2
- package/skills/use-persagy-vant/references/usage-patterns.md +5 -3
package/lib/vant.js
CHANGED
|
@@ -867,6 +867,7 @@
|
|
|
867
867
|
offset: Array,
|
|
868
868
|
content: numericProp,
|
|
869
869
|
showZero: truthProp,
|
|
870
|
+
size: makeStringProp("default"),
|
|
870
871
|
position: makeStringProp("top-right")
|
|
871
872
|
};
|
|
872
873
|
var stdin_default$25 = vue.defineComponent({
|
|
@@ -926,6 +927,7 @@
|
|
|
926
927
|
return vue.createVNode("div", {
|
|
927
928
|
"class": bem$1S([props2.position, {
|
|
928
929
|
dot: props2.dot,
|
|
930
|
+
mini: props2.size === "mini",
|
|
929
931
|
fixed: !!slots.default
|
|
930
932
|
}]),
|
|
931
933
|
"style": style.value
|
|
@@ -1065,30 +1067,27 @@
|
|
|
1065
1067
|
}, null)]);
|
|
1066
1068
|
const IllustrationIcon = vue.createVNode("svg", {
|
|
1067
1069
|
"class": bem$1P("illustration"),
|
|
1068
|
-
"viewBox": "0 0
|
|
1069
|
-
"
|
|
1070
|
-
"aria-
|
|
1070
|
+
"viewBox": "0 0 100 100",
|
|
1071
|
+
"fill": "none",
|
|
1072
|
+
"aria-hidden": "true"
|
|
1071
1073
|
}, [vue.createVNode("rect", {
|
|
1072
|
-
"x": "
|
|
1073
|
-
"y": "
|
|
1074
|
-
"width": "
|
|
1075
|
-
"height": "
|
|
1076
|
-
"rx": "
|
|
1074
|
+
"x": "18",
|
|
1075
|
+
"y": "36",
|
|
1076
|
+
"width": "64",
|
|
1077
|
+
"height": "48",
|
|
1078
|
+
"rx": "6",
|
|
1077
1079
|
"fill": "currentColor",
|
|
1078
|
-
"opacity": "0.
|
|
1080
|
+
"opacity": "0.14"
|
|
1079
1081
|
}, null), vue.createVNode("path", {
|
|
1080
|
-
"d": "M28
|
|
1081
|
-
"
|
|
1082
|
-
"
|
|
1083
|
-
|
|
1084
|
-
"
|
|
1085
|
-
"fill": "currentColor",
|
|
1086
|
-
"opacity": "0.78"
|
|
1082
|
+
"d": "M28 84V46h44v38M39 84V62h22v22M38 51h4m16 0h4M38 57h4m16 0h4",
|
|
1083
|
+
"stroke": "currentColor",
|
|
1084
|
+
"stroke-width": "4",
|
|
1085
|
+
"stroke-linecap": "round",
|
|
1086
|
+
"stroke-linejoin": "round"
|
|
1087
1087
|
}, null), vue.createVNode("path", {
|
|
1088
|
-
"d": "
|
|
1089
|
-
"fill": "none",
|
|
1088
|
+
"d": "M50 18v12m-16-4 8 8m24-8-8 8",
|
|
1090
1089
|
"stroke": "currentColor",
|
|
1091
|
-
"stroke-width": "
|
|
1090
|
+
"stroke-width": "4",
|
|
1092
1091
|
"stroke-linecap": "round"
|
|
1093
1092
|
}, null)]);
|
|
1094
1093
|
const loadingProps = {
|
|
@@ -3652,7 +3651,7 @@
|
|
|
3652
3651
|
formatter: Function,
|
|
3653
3652
|
clearIcon: makeStringProp("clear"),
|
|
3654
3653
|
modelValue: makeNumericProp(""),
|
|
3655
|
-
inputAlign:
|
|
3654
|
+
inputAlign: String,
|
|
3656
3655
|
placeholder: String,
|
|
3657
3656
|
autocomplete: String,
|
|
3658
3657
|
errorMessage: String,
|
|
@@ -3725,6 +3724,7 @@
|
|
|
3725
3724
|
return form.props[key];
|
|
3726
3725
|
}
|
|
3727
3726
|
};
|
|
3727
|
+
const inputAlign = vue.computed(() => getProp("inputAlign") || (props2.labelPosition === "top" ? "left" : "right"));
|
|
3728
3728
|
const showClear = vue.computed(() => {
|
|
3729
3729
|
const readonly = getProp("readonly");
|
|
3730
3730
|
if (props2.clearable && !readonly) {
|
|
@@ -3966,7 +3966,7 @@
|
|
|
3966
3966
|
const getInputId = () => props2.id || `${id}-input`;
|
|
3967
3967
|
const getValidationStatus = () => state.status;
|
|
3968
3968
|
const renderInput = () => {
|
|
3969
|
-
const controlClass = bem$1z("control", [
|
|
3969
|
+
const controlClass = bem$1z("control", [inputAlign.value, {
|
|
3970
3970
|
error: showError.value,
|
|
3971
3971
|
custom: !!slots.input,
|
|
3972
3972
|
"min-height": props2.type === "textarea" && !props2.autosize
|
|
@@ -13572,6 +13572,7 @@
|
|
|
13572
13572
|
label: String,
|
|
13573
13573
|
shape: makeStringProp("round"),
|
|
13574
13574
|
variant: makeStringProp("default"),
|
|
13575
|
+
inputAlign: makeStringProp("left"),
|
|
13575
13576
|
leftIcon: makeStringProp("search"),
|
|
13576
13577
|
clearable: truthProp,
|
|
13577
13578
|
actionText: String,
|
|
@@ -23801,7 +23802,7 @@
|
|
|
23801
23802
|
});
|
|
23802
23803
|
}
|
|
23803
23804
|
};
|
|
23804
|
-
const version = "0.0.
|
|
23805
|
+
const version = "0.0.34";
|
|
23805
23806
|
function install(app) {
|
|
23806
23807
|
const components = [
|
|
23807
23808
|
ActionBar,
|