@hanzo/commerce 6.1.6 → 6.1.8

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.
@@ -4,7 +4,6 @@ import { reaction } from 'mobx'
4
4
  import { observer } from 'mobx-react-lite'
5
5
 
6
6
  import { cn } from '@hanzo/ui/util'
7
- import ItemMedia from '../item/item-media'
8
7
 
9
8
  import {
10
9
  type CarouselOptionsType,
@@ -17,6 +16,7 @@ import {
17
16
  ApplyTypography
18
17
  } from '@hanzo/ui/primitives'
19
18
 
19
+ import ItemMedia from '../item/item-media'
20
20
  import type { ItemSelectorProps, LineItem } from '../../types'
21
21
  import { formatCurrencyValue } from '../../util'
22
22
 
@@ -91,7 +91,7 @@ const CarouselItemSelector: React.FC<ItemSelectorProps> = observer(({
91
91
  )
92
92
 
93
93
  return (
94
- <Carousel options={options} className={cn('w-full px-2', clx)} onSelect={onSelect} setApi={setApi}>
94
+ <Carousel options={options} className={cn('w-full px-2', clx)} onCarouselSelect={onSelect} setApi={setApi}>
95
95
  <CarouselContent>
96
96
  {items.map((item, index) => (
97
97
  <CarouselItem key={index} className={cn('p-2 flex flex-col justify-center items-center', itemClx)}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/commerce",
3
- "version": "6.1.6",
3
+ "version": "6.1.8",
4
4
  "description": "Library with shopping cart components.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@hanzo/auth": "^2.3.4",
43
- "@hanzo/ui": "^3.4.1",
43
+ "@hanzo/ui": "^3.4.2",
44
44
  "@hookform/resolvers": "^3.3.4",
45
45
  "@radix-ui/react-radio-group": "^1.1.3",
46
46
  "firebase": "^10.8.0",