@muenchen/muc-patternlab-vue 4.0.0-beta.2 → 4.0.0-beta.3
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.
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
|
12
12
|
type?: "color" | "text" | "date" | "search" | "datetime-local" | "password";
|
|
13
13
|
dataList?: string[];
|
|
14
14
|
suffixIcon?: string;
|
|
15
|
+
max?: number;
|
|
15
16
|
}> & Readonly<{
|
|
16
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
18
|
onSuffixClick?: (() => any) | undefined;
|
|
@@ -38,6 +39,7 @@ declare const _default: {
|
|
|
38
39
|
type?: "color" | "text" | "date" | "search" | "datetime-local" | "password";
|
|
39
40
|
dataList?: string[];
|
|
40
41
|
suffixIcon?: string;
|
|
42
|
+
max?: number;
|
|
41
43
|
}> & Readonly<{
|
|
42
44
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
43
45
|
onSuffixClick?: (() => any) | undefined;
|
|
@@ -57,6 +59,7 @@ declare const _default: {
|
|
|
57
59
|
type?: "color" | "text" | "date" | "search" | "datetime-local" | "password";
|
|
58
60
|
dataList?: string[];
|
|
59
61
|
suffixIcon?: string;
|
|
62
|
+
max?: number;
|
|
60
63
|
}> & Readonly<{
|
|
61
64
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
62
65
|
onSuffixClick?: (() => any) | undefined;
|
|
@@ -39,6 +39,10 @@ type __VLS_Props = {
|
|
|
39
39
|
* Icon to be displayed as a suffix at the end of the input.
|
|
40
40
|
*/
|
|
41
41
|
suffixIcon?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Restricts character input to the specified number
|
|
44
|
+
*/
|
|
45
|
+
max?: number;
|
|
42
46
|
};
|
|
43
47
|
type __VLS_PublicProps = {
|
|
44
48
|
modelValue?: string;
|
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -1154,7 +1154,7 @@ const ja = /* @__PURE__ */ ue(Ha, [["render", Ka]]), Ga = { class: "drop-zone-ad
|
|
|
1154
1154
|
}), wo = ["for"], Io = ["id"], Mo = { class: "m-input-wrapper m-autocomplete" }, To = {
|
|
1155
1155
|
key: 0,
|
|
1156
1156
|
class: "m-input__prefix"
|
|
1157
|
-
}, Oo = ["id", "type", "aria-describedby", "placeholder", "required"], Do = {
|
|
1157
|
+
}, Oo = ["id", "type", "aria-describedby", "placeholder", "required", "maxlength"], Do = {
|
|
1158
1158
|
key: 1,
|
|
1159
1159
|
class: "autocomplete-result-list autocomplete-result-list--location"
|
|
1160
1160
|
}, ko = ["onClick"], Lo = {
|
|
@@ -1171,7 +1171,8 @@ const ja = /* @__PURE__ */ ue(Ha, [["render", Ka]]), Ga = { class: "drop-zone-ad
|
|
|
1171
1171
|
hint: {},
|
|
1172
1172
|
type: { default: "text" },
|
|
1173
1173
|
dataList: { default: () => [] },
|
|
1174
|
-
suffixIcon: {}
|
|
1174
|
+
suffixIcon: {},
|
|
1175
|
+
max: {}
|
|
1175
1176
|
}, {
|
|
1176
1177
|
modelValue: { default: "" },
|
|
1177
1178
|
modelModifiers: {}
|
|
@@ -1211,7 +1212,8 @@ const ja = /* @__PURE__ */ ue(Ha, [["render", Ka]]), Ga = { class: "drop-zone-ad
|
|
|
1211
1212
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => i.value = d),
|
|
1212
1213
|
"aria-describedby": l.hint ? "input-hint-" + l.id : void 0,
|
|
1213
1214
|
placeholder: l.placeholder,
|
|
1214
|
-
required: l.required
|
|
1215
|
+
required: l.required,
|
|
1216
|
+
maxlength: l.max
|
|
1215
1217
|
}, null, 8, Oo), [
|
|
1216
1218
|
[_s, i.value]
|
|
1217
1219
|
]),
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "FabianWilms",
|
|
4
4
|
"description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "4.0.0-beta.
|
|
6
|
+
"version": "4.0.0-beta.3",
|
|
7
7
|
"private": false,
|
|
8
8
|
"module": "./dist/muc-patternlab-vue.es.js",
|
|
9
9
|
"main": "./dist/index.d.ts",
|