@hanzo/ui 3.5.0 → 3.5.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.
package/package.json
CHANGED
package/primitives/image.tsx
CHANGED
|
@@ -62,10 +62,10 @@ const Image: React.FC<{
|
|
|
62
62
|
|
|
63
63
|
return (fullWidth) ? (
|
|
64
64
|
<div className='relative flex flex-col items-center w-full'>
|
|
65
|
-
<NextImage src={src} alt={alt} {...toSpread} priority={preload} loading={preload ? 'eager' : 'lazy'} className={cn(svgFillClass, className)}/>
|
|
65
|
+
<NextImage src={src} alt={alt} data-vaul-no-drag {...toSpread} priority={preload} loading={preload ? 'eager' : 'lazy'} className={cn(svgFillClass, className)}/>
|
|
66
66
|
</div>
|
|
67
67
|
) : (
|
|
68
|
-
<NextImage src={src} alt={alt} {...toSpread} priority={preload} loading={preload ? 'eager' : 'lazy'} className={cn(svgFillClass, className)}/>
|
|
68
|
+
<NextImage src={src} alt={alt} data-vaul-no-drag {...toSpread} priority={preload} loading={preload ? 'eager' : 'lazy'} className={cn(svgFillClass, className)}/>
|
|
69
69
|
)
|
|
70
70
|
}
|
|
71
71
|
|
package/primitives/main.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import React, { type PropsWithChildren } from 'react'
|
|
|
2
2
|
import { cn } from '../util'
|
|
3
3
|
|
|
4
4
|
const c = 'max-w-screen-2xl 2xl:w-[1500px] lg:mx-auto ' +
|
|
5
|
-
'flex flex-col justify-start items-
|
|
5
|
+
'flex flex-col justify-start items-center ' +
|
|
6
6
|
'p-4 md:px-6 lg:px-8 '
|
|
7
7
|
|
|
8
8
|
const Main: React.FC<PropsWithChildren & {
|
|
@@ -12,7 +12,7 @@ const VideoPlayer = React.forwardRef<HTMLVideoElement, VideoProps>(
|
|
|
12
12
|
}, ref) => {
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
<video ref={ref} {...rest}>
|
|
15
|
+
<video ref={ref} {...rest} data-vaul-no-drag >
|
|
16
16
|
{sources.map((source, index) => (
|
|
17
17
|
<source key={index} src={source} />
|
|
18
18
|
))}
|