@hanzo/ui 3.0.0 → 3.0.1
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 +2 -1
- package/primitives/carousel.tsx +2 -0
- package/primitives/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
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,6 +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",
|
|
56
57
|
"embla-carousel-react": "8.0.0-rc15",
|
|
57
58
|
"input-otp": "^1.0.1",
|
|
58
59
|
"lodash.castarray": "^4.4.0",
|
package/primitives/carousel.tsx
CHANGED
|
@@ -5,6 +5,7 @@ import useEmblaCarousel, {
|
|
|
5
5
|
type UseEmblaCarouselType,
|
|
6
6
|
} from 'embla-carousel-react'
|
|
7
7
|
import { ArrowLeft, ArrowRight } from 'lucide-react'
|
|
8
|
+
import Autoplay from "embla-carousel-autoplay"
|
|
8
9
|
|
|
9
10
|
import { cn } from '../util'
|
|
10
11
|
import { Button } from '.'
|
|
@@ -260,4 +261,5 @@ export {
|
|
|
260
261
|
CarouselItem,
|
|
261
262
|
CarouselPrevious,
|
|
262
263
|
CarouselNext,
|
|
264
|
+
Autoplay as CarouselAutoplayPlugin
|
|
263
265
|
}
|
package/primitives/index.ts
CHANGED
|
@@ -132,11 +132,13 @@ export {
|
|
|
132
132
|
} from './input-otp'
|
|
133
133
|
|
|
134
134
|
export {
|
|
135
|
+
type CarouselApi,
|
|
135
136
|
Carousel,
|
|
136
137
|
CarouselContent,
|
|
137
138
|
CarouselItem,
|
|
138
139
|
CarouselNext,
|
|
139
140
|
CarouselPrevious,
|
|
141
|
+
CarouselAutoplayPlugin,
|
|
140
142
|
} from './carousel'
|
|
141
143
|
|
|
142
144
|
export { Toggle, toggleVariants } from './toggle'
|