@6thbridge/hexa 0.0.0-pr40-33 → 0.0.0-pr41-34
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/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
@@ -373,7 +373,7 @@ type SidebarProps = {
|
|
373
373
|
isMobile: boolean;
|
374
374
|
businessProps: BusinessProps;
|
375
375
|
currentPath: string;
|
376
|
-
onNavigate
|
376
|
+
onNavigate?: (path: string) => void;
|
377
377
|
appConfig?: IAppConfig & {
|
378
378
|
[key: string]: unknown;
|
379
379
|
};
|
@@ -381,6 +381,11 @@ type SidebarProps = {
|
|
381
381
|
openSidebarIcon?: ReactNode;
|
382
382
|
closedSidebarIcon?: ReactNode;
|
383
383
|
nodeAfterSideBarLogo?: ReactNode;
|
384
|
+
LinkComponent?: React.ComponentType<{
|
385
|
+
href: string;
|
386
|
+
children: React.ReactNode;
|
387
|
+
className?: string;
|
388
|
+
}> | any;
|
384
389
|
};
|
385
390
|
interface IAppConfig {
|
386
391
|
appName: string;
|
@@ -388,7 +393,7 @@ interface IAppConfig {
|
|
388
393
|
}
|
389
394
|
type CollapseType = "icons" | "hidden";
|
390
395
|
|
391
|
-
declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
396
|
+
declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, LinkComponent, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
392
397
|
|
393
398
|
type Variant = "success" | "failed" | "pending" | "abandoned";
|
394
399
|
declare const Status: ({ status, variant, className, }: {
|
package/dist/index.d.ts
CHANGED
@@ -373,7 +373,7 @@ type SidebarProps = {
|
|
373
373
|
isMobile: boolean;
|
374
374
|
businessProps: BusinessProps;
|
375
375
|
currentPath: string;
|
376
|
-
onNavigate
|
376
|
+
onNavigate?: (path: string) => void;
|
377
377
|
appConfig?: IAppConfig & {
|
378
378
|
[key: string]: unknown;
|
379
379
|
};
|
@@ -381,6 +381,11 @@ type SidebarProps = {
|
|
381
381
|
openSidebarIcon?: ReactNode;
|
382
382
|
closedSidebarIcon?: ReactNode;
|
383
383
|
nodeAfterSideBarLogo?: ReactNode;
|
384
|
+
LinkComponent?: React.ComponentType<{
|
385
|
+
href: string;
|
386
|
+
children: React.ReactNode;
|
387
|
+
className?: string;
|
388
|
+
}> | any;
|
384
389
|
};
|
385
390
|
interface IAppConfig {
|
386
391
|
appName: string;
|
@@ -388,7 +393,7 @@ interface IAppConfig {
|
|
388
393
|
}
|
389
394
|
type CollapseType = "icons" | "hidden";
|
390
395
|
|
391
|
-
declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
396
|
+
declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, LinkComponent, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
392
397
|
|
393
398
|
type Variant = "success" | "failed" | "pending" | "abandoned";
|
394
399
|
declare const Status: ({ status, variant, className, }: {
|