@nectary/components 5.6.3 → 5.6.4
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/bundle.js +6 -2
- package/input/index.js +6 -2
- package/package.json +1 -1
package/bundle.js
CHANGED
|
@@ -5245,7 +5245,9 @@ class Input extends NectaryElement {
|
|
|
5245
5245
|
"autocomplete",
|
|
5246
5246
|
"autofocus",
|
|
5247
5247
|
"data-size",
|
|
5248
|
-
"aria-label"
|
|
5248
|
+
"aria-label",
|
|
5249
|
+
"maxlength",
|
|
5250
|
+
"required"
|
|
5249
5251
|
];
|
|
5250
5252
|
}
|
|
5251
5253
|
attributeChangedCallback(name, oldVal, newVal) {
|
|
@@ -5335,7 +5337,9 @@ class Input extends NectaryElement {
|
|
|
5335
5337
|
this.#onSizeUpdate();
|
|
5336
5338
|
break;
|
|
5337
5339
|
}
|
|
5338
|
-
case "autocomplete":
|
|
5340
|
+
case "autocomplete":
|
|
5341
|
+
case "maxlength":
|
|
5342
|
+
case "required": {
|
|
5339
5343
|
updateAttribute(this.#$input, name, newVal);
|
|
5340
5344
|
break;
|
|
5341
5345
|
}
|
package/input/index.js
CHANGED
|
@@ -139,7 +139,9 @@ class Input extends NectaryElement {
|
|
|
139
139
|
"autocomplete",
|
|
140
140
|
"autofocus",
|
|
141
141
|
"data-size",
|
|
142
|
-
"aria-label"
|
|
142
|
+
"aria-label",
|
|
143
|
+
"maxlength",
|
|
144
|
+
"required"
|
|
143
145
|
];
|
|
144
146
|
}
|
|
145
147
|
attributeChangedCallback(name, oldVal, newVal) {
|
|
@@ -229,7 +231,9 @@ class Input extends NectaryElement {
|
|
|
229
231
|
this.#onSizeUpdate();
|
|
230
232
|
break;
|
|
231
233
|
}
|
|
232
|
-
case "autocomplete":
|
|
234
|
+
case "autocomplete":
|
|
235
|
+
case "maxlength":
|
|
236
|
+
case "required": {
|
|
233
237
|
updateAttribute(this.#$input, name, newVal);
|
|
234
238
|
break;
|
|
235
239
|
}
|