@hanzo/commerce 1.1.4 → 1.1.6

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.
@@ -72,7 +72,7 @@ const FacetTogglesWidget: React.FC<{
72
72
  >
73
73
  <span className={cn('flex flex-row justify-center gap-1 h-4 items-center')} >
74
74
  <FacetImage facetValueDesc={fv} />
75
- <span className='hidden md:block whitespace-nowrap'>{fv.label}</span>
75
+ <span className='whitespace-nowrap'>{fv.label}</span>
76
76
  </span>
77
77
  </ToggleGroupItem>
78
78
  )
@@ -80,5 +80,6 @@ const FacetTogglesWidget: React.FC<{
80
80
  </ToggleGroup>
81
81
  )
82
82
  }
83
+ // hidden md:block
83
84
 
84
85
  export default FacetTogglesWidget
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/commerce",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Library with shopping cart components.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
package/types/facet.ts CHANGED
@@ -3,7 +3,7 @@ import type { ReactNode } from 'react'
3
3
  interface FacetValueDesc {
4
4
  value: string // a token in the sku
5
5
  label: string
6
- img : string | ReactNode // icon is required
6
+ img? : string | ReactNode // icon is required
7
7
  imgAR? : number // helps with svgs
8
8
  }
9
9