@goodhood-web/nebenan-base 3.6.0-development.3 → 3.6.0-development.5

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,3 +1,3 @@
1
1
  import { LoginFormProps } from './LoginForm.types';
2
- export declare const LoginForm: ({ enableGoogleSSO, onLoginSuccess }: LoginFormProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LoginForm: ({ emailConfirmationRequired, enableGoogleSSO, onLoginSuccess, }: LoginFormProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default LoginForm;
@@ -1,4 +1,5 @@
1
1
  export type LoginFormProps = {
2
+ emailConfirmationRequired?: boolean;
2
3
  enableGoogleSSO?: boolean;
3
4
  onLoginSuccess: (authentication_token?: string) => void;
4
5
  };
@@ -1,2 +1,4 @@
1
- export declare const PasswordForgotten: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const PasswordForgotten: ({ isAuthorized }: {
2
+ isAuthorized: boolean;
3
+ }) => import("react/jsx-runtime").JSX.Element;
2
4
  export default PasswordForgotten;
@@ -1,5 +1,5 @@
1
- export declare const PasswordReset: ({ email, requestSuccess, token, }: {
2
- email?: string;
1
+ export declare const PasswordReset: ({ isAuthorized, requestSuccess, token, }: {
2
+ isAuthorized: boolean;
3
3
  requestSuccess: (authentication_token: string) => void;
4
4
  token?: string;
5
5
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { AuthenticationCardProps } from './AuthenticationCard.types';
2
- declare const AuthenticationCard: ({ children, onBackClick, progressBar, rightElement, showBackButton, stepHeader, }: AuthenticationCardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const AuthenticationCard: ({ children, isAuthorized, onBackClick, progressBar, rightElement, showBackButton, stepHeader, }: AuthenticationCardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default AuthenticationCard;
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export interface AuthenticationCardProps {
3
3
  children: ReactNode;
4
+ isAuthorized?: boolean;
4
5
  onBackClick?: () => void;
5
6
  progressBar?: {
6
7
  currentStep: number;
@@ -1,3 +1,3 @@
1
1
  import { DynamicScreenProps } from './DynamicScreen.types';
2
- declare const DynamicScreen: ({ atom, atomKey, email, navigation, onClick, onRequest, screen, stickerMobile, }: DynamicScreenProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const DynamicScreen: ({ atom, atomKey, email, isAuthorized, navigation, onRequest, screen, stickerMobile, }: DynamicScreenProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default DynamicScreen;
@@ -18,8 +18,8 @@ export type DynamicScreenProps = {
18
18
  atom?: string;
19
19
  atomKey?: string;
20
20
  email?: string;
21
+ isAuthorized?: boolean;
21
22
  navigation?: () => void;
22
- onClick?: () => void;
23
23
  onRequest?: () => void;
24
24
  screen: Screen;
25
25
  stickerMobile?: boolean;
@@ -1,3 +1,3 @@
1
1
  import { ScreenCardProps } from './ScreenCard.types';
2
- declare const ScreenCard: ({ color, ctaText, email, footer, icon, navigation, navigationHeader, onClick, onLinkClick, stickerMobile, text, textLink, title, }: ScreenCardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ScreenCard: ({ centered, color, ctaBtnText, ctaText, email, footer, icon, isAuthorized, navigation, navigationHeader, onBtnClick, onClick, size, stickerMobile, text, title, }: ScreenCardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ScreenCard;
@@ -1,16 +1,19 @@
1
1
  import { StickerProps } from '../../../../../../ui/src/lib/Atoms/Badges/Sticker/Sticker.types';
2
2
  export interface ScreenCardProps {
3
+ centered?: boolean;
3
4
  color?: StickerProps['color'];
5
+ ctaBtnText?: string;
4
6
  ctaText?: string;
5
7
  email?: string;
6
8
  footer?: string;
7
9
  icon?: StickerProps['icon'];
10
+ isAuthorized?: boolean;
8
11
  navigation?: () => void;
9
12
  navigationHeader?: string;
13
+ onBtnClick?: () => void;
10
14
  onClick?: () => void;
11
- onLinkClick?: () => void;
15
+ size?: 'small' | 'large';
12
16
  stickerMobile?: boolean;
13
17
  text?: string;
14
- textLink?: string;
15
18
  title?: string;
16
19
  }
@@ -0,0 +1,3 @@
1
+ export declare const googleTokenAtom: import('jotai').PrimitiveAtom<string | null> & {
2
+ init: string | null;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.6.0-development.3",
3
+ "version": "3.6.0-development.5",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",