@interopio/home-ui-react 1.2.8 → 1.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.
@@ -3,5 +3,6 @@ export * from './google-chrome-icon';
3
3
  export * from './microsoft-edge-icon';
4
4
  export * from './opera-icon';
5
5
  export * from './reopen-prompt-icon';
6
+ export * from './start-failed-icon';
6
7
  export * from './warning-icon';
7
8
  export * from './window-placement-icon';
@@ -0,0 +1,2 @@
1
+ export declare const StartFailedIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export default StartFailedIcon;
@@ -5,6 +5,7 @@ interface InfoCardProps {
5
5
  description: string | React.ReactElement;
6
6
  Image?: React.ComponentType;
7
7
  title?: string;
8
+ className?: string;
8
9
  }
9
- export declare const InfoCard: ({ children, description, heading, Image, title }: InfoCardProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const InfoCard: ({ children, description, heading, Image, title, className }: InfoCardProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export default InfoCard;
@@ -0,0 +1,3 @@
1
+ export declare const IOConnectBrowserStartFailed: ({ errorMessage }: {
2
+ errorMessage: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -2,3 +2,4 @@ export declare const PERMISSION_NAMES: {
2
2
  readonly WINDOW_MANAGEMENT: "window-management";
3
3
  readonly NOTIFICATIONS: "notifications";
4
4
  };
5
+ export declare const IS_GLOBAL_LAYOUT_SUPPORTED: boolean;
@@ -0,0 +1,3 @@
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[];
@@ -12,6 +12,8 @@ export declare const useLaunchpadAPI: () => {
12
12
  selectedLayout: LayoutSummary | null;
13
13
  setDefaultLayout: (layout: LayoutSummary) => Promise<void>;
14
14
  setSelectedLayout: (layout: LayoutSummary) => void;
15
+ isLayoutOperationBlocked: boolean;
16
+ setIsLayoutOperationBlocked: React.Dispatch<React.SetStateAction<boolean>>;
15
17
  };
16
18
  export declare const LaunchpadAPIProvider: ({ children, setOpen, isOpen }: LaunchpadAPIProviderProps) => import("react/jsx-runtime").JSX.Element;
17
19
  export {};
@@ -1,6 +1,7 @@
1
- import type { PermissionNames } from '../io-connect-home-provider/types';
2
1
  import type { PermissionStep } from './types';
3
- export declare const PERMISSION_STEPS: Record<PermissionNames, PermissionStep>;
2
+ export declare const NOTIFICATIONS_PERMISSION_STEP: PermissionStep;
3
+ export declare const WINDOW_MANAGEMENT_PERMISSION_STEP: PermissionStep;
4
+ export declare const PERMISSION_STEPS: Record<string, PermissionStep>;
4
5
  export declare const DEFAULT_SETTINGS: {
5
6
  edgeNotificationsPermissionTimeout: number;
6
7
  };
@@ -3,5 +3,5 @@ interface PermissionsListProps {
3
3
  isActiveItem?: (name: string) => boolean;
4
4
  permissionStatuses: HomePermissionStatus[];
5
5
  }
6
- export declare const PermissionsList: ({ isActiveItem, permissionStatuses }: PermissionsListProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const PermissionsList: ({ isActiveItem, permissionStatuses }: PermissionsListProps) => import("react/jsx-runtime").JSX.Element | null;
7
7
  export default PermissionsList;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@interopio/home-ui-react",
3
3
  "description": "React components for building a Home App for io.Connect Browser.",
4
- "version": "1.2.8",
4
+ "version": "1.3.0",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
7
7
  "types": "./index.d.ts",