@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -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
 
@@ -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-stretch ' +
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 & {
@@ -27,6 +27,7 @@ const MediaStack: React.FC<{
27
27
  <Spline
28
28
  scene={animation}
29
29
  className={cn(clx, 'pointer-events-none')}
30
+ data-vaul-no-drag
30
31
  style={{
31
32
  // // !aspect-[12/10]
32
33
  width: (6/5 * (typeof cnst.h === 'number' ? cnst.h as number : parseInt(cnst.h as string)) ),
@@ -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
  ))}