@goodhood-web/ui 3.4.0-development.6 → 3.4.0-development.8

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.
@@ -10,6 +10,7 @@ interface CommonProps {
10
10
  className?: string;
11
11
  'data-testid'?: string;
12
12
  disabled?: boolean;
13
+ id?: string;
13
14
  ref?: ForwardedRef<null>;
14
15
  role?: AriaRole;
15
16
  selected?: boolean | 'mixed';
@@ -1,3 +1,3 @@
1
1
  import { ButtonGoogleSSOProps } from './ButtonGoogleSSO.types';
2
- declare const ButtonGoogleSSO: ({ onError, onSuccess, size, text, trackClick, }: ButtonGoogleSSOProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonGoogleSSO: ({ error, onError, onSuccess, size, text, trackClick, }: ButtonGoogleSSOProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ButtonGoogleSSO;
@@ -1,4 +1,5 @@
1
1
  export interface ButtonGoogleSSOProps {
2
+ error?: string | null;
2
3
  onError?: (error: string) => void;
3
4
  onSuccess: (credential: string) => Promise<void>;
4
5
  size: 'large' | 'medium' | 'small';
@@ -1,3 +1,3 @@
1
1
  import { SheetProps } from './Sheet.types';
2
- declare const Sheet: ({ ariaLabel, ariaLabelledBy, breakpoint, cancelButtonText, content, contentClassName, defaultHeaderTitle, footer, footerClassName, header, headerClassName, onDismiss, onPrimaryAction, open, primaryButtonText, sheetClassName, stickyFooter, }: SheetProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Sheet: ({ ariaLabel, ariaLabelledBy, bottomSheet, breakpoint, cancelButtonText, content, contentClassName, defaultHeaderTitle, footer, footerClassName, header, headerClassName, onDismiss, onPrimaryAction, open, primaryButtonText, sheetClassName, stickyFooter, }: SheetProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Sheet;
@@ -3,6 +3,7 @@ export type SheetBreakpoint = '690' | '800';
3
3
  interface SheetBaseProps {
4
4
  ariaLabel?: string;
5
5
  ariaLabelledBy?: string;
6
+ bottomSheet?: boolean;
6
7
  breakpoint?: SheetBreakpoint;
7
8
  cancelButtonText?: string;
8
9
  content?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.4.0-development.6",
3
+ "version": "3.4.0-development.8",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",
@@ -16,6 +16,7 @@
16
16
  "react-dom": "*",
17
17
  "react-datepicker": "*",
18
18
  "@mui/base": "5.0.0-beta.58",
19
- "lodash": "^4.17.21"
19
+ "lodash": "^4.17.21",
20
+ "@react-oauth/google": "^0.12.1"
20
21
  }
21
22
  }