@nectary/components 5.6.3 → 5.6.5

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 CHANGED
@@ -3076,7 +3076,7 @@ class Pop extends NectaryElement {
3076
3076
  this.#$contentSlot.addEventListener("slotchange", this.#onContentSlotChange);
3077
3077
  }
3078
3078
  });
3079
- requestAnimationFrame(() => this.#updatePosition());
3079
+ this.#updatePosition();
3080
3080
  this.#dispatchContentVisibility(true);
3081
3081
  }
3082
3082
  #onCollapse() {
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/components",
3
- "version": "5.6.3",
3
+ "version": "5.6.5",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",
package/pop/index.js CHANGED
@@ -241,7 +241,7 @@ class Pop extends NectaryElement {
241
241
  this.#$contentSlot.addEventListener("slotchange", this.#onContentSlotChange);
242
242
  }
243
243
  });
244
- requestAnimationFrame(() => this.#updatePosition());
244
+ this.#updatePosition();
245
245
  this.#dispatchContentVisibility(true);
246
246
  }
247
247
  #onCollapse() {