@frontegg/types 6.36.0-alpha.1 → 6.36.0-alpha.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.
@@ -60,7 +60,41 @@ export interface PagesThemeOptions extends PageThemeOptions {
60
60
  roles?: PageThemeOptions;
61
61
  subscriptions?: PageThemeOptions;
62
62
  }
63
- export interface AdminPortalThemeOptions extends BaseThemeOptions {
63
+ export interface TableScrollbar {
64
+ borderColor?: Color;
65
+ trackColor?: Color;
66
+ thumbColor?: Color;
67
+ thumbHoverColor?: Color;
68
+ }
69
+ export interface TableTheme {
70
+ /**
71
+ * Direct css styling, applying css for table container, MuiPaper
72
+ */
73
+ container?: ExtendedCSSProperties;
74
+ /**
75
+ * Direct css styling, applying css for table content, MuiBox
76
+ */
77
+ content?: ExtendedCSSProperties;
78
+ /**
79
+ * Direct css styling, applying css for table header container, MuiBox
80
+ */
81
+ headerContainer?: ExtendedCSSProperties;
82
+ /**
83
+ * Styling applying for table scrollbar
84
+ */
85
+ scrollbar?: TableScrollbar;
86
+ /**
87
+ * Background color for filterButton on the header of the table, we have it on audits
88
+ */
89
+ filterButtonBackground?: Color;
90
+ }
91
+ export interface AdminPortalCommonOptions extends BaseThemeOptions {
92
+ /**
93
+ * Option to customize admin portal table
94
+ */
95
+ tableTheme?: TableTheme;
96
+ }
97
+ export interface AdminPortalThemeOptions extends AdminPortalCommonOptions {
64
98
  themeName?: BasicThemeName;
65
99
  layout?: {
66
100
  fullScreenMode?: boolean;
@@ -69,10 +103,12 @@ export interface AdminPortalThemeOptions extends BaseThemeOptions {
69
103
  pages?: PagesThemeOptions;
70
104
  }
71
105
  export interface AdminPortalTheme extends BaseTheme {
106
+ themeName: BasicThemeName;
72
107
  layout: {
73
108
  fullScreenMode: boolean;
74
109
  };
75
110
  navigation: NavigationThemeOptions;
76
111
  rightPanel: RightPanelThemeOptions;
77
112
  pages: PagesThemeOptions;
113
+ tableTheme: TableTheme;
78
114
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.36.0-alpha.1
1
+ /** @license Frontegg v6.36.0-alpha.2
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.36.0-alpha.1
1
+ /** @license Frontegg v6.36.0-alpha.2
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "6.36.0-alpha.1",
3
+ "version": "6.36.0-alpha.2",
4
4
  "main": "./node/index.js",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/redux-store": "6.36.0-alpha.1",
9
+ "@frontegg/redux-store": "6.36.0-alpha.2",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },