@openfin/workspace-platform 21.0.3 → 21.0.5

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.
@@ -9,4 +9,4 @@ export declare const searchMenuIdentityBase: {
9
9
  /**
10
10
  * Applies default options to the creation of browser windows.
11
11
  */
12
- export declare function applyBrowserDefaults(options: OpenFin.PlatformWindowCreationOptions, initOptions: Pick<BrowserInitConfig, 'defaultWindowOptions' | 'defaultPageOptions' | 'defaultViewOptions'> | undefined, themeData?: PreloadedThemeData): Promise<OpenFin.PlatformWindowCreationOptions>;
12
+ export declare function applyBrowserDefaults(options: OpenFin.PlatformWindowCreationOptions, initOptions: Pick<BrowserInitConfig, 'defaultWindowOptions' | 'defaultPageOptions' | 'defaultViewOptions' | 'browserIconSize'> | undefined, themeData?: PreloadedThemeData): Promise<OpenFin.PlatformWindowCreationOptions>;
@@ -2205,6 +2205,10 @@ export type WorkspacePlatformOverrideCallback = OpenFin.OverrideCallback<Workspa
2205
2205
  */
2206
2206
  export type BrowserOverrideCallback = WorkspacePlatformOverrideCallback;
2207
2207
  export type DockCompanionButton = Exclude<WorkspaceButton, 'store'> | 'contentMenu' | 'bookmarks' | 'searchShortcut';
2208
+ /**
2209
+ * Configuration options for Browser window's icons.
2210
+ */
2211
+ export type IconSize = 'large' | 'default';
2208
2212
  /**
2209
2213
  * Configuration for initializing a Browser.
2210
2214
  */
@@ -2224,6 +2228,13 @@ export interface BrowserInitConfig {
2224
2228
  * The platform title. UI friendly title for the platform in browser.
2225
2229
  */
2226
2230
  title?: string;
2231
+ /**
2232
+ * By default, the icons in the browser are displayed at the default size. If you
2233
+ * want to display the icons at a larger size, set this property to 'large'. This
2234
+ * will increase the size of the icons in the browser. If you have custom icons
2235
+ * that are PNGs you will need to update these assets for best results.
2236
+ */
2237
+ browserIconSize?: IconSize;
2227
2238
  /**
2228
2239
  * Override workspace platform behavior
2229
2240
  *