@nectary/components 5.15.0 → 5.15.2

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
@@ -6163,6 +6163,7 @@ class Input extends NectaryElement {
6163
6163
  #updateInputRole() {
6164
6164
  if (this.type === "number") {
6165
6165
  this.#$input.setAttribute("role", "spinbutton");
6166
+ this.#$input.removeAttribute("aria-placeholder");
6166
6167
  this.#updateAriaValueAttributes();
6167
6168
  } else {
6168
6169
  this.#$input.removeAttribute("role");
@@ -7942,6 +7943,10 @@ class Pagination extends NectaryElement {
7942
7943
  setClass($b, "dots", ellipsis);
7943
7944
  updateAttribute($b, "aria-hidden", ellipsis);
7944
7945
  $b.disabled = ellipsis;
7946
+ } else {
7947
+ setClass($b, "dots", false);
7948
+ updateAttribute($b, "aria-hidden", false);
7949
+ $b.disabled = false;
7945
7950
  }
7946
7951
  setClass($b, "hidden", i >= max);
7947
7952
  const btnText = $b.firstElementChild;
package/input/index.js CHANGED
@@ -752,6 +752,7 @@ class Input extends NectaryElement {
752
752
  #updateInputRole() {
753
753
  if (this.type === "number") {
754
754
  this.#$input.setAttribute("role", "spinbutton");
755
+ this.#$input.removeAttribute("aria-placeholder");
755
756
  this.#updateAriaValueAttributes();
756
757
  } else {
757
758
  this.#$input.removeAttribute("role");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nectary/components",
3
- "version": "5.15.0",
3
+ "version": "5.15.2",
4
4
  "files": [
5
5
  "**/*/*.css",
6
6
  "**/*/*.json",
@@ -87,6 +87,10 @@ class Pagination extends NectaryElement {
87
87
  setClass($b, "dots", ellipsis);
88
88
  updateAttribute($b, "aria-hidden", ellipsis);
89
89
  $b.disabled = ellipsis;
90
+ } else {
91
+ setClass($b, "dots", false);
92
+ updateAttribute($b, "aria-hidden", false);
93
+ $b.disabled = false;
90
94
  }
91
95
  setClass($b, "hidden", i >= max);
92
96
  const btnText = $b.firstElementChild;