ikoncomponents 1.3.1 → 1.3.2
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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { AlignJustify } from "lucide-react";
|
|
4
|
-
import {
|
|
4
|
+
import { CustomTabs } from "../tabs";
|
|
5
5
|
import { NoDataComponent } from "../no-data";
|
|
6
6
|
import { UploadTab } from "../upload-tab";
|
|
7
7
|
import { SheetComponent } from "../sheet";
|
|
@@ -19,5 +19,5 @@ export function ActivitySheet({ activityLogs = [] }) {
|
|
|
19
19
|
tabContent: _jsx(UploadTab, {})
|
|
20
20
|
}
|
|
21
21
|
];
|
|
22
|
-
return (_jsx(SheetComponent, { buttonText: "", buttonIcon: _jsx(AlignJustify, {}), sheetTitle: "", sheetContent: _jsx(
|
|
22
|
+
return (_jsx(SheetComponent, { buttonText: "", buttonIcon: _jsx(AlignJustify, {}), sheetTitle: "", sheetContent: _jsx(CustomTabs, { tabArray: tabArray, tabListClass: '' }), closeButton: true }));
|
|
23
23
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TabProps } from "./type";
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function CustomTabs({ children, tabArray, pathName, tabListClass, tabListInnerClass, tabListButtonClass, tabContentClass, headerEndComponent, onTabChange, isSeperatePage, }: TabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import { TextButton } from "../buttons";
|
|
|
7
7
|
import { Card } from "../../shadcn/card";
|
|
8
8
|
import { useEffect, useState } from "react";
|
|
9
9
|
import { useIsMobile } from "../../hooks/use-mobile";
|
|
10
|
-
export function
|
|
10
|
+
export function CustomTabs({ children, tabArray, pathName, tabListClass = "", tabListInnerClass = "", tabListButtonClass = "", tabContentClass = "", headerEndComponent, onTabChange, isSeperatePage = false, }) {
|
|
11
11
|
var _a, _b;
|
|
12
12
|
// const pathName = usePathname();
|
|
13
13
|
const [itemToDisplay, setItemToDisplay] = useState(5);
|
package/dist/index.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export { PhoneInput } from "./ikoncomponents/phone-input";
|
|
|
74
74
|
export { SearchInput } from "./ikoncomponents/search-input";
|
|
75
75
|
export { SheetComponent } from "./ikoncomponents/sheet";
|
|
76
76
|
export { SimpleWidget } from "./ikoncomponents/simple-widget";
|
|
77
|
-
export {
|
|
77
|
+
export { CustomTabs } from "./ikoncomponents/tabs";
|
|
78
78
|
export type { TabArray, TabProps } from "./ikoncomponents/tabs/type";
|
|
79
79
|
export { ThemeToggleBtn } from "./ikoncomponents/theme-toggle-btn";
|
|
80
80
|
export { TitleProgress } from "./ikoncomponents/title-progress";
|
package/dist/index.js
CHANGED
|
@@ -68,7 +68,7 @@ export { PhoneInput } from "./ikoncomponents/phone-input";
|
|
|
68
68
|
export { SearchInput } from "./ikoncomponents/search-input";
|
|
69
69
|
export { SheetComponent } from "./ikoncomponents/sheet";
|
|
70
70
|
export { SimpleWidget } from "./ikoncomponents/simple-widget";
|
|
71
|
-
export {
|
|
71
|
+
export { CustomTabs } from "./ikoncomponents/tabs";
|
|
72
72
|
export { ThemeToggleBtn } from "./ikoncomponents/theme-toggle-btn";
|
|
73
73
|
export { TitleProgress } from "./ikoncomponents/title-progress";
|
|
74
74
|
export { TooltipComponent } from "./ikoncomponents/tooltip";
|