@openfin/workspace-platform 19.3.5 → 19.3.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/common/src/api/theming.d.ts +2 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/browser/src/components/ControlBar/SearchMenu/BookmarkButton.d.ts +0 -10
- package/browser/src/components/ControlBar/SearchMenu/useBookmarkButtonHover.d.ts +0 -2
- package/browser/src/components/ControlBar/SearchMenu/useEnterpriseBookmarkDialogWindow.d.ts +0 -2
- package/browser/src/components/ControlBar/SearchMenu/useIsBookmarked.d.ts +0 -1
- package/browser/src/components/ControlBar/SearchMenu/useIsSelectedViewNavigated.d.ts +0 -5
- package/browser/src/components/ControlBar/SearchMenu/useSelectedAndOpenViewsBroadcastChannel.d.ts +0 -8
- package/browser/src/components/ControlBar/SearchMenu/utils.d.ts +0 -9
- package/common/src/hooks/useAddEditBookmarkDialog.d.ts +0 -7
- package/common/src/hooks/usePreloadedWindow.d.ts +0 -13
- package/common/src/utils/get-browser-window.d.ts +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DefaultTheme } from 'styled-components';
|
|
2
2
|
import type OpenFin from '@openfin/core';
|
|
3
|
-
import { ThemeSet } from '@openfin/ui-library';
|
|
3
|
+
import { ColorSchemeType, ThemeSet } from '@openfin/ui-library';
|
|
4
4
|
import { ColorSchemeOptionType } from '../../../client-api-platform/src/shapes';
|
|
5
5
|
export type WorkspaceComponentSetSelectedSchemePayload = {
|
|
6
6
|
newScheme: ColorSchemeOptionType;
|
|
@@ -246,3 +246,4 @@ export declare const OpenFinDarkTheme: {
|
|
|
246
246
|
export declare const computeThemes: (customThemes: CustomThemes, storedScheme?: ColorSchemeOptionType) => ComputedThemes;
|
|
247
247
|
export declare const getComputedPlatformTheme: (platformIdentity: OpenFin.Identity) => Promise<ComputedTheme>;
|
|
248
248
|
export declare const setSelectedScheme: (ctx: ColorSchemeOptionType) => Promise<void>;
|
|
249
|
+
export declare const getComputedScheme: (identity?: OpenFin.Identity) => Promise<Exclude<ColorSchemeType, 'system'>>;
|