@goodhood-web/ui 3.4.0-development.1 → 3.4.0-development.10

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,7 +1,7 @@
1
1
  import { Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  export type StickerProps = {
3
3
  className?: string;
4
- color: 'green' | 'pink' | 'lavender' | 'teal' | 'orange' | 'grey' | 'lightGrey' | 'darkGrey';
4
+ color: 'green' | 'pink' | 'lavender' | 'teal' | 'tealAlt' | 'orange' | 'grey' | 'lightGrey' | 'darkGrey';
5
5
  size: 'small' | 'medium' | 'large';
6
6
  } & ({
7
7
  icon?: never;
@@ -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 { ListProps } from './List.types';
2
- declare const List: ({ className, items }: ListProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const List: ({ className, items, markdown }: ListProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default List;
@@ -2,6 +2,7 @@ import { StickerProps } from '../../Badges/Sticker/Sticker.types';
2
2
  export type ListProps = {
3
3
  className?: string;
4
4
  items: ListItemProps[];
5
+ markdown?: boolean;
5
6
  };
6
7
  type AllowedTitleAs = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
7
8
  export type ListItemProps = {
@@ -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.1",
3
+ "version": "3.4.0-development.10",
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
  }