@6thbridge/hexa 0.0.0-pr41-34 → 0.0.0-pr41-38

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 CHANGED
@@ -373,7 +373,7 @@ type SidebarProps = {
373
373
  isMobile: boolean;
374
374
  businessProps: BusinessProps;
375
375
  currentPath: string;
376
- onNavigate?: (path: string) => void;
376
+ onNavigate: (path: string) => void;
377
377
  appConfig?: IAppConfig & {
378
378
  [key: string]: unknown;
379
379
  };
@@ -381,11 +381,6 @@ 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;
389
384
  };
390
385
  interface IAppConfig {
391
386
  appName: string;
@@ -393,7 +388,7 @@ interface IAppConfig {
393
388
  }
394
389
  type CollapseType = "icons" | "hidden";
395
390
 
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;
391
+ declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => react_jsx_runtime.JSX.Element;
397
392
 
398
393
  type Variant = "success" | "failed" | "pending" | "abandoned";
399
394
  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?: (path: string) => void;
376
+ onNavigate: (path: string) => void;
377
377
  appConfig?: IAppConfig & {
378
378
  [key: string]: unknown;
379
379
  };
@@ -381,11 +381,6 @@ 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;
389
384
  };
390
385
  interface IAppConfig {
391
386
  appName: string;
@@ -393,7 +388,7 @@ interface IAppConfig {
393
388
  }
394
389
  type CollapseType = "icons" | "hidden";
395
390
 
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;
391
+ declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => react_jsx_runtime.JSX.Element;
397
392
 
398
393
  type Variant = "success" | "failed" | "pending" | "abandoned";
399
394
  declare const Status: ({ status, variant, className, }: {