@mindly/ui-components 6.6.0-dev.12 → 6.6.0-dev.3

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { OnBoardingProgressSettingsScreenType, OnBoardingScreenStyleOptions, ResponseFileType } from '../../../shared';
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, size, ...other }: IconProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function IconArrowLeft({ color, ...other }: IconProps): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,2 +1 @@
1
- import { DependencyList } from 'react';
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,11 @@
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: import("react").Context<AuthContextType | null>;
3
+ export declare const AuthContext: React.Context<AuthContextType | null>;
5
4
  type AuthProviderProps = {
6
5
  /**
7
6
  * REMOVE WHEN WE MOVE AUTH TO NATIVE CAPACITOR PLUGIN
8
7
  */
9
- webAuthListener?: (callback: (user: User | null) => void) => () => void;
8
+ webAuthListener: () => () => void;
10
9
  };
11
10
  export declare const AuthProvider: FC<AuthProviderProps>;
12
11
  export {};
@@ -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
- }