@imdanibytes/nexus-ui 0.2.0 → 0.4.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.d.ts +48 -3
- package/dist/index.js +5794 -4784
- package/package.json +5 -1
- package/src/styles/base.css +64 -0
- package/src/styles/fonts/Geist-Bold.woff2 +0 -0
- package/src/styles/fonts/Geist-Medium.woff2 +0 -0
- package/src/styles/fonts/Geist-Regular.woff2 +0 -0
- package/src/styles/fonts/Geist-SemiBold.woff2 +0 -0
- package/src/styles/fonts/GeistMono-Medium.woff2 +0 -0
- package/src/styles/fonts/GeistMono-Regular.woff2 +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { AlertDialog as AlertDialog_2 } from 'radix-ui';
|
|
2
|
+
import { Avatar as Avatar_2 } from 'radix-ui';
|
|
2
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
4
|
import { ClassValue } from 'clsx';
|
|
4
5
|
import { Collapsible as Collapsible_2 } from 'radix-ui';
|
|
6
|
+
import { Command as Command_2 } from 'cmdk';
|
|
5
7
|
import { Dialog as Dialog_2 } from 'radix-ui';
|
|
6
8
|
import { DropdownMenu as DropdownMenu_2 } from 'radix-ui';
|
|
7
9
|
import { JSX } from 'react/jsx-runtime';
|
|
8
10
|
import { Label as Label_2 } from 'radix-ui';
|
|
9
11
|
import { Menubar as Menubar_2 } from 'radix-ui';
|
|
12
|
+
import { Popover as Popover_2 } from 'radix-ui';
|
|
10
13
|
import * as React_2 from 'react';
|
|
11
14
|
import { ScrollArea as ScrollArea_2 } from 'radix-ui';
|
|
12
15
|
import { Select as Select_2 } from 'radix-ui';
|
|
@@ -44,6 +47,20 @@ export declare function AlertDialogTitle({ className, ...props }: React_2.Compon
|
|
|
44
47
|
|
|
45
48
|
export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialog_2.Trigger>): JSX.Element;
|
|
46
49
|
|
|
50
|
+
export declare function Avatar({ className, size, ...props }: React_2.ComponentProps<typeof Avatar_2.Root> & {
|
|
51
|
+
size?: "default" | "sm" | "lg";
|
|
52
|
+
}): JSX.Element;
|
|
53
|
+
|
|
54
|
+
export declare function AvatarBadge({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
55
|
+
|
|
56
|
+
export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof Avatar_2.Fallback>): JSX.Element;
|
|
57
|
+
|
|
58
|
+
export declare function AvatarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
59
|
+
|
|
60
|
+
export declare function AvatarGroupCount({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
61
|
+
|
|
62
|
+
export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof Avatar_2.Image>): JSX.Element;
|
|
63
|
+
|
|
47
64
|
export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
48
65
|
asChild?: boolean;
|
|
49
66
|
}): JSX.Element;
|
|
@@ -57,8 +74,8 @@ export declare function Button({ className, variant, size, asChild, ...props }:
|
|
|
57
74
|
}): JSX.Element;
|
|
58
75
|
|
|
59
76
|
export declare const buttonVariants: (props?: ({
|
|
60
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" |
|
|
61
|
-
size?: "default" | "
|
|
77
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
78
|
+
size?: "default" | "sm" | "lg" | "xs" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
62
79
|
} & ClassProp) | undefined) => string;
|
|
63
80
|
|
|
64
81
|
export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
@@ -83,6 +100,24 @@ export declare function CollapsibleContent({ ...props }: React.ComponentProps<ty
|
|
|
83
100
|
|
|
84
101
|
export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible_2.CollapsibleTrigger>): JSX.Element;
|
|
85
102
|
|
|
103
|
+
export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
|
|
104
|
+
|
|
105
|
+
export declare function CommandDialog({ children, ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
106
|
+
|
|
107
|
+
export declare function CommandEmpty({ ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
|
|
108
|
+
|
|
109
|
+
export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
|
|
110
|
+
|
|
111
|
+
export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
|
|
112
|
+
|
|
113
|
+
export declare function CommandItem({ className, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
|
|
114
|
+
|
|
115
|
+
export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
|
|
116
|
+
|
|
117
|
+
export declare function CommandSeparator({ className, ...props }: React_2.ComponentProps<typeof Command_2.Separator>): JSX.Element;
|
|
118
|
+
|
|
119
|
+
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
120
|
+
|
|
86
121
|
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
87
122
|
|
|
88
123
|
export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX.Element;
|
|
@@ -200,6 +235,14 @@ declare interface NexusProviderProps {
|
|
|
200
235
|
toaster?: boolean;
|
|
201
236
|
}
|
|
202
237
|
|
|
238
|
+
export declare function Popover({ ...props }: React_2.ComponentProps<typeof Popover_2.Root>): JSX.Element;
|
|
239
|
+
|
|
240
|
+
export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeof Popover_2.Anchor>): JSX.Element;
|
|
241
|
+
|
|
242
|
+
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof Popover_2.Content>): JSX.Element;
|
|
243
|
+
|
|
244
|
+
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof Popover_2.Trigger>): JSX.Element;
|
|
245
|
+
|
|
203
246
|
export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollArea_2.Root>): JSX.Element;
|
|
204
247
|
|
|
205
248
|
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollArea_2.ScrollAreaScrollbar>): JSX.Element;
|
|
@@ -346,11 +389,13 @@ export declare function TabsContent({ className, ...props }: React_2.ComponentPr
|
|
|
346
389
|
export declare function TabsList({ className, variant, ...props }: React_2.ComponentProps<typeof Tabs_2.List> & VariantProps<typeof tabsListVariants>): JSX.Element;
|
|
347
390
|
|
|
348
391
|
export declare const tabsListVariants: (props?: ({
|
|
349
|
-
variant?: "
|
|
392
|
+
variant?: "line" | "default" | null | undefined;
|
|
350
393
|
} & ClassProp) | undefined) => string;
|
|
351
394
|
|
|
352
395
|
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Trigger>): JSX.Element;
|
|
353
396
|
|
|
397
|
+
export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
398
|
+
|
|
354
399
|
export { toast }
|
|
355
400
|
|
|
356
401
|
export declare function Toaster({ ...props }: ToasterProps): JSX.Element;
|