@hypen-space/web 0.4.5 → 0.4.12

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/dist/hypen.js CHANGED
@@ -2663,9 +2663,6 @@ var advancedLayoutHandlers = {
2663
2663
  alignContent: (el, value) => {
2664
2664
  el.style.alignContent = String(value);
2665
2665
  },
2666
- alignSelf: (el, value) => {
2667
- el.style.alignSelf = String(value);
2668
- },
2669
2666
  order: (el, value) => {
2670
2667
  el.style.order = String(value);
2671
2668
  },
@@ -3446,6 +3443,9 @@ class DOMRenderer {
3446
3443
  case "setProp":
3447
3444
  this.onSetProp(id, patch.name, patch.value);
3448
3445
  break;
3446
+ case "removeProp":
3447
+ this.onRemoveProp(id, patch.name);
3448
+ break;
3449
3449
  case "setText":
3450
3450
  this.onSetText(id, patch.text);
3451
3451
  break;
@@ -3513,6 +3513,13 @@ class DOMRenderer {
3513
3513
  }
3514
3514
  this.applicators.apply(element, name, value);
3515
3515
  }
3516
+ onRemoveProp(id, name) {
3517
+ const element = this.nodes.get(id);
3518
+ if (!element)
3519
+ return;
3520
+ this.debugTracker.trackRerender(id, element, `removeProp:${name}`);
3521
+ this.applicators.apply(element, name, undefined);
3522
+ }
3516
3523
  onSetText(id, text) {
3517
3524
  const element = this.nodes.get(id);
3518
3525
  if (!element)
@@ -3879,4 +3886,4 @@ export {
3879
3886
  Hypen
3880
3887
  };
3881
3888
 
3882
- //# debugId=17A9DA4178E1757864756E2164756E21
3889
+ //# debugId=8C40DA488E3B928064756E2164756E21