@goodhood-web/ui 3.3.0-development.8 → 3.3.0-next.1

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.
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
2
2
  import { ButtonProps, ButtonVariationProps } from '../Button/Button.types';
3
3
  export interface ButtonTertiaryProps extends ButtonVariationProps, Omit<ButtonProps, 'children'> {
4
4
  children?: ReactNode;
5
- color?: 'green' | 'pink' | 'blue' | 'grey';
5
+ color?: 'green' | 'pink' | 'blue' | 'greySubtle' | 'greyStrong';
6
6
  }
@@ -1,3 +1,3 @@
1
1
  import { ThumbnailCircularProps, ThumbnailSquareProps } from './Thumbnail.type';
2
- declare const Thumbnail: ({ alt, className, isPlaceholder, shape, size, src, }: ThumbnailCircularProps | ThumbnailSquareProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Thumbnail: ({ alt, children, className, isPlaceholder, shape, size, src, }: ThumbnailCircularProps | ThumbnailSquareProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Thumbnail;
@@ -1,7 +1,10 @@
1
+ import { ReactNode } from 'react';
1
2
  import { ImageProps } from '../../Image/Image.type';
2
- export interface ThumbnailProps extends ImageProps {
3
+ export interface ThumbnailProps extends Omit<ImageProps, 'src'> {
4
+ children?: ReactNode;
3
5
  className?: string;
4
6
  isPlaceholder?: boolean;
7
+ src?: string;
5
8
  }
6
9
  export declare const circularSizes: readonly ["28", "32", "40", "48", "56", "64", "80", "120", "280"];
7
10
  export declare const squareSizes: readonly ["24", "32", "40", "48", "56", "64", "80", "96", "120"];
@@ -1,3 +1,3 @@
1
1
  import { SheetProps } from './Sheet.types';
2
- declare const Sheet: ({ ariaLabel, ariaLabelledBy, breakpoint, cancelButtonText, content, contentClassName, defaultHeaderTitle, footer, header, onDismiss, onPrimaryAction, open, primaryButtonText, sheetClassName, stickyFooter, }: SheetProps) => import("react/jsx-runtime").JSX.Element;
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;
3
3
  export default Sheet;
@@ -9,7 +9,9 @@ interface SheetBaseProps {
9
9
  contentClassName?: string;
10
10
  defaultHeaderTitle?: string;
11
11
  footer?: ReactNode;
12
+ footerClassName?: string;
12
13
  header?: ReactNode;
14
+ headerClassName?: string;
13
15
  onDismiss?: () => void;
14
16
  onPrimaryAction?: () => void;
15
17
  open: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.3.0-development.8",
3
+ "version": "3.3.0-next.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",