@make-software/csprclick-ui 1.10.2 → 1.11.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/cjs/lib/index.js +10 -10
- package/dist/cjs/lib/lib/SignIn/components/SocialLogin.d.ts +3 -1
- package/dist/cjs/lib/lib/TopBar/TopBar.d.ts +1 -1
- package/dist/cjs/lib/lib/TransactionReview/WalletConnectSignatureInstructions.d.ts +9 -0
- package/dist/cjs/lib/lib/WalletConnect/components/NewPairing.d.ts +3 -1
- package/dist/cjs/lib/lib/helpers/useMobileDevice.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/lib/index.js +11 -11
- package/package.json +3 -3
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { Provider } from '../../types';
|
|
3
3
|
interface SocialLoginProps {
|
|
4
4
|
providers: Provider[];
|
|
5
|
+
onProviderClick: (e: any) => void;
|
|
6
|
+
clickRef: any;
|
|
5
7
|
}
|
|
6
8
|
export declare const ItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
9
|
export declare const StyledWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@make-software/cspr-design").FlexRowProps & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
8
10
|
export declare const StyledButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@make-software/cspr-design").ButtonProps & React.RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
declare const SocialLogin: ({ providers }: SocialLoginProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const SocialLogin: ({ providers, onProviderClick, clickRef }: SocialLoginProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export default SocialLogin;
|
|
@@ -3,7 +3,7 @@ import { AccountType } from '@make-software/csprclick-core-types';
|
|
|
3
3
|
import { CurrencySettings, LanguageSettings, NetworkSettings, ThemeModeType, CustomTopBarMenuSettings } from '../types';
|
|
4
4
|
export declare const BannerLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
interface TopBarProps {
|
|
6
|
-
account?: AccountType;
|
|
6
|
+
account?: AccountType | null;
|
|
7
7
|
ssoAccounts?: AccountType[];
|
|
8
8
|
currencyCode?: string;
|
|
9
9
|
onSignIn: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ThemeModeType } from '../types';
|
|
2
|
+
interface WalletConnectSignatureInstructionsProps {
|
|
3
|
+
deployHash: string;
|
|
4
|
+
deviceTitle: string;
|
|
5
|
+
warningInfo?: any;
|
|
6
|
+
themeMode?: ThemeModeType;
|
|
7
|
+
}
|
|
8
|
+
export declare const WalletConnectSignatureInstructions: (props: WalletConnectSignatureInstructionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ThemeModeType } from '../../types';
|
|
2
2
|
import { CSPRClickSDK } from '@make-software/csprclick-core-client';
|
|
3
|
+
import { AccountType } from '@make-software/csprclick-core-types';
|
|
3
4
|
interface NewPairingProps {
|
|
4
5
|
pairingUri: string;
|
|
5
6
|
appName: string;
|
|
7
|
+
accounts?: Array<AccountType>;
|
|
6
8
|
themeMode?: ThemeModeType;
|
|
7
9
|
clickRef: CSPRClickSDK;
|
|
8
10
|
}
|
|
9
|
-
export declare const NewPairing: ({ pairingUri, appName, clickRef }: NewPairingProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const NewPairing: ({ pairingUri, appName, accounts, clickRef }: NewPairingProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -444,7 +444,7 @@ declare const SignIn: (props: SignInSceneProps) => react_jsx_runtime.JSX.Element
|
|
|
444
444
|
|
|
445
445
|
declare const BannerLink: styled_components.StyledComponent<"a", styled_components.DefaultTheme, {}, never>;
|
|
446
446
|
interface TopBarProps {
|
|
447
|
-
account?: AccountType;
|
|
447
|
+
account?: AccountType | null;
|
|
448
448
|
ssoAccounts?: AccountType[];
|
|
449
449
|
currencyCode?: string;
|
|
450
450
|
onSignIn: () => void;
|