@nectary/components 5.47.0 → 5.47.1
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 +3 -0
- package/package.json +1 -1
- package/spinner/index.js +3 -0
package/bundle.js
CHANGED
|
@@ -9144,6 +9144,9 @@ class Spinner extends NectaryElement {
|
|
|
9144
9144
|
this.#controller = new AbortController();
|
|
9145
9145
|
this.setAttribute("aria-live", "polite");
|
|
9146
9146
|
this.setAttribute("aria-busy", "true");
|
|
9147
|
+
if (!this.hasAttribute("data-size")) {
|
|
9148
|
+
updateAttribute(this, "data-size", this.size);
|
|
9149
|
+
}
|
|
9147
9150
|
subscribeContext(this, "size", this.#onContextSize, this.#controller.signal);
|
|
9148
9151
|
}
|
|
9149
9152
|
disconnectedCallback() {
|
package/package.json
CHANGED
package/spinner/index.js
CHANGED
|
@@ -16,6 +16,9 @@ class Spinner extends NectaryElement {
|
|
|
16
16
|
this.#controller = new AbortController();
|
|
17
17
|
this.setAttribute("aria-live", "polite");
|
|
18
18
|
this.setAttribute("aria-busy", "true");
|
|
19
|
+
if (!this.hasAttribute("data-size")) {
|
|
20
|
+
updateAttribute(this, "data-size", this.size);
|
|
21
|
+
}
|
|
19
22
|
subscribeContext(this, "size", this.#onContextSize, this.#controller.signal);
|
|
20
23
|
}
|
|
21
24
|
disconnectedCallback() {
|