@basiq/connect-auth 1.0.9 → 1.0.11
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.mts +8 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +1175 -5
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1142 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +25 -29
- package/dist/App.d.ts +0 -4
- package/dist/actions/actions.d.ts +0 -40
- package/dist/components/BasiqConnect.d.ts +0 -6
- package/dist/components/modals/LoadingModal.d.ts +0 -8
- package/dist/components/modals/index.d.ts +0 -1
- package/dist/components/pages/AuthScreen.d.ts +0 -11
- package/dist/components/pages/NotFound.d.ts +0 -6
- package/dist/components/pages/Page.d.ts +0 -19
- package/dist/components/pages/StartScreen.d.ts +0 -13
- package/dist/components/pages/index.d.ts +0 -4
- package/dist/components/ui/Button.d.ts +0 -10
- package/dist/components/ui/Modal.d.ts +0 -9
- package/dist/components/ui/icon.d.ts +0 -7
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/connect-auth.cjs.development.js +0 -1434
- package/dist/connect-auth.cjs.development.js.map +0 -1
- package/dist/connect-auth.cjs.production.min.js +0 -2
- package/dist/connect-auth.cjs.production.min.js.map +0 -1
- package/dist/connect-auth.esm.js +0 -1426
- package/dist/connect-auth.esm.js.map +0 -1
- package/dist/helpers/constants.d.ts +0 -2
- package/dist/helpers/hookUtils.d.ts +0 -2
- package/dist/helpers/index.d.ts +0 -3
- package/dist/helpers/utils.d.ts +0 -4
- package/dist/locales/i18n.d.ts +0 -36
- package/dist/setupTests.d.ts +0 -1
- package/dist/styledComponents/base.d.ts +0 -4
- package/dist/styledComponents/breakpoints.d.ts +0 -15
- package/dist/styledComponents/index.d.ts +0 -4
- package/dist/styledComponents/pages/auth.d.ts +0 -13
- package/dist/styledComponents/pages/basic.d.ts +0 -23
- package/dist/styledComponents/pages/index.d.ts +0 -4
- package/dist/styledComponents/pages/notFound.d.ts +0 -9
- package/dist/styledComponents/pages/start.d.ts +0 -1
- package/dist/styledComponents/styles.d.ts +0 -2
- package/dist/styledComponents/theme.d.ts +0 -45
- package/dist/styledComponents/ui/basic.d.ts +0 -10
- package/dist/styledComponents/ui/button.d.ts +0 -9
- package/dist/styledComponents/ui/index.d.ts +0 -3
- package/dist/styledComponents/ui/modals.d.ts +0 -7
package/dist/helpers/index.d.ts
DELETED
package/dist/helpers/utils.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { SyntheticEvent } from 'react';
|
|
2
|
-
export declare function detectScrollToBottom(event: SyntheticEvent<HTMLDivElement>): boolean;
|
|
3
|
-
export declare const hexToRGBa: (hex: string, opacity: number) => string;
|
|
4
|
-
export declare const handleUserKeyPress: (e: KeyboardEvent, onEnter: () => void) => void;
|
package/dist/locales/i18n.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import i18n from 'i18next';
|
|
2
|
-
export declare const defaultNS = "ns1";
|
|
3
|
-
export declare const resources: {
|
|
4
|
-
readonly en: {
|
|
5
|
-
readonly ns1: {
|
|
6
|
-
back: string;
|
|
7
|
-
error: string;
|
|
8
|
-
loading: string;
|
|
9
|
-
continue: string;
|
|
10
|
-
to_do_this_we_will_ask_you_to: string;
|
|
11
|
-
verify_your_mobile_number_bold: string;
|
|
12
|
-
verify_your_mobile_number: string;
|
|
13
|
-
consent_to_share_your_data_with_us: string;
|
|
14
|
-
share_your_financial_data: string;
|
|
15
|
-
things_you_should_know: string;
|
|
16
|
-
we_dont_share_your_data_without_your_consent: string;
|
|
17
|
-
you_can_easily_stop_sharing_your_data_at_any_time: string;
|
|
18
|
-
you_can_choose_to_delete_shared_data_when_we_no_longer_need_it: string;
|
|
19
|
-
by_proceeding_you_agree_to_the: string;
|
|
20
|
-
terms_of_service: string;
|
|
21
|
-
privacy_notice: string;
|
|
22
|
-
and: string;
|
|
23
|
-
use_basiq_to_connect_your_accounts: string;
|
|
24
|
-
we_use_basiq_to_connect_your_accounts: string;
|
|
25
|
-
please_enter_the_sms_code_sent_to_your_mobile_number: string;
|
|
26
|
-
new_sms_code_has_been_sent: string;
|
|
27
|
-
this_code_doesnt_appear_to_be_valid: string;
|
|
28
|
-
didnt_receive_the_code: string;
|
|
29
|
-
resend_sms: string;
|
|
30
|
-
failed_to_send_sms: string;
|
|
31
|
-
page_not_found: string;
|
|
32
|
-
missing_authentication_token: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export default i18n;
|
package/dist/setupTests.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const Root: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
-
export declare const AppContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const AppContainerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const AppContainerPage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const devices: {
|
|
2
|
-
fold: string;
|
|
3
|
-
phoneXs: string;
|
|
4
|
-
phone: string;
|
|
5
|
-
phoneLandscape: string;
|
|
6
|
-
tabletOnly: string;
|
|
7
|
-
iPadProLandscape: string;
|
|
8
|
-
iPadProPortrait: string;
|
|
9
|
-
iPad: string;
|
|
10
|
-
tablet: string;
|
|
11
|
-
desktop: string;
|
|
12
|
-
laptop: string;
|
|
13
|
-
laptopRegularScreenWidth: string;
|
|
14
|
-
bigDesktop: string;
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface IInputStyled {
|
|
2
|
-
filled: boolean;
|
|
3
|
-
error: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface IDivAsLink {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const PageConnectFooterControl: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
export declare const PageConnectFooterText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
-
export declare const InputStyled: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, IInputStyled, never>;
|
|
11
|
-
export declare const InputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
-
export declare const DivAsLink: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IDivAsLink, never>;
|
|
13
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
interface IPageStyledProps {
|
|
2
|
-
buttonCount?: number;
|
|
3
|
-
horizontal?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface IStatusMessage {
|
|
6
|
-
error?: boolean;
|
|
7
|
-
}
|
|
8
|
-
interface IPageControlsSectionProps {
|
|
9
|
-
notEmpty: boolean;
|
|
10
|
-
}
|
|
11
|
-
interface IHorizontalProps {
|
|
12
|
-
horizontal?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const PageStyled: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IPageStyledProps, never>;
|
|
15
|
-
export declare const PageSubtitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const PageMainContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
-
export declare const PageControlsSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IPageControlsSectionProps, never>;
|
|
18
|
-
export declare const PageShadowWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IHorizontalProps, never>;
|
|
19
|
-
export declare const PageShadow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
20
|
-
export declare const PageHeader: import("styled-components").StyledComponent<"header", import("styled-components").DefaultTheme, {}, never>;
|
|
21
|
-
export declare const PageContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
-
export declare const StatusMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStatusMessage, never>;
|
|
23
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface IStatusScreenCircleContainer {
|
|
2
|
-
type: 'success' | 'warning' | 'error';
|
|
3
|
-
}
|
|
4
|
-
export declare const PageStatusScreenMain: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const PageStatusScreenContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const StatusScreenCircleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStatusScreenCircleContainer, never>;
|
|
7
|
-
export declare const StatusScreenErrorCode: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const PageSuccessImgContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const InnerContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const theme: {
|
|
2
|
-
color: {
|
|
3
|
-
white: string;
|
|
4
|
-
porcelain: string;
|
|
5
|
-
porcelainSecond: string;
|
|
6
|
-
porcelainLight: string;
|
|
7
|
-
porcelainSecondLight: string;
|
|
8
|
-
iron: string;
|
|
9
|
-
ironSecond: string;
|
|
10
|
-
casper: string;
|
|
11
|
-
mercury: string;
|
|
12
|
-
dodgerBlue: string;
|
|
13
|
-
dodgerBlueLight: string;
|
|
14
|
-
royalBlue: string;
|
|
15
|
-
bostonBlue: string;
|
|
16
|
-
endeavour: string;
|
|
17
|
-
congressBlue: string;
|
|
18
|
-
brilliantBlue: string;
|
|
19
|
-
curiousBlue: string;
|
|
20
|
-
iceberg: string;
|
|
21
|
-
linkWater: string;
|
|
22
|
-
spindle: string;
|
|
23
|
-
cyprus: string;
|
|
24
|
-
gossamer: string;
|
|
25
|
-
emerald: string;
|
|
26
|
-
hokeyPokey: string;
|
|
27
|
-
hokeyPokeyLight: string;
|
|
28
|
-
anzac: string;
|
|
29
|
-
cerise: string;
|
|
30
|
-
sunsetOrange: string;
|
|
31
|
-
wePeep: string;
|
|
32
|
-
ebony: string;
|
|
33
|
-
abbey: string;
|
|
34
|
-
osloGrey: string;
|
|
35
|
-
loblolly: string;
|
|
36
|
-
jumbo: string;
|
|
37
|
-
blackPearl: string;
|
|
38
|
-
blueBayoux: string;
|
|
39
|
-
};
|
|
40
|
-
mixin: {
|
|
41
|
-
subtitle: () => string;
|
|
42
|
-
title: () => string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export declare type ThemeType = typeof theme;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface IIconWrapper {
|
|
2
|
-
rotating: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare const rotate: import("styled-components").Keyframes;
|
|
5
|
-
export declare const SimpleButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const H4Styled: import("styled-components").StyledComponent<"h4", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const Spacer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
-
export declare const IconWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IIconWrapper, never>;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ButtonType } from '../../components/ui/Button';
|
|
2
|
-
export declare const ButtonLabel: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
interface IButtonStyled {
|
|
4
|
-
buttonType?: ButtonType;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const ButtonStyled: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, IButtonStyled, never>;
|
|
9
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface IModalStyled {
|
|
2
|
-
disableTransparency: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare const ModalStyled: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IModalStyled, never>;
|
|
5
|
-
export declare const LoadingModalStyled: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IModalStyled, never>;
|
|
6
|
-
export declare const LoadingModalText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export {};
|