@fluid-app/ui-primitives 0.1.0 → 0.1.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/dist/index.cjs +880 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -6
- package/dist/index.d.ts +96 -6
- package/dist/index.js +834 -109
- package/dist/index.js.map +1 -1
- package/package.json +8 -3
- package/src/index.ts +68 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-app/ui-primitives",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared shadcn UI primitives for the Fluid platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"@hookform/resolvers": ">=3.0.0",
|
|
24
24
|
"react": ">=18.0.0",
|
|
25
25
|
"react-hook-form": ">=7.0.0",
|
|
26
|
+
"sonner": ">=2.0.0",
|
|
26
27
|
"zod": ">=3.0.0"
|
|
27
28
|
},
|
|
28
29
|
"peerDependenciesMeta": {
|
|
@@ -32,15 +33,19 @@
|
|
|
32
33
|
"react-hook-form": {
|
|
33
34
|
"optional": true
|
|
34
35
|
},
|
|
36
|
+
"sonner": {
|
|
37
|
+
"optional": true
|
|
38
|
+
},
|
|
35
39
|
"zod": {
|
|
36
40
|
"optional": true
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
"devDependencies": {
|
|
40
|
-
"@hookform/resolvers": "^3.
|
|
44
|
+
"@hookform/resolvers": "^3.10.0",
|
|
41
45
|
"@types/react": "^19.2.13",
|
|
42
46
|
"react": "^19.2.4",
|
|
43
|
-
"react-hook-form": "^7.
|
|
47
|
+
"react-hook-form": "^7.71.1",
|
|
48
|
+
"sonner": "^2.0.7",
|
|
44
49
|
"tsup": "^8.4.0",
|
|
45
50
|
"typescript": "^5",
|
|
46
51
|
"zod": "^3.24.2",
|
package/src/index.ts
CHANGED
|
@@ -17,6 +17,32 @@ export {
|
|
|
17
17
|
|
|
18
18
|
export { Alert, AlertDescription, AlertTitle } from "./components/Alert";
|
|
19
19
|
|
|
20
|
+
export {
|
|
21
|
+
AlertDialog,
|
|
22
|
+
AlertDialogAction,
|
|
23
|
+
AlertDialogCancel,
|
|
24
|
+
AlertDialogContent,
|
|
25
|
+
AlertDialogDescription,
|
|
26
|
+
AlertDialogFooter,
|
|
27
|
+
AlertDialogHeader,
|
|
28
|
+
AlertDialogMedia,
|
|
29
|
+
AlertDialogOverlay,
|
|
30
|
+
AlertDialogPortal,
|
|
31
|
+
AlertDialogTitle,
|
|
32
|
+
AlertDialogTrigger,
|
|
33
|
+
} from "./components/AlertDialog";
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
Avatar,
|
|
37
|
+
AvatarBadge,
|
|
38
|
+
AvatarFallback,
|
|
39
|
+
AvatarGroup,
|
|
40
|
+
AvatarGroupCount,
|
|
41
|
+
AvatarImage,
|
|
42
|
+
} from "./components/Avatar";
|
|
43
|
+
|
|
44
|
+
export { Badge, badgeVariants } from "./components/Badge";
|
|
45
|
+
|
|
20
46
|
export { Button, buttonVariants } from "./components/Button";
|
|
21
47
|
|
|
22
48
|
export { Calendar, type CalendarProps } from "./components/Calendar";
|
|
@@ -47,6 +73,8 @@ export {
|
|
|
47
73
|
CollapsibleTrigger,
|
|
48
74
|
} from "./components/Collapsible";
|
|
49
75
|
|
|
76
|
+
export { DatePicker, type DatePickerProps } from "./components/DatePicker";
|
|
77
|
+
|
|
50
78
|
export {
|
|
51
79
|
Dialog,
|
|
52
80
|
DialogClose,
|
|
@@ -78,6 +106,17 @@ export {
|
|
|
78
106
|
DropdownMenuTrigger,
|
|
79
107
|
} from "./components/DropdownMenu";
|
|
80
108
|
|
|
109
|
+
export {
|
|
110
|
+
Form,
|
|
111
|
+
FormControl,
|
|
112
|
+
FormDescription,
|
|
113
|
+
FormField,
|
|
114
|
+
FormItem,
|
|
115
|
+
FormLabel,
|
|
116
|
+
FormMessage,
|
|
117
|
+
useFormField,
|
|
118
|
+
} from "./components/Form";
|
|
119
|
+
|
|
81
120
|
export { IconButton } from "./components/IconButton";
|
|
82
121
|
|
|
83
122
|
export { IconToggle } from "./components/IconToggle";
|
|
@@ -86,6 +125,16 @@ export { Input } from "./components/Input";
|
|
|
86
125
|
|
|
87
126
|
export { Label } from "./components/Label";
|
|
88
127
|
|
|
128
|
+
export {
|
|
129
|
+
Pagination,
|
|
130
|
+
PaginationContent,
|
|
131
|
+
PaginationEllipsis,
|
|
132
|
+
PaginationItem,
|
|
133
|
+
PaginationLink,
|
|
134
|
+
PaginationNext,
|
|
135
|
+
PaginationPrevious,
|
|
136
|
+
} from "./components/Pagination";
|
|
137
|
+
|
|
89
138
|
export {
|
|
90
139
|
Popover,
|
|
91
140
|
PopoverAnchor,
|
|
@@ -96,6 +145,8 @@ export {
|
|
|
96
145
|
PopoverTrigger,
|
|
97
146
|
} from "./components/Popover";
|
|
98
147
|
|
|
148
|
+
export { RadioGroup, RadioGroupItem } from "./components/RadioGroup";
|
|
149
|
+
|
|
99
150
|
export {
|
|
100
151
|
Select,
|
|
101
152
|
SelectContent,
|
|
@@ -111,10 +162,6 @@ export {
|
|
|
111
162
|
|
|
112
163
|
export { Separator } from "./components/Separator";
|
|
113
164
|
|
|
114
|
-
export { Skeleton } from "./components/Skeleton";
|
|
115
|
-
|
|
116
|
-
export { Slider } from "./components/Slider";
|
|
117
|
-
|
|
118
165
|
export {
|
|
119
166
|
Sheet,
|
|
120
167
|
SheetClose,
|
|
@@ -128,10 +175,27 @@ export {
|
|
|
128
175
|
SheetTrigger,
|
|
129
176
|
} from "./components/Sheet";
|
|
130
177
|
|
|
178
|
+
export { Skeleton } from "./components/Skeleton";
|
|
179
|
+
|
|
180
|
+
export { Slider } from "./components/Slider";
|
|
181
|
+
|
|
182
|
+
export { Toaster } from "./components/Sonner";
|
|
183
|
+
|
|
131
184
|
export { SpinnerWithText } from "./components/SpinnerWithText";
|
|
132
185
|
|
|
133
186
|
export { Switch } from "./components/Switch";
|
|
134
187
|
|
|
188
|
+
export {
|
|
189
|
+
Table,
|
|
190
|
+
TableBody,
|
|
191
|
+
TableCaption,
|
|
192
|
+
TableCell,
|
|
193
|
+
TableFooter,
|
|
194
|
+
TableHead,
|
|
195
|
+
TableHeader,
|
|
196
|
+
TableRow,
|
|
197
|
+
} from "./components/Table";
|
|
198
|
+
|
|
135
199
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/Tabs";
|
|
136
200
|
|
|
137
201
|
export { Textarea } from "./components/Textarea";
|