@openfin/workspace-platform 22.0.5 → 22.0.7
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/client-api-platform/src/api/controllers/theme-storage-controller-store.d.ts +1 -1
- package/client-api-platform/src/api/controllers/theme-storage-controller.d.ts +16 -2
- package/common/src/api/pages/enterprise-shapes.d.ts +0 -2
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/workspace_platform.zip +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ThemeStorageController } from '../../../../client-api-platform/src/api/controllers/theme-storage-controller';
|
|
2
2
|
import { CustomThemes } from '../../../../client-api-platform/src/shapes';
|
|
3
|
-
export declare const initialiseStoragePalettes: (customThemes: CustomThemes) => void;
|
|
3
|
+
export declare const initialiseStoragePalettes: (customThemes: CustomThemes, isWindows: boolean) => void;
|
|
4
4
|
export declare const getThemeStorageController: () => ThemeStorageController;
|
|
@@ -5,7 +5,21 @@ import { ColorSchemeOptionType, CustomPaletteSet } from '../../../../client-api-
|
|
|
5
5
|
*
|
|
6
6
|
* This is particularly useful if a value uses a different palette constant depending on scheme.
|
|
7
7
|
*/
|
|
8
|
-
export declare const getPaletteExtensions: (palette: CustomPaletteSet, paletteScheme: 'light' | 'dark') => {
|
|
8
|
+
export declare const getPaletteExtensions: (palette: CustomPaletteSet, paletteScheme: 'light' | 'dark', isWindows: boolean) => {
|
|
9
|
+
dockExpandedContainerBorder: string;
|
|
10
|
+
dockExpandedContainerBorderRadius: string;
|
|
11
|
+
dockExpandedContainerBackground: string;
|
|
12
|
+
fillerBackgroundColor: string;
|
|
13
|
+
dockCompanionContainerBackground: string;
|
|
14
|
+
dockComponentContainerBackground: string;
|
|
15
|
+
styledDropdownActiveBackground: string;
|
|
16
|
+
contentMenuWrapperInternalDivBorderColor: string;
|
|
17
|
+
contentMenuItemContainerActiveBackground: string;
|
|
18
|
+
contentMenuItemContainerHoverBackground: string;
|
|
19
|
+
contentMenuHeaderBorderColor: string;
|
|
20
|
+
dockCompanionSeparatorBorderColor: string;
|
|
21
|
+
companionDockButtonActiveBackground: string;
|
|
22
|
+
companionDockButtonHoverBackground: string;
|
|
9
23
|
selectedTab: string;
|
|
10
24
|
};
|
|
11
25
|
export type Palettes = {
|
|
@@ -34,7 +48,7 @@ export declare class ThemeStorageController {
|
|
|
34
48
|
* to allow workspace UI elements to load the palette before their first paint.
|
|
35
49
|
* @param palettes Light and Dark Palette constants
|
|
36
50
|
*/
|
|
37
|
-
setPalettes: ({ light, dark }: Palettes) => Promise<void>;
|
|
51
|
+
setPalettes: ({ light, dark }: Palettes, isWindows: boolean) => Promise<void>;
|
|
38
52
|
/**
|
|
39
53
|
* Set the current scheme of workspace. Specifically setting light or dark
|
|
40
54
|
* will ignore the OS scheme, whereas 'system' will always respect it.
|
|
@@ -17,8 +17,6 @@ export interface Page {
|
|
|
17
17
|
isReadOnly?: boolean;
|
|
18
18
|
/** Icon that appears on a page tab if there are unsaved changes (dirty state). If 'undefined', default icon will appear. */
|
|
19
19
|
unsavedIconUrl?: string;
|
|
20
|
-
/** Icon that appears on a page tab if there are no unsaved changes. If 'undefined', default icon will appear. */
|
|
21
|
-
iconUrl?: string;
|
|
22
20
|
/** The layout of the page. */
|
|
23
21
|
layout: PageLayout;
|
|
24
22
|
/** True if the page is locked. */
|