@hanzo/commerce 7.0.8 → 7.0.9
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.
|
@@ -214,8 +214,8 @@ const CarouselBuyCard: React.FC<{
|
|
|
214
214
|
return (
|
|
215
215
|
<div className={cn(
|
|
216
216
|
'px-4 md:px-6 pt-3 pb-4 flex flex-col gap-1 items-center',
|
|
217
|
+
r.current?.single?.scrollable ? SCROLL.scrollHeightClx : 'h-auto',
|
|
217
218
|
clx,
|
|
218
|
-
r.current?.single?.scrollable ? SCROLL.scrollHeightClx : 'h-auto'
|
|
219
219
|
)}>
|
|
220
220
|
{r.current?.single ? (
|
|
221
221
|
<SingleFamilySelector
|
|
@@ -81,7 +81,7 @@ const CartPanel: React.FC<PropsWithChildren & {
|
|
|
81
81
|
cmmc.setCurrentItem(item.sku)
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
const
|
|
84
|
+
const MainStuff: React.FC = observer(() => (<>
|
|
85
85
|
{cmmc.cartEmpty ? (
|
|
86
86
|
<p className={cn('text-center my-3', noItemsClx)}>No items</p>
|
|
87
87
|
) : (<>
|
|
@@ -135,11 +135,11 @@ const CartPanel: React.FC<PropsWithChildren & {
|
|
|
135
135
|
{children}
|
|
136
136
|
{scrolling() ? (
|
|
137
137
|
<ScrollArea className={cn('mt-2 w-full shrink py-0', listClx)}>
|
|
138
|
-
<
|
|
138
|
+
<MainStuff />
|
|
139
139
|
</ScrollArea>
|
|
140
140
|
) : (
|
|
141
141
|
<div className={cn('mt-2 w-full', listClx)}>
|
|
142
|
-
<
|
|
142
|
+
<MainStuff />
|
|
143
143
|
</div>
|
|
144
144
|
)}
|
|
145
145
|
{handleCheckout && !cmmc.cartEmpty && (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/commerce",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"description": "e-commerce framework.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@hanzo/auth": "^2.4.10",
|
|
39
|
-
"@hanzo/ui": "^3.8.
|
|
39
|
+
"@hanzo/ui": "^3.8.15",
|
|
40
40
|
"@hookform/resolvers": "^3.3.4",
|
|
41
41
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
42
42
|
"firebase": "^10.8.0",
|