wacomm 2.32.1 → 2.32.2

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/wacomm.es.js CHANGED
@@ -15258,7 +15258,10 @@ function Qa({ items: e, itemRenderer: t, className: n = "", fallback: r = void 0
15258
15258
  //#region src/html/ClickableDiv.tsx
15259
15259
  var $a = "appearance-none bg-transparent p-0 m-0 text-left cursor-pointer focus:outline-none";
15260
15260
  function eo({ children: e, className: t = "", onClick: n = Yt, disabled: r = !1, ...i }) {
15261
- return /* @__PURE__ */ C("button", {
15261
+ return n === Yt ? /* @__PURE__ */ C("div", {
15262
+ className: G("ClickableDiv", t),
15263
+ children: e
15264
+ }) : /* @__PURE__ */ C("button", {
15262
15265
  type: "button",
15263
15266
  disabled: r,
15264
15267
  className: G("ClickableDiv", $a, r ? "cursor-not-allowed opacity-40" : "", t),
@@ -15512,7 +15515,7 @@ function Eo({ icon: e, onClick: t, className: n = "", disabled: r = !1, isLoadin
15512
15515
  className: wo(o, r, n),
15513
15516
  type: "button",
15514
15517
  onClick: t,
15515
- children: [/* @__PURE__ */ w(uo, {
15518
+ children: [/* @__PURE__ */ w(mo, {
15516
15519
  isVertical: a,
15517
15520
  className: "items-center gap-0",
15518
15521
  children: [l && /* @__PURE__ */ C(l, {
@@ -16119,8 +16122,8 @@ function Xo({ children: e, className: t = "", buttonsClassName: n = "", onSubmit
16119
16122
  }
16120
16123
  //#endregion
16121
16124
  //#region src/html/img/Img.tsx
16122
- function Zo({ src: e, alt: t, ref: n = null, className: r = "", containerClassName: i = "", onClick: a = Yt, style: o = void 0, onLoad: s = void 0 }) {
16123
- return /* @__PURE__ */ C(eo, {
16125
+ function Zo({ src: e, alt: t, ref: n = null, className: r = "", containerClassName: i = "", onClick: a = void 0, style: o = void 0, onLoad: s = void 0 }) {
16126
+ return /* @__PURE__ */ C("div", {
16124
16127
  className: i,
16125
16128
  children: /* @__PURE__ */ C("img", {
16126
16129
  ref: n,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wacomm",
3
- "version": "2.32.1",
3
+ "version": "2.32.2",
4
4
  "main": "dist/wacomm.cjs.js",
5
5
  "module": "dist/wacomm.es.js",
6
6
  "types": "dist/index.d.ts",