@reeverdev/ui 0.1.42 → 0.1.43
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -9
- package/dist/index.d.ts +38 -9
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -200,7 +200,13 @@ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive
|
|
|
200
200
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
201
201
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
type TabsVariant = "solid" | "underline" | "outline";
|
|
204
|
+
type TabsRadius = "none" | "sm" | "md" | "lg" | "full";
|
|
205
|
+
interface TabsProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
206
|
+
variant?: TabsVariant;
|
|
207
|
+
radius?: TabsRadius;
|
|
208
|
+
}
|
|
209
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
210
|
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
205
211
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
206
212
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -791,6 +797,29 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
791
797
|
* Toggle functionality still works.
|
|
792
798
|
*/
|
|
793
799
|
embedded?: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* When true, sidebar can be resized by dragging its edge.
|
|
802
|
+
*/
|
|
803
|
+
resizable?: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Minimum width in pixels when resizable is true.
|
|
806
|
+
* @default 200
|
|
807
|
+
*/
|
|
808
|
+
minWidth?: number;
|
|
809
|
+
/**
|
|
810
|
+
* Maximum width in pixels when resizable is true.
|
|
811
|
+
* @default 480
|
|
812
|
+
*/
|
|
813
|
+
maxWidth?: number;
|
|
814
|
+
/**
|
|
815
|
+
* Default width in pixels when resizable is true.
|
|
816
|
+
* @default 256 (16rem)
|
|
817
|
+
*/
|
|
818
|
+
defaultWidth?: number;
|
|
819
|
+
/**
|
|
820
|
+
* Callback when width changes during resize.
|
|
821
|
+
*/
|
|
822
|
+
onWidthChange?: (width: number) => void;
|
|
794
823
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
795
824
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
796
825
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3248,7 +3277,7 @@ declare const flexVariants: (props?: ({
|
|
|
3248
3277
|
align?: "stretch" | "center" | "end" | "start" | "baseline" | null | undefined;
|
|
3249
3278
|
justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
3250
3279
|
wrap?: "nowrap" | "wrap" | "wrap-reverse" | null | undefined;
|
|
3251
|
-
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3280
|
+
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3252
3281
|
inline?: boolean | null | undefined;
|
|
3253
3282
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3254
3283
|
interface FlexProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
|
|
@@ -3261,11 +3290,11 @@ declare const VStack: React$1.ForwardRefExoticComponent<Omit<FlexProps, "directi
|
|
|
3261
3290
|
declare const Center: React$1.ForwardRefExoticComponent<Omit<FlexProps, "justify" | "align"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3262
3291
|
|
|
3263
3292
|
declare const gridVariants: (props?: ({
|
|
3264
|
-
columns?: 1 | "none" | "auto" | 2 | 4 | 3 | 5 | 6 | 7 |
|
|
3293
|
+
columns?: 1 | "none" | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null | undefined;
|
|
3265
3294
|
rows?: 1 | "none" | 2 | 4 | 3 | 5 | 6 | null | undefined;
|
|
3266
|
-
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3267
|
-
gapX?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3268
|
-
gapY?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3295
|
+
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3296
|
+
gapX?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3297
|
+
gapY?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3269
3298
|
flow?: "row" | "dense" | "col" | "row-dense" | "col-dense" | null | undefined;
|
|
3270
3299
|
align?: "stretch" | "center" | "end" | "start" | "baseline" | null | undefined;
|
|
3271
3300
|
justify?: "stretch" | "center" | "end" | "start" | null | undefined;
|
|
@@ -3279,10 +3308,10 @@ interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
|
|
|
3279
3308
|
}
|
|
3280
3309
|
declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3281
3310
|
declare const gridItemVariants: (props?: ({
|
|
3282
|
-
colSpan?: 1 | 2 | "full" | 4 | 3 | 5 | 6 | 7 |
|
|
3311
|
+
colSpan?: 1 | 2 | "full" | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null | undefined;
|
|
3283
3312
|
rowSpan?: 1 | 2 | "full" | 4 | 3 | 5 | 6 | null | undefined;
|
|
3284
|
-
colStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 |
|
|
3285
|
-
colEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 |
|
|
3313
|
+
colStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | null | undefined;
|
|
3314
|
+
colEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | null | undefined;
|
|
3286
3315
|
rowStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
|
|
3287
3316
|
rowEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
|
|
3288
3317
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -200,7 +200,13 @@ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive
|
|
|
200
200
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
201
201
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
type TabsVariant = "solid" | "underline" | "outline";
|
|
204
|
+
type TabsRadius = "none" | "sm" | "md" | "lg" | "full";
|
|
205
|
+
interface TabsProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
206
|
+
variant?: TabsVariant;
|
|
207
|
+
radius?: TabsRadius;
|
|
208
|
+
}
|
|
209
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
210
|
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
205
211
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
206
212
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -791,6 +797,29 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
791
797
|
* Toggle functionality still works.
|
|
792
798
|
*/
|
|
793
799
|
embedded?: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* When true, sidebar can be resized by dragging its edge.
|
|
802
|
+
*/
|
|
803
|
+
resizable?: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Minimum width in pixels when resizable is true.
|
|
806
|
+
* @default 200
|
|
807
|
+
*/
|
|
808
|
+
minWidth?: number;
|
|
809
|
+
/**
|
|
810
|
+
* Maximum width in pixels when resizable is true.
|
|
811
|
+
* @default 480
|
|
812
|
+
*/
|
|
813
|
+
maxWidth?: number;
|
|
814
|
+
/**
|
|
815
|
+
* Default width in pixels when resizable is true.
|
|
816
|
+
* @default 256 (16rem)
|
|
817
|
+
*/
|
|
818
|
+
defaultWidth?: number;
|
|
819
|
+
/**
|
|
820
|
+
* Callback when width changes during resize.
|
|
821
|
+
*/
|
|
822
|
+
onWidthChange?: (width: number) => void;
|
|
794
823
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
795
824
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
796
825
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3248,7 +3277,7 @@ declare const flexVariants: (props?: ({
|
|
|
3248
3277
|
align?: "stretch" | "center" | "end" | "start" | "baseline" | null | undefined;
|
|
3249
3278
|
justify?: "center" | "end" | "start" | "between" | "around" | "evenly" | null | undefined;
|
|
3250
3279
|
wrap?: "nowrap" | "wrap" | "wrap-reverse" | null | undefined;
|
|
3251
|
-
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3280
|
+
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3252
3281
|
inline?: boolean | null | undefined;
|
|
3253
3282
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3254
3283
|
interface FlexProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof flexVariants> {
|
|
@@ -3261,11 +3290,11 @@ declare const VStack: React$1.ForwardRefExoticComponent<Omit<FlexProps, "directi
|
|
|
3261
3290
|
declare const Center: React$1.ForwardRefExoticComponent<Omit<FlexProps, "justify" | "align"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3262
3291
|
|
|
3263
3292
|
declare const gridVariants: (props?: ({
|
|
3264
|
-
columns?: 1 | "none" | "auto" | 2 | 4 | 3 | 5 | 6 | 7 |
|
|
3293
|
+
columns?: 1 | "none" | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null | undefined;
|
|
3265
3294
|
rows?: 1 | "none" | 2 | 4 | 3 | 5 | 6 | null | undefined;
|
|
3266
|
-
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3267
|
-
gapX?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3268
|
-
gapY?: 0 | 1 | 2 | 4 | 3 | 5 | 6 |
|
|
3295
|
+
gap?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3296
|
+
gapX?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3297
|
+
gapY?: 0 | 1 | 2 | 4 | 3 | 5 | 6 | 8 | 10 | 12 | null | undefined;
|
|
3269
3298
|
flow?: "row" | "dense" | "col" | "row-dense" | "col-dense" | null | undefined;
|
|
3270
3299
|
align?: "stretch" | "center" | "end" | "start" | "baseline" | null | undefined;
|
|
3271
3300
|
justify?: "stretch" | "center" | "end" | "start" | null | undefined;
|
|
@@ -3279,10 +3308,10 @@ interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
|
|
|
3279
3308
|
}
|
|
3280
3309
|
declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3281
3310
|
declare const gridItemVariants: (props?: ({
|
|
3282
|
-
colSpan?: 1 | 2 | "full" | 4 | 3 | 5 | 6 | 7 |
|
|
3311
|
+
colSpan?: 1 | 2 | "full" | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null | undefined;
|
|
3283
3312
|
rowSpan?: 1 | 2 | "full" | 4 | 3 | 5 | 6 | null | undefined;
|
|
3284
|
-
colStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 |
|
|
3285
|
-
colEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 |
|
|
3313
|
+
colStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | null | undefined;
|
|
3314
|
+
colEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | null | undefined;
|
|
3286
3315
|
rowStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
|
|
3287
3316
|
rowEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
|
|
3288
3317
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|