@fluid-app/ui-primitives 0.1.1 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/ui-primitives",
3
- "version": "0.1.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.9.1",
44
+ "@hookform/resolvers": "^3.10.0",
41
45
  "@types/react": "^19.2.13",
42
46
  "react": "^19.2.4",
43
- "react-hook-form": "^7.54.2",
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,21 @@ 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
+
20
35
  export {
21
36
  Avatar,
22
37
  AvatarBadge,
@@ -58,6 +73,8 @@ export {
58
73
  CollapsibleTrigger,
59
74
  } from "./components/Collapsible";
60
75
 
76
+ export { DatePicker, type DatePickerProps } from "./components/DatePicker";
77
+
61
78
  export {
62
79
  Dialog,
63
80
  DialogClose,
@@ -89,6 +106,17 @@ export {
89
106
  DropdownMenuTrigger,
90
107
  } from "./components/DropdownMenu";
91
108
 
109
+ export {
110
+ Form,
111
+ FormControl,
112
+ FormDescription,
113
+ FormField,
114
+ FormItem,
115
+ FormLabel,
116
+ FormMessage,
117
+ useFormField,
118
+ } from "./components/Form";
119
+
92
120
  export { IconButton } from "./components/IconButton";
93
121
 
94
122
  export { IconToggle } from "./components/IconToggle";
@@ -97,6 +125,16 @@ export { Input } from "./components/Input";
97
125
 
98
126
  export { Label } from "./components/Label";
99
127
 
128
+ export {
129
+ Pagination,
130
+ PaginationContent,
131
+ PaginationEllipsis,
132
+ PaginationItem,
133
+ PaginationLink,
134
+ PaginationNext,
135
+ PaginationPrevious,
136
+ } from "./components/Pagination";
137
+
100
138
  export {
101
139
  Popover,
102
140
  PopoverAnchor,
@@ -124,10 +162,6 @@ export {
124
162
 
125
163
  export { Separator } from "./components/Separator";
126
164
 
127
- export { Skeleton } from "./components/Skeleton";
128
-
129
- export { Slider } from "./components/Slider";
130
-
131
165
  export {
132
166
  Sheet,
133
167
  SheetClose,
@@ -141,6 +175,12 @@ export {
141
175
  SheetTrigger,
142
176
  } from "./components/Sheet";
143
177
 
178
+ export { Skeleton } from "./components/Skeleton";
179
+
180
+ export { Slider } from "./components/Slider";
181
+
182
+ export { Toaster } from "./components/Sonner";
183
+
144
184
  export { SpinnerWithText } from "./components/SpinnerWithText";
145
185
 
146
186
  export { Switch } from "./components/Switch";