@mindly/ui-components 5.104.1 → 5.104.2
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/index.js +6 -6
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingConfirmScreenPreviewFeature/OnBoardingConfirmScreenPreviewFeature.d.ts +10 -1
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingEmailScreenPreviewFeature/OnBoardingEmailScreenPreviewFeature.d.ts +7 -1
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +2 -0
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +0 -9
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +2 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingConfirmScreenPreviewFeature/OnBoardingConfirmScreenPreviewFeature.d.ts +10 -1
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingEmailScreenPreviewFeature/OnBoardingEmailScreenPreviewFeature.d.ts +7 -1
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +2 -0
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +0 -9
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +2 -0
- package/dist/index.d.ts +22 -13
- package/package.json +1 -1
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OnBoardingConfirmScreenType } from '../../../shared';
|
|
3
|
-
|
|
3
|
+
type OnBoardingConfirmScreenPreviewFeatureProps = OnBoardingConfirmScreenType & {
|
|
4
|
+
email: string | null;
|
|
5
|
+
emailErrorText?: string;
|
|
6
|
+
onChangeEmail?: (email: string) => void;
|
|
7
|
+
password: string | null;
|
|
8
|
+
passwordErrorText?: string;
|
|
9
|
+
onChangePassword?: (password: string) => void;
|
|
10
|
+
onSubmit?: () => void;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: React.NamedExoticComponent<OnBoardingConfirmScreenPreviewFeatureProps>;
|
|
4
13
|
export default _default;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OnBoardingEmailScreenType } from '../../../shared';
|
|
3
|
-
|
|
3
|
+
type OnBoardingEmailScreenPreviewFeatureProps = OnBoardingEmailScreenType & {
|
|
4
|
+
email: string | null;
|
|
5
|
+
emailErrorText?: string;
|
|
6
|
+
onChangeEmail?: (email: string) => void;
|
|
7
|
+
onSubmit?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: React.NamedExoticComponent<OnBoardingEmailScreenPreviewFeatureProps>;
|
|
4
10
|
export default _default;
|
|
@@ -8,6 +8,8 @@ type OnBoardingPaywallScreenPreviewFeatureProps = {
|
|
|
8
8
|
reviews: MindlyReview[];
|
|
9
9
|
locale?: string;
|
|
10
10
|
useAdditionalDiscount?: boolean;
|
|
11
|
+
onBuyTariff?: (tariffId: string) => void;
|
|
12
|
+
isLoading?: boolean;
|
|
11
13
|
} & OnBoardingPaywallScreenType;
|
|
12
14
|
declare const OnBoardingPaywallScreenPreviewFeature: FC<OnBoardingPaywallScreenPreviewFeatureProps>;
|
|
13
15
|
export default OnBoardingPaywallScreenPreviewFeature;
|
|
@@ -139,18 +139,9 @@ export type OnBoardingReviewsScreenType = OnBoardingBaseScreenType & OnBoardingS
|
|
|
139
139
|
};
|
|
140
140
|
export type OnBoardingEmailScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & OnBoardingScreenEmailType & OnBoardingScreenPrivacyType & {
|
|
141
141
|
title: string;
|
|
142
|
-
email: string | null;
|
|
143
|
-
emailErrorText?: string;
|
|
144
|
-
onChangeEmail?: (email: string) => void;
|
|
145
142
|
};
|
|
146
143
|
export type OnBoardingConfirmScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & OnBoardingScreenEmailType & OnBoardingScreenPasswordType & OnBoardingScreenAlertType & {
|
|
147
144
|
title: string;
|
|
148
|
-
email: string | null;
|
|
149
|
-
emailErrorText?: string;
|
|
150
|
-
password: string | null;
|
|
151
|
-
passwordErrorText?: string;
|
|
152
|
-
onChangeEmail?: (email: string) => void;
|
|
153
|
-
onChangePassword?: (password: string) => void;
|
|
154
145
|
};
|
|
155
146
|
export type OnBoardingPaywallScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
|
|
156
147
|
title: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SolidInputProps } from './types';
|
|
3
|
-
declare const SolidInput: React.
|
|
3
|
+
declare const SolidInput: React.ForwardRefExoticComponent<SolidInputProps & React.RefAttributes<HTMLIonInputElement>>;
|
|
4
4
|
export default SolidInput;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InputChangeEventDetail, IonInputCustomEvent, TextFieldTypes } from '@ionic/core';
|
|
2
|
+
import { KeyboardEventHandler } from 'react';
|
|
2
3
|
export type SolidInputProps = {
|
|
3
4
|
placeholder: string;
|
|
4
5
|
value?: string;
|
|
@@ -11,4 +12,5 @@ export type SolidInputProps = {
|
|
|
11
12
|
isInvalid?: boolean;
|
|
12
13
|
showTogglePassword?: boolean;
|
|
13
14
|
onChange?: (event: IonInputCustomEvent<InputChangeEventDetail>) => void;
|
|
15
|
+
onKeyDown?: KeyboardEventHandler;
|
|
14
16
|
};
|