@hanzo/commerce 7.1.7 → 7.1.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.
@@ -41,7 +41,11 @@ const CartLineItem: React.FC<{
41
41
  const promoPrice = showPromoCode ? cmmc.itemPromoPrice(item) : undefined
42
42
 
43
43
  return (
44
- <div className={cn('flex flex-col justify-start items-start text-sm font-sans', className)}>
44
+ <div className={cn(
45
+ 'flex flex-col justify-start items-start text-sm font-sans',
46
+ selected ? 'border-foreground border rounded-sm p-[3px]' : 'p-[4px]',
47
+ className
48
+ )}>
45
49
  <div
46
50
  className={
47
51
  'flex flex-row justify-between items-center gap-1 ' +
@@ -50,7 +54,7 @@ const CartLineItem: React.FC<{
50
54
  onClick={() => {itemClicked && itemClicked(item)}}
51
55
  >
52
56
  {/* 1px gap between image and border for better emphasis w small images */}
53
- <div className={selected ? 'border-foreground p-[1px] border rounded-sm' : 'p-[2px]'}>
57
+ <div className={ /*selected ? 'border-foreground p-[1px] border rounded-sm' : 'p-[2px]' */ ''}>
54
58
  {item.img ? (
55
59
  <Image def={item.img} constrainTo={{w: imgSizePx, h: imgSizePx}} />
56
60
  ) : ( // placeholder so things align
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/commerce",
3
- "version": "7.1.7",
3
+ "version": "7.1.9",
4
4
  "description": "e-commerce framework.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",