@rogieking/figui3 1.0.60 → 1.0.62

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 (3) hide show
  1. package/fig.css +0 -1
  2. package/fig.js +4 -2
  3. package/package.json +1 -1
package/fig.css CHANGED
@@ -1848,7 +1848,6 @@ fig-icon.close {
1848
1848
 
1849
1849
  /* Web Components */
1850
1850
  fig-button,
1851
- fig-tooltip,
1852
1851
  fig-popover,
1853
1852
  fig-dialog,
1854
1853
  fig-content,
package/fig.js CHANGED
@@ -153,7 +153,6 @@ class FigTooltip extends HTMLElement {
153
153
  this.action = this.getAttribute("action") || "hover";
154
154
  this.delay = parseInt(this.getAttribute("delay")) || 500;
155
155
  this.isOpen = false;
156
- this.style.display = "contents";
157
156
  }
158
157
  connectedCallback() {
159
158
  this.setup();
@@ -164,7 +163,9 @@ class FigTooltip extends HTMLElement {
164
163
  this.destroy();
165
164
  }
166
165
 
167
- setup() {}
166
+ setup() {
167
+ this.style.display = "contents";
168
+ }
168
169
 
169
170
  render() {
170
171
  this.destroy();
@@ -1390,6 +1391,7 @@ class FigImage extends HTMLElement {
1390
1391
  attributeChangedCallback(name, oldValue, newValue) {
1391
1392
  if (name === "src") {
1392
1393
  this.src = newValue;
1394
+ this.chit.setAttribute("src", this.src);
1393
1395
  }
1394
1396
  if (name === "upload") {
1395
1397
  this.upload = newValue.toLowerCase() === "true";
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.60"
3
+ "version": "1.0.62"
4
4
  }