@hanzo/commerce 7.1.0 → 7.1.2
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
|
}) => {
|
|
@@ -233,8 +235,8 @@ const CarouselBuyCard: React.FC<{
|
|
|
233
235
|
/>
|
|
234
236
|
))}
|
|
235
237
|
<Buttons clx={cn(
|
|
236
|
-
'self-stretch mt-8 flex flex-col items-center gap-3',
|
|
237
|
-
|
|
238
|
+
'self-stretch mt-8 flex flex-col items-center gap-3 shrink-0 grow-0',
|
|
239
|
+
buttonsAreaClx
|
|
238
240
|
)}/>
|
|
239
241
|
</div >
|
|
240
242
|
)
|
|
@@ -248,8 +248,10 @@ const AllVariantsCarousel: React.FC<MultiFamilySelectorProps> = ({
|
|
|
248
248
|
</>)}
|
|
249
249
|
</Carousel>
|
|
250
250
|
)}
|
|
251
|
-
<
|
|
252
|
-
|
|
251
|
+
<div className='flex flex-col items-center justify-start'>
|
|
252
|
+
<ItemInfo labelClx='!text-base font-medium'/>
|
|
253
|
+
<Swatches clx='mt-2'/>
|
|
254
|
+
</div>
|
|
253
255
|
</div>
|
|
254
256
|
)
|
|
255
257
|
}
|