@geegeez/ui 0.0.1 → 0.0.3
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 +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +32 -16
- package/dist/index.js +306 -396
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -0
- package/package.json +1 -1
- package/dist/ui.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, Var
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
export declare const badgeVariants: (props?: ({
|
|
127
|
-
variant?: "
|
|
127
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
128
128
|
} & ClassProp) | undefined) => string;
|
|
129
129
|
|
|
130
130
|
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
@@ -151,7 +151,9 @@ export declare const BreadcrumbSeparator: {
|
|
|
151
151
|
displayName: string;
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
export declare
|
|
154
|
+
export declare function Button({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
155
|
+
asChild?: boolean;
|
|
156
|
+
}): JSX.Element;
|
|
155
157
|
|
|
156
158
|
export declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): JSX.Element;
|
|
157
159
|
|
|
@@ -165,14 +167,13 @@ export declare const buttonGroupVariants: (props?: ({
|
|
|
165
167
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
166
168
|
} & ClassProp) | undefined) => string;
|
|
167
169
|
|
|
168
|
-
declare interface ButtonProps extends
|
|
170
|
+
declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
169
171
|
asChild?: boolean;
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
export declare const buttonVariants: (props?: ({
|
|
173
|
-
variant?: "
|
|
174
|
-
size?: "
|
|
175
|
-
color?: "default" | "destructive" | "warning" | "success" | null | undefined;
|
|
175
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
176
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
176
177
|
} & ClassProp) | undefined) => string;
|
|
177
178
|
|
|
178
179
|
export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & {
|
|
@@ -201,13 +202,23 @@ export declare const CarouselContent: React_2.ForwardRefExoticComponent<React_2.
|
|
|
201
202
|
|
|
202
203
|
export declare const CarouselItem: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
203
204
|
|
|
204
|
-
export declare const CarouselNext: React_2.ForwardRefExoticComponent<Omit<
|
|
205
|
+
export declare const CarouselNext: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
206
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
207
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
208
|
+
} & ClassProp) | undefined) => string> & {
|
|
209
|
+
asChild?: boolean;
|
|
210
|
+
}, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
205
211
|
|
|
206
212
|
declare type CarouselOptions = UseCarouselParameters[0];
|
|
207
213
|
|
|
208
214
|
declare type CarouselPlugin = UseCarouselParameters[1];
|
|
209
215
|
|
|
210
|
-
export declare const CarouselPrevious: React_2.ForwardRefExoticComponent<Omit<
|
|
216
|
+
export declare const CarouselPrevious: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
217
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
218
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
219
|
+
} & ClassProp) | undefined) => string> & {
|
|
220
|
+
asChild?: boolean;
|
|
221
|
+
}, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
211
222
|
|
|
212
223
|
declare type CarouselProps = {
|
|
213
224
|
opts?: CarouselOptions;
|
|
@@ -586,7 +597,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
586
597
|
export declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React_2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): JSX.Element;
|
|
587
598
|
|
|
588
599
|
declare const inputGroupButtonVariants: (props?: ({
|
|
589
|
-
size?: "
|
|
600
|
+
size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
|
|
590
601
|
} & ClassProp) | undefined) => string;
|
|
591
602
|
|
|
592
603
|
export declare function InputGroupInput({ className, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
@@ -658,7 +669,7 @@ export declare function ItemSeparator({ className, ...props }: React_2.Component
|
|
|
658
669
|
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
659
670
|
|
|
660
671
|
declare const itemVariants: (props?: ({
|
|
661
|
-
variant?: "
|
|
672
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
662
673
|
size?: "default" | "sm" | null | undefined;
|
|
663
674
|
} & ClassProp) | undefined) => string;
|
|
664
675
|
|
|
@@ -909,7 +920,7 @@ export declare const SidebarMenuButton: React_2.ForwardRefExoticComponent<Omit<R
|
|
|
909
920
|
isActive?: boolean;
|
|
910
921
|
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
911
922
|
} & VariantProps<(props?: ({
|
|
912
|
-
variant?: "
|
|
923
|
+
variant?: "default" | "outline" | null | undefined;
|
|
913
924
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
914
925
|
} & ClassProp) | undefined) => string>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
915
926
|
|
|
@@ -939,7 +950,12 @@ export declare const SidebarRail: React_2.ForwardRefExoticComponent<Omit<React_2
|
|
|
939
950
|
|
|
940
951
|
export declare const SidebarSeparator: React_2.ForwardRefExoticComponent<Omit<Omit<SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
941
952
|
|
|
942
|
-
export declare const SidebarTrigger: React_2.ForwardRefExoticComponent<Omit<
|
|
953
|
+
export declare const SidebarTrigger: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
954
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
955
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
956
|
+
} & ClassProp) | undefined) => string> & {
|
|
957
|
+
asChild?: boolean;
|
|
958
|
+
}, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
943
959
|
|
|
944
960
|
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
945
961
|
|
|
@@ -985,22 +1001,22 @@ export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
|
|
|
985
1001
|
declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
|
|
986
1002
|
|
|
987
1003
|
export declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
988
|
-
variant?: "
|
|
1004
|
+
variant?: "default" | "outline" | null | undefined;
|
|
989
1005
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
990
1006
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
991
1007
|
|
|
992
1008
|
export declare const ToggleGroup: React_2.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React_2.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React_2.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
993
|
-
variant?: "
|
|
1009
|
+
variant?: "default" | "outline" | null | undefined;
|
|
994
1010
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
995
1011
|
} & ClassProp) | undefined) => string>) & React_2.RefAttributes<HTMLDivElement>>;
|
|
996
1012
|
|
|
997
1013
|
export declare const ToggleGroupItem: React_2.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
998
|
-
variant?: "
|
|
1014
|
+
variant?: "default" | "outline" | null | undefined;
|
|
999
1015
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1000
1016
|
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1001
1017
|
|
|
1002
1018
|
export declare const toggleVariants: (props?: ({
|
|
1003
|
-
variant?: "
|
|
1019
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1004
1020
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1005
1021
|
} & ClassProp) | undefined) => string;
|
|
1006
1022
|
|