@antscorp/ama-ui 0.0.11 → 0.0.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/ama-ui.es.js CHANGED
@@ -3441,8 +3441,8 @@ const Va = "adm-input", Ra = { defaultValue: "", clearIcon: t.createElement(func
3441
3441
  }, "aria-label": o2.Input.clear }, a2.clearIcon)));
3442
3442
  }), Ba = (e2) => {
3443
3443
  const { children: t2, icon: n2, iconPosition: r2 = "left", ...o2 } = e2, i2 = a(() => {
3444
- const e3 = [h("span", { children: t2 })];
3445
- return n2 && ("left" === r2 ? e3.unshift(n2) : e3.push(n2)), e3;
3444
+ const e3 = [h("span", { children: t2 }, "button-content")];
3445
+ return n2 && ("left" === r2 ? e3.unshift(h("span", { children: n2 }, "button-icon")) : e3.push(h("span", { children: n2 }, "button-icon"))), e3;
3446
3446
  }, [t2, n2, r2]);
3447
3447
  return h(hs, { ...o2, children: h("div", { className: "am-flex am-items-center am-justify-center am-gap-2", children: i2() }) });
3448
3448
  }, Wa = (e2) => h(La, { ...e2 }), qa = (e2) => h(ks, { ...e2 }), za = (e2) => {