@openfin/workspace 20.2.4 → 20.3.0

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.
Files changed (100) hide show
  1. package/client-api-platform/src/init/override-callback/browser-defaults.d.ts +0 -1
  2. package/client-api-platform/src/shapes.d.ts +5 -6
  3. package/common/src/api/pages/shapes.d.ts +21 -0
  4. package/common/src/utils/browser-base-url.d.ts +21 -2
  5. package/common/src/utils/context-menu.d.ts +2 -0
  6. package/common/src/utils/layout.d.ts +5 -1
  7. package/common/src/utils/popup-window.d.ts +5 -1
  8. package/common/src/utils/route.d.ts +44 -16
  9. package/common/src/utils/router/base.d.ts +2 -1
  10. package/home.js +1 -1
  11. package/home.js.map +1 -1
  12. package/index.js +3 -3
  13. package/index.js.map +1 -1
  14. package/notifications.js +2 -2
  15. package/notifications.js.map +1 -1
  16. package/package.json +2 -2
  17. package/search-api/src/client/index.d.ts +1 -1
  18. package/search-api/src/client/remote/channel-client-factory.d.ts +1 -1
  19. package/search-api/src/client/remote/disconnect.d.ts +1 -1
  20. package/search-api/src/common.d.ts +0 -5
  21. package/search-api/src/provider/index.d.ts +1 -1
  22. package/search-api/src/provider/remote/channel-factory.d.ts +1 -1
  23. package/store.js +1 -1
  24. package/store.js.map +1 -1
  25. package/browser/src/api/color-linking.d.ts +0 -23
  26. package/browser/src/api/controls.d.ts +0 -23
  27. package/browser/src/api/pages/attached.d.ts +0 -23
  28. package/browser/src/api/pages/state.d.ts +0 -10
  29. package/browser/src/api/panels.d.ts +0 -106
  30. package/browser/src/api/view.d.ts +0 -22
  31. package/browser/src/components/ControlBar/LeftControlsContainer/EnterpriseNavigationContainer/AddressBar/AddressBar.d.ts +0 -15
  32. package/browser/src/components/ControlBar/LeftControlsContainer/EnterpriseNavigationContainer/AddressBar/AddressBarInput.d.ts +0 -18
  33. package/browser/src/components/ControlBar/RightControlsContainer/ToolbarContainer/menus/menuConfig.d.ts +0 -17
  34. package/browser/src/components/ControlBar/SearchMenu/BookmarkButton.d.ts +0 -9
  35. package/browser/src/components/ControlBar/SearchMenu/CommandBar.d.ts +0 -9
  36. package/browser/src/components/ControlBar/SearchMenu/Icons.d.ts +0 -23
  37. package/browser/src/components/ControlBar/SearchMenu/ResultIcon.d.ts +0 -11
  38. package/browser/src/components/ControlBar/SearchMenu/SecureIcon.d.ts +0 -5
  39. package/browser/src/components/ControlBar/SearchMenu/UrlInput.d.ts +0 -3
  40. package/browser/src/components/ControlBar/SearchMenu/useBookmarkButtonHover.d.ts +0 -2
  41. package/browser/src/components/ControlBar/SearchMenu/useEnterpriseBookmarkDialogWindow.d.ts +0 -2
  42. package/browser/src/components/ControlBar/SearchMenu/useIsBookmarked.d.ts +0 -1
  43. package/browser/src/components/ControlBar/SearchMenu/useIsPageOpen.d.ts +0 -3
  44. package/browser/src/components/ControlBar/SearchMenu/useIsSelectedViewNavigated.d.ts +0 -5
  45. package/browser/src/components/ControlBar/SearchMenu/useSelectedAndOpenViewsBroadcastChannel.d.ts +0 -8
  46. package/browser/src/components/ControlBar/SearchMenu/utils.d.ts +0 -11
  47. package/browser/src/components/ControlBar/Tablist/utils.d.ts +0 -8
  48. package/browser/src/components/ControlBar/utils.d.ts +0 -1
  49. package/browser/src/components/LandingPage/BrandIcon.d.ts +0 -6
  50. package/browser/src/components/LayoutContainer/utils.d.ts +0 -10
  51. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarkItem.d.ts +0 -17
  52. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksFolderHeader.d.ts +0 -8
  53. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksPanel.d.ts +0 -9
  54. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksPanelHeader.d.ts +0 -3
  55. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksResults.d.ts +0 -15
  56. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksSearchInput.d.ts +0 -7
  57. package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarksSearch.d.ts +0 -16
  58. package/browser/src/components/PanelContainer/BookmarksPanel/useUpdateBookmarkResultsActions.d.ts +0 -15
  59. package/browser/src/components/PanelContainer/PanelContainer.d.ts +0 -8
  60. package/browser/src/hooks/EnterpriseSearchMenu/AdjustSearchMenuDimensions/getDimensions.d.ts +0 -14
  61. package/browser/src/hooks/EnterpriseSearchMenu/AdjustSearchMenuDimensions/useAdjustSearchMenuViewDimensions.d.ts +0 -25
  62. package/browser/src/hooks/EnterpriseSearchMenu/useInitChannelToSearchMenuView.d.ts +0 -18
  63. package/browser/src/hooks/EnterpriseSearchMenu/usePostMessageToSearchMenuView.d.ts +0 -18
  64. package/browser/src/hooks/EnterpriseSearchMenu/useProcessChildContentBlockEvent.d.ts +0 -3
  65. package/browser/src/hooks/EnterpriseSearchMenu/useSearchMenuViewLifecycleManager.d.ts +0 -16
  66. package/browser/src/hooks/EnterpriseSearchMenu/useUpdateInputExpansionState.d.ts +0 -15
  67. package/browser/src/hooks/EnterpriseSearchMenu/useUpdateViewExpansionState.d.ts +0 -32
  68. package/browser/src/hooks/useEnterpriseHotkeys.d.ts +0 -4
  69. package/browser/src/hooks/usePanelBounds.d.ts +0 -4
  70. package/browser/src/hooks/useSingleViewPage.d.ts +0 -2
  71. package/browser/src/hooks/useWindowFocusState.d.ts +0 -17
  72. package/browser/src/slices/menu.d.ts +0 -28
  73. package/browser/src/slices/modal/close.d.ts +0 -10
  74. package/browser/src/slices/modal/index.d.ts +0 -8
  75. package/browser/src/slices/pages/attached.d.ts +0 -83
  76. package/browser/src/slices/tab-focus.d.ts +0 -85
  77. package/browser/src/store/index.d.ts +0 -90
  78. package/client-api-platform/src/init/override-callback/enterprise-page-required-layout-settings.d.ts +0 -5
  79. package/common/src/api/pages/internal.d.ts +0 -8
  80. package/common/src/api/workspace-events.d.ts +0 -49
  81. package/common/src/components/BaseButton/BaseButton.d.ts +0 -53
  82. package/common/src/components/CloseButton/CloseButtonLarge.d.ts +0 -4
  83. package/common/src/components/Icon/CustomIcon.d.ts +0 -15
  84. package/common/src/hooks/context.d.ts +0 -58
  85. package/common/src/hooks/useAddEditBookmarkDialog.d.ts +0 -7
  86. package/common/src/hooks/usePlatformTheme.d.ts +0 -6
  87. package/common/src/hooks/usePreloadedWindow.d.ts +0 -13
  88. package/common/src/hooks/useSystemSchemeCheck.d.ts +0 -13
  89. package/common/src/slices/environment.d.ts +0 -22
  90. package/common/src/slices/target-theming.d.ts +0 -56
  91. package/common/src/styles/svg-icons.d.ts +0 -7
  92. package/common/src/utils/a11y/index.d.ts +0 -3
  93. package/common/src/utils/bookmark-item-context-menu.d.ts +0 -8
  94. package/common/src/utils/bookmarks.d.ts +0 -16
  95. package/common/src/utils/custom-logo.d.ts +0 -16
  96. package/common/src/utils/get-browser-window.d.ts +0 -3
  97. package/common/src/utils/interop.d.ts +0 -30
  98. package/common/src/utils/navigate.d.ts +0 -8
  99. package/common/src/utils/test-ids.d.ts +0 -70
  100. package/common/src/utils/url.d.ts +0 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openfin/workspace",
3
3
  "description": "An API for integrating with OpenFin Workspace.",
4
4
  "main": "index.js",
5
- "version": "20.2.4",
5
+ "version": "20.3.0",
6
6
  "keywords": [
7
7
  "client api"
8
8
  ],
@@ -12,7 +12,7 @@
12
12
  "@openfin/microsoft365": "^1.0.0"
13
13
  },
14
14
  "dependencies": {
15
- "openfin-notifications": "2.9.0-alpha-3761",
15
+ "openfin-notifications": "2.9.1",
16
16
  "@openfin/microsoft365": "^1.0.1",
17
17
  "@radix-ui/react-dropdown-menu": "^2.0.4",
18
18
  "@reduxjs/toolkit": "1.7.1",
@@ -3,4 +3,4 @@ import type { SearchTopicClient } from '../shapes';
3
3
  * Subscribe to an existing search topic.
4
4
  * @param req the subscribe request.
5
5
  */
6
- export declare function subscribe(): Promise<SearchTopicClient>;
6
+ export declare function subscribe(channelName: string): Promise<SearchTopicClient>;
@@ -1,2 +1,2 @@
1
1
  import type { OpenFin } from '@openfin/core';
2
- export declare function create(): Promise<OpenFin.ChannelClient>;
2
+ export declare function create(channelName: string): Promise<OpenFin.ChannelClient>;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * On channel disconnect, will attempt to reconnect.
3
3
  */
4
- export declare function makeStreamListener(): () => Promise<void>;
4
+ export declare function makeStreamListener(channelName: string): () => Promise<void>;
@@ -1,11 +1,6 @@
1
1
  import type OpenFin from '@openfin/core';
2
- import { ApplicationUUID } from '../../common/src/utils/application';
3
2
  import { InternalSearchListenerRequest, InternalSearchListenerResponse, SearchProviderWithIdentity } from './internal-shapes';
4
3
  import { DeregisterListener, DispatchedAction, DispatchedSearchResult, RegisterListener, ScoreOrder, SearchProvider, SearchRequest, SearchResult } from './shapes';
5
- export declare const HOME_SEARCH_TOPIC: "home";
6
- export declare const HOME_SEARCH_NAMESPACE: ApplicationUUID.OldWorkspace;
7
- export declare const HOME_SEARCH_NAMESPACED_TOPIC: "openfin-browser-home";
8
- export declare const HOME_SEARCH_CHANNEL_NAME: "__search-openfin-browser-home-topic__";
9
4
  export declare const defaultSearchTopic = "all";
10
5
  /**
11
6
  * The stream id that data is requested and transported back to the creator of a search topic on.
@@ -4,4 +4,4 @@ import type { SearchTopic } from '../shapes';
4
4
  * If the OpenFin identity creating the topic is running in a platform, the search topic will be sandboxed to the platform.
5
5
  * In order to subscribe to a sandboxed search topic, the UUID of the platform must be specifed explicitly or the subscribing OpenFin identity must be running in the platform.
6
6
  */
7
- export declare function create(): Promise<SearchTopic>;
7
+ export declare function create(channelName: string): Promise<SearchTopic>;
@@ -3,4 +3,4 @@ import type { OpenFin } from '@openfin/core';
3
3
  * Create a channel for interacting with remote search providers.
4
4
  * @param ctx the context of the search topic to create the channel for.
5
5
  */
6
- export declare function create(): Promise<OpenFin.ChannelProvider>;
6
+ export declare function create(namespace: string): Promise<OpenFin.ChannelProvider>;