@wexio/messenger-widget-react 1.0.12 → 1.0.13
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/widget-react.js +2 -2
- package/package.json +1 -1
package/dist/widget-react.js
CHANGED
|
@@ -3594,7 +3594,7 @@ function Wa({ block: e, onOpenTab: t }) {
|
|
|
3594
3594
|
}
|
|
3595
3595
|
};
|
|
3596
3596
|
if (e.layout === "inline") {
|
|
3597
|
-
let t = e.buttons.slice(0,
|
|
3597
|
+
let t = e.buttons.slice(0, 8);
|
|
3598
3598
|
return /* @__PURE__ */ Q("div", {
|
|
3599
3599
|
className: U("grid gap-2", t.length === 1 && "grid-cols-1", t.length === 2 && "grid-cols-2", t.length === 3 && "grid-cols-3", t.length >= 4 && "grid-cols-4"),
|
|
3600
3600
|
children: t.map((e, t) => /* @__PURE__ */ Q(Ga, {
|
|
@@ -3627,7 +3627,7 @@ function Ga({ btn: e, onClick: t }) {
|
|
|
3627
3627
|
damping: 24
|
|
3628
3628
|
},
|
|
3629
3629
|
title: e.label,
|
|
3630
|
-
className: "group flex
|
|
3630
|
+
className: "group flex h-24 flex-col items-center justify-center gap-1.5 rounded-wx-lg bg-wx-bg-elevated px-2 py-3 text-wx-fg transition-colors hover:bg-wx-bg-elevated-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary",
|
|
3631
3631
|
children: [/* @__PURE__ */ Q("span", {
|
|
3632
3632
|
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-wx-bg transition-transform group-hover:scale-110",
|
|
3633
3633
|
children: e.icon?.kind === "media" ? /* @__PURE__ */ Q("img", {
|
package/package.json
CHANGED