aravint-ui-navigation 1.0.19 → 1.0.21
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/navigation.cjs.js +75 -4
- package/dist/navigation.css +1 -1
- package/dist/navigation.es.js +202 -4625
- package/dist/types/components/{Tabs/custom-tabs.d.ts → CustomTabs.d.ts} +7 -3
- package/dist/types/index.d.ts +2 -3
- package/package.json +1 -3
- package/dist/types/components/ui/tabs.d.ts +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
export interface TabItem {
|
|
3
3
|
id: string;
|
|
4
4
|
label: string;
|
|
@@ -12,8 +12,12 @@ export interface CustomTabsProps {
|
|
|
12
12
|
value?: string;
|
|
13
13
|
onValueChange?: (value: string) => void;
|
|
14
14
|
className?: string;
|
|
15
|
+
tabListClassName?: string;
|
|
16
|
+
tabButtonClassName?: string;
|
|
17
|
+
contentClassName?: string;
|
|
15
18
|
showTabNumbers?: boolean;
|
|
16
|
-
|
|
19
|
+
showContent?: boolean;
|
|
20
|
+
animated?: boolean;
|
|
17
21
|
}
|
|
18
|
-
|
|
22
|
+
declare const CustomTabs: React.FC<CustomTabsProps>;
|
|
19
23
|
export default CustomTabs;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export type { TabItem, CustomTabsProps, } from "./components/Tabs/custom-tabs";
|
|
2
|
+
export { default as CustomTabs } from "./components/CustomTabs";
|
|
3
|
+
export type { TabItem, CustomTabsProps, } from "./components/CustomTabs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aravint-ui-navigation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"main": "dist/navigation.cjs.js",
|
|
5
5
|
"module": "dist/navigation.es.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -40,8 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@base-ui/react": "^1.6.0",
|
|
43
|
-
"@radix-ui/react-select": "^2.2.6",
|
|
44
|
-
"@radix-ui/react-tooltip": "^1.2.8",
|
|
45
43
|
"class-variance-authority": "^0.7.0",
|
|
46
44
|
"clsx": "2.1.1",
|
|
47
45
|
"lucide-react": "^1.16.0",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from "react";
|
|
2
|
-
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
3
|
-
import { type VariantProps } from "class-variance-authority";
|
|
4
|
-
declare function Tabs({ className, orientation, ...props }: TabsPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const tabsListVariants: (props?: ({
|
|
6
|
-
variant?: "line" | "default" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
-
declare function TabsList({ className, variant, ...props }: TabsPrimitive.List.Props & VariantProps<typeof tabsListVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
type TabsTriggerProps = TabsPrimitive.Tab.Props & {
|
|
10
|
-
activeStyle?: CSSProperties;
|
|
11
|
-
};
|
|
12
|
-
declare function TabsTrigger({ className, style, activeStyle, ...props }: TabsTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function TabsContent({ className, ...props }: TabsPrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };
|