@hanzo/ui 3.8.29 → 3.8.31
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.
|
@@ -122,10 +122,6 @@ const VideoBlockComponent: React.FC<BlockComponentProps & {
|
|
|
122
122
|
const videoDims = b.dim as TShirtDimensions
|
|
123
123
|
const dim = ((size && size in videoDims) ? videoDims[size] : videoDims.md) as Dimensions
|
|
124
124
|
const conDim = (constrainTo ? constrain(dim, constrainTo) : dim)
|
|
125
|
-
if (b.sources?.[0] === '/assets/commerce/silver/product/luxsilver.mp4') {
|
|
126
|
-
console.log("VIDEO BLOCK, dim: ", dim)
|
|
127
|
-
console.log("VIDEO BLOCK, const dim: ", conDim)
|
|
128
|
-
}
|
|
129
125
|
return usePoster ? (
|
|
130
126
|
<Image src={b.poster!} alt='image' width={conDim.w} height={conDim.h} className={className}/>
|
|
131
127
|
) : (
|
package/package.json
CHANGED
package/primitives/accordion.tsx
CHANGED
|
@@ -22,14 +22,15 @@ const AccordionItem = React.forwardRef<
|
|
|
22
22
|
AccordionItem.displayName = "AccordionItem"
|
|
23
23
|
|
|
24
24
|
type AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> & {
|
|
25
|
-
showChevron?: boolean
|
|
25
|
+
showChevron?: boolean
|
|
26
|
+
headerClx?: string
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
const AccordionTrigger = React.forwardRef<
|
|
29
30
|
React.ElementRef<typeof AccordionPrimitive.Trigger>,
|
|
30
31
|
AccordionTriggerProps
|
|
31
|
-
>(({ showChevron, className, children, ...props }, ref) => (
|
|
32
|
-
<AccordionPrimitive.Header className=
|
|
32
|
+
>(({ showChevron, headerClx, className, children, ...props }, ref) => (
|
|
33
|
+
<AccordionPrimitive.Header className={cn('flex', headerClx)}>
|
|
33
34
|
<AccordionPrimitive.Trigger
|
|
34
35
|
ref={ref}
|
|
35
36
|
className={cn(
|