@interopio/home-ui-react 1.4.3 → 2.0.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.
Files changed (276) hide show
  1. package/LICENSE +21 -0
  2. package/{README.md → dist/README.md} +56 -56
  3. package/dist/common/sequelizer.d.ts +7 -0
  4. package/dist/common/types.d.ts +26 -0
  5. package/dist/common/utils.d.ts +2 -0
  6. package/dist/constants/alerts.d.ts +8 -0
  7. package/{constants → dist/constants}/defaults.d.ts +0 -1
  8. package/dist/constants/dialogs.d.ts +5 -0
  9. package/{constants → dist/constants}/itemTypes.d.ts +1 -0
  10. package/dist/constants/platformPrefs.d.ts +14 -0
  11. package/dist/constants/regex.d.ts +1 -0
  12. package/dist/constants/sections.d.ts +5 -0
  13. package/{constants → dist/constants}/storageKeys.d.ts +1 -2
  14. package/{decoders → dist/decoders}/base.d.ts +2 -1
  15. package/dist/decoders/config.d.ts +3 -0
  16. package/dist/decoders/layouts.d.ts +3 -0
  17. package/{decoders → dist/decoders}/platform.d.ts +3 -3
  18. package/dist/decoders/user.d.ts +3 -0
  19. package/dist/decoders/validation.d.ts +3 -0
  20. package/{executors → dist/executors}/applicationActions.d.ts +1 -1
  21. package/{executors → dist/executors}/layoutActions.d.ts +1 -1
  22. package/dist/executors/setupStepsActions.d.ts +3 -0
  23. package/dist/executors/types.d.ts +33 -0
  24. package/{executors → dist/executors}/workspaceActions.d.ts +1 -1
  25. package/{helpers → dist/helpers}/a11y.d.ts +0 -16
  26. package/dist/helpers/alerts.d.ts +9 -0
  27. package/{helpers → dist/helpers}/sort.d.ts +4 -4
  28. package/dist/hooks/index.d.ts +28 -0
  29. package/dist/hooks/useApplications.d.ts +2 -0
  30. package/{hooks → dist/hooks}/useExecuteApplicationAction.d.ts +1 -1
  31. package/dist/hooks/useExecuteLayoutAction.d.ts +5 -0
  32. package/{hooks → dist/hooks}/useExecuteWorkspaceAction.d.ts +1 -1
  33. package/dist/hooks/useFavorites.d.ts +8 -0
  34. package/dist/hooks/useFrameId.d.ts +1 -0
  35. package/{hooks → dist/hooks}/useInvokeInteropMethod.d.ts +1 -1
  36. package/dist/hooks/useIsLaunchpadPinned.d.ts +8 -0
  37. package/dist/hooks/useLayouts.d.ts +5 -0
  38. package/{hooks → dist/hooks}/useNotifications.d.ts +1 -1
  39. package/dist/hooks/useNotificationsConfiguration.d.ts +3 -0
  40. package/dist/hooks/useOnIframeFocus.d.ts +6 -0
  41. package/dist/hooks/useOnOutsideClick.d.ts +9 -0
  42. package/{hooks → dist/hooks}/usePlatformWindow.d.ts +1 -1
  43. package/{hooks → dist/hooks}/useRestoreLayout.d.ts +1 -1
  44. package/{hooks → dist/hooks}/useRestoreWorkspace.d.ts +1 -2
  45. package/{hooks → dist/hooks}/useSearch.d.ts +1 -1
  46. package/dist/hooks/useStartApplication.d.ts +7 -0
  47. package/{hooks → dist/hooks}/useStorage.d.ts +2 -2
  48. package/dist/hooks/useWorkspaces.d.ts +2 -0
  49. package/dist/index.css +1 -0
  50. package/dist/index.d.ts +21 -0
  51. package/dist/index.js +61 -0
  52. package/dist/index.js.map +1 -0
  53. package/dist/index.mjs +14515 -0
  54. package/dist/index.mjs.map +1 -0
  55. package/{lib → dist/lib}/applications-section/applications-section.d.ts +1 -1
  56. package/dist/lib/applications-section/helpers.d.ts +5 -0
  57. package/dist/lib/applications-section/types.d.ts +9 -0
  58. package/{lib → dist/lib}/base-section/base-section-header.d.ts +2 -4
  59. package/dist/lib/base-section/base-section-item.d.ts +14 -0
  60. package/{lib → dist/lib}/base-section/base-section.d.ts +3 -3
  61. package/{lib → dist/lib}/base-section/helpers.d.ts +1 -1
  62. package/dist/lib/base-section/types.d.ts +20 -0
  63. package/dist/lib/base-section/useCollapsedSections.d.ts +4 -0
  64. package/dist/lib/context-menu/constants.d.ts +11 -0
  65. package/dist/lib/context-menu/context-menu.d.ts +11 -0
  66. package/dist/lib/context-menu/dropdown-button/dropdown-button.d.ts +20 -0
  67. package/{lib → dist/lib}/context-menu/types.d.ts +5 -1
  68. package/dist/lib/default-header-system-buttons/constants.d.ts +2 -0
  69. package/dist/lib/default-header-system-buttons/default-header-system-buttons.d.ts +2 -0
  70. package/dist/lib/default-header-system-buttons/default-header-system-menu.d.ts +2 -0
  71. package/{lib → dist/lib}/favorites-section/favorites-section.d.ts +1 -1
  72. package/dist/lib/favorites-section/helpers.d.ts +3 -0
  73. package/dist/lib/home-app-workspace/after-tabs.d.ts +3 -0
  74. package/dist/lib/home-app-workspace/constants.d.ts +2 -0
  75. package/{lib → dist/lib}/home-app-workspace/group-header-buttons.d.ts +1 -1
  76. package/dist/lib/home-app-workspace/home-app-workspace.d.ts +13 -0
  77. package/dist/lib/home-app-workspace/index.d.ts +1 -0
  78. package/dist/lib/home-app-workspace/launchpad-access.d.ts +7 -0
  79. package/{lib → dist/lib}/home-app-workspace/workspace-components-context.d.ts +3 -4
  80. package/dist/lib/icon-components/index.d.ts +4 -0
  81. package/dist/lib/icon-components/platform-setup/index.d.ts +4 -0
  82. package/{lib → dist/lib}/io-connect-home/auth0-login-home.d.ts +1 -1
  83. package/{lib → dist/lib}/io-connect-home/home-app.d.ts +1 -1
  84. package/{lib → dist/lib}/io-connect-home/io-connect-home.d.ts +1 -1
  85. package/{lib → dist/lib}/io-connect-home/no-login-home.d.ts +1 -1
  86. package/{lib → dist/lib}/io-connect-home/simple-login-home.d.ts +1 -1
  87. package/{lib → dist/lib}/io-connect-home/types.d.ts +54 -18
  88. package/{lib → dist/lib}/io-connect-home/useUser.d.ts +1 -1
  89. package/{lib → dist/lib}/io-connect-home-provider/helpers.d.ts +1 -1
  90. package/{lib → dist/lib}/io-connect-home-provider/io-connect-home-provider.d.ts +1 -1
  91. package/{lib → dist/lib}/io-connect-home-provider/types.d.ts +2 -2
  92. package/{lib/io-connect-browser-start-failed/io-connect-browser-start-failed.d.ts → dist/lib/io-init-error-screen/io-init-error-screen.d.ts} +1 -1
  93. package/dist/lib/launchpad/constants.d.ts +2 -0
  94. package/dist/lib/launchpad/helpers.d.ts +4 -0
  95. package/dist/lib/launchpad/launchpad-header.d.ts +7 -0
  96. package/dist/lib/launchpad/launchpad-pin-button.d.ts +5 -0
  97. package/dist/lib/launchpad/launchpad.context.d.ts +19 -0
  98. package/dist/lib/launchpad/launchpad.d.ts +11 -0
  99. package/dist/lib/launchpad/useIsLaunchpadCollapsed.d.ts +9 -0
  100. package/dist/lib/layouts-panel/active-layout.d.ts +2 -0
  101. package/dist/lib/layouts-panel/all-layouts.d.ts +2 -0
  102. package/dist/lib/layouts-panel/constants.d.ts +8 -0
  103. package/dist/lib/layouts-panel/create-layout-button.d.ts +2 -0
  104. package/dist/lib/layouts-panel/helpers.d.ts +3 -0
  105. package/dist/lib/layouts-panel/layouts-dropdown.d.ts +6 -0
  106. package/dist/lib/layouts-panel/layouts-list.d.ts +6 -0
  107. package/dist/lib/layouts-panel/save-layout-button.d.ts +5 -0
  108. package/dist/lib/layouts-panel/types.d.ts +8 -0
  109. package/dist/lib/layouts-panel/useIsLayoutsPanelOpen.d.ts +9 -0
  110. package/{lib → dist/lib}/login/auth0/auth0-login-page.d.ts +1 -2
  111. package/dist/lib/login/index.d.ts +3 -0
  112. package/dist/lib/login/login-heading.d.ts +1 -0
  113. package/{lib → dist/lib}/login/simple/reducers.d.ts +1 -1
  114. package/{lib → dist/lib}/login/simple/simple-login-form.d.ts +2 -2
  115. package/{lib → dist/lib}/login/simple/simple-login-page.d.ts +1 -1
  116. package/{lib → dist/lib}/login/types.d.ts +1 -5
  117. package/dist/lib/notifications-panel-button/notifications-badge.d.ts +2 -0
  118. package/dist/lib/notifications-panel-button/notifications-panel-button.d.ts +6 -0
  119. package/dist/lib/notifications-panels/notification-settings-panel.d.ts +9 -0
  120. package/dist/lib/notifications-panels/notifications-panel-with-toggle-button.d.ts +3 -0
  121. package/dist/lib/notifications-panels/notifications-panel.d.ts +10 -0
  122. package/dist/lib/panels/launchpad/launchpad-button.d.ts +6 -0
  123. package/dist/lib/panels/launchpad/launchpad-panel.d.ts +2 -0
  124. package/dist/lib/panels/panel-with-toggle-button.d.ts +12 -0
  125. package/dist/lib/panels/panel-wrapper.d.ts +11 -0
  126. package/dist/lib/panels/types.d.ts +9 -0
  127. package/{lib → dist/lib}/platform-setup/constants.d.ts +1 -1
  128. package/{lib → dist/lib}/platform-setup/reducers.d.ts +2 -2
  129. package/{lib → dist/lib}/platform-setup/setup-steps-list.d.ts +1 -1
  130. package/{lib → dist/lib}/platform-setup/types.d.ts +4 -4
  131. package/dist/lib/preferences-panel/preferences-panel.d.ts +2 -0
  132. package/dist/lib/profile-panel/profile-panel.d.ts +9 -0
  133. package/{lib → dist/lib}/search/search-bar/search-bar.d.ts +1 -0
  134. package/dist/lib/search/search-results-section/search-results-section.d.ts +5 -0
  135. package/{lib → dist/lib}/search/search-results-section/types.d.ts +3 -3
  136. package/dist/lib/search/search-results-section/useExecuteLayoutSearchResultAction.d.ts +2 -0
  137. package/dist/lib/search/search-results-section/useGenerateLayoutFromId.d.ts +2 -0
  138. package/dist/lib/search/search-results-section/useGetActionExecutor.d.ts +1 -0
  139. package/dist/lib/search/search-results-section/useSearchResultsSectionConfigs.d.ts +3 -0
  140. package/{lib → dist/lib}/section/helpers.d.ts +2 -2
  141. package/{lib → dist/lib}/section/section.d.ts +1 -1
  142. package/{lib → dist/lib}/section/types.d.ts +1 -1
  143. package/dist/lib/spinner/index.d.ts +1 -0
  144. package/dist/lib/system-menu/helpers.d.ts +3 -0
  145. package/dist/lib/system-menu/system-menu.d.ts +6 -0
  146. package/dist/lib/system-menu/types.d.ts +9 -0
  147. package/dist/lib/workspaces-section/constants.d.ts +3 -0
  148. package/{lib → dist/lib}/workspaces-section/helpers.d.ts +3 -3
  149. package/{lib → dist/lib}/workspaces-section/workspaces-section.d.ts +1 -1
  150. package/package.json +59 -41
  151. package/assets/fonts/nunito-regular-webfont.woff +0 -0
  152. package/assets/fonts/nunito-regular-webfont.woff2 +0 -0
  153. package/assets/fonts/nunito-semibold-webfont.woff +0 -0
  154. package/assets/fonts/nunito-semibold-webfont.woff2 +0 -0
  155. package/assets/io-connect-browser-logo.json +0 -5
  156. package/common/types.d.ts +0 -10
  157. package/decoders/config.d.ts +0 -3
  158. package/decoders/context-menu.d.ts +0 -3
  159. package/decoders/favorites.d.ts +0 -3
  160. package/decoders/layouts.d.ts +0 -3
  161. package/decoders/user.d.ts +0 -3
  162. package/decoders/validation.d.ts +0 -3
  163. package/executors/notificationsSort.d.ts +0 -7
  164. package/executors/setupStepsActions.d.ts +0 -3
  165. package/executors/types.d.ts +0 -26
  166. package/helpers/date.d.ts +0 -1
  167. package/helpers/string.d.ts +0 -1
  168. package/hooks/index.d.ts +0 -25
  169. package/hooks/useApplications.d.ts +0 -2
  170. package/hooks/useExecuteLayoutAction.d.ts +0 -2
  171. package/hooks/useFavoriteEntities.d.ts +0 -7
  172. package/hooks/useFrame.d.ts +0 -2
  173. package/hooks/useIsBrowserSupported.d.ts +0 -1
  174. package/hooks/useLayouts.d.ts +0 -2
  175. package/hooks/useNotificationsSort.d.ts +0 -5
  176. package/hooks/useStartApplication.d.ts +0 -4
  177. package/hooks/useWorkspaces.d.ts +0 -2
  178. package/index.css +0 -1
  179. package/index.d.ts +0 -37
  180. package/index.js +0 -54
  181. package/index.js.map +0 -1
  182. package/index.mjs +0 -8651
  183. package/index.mjs.map +0 -1
  184. package/lib/applications-section/helpers.d.ts +0 -6
  185. package/lib/applications-section/types.d.ts +0 -4
  186. package/lib/base-section/base-section-item.d.ts +0 -13
  187. package/lib/base-section/types.d.ts +0 -29
  188. package/lib/browser-not-supported/additional-information.d.ts +0 -5
  189. package/lib/browser-not-supported/browser-not-supported.d.ts +0 -11
  190. package/lib/browser-not-supported/constants.d.ts +0 -6
  191. package/lib/button/button.d.ts +0 -7
  192. package/lib/button-group/button-group.d.ts +0 -8
  193. package/lib/context-menu/constants.d.ts +0 -3
  194. package/lib/context-menu/context-menu.d.ts +0 -10
  195. package/lib/context-menu/dropdown-button/dropdown-button.d.ts +0 -11
  196. package/lib/dialog/dialog.d.ts +0 -8
  197. package/lib/favorites-section/helpers.d.ts +0 -3
  198. package/lib/home-app-workspace/after-tabs.d.ts +0 -3
  199. package/lib/home-app-workspace/home-app-workspace.d.ts +0 -14
  200. package/lib/home-app-workspace/index.d.ts +0 -2
  201. package/lib/home-app-workspace/launchpad-access.d.ts +0 -6
  202. package/lib/home-app-workspace/workspace-logo.d.ts +0 -10
  203. package/lib/icon/icon.d.ts +0 -9
  204. package/lib/icon-components/google-chrome-icon.d.ts +0 -2
  205. package/lib/icon-components/index.d.ts +0 -7
  206. package/lib/icon-components/microsoft-edge-icon.d.ts +0 -2
  207. package/lib/icon-components/opera-icon.d.ts +0 -2
  208. package/lib/icon-components/platform-setup/index.d.ts +0 -4
  209. package/lib/img-icon/img-icon.d.ts +0 -8
  210. package/lib/launchpad/default-sections.d.ts +0 -2
  211. package/lib/launchpad/helpers.d.ts +0 -3
  212. package/lib/launchpad/launchpad.context.d.ts +0 -19
  213. package/lib/launchpad/launchpad.d.ts +0 -12
  214. package/lib/launchpad/types.d.ts +0 -16
  215. package/lib/layouts-panel/available-layouts.d.ts +0 -6
  216. package/lib/layouts-panel/constants.d.ts +0 -6
  217. package/lib/layouts-panel/helpers.d.ts +0 -4
  218. package/lib/layouts-panel/layout-actions.d.ts +0 -9
  219. package/lib/layouts-panel/layouts-notification.d.ts +0 -6
  220. package/lib/layouts-panel/types.d.ts +0 -20
  221. package/lib/login/index.d.ts +0 -4
  222. package/lib/login/login-heading.d.ts +0 -5
  223. package/lib/login/login-loader.d.ts +0 -5
  224. package/lib/logo/logo.d.ts +0 -2
  225. package/lib/notifications-panel/constants.d.ts +0 -9
  226. package/lib/notifications-panel/index.d.ts +0 -4
  227. package/lib/notifications-panel/notification.d.ts +0 -6
  228. package/lib/notifications-panel/notifications-badge.d.ts +0 -5
  229. package/lib/notifications-panel/notifications-icon.d.ts +0 -6
  230. package/lib/notifications-panel/notifications-panel.d.ts +0 -2
  231. package/lib/notifications-panel/types.d.ts +0 -7
  232. package/lib/panels/launchpad-slide-panel.d.ts +0 -10
  233. package/lib/panels/slide-panel.d.ts +0 -9
  234. package/lib/search/search-results-section/helpers.d.ts +0 -3
  235. package/lib/search/search-results-section/search-results-section.d.ts +0 -5
  236. package/lib/spinner/index.d.ts +0 -1
  237. package/lib/user-panel/settings-card.d.ts +0 -2
  238. package/lib/user-panel/support-card.d.ts +0 -11
  239. package/lib/user-panel/user-details-card.d.ts +0 -6
  240. package/lib/user-panel/user-panel-icon.d.ts +0 -6
  241. package/lib/user-panel/user-panel.d.ts +0 -7
  242. /package/{constants → dist/constants}/auth0LoginTypes.d.ts +0 -0
  243. /package/{constants → dist/constants}/modifierKeys.d.ts +0 -0
  244. /package/{constants → dist/constants}/sortOrder.d.ts +0 -0
  245. /package/{hooks → dist/hooks}/useApplicationsInstances.d.ts +0 -0
  246. /package/{hooks → dist/hooks}/useBeforeunload.d.ts +0 -0
  247. /package/{hooks → dist/hooks}/useExecuteLayoutOperationIfNotBlocked.d.ts +0 -0
  248. /package/{hooks → dist/hooks}/useIsHomeLoaded.d.ts +0 -0
  249. /package/{hooks → dist/hooks}/useIsRunningInDesktopContainer.d.ts +0 -0
  250. /package/{hooks → dist/hooks}/usePressedKeys.d.ts +0 -0
  251. /package/{hooks → dist/hooks}/useUA.d.ts +0 -0
  252. /package/{hooks → dist/hooks}/useWorkspacesInstances.d.ts +0 -0
  253. /package/{lib → dist/lib}/home-app-workspace/no-logo.d.ts +0 -0
  254. /package/{lib → dist/lib}/home-app-workspace/types.d.ts +0 -0
  255. /package/{lib → dist/lib}/home-app-workspace/useAddWindowButtonVisible.d.ts +0 -0
  256. /package/{lib → dist/lib}/icon-components/platform-setup/browser-notifications-icon.d.ts +0 -0
  257. /package/{lib → dist/lib}/icon-components/platform-setup/popups-icon.d.ts +0 -0
  258. /package/{lib → dist/lib}/icon-components/platform-setup/pwa-install-icon.d.ts +0 -0
  259. /package/{lib → dist/lib}/icon-components/platform-setup/window-management-icon.d.ts +0 -0
  260. /package/{lib → dist/lib}/icon-components/reopen-prompt-icon.d.ts +0 -0
  261. /package/{lib → dist/lib}/icon-components/start-failed-icon.d.ts +0 -0
  262. /package/{lib → dist/lib}/icon-components/warning-icon.d.ts +0 -0
  263. /package/{lib → dist/lib}/info-card/info-card.d.ts +0 -0
  264. /package/{lib → dist/lib}/info-page-container/info-page-container.d.ts +0 -0
  265. /package/{lib → dist/lib}/io-connect-home-provider/constants.d.ts +0 -0
  266. /package/{lib → dist/lib}/layouts-panel/layouts-panel.d.ts +0 -0
  267. /package/{lib → dist/lib}/login/constants.d.ts +0 -0
  268. /package/{lib → dist/lib}/login/login-logo.d.ts +0 -0
  269. /package/{lib → dist/lib}/login/login-page-container.d.ts +0 -0
  270. /package/{lib → dist/lib}/platform-setup/platform-setup.d.ts +0 -0
  271. /package/{lib → dist/lib}/platform-setup/setup-steps.d.ts +0 -0
  272. /package/{lib → dist/lib}/platform-setup/use-edge-notifications-permission.d.ts +0 -0
  273. /package/{lib → dist/lib}/section/section.context.d.ts +0 -0
  274. /package/{lib → dist/lib}/spinner/spinner.d.ts +0 -0
  275. /package/{lib → dist/lib}/system-loader/system-loader.d.ts +0 -0
  276. /package/{lib → dist/lib}/workspaces-section/types.d.ts +0 -0
@@ -1,6 +0,0 @@
1
- import { IOConnectBrowser } from '@interopio/browser';
2
- import { SectionType } from '../section/types';
3
- import { ApplicationsSectionProps } from './types';
4
- export declare const getApplicationsSectionConfig: (applications: IOConnectBrowser.AppManager.Application[], runningInstances: {
5
- [appName: string]: string[];
6
- }, settings: ApplicationsSectionProps) => SectionType;
@@ -1,4 +0,0 @@
1
- import { DefaultSectionProps } from '../../common/types';
2
- export type ApplicationsSectionProps = {
3
- isFolderCollapsible?: boolean;
4
- } & DefaultSectionProps;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseSectionItemType } from './types';
3
- import { ContextMenuAction } from '../context-menu/types';
4
- import { ActivationEvent } from '../../helpers/a11y';
5
- interface BaseSectionItemProps<Item extends BaseSectionItemType> extends React.HTMLProps<HTMLDivElement> {
6
- isFavoritismEnabled?: boolean;
7
- item: Item;
8
- onClick: (event: ActivationEvent, action?: ContextMenuAction) => void;
9
- onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
10
- focused: boolean;
11
- }
12
- export declare const BaseSectionItem: <Item extends BaseSectionItemType>(props: BaseSectionItemProps<Item>) => import("react/jsx-runtime").JSX.Element;
13
- export default BaseSectionItem;
@@ -1,29 +0,0 @@
1
- import { ContextMenuAction } from '../context-menu/types';
2
- export type PaginationSettings = {
3
- showAllItems: boolean;
4
- displayCount?: never;
5
- } | {
6
- showAllItems?: never;
7
- displayCount: number;
8
- } | {
9
- showAllItems?: never;
10
- displayCount?: never;
11
- };
12
- export interface BaseSectionItemType {
13
- description?: string;
14
- icon?: string;
15
- iconSrc?: string;
16
- id: string;
17
- isOpen?: boolean;
18
- contextMenuActions?: ContextMenuAction[];
19
- title: string;
20
- type: string;
21
- }
22
- export type BaseSectionType<Item extends BaseSectionItemType> = {
23
- iconSrc?: string;
24
- iconName?: string;
25
- id: string;
26
- items: (Item | BaseSectionType<Item>)[];
27
- title: string;
28
- isCollapsible?: boolean;
29
- } & PaginationSettings;
@@ -1,5 +0,0 @@
1
- interface AdditionalInformationProps {
2
- supportEmail?: string;
3
- }
4
- export declare const AdditionalInformation: ({ supportEmail }: AdditionalInformationProps) => import("react/jsx-runtime").JSX.Element;
5
- export default AdditionalInformation;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- interface BrowserNotSupportedProps {
3
- components?: {
4
- Logo?: React.ComponentType<{
5
- className?: string;
6
- }>;
7
- };
8
- supportEmail?: string;
9
- }
10
- export declare const BrowserNotSupported: ({ components: { Logo }, supportEmail }: BrowserNotSupportedProps) => import("react/jsx-runtime").JSX.Element;
11
- export default BrowserNotSupported;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const RECOMMENDED_BROWSERS: {
3
- name: string;
4
- Image: React.ComponentType;
5
- url: string;
6
- }[];
@@ -1,7 +0,0 @@
1
- import { HTMLProps } from 'react';
2
- export interface ButtonProps extends HTMLProps<HTMLButtonElement> {
3
- type?: 'button' | 'submit' | 'reset';
4
- color?: 'primary' | 'secondary';
5
- }
6
- export declare function Button({ children, className, color, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
7
- export default Button;
@@ -1,8 +0,0 @@
1
- import { HTMLProps } from 'react';
2
- import { ButtonProps } from '../button/button';
3
- export interface ButtonGroupProps extends HTMLProps<HTMLDivElement> {
4
- items: ButtonProps[];
5
- onItemClick?: (event: React.MouseEvent, props: ButtonProps) => void;
6
- }
7
- export declare function ButtonGroup(props: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
8
- export default ButtonGroup;
@@ -1,3 +0,0 @@
1
- import { ContextMenuAction } from './types';
2
- export declare const APPLICATION_ACTIONS: ContextMenuAction[];
3
- export declare const WORKSPACE_ACTIONS: ContextMenuAction[];
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { ContextMenuAction } from './types';
3
- import { ActivationEvent } from '../../helpers/a11y';
4
- interface ContextMenuProps extends React.HTMLProps<HTMLUListElement> {
5
- actions: ContextMenuAction[];
6
- onClose: () => void;
7
- onActionItemClick: (event: ActivationEvent, action: ContextMenuAction) => void;
8
- }
9
- export declare const ContextMenu: import("react").ForwardRefExoticComponent<Omit<ContextMenuProps, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
10
- export default ContextMenu;
@@ -1,11 +0,0 @@
1
- import { ContextMenuAction } from '../types';
2
- import { ActivationEvent } from 'packages/home-ui-react/src/helpers/a11y';
3
- export interface DropdownButtonProps {
4
- iconName: string;
5
- iconSize?: number;
6
- actions: ContextMenuAction[];
7
- isTabStop?: boolean;
8
- onActionItemClick: (event: ActivationEvent, action: ContextMenuAction) => void;
9
- }
10
- export declare function DropdownButton(props: DropdownButtonProps): import("react/jsx-runtime").JSX.Element;
11
- export default DropdownButton;
@@ -1,8 +0,0 @@
1
- import { HTMLProps, PropsWithChildren } from 'react';
2
- interface DialogProps extends HTMLProps<HTMLDialogElement> {
3
- open: boolean;
4
- showCloseButton?: boolean;
5
- closeFn: () => void;
6
- }
7
- export declare const Dialog: ({ children, closeFn, open, showCloseButton }: PropsWithChildren<DialogProps>) => import("react/jsx-runtime").JSX.Element;
8
- export default Dialog;
@@ -1,3 +0,0 @@
1
- import type { DefaultSectionProps, FavoriteEntity } from '../../common/types';
2
- import type { SectionType } from '../section/types';
3
- export declare const getFavoritesSectionConfig: (favorites: FavoriteEntity[], settings: DefaultSectionProps) => SectionType;
@@ -1,3 +0,0 @@
1
- import { GroupHeaderComponentProps } from '@interopio/workspaces-ui-react/dist/cjs/types/api';
2
- export declare const AfterTabs: ({ groupId, workspaceId }: GroupHeaderComponentProps) => false | import("react/jsx-runtime").JSX.Element;
3
- export default AfterTabs;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { User, WorkspacesConfig, LaunchpadConfig, BeforeunloadDialogConfig } from '../io-connect-home/types';
3
- interface HomeAppWorkspaceProps {
4
- onLogout?: () => void;
5
- user?: User | null;
6
- workspaces?: WorkspacesConfig;
7
- launchpad?: LaunchpadConfig;
8
- Loader?: React.ComponentType<{
9
- text?: string;
10
- }>;
11
- beforeunloadDialog?: BeforeunloadDialogConfig;
12
- }
13
- export declare const HomeAppWorkspace: ({ onLogout, user, workspaces, launchpad, Loader, beforeunloadDialog, }: HomeAppWorkspaceProps) => import("react/jsx-runtime").JSX.Element;
14
- export {};
@@ -1,2 +0,0 @@
1
- export * from './workspace-logo';
2
- export * from './home-app-workspace';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LaunchpadAccessProps {
3
- icon?: React.ReactElement;
4
- }
5
- export declare const LaunchpadAccess: ({ icon }: LaunchpadAccessProps) => import("react/jsx-runtime").JSX.Element;
6
- export default LaunchpadAccess;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { LaunchpadConfig, User } from '../io-connect-home/types';
3
- export interface WorkspaceLogoProps {
4
- onLogout?: () => void;
5
- user?: User | null;
6
- launchpad?: LaunchpadConfig;
7
- icon?: React.ReactElement;
8
- }
9
- export declare const WorkspaceLogo: (props: WorkspaceLogoProps) => import("react/jsx-runtime").JSX.Element;
10
- export default WorkspaceLogo;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ActivationEvent } from '../../helpers/a11y';
3
- export interface IconProps extends React.HTMLProps<HTMLSpanElement> {
4
- name: string;
5
- handleClick?: (e: ActivationEvent<HTMLSpanElement>) => void;
6
- size?: number;
7
- }
8
- export declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
9
- export default Icon;
@@ -1,2 +0,0 @@
1
- export declare const GoogleChromeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
- export default GoogleChromeIcon;
@@ -1,7 +0,0 @@
1
- export * from './google-chrome-icon';
2
- export * from './microsoft-edge-icon';
3
- export * from './opera-icon';
4
- export * from './platform-setup';
5
- export * from './reopen-prompt-icon';
6
- export * from './start-failed-icon';
7
- export * from './warning-icon';
@@ -1,2 +0,0 @@
1
- export declare const MicrosoftEdgeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
- export default MicrosoftEdgeIcon;
@@ -1,2 +0,0 @@
1
- export declare const OperaIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
- export default OperaIcon;
@@ -1,4 +0,0 @@
1
- export * from './browser-notifications-icon';
2
- export * from './popups-icon';
3
- export * from './pwa-install-icon';
4
- export * from './window-management-icon';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ImgIconProps extends React.HTMLProps<HTMLImageElement> {
3
- src: string;
4
- size?: number;
5
- crossOrigin?: '' | 'anonymous' | 'use-credentials';
6
- }
7
- export declare function ImgIcon(props: ImgIconProps): import("react/jsx-runtime").JSX.Element;
8
- export default ImgIcon;
@@ -1,2 +0,0 @@
1
- export declare const DefaultSections: () => import("react/jsx-runtime").JSX.Element;
2
- export default DefaultSections;
@@ -1,3 +0,0 @@
1
- import { IOConnectBrowser } from '@interopio/browser';
2
- import { IOConnectDesktop } from '@interopio/desktop';
3
- export declare const getGlobalLayoutWorkspaceNames: (layout: IOConnectDesktop.Layouts.Layout | IOConnectBrowser.Layouts.Layout) => string[];
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- import { LayoutSummary } from '../layouts-panel/types';
3
- interface LaunchpadAPIProviderProps {
4
- children: React.ReactNode;
5
- setOpen: React.Dispatch<React.SetStateAction<boolean>>;
6
- isOpen: boolean;
7
- }
8
- export declare const useLaunchpadAPI: () => {
9
- close: () => void;
10
- isOpen: boolean;
11
- defaultLayout: LayoutSummary | null;
12
- selectedLayout: LayoutSummary | null;
13
- setDefaultLayout: (layout: LayoutSummary) => Promise<void>;
14
- setSelectedLayout: (layout: LayoutSummary) => void;
15
- isLayoutOperationBlocked: boolean;
16
- setIsLayoutOperationBlocked: React.Dispatch<React.SetStateAction<boolean>>;
17
- };
18
- export declare const LaunchpadAPIProvider: ({ children, setOpen, isOpen }: LaunchpadAPIProviderProps) => import("react/jsx-runtime").JSX.Element;
19
- export {};
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { User } from '../io-connect-home/types';
3
- import { LaunchpadComponents } from './types';
4
- export interface LaunchpadProps extends React.HTMLProps<HTMLDivElement> {
5
- open: boolean;
6
- setOpen: React.Dispatch<React.SetStateAction<boolean>>;
7
- onLogout?: () => void;
8
- components?: LaunchpadComponents;
9
- user?: User | null;
10
- }
11
- export declare function Launchpad(props: LaunchpadProps): import("react/jsx-runtime").JSX.Element;
12
- export default Launchpad;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- interface LaunchpadComponentsBasic {
3
- NotificationsPanel?: React.ComponentType | null;
4
- UserPanel?: React.ComponentType | null;
5
- }
6
- export type LaunchpadComponents = (LaunchpadComponentsBasic & {
7
- sections?: never;
8
- Sections?: never;
9
- }) | (LaunchpadComponentsBasic & {
10
- sections: React.ReactElement;
11
- Sections?: never;
12
- }) | (LaunchpadComponentsBasic & {
13
- sections?: never;
14
- Sections: React.ComponentType;
15
- });
16
- export {};
@@ -1,6 +0,0 @@
1
- import type { Layout } from './types';
2
- interface AvailableLayoutsProps {
3
- layouts: Layout[];
4
- }
5
- export declare const AvailableLayouts: (props: AvailableLayoutsProps) => import("react/jsx-runtime").JSX.Element;
6
- export default AvailableLayouts;
@@ -1,6 +0,0 @@
1
- import type { Notification } from './types';
2
- export declare const NOTIFICATION_TYPE_TO_ICON_NAME_MAPPING: Record<Notification['type'], string>;
3
- export declare const LAYOUT_ACTIONS_NAMES: {
4
- readonly SET_AS_DEFAULT: "setAsDefault";
5
- readonly DELETE: "delete";
6
- };
@@ -1,4 +0,0 @@
1
- import { Layout } from './types';
2
- import { ContextMenuAction } from '../context-menu/types';
3
- export declare const createLayoutContextMenuActions: (layout: Layout) => ContextMenuAction[];
4
- export declare const createActionClickHandler: (callback: () => Promise<unknown> | void) => (event: React.MouseEvent) => Promise<void>;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Notification } from './types';
3
- interface LayoutActionsProps {
4
- inputValue: string;
5
- setNotification: React.Dispatch<React.SetStateAction<Notification | null>>;
6
- className?: string;
7
- }
8
- declare const LayoutActions: (props: LayoutActionsProps) => import("react/jsx-runtime").JSX.Element;
9
- export default LayoutActions;
@@ -1,6 +0,0 @@
1
- import type { Notification } from './types';
2
- interface LayoutsNotificationProps extends Notification {
3
- className?: string;
4
- }
5
- declare const LayoutsNotification: ({ className, message, type }: LayoutsNotificationProps) => import("react/jsx-runtime").JSX.Element;
6
- export default LayoutsNotification;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- export interface Layout {
3
- name: string;
4
- type: string;
5
- isDefault?: boolean;
6
- isSelected?: boolean;
7
- }
8
- export type LayoutSummary = Pick<Layout, 'name'>;
9
- export type ActionType = 'save' | 'restore';
10
- export interface Action {
11
- type: ActionType;
12
- label: string;
13
- disabled?: boolean;
14
- onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
15
- testId?: string;
16
- }
17
- export interface Notification {
18
- message: string;
19
- type: 'success';
20
- }
@@ -1,4 +0,0 @@
1
- export * from './login-loader';
2
- export * from './auth0/auth0-login-page';
3
- export * from './simple/simple-login-page';
4
- export * from './simple/simple-login-form';
@@ -1,5 +0,0 @@
1
- export interface LoginHeadingProps {
2
- className?: string;
3
- text?: string;
4
- }
5
- export declare const LoginHeading: ({ className, text }: LoginHeadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { LoginPageComponents } from './types';
2
- export interface LoginLoaderProps {
3
- components?: LoginPageComponents;
4
- }
5
- export declare const LoginLoader: ({ components }: LoginLoaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
2
- export default Logo;
@@ -1,9 +0,0 @@
1
- import { ActiveSort, NotificationSeverity, SortKey } from './types';
2
- export declare const SEVERITY_ORDER: readonly NotificationSeverity[];
3
- export declare const SEVERITY_COLORS: {
4
- [Severity in NotificationSeverity]: string;
5
- };
6
- export declare const SORT_KEY: {
7
- [Key in SortKey as Uppercase<Key>]: Key;
8
- };
9
- export declare const DEFAULT_SORT: ActiveSort;
@@ -1,4 +0,0 @@
1
- export { Notification } from './notification';
2
- export { NotificationsBadge } from './notifications-badge';
3
- export { NotificationsIcon } from './notifications-icon';
4
- export { NotificationsPanel } from './notifications-panel';
@@ -1,6 +0,0 @@
1
- import { IOConnectBrowser } from '@interopio/browser';
2
- interface NotificationProps {
3
- notificationData: IOConnectBrowser.Notifications.NotificationData;
4
- }
5
- export declare const Notification: (props: NotificationProps) => import("react/jsx-runtime").JSX.Element;
6
- export default Notification;
@@ -1,5 +0,0 @@
1
- interface NotificationsBadgeProps {
2
- className?: string;
3
- }
4
- export declare const NotificationsBadge: (props: NotificationsBadgeProps) => import("react/jsx-runtime").JSX.Element | null;
5
- export default NotificationsBadge;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- interface NotificationsIconProps extends React.HTMLAttributes<HTMLDivElement> {
3
- iconSize?: number;
4
- }
5
- export declare const NotificationsIcon: (props: NotificationsIconProps) => import("react/jsx-runtime").JSX.Element;
6
- export default NotificationsIcon;
@@ -1,2 +0,0 @@
1
- export declare const NotificationsPanel: () => import("react/jsx-runtime").JSX.Element;
2
- export default NotificationsPanel;
@@ -1,7 +0,0 @@
1
- import { IOConnectBrowser } from '@interopio/browser';
2
- export type SortKey = 'timestamp' | 'severity';
3
- export type ActiveSort = {
4
- key: SortKey;
5
- descending: boolean;
6
- };
7
- export type NotificationSeverity = NonNullable<IOConnectBrowser.Notifications.NotificationData['severity']>;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { User } from '../io-connect-home/types';
3
- import { LaunchpadComponents } from '../launchpad/types';
4
- export interface LaunchpadSlidePanelProps {
5
- icon?: React.ReactElement;
6
- components?: LaunchpadComponents;
7
- onLogout?: () => void;
8
- user?: User | null;
9
- }
10
- export declare const LaunchpadSlidePanel: (props: LaunchpadSlidePanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export interface SlidePanelRenderPropsProps {
3
- icon: React.ReactElement;
4
- children: (props: {
5
- open: boolean;
6
- setOpen: React.Dispatch<React.SetStateAction<boolean>>;
7
- }) => React.ReactNode;
8
- }
9
- export declare const SlidePanel: (props: SlidePanelRenderPropsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
1
- import { IOConnectSearch } from '@interopio/search-api';
2
- import type { SearchResultsSectionType } from './types';
3
- export declare const getSearchResultsSectionConfigs: (results: IOConnectSearch.QueryResult[]) => SearchResultsSectionType[];
@@ -1,5 +0,0 @@
1
- export interface SearchResultsProps {
2
- searchTerm: string;
3
- }
4
- export declare function SearchResults(props: SearchResultsProps): import("react/jsx-runtime").JSX.Element;
5
- export default SearchResults;
@@ -1 +0,0 @@
1
- export * from './spinner';
@@ -1,2 +0,0 @@
1
- export declare const SettingsCard: () => import("react/jsx-runtime").JSX.Element;
2
- export default SettingsCard;
@@ -1,11 +0,0 @@
1
- import { HTMLProps } from 'react';
2
- import { User } from '../io-connect-home/types';
3
- export interface SupportCardProps {
4
- title?: string;
5
- description?: string;
6
- links?: HTMLProps<HTMLAnchorElement>[];
7
- onLogout?: () => void;
8
- user?: User | null;
9
- }
10
- export declare const SupportCard: ({ title, description, links, onLogout, user }: SupportCardProps) => import("react/jsx-runtime").JSX.Element;
11
- export default SupportCard;
@@ -1,6 +0,0 @@
1
- import { User } from '../io-connect-home/types';
2
- export interface UserDetailsCardProps {
3
- user?: User | null;
4
- }
5
- export declare const UserDetailsCard: ({ user }: UserDetailsCardProps) => import("react/jsx-runtime").JSX.Element;
6
- export default UserDetailsCard;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- interface UserPanelIconProps extends React.HTMLAttributes<HTMLDivElement> {
3
- initials: string;
4
- }
5
- export declare const UserPanelIcon: (props: UserPanelIconProps) => import("react/jsx-runtime").JSX.Element;
6
- export default UserPanelIcon;
@@ -1,7 +0,0 @@
1
- import { User } from '../io-connect-home/types';
2
- export interface UserPanelProps {
3
- onLogout?: () => void;
4
- user?: User | null;
5
- }
6
- export declare const UserPanel: ({ onLogout, user }: UserPanelProps) => import("react/jsx-runtime").JSX.Element;
7
- export default UserPanel;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes