@gen3/frontend 0.10.77 → 0.10.78

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
@@ -97,8 +97,9 @@ interface LoginButtonProps {
97
97
  className?: string;
98
98
  tooltip?: string;
99
99
  visibility: LoginButtonVisibility;
100
+ externalLoginUrl?: string;
100
101
  }
101
- declare const LoginButton: ({ icon, hideText, className, tooltip, visibility, }: LoginButtonProps) => react_jsx_runtime.JSX.Element | null;
102
+ declare const LoginButton: ({ icon, hideText, className, tooltip, visibility, externalLoginUrl, }: LoginButtonProps) => react_jsx_runtime.JSX.Element | null;
102
103
  //# sourceMappingURL=LoginButton.d.ts.map
103
104
 
104
105
  declare const LoginProvidersPanel: ({ handleLoginSelected }: LoginSelectedProps) => react_jsx_runtime.JSX.Element;
@@ -152,8 +153,12 @@ interface FirstTimeModalConfig extends BaseModalConfig {
152
153
  showOnlyOnLogin?: boolean;
153
154
  expireDays?: number;
154
155
  }
156
+ interface SessionExpiredModalConfig extends BaseModalConfig {
157
+ externalLoginUrl?: string;
158
+ }
155
159
  interface ModalsConfig {
156
160
  systemUseModal?: FirstTimeModalConfig;
161
+ sessionExpiredModal?: SessionExpiredModalConfig;
157
162
  }
158
163
 
159
164
  interface FirstTimeModalProps {
@@ -162,9 +167,11 @@ interface FirstTimeModalProps {
162
167
  }
163
168
  declare const FirstTimeModal: ({ openModal, config, }: FirstTimeModalProps) => JSX.Element;
164
169
 
165
- declare const SessionExpiredModal: ({ openModal, }: {
166
- openModal: boolean;
167
- }) => JSX.Element;
170
+ interface SessionExpiredModalProps {
171
+ readonly openModal: boolean;
172
+ config: SessionExpiredModalConfig | undefined;
173
+ }
174
+ declare const SessionExpiredModal: ({ openModal, config }: SessionExpiredModalProps) => JSX.Element;
168
175
 
169
176
  interface CreateCredentialsAPIKeyModalProps {
170
177
  openModal: boolean;
@@ -369,6 +376,7 @@ interface TopIconButtonProps extends NameAndIcon {
369
376
  interface TopBarProps {
370
377
  readonly items: TopIconButtonProps[];
371
378
  readonly loginButtonVisibility?: LoginButtonVisibility;
379
+ readonly externalLoginUrl?: string;
372
380
  readonly classNames?: StylingOverrideWithMergeControl;
373
381
  }
374
382