@rogieking/figui3 1.1.7 → 1.1.8

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.
Files changed (2) hide show
  1. package/fig.js +2 -2
  2. package/package.json +1 -1
package/fig.js CHANGED
@@ -1246,10 +1246,10 @@ class FigInputColor extends HTMLElement {
1246
1246
  case "value":
1247
1247
  this.#setValues(newValue);
1248
1248
  if (this.#textInput) {
1249
- this.#textInput.setAttribute("value", this.hex);
1249
+ this.#textInput.setAttribute("value", this.value);
1250
1250
  }
1251
1251
  if (this.#swatch) {
1252
- this.#swatch.setAttribute("value", this.hex);
1252
+ this.#swatch.setAttribute("value", this.hexOpaque);
1253
1253
  }
1254
1254
  if (this.#alphaInput) {
1255
1255
  this.#alphaInput.setAttribute("value", this.alpha);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {