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.
@@ -1,4 +1,4 @@
1
- import React from 'react';
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
- variant?: 'default' | 'gradient' | 'minimal' | 'outline';
19
+ showContent?: boolean;
20
+ animated?: boolean;
17
21
  }
18
- export declare const CustomTabs: React.FC<CustomTabsProps>;
22
+ declare const CustomTabs: React.FC<CustomTabsProps>;
19
23
  export default CustomTabs;
@@ -1,4 +1,3 @@
1
1
  import "./index.css";
2
- export { cn } from "./lib/utils";
3
- export { default as CustomTabs } from "./components/Tabs/custom-tabs";
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.19",
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 };