@hanzo/ui 3.4.0 → 3.4.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.4.0",
3
+ "version": "3.4.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/",
@@ -53,8 +53,7 @@
53
53
  "class-variance-authority": "^0.7.0",
54
54
  "clsx": "^2.1.0",
55
55
  "cmdk": "^0.2.0",
56
- "embla-carousel-autoplay": "8.0.0-rc15",
57
- "embla-carousel-react": "8.0.0-rc15",
56
+ "embla-carousel-react": "8.0.1",
58
57
  "input-otp": "^1.0.1",
59
58
  "lodash.castarray": "^4.4.0",
60
59
  "lodash.isplainobject": "^4.0.6",
@@ -71,6 +70,7 @@
71
70
  },
72
71
  "peerDependencies": {
73
72
  "@hookform/resolvers": "^3.3.2",
73
+ "embla-carousel": "^8.0.1",
74
74
  "lucide-react": "^0.344.0",
75
75
  "next": "14.1.3",
76
76
  "next-themes": "^0.2.1",
@@ -89,6 +89,7 @@
89
89
  "@types/mdx": "^2.0.9",
90
90
  "@types/react": "^18.2.64",
91
91
  "@types/react-dom": "^18.2.18",
92
+ "embla-carousel": "^8.0.1",
92
93
  "tailwindcss": "^3.4.1",
93
94
  "typescript": "5.3.3"
94
95
  }
@@ -1,8 +1,8 @@
1
1
  'use client'
2
2
 
3
3
  import * as React from 'react'
4
- import useEmblaCarousel, { type EmblaOptionsType, type EmblaCarouselType } from 'embla-carousel-react'
5
- import Autoplay from 'embla-carousel-autoplay'
4
+ import useEmblaCarousel from 'embla-carousel-react'
5
+ import type { EmblaCarouselType, EmblaOptionsType } from 'embla-carousel'
6
6
  import { ArrowLeft, ArrowRight } from 'lucide-react'
7
7
 
8
8
  import { cn } from '../util'
@@ -270,5 +270,4 @@ export {
270
270
  CarouselItem,
271
271
  CarouselPrevious,
272
272
  CarouselNext,
273
- Autoplay as CarouselAutoplayPlugin
274
273
  }
@@ -153,7 +153,6 @@ export {
153
153
  CarouselItem,
154
154
  CarouselNext,
155
155
  CarouselPrevious,
156
- CarouselAutoplayPlugin,
157
156
  } from './carousel'
158
157
 
159
158
  export { Toggle, toggleVariants } from './toggle'