@hanzo/commerce 7.0.16 → 7.1.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.
|
@@ -55,6 +55,7 @@ const CarouselBuyCard: React.FC<{
|
|
|
55
55
|
clx?: string
|
|
56
56
|
selectorClx?: string
|
|
57
57
|
addBtnClx?: string
|
|
58
|
+
buttonsAreaClx?: string
|
|
58
59
|
mobile?: boolean
|
|
59
60
|
onQuantityChanged?: (sku: string, oldV: number, newV: number) => void
|
|
60
61
|
}> = ({
|
|
@@ -63,6 +64,7 @@ const CarouselBuyCard: React.FC<{
|
|
|
63
64
|
clx='',
|
|
64
65
|
selectorClx='',
|
|
65
66
|
addBtnClx='',
|
|
67
|
+
buttonsAreaClx='',
|
|
66
68
|
mobile=false,
|
|
67
69
|
onQuantityChanged,
|
|
68
70
|
}) => {
|
|
@@ -234,7 +236,8 @@ const CarouselBuyCard: React.FC<{
|
|
|
234
236
|
))}
|
|
235
237
|
<Buttons clx={cn(
|
|
236
238
|
'self-stretch mt-8 flex flex-col items-center gap-3',
|
|
237
|
-
(r.current?.single?.scrollable ? 'shrink-0' : '')
|
|
239
|
+
(r.current?.single?.scrollable ? 'shrink-0' : ''),
|
|
240
|
+
buttonsAreaClx
|
|
238
241
|
)}/>
|
|
239
242
|
</div >
|
|
240
243
|
)
|
|
@@ -248,8 +248,10 @@ const AllVariantsCarousel: React.FC<MultiFamilySelectorProps> = ({
|
|
|
248
248
|
</>)}
|
|
249
249
|
</Carousel>
|
|
250
250
|
)}
|
|
251
|
-
<
|
|
252
|
-
|
|
251
|
+
<div>
|
|
252
|
+
<ItemInfo labelClx='!text-base font-medium'/>
|
|
253
|
+
<Swatches clx='mt-2'/>
|
|
254
|
+
</div>
|
|
253
255
|
</div>
|
|
254
256
|
)
|
|
255
257
|
}
|