@rogieking/figui3 9.4.6 → 9.4.7

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
@@ -5256,7 +5256,11 @@ class FigToolbelt extends HTMLElement {
5256
5256
  for (const slot of [this.#prependSlot, this.#appendSlot]) {
5257
5257
  const hidden = slot.assignedElements({ flatten: true }).length === 0;
5258
5258
  slot.hidden = hidden;
5259
- slot.style.display = hidden ? "none" : "";
5259
+ if (hidden) {
5260
+ slot.style.setProperty("display", "none", "important");
5261
+ } else {
5262
+ slot.style.removeProperty("display");
5263
+ }
5260
5264
  }
5261
5265
  }
5262
5266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "9.4.6",
3
+ "version": "9.4.7",
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",