@goodhood-web/ui 4.12.0 → 4.13.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.
- package/index.js +40 -40
- package/index.mjs +3852 -3840
- package/lib/Atoms/Badges/Badge/Badge.d.ts +1 -1
- package/lib/Atoms/Badges/Badge/Badge.types.d.ts +1 -0
- package/lib/Atoms/Buttons/IconButton/IconButton.types.d.ts +1 -1
- package/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.d.ts +1 -1
- package/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.types.d.ts +1 -0
- package/lib/Atoms/Content/AvatarWithPlaceholder/AvatarWithPlaceholder.types.d.ts +2 -0
- package/lib/Atoms/Content/BodyText/BodyText.d.ts +1 -1
- package/lib/Atoms/Content/PoiAvatar/PoiAvatar.type.d.ts +1 -1
- package/lib/Base/Typography/Typography.types.d.ts +1 -1
- package/lib/Molecules/Card/Card.d.ts +1 -1
- package/lib/Molecules/Card/Card.types.d.ts +2 -0
- package/lib/Molecules/Card/CardHeader/CardHeader.d.ts +1 -1
- package/lib/Molecules/Card/CardHeader/CardHeader.types.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/_design-tokens-landing.scss +24 -0
- package/lib/Atoms/Content/BodyText/util.d.ts +0 -1
|
@@ -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,3 +1,3 @@
|
|
|
1
1
|
import { ContentCreatorTileProps } from './ContentCreatorTile.types';
|
|
2
|
-
declare const ContentCreatorTile: ({ dataTestId, description, headline, isActive, isPending, onClick, selected, sticker, }: ContentCreatorTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ContentCreatorTile: ({ dataTestId, description, headline, isActive, isPending, layout, onClick, selected, sticker, }: ContentCreatorTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ContentCreatorTile;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as BodyTextProps } from './BodyText.types';
|
|
2
|
-
declare const BodyText: ({ bodyText, headlineText, parseContent, type }: BodyTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const BodyText: ({ bodyText, headlineText, parseContent, type, }: BodyTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BodyText;
|
|
@@ -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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CardProps } from './Card.types';
|
|
2
|
-
declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, shadow, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Card;
|
|
@@ -8,6 +8,7 @@ export interface CardBaseProps {
|
|
|
8
8
|
children: ReactElement<CardBodyProps | CardHeaderProps> | ReactElement<CardBodyProps | CardHeaderProps>[];
|
|
9
9
|
className?: string;
|
|
10
10
|
role?: string;
|
|
11
|
+
shadow?: CardShadow;
|
|
11
12
|
withoutPadding?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export type ResponsiveProps = {
|
|
@@ -19,3 +20,4 @@ export type NonResponsiveProps = {
|
|
|
19
20
|
responsive?: false;
|
|
20
21
|
} & CardBaseProps;
|
|
21
22
|
export type CardProps = ResponsiveProps | NonResponsiveProps;
|
|
23
|
+
export type CardShadow = 'low-small' | 'middle-small';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CardHeaderProps } from './CardHeader.types';
|
|
2
|
-
declare const CardHeader: ({ as, className, headline, leftElement, rightElement, type, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CardHeader: ({ as, className, headline, leftElement, rightElement, subHeadline, type, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CardHeader;
|