buildgrid-ui 1.22.20 → 1.22.22
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/buildgrid-ui.css +1 -1
- package/dist/buildgrid-ui.es.js +4357 -4390
- package/dist/buildgrid-ui.umd.js +21 -21
- package/dist/components/tabs/tabs.d.ts +28 -7
- package/package.json +1 -1
|
@@ -1,18 +1,39 @@
|
|
|
1
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
2
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const tabsListVariants: (props?: ({
|
|
5
4
|
size?: "md" | "sm" | "lg" | "xl" | null | undefined;
|
|
5
|
+
variant?: "default" | "outline" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
declare const tabsTriggerVariants: (props?: ({
|
|
8
8
|
size?: "md" | "sm" | "lg" | "xl" | null | undefined;
|
|
9
|
+
variant?: "default" | "outline" | null | undefined;
|
|
9
10
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
|
-
export interface TabsListVariantProps extends VariantProps<typeof tabsListVariants> {
|
|
11
|
+
export interface TabsListVariantProps extends Omit<VariantProps<typeof tabsListVariants>, 'variant'> {
|
|
11
12
|
}
|
|
12
|
-
export interface TabsTriggerVariantProps extends VariantProps<typeof tabsTriggerVariants> {
|
|
13
|
+
export interface TabsTriggerVariantProps extends Omit<VariantProps<typeof tabsTriggerVariants>, 'variant'> {
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
export interface TabsVariantProps {
|
|
16
|
+
variant?: 'default' | 'outline';
|
|
17
|
+
}
|
|
18
|
+
type TabsProps = React.HTMLAttributes<HTMLDivElement> & TabsVariantProps & {
|
|
19
|
+
value?: string;
|
|
20
|
+
defaultValue?: string;
|
|
21
|
+
onValueChange?: (value: string) => void;
|
|
22
|
+
orientation?: 'horizontal' | 'vertical';
|
|
23
|
+
activationMode?: 'automatic' | 'manual';
|
|
24
|
+
dir?: 'ltr' | 'rtl';
|
|
25
|
+
};
|
|
26
|
+
type TabsContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
27
|
+
value: string;
|
|
28
|
+
forceMount?: boolean;
|
|
29
|
+
};
|
|
30
|
+
declare function Tabs({ className, value: controlledValue, defaultValue, onValueChange, orientation, activationMode: _activationMode, dir, variant, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare const TabsList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & TabsListVariantProps & {
|
|
32
|
+
loop?: boolean;
|
|
33
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "value"> & TabsTriggerVariantProps & {
|
|
35
|
+
value: string;
|
|
36
|
+
collapseLabel?: boolean;
|
|
37
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
38
|
+
declare function TabsContent({ className, value, forceMount, ...props }: TabsContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
18
39
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|