@goodhood-web/ui 4.1.0-development.1 → 4.1.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,3 +1,3 @@
1
1
  import { ButtonGoogleSSOProps } from './ButtonGoogleSSO.types';
2
- declare const ButtonGoogleSSO: ({ error, onError, onSuccess, size, text, trackClick, }: ButtonGoogleSSOProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonGoogleSSO: ({ error, onError, onSuccess, size, trackClick, }: ButtonGoogleSSOProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ButtonGoogleSSO;
@@ -0,0 +1,3 @@
1
+ import { DropdownButtonProps } from './DropdownButton.types';
2
+ declare const DropdownButton: ({ disabled, loading, onClick, selected, text, variant, ...props }: DropdownButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DropdownButton;
@@ -0,0 +1,6 @@
1
+ import { ButtonProps } from '../Button/Button.types';
2
+ export interface DropdownButtonProps extends Omit<ButtonProps, 'children'> {
3
+ loading?: boolean;
4
+ text: string;
5
+ variant?: 'filled' | 'outline';
6
+ }
@@ -0,0 +1,2 @@
1
+ import { VisualContentProps } from './VisualContent.types';
2
+ export declare const VisualContent: ({ aspectRatio, hasRoundedCorners, image, onClick, orientation, photoLabel, }: VisualContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ export type VisualContentProps = {
2
+ aspectRatio?: '16-9' | '4-3';
3
+ hasRoundedCorners?: boolean;
4
+ image: {
5
+ alt?: string;
6
+ src: string;
7
+ };
8
+ onClick?: () => void;
9
+ orientation?: 'landscape' | 'portrait';
10
+ photoLabel?: string;
11
+ };
@@ -17,5 +17,11 @@ declare const IconsMap: {
17
17
  desc?: string;
18
18
  descId?: string;
19
19
  }>;
20
+ readonly star_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
21
+ title?: string;
22
+ titleId?: string;
23
+ desc?: string;
24
+ descId?: string;
25
+ }>;
20
26
  };
21
27
  export default IconsMap;
@@ -40,6 +40,12 @@ declare const iconsMap: {
40
40
  desc?: string;
41
41
  descId?: string;
42
42
  }>;
43
+ readonly star_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
44
+ title?: string;
45
+ titleId?: string;
46
+ desc?: string;
47
+ descId?: string;
48
+ }>;
43
49
  };
44
50
  };
45
51
  export default iconsMap;
@@ -97,6 +97,12 @@ declare const iconsMap: {
97
97
  desc?: string;
98
98
  descId?: string;
99
99
  }>;
100
+ readonly star_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
101
+ title?: string;
102
+ titleId?: string;
103
+ desc?: string;
104
+ descId?: string;
105
+ }>;
100
106
  };
101
107
  };
102
108
  outline: {
@@ -125,6 +131,12 @@ declare const iconsMap: {
125
131
  desc?: string;
126
132
  descId?: string;
127
133
  }>;
134
+ cross: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
135
+ title?: string;
136
+ titleId?: string;
137
+ desc?: string;
138
+ descId?: string;
139
+ }>;
128
140
  cursor: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
129
141
  title?: string;
130
142
  titleId?: string;
@@ -23,6 +23,12 @@ declare const IconsMap: {
23
23
  desc?: string;
24
24
  descId?: string;
25
25
  }>;
26
+ cross: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
27
+ title?: string;
28
+ titleId?: string;
29
+ desc?: string;
30
+ descId?: string;
31
+ }>;
26
32
  cursor: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
27
33
  title?: string;
28
34
  titleId?: string;
@@ -24,6 +24,12 @@ declare const iconsMap: {
24
24
  desc?: string;
25
25
  descId?: string;
26
26
  }>;
27
+ cross: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
28
+ title?: string;
29
+ titleId?: string;
30
+ desc?: string;
31
+ descId?: string;
32
+ }>;
27
33
  cursor: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
28
34
  title?: string;
29
35
  titleId?: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
2
- export type TypographyTypeLanding = 'claim' | 'claim-uppercase' | 'h1' | 'h1-uppercase' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'body-large' | 'body-large-semibold' | 'body' | 'body-semibold' | 'body-italic' | 'quote-large' | 'detail-small' | 'detail-small-bold';
2
+ export type TypographyTypeLanding = 'claim' | 'claim-uppercase' | 'h1' | 'h1-uppercase' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'body-large' | 'body-large-semibold' | 'body' | 'body-semibold' | 'body-italic' | 'body-large-italic' | 'quote-large' | 'detail-small' | 'detail-small-bold';
3
3
  export type TypographyTypeProduct = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'body-text-link' | 'detail-medium' | 'detail-bold' | 'detail-upper-case' | 'detail-regular' | 'detail-text-link';
4
4
  type AsProp<C extends ElementType> = {
5
5
  as?: C;
@@ -5,7 +5,7 @@ import { AllowedTypographyHTMLTags, TypographyTypeProduct } from '../../../Base/
5
5
  export type CardHeaderProps = {
6
6
  as?: Exclude<AllowedTypographyHTMLTags, 'p' | 'span'>;
7
7
  className?: string;
8
- headline: string;
8
+ headline?: string;
9
9
  leftElement?: ReactElement<IconProps | IconButtonProps> | ReactNode;
10
10
  rightElement?: ReactElement<IconButtonProps> | ReactNode;
11
11
  type?: Exclude<TypographyTypeProduct, 'h1'>;
@@ -1,3 +1,3 @@
1
1
  import { SheetProps } from './Sheet.types';
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;
2
+ declare const Sheet: ({ ariaLabel, ariaLabelledBy, bottomSheet, breakpoint, cancelButtonText, content, contentClassName, defaultHeaderTitle, disablePortal, footer, footerClassName, header, headerClassName, onDismiss, onPrimaryAction, open, primaryButtonText, sheetClassName, stickyFooter, }: SheetProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Sheet;
@@ -9,6 +9,7 @@ interface SheetBaseProps {
9
9
  content?: ReactNode;
10
10
  contentClassName?: string;
11
11
  defaultHeaderTitle?: string;
12
+ disablePortal?: boolean;
12
13
  footer?: ReactNode;
13
14
  footerClassName?: string;
14
15
  header?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "4.1.0-development.1",
3
+ "version": "4.1.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",