@zeyos/zx 4.1.0 → 4.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/dist/zx.global.js CHANGED
@@ -19859,11 +19859,12 @@ var zx = (() => {
19859
19859
  class: "zx-app-icon__badge",
19860
19860
  ariaHidden: "true"
19861
19861
  }, String(state.badge));
19862
- this.el.replaceChildren(
19862
+ const children = [
19863
19863
  h("span", { class: "zx-app-icon__shine", ariaHidden: "true" }),
19864
- h("span", { class: "zx-app-icon__glyph", ariaHidden: "true" }, visual),
19865
- badge2
19866
- );
19864
+ h("span", { class: "zx-app-icon__glyph", ariaHidden: "true" }, visual)
19865
+ ];
19866
+ if (badge2) children.push(badge2);
19867
+ this.el.replaceChildren(...children);
19867
19868
  }
19868
19869
  };
19869
19870
  function appIcon(options = {}) {