uilab-core 0.1.4 → 0.1.6
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/dist/components/container.d.ts +8 -0
- package/dist/components/index.d.ts +1 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +9 -22
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -11
- package/dist/components/carousel.d.ts +0 -19
- package/dist/components/sonner.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uilab-core",
|
|
3
3
|
"description": "Uilab base components and blocks",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
7
7
|
"type": "module",
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
34
33
|
"prebuild": "rimraf ./dist",
|
|
35
34
|
"build": "rollup -c",
|
|
36
35
|
"release": "npm run build && npm publish",
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
41
|
"@eslint/js": "^9.38.0",
|
|
43
|
-
"@hookform/resolvers": "^5.2.2",
|
|
44
42
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
45
43
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
46
44
|
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
@@ -79,10 +77,8 @@
|
|
|
79
77
|
"clsx": "^2.1.1",
|
|
80
78
|
"cmdk": "^1.1.1",
|
|
81
79
|
"date-fns": "^4.1.0",
|
|
82
|
-
"embla-carousel-react": "^8.6.0",
|
|
83
80
|
"input-otp": "^1.4.2",
|
|
84
81
|
"lucide-react": "^0.546.0",
|
|
85
|
-
"next-themes": "^0.4.6",
|
|
86
82
|
"postcss-import": "^16.1.1",
|
|
87
83
|
"react": "^19.2.0",
|
|
88
84
|
"react-day-picker": "^9.11.1",
|
|
@@ -96,22 +92,19 @@
|
|
|
96
92
|
"rollup-plugin-postcss": "^4.0.2",
|
|
97
93
|
"rollup-plugin-tsconfig-paths": "^1.5.2",
|
|
98
94
|
"rollup-preserve-directives": "^1.1.3",
|
|
99
|
-
"sonner": "^2.0.7",
|
|
100
95
|
"tailwind-merge": "^3.3.1",
|
|
101
96
|
"tailwindcss": "^4.1.15",
|
|
102
|
-
"tslib": "^2.8.1",
|
|
103
|
-
"tsup": "^8.5.0",
|
|
104
97
|
"tw-animate-css": "^1.4.0",
|
|
105
98
|
"typescript": "^5.9.3",
|
|
106
99
|
"typescript-eslint": "^8.46.2",
|
|
107
|
-
"vaul": "^1.1.2"
|
|
108
|
-
"zod": "^4.1.12"
|
|
100
|
+
"vaul": "^1.1.2"
|
|
109
101
|
},
|
|
110
102
|
"peerDependencies": {
|
|
111
|
-
"class-variance-authority": "^0.7.x",
|
|
112
103
|
"lucide-react": "^0.546.0",
|
|
104
|
+
"date-fns": "^4.x",
|
|
113
105
|
"react": "^19.x",
|
|
114
106
|
"react-dom": "^19.x",
|
|
107
|
+
"react-hook-form": "^7.x",
|
|
115
108
|
"tailwindcss": "^4.x",
|
|
116
109
|
"tw-animate-css": "^1.x"
|
|
117
110
|
},
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react';
|
|
3
|
-
import { Button } from './button';
|
|
4
|
-
type CarouselApi = UseEmblaCarouselType[1];
|
|
5
|
-
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
6
|
-
type CarouselOptions = UseCarouselParameters[0];
|
|
7
|
-
type CarouselPlugin = UseCarouselParameters[1];
|
|
8
|
-
type CarouselProps = {
|
|
9
|
-
opts?: CarouselOptions;
|
|
10
|
-
plugins?: CarouselPlugin;
|
|
11
|
-
orientation?: 'horizontal' | 'vertical';
|
|
12
|
-
setApi?: (api: CarouselApi) => void;
|
|
13
|
-
};
|
|
14
|
-
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<'div'> & CarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function CarouselContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function CarouselItem({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|