@interopio/home-ui-react 4.2.8-next.0 → 4.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.
package/dist/index.d.ts CHANGED
@@ -1,14 +1,15 @@
1
1
  import { Auth0ProviderOptions } from '@auth0/auth0-react';
2
+ import { default as default_2 } from 'react';
2
3
  import { IconProps } from '@interopio/components-react';
3
4
  import { IOActivePanelRenderer } from '@interopio/components-react';
4
5
  import { IOConnectInitSettings } from '@interopio/react-hooks';
5
6
  import { IODownloadManager } from '@interopio/components-react';
6
7
  import { IONotifications } from '@interopio/components-react';
8
+ import { IOPreferencesBrowser } from '@interopio/components-react';
7
9
  import { IOPreferencesDesktop } from '@interopio/components-react';
8
10
  import { IOProfile } from '@interopio/components-react';
9
- import type { JSX as JSX_2 } from 'react/jsx-runtime';
11
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
10
12
  import { PlatformPrefsProvider } from '@interopio/components-react';
11
- import { default as React_2 } from 'react';
12
13
  import { SetStateAction } from 'react';
13
14
  import { usePlatformPref } from '@interopio/components-react';
14
15
  import { usePlatformPrefs } from '@interopio/components-react';
@@ -103,10 +104,10 @@ export { IOActivePanelRenderer }
103
104
  export declare const IOConnectHome: ({ config }: IOConnectHomeProps) => JSX_2.Element;
104
105
 
105
106
  export declare type IOConnectHomeComponents = {
106
- SystemLoader?: React_2.ComponentType<{
107
+ SystemLoader?: default_2.ComponentType<{
107
108
  text?: string;
108
109
  }>;
109
- IOInitErrorScreen?: React_2.ComponentType<{
110
+ IOInitErrorScreen?: default_2.ComponentType<{
110
111
  errorMessage?: string;
111
112
  }>;
112
113
  };
@@ -174,8 +175,8 @@ declare interface LaunchpadContentsContainerProps extends React.HTMLAttributes<H
174
175
  export declare const LaunchpadHeader: ({ className }: LaunchpadHeaderProps) => JSX_2.Element | null;
175
176
 
176
177
  export declare interface LaunchpadHeaderComponents {
177
- BeforeSearch?: React_2.ComponentType | null;
178
- AfterSearch?: React_2.ComponentType | null;
178
+ BeforeSearch?: default_2.ComponentType | null;
179
+ AfterSearch?: default_2.ComponentType | null;
179
180
  }
180
181
 
181
182
  declare interface LaunchpadHeaderProps {
@@ -204,7 +205,7 @@ export declare interface LaunchpadProps extends React.HTMLProps<HTMLDivElement>
204
205
  }
205
206
 
206
207
  export declare interface LaunchpadSection {
207
- Component: React_2.ComponentType;
208
+ Component: default_2.ComponentType;
208
209
  placementId: string;
209
210
  }
210
211
 
@@ -216,8 +217,8 @@ export declare interface LaunchpadSettings {
216
217
  export declare type LoginConfig = Auth0LoginConfig | SimpleLoginConfig | CustomLoginConfig;
217
218
 
218
219
  export declare interface LoginPageComponents {
219
- Logo?: React_2.ComponentType;
220
- Heading?: React_2.ComponentType;
220
+ Logo?: default_2.ComponentType;
221
+ Heading?: default_2.ComponentType;
221
222
  }
222
223
 
223
224
  export declare type LoginType = (typeof AUTH0_LOGIN_TYPES)[keyof typeof AUTH0_LOGIN_TYPES];
@@ -275,7 +276,7 @@ export declare interface PanelWithToggleButtonProps {
275
276
 
276
277
  export { PlatformPrefsProvider }
277
278
 
278
- export declare const PreferencesPanel: any;
279
+ export declare const PreferencesPanel: ({ components, ...rest }: IOPreferencesBrowser.PanelProps) => JSX_2.Element;
279
280
 
280
281
  export declare const ProfilePanel: ({ className, components, onClose, title }: ProfilePanelProps) => JSX_2.Element;
281
282
 
@@ -308,7 +309,7 @@ export declare interface SectionProps {
308
309
  export declare type SectionType = BaseSectionType<SectionItemType>;
309
310
 
310
311
  export declare interface SetupFlowComponents {
311
- Logo?: React_2.ComponentType;
312
+ Logo?: default_2.ComponentType;
312
313
  }
313
314
 
314
315
  export declare interface SetupFlowConfig {