@mindly/ui-components 6.6.0-dev.11 → 6.6.0-dev.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 +8 -8
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +1 -6
- package/dist/cjs/lib2/shared/assets/icons/IconArrowLeft.d.ts +1 -1
- package/dist/cjs/lib2/shared/hooks/useStopPropagationEvent.d.ts +1 -2
- package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +3 -11
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +0 -18
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +1 -6
- package/dist/esm/lib2/shared/assets/icons/IconArrowLeft.d.ts +1 -1
- package/dist/esm/lib2/shared/hooks/useStopPropagationEvent.d.ts +1 -2
- package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +3 -11
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +0 -18
- package/dist/index.d.ts +6 -35
- package/package.json +1 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/CounterProgress.d.ts +0 -19
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/DefaultProgress.d.ts +0 -15
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/CounterProgress.d.ts +0 -19
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/DefaultProgress.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { OnBoardingScreenStyleOptions } from '../../../shared';
|
|
3
3
|
import { OnboardingVariant } from '../../../shared';
|
|
4
4
|
type OnBoardingProgressFeatureProps = {
|
|
5
5
|
progress: number;
|
|
@@ -10,11 +10,6 @@ type OnBoardingProgressFeatureProps = {
|
|
|
10
10
|
startAdornment?: React.ReactNode;
|
|
11
11
|
variant?: OnboardingVariant;
|
|
12
12
|
empty?: boolean;
|
|
13
|
-
template?: 'default' | 'counter';
|
|
14
|
-
totalCount?: number;
|
|
15
|
-
currentCount?: number;
|
|
16
|
-
image?: ResponseFileType | null;
|
|
17
|
-
progressSettings?: OnBoardingProgressSettingsScreenType | null;
|
|
18
13
|
};
|
|
19
14
|
declare const _default: React.NamedExoticComponent<OnBoardingProgressFeatureProps>;
|
|
20
15
|
export default _default;
|
|
@@ -3,5 +3,5 @@ interface IconProps extends React.SVGAttributes<SVGElement> {
|
|
|
3
3
|
size?: number | string;
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function IconArrowLeft({ color,
|
|
6
|
+
export declare function IconArrowLeft({ color, ...other }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useStopPropagationEvent: (ref: React.RefObject<HTMLElement>, event: string, deps?: DependencyList) => void;
|
|
1
|
+
export declare const useStopPropagationEvent: (ref: React.RefObject<HTMLElement>, event: string) => void;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { User } from '@capacitor-firebase/authentication';
|
|
1
|
+
import React, { FC } from 'react';
|
|
3
2
|
import { AuthContextType } from './types';
|
|
4
|
-
export declare const AuthContext:
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* REMOVE WHEN WE MOVE AUTH TO NATIVE CAPACITOR PLUGIN
|
|
8
|
-
*/
|
|
9
|
-
webAuthListener?: (callback: (user: User | null) => void) => () => void;
|
|
10
|
-
};
|
|
11
|
-
export declare const AuthProvider: FC<AuthProviderProps>;
|
|
12
|
-
export {};
|
|
3
|
+
export declare const AuthContext: React.Context<AuthContextType | null>;
|
|
4
|
+
export declare const AuthProvider: FC;
|
|
@@ -62,10 +62,6 @@ export type OnBoardingScreenSubgoalButtonType = {
|
|
|
62
62
|
subgoalButtonColor?: string | null;
|
|
63
63
|
subgoalButtonTextColor?: string | null;
|
|
64
64
|
};
|
|
65
|
-
export type OnBoardingScreenProgressType = {
|
|
66
|
-
template?: OnboardingProgressTemplate;
|
|
67
|
-
image?: ResponseFileType | null;
|
|
68
|
-
};
|
|
69
65
|
export type OnBoardingScreenSkipButtonType = {
|
|
70
66
|
skipButtonText?: string | null;
|
|
71
67
|
showSkipButton?: boolean;
|
|
@@ -94,13 +90,6 @@ export type OnBoardingScreenTranslationsType = {
|
|
|
94
90
|
export type OnBoardingScreenErrorsType = {
|
|
95
91
|
errors?: Record<string, string>;
|
|
96
92
|
};
|
|
97
|
-
export type OnBoardingProgressSettingsScreenType = {
|
|
98
|
-
isBackButton?: boolean;
|
|
99
|
-
isLogo?: boolean;
|
|
100
|
-
isCounter?: boolean;
|
|
101
|
-
isProgress?: boolean;
|
|
102
|
-
horizontalImageAlignment?: 'left' | 'right' | 'center';
|
|
103
|
-
};
|
|
104
93
|
export type OnBoardingBaseScreenType = {
|
|
105
94
|
id: string;
|
|
106
95
|
type: OnBoardingScreenOptions;
|
|
@@ -120,8 +109,6 @@ export type OnBoardingBaseScreenType = {
|
|
|
120
109
|
isStartScreen?: boolean;
|
|
121
110
|
backgroundColor?: string | null;
|
|
122
111
|
contentStyle: OnBoardingScreenStyleOptions;
|
|
123
|
-
progressSettings?: OnBoardingProgressSettingsScreenType;
|
|
124
|
-
isProgressVisible?: boolean;
|
|
125
112
|
/**
|
|
126
113
|
* @deprecated This field is deprecated and will be removed in future versions
|
|
127
114
|
*/
|
|
@@ -262,13 +249,8 @@ export type OnBoardingFlowType = {
|
|
|
262
249
|
duration_min?: number | null;
|
|
263
250
|
isDefault?: boolean;
|
|
264
251
|
theme?: OnboardingVariant;
|
|
265
|
-
progress?: OnBoardingScreenProgressType;
|
|
266
252
|
};
|
|
267
253
|
export declare enum OnboardingVariant {
|
|
268
254
|
default = "default",
|
|
269
255
|
blue = "blue"
|
|
270
256
|
}
|
|
271
|
-
export declare enum OnboardingProgressTemplate {
|
|
272
|
-
default = "default",
|
|
273
|
-
counter = "counter"
|
|
274
|
-
}
|