sevago-sso-fe 1.0.22 → 1.0.24

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,3 +1,2 @@
1
1
  export { AuthLayout } from './auth.layout';
2
- export { DashboardLayout } from './dashboard.layout';
3
2
  export { DefaultLayout } from './default.layout';
@@ -1,4 +1,3 @@
1
1
  export { DashboardPage } from './dashboard.page';
2
2
  export * from './parts';
3
3
  export * from './screen';
4
- export * from './sidebar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sevago-sso-fe",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Sevago SSO Frontend Library - A comprehensive SSO solution with React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,5 +0,0 @@
1
- import { default as React, ReactNode } from 'react';
2
- export interface DashboardLayoutProps {
3
- children?: ReactNode;
4
- }
5
- export declare const DashboardLayout: React.FC<DashboardLayoutProps>;
@@ -1,6 +0,0 @@
1
- export { SidebarLeftPart } from './sidebar-left.part';
2
- export * from './sidebar-menu';
3
- export { DASHBOARD_HR_SIDEBAR, DASHBOARD_HRM_SIDEBAR, DASHBOARD_TREE_SYSTEM_SIDEBAR, } from './sidebar.constant';
4
- export { SidebarContext } from './sidebar.context';
5
- export { SidebarPart } from './sidebar.part';
6
- export { SidebarProvider } from './sidebar.provider';
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface SidebarLeftPartProps {
3
- autoCollapse?: boolean;
4
- }
5
- export declare const SidebarLeftPart: React.FC<SidebarLeftPartProps>;
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AppModule } from '../../../../common';
3
- interface ExpandMenuProps {
4
- item: AppModule;
5
- onItemClick: (path?: string) => void;
6
- isItemActive: (item: AppModule) => boolean;
7
- }
8
- export declare const ExpandMenuItem: React.FC<ExpandMenuProps>;
9
- export {};
@@ -1,6 +0,0 @@
1
- export { ExpandMenuItem } from './expand-menu-item.component';
2
- export { MenuItem } from './menu-item.component';
3
- export { menuItemStyles } from './menu-styles';
4
- export { SidebarMenuExpand } from './sidebar-menu-expand.component';
5
- export { SidebarMenu } from './sidebar-menu.component';
6
- export { SubmenuList } from './submenu-list.component';
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AppModule } from '../../../../common';
3
- interface MenuItemProps {
4
- item: AppModule;
5
- isSelected: boolean;
6
- isExpanded?: boolean;
7
- onClick: () => void;
8
- }
9
- export declare const MenuItem: React.FC<MenuItemProps>;
10
- export {};
@@ -1,42 +0,0 @@
1
- import { Theme } from '@mui/material';
2
- export declare const menuItemStyles: {
3
- listItem: (isSelected: boolean) => {
4
- marginY: string;
5
- gap: string;
6
- cursor: string;
7
- borderRadius: string;
8
- backgroundColor: string;
9
- padding: string;
10
- overflow: string;
11
- "&:hover": {
12
- backgroundColor: string;
13
- };
14
- };
15
- submenuItem: {
16
- marginY: string;
17
- gap: string;
18
- cursor: string;
19
- borderRadius: string;
20
- padding: string;
21
- overflow: string;
22
- "&:hover": {
23
- backgroundColor: string;
24
- };
25
- };
26
- expandMenuTypography: (theme: Theme, isActive: boolean) => {
27
- position: string;
28
- display: string;
29
- color: string;
30
- fontWeight: string | number;
31
- lineHeight: string;
32
- "&:hover": {
33
- color: string;
34
- };
35
- };
36
- iconExpandMenu: (isExpanded: boolean | undefined) => {
37
- transition: string;
38
- transform: string;
39
- display: string;
40
- alignItems: string;
41
- };
42
- };
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AppModule } from '../../../../common';
3
- interface SidebarMenuExpandProps {
4
- items: AppModule[];
5
- }
6
- export declare const SidebarMenuExpand: React.FC<SidebarMenuExpandProps>;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AppModule } from '../../../../common';
3
- interface SidebarMenuProps {
4
- items: AppModule[];
5
- }
6
- export declare const SidebarMenu: React.FC<SidebarMenuProps>;
7
- export {};
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AppModule } from '../../../../common';
3
- interface SubmenuListProps {
4
- items: AppModule[];
5
- isExpanded: boolean;
6
- isItemSelected: (item: AppModule) => boolean;
7
- onItemClick: (item: AppModule) => void;
8
- }
9
- export declare const SubmenuList: React.FC<SubmenuListProps>;
10
- export {};
@@ -1,112 +0,0 @@
1
- import { AppCategory, AppType } from '../../../common';
2
- export declare const DASHBOARD_HR_SIDEBAR: ({
3
- key: string;
4
- title: string;
5
- caption: string;
6
- icon: string;
7
- path: string;
8
- category: AppCategory;
9
- allowUserTypes: import('../../..').UserType[];
10
- type?: undefined;
11
- children?: undefined;
12
- } | {
13
- key: string;
14
- title: string;
15
- caption: string;
16
- icon: string;
17
- category: AppCategory;
18
- allowUserTypes: import('../../..').UserType[];
19
- type: AppType;
20
- children: {
21
- key: string;
22
- title: string;
23
- caption: string;
24
- icon: string;
25
- category: AppCategory;
26
- allowUserTypes: import('../../..').UserType[];
27
- children: {
28
- key: string;
29
- title: string;
30
- caption: string;
31
- icon: string;
32
- path: string;
33
- category: AppCategory;
34
- allowUserTypes: import('../../..').UserType[];
35
- }[];
36
- }[];
37
- path?: undefined;
38
- })[];
39
- export declare const DASHBOARD_HRM_SIDEBAR: ({
40
- key: string;
41
- title: string;
42
- caption: string;
43
- icon: string;
44
- path: string;
45
- category: AppCategory;
46
- allowUserTypes: import('../../..').UserType[];
47
- type?: undefined;
48
- children?: undefined;
49
- } | {
50
- key: string;
51
- title: string;
52
- caption: string;
53
- icon: string;
54
- category: AppCategory;
55
- allowUserTypes: import('../../..').UserType[];
56
- type: AppType;
57
- children: {
58
- key: string;
59
- title: string;
60
- caption: string;
61
- icon: string;
62
- category: AppCategory;
63
- allowUserTypes: import('../../..').UserType[];
64
- children: {
65
- key: string;
66
- title: string;
67
- caption: string;
68
- icon: string;
69
- path: string;
70
- category: AppCategory;
71
- allowUserTypes: import('../../..').UserType[];
72
- }[];
73
- }[];
74
- path?: undefined;
75
- })[];
76
- export declare const DASHBOARD_TREE_SYSTEM_SIDEBAR: ({
77
- key: string;
78
- title: string;
79
- caption: string;
80
- icon: string;
81
- path: string;
82
- category: AppCategory;
83
- allowUserTypes: import('../../..').UserType[];
84
- type?: undefined;
85
- children?: undefined;
86
- } | {
87
- key: string;
88
- title: string;
89
- caption: string;
90
- icon: string;
91
- category: AppCategory;
92
- allowUserTypes: import('../../..').UserType[];
93
- type: AppType;
94
- children: {
95
- key: string;
96
- title: string;
97
- caption: string;
98
- icon: string;
99
- category: AppCategory;
100
- allowUserTypes: import('../../..').UserType[];
101
- children: {
102
- key: string;
103
- title: string;
104
- caption: string;
105
- icon: string;
106
- path: string;
107
- category: AppCategory;
108
- allowUserTypes: import('../../..').UserType[];
109
- }[];
110
- }[];
111
- path?: undefined;
112
- })[];
@@ -1,3 +0,0 @@
1
- export interface SidebarPartProps {
2
- }
3
- export declare const SidebarPart: React.FC<SidebarPartProps>;
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const SidebarProvider: React.FC<{
3
- children: React.ReactNode;
4
- }>;