@goodhood-web/ui 1.11.0 → 1.12.0-development.2
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.d.ts +61 -60
- package/index.js +70 -70
- package/index.mjs +5420 -5267
- package/lib/{BadgeLabel → Atoms/Badges/BadgeLabel}/BadgeLabel.types.d.ts +1 -1
- package/lib/{Sticker → Atoms/Badges/Sticker}/Sticker.types.d.ts +1 -1
- package/lib/{IconButton → Atoms/Buttons/IconButton}/IconButton.types.d.ts +1 -1
- package/lib/{TextButton → Atoms/Buttons/TextButton}/TextButton.types.d.ts +2 -2
- package/lib/{FeedTile → Atoms/Buttons/Tiles/FeedTile}/FeedTile.types.d.ts +2 -2
- package/lib/{MenuTile → Atoms/Buttons/Tiles/MenuTile}/MenuTile.type.d.ts +2 -2
- package/lib/{PointOfInterestIProfileTile → Atoms/Buttons/Tiles/PointOfInterestIProfileTile}/PointOfInterestIProfileTile.types.d.ts +2 -2
- package/lib/{PlaceholderThumbnail → Atoms/Content/PlaceholderThumbnail}/PlaceholderThumbnail.type.d.ts +1 -1
- package/lib/{Thumbnail → Atoms/Content/Thumbnail}/Thumbnail.type.d.ts +1 -1
- package/lib/{ThumbnailWithLabel → Atoms/Content/ThumbnailWithLabel}/ThumbnailWithLabel.type.d.ts +1 -1
- package/lib/{SelectablePill → Atoms/Selectables/SelectablePill}/SelectablePill.types.d.ts +1 -1
- package/lib/{Icon → Base/Icon}/Icon.types.d.ts +4 -4
- package/lib/{Icon/icons/18x18 → Base/Icon/icons/16x16}/index.d.ts +6 -0
- package/lib/{Icon → Base/Icon}/icons/index.d.ts +7 -1
- package/lib/{Card → Molecules/Card}/Card.types.d.ts +1 -1
- package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBarCta/ActionBarCta.types.d.ts +1 -1
- package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBarList/ActionItem/ActionItem.types.d.ts +2 -2
- package/lib/{Card → Molecules/Card}/CardHeader/CardHeader.d.ts +1 -1
- package/lib/{Card/CardHeader/CardHeader.type.d.ts → Molecules/Card/CardHeader/CardHeader.types.d.ts} +3 -3
- package/lib/{MenuItem → Molecules/Navigation/MenuItem}/MenuItem.types.d.ts +1 -1
- package/lib/{NavBar → Molecules/Navigation/NavBar}/NavItem/NavItem.types.d.ts +1 -1
- package/lib/{EmptyState → Molecules/Notices/EmptyState}/EmptyState.types.d.ts +3 -3
- package/lib/{Notice → Molecules/Notices/Notice}/Notice.types.d.ts +4 -4
- package/lib/{Snackbar → Molecules/Notices/Snackbar}/Snackbar.types.d.ts +1 -1
- package/lib/{SelectablePillGroup → Molecules/Selections/SelectablePillGroup}/SelectablePillGroup.types.d.ts +1 -1
- package/lib/{ToggleInput → Molecules/Selections/ToggleInput}/ToggleInput.types.d.ts +1 -1
- package/lib/{BottomSheet → Organisms/Modals/BottomSheet}/BottomSheet.types.d.ts +3 -3
- package/lib/{Modal → Organisms/Modals/Modal}/Modal.types.d.ts +2 -2
- package/lib/{Sheet → Organisms/Modals/Sheet}/Sheet.types.d.ts +2 -2
- package/package.json +1 -1
- package/style.css +1 -1
- /package/lib/{Badge → Atoms/Badges/Badge}/Badge.d.ts +0 -0
- /package/lib/{Badge → Atoms/Badges/Badge}/Badge.types.d.ts +0 -0
- /package/lib/{BadgeIcon → Atoms/Badges/BadgeIcon}/BadgeIcon.d.ts +0 -0
- /package/lib/{BadgeIcon → Atoms/Badges/BadgeIcon}/BadgeIcon.types.d.ts +0 -0
- /package/lib/{BadgeLabel → Atoms/Badges/BadgeLabel}/BadgeLabel.d.ts +0 -0
- /package/lib/{FeedItemCategory → Atoms/Badges/FeedItemCategory}/FeedItemCategory.d.ts +0 -0
- /package/lib/{FeedItemCategory → Atoms/Badges/FeedItemCategory}/FeedItemCategory.types.d.ts +0 -0
- /package/lib/{LabelPill → Atoms/Badges/LabelPill}/LabelPill.d.ts +0 -0
- /package/lib/{LabelPill → Atoms/Badges/LabelPill}/LabelPill.types.d.ts +0 -0
- /package/lib/{Sticker → Atoms/Badges/Sticker}/Sticker.d.ts +0 -0
- /package/lib/{Bookmark → Atoms/Buttons/Bookmark}/Bookmark.d.ts +0 -0
- /package/lib/{Bookmark → Atoms/Buttons/Bookmark}/Bookmark.types.d.ts +0 -0
- /package/lib/{Button → Atoms/Buttons/Button}/Button.d.ts +0 -0
- /package/lib/{Button → Atoms/Buttons/Button}/Button.types.d.ts +0 -0
- /package/lib/{ButtonPrimary → Atoms/Buttons/ButtonPrimary}/ButtonPrimary.d.ts +0 -0
- /package/lib/{ButtonPrimary → Atoms/Buttons/ButtonPrimary}/ButtonPrimary.types.d.ts +0 -0
- /package/lib/{ButtonSecondary → Atoms/Buttons/ButtonSecondary}/ButtonSecondary.d.ts +0 -0
- /package/lib/{ButtonSecondary → Atoms/Buttons/ButtonSecondary}/ButtonSecondary.types.d.ts +0 -0
- /package/lib/{ButtonTertiary → Atoms/Buttons/ButtonTertiary}/ButtonTertiary.d.ts +0 -0
- /package/lib/{ButtonTertiary → Atoms/Buttons/ButtonTertiary}/ButtonTertiary.types.d.ts +0 -0
- /package/lib/{IconButton → Atoms/Buttons/IconButton}/IconButton.d.ts +0 -0
- /package/lib/{IconButton → Atoms/Buttons/IconButton}/utils.d.ts +0 -0
- /package/lib/{TextButton → Atoms/Buttons/TextButton}/TextButton.d.ts +0 -0
- /package/lib/{FeedTile → Atoms/Buttons/Tiles/FeedTile}/FeedTile.d.ts +0 -0
- /package/lib/{MenuTile → Atoms/Buttons/Tiles/MenuTile}/MenuTile.d.ts +0 -0
- /package/lib/{PointOfInterestIProfileTile → Atoms/Buttons/Tiles/PointOfInterestIProfileTile}/PointOfInterestIProfileTile.d.ts +0 -0
- /package/lib/{BodyText → Atoms/Content/BodyText}/BodyText.d.ts +0 -0
- /package/lib/{BodyText → Atoms/Content/BodyText}/BodyText.types.d.ts +0 -0
- /package/lib/{BodyText → Atoms/Content/BodyText}/util.d.ts +0 -0
- /package/lib/{PlaceholderThumbnail → Atoms/Content/PlaceholderThumbnail}/PlaceholderThumbnail.d.ts +0 -0
- /package/lib/{Thumbnail → Atoms/Content/Thumbnail}/Thumbnail.d.ts +0 -0
- /package/lib/{ThumbnailWithLabel → Atoms/Content/ThumbnailWithLabel}/ThumbnailWithLabel.d.ts +0 -0
- /package/lib/{ThumbnailWrapper → Atoms/Content/ThumbnailWrapper}/ThumbnailWrapper.d.ts +0 -0
- /package/lib/{ThumbnailWrapper → Atoms/Content/ThumbnailWrapper}/ThumbnailWrapper.types.d.ts +0 -0
- /package/lib/{Divider → Atoms/Divider}/Divider.d.ts +0 -0
- /package/lib/{Divider → Atoms/Divider}/Divider.types.d.ts +0 -0
- /package/lib/{Select → Atoms/Dropdowns/Select}/Select.d.ts +0 -0
- /package/lib/{Select → Atoms/Dropdowns/Select}/Select.example.d.ts +0 -0
- /package/lib/{Select → Atoms/Dropdowns/Select}/Select.types.d.ts +0 -0
- /package/lib/{Image → Atoms/Image}/Image.d.ts +0 -0
- /package/lib/{Image → Atoms/Image}/Image.type.d.ts +0 -0
- /package/lib/{CheckboxInput → Atoms/Inputs/CheckboxInput}/CheckboxInput.d.ts +0 -0
- /package/lib/{CheckboxInput → Atoms/Inputs/CheckboxInput}/CheckboxInput.types.d.ts +0 -0
- /package/lib/{InputFieldSpecial → Atoms/Inputs/InputFieldSpecial}/InputFieldSpecial.d.ts +0 -0
- /package/lib/{InputFieldSpecial → Atoms/Inputs/InputFieldSpecial}/InputFieldSpecial.types.d.ts +0 -0
- /package/lib/{InputFieldSpecial → Atoms/Inputs/InputFieldSpecial}/InputFieldSpecial.utils.d.ts +0 -0
- /package/lib/{RadioButton → Atoms/Inputs/RadioButton}/RadioButton.d.ts +0 -0
- /package/lib/{RadioButton → Atoms/Inputs/RadioButton}/RadioButton.types.d.ts +0 -0
- /package/lib/{TextArea → Atoms/Inputs/TextArea}/TextArea.d.ts +0 -0
- /package/lib/{TextArea → Atoms/Inputs/TextArea}/TextArea.types.d.ts +0 -0
- /package/lib/{TextInput → Atoms/Inputs/TextInput}/TextInput.d.ts +0 -0
- /package/lib/{TextInput → Atoms/Inputs/TextInput}/TextInput.types.d.ts +0 -0
- /package/lib/{Toggle → Atoms/Inputs/Toggle}/Toggle.d.ts +0 -0
- /package/lib/{Toggle → Atoms/Inputs/Toggle}/Toggle.types.d.ts +0 -0
- /package/lib/{Loader → Atoms/Loader}/Loader.d.ts +0 -0
- /package/lib/{NotificationBubble → Atoms/NotificationBubble}/NotificationBubble.d.ts +0 -0
- /package/lib/{NotificationBubble → Atoms/NotificationBubble}/NotificationBubble.types.d.ts +0 -0
- /package/lib/{SelectablePill → Atoms/Selectables/SelectablePill}/SelectablePill.d.ts +0 -0
- /package/lib/{Icon → Base/Icon}/Icon.d.ts +0 -0
- /package/lib/{Icon → Base/Icon}/icons/24x24/index.d.ts +0 -0
- /package/lib/{Icon → Base/Icon}/icons/32x32/index.d.ts +0 -0
- /package/lib/{Typography → Base/Typography}/Typography.d.ts +0 -0
- /package/lib/{Typography → Base/Typography}/Typography.types.d.ts +0 -0
- /package/lib/{Typography → Base/Typography}/Typography.ui-test.d.ts +0 -0
- /package/lib/{Card → Molecules/Card}/Card.d.ts +0 -0
- /package/lib/{Card → Molecules/Card}/CardBody/CardBody.d.ts +0 -0
- /package/lib/{Card → Molecules/Card}/CardBody/CardBody.types.d.ts +0 -0
- /package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBar.d.ts +0 -0
- /package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBar.types.d.ts +0 -0
- /package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBarCta/ActionBarCta.d.ts +0 -0
- /package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBarList/ActionBarList.d.ts +0 -0
- /package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBarList/ActionBarList.types.d.ts +0 -0
- /package/lib/{ActionBar → Molecules/Card/CardFooters/ActionBar}/ActionBarList/ActionItem/ActionItem.d.ts +0 -0
- /package/lib/{NotificationListItem → Molecules/ListItems/NotificationListItem}/NotificationListItem.d.ts +0 -0
- /package/lib/{NotificationListItem → Molecules/ListItems/NotificationListItem}/NotificationListItem.types.d.ts +0 -0
- /package/lib/{Markdown → Molecules/Markdown}/Markdown.d.ts +0 -0
- /package/lib/{Markdown → Molecules/Markdown}/Markdown.types.d.ts +0 -0
- /package/lib/{MenuItem → Molecules/Navigation/MenuItem}/MenuItem.d.ts +0 -0
- /package/lib/{NavBar → Molecules/Navigation/NavBar}/NavBar.d.ts +0 -0
- /package/lib/{NavBar → Molecules/Navigation/NavBar}/NavBar.types.d.ts +0 -0
- /package/lib/{NavBar → Molecules/Navigation/NavBar}/NavItem/NavItem.d.ts +0 -0
- /package/lib/{EmptyState → Molecules/Notices/EmptyState}/EmptyState.d.ts +0 -0
- /package/lib/{Notice → Molecules/Notices/Notice}/InfoNotice/InfoNotice.d.ts +0 -0
- /package/lib/{Notice → Molecules/Notices/Notice}/Notice.d.ts +0 -0
- /package/lib/{Notice → Molecules/Notices/Notice}/WarningNotice/WarningNotice.d.ts +0 -0
- /package/lib/{Snackbar → Molecules/Notices/Snackbar}/Snackbar.d.ts +0 -0
- /package/lib/{RadioButtonCluster → Molecules/Selections/RadioButtonCluster}/RadioButtonCluster.d.ts +0 -0
- /package/lib/{RadioButtonCluster → Molecules/Selections/RadioButtonCluster}/RadioButtonCluster.example.d.ts +0 -0
- /package/lib/{RadioButtonCluster → Molecules/Selections/RadioButtonCluster}/RadioButtonCluster.types.d.ts +0 -0
- /package/lib/{SelectablePillGroup → Molecules/Selections/SelectablePillGroup}/SelectablePillGroup.d.ts +0 -0
- /package/lib/{SwitcherToggle → Molecules/Selections/SwitcherToggle}/SwitcherToggle.d.ts +0 -0
- /package/lib/{SwitcherToggle → Molecules/Selections/SwitcherToggle}/SwitcherToggle.types.d.ts +0 -0
- /package/lib/{ToggleInput → Molecules/Selections/ToggleInput}/ToggleInput.d.ts +0 -0
- /package/lib/{NavigationTab → Molecules/TabBar/NavigationTab}/NavigationTab.d.ts +0 -0
- /package/lib/{NavigationTab → Molecules/TabBar/NavigationTab}/NavigationTab.types.d.ts +0 -0
- /package/lib/{MarketplaceItemCardless → Organisms/Cards/MarketplaceItemCardless}/MarketplaceItemCardless.d.ts +0 -0
- /package/lib/{MarketplaceItemCardless → Organisms/Cards/MarketplaceItemCardless}/MarketplaceItemCardless.types.d.ts +0 -0
- /package/lib/{Fieldset → Organisms/Forms/Fieldset}/Fieldset.d.ts +0 -0
- /package/lib/{Fieldset → Organisms/Forms/Fieldset}/Fieldset.types.d.ts +0 -0
- /package/lib/{Form → Organisms/Forms/Form}/Form.d.ts +0 -0
- /package/lib/{Form → Organisms/Forms/Form}/Form.types.d.ts +0 -0
- /package/lib/{Legend → Organisms/Forms/Legend}/Legend.d.ts +0 -0
- /package/lib/{Legend → Organisms/Forms/Legend}/Legend.types.d.ts +0 -0
- /package/lib/{BottomSheet → Organisms/Modals/BottomSheet}/BottomSheet.d.ts +0 -0
- /package/lib/{Modal → Organisms/Modals/Modal}/Backdrop/Backdrop.d.ts +0 -0
- /package/lib/{Modal → Organisms/Modals/Modal}/Backdrop/Backdrop.types.d.ts +0 -0
- /package/lib/{Modal → Organisms/Modals/Modal}/Modal.d.ts +0 -0
- /package/lib/{Popup → Organisms/Modals/Popup}/Popup.d.ts +0 -0
- /package/lib/{Popup → Organisms/Modals/Popup}/Popup.types.d.ts +0 -0
- /package/lib/{Sheet → Organisms/Modals/Sheet}/Backdrop/Backdrop.d.ts +0 -0
- /package/lib/{Sheet → Organisms/Modals/Sheet}/Backdrop/Backdrop.types.d.ts +0 -0
- /package/lib/{Sheet → Organisms/Modals/Sheet}/Sheet.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TextButtonProps } from '../../Buttons/TextButton/TextButton.types';
|
|
1
2
|
import { default as BadgeIconProps } from '../BadgeIcon/BadgeIcon.types';
|
|
2
|
-
import { TextButtonProps } from '../TextButton/TextButton.types';
|
|
3
3
|
|
|
4
4
|
export default interface BadgeLabelProps {
|
|
5
5
|
buttonHref: TextButtonProps['href'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
|
|
1
2
|
import { ButtonProps } from '../Button/Button.types';
|
|
2
|
-
import { Icon24, Icon32 } from '../Icon/Icon.types';
|
|
3
3
|
|
|
4
4
|
type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & ({
|
|
5
5
|
ariaLabel: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
+
import { IconProps } from '../../../Base/Icon/Icon.types';
|
|
3
|
+
import { NotificationBubbleProps } from '../../NotificationBubble/NotificationBubble.types';
|
|
2
4
|
import { ButtonProps } from '../Button/Button.types';
|
|
3
|
-
import { IconProps } from '../Icon/Icon.types';
|
|
4
|
-
import { NotificationBubbleProps } from '../NotificationBubble/NotificationBubble.types';
|
|
5
5
|
|
|
6
6
|
export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
|
|
7
7
|
className?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Icon32 } from '../../../../Base/Icon/Icon.types';
|
|
3
|
+
import { BaseButtonProps } from '../../../Buttons/Button/Button.types';
|
|
4
4
|
|
|
5
5
|
export default interface FeedTileProps {
|
|
6
6
|
fullWidth?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '
|
|
2
|
-
import { Icon32 } from '
|
|
1
|
+
import { ButtonProps } from '@mui/base';
|
|
2
|
+
import { Icon32 } from '../../../../Base/Icon/Icon.types';
|
|
3
3
|
|
|
4
4
|
export default interface MenuTileProps extends Omit<ButtonProps, 'children'> {
|
|
5
5
|
fullWidth?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Icon32 } from '../../../../Base/Icon/Icon.types';
|
|
2
|
+
import { ButtonProps } from '../../Button/Button.types';
|
|
3
3
|
|
|
4
4
|
export interface PointOfInterestProfileProps extends Omit<ButtonProps, 'children'> {
|
|
5
5
|
buttonLabel: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AriaRole } from 'react';
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as icons16 } from './icons/16x16';
|
|
3
3
|
import { default as icons24 } from './icons/24x24';
|
|
4
4
|
import { default as icons32 } from './icons/32x32';
|
|
5
5
|
|
|
6
6
|
export type Icon32 = keyof typeof icons32;
|
|
7
7
|
export type Icon24 = keyof typeof icons24;
|
|
8
|
-
export type
|
|
8
|
+
export type Icon16 = keyof typeof icons16;
|
|
9
9
|
type BaseIconProps = {
|
|
10
10
|
className?: string;
|
|
11
11
|
role?: Extract<AriaRole, 'presentation' | 'img'>;
|
|
@@ -18,7 +18,7 @@ export type IconProps = ({
|
|
|
18
18
|
name: Icon24;
|
|
19
19
|
size: '24';
|
|
20
20
|
} & BaseIconProps) | ({
|
|
21
|
-
name:
|
|
22
|
-
size: '
|
|
21
|
+
name: Icon16;
|
|
22
|
+
size: '16';
|
|
23
23
|
} & BaseIconProps);
|
|
24
24
|
export {};
|
|
@@ -11,6 +11,12 @@ declare const IconsMap: {
|
|
|
11
11
|
chevron_up: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
12
12
|
title?: string;
|
|
13
13
|
}>;
|
|
14
|
+
heart_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
15
|
+
title?: string;
|
|
16
|
+
}>;
|
|
17
|
+
heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
18
|
+
title?: string;
|
|
19
|
+
}>;
|
|
14
20
|
privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
15
21
|
title?: string;
|
|
16
22
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const iconsMap: {
|
|
2
|
-
'
|
|
2
|
+
'16': {
|
|
3
3
|
chevron_down: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
4
4
|
title?: string;
|
|
5
5
|
}>;
|
|
@@ -12,6 +12,12 @@ declare const iconsMap: {
|
|
|
12
12
|
chevron_up: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
13
13
|
title?: string;
|
|
14
14
|
}>;
|
|
15
|
+
heart_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
16
|
+
title?: string;
|
|
17
|
+
}>;
|
|
18
|
+
heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
19
|
+
title?: string;
|
|
20
|
+
}>;
|
|
15
21
|
privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
16
22
|
title?: string;
|
|
17
23
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { CardBodyProps } from './CardBody/CardBody.types';
|
|
3
|
-
import { CardHeaderProps } from './CardHeader/CardHeader.
|
|
3
|
+
import { CardHeaderProps } from './CardHeader/CardHeader.types';
|
|
4
4
|
|
|
5
5
|
export interface CardProps {
|
|
6
6
|
allowedElement?: React.ElementType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '
|
|
2
|
-
import { Icon24 } from '
|
|
1
|
+
import { ButtonProps } from '../../../../../../Atoms/Buttons/Button/Button.types';
|
|
2
|
+
import { Icon24 } from '../../../../../../Base/Icon/Icon.types';
|
|
3
3
|
|
|
4
4
|
export default interface ActionBarItemProps {
|
|
5
5
|
className?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardHeaderProps } from './CardHeader.
|
|
1
|
+
import { CardHeaderProps } from './CardHeader.types';
|
|
2
2
|
|
|
3
3
|
declare const CardHeader: ({ as, className, headline, leftElement, rightElement, type, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default CardHeader;
|
package/lib/{Card/CardHeader/CardHeader.type.d.ts → Molecules/Card/CardHeader/CardHeader.types.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TypographyProps } from '
|
|
2
|
+
import { IconButtonProps } from '../../../Atoms/Buttons/IconButton/IconButton.types';
|
|
3
|
+
import { IconProps } from '../../../Base/Icon/Icon.types';
|
|
4
|
+
import { TypographyProps } from '../../../Base/Typography/Typography.types';
|
|
5
5
|
|
|
6
6
|
export type CardHeaderProps = {
|
|
7
7
|
as?: Exclude<TypographyProps['as'], 'h1' | 'p' | 'span'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TextButtonProps } from '
|
|
2
|
+
import { StickerProps } from '../../../Atoms/Badges/Sticker/Sticker.types';
|
|
3
|
+
import { ButtonPrimaryProps } from '../../../Atoms/Buttons/ButtonPrimary/ButtonPrimary.types';
|
|
4
|
+
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
5
5
|
|
|
6
6
|
type TextButton = Omit<TextButtonProps, 'size'> & {
|
|
7
7
|
buttonType: 'text';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { NotificationBubbleProps } from '
|
|
4
|
-
import {
|
|
1
|
+
import { IconButtonProps } from '../../../Atoms/Buttons/IconButton/IconButton.types';
|
|
2
|
+
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
3
|
+
import { NotificationBubbleProps } from '../../../Atoms/NotificationBubble/NotificationBubble.types';
|
|
4
|
+
import { Icon24 } from '../../../Base/Icon/Icon.types';
|
|
5
5
|
|
|
6
6
|
export default interface NoticeProps {
|
|
7
7
|
context: 'warning' | 'infoGrey' | 'infoGreen';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { ButtonPrimaryProps } from '
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { ButtonPrimaryProps } from '../../../Atoms/Buttons/ButtonPrimary/ButtonPrimary.types';
|
|
3
|
+
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
4
|
+
import { CardHeaderProps } from '../../../Molecules/Card/CardHeader/CardHeader.types';
|
|
5
5
|
|
|
6
6
|
export interface SheetProps {
|
|
7
7
|
ariaLabel?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { CardBodyProps } from '
|
|
3
|
-
import { CardHeaderProps } from '
|
|
2
|
+
import { CardBodyProps } from '../../../Molecules/Card/CardBody/CardBody.types';
|
|
3
|
+
import { CardHeaderProps } from '../../../Molecules/Card/CardHeader/CardHeader.types';
|
|
4
4
|
|
|
5
5
|
export interface ModalProps {
|
|
6
6
|
ariaLabel?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { CardBodyProps } from '
|
|
3
|
-
import { CardHeaderProps } from '
|
|
2
|
+
import { CardBodyProps } from '../../../Molecules/Card/CardBody/CardBody.types';
|
|
3
|
+
import { CardHeaderProps } from '../../../Molecules/Card/CardHeader/CardHeader.types';
|
|
4
4
|
|
|
5
5
|
export interface SheetProps {
|
|
6
6
|
ariaLabel?: string;
|