@goodhood-web/ui 3.0.0-development.2 → 3.0.0-development.20

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.
Files changed (37) hide show
  1. package/index.d.ts +2 -1
  2. package/index.js +75 -75
  3. package/index.mjs +5498 -5398
  4. package/lib/Atoms/Badges/Badge/Badge.d.ts +1 -1
  5. package/lib/Atoms/Badges/Badge/Badge.types.d.ts +1 -0
  6. package/lib/Atoms/Badges/BadgeIcon/BadgeIcon.types.d.ts +1 -1
  7. package/lib/Atoms/Buttons/Button/Button.types.d.ts +1 -0
  8. package/lib/Atoms/Buttons/IconButton/IconButton.types.d.ts +6 -2
  9. package/lib/Atoms/Buttons/IconButton/utils.d.ts +2 -2
  10. package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +1 -1
  11. package/lib/Atoms/Buttons/Tiles/FeedTile/FeedTile.d.ts +1 -1
  12. package/lib/Atoms/Buttons/Tiles/FeedTile/FeedTile.types.d.ts +1 -0
  13. package/lib/Atoms/Buttons/Tiles/MenuTile/MenuTile.d.ts +1 -1
  14. package/lib/Atoms/Buttons/Tiles/MenuTile/MenuTile.type.d.ts +1 -0
  15. package/lib/Atoms/Content/PoiAvatar/PoiAvatar.d.ts +3 -0
  16. package/lib/Atoms/Content/PoiAvatar/PoiAvatar.type.d.ts +6 -0
  17. package/lib/Atoms/Content/Thumbnail/Thumbnail.type.d.ts +1 -1
  18. package/lib/Atoms/Selectables/SelectablePill/SelectablePill.d.ts +1 -1
  19. package/lib/Atoms/Selectables/SelectablePill/SelectablePill.types.d.ts +3 -2
  20. package/lib/Base/Icon/icons/index.d.ts +36 -0
  21. package/lib/Base/Icon/icons/outline/16x16/index.d.ts +12 -0
  22. package/lib/Base/Icon/icons/outline/24x24/index.d.ts +18 -0
  23. package/lib/Base/Icon/icons/outline/32x32/index.d.ts +6 -0
  24. package/lib/Base/Icon/icons/outline/index.d.ts +36 -0
  25. package/lib/Molecules/Card/CardHeader/CardHeader.types.d.ts +1 -1
  26. package/lib/Molecules/ListItems/Neighbour/Neighbour.d.ts +1 -1
  27. package/lib/Molecules/ListItems/Neighbour/Neighbour.types.d.ts +1 -0
  28. package/lib/Molecules/Navigation/MenuItem/MenuItem.d.ts +1 -1
  29. package/lib/Molecules/Navigation/MenuItem/MenuItem.types.d.ts +1 -0
  30. package/lib/Molecules/Notices/Notice/InfoNotice/InfoNotice.d.ts +1 -1
  31. package/lib/Molecules/Notices/Notice/Notice.types.d.ts +2 -1
  32. package/lib/Molecules/Notices/Notice/WarningNotice/WarningNotice.d.ts +1 -1
  33. package/lib/Molecules/Notices/Snackbar/Snackbar.d.ts +1 -1
  34. package/lib/Molecules/Notices/Snackbar/Snackbar.types.d.ts +2 -0
  35. package/lib/Organisms/Modals/Popup/Popup.types.d.ts +1 -0
  36. package/package.json +1 -1
  37. package/style.css +1 -1
@@ -1,3 +1,3 @@
1
1
  import { BadgeProps } from './Badge.types';
2
- declare const Badge: ({ ariaLabel, badgeIcons, children }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Badge: ({ ariaLabel, badgeIcons, children, size }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Badge;
@@ -5,4 +5,5 @@ export interface BadgeProps {
5
5
  ariaLabel?: string;
6
6
  badgeIcons: [BadgeIconType] | [BadgeIconType, BadgeIconType] | [BadgeIconType, BadgeIconType, BadgeIconType] | [];
7
7
  children: BadgeOwnProps['children'];
8
+ size?: BadgeIconProps['size'];
8
9
  }
@@ -4,6 +4,6 @@ export default interface BadgeIconProps {
4
4
  ariaLabel?: string;
5
5
  className?: string;
6
6
  role?: AriaRole;
7
- size: 'small' | 'medium';
7
+ size: 'small' | 'medium' | 'large';
8
8
  type: BadgeIconType;
9
9
  }
@@ -8,6 +8,7 @@ interface CommonProps {
8
8
  className?: string;
9
9
  'data-testid'?: string;
10
10
  disabled?: boolean;
11
+ isToggleButton?: boolean;
11
12
  ref?: ForwardedRef<null>;
12
13
  role?: AriaRole;
13
14
  selected?: boolean;
@@ -1,4 +1,4 @@
1
- import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
1
+ import { Icon16, Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  import { ButtonProps } from '../Button/Button.types';
3
3
  type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & ({
4
4
  ariaLabel: string;
@@ -11,6 +11,10 @@ type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> &
11
11
  type?: 'button' | 'submit' | 'reset';
12
12
  variant?: 'green' | 'white' | 'grey';
13
13
  };
14
+ export type IconButtonIcon16Props = {
15
+ icon: Icon16;
16
+ size?: 'extraSmall';
17
+ } & BaseIconButtonProps;
14
18
  export type IconButtonIcon24Props = {
15
19
  icon: Icon24;
16
20
  size?: 'small';
@@ -19,5 +23,5 @@ export type IconButtonIcon32Props = {
19
23
  icon: Icon32;
20
24
  size?: 'medium' | 'large';
21
25
  } & BaseIconButtonProps;
22
- export type IconButtonProps = IconButtonIcon32Props | IconButtonIcon24Props;
26
+ export type IconButtonProps = IconButtonIcon32Props | IconButtonIcon24Props | IconButtonIcon16Props;
23
27
  export {};
@@ -1,3 +1,3 @@
1
- type IconButtonSize = 'large' | 'medium' | 'small';
2
- export declare const getIconSize: (size: IconButtonSize) => "32" | "24";
1
+ type IconButtonSize = 'large' | 'medium' | 'small' | 'extraSmall';
2
+ export declare const getIconSize: (size: IconButtonSize) => "32" | "24" | "16";
3
3
  export {};
@@ -4,7 +4,7 @@ import { NotificationBubbleProps } from '../../NotificationBubble/NotificationBu
4
4
  import { ButtonProps } from '../Button/Button.types';
5
5
  export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
6
6
  className?: string;
7
- color: 'green' | 'blue' | 'deepPurple';
7
+ color: 'green' | 'blue' | 'deepPurple' | 'pinkLight' | 'pinkDark';
8
8
  leftIcon?: ReactElement<IconProps | NotificationBubbleProps>;
9
9
  rightIcon?: ReactElement<IconProps | NotificationBubbleProps>;
10
10
  size: 'large' | 'medium' | 'small' | 'link';
@@ -1,3 +1,3 @@
1
1
  import { default as FeedTileProps } from './FeedTile.types';
2
- declare const FeedTile: ({ fullWidth, icon, onClick, text }: FeedTileProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const FeedTile: ({ ariaLabel, fullWidth, icon, onClick, text }: FeedTileProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default FeedTile;
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { Icon32 } from '../../../../Base/Icon/Icon.types';
3
3
  import { BaseButtonProps } from '../../../Buttons/Button/Button.types';
4
4
  export default interface FeedTileProps {
5
+ ariaLabel?: string;
5
6
  fullWidth?: boolean;
6
7
  icon: Icon32;
7
8
  onClick?: BaseButtonProps['onClick'];
@@ -1,3 +1,3 @@
1
1
  import { default as MenuTileProps } from './MenuTile.type';
2
- declare const MenuTile: ({ fullWidth, icon, primaryText, secondaryText, ...props }: MenuTileProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MenuTile: ({ ariaLabel, fullWidth, icon, primaryText, secondaryText, ...props }: MenuTileProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MenuTile;
@@ -1,6 +1,7 @@
1
1
  import { Icon32 } from '../../../../Base/Icon/Icon.types';
2
2
  import { ButtonProps } from '../../Button/Button.types';
3
3
  export default interface MenuTileProps extends Omit<ButtonProps, 'children'> {
4
+ ariaLabel?: string;
4
5
  fullWidth?: boolean;
5
6
  icon?: Icon32;
6
7
  primaryText?: string;
@@ -0,0 +1,3 @@
1
+ import { PoiAvatarType } from './PoiAvatar.type';
2
+ export declare const PoiAvatar: ({ size, type }: PoiAvatarType) => import("react/jsx-runtime").JSX.Element;
3
+ export default PoiAvatar;
@@ -0,0 +1,6 @@
1
+ export declare const poiAvatarSizes: readonly ["48", "56", "64", "80"];
2
+ export type TSize = (typeof poiAvatarSizes)[number];
3
+ export interface PoiAvatarType {
4
+ size: TSize;
5
+ type: 'business' | 'specialPlace' | 'organisation';
6
+ }
@@ -4,7 +4,7 @@ export interface ThumbnailProps extends ImageProps {
4
4
  isPlaceholder?: boolean;
5
5
  }
6
6
  export declare const circularSizes: readonly ["28", "32", "40", "48", "56", "64", "80", "120", "280"];
7
- export declare const squareSizes: readonly ["24", "32", "40", "48", "56", "64", "80", "120"];
7
+ export declare const squareSizes: readonly ["24", "32", "40", "48", "56", "64", "80", "96", "120"];
8
8
  export type TCircularSize = (typeof circularSizes)[number];
9
9
  export type TSquareSize = (typeof squareSizes)[number];
10
10
  export interface ThumbnailCircularProps extends ThumbnailProps {
@@ -1,3 +1,3 @@
1
1
  import { SelectablePillProps } from './SelectablePill.types';
2
- declare const SelectablePill: ({ disabled, icon, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const SelectablePill: ({ disabled, icon, iconSize, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default SelectablePill;
@@ -1,7 +1,8 @@
1
- import { Icon32 } from '../../../Base/Icon/Icon.types';
1
+ import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  export interface SelectablePillProps {
3
3
  disabled?: boolean;
4
- icon?: Icon32;
4
+ icon?: Icon24 | Icon32;
5
+ iconSize?: '24' | '32';
5
6
  id: string;
6
7
  isSelected?: boolean;
7
8
  label: string;
@@ -117,12 +117,24 @@ declare const iconsMap: {
117
117
  desc?: string;
118
118
  descId?: string;
119
119
  }>;
120
+ list: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
121
+ title?: string;
122
+ titleId?: string;
123
+ desc?: string;
124
+ descId?: string;
125
+ }>;
120
126
  privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
121
127
  title?: string;
122
128
  titleId?: string;
123
129
  desc?: string;
124
130
  descId?: string;
125
131
  }>;
132
+ send: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
133
+ title?: string;
134
+ titleId?: string;
135
+ desc?: string;
136
+ descId?: string;
137
+ }>;
126
138
  };
127
139
  '24': {
128
140
  readonly arrow_left: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
@@ -197,6 +209,12 @@ declare const iconsMap: {
197
209
  desc?: string;
198
210
  descId?: string;
199
211
  }>;
212
+ readonly clock: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
213
+ title?: string;
214
+ titleId?: string;
215
+ desc?: string;
216
+ descId?: string;
217
+ }>;
200
218
  readonly comment_bubble: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
201
219
  title?: string;
202
220
  titleId?: string;
@@ -221,12 +239,24 @@ declare const iconsMap: {
221
239
  desc?: string;
222
240
  descId?: string;
223
241
  }>;
242
+ readonly emoji: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
243
+ title?: string;
244
+ titleId?: string;
245
+ desc?: string;
246
+ descId?: string;
247
+ }>;
224
248
  readonly envelope: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
225
249
  title?: string;
226
250
  titleId?: string;
227
251
  desc?: string;
228
252
  descId?: string;
229
253
  }>;
254
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
255
+ title?: string;
256
+ titleId?: string;
257
+ desc?: string;
258
+ descId?: string;
259
+ }>;
230
260
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
231
261
  title?: string;
232
262
  titleId?: string;
@@ -985,6 +1015,12 @@ declare const iconsMap: {
985
1015
  desc?: string;
986
1016
  descId?: string;
987
1017
  }>;
1018
+ readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
1019
+ title?: string;
1020
+ titleId?: string;
1021
+ desc?: string;
1022
+ descId?: string;
1023
+ }>;
988
1024
  readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
989
1025
  title?: string;
990
1026
  titleId?: string;
@@ -29,11 +29,23 @@ declare const IconsMap: {
29
29
  desc?: string;
30
30
  descId?: string;
31
31
  }>;
32
+ list: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
33
+ title?: string;
34
+ titleId?: string;
35
+ desc?: string;
36
+ descId?: string;
37
+ }>;
32
38
  privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
33
39
  title?: string;
34
40
  titleId?: string;
35
41
  desc?: string;
36
42
  descId?: string;
37
43
  }>;
44
+ send: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
45
+ title?: string;
46
+ titleId?: string;
47
+ desc?: string;
48
+ descId?: string;
49
+ }>;
38
50
  };
39
51
  export default IconsMap;
@@ -71,6 +71,12 @@ declare const IconsMap: {
71
71
  desc?: string;
72
72
  descId?: string;
73
73
  }>;
74
+ readonly clock: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
75
+ title?: string;
76
+ titleId?: string;
77
+ desc?: string;
78
+ descId?: string;
79
+ }>;
74
80
  readonly comment_bubble: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
75
81
  title?: string;
76
82
  titleId?: string;
@@ -95,12 +101,24 @@ declare const IconsMap: {
95
101
  desc?: string;
96
102
  descId?: string;
97
103
  }>;
104
+ readonly emoji: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
105
+ title?: string;
106
+ titleId?: string;
107
+ desc?: string;
108
+ descId?: string;
109
+ }>;
98
110
  readonly envelope: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
99
111
  title?: string;
100
112
  titleId?: string;
101
113
  desc?: string;
102
114
  descId?: string;
103
115
  }>;
116
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
117
+ title?: string;
118
+ titleId?: string;
119
+ desc?: string;
120
+ descId?: string;
121
+ }>;
104
122
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
105
123
  title?: string;
106
124
  titleId?: string;
@@ -557,6 +557,12 @@ declare const IconsMap: {
557
557
  desc?: string;
558
558
  descId?: string;
559
559
  }>;
560
+ readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
561
+ title?: string;
562
+ titleId?: string;
563
+ desc?: string;
564
+ descId?: string;
565
+ }>;
560
566
  readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
561
567
  title?: string;
562
568
  titleId?: string;
@@ -30,12 +30,24 @@ declare const iconsMap: {
30
30
  desc?: string;
31
31
  descId?: string;
32
32
  }>;
33
+ list: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
34
+ title?: string;
35
+ titleId?: string;
36
+ desc?: string;
37
+ descId?: string;
38
+ }>;
33
39
  privacy_lock_closed: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
34
40
  title?: string;
35
41
  titleId?: string;
36
42
  desc?: string;
37
43
  descId?: string;
38
44
  }>;
45
+ send: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
46
+ title?: string;
47
+ titleId?: string;
48
+ desc?: string;
49
+ descId?: string;
50
+ }>;
39
51
  };
40
52
  '24': {
41
53
  readonly arrow_left: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
@@ -110,6 +122,12 @@ declare const iconsMap: {
110
122
  desc?: string;
111
123
  descId?: string;
112
124
  }>;
125
+ readonly clock: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
126
+ title?: string;
127
+ titleId?: string;
128
+ desc?: string;
129
+ descId?: string;
130
+ }>;
113
131
  readonly comment_bubble: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
114
132
  title?: string;
115
133
  titleId?: string;
@@ -134,12 +152,24 @@ declare const iconsMap: {
134
152
  desc?: string;
135
153
  descId?: string;
136
154
  }>;
155
+ readonly emoji: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
156
+ title?: string;
157
+ titleId?: string;
158
+ desc?: string;
159
+ descId?: string;
160
+ }>;
137
161
  readonly envelope: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
138
162
  title?: string;
139
163
  titleId?: string;
140
164
  desc?: string;
141
165
  descId?: string;
142
166
  }>;
167
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
168
+ title?: string;
169
+ titleId?: string;
170
+ desc?: string;
171
+ descId?: string;
172
+ }>;
143
173
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
144
174
  title?: string;
145
175
  titleId?: string;
@@ -898,6 +928,12 @@ declare const iconsMap: {
898
928
  desc?: string;
899
929
  descId?: string;
900
930
  }>;
931
+ readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
932
+ title?: string;
933
+ titleId?: string;
934
+ desc?: string;
935
+ descId?: string;
936
+ }>;
901
937
  readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
902
938
  title?: string;
903
939
  titleId?: string;
@@ -6,7 +6,7 @@ export type CardHeaderProps = {
6
6
  as?: Exclude<AllowedTypographyHTMLTags, 'h1' | 'p' | 'span'>;
7
7
  className?: string;
8
8
  headline: string;
9
- leftElement?: ReactElement<IconProps | IconButtonProps>;
9
+ leftElement?: ReactElement<IconProps | IconButtonProps> | ReactNode;
10
10
  rightElement?: ReactElement<IconButtonProps> | ReactNode;
11
11
  type?: Exclude<TypographyTypeProduct, 'h1'>;
12
12
  };
@@ -1,3 +1,3 @@
1
1
  import { NeighbourListItemProps } from './Neighbour.types';
2
- declare const Neighbour: ({ address, altText, callToAction, fullName, iconType, imageUrl, linkTarget, onClick, profileUrl, }: NeighbourListItemProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Neighbour: ({ address, altText, callToAction, fullName, iconType, imageUrl, linkTarget, onClick, profileUrl, userId, }: NeighbourListItemProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Neighbour;
@@ -10,6 +10,7 @@ export interface NeighbourListItemBaseProps {
10
10
  imageUrl: string;
11
11
  linkTarget?: string;
12
12
  profileUrl: string;
13
+ userId: number;
13
14
  }
14
15
  export interface NeighbourListItemWithIcon extends NeighbourListItemBaseProps {
15
16
  iconType: 'invite_neighbour' | 'envelope';
@@ -1,3 +1,3 @@
1
1
  import { MenuItemProps } from './MenuItem.types';
2
- declare const MenuItem: ({ className: passedClassName, compact, href, isSelected, labelPillClassName, labelPillText, leftIcon, onClick, rightIcon, role, text, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MenuItem: ({ className: passedClassName, compact, descriptionText, href, isSelected, labelPillClassName, labelPillText, leftIcon, onClick, rightIcon, role, text, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MenuItem;
@@ -3,6 +3,7 @@ import { ButtonProps } from '../../../Atoms/Buttons/Button/Button.types';
3
3
  export interface MenuItemProps {
4
4
  className?: string;
5
5
  compact?: boolean;
6
+ descriptionText?: string;
6
7
  href?: string;
7
8
  id?: string;
8
9
  isSelected?: boolean;
@@ -1,3 +1,3 @@
1
1
  import { default as NoticeProps } from '../Notice.types';
2
- declare const InfoNotice: ({ context, dismissible, iconName, notificationBubble, onClick, onDismiss, primaryText, secondaryText, size, textButton, type, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const InfoNotice: ({ context, dismissible, iconName, markdown, notificationBubble, onClick, onDismiss, primaryText, secondaryText, size, textButton, type, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default InfoNotice;
@@ -3,9 +3,10 @@ import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.ty
3
3
  import { NotificationBubbleProps } from '../../../Atoms/NotificationBubble/NotificationBubble.types';
4
4
  import { Icon24 } from '../../../Base/Icon/Icon.types';
5
5
  export default interface NoticeProps {
6
- context: 'warning' | 'infoGrey' | 'infoGreen';
6
+ context: 'warning' | 'infoGrey' | 'infoGreen' | 'infoVanilla';
7
7
  dismissible?: boolean;
8
8
  iconName?: Icon24;
9
+ markdown?: boolean;
9
10
  notificationBubble?: NotificationBubbleProps;
10
11
  onClick?: TextButtonProps['onClick'];
11
12
  onDismiss?: IconButtonProps['onClick'];
@@ -1,3 +1,3 @@
1
1
  import { default as NoticeProps } from '../Notice.types';
2
- declare const WarningNotice: ({ dismissible, iconName, notificationBubble, onDismiss, primaryText, secondaryText, size, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const WarningNotice: ({ dismissible, iconName, markdown, notificationBubble, onDismiss, primaryText, secondaryText, size, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default WarningNotice;
@@ -1,3 +1,3 @@
1
1
  import { default as SnackbarProps } from './Snackbar.types';
2
- declare const Snackbar: ({ dismissable, isOpen, leftIconLarge, leftIconSmall, onClick, onClose, rightIconLarge, rightIconSmall, textButton, textLabel, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Snackbar: ({ color, dismissable, isOpen, leftIconLarge, leftIconSmall, onClick, onClose, rightIconLarge, rightIconSmall, textButton, textLabel, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Snackbar;
@@ -1,5 +1,7 @@
1
+ import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
1
2
  import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
3
  export default interface SnackbarProps {
4
+ color?: TextButtonProps['color'];
3
5
  dismissable?: boolean;
4
6
  isOpen: boolean;
5
7
  leftIconLarge?: Icon32;
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  export interface PopupProps {
4
4
  anchor?: HTMLElement | null;
5
5
  children: ReactNode;
6
+ className?: string;
6
7
  container?: HTMLElement | null;
7
8
  handleClickAway?: () => void;
8
9
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.0.0-development.2",
3
+ "version": "3.0.0-development.20",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",