@rafal.lemieszewski/tide-ui 0.30.1 → 0.31.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/components/ui/tabs.d.ts +5 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6471 -6403
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -2,10 +2,14 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
declare const tabsListVariants: (props?: ({
|
|
5
|
+
variant?: "line" | "pill" | null | undefined;
|
|
5
6
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
fullWidth?: boolean | null | undefined;
|
|
6
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
9
|
declare const tabsTriggerVariants: (props?: ({
|
|
10
|
+
variant?: "line" | "pill" | null | undefined;
|
|
8
11
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
12
|
+
fullWidth?: boolean | null | undefined;
|
|
9
13
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
14
|
interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
11
15
|
}
|
|
@@ -14,6 +18,7 @@ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
14
18
|
}
|
|
15
19
|
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
20
|
interface TabsTriggerProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof tabsTriggerVariants> {
|
|
21
|
+
icon?: React.ReactNode;
|
|
17
22
|
}
|
|
18
23
|
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
24
|
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|