@openfin/workspace-platform 22.2.2 → 22.2.4
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 +27 -0
- package/common/src/utils/layout.d.ts +2 -2
- package/externals.report.json +8 -8
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/workspace_platform.zip +0 -0
|
@@ -144,6 +144,14 @@ export interface PaletteLayersBackgrounds {
|
|
|
144
144
|
dark: Partial<BackgroundLayers>;
|
|
145
145
|
}
|
|
146
146
|
export interface CustomPaletteSet extends DefaultPaletteSet {
|
|
147
|
+
brandPrimaryActive?: string;
|
|
148
|
+
brandPrimaryHover?: string;
|
|
149
|
+
brandPrimaryFocused?: string;
|
|
150
|
+
brandPrimaryText?: string;
|
|
151
|
+
brandSecondaryActive?: string;
|
|
152
|
+
brandSecondaryHover?: string;
|
|
153
|
+
brandSecondaryFocused?: string;
|
|
154
|
+
brandSecondaryText?: string;
|
|
147
155
|
functional1?: string;
|
|
148
156
|
functional2?: string;
|
|
149
157
|
functional3?: string;
|
|
@@ -180,6 +188,7 @@ export interface CustomPaletteSet extends DefaultPaletteSet {
|
|
|
180
188
|
contentBackground5?: string;
|
|
181
189
|
linkDefault?: string;
|
|
182
190
|
linkHover?: string;
|
|
191
|
+
borderNeutral?: string;
|
|
183
192
|
}
|
|
184
193
|
export declare const OpenFinLightTheme: {
|
|
185
194
|
background1: "#FFFFFF";
|
|
@@ -189,6 +198,10 @@ export declare const OpenFinLightTheme: {
|
|
|
189
198
|
background5: "#DDDFE4";
|
|
190
199
|
background6: "#C9CBD2";
|
|
191
200
|
brandSecondary: "#DDDFE4";
|
|
201
|
+
brandSecondaryActive: "#D7DADF";
|
|
202
|
+
brandSecondaryHover: "#EBECEF";
|
|
203
|
+
brandSecondaryFocused: "#1E1F23";
|
|
204
|
+
brandSecondaryText: "#1E1F23";
|
|
192
205
|
inputBackground: "#ECEEF1";
|
|
193
206
|
inputColor: "#1E1F23";
|
|
194
207
|
inputPlaceholder: "#383A40";
|
|
@@ -199,6 +212,10 @@ export declare const OpenFinLightTheme: {
|
|
|
199
212
|
textHelp: "#2F3136";
|
|
200
213
|
textInactive: "#7D808A";
|
|
201
214
|
brandPrimary: string;
|
|
215
|
+
brandPrimaryActive: string;
|
|
216
|
+
brandPrimaryHover: string;
|
|
217
|
+
brandPrimaryFocused: "#FFFFFF";
|
|
218
|
+
brandPrimaryText: "#FFFFFF";
|
|
202
219
|
statusSuccess: "#207735";
|
|
203
220
|
statusWarning: "#F48F00";
|
|
204
221
|
statusCritical: "#F31818";
|
|
@@ -208,6 +225,7 @@ export declare const OpenFinLightTheme: {
|
|
|
208
225
|
contentBackground3: string;
|
|
209
226
|
contentBackground4: string;
|
|
210
227
|
contentBackground5: string;
|
|
228
|
+
borderNeutral: "#C0C1C2";
|
|
211
229
|
};
|
|
212
230
|
export declare const OpenFinDarkTheme: {
|
|
213
231
|
background1: "#111214";
|
|
@@ -217,6 +235,10 @@ export declare const OpenFinDarkTheme: {
|
|
|
217
235
|
background5: "#383A40";
|
|
218
236
|
background6: "#53565F";
|
|
219
237
|
brandSecondary: "#383A40";
|
|
238
|
+
brandSecondaryActive: "#33353B";
|
|
239
|
+
brandSecondaryHover: "#44464E";
|
|
240
|
+
brandSecondaryFocused: "#FFFFFF";
|
|
241
|
+
brandSecondaryText: "#FFFFFF";
|
|
220
242
|
inputBackground: "#53565F";
|
|
221
243
|
inputColor: "#FFFFFF";
|
|
222
244
|
inputPlaceholder: "#C9CBD2";
|
|
@@ -227,6 +249,10 @@ export declare const OpenFinDarkTheme: {
|
|
|
227
249
|
textHelp: "#C9CBD2";
|
|
228
250
|
textInactive: "#7D808A";
|
|
229
251
|
brandPrimary: string;
|
|
252
|
+
brandPrimaryActive: string;
|
|
253
|
+
brandPrimaryHover: string;
|
|
254
|
+
brandPrimaryFocused: "#FFFFFF";
|
|
255
|
+
brandPrimaryText: "#FFFFFF";
|
|
230
256
|
statusSuccess: "#207735";
|
|
231
257
|
statusWarning: "#F48F00";
|
|
232
258
|
statusCritical: "#F31818";
|
|
@@ -236,6 +262,7 @@ export declare const OpenFinDarkTheme: {
|
|
|
236
262
|
contentBackground3: string;
|
|
237
263
|
contentBackground4: string;
|
|
238
264
|
contentBackground5: string;
|
|
265
|
+
borderNeutral: "#C0C1C2";
|
|
239
266
|
};
|
|
240
267
|
export declare const DefaultOpenFinTheme: CustomThemes;
|
|
241
268
|
export declare const getComputedPaletteSets: (customTheme: CustomThemeOptions | CustomThemeOptionsWithScheme) => WorkspaceThemeSet;
|
|
@@ -120,8 +120,8 @@ export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) =>
|
|
|
120
120
|
export declare const countViews: (node: OpenFin.LayoutContent) => number;
|
|
121
121
|
export declare const getLayoutConfig: (layoutContainerKey: string) => Promise<any>;
|
|
122
122
|
export declare const updateTabStateBasedOnViewCount: (page: AttachedPageInternal, viewCount: number) => Promise<void>;
|
|
123
|
-
export declare const updatePageForViewCount: (activePage: AttachedPageInternal) => Promise<void>;
|
|
124
|
-
export declare const debouncedUpdatePageForViewCount: import("lodash").DebouncedFunc<(activePage: AttachedPageInternal) => Promise<void>>;
|
|
123
|
+
export declare const updatePageForViewCount: (activePage: AttachedPageInternal | undefined) => Promise<void>;
|
|
124
|
+
export declare const debouncedUpdatePageForViewCount: import("lodash").DebouncedFunc<(activePage: AttachedPageInternal | undefined) => Promise<void>>;
|
|
125
125
|
export declare const findPageForView: (viewName: string, browserWindowIdentity?: WindowIdentity) => Promise<AttachedPage | undefined>;
|
|
126
126
|
/**
|
|
127
127
|
* Only show the view tab icon when not on the landing page
|
package/externals.report.json
CHANGED
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
"issuer": "common/src/utils/layout.ts"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"title-case": [
|
|
17
|
-
{
|
|
18
|
-
"type": "root-implicit",
|
|
19
|
-
"version": "3.0.3",
|
|
20
|
-
"packageName": "common/package.json",
|
|
21
|
-
"issuer": "common/src/utils/color-linking.ts"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
16
|
"react-i18next": [
|
|
25
17
|
{
|
|
26
18
|
"type": "root-implicit",
|
|
@@ -37,6 +29,14 @@
|
|
|
37
29
|
"issuer": "common/src/api/i18next.ts"
|
|
38
30
|
}
|
|
39
31
|
],
|
|
32
|
+
"title-case": [
|
|
33
|
+
{
|
|
34
|
+
"type": "root-implicit",
|
|
35
|
+
"version": "3.0.3",
|
|
36
|
+
"packageName": "common/package.json",
|
|
37
|
+
"issuer": "common/src/utils/color-linking.ts"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
40
|
"dexie": [
|
|
41
41
|
{
|
|
42
42
|
"type": "explicit",
|