@interopio/home-ui-react 1.0.0 → 1.1.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 (124) hide show
  1. package/README.md +30 -32
  2. package/common/types.d.ts +1 -1
  3. package/constants/defaults.d.ts +1 -1
  4. package/constants/storageKeys.d.ts +0 -1
  5. package/decoders/context-menu.d.ts +1 -1
  6. package/decoders/layouts.d.ts +2 -2
  7. package/executors/applicationActions.d.ts +2 -4
  8. package/executors/layoutActions.d.ts +4 -0
  9. package/executors/notificationsSort.d.ts +7 -0
  10. package/executors/types.d.ts +20 -0
  11. package/executors/workspaceActions.d.ts +2 -3
  12. package/helpers/a11y.d.ts +3 -3
  13. package/hooks/index.d.ts +5 -0
  14. package/hooks/useApplications.d.ts +2 -2
  15. package/hooks/useExecuteApplicationAction.d.ts +2 -2
  16. package/hooks/useExecuteLayoutAction.d.ts +2 -0
  17. package/hooks/useExecuteWorkspaceAction.d.ts +2 -2
  18. package/hooks/useFavoriteEntities.d.ts +2 -1
  19. package/hooks/useFrame.d.ts +2 -2
  20. package/hooks/useInvokeInteropMethod.d.ts +2 -2
  21. package/hooks/useLayouts.d.ts +2 -0
  22. package/hooks/useNotifications.d.ts +2 -0
  23. package/hooks/useNotificationsSort.d.ts +5 -0
  24. package/hooks/useRestoreLayout.d.ts +2 -0
  25. package/hooks/useRestoreWorkspace.d.ts +2 -2
  26. package/hooks/useSearch.d.ts +2 -2
  27. package/hooks/useStartApplication.d.ts +1 -1
  28. package/hooks/useStorage.d.ts +1 -1
  29. package/hooks/useWorkspaces.d.ts +1 -1
  30. package/index.css +1 -1
  31. package/index.d.ts +6 -9
  32. package/index.js +9 -9
  33. package/index.js.map +1 -1
  34. package/index.mjs +2742 -3312
  35. package/index.mjs.map +1 -1
  36. package/lib/applications-section/applications-section.d.ts +1 -2
  37. package/lib/applications-section/helpers.d.ts +5 -0
  38. package/lib/base-section/base-section-header.d.ts +1 -1
  39. package/lib/base-section/base-section-item.d.ts +4 -4
  40. package/lib/base-section/base-section.d.ts +2 -3
  41. package/lib/base-section/{base-section.helpers.d.ts → helpers.d.ts} +1 -1
  42. package/lib/base-section/{base-section.types.d.ts → types.d.ts} +1 -1
  43. package/lib/button/button.d.ts +1 -1
  44. package/lib/button-group/button-group.d.ts +2 -2
  45. package/lib/context-menu/constants.d.ts +3 -0
  46. package/lib/context-menu/context-menu.d.ts +2 -2
  47. package/lib/context-menu/dropdown-button/dropdown-button.d.ts +2 -3
  48. package/lib/context-menu/{context-menu-types.d.ts → types.d.ts} +2 -2
  49. package/lib/dialog/dialog.d.ts +8 -0
  50. package/lib/favorites-section/favorites-section.d.ts +1 -2
  51. package/lib/favorites-section/{favorites-section.helpers.d.ts → helpers.d.ts} +1 -1
  52. package/lib/icon/icon.d.ts +1 -1
  53. package/lib/icon-components/browser-notifications-icon.d.ts +1 -2
  54. package/lib/icon-components/reopen-prompt-icon.d.ts +1 -2
  55. package/lib/icon-components/warning-icon.d.ts +1 -2
  56. package/lib/icon-components/window-placement-icon.d.ts +1 -2
  57. package/lib/img-icon/img-icon.d.ts +1 -1
  58. package/lib/{glue42-home-provider/glue42-home-provider.d.ts → io-connect-home-provider/io-connect-home-provider.d.ts} +3 -3
  59. package/lib/launchpad/features/profile-settings/profile-icon.d.ts +6 -0
  60. package/lib/launchpad/launchpad.context.d.ts +6 -1
  61. package/lib/launchpad/launchpad.d.ts +1 -1
  62. package/lib/layouts-panel/available-layouts.d.ts +6 -0
  63. package/lib/layouts-panel/constants.d.ts +6 -0
  64. package/lib/layouts-panel/helpers.d.ts +4 -0
  65. package/lib/layouts-panel/layout-actions.d.ts +9 -0
  66. package/lib/layouts-panel/layouts-notification.d.ts +6 -0
  67. package/lib/layouts-panel/layouts-panel.d.ts +2 -0
  68. package/lib/layouts-panel/types.d.ts +19 -0
  69. package/lib/login/index.d.ts +3 -3
  70. package/lib/login/login-logo.d.ts +1 -1
  71. package/lib/login/reducers.d.ts +1 -1
  72. package/lib/login/types.d.ts +1 -1
  73. package/lib/logo/logo.d.ts +2 -0
  74. package/lib/notifications-panel/constants.d.ts +9 -0
  75. package/lib/notifications-panel/index.d.ts +3 -0
  76. package/lib/notifications-panel/notification.d.ts +6 -0
  77. package/lib/notifications-panel/notifications-badge.d.ts +5 -0
  78. package/lib/notifications-panel/notifications-icon.d.ts +6 -0
  79. package/lib/notifications-panel/notifications-panel.d.ts +1 -2
  80. package/lib/notifications-panel/types.d.ts +7 -0
  81. package/lib/panels/launchpad-slide-panel.d.ts +1 -1
  82. package/lib/panels/slide-panel.d.ts +1 -1
  83. package/lib/permissions-setup/permissions-card.d.ts +1 -1
  84. package/lib/permissions-setup/permissions-list.d.ts +2 -3
  85. package/lib/permissions-setup/permissions-setup-flow.d.ts +1 -2
  86. package/lib/permissions-setup/permissions-setup.d.ts +1 -1
  87. package/lib/permissions-setup/permissions-steps.d.ts +1 -2
  88. package/lib/permissions-setup/something-went-wrong.d.ts +1 -2
  89. package/lib/permissions-setup/types.d.ts +1 -1
  90. package/lib/permissions-setup/unsuccessful-setup.d.ts +1 -2
  91. package/lib/search/search-bar/search-bar.d.ts +1 -1
  92. package/lib/search/search-results-section/helpers.d.ts +3 -0
  93. package/lib/search/search-results-section/search-results-section.d.ts +1 -2
  94. package/lib/search/search-results-section/{search-results-section.types.d.ts → types.d.ts} +4 -4
  95. package/lib/section/{section.helpers.d.ts → helpers.d.ts} +1 -1
  96. package/lib/section/section.context.d.ts +1 -1
  97. package/lib/section/section.d.ts +2 -3
  98. package/lib/section/{section.types.d.ts → types.d.ts} +1 -1
  99. package/lib/settings-card/settings-card.d.ts +1 -2
  100. package/lib/workspaces-section/{workspaces-section.helpers.d.ts → helpers.d.ts} +2 -2
  101. package/lib/workspaces-section/workspaces-section.d.ts +1 -2
  102. package/package.json +6 -6
  103. package/constants/contextMenuActions.d.ts +0 -15
  104. package/lib/applications-section/applications-section.helpers.d.ts +0 -5
  105. package/lib/launchpad/features/profile-settings/user-profile-modal.d.ts +0 -10
  106. package/lib/layout-settings/constants.d.ts +0 -2
  107. package/lib/layout-settings/index.d.ts +0 -2
  108. package/lib/layout-settings/layout-actions.d.ts +0 -8
  109. package/lib/layout-settings/layout-item.d.ts +0 -9
  110. package/lib/layout-settings/layout-notification.d.ts +0 -7
  111. package/lib/layout-settings/layout-settings-container.d.ts +0 -3
  112. package/lib/layout-settings/layout-settings.d.ts +0 -12
  113. package/lib/layout-settings/layout-startup.d.ts +0 -2
  114. package/lib/layout-settings/layout-types.d.ts +0 -30
  115. package/lib/modal/modal.d.ts +0 -9
  116. package/lib/notifications-panel/notification-toast.d.ts +0 -17
  117. package/lib/notifications-panel/notifications-modal.d.ts +0 -4
  118. package/lib/notifications-panel/useNotificationsSort.d.ts +0 -13
  119. package/lib/search/search-results-section/search-results-section.helpers.d.ts +0 -3
  120. /package/assets/{glue-logo.json → io-connect-browser-logo.json} +0 -0
  121. /package/lib/{glue42-home-provider → io-connect-home-provider}/constants.d.ts +0 -0
  122. /package/lib/{glue42-home-provider → io-connect-home-provider}/helpers.d.ts +0 -0
  123. /package/lib/{glue42-home-provider → io-connect-home-provider}/types.d.ts +0 -0
  124. /package/lib/workspaces-section/{workspaces-section.types.d.ts → types.d.ts} +0 -0
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ApplicationsSection(): JSX.Element;
1
+ export declare function ApplicationsSection(): import("react/jsx-runtime").JSX.Element;
3
2
  export default ApplicationsSection;
@@ -0,0 +1,5 @@
1
+ import { IOConnectBrowser } from '@interopio/browser';
2
+ import { SectionType } from '../section/types';
3
+ export declare const getApplicationsSectionConfig: (applications: IOConnectBrowser.AppManager.Application[], runningInstances: {
4
+ [appName: string]: string[];
5
+ }) => SectionType;
@@ -4,5 +4,5 @@ interface BaseSectionHeaderProps extends React.HTMLProps<HTMLHeadingElement> {
4
4
  iconName?: string;
5
5
  title: string;
6
6
  }
7
- export declare const BaseSectionHeader: (props: BaseSectionHeaderProps) => JSX.Element;
7
+ export declare const BaseSectionHeader: (props: BaseSectionHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export default BaseSectionHeader;
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
- import { BaseSectionItemType } from './base-section.types';
3
- import { ContextMenuAction } from '../context-menu/context-menu-types';
2
+ import { BaseSectionItemType } from './types';
3
+ import { ContextMenuAction } from '../context-menu/types';
4
4
  import { ActivationEvent } from '../../helpers/a11y';
5
5
  interface BaseSectionItemProps<Item extends BaseSectionItemType> extends React.HTMLProps<HTMLDivElement> {
6
6
  isFavoritismEnabled?: boolean;
7
7
  item: Item;
8
8
  onClick: (event: ActivationEvent, action?: ContextMenuAction) => void;
9
- onKeyDown: (e: React.KeyboardEvent<HTMLDivElement>) => void;
9
+ onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
10
10
  focused: boolean;
11
11
  }
12
- export declare const BaseSectionItem: <Item extends BaseSectionItemType>(props: BaseSectionItemProps<Item>) => JSX.Element;
12
+ export declare const BaseSectionItem: <Item extends BaseSectionItemType>(props: BaseSectionItemProps<Item>) => import("react/jsx-runtime").JSX.Element;
13
13
  export default BaseSectionItem;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { BaseSectionItemType, BaseSectionType } from './base-section.types';
1
+ import type { BaseSectionItemType, BaseSectionType } from './types';
3
2
  import { ActivationEvent } from '../../helpers/a11y';
4
3
  interface BaseSectionProps<Item extends BaseSectionItemType> {
5
4
  config: BaseSectionType<Item>;
@@ -11,5 +10,5 @@ interface BaseSectionProps<Item extends BaseSectionItemType> {
11
10
  selectedContextMenuActionName?: string;
12
11
  }) => void;
13
12
  }
14
- export declare const BaseSection: <Item extends BaseSectionItemType>(props: BaseSectionProps<Item>) => JSX.Element;
13
+ export declare const BaseSection: <Item extends BaseSectionItemType>(props: BaseSectionProps<Item>) => import("react/jsx-runtime").JSX.Element;
15
14
  export default BaseSection;
@@ -1,2 +1,2 @@
1
- import type { BaseSectionItemType, BaseSectionType } from './base-section.types';
1
+ import type { BaseSectionItemType, BaseSectionType } from './types';
2
2
  export declare const isSection: <Item extends BaseSectionItemType>(item: Item | BaseSectionType<Item>) => item is BaseSectionType<Item>;
@@ -1,4 +1,4 @@
1
- import { ContextMenuAction } from '../context-menu/context-menu-types';
1
+ import { ContextMenuAction } from '../context-menu/types';
2
2
  export interface BaseSectionItemType {
3
3
  description?: string;
4
4
  icon?: string;
@@ -3,5 +3,5 @@ export interface ButtonProps extends HTMLProps<HTMLButtonElement> {
3
3
  type?: 'button' | 'submit' | 'reset';
4
4
  color?: 'primary' | 'secondary';
5
5
  }
6
- export declare function Button({ children, className, color, ...rest }: ButtonProps): JSX.Element;
6
+ export declare function Button({ children, className, color, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default Button;
@@ -2,7 +2,7 @@ import { HTMLProps } from 'react';
2
2
  import { ButtonProps } from '../button/button';
3
3
  export interface ButtonGroupProps extends HTMLProps<HTMLDivElement> {
4
4
  items: ButtonProps[];
5
- onItemClick?: (e: React.MouseEvent, props: ButtonProps) => void;
5
+ onItemClick?: (event: React.MouseEvent, props: ButtonProps) => void;
6
6
  }
7
- export declare function ButtonGroup({ className, items, onItemClick, }: ButtonGroupProps): JSX.Element;
7
+ export declare function ButtonGroup(props: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default ButtonGroup;
@@ -0,0 +1,3 @@
1
+ import { ContextMenuAction } from './types';
2
+ export declare const APPLICATION_ACTIONS: ContextMenuAction[];
3
+ export declare const WORKSPACE_ACTIONS: ContextMenuAction[];
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { ContextMenuAction } from './context-menu-types';
2
+ import { ContextMenuAction } from './types';
3
3
  import { ActivationEvent } from '../../helpers/a11y';
4
4
  interface ContextMenuProps extends React.HTMLProps<HTMLUListElement> {
5
5
  actions: ContextMenuAction[];
6
6
  onClose: () => void;
7
7
  onActionItemClick: (event: ActivationEvent, action: ContextMenuAction) => void;
8
8
  }
9
- export declare const ContextMenu: import("react").ForwardRefExoticComponent<Pick<ContextMenuProps, "id" | "title" | "type" | "name" | "disabled" | "min" | "max" | "onClose" | "tabIndex" | "value" | "children" | "hidden" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "pattern" | "className" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "media" | "mediaGroup" | "method" | "minLength" | "multiple" | "muted" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "actions" | "onActionItemClick"> & import("react").RefAttributes<HTMLUListElement>>;
9
+ export declare const ContextMenu: import("react").ForwardRefExoticComponent<Omit<ContextMenuProps, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
10
10
  export default ContextMenu;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import { ContextMenuAction } from '../context-menu-types';
1
+ import { ContextMenuAction } from '../types';
3
2
  import { ActivationEvent } from 'packages/home-ui-react/src/helpers/a11y';
4
3
  export interface DropdownButtonProps {
5
4
  iconName: string;
@@ -8,5 +7,5 @@ export interface DropdownButtonProps {
8
7
  isTabStop?: boolean;
9
8
  onActionItemClick: (event: ActivationEvent, action: ContextMenuAction) => void;
10
9
  }
11
- export declare function DropdownButton(props: DropdownButtonProps): JSX.Element;
10
+ export declare function DropdownButton(props: DropdownButtonProps): import("react/jsx-runtime").JSX.Element;
12
11
  export default DropdownButton;
@@ -1,9 +1,9 @@
1
- import { Glue42Search } from '@glue42/search-api';
1
+ import { IOConnectSearch } from '@interopio/search-api';
2
2
  export interface ContextMenuAction {
3
3
  name: string;
4
4
  displayName?: string;
5
5
  disabled?: boolean;
6
6
  }
7
7
  export interface SearchResultsContextMenuAction extends ContextMenuAction {
8
- interopParams?: Glue42Search.MainAction;
8
+ interopParams?: IOConnectSearch.MainAction;
9
9
  }
@@ -0,0 +1,8 @@
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 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const FavoritesSection: () => JSX.Element | null;
1
+ export declare const FavoritesSection: () => import("react/jsx-runtime").JSX.Element | null;
3
2
  export default FavoritesSection;
@@ -1,3 +1,3 @@
1
1
  import type { FavoriteEntity } from '../../common/types';
2
- import type { SectionType } from '../section/section.types';
2
+ import type { SectionType } from '../section/types';
3
3
  export declare const getFavoritesSectionConfig: (favorites: FavoriteEntity[]) => SectionType;
@@ -5,5 +5,5 @@ export interface IconProps extends React.HTMLProps<HTMLSpanElement> {
5
5
  handleClick?: (e: ActivationEvent<HTMLSpanElement>) => void;
6
6
  size?: number;
7
7
  }
8
- export declare const Icon: import("react").ForwardRefExoticComponent<Pick<IconProps, "id" | "title" | "type" | "name" | "disabled" | "min" | "max" | "tabIndex" | "value" | "children" | "hidden" | "key" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "pattern" | "className" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "media" | "mediaGroup" | "method" | "minLength" | "multiple" | "muted" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "handleClick"> & import("react").RefAttributes<HTMLSpanElement>>;
8
+ export declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
9
9
  export default Icon;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const BrowserNotificationsIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
1
+ export declare const BrowserNotificationsIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
2
  export default BrowserNotificationsIcon;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ReopenPromptIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
1
+ export declare const ReopenPromptIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
2
  export default ReopenPromptIcon;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const WarningIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
1
+ export declare const WarningIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
2
  export default WarningIcon;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const WindowPlacementIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
1
+ export declare const WindowPlacementIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
2
  export default WindowPlacementIcon;
@@ -4,5 +4,5 @@ export interface ImgIconProps extends React.HTMLProps<HTMLImageElement> {
4
4
  size?: number;
5
5
  crossOrigin?: '' | 'anonymous' | 'use-credentials';
6
6
  }
7
- export declare function ImgIcon(props: ImgIconProps): JSX.Element;
7
+ export declare function ImgIcon(props: ImgIconProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default ImgIcon;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import type { HomePermissionStatus } from './types';
3
- interface Glue42HomeProviderProps {
3
+ interface IOConnectHomeProviderProps {
4
4
  children: React.ReactNode;
5
5
  }
6
- export declare const useGlue42Home: () => {
6
+ export declare const useIOConnectHome: () => {
7
7
  permission: {
8
8
  isDenied: boolean;
9
9
  isLoading: boolean;
@@ -11,5 +11,5 @@ export declare const useGlue42Home: () => {
11
11
  statuses: HomePermissionStatus[];
12
12
  };
13
13
  };
14
- export declare const Glue42HomeProvider: ({ children }: Glue42HomeProviderProps) => JSX.Element;
14
+ export declare const IOConnectHomeProvider: ({ children }: IOConnectHomeProviderProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface ProfileIconProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ initials: string;
4
+ }
5
+ export declare const ProfileIcon: (props: ProfileIconProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default ProfileIcon;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { LayoutSummary } from '../layouts-panel/types';
2
3
  interface LaunchpadAPIProviderProps {
3
4
  children: React.ReactNode;
4
5
  setOpen: React.Dispatch<React.SetStateAction<boolean>>;
@@ -7,6 +8,10 @@ interface LaunchpadAPIProviderProps {
7
8
  export declare const useLaunchpadAPI: () => {
8
9
  close: () => void;
9
10
  isOpen: boolean;
11
+ defaultLayout: LayoutSummary | null;
12
+ selectedLayout: LayoutSummary | null;
13
+ setDefaultLayout: (layout: LayoutSummary) => Promise<void>;
14
+ setSelectedLayout: (layout: LayoutSummary) => void;
10
15
  };
11
- export declare const LaunchpadAPIProvider: ({ children, setOpen, isOpen, }: LaunchpadAPIProviderProps) => JSX.Element;
16
+ export declare const LaunchpadAPIProvider: ({ children, setOpen, isOpen }: LaunchpadAPIProviderProps) => import("react/jsx-runtime").JSX.Element;
12
17
  export {};
@@ -10,5 +10,5 @@ export interface LaunchpadProps extends React.HTMLProps<HTMLDivElement> {
10
10
  name?: string;
11
11
  };
12
12
  }
13
- export declare function Launchpad(props: LaunchpadProps): JSX.Element;
13
+ export declare function Launchpad(props: LaunchpadProps): import("react/jsx-runtime").JSX.Element;
14
14
  export default Launchpad;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,6 @@
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
+ };
@@ -0,0 +1,4 @@
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>;
@@ -0,0 +1,9 @@
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;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,2 @@
1
+ export declare const LayoutsPanel: () => import("react/jsx-runtime").JSX.Element;
2
+ export default LayoutsPanel;
@@ -0,0 +1,19 @@
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
+ }
16
+ export interface Notification {
17
+ message: string;
18
+ type: 'success';
19
+ }
@@ -1,3 +1,3 @@
1
- export * from "./login";
2
- export * from "./login-loader";
3
- export * from "./login-auth0";
1
+ export * from './login';
2
+ export * from './login-loader';
3
+ export * from './login-auth0';
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
1
+ import { FC } from 'react';
2
2
  export interface LogoProps {
3
3
  logoSrc?: string;
4
4
  width?: string;
@@ -1,3 +1,3 @@
1
- import { LoginFormElementReducer } from "./types";
1
+ import { LoginFormElementReducer } from './types';
2
2
  export declare const emailReducer: LoginFormElementReducer;
3
3
  export declare const passwordReducer: LoginFormElementReducer;
@@ -1,4 +1,4 @@
1
- import { Reducer } from "react";
1
+ import { Reducer } from 'react';
2
2
  export interface LoginDesignProps {
3
3
  components?: {
4
4
  Logo?: React.ComponentType;
@@ -0,0 +1,2 @@
1
+ export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Logo;
@@ -0,0 +1,9 @@
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 +1,4 @@
1
+ export { Notification } from './notification';
2
+ export { NotificationsBadge } from './notifications-badge';
3
+ export { NotificationsIcon } from './notifications-icon';
1
4
  export { NotificationsPanel } from './notifications-panel';
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,6 @@
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,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function NotificationsPanel(): JSX.Element;
1
+ export declare const NotificationsPanel: () => import("react/jsx-runtime").JSX.Element;
3
2
  export default NotificationsPanel;
@@ -0,0 +1,7 @@
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']>;
@@ -9,4 +9,4 @@ export interface LaunchpadSlidePanelProps {
9
9
  name?: string;
10
10
  };
11
11
  }
12
- export declare const LaunchpadSlidePanel: (props: LaunchpadSlidePanelProps) => JSX.Element;
12
+ export declare const LaunchpadSlidePanel: (props: LaunchpadSlidePanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,4 +6,4 @@ export interface SlidePanelRenderPropsProps {
6
6
  setOpen: React.Dispatch<React.SetStateAction<boolean>>;
7
7
  }) => React.ReactNode;
8
8
  }
9
- export declare const SlidePanel: (props: SlidePanelRenderPropsProps) => JSX.Element;
9
+ export declare const SlidePanel: (props: SlidePanelRenderPropsProps) => import("react/jsx-runtime").JSX.Element;
@@ -6,5 +6,5 @@ interface PermissionsCardProps {
6
6
  Image?: React.ComponentType;
7
7
  title?: string;
8
8
  }
9
- export declare const PermissionsCard: ({ children, description, heading, Image, title }: PermissionsCardProps) => JSX.Element;
9
+ export declare const PermissionsCard: ({ children, description, heading, Image, title }: PermissionsCardProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export default PermissionsCard;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
- import type { HomePermissionStatus } from '../glue42-home-provider/types';
1
+ import type { HomePermissionStatus } from '../io-connect-home-provider/types';
3
2
  interface PermissionsListProps {
4
3
  isActiveItem?: (name: string) => boolean;
5
4
  permissionStatuses: HomePermissionStatus[];
6
5
  }
7
- export declare const PermissionsList: ({ isActiveItem, permissionStatuses }: PermissionsListProps) => JSX.Element;
6
+ export declare const PermissionsList: ({ isActiveItem, permissionStatuses }: PermissionsListProps) => import("react/jsx-runtime").JSX.Element;
8
7
  export default PermissionsList;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  interface PermissionsSetupFlowProps {
3
2
  settings: {
4
3
  edgeNotificationsPermissionTimeout: number;
5
4
  };
6
5
  }
7
- export declare const PermissionsSetupFlow: ({ settings }: PermissionsSetupFlowProps) => JSX.Element;
6
+ export declare const PermissionsSetupFlow: ({ settings }: PermissionsSetupFlowProps) => import("react/jsx-runtime").JSX.Element;
8
7
  export {};
@@ -9,5 +9,5 @@ interface PermissionsSetupProps {
9
9
  edgeNotificationsPermissionTimeout?: number;
10
10
  };
11
11
  }
12
- export declare const PermissionsSetup: ({ components: { Logo }, settings }: PermissionsSetupProps) => JSX.Element;
12
+ export declare const PermissionsSetup: ({ components: { Logo }, settings }: PermissionsSetupProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export default PermissionsSetup;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  interface PermissionStepsProps {
3
2
  settings: {
4
3
  edgeNotificationsPermissionTimeout: number;
5
4
  };
6
5
  }
7
- export declare const PermissionSteps: ({ settings }: PermissionStepsProps) => JSX.Element;
6
+ export declare const PermissionSteps: ({ settings }: PermissionStepsProps) => import("react/jsx-runtime").JSX.Element;
8
7
  export default PermissionSteps;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  interface SomethingWentWrongProps {
3
2
  onReopenPromptClick: () => void;
4
3
  }
5
- export declare const SomethingWentWrong: ({ onReopenPromptClick }: SomethingWentWrongProps) => JSX.Element;
4
+ export declare const SomethingWentWrong: ({ onReopenPromptClick }: SomethingWentWrongProps) => import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PERMISSION_NAMES } from '../glue42-home-provider/constants';
2
+ import { PERMISSION_NAMES } from '../io-connect-home-provider/constants';
3
3
  export interface PermissionStep {
4
4
  heading: string;
5
5
  description: string;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { PermissionNames } from './types';
3
2
  interface UnsuccessfulSetupProps {
4
3
  deniedPermissionName?: PermissionNames;
5
4
  }
6
- export declare const UnsuccessfulSetup: ({ deniedPermissionName }: UnsuccessfulSetupProps) => JSX.Element;
5
+ export declare const UnsuccessfulSetup: ({ deniedPermissionName }: UnsuccessfulSetupProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export default UnsuccessfulSetup;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export interface SearchBarProps {
3
- onSearch: (e: React.ChangeEvent<HTMLInputElement>) => void;
3
+ onSearch: (event: React.ChangeEvent<HTMLInputElement>) => void;
4
4
  searchTerm: string;
5
5
  onClear: () => void;
6
6
  }
@@ -0,0 +1,3 @@
1
+ import { IOConnectSearch } from '@interopio/search-api';
2
+ import type { SearchResultsSectionType } from './types';
3
+ export declare const getSearchResultsSectionConfigs: (results: IOConnectSearch.QueryResult[]) => SearchResultsSectionType[];
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export interface SearchResultsProps {
3
2
  searchTerm: string;
4
3
  }
5
- export declare function SearchResults(props: SearchResultsProps): JSX.Element;
4
+ export declare function SearchResults(props: SearchResultsProps): import("react/jsx-runtime").JSX.Element;
6
5
  export default SearchResults;
@@ -1,8 +1,8 @@
1
- import type { Glue42Search } from '@glue42/search-api';
2
- import type { BaseSectionItemType, BaseSectionType } from '../../base-section/base-section.types';
3
- import { SearchResultsContextMenuAction } from '../../context-menu/context-menu-types';
1
+ import { IOConnectSearch } from '@interopio/search-api';
2
+ import type { BaseSectionItemType, BaseSectionType } from '../../base-section/types';
3
+ import { SearchResultsContextMenuAction } from '../../context-menu/types';
4
4
  export interface SearchResultsSectionItemType extends BaseSectionItemType {
5
- mainAction?: Glue42Search.MainAction;
5
+ mainAction?: IOConnectSearch.MainAction;
6
6
  contextMenuActions?: SearchResultsContextMenuAction[];
7
7
  }
8
8
  export type SearchResultsSectionType = BaseSectionType<SearchResultsSectionItemType>;
@@ -1,3 +1,3 @@
1
- import type { SectionItemType, SectionType } from './section.types';
1
+ import type { SectionItemType, SectionType } from './types';
2
2
  export declare const getItemName: (item: SectionItemType) => string;
3
3
  export declare const getClickedItem: (items: SectionType['items'], clickedItemName: string) => SectionItemType | undefined;
@@ -7,5 +7,5 @@ interface ClickDataState {
7
7
  selectedContextMenuActionName?: string;
8
8
  }
9
9
  export declare const useSection: () => [ClickDataState | null, import("react").Dispatch<import("react").SetStateAction<ClickDataState | null>>];
10
- export declare const SectionProvider: ({ children }: SectionProviderProps) => JSX.Element;
10
+ export declare const SectionProvider: ({ children }: SectionProviderProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export {};