@adecore/shell 0.24.2 → 0.25.1

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.
@@ -1,4 +1,4 @@
1
- export { MENU_BAR_ROLES, MENU_ROLES, type MenuBarRole, type MenuNode, type MenuRole, type MenuSpec } from './menu.ts';
1
+ export { MENU_ROLES, type MenuBarRole, type MenuNode, type MenuRole, type MenuSpec } from './menu.ts';
2
2
  export type { ThemeState } from './theme.ts';
3
3
  export type { UpdateErrorCode, UpdateState } from './update.ts';
4
4
  export { compareVersions, isVersion } from './versions.ts';
@@ -2,5 +2,5 @@
2
2
  * The shapes that cross IPC between the shell and the page it hosts. Nothing here imports Electron, so
3
3
  * a preload and a page read them as well as the main process.
4
4
  */
5
- export { MENU_BAR_ROLES, MENU_ROLES } from './menu.js';
5
+ export { MENU_ROLES } from './menu.js';
6
6
  export { compareVersions, isVersion } from './versions.js';
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- export { APP_SCHEME_PRIVILEGES, createAppScheme, segmentsOf } from './app-scheme.ts';
1
+ export { createAppScheme, segmentsOf } from './app-scheme.ts';
2
2
  export type { AppScheme, AppSchemeOptions, SchemeFolder, SchemeResolver } from './app-scheme.ts';
3
3
  export { createMenuCommands, devToolsAccelerator, menuTemplateOf, staticMenuTemplate } from './menu.ts';
4
4
  export type { MenuCommandOptions, MenuTemplateOptions, MenuWindow, StaticMenuOptions } from './menu.ts';
5
- export { createPageKeys, PAGE_KEY_MS } from './page-keys.ts';
5
+ export { createPageKeys } from './page-keys.ts';
6
6
  export type { PageKey, PageKeys } from './page-keys.ts';
7
- export { createUpdater, describeUpdateError, UPDATE_INTERVAL_MS } from './updater.ts';
7
+ export { createUpdater } from './updater.ts';
8
8
  export type { Updater, UpdaterOptions } from './updater.ts';
9
9
  export { appWindowNavigation, isAppSender, isAppUrl, isExternalLink, isWebLink, originOf } from './web-guards.ts';
10
10
  export type { NavigationVerdict, SenderFrame } from './web-guards.ts';
11
- export { createWindowState, fileStorage, fitBounds, VISIBLE_EDGE } from './window-state.ts';
11
+ export { createWindowState, fileStorage } from './window-state.ts';
12
12
  export type { SavedWindow, StateWindow, WindowDisplay, WindowSize, WindowState, WindowStateOptions, WindowStateStorage } from './window-state.ts';
13
13
  export { createTheme } from './theme.ts';
14
14
  export type { Theme, ThemeOptions, TitleBarOverlay } from './theme.ts';
15
- export { CASCADE, createWindows, UNKEYED_STATE } from './windows.ts';
15
+ export { createWindows } from './windows.ts';
16
16
  export type { AttachOptions, QuitRequest, WindowOrigin, WindowPoint, Windows, WindowsOptions } from './windows.ts';
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export { APP_SCHEME_PRIVILEGES, createAppScheme, segmentsOf } from './app-scheme.js';
1
+ export { createAppScheme, segmentsOf } from './app-scheme.js';
2
2
  export { createMenuCommands, devToolsAccelerator, menuTemplateOf, staticMenuTemplate } from './menu.js';
3
- export { createPageKeys, PAGE_KEY_MS } from './page-keys.js';
4
- export { createUpdater, describeUpdateError, UPDATE_INTERVAL_MS } from './updater.js';
3
+ export { createPageKeys } from './page-keys.js';
4
+ export { createUpdater } from './updater.js';
5
5
  export { appWindowNavigation, isAppSender, isAppUrl, isExternalLink, isWebLink, originOf } from './web-guards.js';
6
- export { createWindowState, fileStorage, fitBounds, VISIBLE_EDGE } from './window-state.js';
6
+ export { createWindowState, fileStorage } from './window-state.js';
7
7
  export { createTheme } from './theme.js';
8
- export { CASCADE, createWindows, UNKEYED_STATE } from './windows.js';
8
+ export { createWindows } from './windows.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/shell",
3
- "version": "0.24.2",
3
+ "version": "0.25.1",
4
4
  "description": "The main process of an Electron app: its menu, its updater and the guards around its page.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
@@ -3,7 +3,7 @@
3
3
  * a preload and a page read them as well as the main process.
4
4
  */
5
5
 
6
- export { MENU_BAR_ROLES, MENU_ROLES, type MenuBarRole, type MenuNode, type MenuRole, type MenuSpec } from './menu.ts';
6
+ export { MENU_ROLES, type MenuBarRole, type MenuNode, type MenuRole, type MenuSpec } from './menu.ts';
7
7
  export type { ThemeState } from './theme.ts';
8
8
  export type { UpdateErrorCode, UpdateState } from './update.ts';
9
9
  export { compareVersions, isVersion } from './versions.ts';
package/src/index.ts CHANGED
@@ -1,16 +1,16 @@
1
- export { APP_SCHEME_PRIVILEGES, createAppScheme, segmentsOf } from './app-scheme.ts';
1
+ export { createAppScheme, segmentsOf } from './app-scheme.ts';
2
2
  export type { AppScheme, AppSchemeOptions, SchemeFolder, SchemeResolver } from './app-scheme.ts';
3
3
  export { createMenuCommands, devToolsAccelerator, menuTemplateOf, staticMenuTemplate } from './menu.ts';
4
4
  export type { MenuCommandOptions, MenuTemplateOptions, MenuWindow, StaticMenuOptions } from './menu.ts';
5
- export { createPageKeys, PAGE_KEY_MS } from './page-keys.ts';
5
+ export { createPageKeys } from './page-keys.ts';
6
6
  export type { PageKey, PageKeys } from './page-keys.ts';
7
- export { createUpdater, describeUpdateError, UPDATE_INTERVAL_MS } from './updater.ts';
7
+ export { createUpdater } from './updater.ts';
8
8
  export type { Updater, UpdaterOptions } from './updater.ts';
9
9
  export { appWindowNavigation, isAppSender, isAppUrl, isExternalLink, isWebLink, originOf } from './web-guards.ts';
10
10
  export type { NavigationVerdict, SenderFrame } from './web-guards.ts';
11
- export { createWindowState, fileStorage, fitBounds, VISIBLE_EDGE } from './window-state.ts';
11
+ export { createWindowState, fileStorage } from './window-state.ts';
12
12
  export type { SavedWindow, StateWindow, WindowDisplay, WindowSize, WindowState, WindowStateOptions, WindowStateStorage } from './window-state.ts';
13
13
  export { createTheme } from './theme.ts';
14
14
  export type { Theme, ThemeOptions, TitleBarOverlay } from './theme.ts';
15
- export { CASCADE, createWindows, UNKEYED_STATE } from './windows.ts';
15
+ export { createWindows } from './windows.ts';
16
16
  export type { AttachOptions, QuitRequest, WindowOrigin, WindowPoint, Windows, WindowsOptions } from './windows.ts';