@ohhwells/bridge 0.1.117-next.317 → 0.1.117-next.319
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/index.cjs +3 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -13
- package/dist/index.js.map +1 -1
- package/dist/styles.css +8 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10093,16 +10093,6 @@ function setPricingCardFeatured(tree, index, patch) {
|
|
|
10093
10093
|
const target = children[index];
|
|
10094
10094
|
target.slots = target.slots ?? {};
|
|
10095
10095
|
target.slots.featured = { ...patch };
|
|
10096
|
-
if (patch.enabled) {
|
|
10097
|
-
children.forEach((child, i) => {
|
|
10098
|
-
if (i === index) return;
|
|
10099
|
-
const existing = child.slots?.featured;
|
|
10100
|
-
if (existing && typeof existing === "object" && existing.enabled) {
|
|
10101
|
-
child.slots = child.slots ?? {};
|
|
10102
|
-
child.slots.featured = { ...existing, enabled: false };
|
|
10103
|
-
}
|
|
10104
|
-
});
|
|
10105
|
-
}
|
|
10106
10096
|
return true;
|
|
10107
10097
|
});
|
|
10108
10098
|
}
|
|
@@ -15847,7 +15837,7 @@ function FloatingPanel({
|
|
|
15847
15837
|
"div",
|
|
15848
15838
|
{
|
|
15849
15839
|
"data-ohw-floating-panel-header": "",
|
|
15850
|
-
className: "relative flex shrink-0 cursor-grab items-start gap-2 border-b border-border py-
|
|
15840
|
+
className: "relative flex shrink-0 cursor-grab items-start gap-2 border-b border-border py-4! pl-5! pr-11! active:cursor-grabbing",
|
|
15851
15841
|
onPointerDown: onHeaderPointerDown,
|
|
15852
15842
|
onPointerMove: onHeaderPointerMove,
|
|
15853
15843
|
onPointerUp: endDrag,
|
|
@@ -15883,7 +15873,7 @@ function FloatingPanel({
|
|
|
15883
15873
|
{
|
|
15884
15874
|
"data-ohw-floating-panel-body": "",
|
|
15885
15875
|
className: cn(
|
|
15886
|
-
"flex min-h-0 w-full flex-1 flex-col gap-4 overflow-y-auto overscroll-contain p-
|
|
15876
|
+
"flex min-h-0 w-full flex-1 flex-col gap-4 overflow-y-auto overscroll-contain p-4",
|
|
15887
15877
|
bodyClassName
|
|
15888
15878
|
),
|
|
15889
15879
|
style: { WebkitOverflowScrolling: "touch" },
|
|
@@ -16706,7 +16696,7 @@ function ButtonStylePanel({
|
|
|
16706
16696
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
16707
16697
|
"div",
|
|
16708
16698
|
{
|
|
16709
|
-
className: "flex w-full items-center justify-center py-
|
|
16699
|
+
className: "flex w-full items-center justify-center py-4",
|
|
16710
16700
|
style: { background: cardSlot },
|
|
16711
16701
|
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
16712
16702
|
"span",
|