wacomm 2.32.0 → 2.32.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/html/ClickableDiv.d.ts +3 -2
- package/dist/wacomm.cjs.js +2 -2
- package/dist/wacomm.es.js +6 -10
- package/package.json +1 -1
package/dist/wacomm.es.js
CHANGED
|
@@ -15257,12 +15257,13 @@ function Qa({ items: e, itemRenderer: t, className: n = "", fallback: r = void 0
|
|
|
15257
15257
|
//#endregion
|
|
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
|
-
function eo({ children: e, className: t = "", onClick: n = Yt, disabled: r = !1 }) {
|
|
15260
|
+
function eo({ children: e, className: t = "", onClick: n = Yt, disabled: r = !1, ...i }) {
|
|
15261
15261
|
return /* @__PURE__ */ C("button", {
|
|
15262
15262
|
type: "button",
|
|
15263
15263
|
disabled: r,
|
|
15264
15264
|
className: G("ClickableDiv", $a, r ? "cursor-not-allowed opacity-40" : "", t),
|
|
15265
15265
|
onClick: n,
|
|
15266
|
+
...i,
|
|
15266
15267
|
children: e
|
|
15267
15268
|
});
|
|
15268
15269
|
}
|
|
@@ -21478,16 +21479,11 @@ function xh({ title: e, isExpandable: t = !0, className: n = "", children: r = v
|
|
|
21478
21479
|
function Sh({ title: e, children: t = void 0, isOpen: n, onToggle: r, disabled: i = !1, className: a = "", titleClassName: o = "", contentClassName: s = "" }) {
|
|
21479
21480
|
return /* @__PURE__ */ w(po, {
|
|
21480
21481
|
className: G("AccordionItem gap-0 w-full items-stretch", a),
|
|
21481
|
-
children: [/* @__PURE__ */ w(
|
|
21482
|
-
role: "button",
|
|
21483
|
-
tabIndex: i ? -1 : 0,
|
|
21484
|
-
"aria-disabled": i,
|
|
21482
|
+
children: [/* @__PURE__ */ w(eo, {
|
|
21485
21483
|
"aria-expanded": n,
|
|
21486
|
-
onClick:
|
|
21487
|
-
|
|
21488
|
-
|
|
21489
|
-
},
|
|
21490
|
-
className: G("w-full flex flex-row items-center justify-between gap-2 px-3 py-2.5 bg-white cursor-pointer focus:outline-none", i ? "cursor-not-allowed opacity-40" : "", n ? "sticky top-0 z-10" : "", o),
|
|
21484
|
+
onClick: r,
|
|
21485
|
+
disabled: i,
|
|
21486
|
+
className: G("w-full flex flex-row items-center justify-between gap-2 px-3 py-2.5 bg-white", n ? "sticky top-0 z-10" : "", o),
|
|
21491
21487
|
children: [/* @__PURE__ */ C("span", { children: e }), C(n ? fa : ea, {
|
|
21492
21488
|
size: K.sm,
|
|
21493
21489
|
className: "fill-gray-888 shrink-0"
|