@fastr-pro/global-header 1.0.19 → 1.0.21
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +848 -688
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -143,6 +143,11 @@ export interface HeaderConfig {
|
|
|
143
143
|
currentApp?: string;
|
|
144
144
|
themeParamName?: string;
|
|
145
145
|
appendThemeParam?: boolean;
|
|
146
|
+
isAlpha?: boolean;
|
|
147
|
+
showAlphaBadge?: boolean;
|
|
148
|
+
alpha?: boolean;
|
|
149
|
+
alphaBadgeText?: string;
|
|
150
|
+
alphaVersion?: string;
|
|
146
151
|
user?: User | null;
|
|
147
152
|
logout?: (() => void | Promise<void>) | null;
|
|
148
153
|
urls?: AppUrls;
|
|
@@ -164,6 +169,11 @@ export interface GlobalHeaderProps {
|
|
|
164
169
|
setTheme?: (theme: 'light' | 'dark' | 'system' | string, isDark?: boolean) => void;
|
|
165
170
|
onThemeChange?: (theme: 'light' | 'dark' | 'system' | string, isDark?: boolean) => void;
|
|
166
171
|
currentApp?: 'derivatives' | 'xray' | 'scanner' | 'charting' | 'macro' | string;
|
|
172
|
+
isAlpha?: boolean;
|
|
173
|
+
showAlphaBadge?: boolean;
|
|
174
|
+
alpha?: boolean;
|
|
175
|
+
alphaBadgeText?: string;
|
|
176
|
+
alphaVersion?: string;
|
|
167
177
|
navigate?: (path: string) => void;
|
|
168
178
|
onNavigate?: (path: string, app?: AppConfig, item?: AppItemConfig) => void;
|
|
169
179
|
urls?: AppUrls;
|