@rogieking/figui3 11.1.0 → 11.1.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/fig.js CHANGED
@@ -6586,6 +6586,7 @@ class FigSlider extends HTMLElement {
6586
6586
  value: this.value,
6587
6587
  units: this.units || null,
6588
6588
  precision: this.precision,
6589
+ disabled: this.disabled,
6589
6590
  }),
6590
6591
  );
6591
6592
  }
@@ -7025,8 +7026,7 @@ class FigSlider extends HTMLElement {
7025
7026
  this.disabled = this.input.disabled =
7026
7027
  newValue !== null && newValue !== "false";
7027
7028
  if (this.figInputNumber) {
7028
- this.figInputNumber.disabled = this.disabled;
7029
- this.figInputNumber.setAttribute("disabled", this.disabled);
7029
+ this.figInputNumber.toggleAttribute("disabled", this.disabled);
7030
7030
  }
7031
7031
  break;
7032
7032
  case "value":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "11.1.0",
3
+ "version": "11.1.1",
4
4
  "description": "A lightweight web components library for building Figma plugin and widget UIs with native look and feel",
5
5
  "author": "Rogie King",
6
6
  "license": "SEE LICENSE IN LICENSE",