@goodhood-web/ui 4.13.0-development.3 → 4.13.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 { BadgeProps } from './Badge.types';
2
- declare const Badge: ({ ariaLabel, badgeIcons, children, size }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Badge: ({ ariaLabel, badgeIcons, badgeListClassName, children, size, }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Badge;
@@ -4,6 +4,7 @@ export type BadgeIconType = BadgeIconProps['type'];
4
4
  export interface BadgeProps {
5
5
  ariaLabel?: string;
6
6
  badgeIcons: [BadgeIconType] | [BadgeIconType, BadgeIconType] | [BadgeIconType, BadgeIconType, BadgeIconType] | [];
7
+ badgeListClassName?: string;
7
8
  children: BadgeOwnProps['children'];
8
9
  size?: BadgeIconProps['size'];
9
10
  }
@@ -11,7 +11,7 @@ type BaseIconButtonProps = Omit<ButtonProps, 'ref' | 'className'> & {
11
11
  loading?: boolean;
12
12
  target?: string;
13
13
  type?: 'button' | 'submit' | 'reset';
14
- variant?: 'green' | 'white' | 'grey' | 'inverse' | 'none';
14
+ variant?: 'green' | 'white' | 'grey' | 'inverse' | 'pink' | 'none';
15
15
  };
16
16
  export type IconButtonIcon16Props = {
17
17
  icon: Icon16;
@@ -1,6 +1,8 @@
1
+ import { IconProps } from '../../../Base/Icon/Icon.types';
1
2
  import { TSquareSize } from '../Thumbnail/Thumbnail.type';
2
3
  type BaseAvatarProps = {
3
4
  alt: string;
5
+ icon?: IconProps;
4
6
  imageSrc?: string;
5
7
  };
6
8
  type SquareAvatarProps = BaseAvatarProps & {
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
2
- export type TypographyTypeLanding = 'claim' | 'claim-uppercase' | 'h1' | 'h1-uppercase' | 'h2' | 'h2-uppercase' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'body-large' | 'body-large-semibold' | 'body' | 'body-semibold' | 'body-small' | 'body-small-semibold' | 'body-small-italic' | 'body-italic' | 'body-large-italic' | 'quote-large' | 'detail-small' | 'detail-small-bold';
2
+ export type TypographyTypeLanding = 'claim' | 'claim-uppercase' | 'h1' | 'h1-uppercase' | 'h2' | 'h2-uppercase' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'body-large' | 'body-large-semibold' | 'body' | 'body-semibold' | 'body-small' | 'body-small-semibold' | 'body-small-italic' | 'body-italic' | 'body-large-italic' | 'quote-large' | 'quote-small' | '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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "4.13.0-development.3",
3
+ "version": "4.13.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",