@blips/ui 0.0.1 → 2.0.0
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 +4308 -2010
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +435 -411
- package/dist/index.d.ts +435 -411
- package/dist/index.js +4244 -2008
- package/dist/index.js.map +1 -1
- package/package.json +18 -4
- package/src/components/accordion.tsx +58 -48
- package/src/components/alert-dialog.tsx +170 -112
- package/src/components/alert.tsx +49 -42
- package/src/components/aspect-ratio.tsx +9 -3
- package/src/components/avatar.tsx +109 -50
- package/src/components/badge.tsx +29 -17
- package/src/components/breadcrumb.tsx +81 -87
- package/src/components/button-group.tsx +83 -0
- package/src/components/button.tsx +40 -32
- package/src/components/calendar.tsx +49 -45
- package/src/components/card.tsx +77 -71
- package/src/components/carousel.tsx +150 -168
- package/src/components/chart.tsx +357 -0
- package/src/components/checkbox.tsx +28 -24
- package/src/components/collapsible.tsx +28 -6
- package/src/components/command.tsx +144 -110
- package/src/components/context-menu.tsx +220 -166
- package/src/components/dialog.tsx +131 -95
- package/src/components/drawer.tsx +105 -86
- package/src/components/dropdown-menu.tsx +234 -177
- package/src/components/form.tsx +167 -0
- package/src/components/hover-card.tsx +39 -22
- package/src/components/input-group.tsx +175 -0
- package/src/components/input-otp.tsx +56 -48
- package/src/components/input.tsx +18 -19
- package/src/components/kbd.tsx +28 -0
- package/src/components/label.tsx +20 -22
- package/src/components/menubar.tsx +221 -199
- package/src/components/navigation-menu.tsx +144 -102
- package/src/components/pagination.tsx +102 -91
- package/src/components/popover.tsx +86 -26
- package/src/components/progress.tsx +27 -24
- package/src/components/radio-group.tsx +28 -25
- package/src/components/resizable.tsx +42 -34
- package/src/components/scroll-area.tsx +54 -42
- package/src/components/select.tsx +165 -135
- package/src/components/separator.tsx +16 -17
- package/src/components/sheet.tsx +116 -113
- package/src/components/sidebar.tsx +726 -0
- package/src/components/skeleton.tsx +6 -8
- package/src/components/slider.tsx +60 -23
- package/src/components/sonner.tsx +25 -30
- package/src/components/spinner.tsx +16 -0
- package/src/components/switch.tsx +30 -22
- package/src/components/table.tsx +96 -97
- package/src/components/tabs.tsx +91 -53
- package/src/components/textarea.tsx +8 -12
- package/src/components/toggle-group.tsx +60 -37
- package/src/components/toggle.tsx +28 -24
- package/src/components/tooltip.tsx +50 -23
- package/src/globals.css +230 -68
- package/src/hooks/use-mobile.tsx +19 -0
- package/src/index.ts +105 -6
package/src/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export {
|
|
|
18
18
|
AlertDialogDescription,
|
|
19
19
|
AlertDialogFooter,
|
|
20
20
|
AlertDialogHeader,
|
|
21
|
+
AlertDialogMedia,
|
|
21
22
|
AlertDialogOverlay,
|
|
22
23
|
AlertDialogPortal,
|
|
23
24
|
AlertDialogTitle,
|
|
@@ -28,7 +29,14 @@ export {
|
|
|
28
29
|
export { AspectRatio } from "./components/aspect-ratio";
|
|
29
30
|
|
|
30
31
|
// Avatar
|
|
31
|
-
export {
|
|
32
|
+
export {
|
|
33
|
+
Avatar,
|
|
34
|
+
AvatarBadge,
|
|
35
|
+
AvatarFallback,
|
|
36
|
+
AvatarGroup,
|
|
37
|
+
AvatarGroupCount,
|
|
38
|
+
AvatarImage,
|
|
39
|
+
} from "./components/avatar";
|
|
32
40
|
|
|
33
41
|
// Badge
|
|
34
42
|
export { Badge, badgeVariants } from "./components/badge";
|
|
@@ -45,7 +53,7 @@ export {
|
|
|
45
53
|
} from "./components/breadcrumb";
|
|
46
54
|
|
|
47
55
|
// Button
|
|
48
|
-
export { Button,
|
|
56
|
+
export { Button, buttonVariants } from "./components/button";
|
|
49
57
|
|
|
50
58
|
// Calendar
|
|
51
59
|
export { Calendar, CalendarDayButton } from "./components/calendar";
|
|
@@ -53,6 +61,7 @@ export { Calendar, CalendarDayButton } from "./components/calendar";
|
|
|
53
61
|
// Card
|
|
54
62
|
export {
|
|
55
63
|
Card,
|
|
64
|
+
CardAction,
|
|
56
65
|
CardContent,
|
|
57
66
|
CardDescription,
|
|
58
67
|
CardFooter,
|
|
@@ -225,7 +234,15 @@ export {
|
|
|
225
234
|
} from "./components/pagination";
|
|
226
235
|
|
|
227
236
|
// Popover
|
|
228
|
-
export {
|
|
237
|
+
export {
|
|
238
|
+
Popover,
|
|
239
|
+
PopoverAnchor,
|
|
240
|
+
PopoverContent,
|
|
241
|
+
PopoverDescription,
|
|
242
|
+
PopoverHeader,
|
|
243
|
+
PopoverTitle,
|
|
244
|
+
PopoverTrigger,
|
|
245
|
+
} from "./components/popover";
|
|
229
246
|
|
|
230
247
|
// Progress
|
|
231
248
|
export { Progress } from "./components/progress";
|
|
@@ -268,8 +285,6 @@ export {
|
|
|
268
285
|
SheetDescription,
|
|
269
286
|
SheetFooter,
|
|
270
287
|
SheetHeader,
|
|
271
|
-
SheetOverlay,
|
|
272
|
-
SheetPortal,
|
|
273
288
|
SheetTitle,
|
|
274
289
|
SheetTrigger,
|
|
275
290
|
} from "./components/sheet";
|
|
@@ -299,7 +314,13 @@ export {
|
|
|
299
314
|
} from "./components/table";
|
|
300
315
|
|
|
301
316
|
// Tabs
|
|
302
|
-
export {
|
|
317
|
+
export {
|
|
318
|
+
Tabs,
|
|
319
|
+
TabsContent,
|
|
320
|
+
TabsList,
|
|
321
|
+
TabsTrigger,
|
|
322
|
+
tabsListVariants,
|
|
323
|
+
} from "./components/tabs";
|
|
303
324
|
|
|
304
325
|
// Textarea
|
|
305
326
|
export { Textarea } from "./components/textarea";
|
|
@@ -318,5 +339,83 @@ export {
|
|
|
318
339
|
TooltipTrigger,
|
|
319
340
|
} from "./components/tooltip";
|
|
320
341
|
|
|
342
|
+
// Button Group
|
|
343
|
+
export {
|
|
344
|
+
ButtonGroup,
|
|
345
|
+
ButtonGroupSeparator,
|
|
346
|
+
ButtonGroupText,
|
|
347
|
+
buttonGroupVariants,
|
|
348
|
+
} from "./components/button-group";
|
|
349
|
+
|
|
350
|
+
// Chart
|
|
351
|
+
export {
|
|
352
|
+
ChartContainer,
|
|
353
|
+
ChartLegend,
|
|
354
|
+
ChartLegendContent,
|
|
355
|
+
ChartStyle,
|
|
356
|
+
ChartTooltip,
|
|
357
|
+
ChartTooltipContent,
|
|
358
|
+
type ChartConfig,
|
|
359
|
+
} from "./components/chart";
|
|
360
|
+
|
|
361
|
+
// Form
|
|
362
|
+
export {
|
|
363
|
+
Form,
|
|
364
|
+
FormControl,
|
|
365
|
+
FormDescription,
|
|
366
|
+
FormField,
|
|
367
|
+
FormItem,
|
|
368
|
+
FormLabel,
|
|
369
|
+
FormMessage,
|
|
370
|
+
useFormField,
|
|
371
|
+
} from "./components/form";
|
|
372
|
+
|
|
373
|
+
// Input Group
|
|
374
|
+
export {
|
|
375
|
+
InputGroup,
|
|
376
|
+
InputGroupAddon,
|
|
377
|
+
InputGroupButton,
|
|
378
|
+
InputGroupInput,
|
|
379
|
+
InputGroupText,
|
|
380
|
+
InputGroupTextarea,
|
|
381
|
+
} from "./components/input-group";
|
|
382
|
+
|
|
383
|
+
// Kbd
|
|
384
|
+
export { Kbd, KbdGroup } from "./components/kbd";
|
|
385
|
+
|
|
386
|
+
// Sidebar
|
|
387
|
+
export {
|
|
388
|
+
Sidebar,
|
|
389
|
+
SidebarContent,
|
|
390
|
+
SidebarFooter,
|
|
391
|
+
SidebarGroup,
|
|
392
|
+
SidebarGroupAction,
|
|
393
|
+
SidebarGroupContent,
|
|
394
|
+
SidebarGroupLabel,
|
|
395
|
+
SidebarHeader,
|
|
396
|
+
SidebarInput,
|
|
397
|
+
SidebarInset,
|
|
398
|
+
SidebarMenu,
|
|
399
|
+
SidebarMenuAction,
|
|
400
|
+
SidebarMenuBadge,
|
|
401
|
+
SidebarMenuButton,
|
|
402
|
+
SidebarMenuItem,
|
|
403
|
+
SidebarMenuSkeleton,
|
|
404
|
+
SidebarMenuSub,
|
|
405
|
+
SidebarMenuSubButton,
|
|
406
|
+
SidebarMenuSubItem,
|
|
407
|
+
SidebarProvider,
|
|
408
|
+
SidebarRail,
|
|
409
|
+
SidebarSeparator,
|
|
410
|
+
SidebarTrigger,
|
|
411
|
+
useSidebar,
|
|
412
|
+
} from "./components/sidebar";
|
|
413
|
+
|
|
414
|
+
// Spinner
|
|
415
|
+
export { Spinner } from "./components/spinner";
|
|
416
|
+
|
|
417
|
+
// Hooks
|
|
418
|
+
export { useIsMobile } from "./hooks/use-mobile";
|
|
419
|
+
|
|
321
420
|
// Utilities
|
|
322
421
|
export { cn } from "./lib/utils";
|