@goodhood-web/ui 3.0.0-development.9 → 3.0.0

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 (68) hide show
  1. package/index.d.ts +5 -2
  2. package/index.js +174 -127
  3. package/index.mjs +30312 -17974
  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.d.ts +1 -1
  7. package/lib/Atoms/Badges/BadgeIcon/BadgeIcon.types.d.ts +1 -1
  8. package/lib/Atoms/Badges/LabelPill/LabelPill.types.d.ts +1 -1
  9. package/lib/Atoms/Badges/Sticker/Sticker.types.d.ts +1 -1
  10. package/lib/Atoms/Buttons/Button/Button.types.d.ts +5 -1
  11. package/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.d.ts +1 -1
  12. package/lib/Atoms/Buttons/ButtonSecondary/ButtonSecondary.d.ts +1 -1
  13. package/lib/Atoms/Buttons/ButtonTertiary/ButtonTertiary.d.ts +1 -1
  14. package/lib/Atoms/Buttons/IconButton/IconButton.types.d.ts +5 -5
  15. package/lib/Atoms/Buttons/TextButton/TextButton.d.ts +1 -0
  16. package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +2 -2
  17. package/lib/Atoms/Content/AvatarWithPlaceholder/AvatarWithPlaceholder.d.ts +3 -0
  18. package/lib/Atoms/Content/AvatarWithPlaceholder/AvatarWithPlaceholder.types.d.ts +16 -0
  19. package/lib/Atoms/Content/PlaceholderThumbnail/PlaceholderThumbnail.d.ts +1 -1
  20. package/lib/Atoms/Content/PlaceholderThumbnail/PlaceholderThumbnail.type.d.ts +2 -0
  21. package/lib/Atoms/Content/PoiAvatar/PoiAvatar.d.ts +3 -0
  22. package/lib/Atoms/Content/PoiAvatar/PoiAvatar.type.d.ts +6 -0
  23. package/lib/Atoms/Content/Thumbnail/Thumbnail.type.d.ts +1 -1
  24. package/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.d.ts +2 -2
  25. package/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.types.d.ts +9 -1
  26. package/lib/Atoms/Inputs/DateTimeInput/DateInput/DateInput.d.ts +3 -0
  27. package/lib/Atoms/Inputs/DateTimeInput/DateInput/DateInput.types.d.ts +9 -0
  28. package/lib/Atoms/Inputs/DateTimeInput/DateInput/components/CustomHeader.d.ts +3 -0
  29. package/lib/Atoms/Inputs/DateTimeInput/DateInput/util.d.ts +1 -0
  30. package/lib/Atoms/Inputs/DateTimeInput/DateTimeInput.d.ts +3 -0
  31. package/lib/Atoms/Inputs/DateTimeInput/DateTimeInput.types.d.ts +7 -0
  32. package/lib/Atoms/Inputs/DateTimeInput/TimeInput/TimeInput.d.ts +3 -0
  33. package/lib/Atoms/Inputs/DateTimeInput/TimeInput/TimeInput.types.d.ts +10 -0
  34. package/lib/Atoms/Inputs/InputFieldSpecial/InputFieldSpecial.types.d.ts +1 -1
  35. package/lib/Atoms/Inputs/RadioButton/RadioButton.d.ts +2 -2
  36. package/lib/Atoms/Inputs/RadioButton/RadioButton.types.d.ts +10 -3
  37. package/lib/Atoms/Inputs/TextInput/TextInput.d.ts +1 -1
  38. package/lib/Atoms/Inputs/TextInput/TextInput.types.d.ts +10 -2
  39. package/lib/Atoms/Progress/ProgressBar/ProgressBar.d.ts +3 -0
  40. package/lib/Atoms/Progress/ProgressBar/ProgressBar.types.d.ts +4 -0
  41. package/lib/Atoms/Selectables/SelectablePill/SelectablePill.d.ts +1 -1
  42. package/lib/Atoms/Selectables/SelectablePill/SelectablePill.types.d.ts +4 -2
  43. package/lib/Base/Icon/icons/index.d.ts +24 -0
  44. package/lib/Base/Icon/icons/outline/16x16/index.d.ts +6 -0
  45. package/lib/Base/Icon/icons/outline/24x24/index.d.ts +12 -0
  46. package/lib/Base/Icon/icons/outline/32x32/index.d.ts +6 -0
  47. package/lib/Base/Icon/icons/outline/index.d.ts +24 -0
  48. package/lib/Base/Typography/Typography.types.d.ts +2 -1
  49. package/lib/Molecules/Card/Card.d.ts +1 -1
  50. package/lib/Molecules/Card/Card.types.d.ts +10 -2
  51. package/lib/Molecules/Card/CardHeader/CardHeader.types.d.ts +1 -1
  52. package/lib/Molecules/Markdown/Markdown.d.ts +1 -3
  53. package/lib/Molecules/Markdown/Markdown.types.d.ts +1 -0
  54. package/lib/Molecules/Navigation/MenuItem/MenuItem.d.ts +1 -1
  55. package/lib/Molecules/Navigation/MenuItem/MenuItem.types.d.ts +1 -0
  56. package/lib/Molecules/Notices/EmptyState/EmptyState.types.d.ts +3 -3
  57. package/lib/Molecules/Notices/Notice/Notice.d.ts +2 -2
  58. package/lib/Molecules/Notices/Notice/Notice.types.d.ts +62 -12
  59. package/lib/Molecules/Notices/Snackbar/Snackbar.d.ts +1 -1
  60. package/lib/Molecules/Notices/Snackbar/Snackbar.types.d.ts +2 -0
  61. package/lib/Organisms/Modals/Popup/Popup.types.d.ts +1 -0
  62. package/package.json +1 -1
  63. package/style.css +1 -1
  64. package/styles/_functions.scss +5 -0
  65. package/lib/Atoms/Content/GroupAvatar/GroupAvatar.d.ts +0 -3
  66. package/lib/Atoms/Content/GroupAvatar/GroupAvatar.types.d.ts +0 -10
  67. package/lib/Molecules/Notices/Notice/InfoNotice/InfoNotice.d.ts +0 -3
  68. package/lib/Molecules/Notices/Notice/WarningNotice/WarningNotice.d.ts +0 -3
@@ -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
  }
@@ -1,3 +1,3 @@
1
1
  import { default as BadgeIconProps } from './BadgeIcon.types';
2
- declare const BadgeIcon: ({ ariaLabel, className, role, size, type }: BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const BadgeIcon: ({ ariaLabel, className, role, size, type }: BadgeIconProps) => import("react/jsx-runtime").JSX.Element | null;
3
3
  export default BadgeIcon;
@@ -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
  }
@@ -1,4 +1,4 @@
1
- export type Color = 'teal' | 'lavender';
1
+ export type Color = 'teal' | 'lavender' | 'grey';
2
2
  interface CommonProps {
3
3
  className?: string;
4
4
  label: string;
@@ -1,6 +1,6 @@
1
1
  import { Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  export interface StickerProps {
3
- color: 'green' | 'pink' | 'lavender' | 'teal' | 'orange' | 'grey';
3
+ color: 'green' | 'pink' | 'lavender' | 'teal' | 'orange' | 'grey' | 'lightGrey';
4
4
  icon: Icon32;
5
5
  size: 'small' | 'medium' | 'large';
6
6
  }
@@ -3,6 +3,9 @@ import { AriaRole, ForwardedRef, MouseEvent, ReactElement, ReactNode } from 'rea
3
3
  import { IconProps } from '../../../Base/Icon/Icon.types';
4
4
  interface CommonProps {
5
5
  ariaDescribedBy?: string;
6
+ ariaDisabled?: boolean;
7
+ ariaExpanded?: boolean;
8
+ ariaHaspopup?: boolean;
6
9
  ariaLabel?: string;
7
10
  ariaLabelledBy?: string;
8
11
  className?: string;
@@ -12,6 +15,7 @@ interface CommonProps {
12
15
  ref?: ForwardedRef<null>;
13
16
  role?: AriaRole;
14
17
  selected?: boolean;
18
+ type?: React.ButtonHTMLAttributes<HTMLButtonElement>['type'];
15
19
  }
16
20
  export interface BaseButtonProps extends ButtonOwnProps, CommonProps {
17
21
  onClick: (event: MouseEvent<HTMLElement>) => void;
@@ -28,7 +32,7 @@ export interface ButtonVariationProps {
28
32
  leftIcon?: ReactElement<IconProps>;
29
33
  loading?: boolean;
30
34
  rightIcon?: ReactElement<IconProps>;
31
- size?: 'small' | 'medium' | 'large' | 'extraLarge';
35
+ size?: 'tiny' | 'small' | 'medium' | 'large';
32
36
  target?: string;
33
37
  text?: string;
34
38
  }
@@ -1,3 +1,3 @@
1
1
  import { ButtonPrimaryProps } from './ButtonPrimary.types';
2
- declare const ButtonPrimary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, rightIcon, size, text, ...props }: ButtonPrimaryProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonPrimary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, onClick, rightIcon, size, text, ...props }: ButtonPrimaryProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ButtonPrimary;
@@ -1,3 +1,3 @@
1
1
  import { ButtonSecondaryProps } from './ButtonSecondary.types';
2
- declare const ButtonSecondary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, rightIcon, size, text, ...props }: ButtonSecondaryProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonSecondary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, onClick, rightIcon, size, text, ...props }: ButtonSecondaryProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ButtonSecondary;
@@ -1,3 +1,3 @@
1
1
  import { ButtonTertiaryProps } from './ButtonTertiary.types';
2
- declare const ButtonTertiary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, rightIcon, size, text, ...props }: ButtonTertiaryProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonTertiary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, onClick, rightIcon, size, text, ...props }: ButtonTertiaryProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ButtonTertiary;
@@ -1,10 +1,10 @@
1
1
  import { Icon16, Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  import { ButtonProps } from '../Button/Button.types';
3
- type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & ({
4
- ariaLabel: string;
5
- } | {
6
- ariaLabelledBy: string;
7
- }) & {
3
+ type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & {
4
+ ariaExpanded?: boolean;
5
+ ariaHaspopup?: boolean;
6
+ ariaLabel?: string;
7
+ ariaLabelledBy?: string;
8
8
  className?: string;
9
9
  iconClassName?: string;
10
10
  loading?: boolean;
@@ -4,6 +4,7 @@ export declare const typographyType: {
4
4
  link: string;
5
5
  medium: string;
6
6
  small: string;
7
+ tiny: string;
7
8
  };
8
9
  export declare function TextButton({ className, color, disabled, leftIcon, rightIcon, size, text, ...props }: TextButtonProps): import("react/jsx-runtime").JSX.Element;
9
10
  export default TextButton;
@@ -4,10 +4,10 @@ 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
- size: 'large' | 'medium' | 'small' | 'link';
10
+ size: 'large' | 'medium' | 'small' | 'link' | 'tiny';
11
11
  text: string;
12
12
  type?: 'button' | 'submit' | 'reset';
13
13
  }
@@ -0,0 +1,3 @@
1
+ import { AvatarWithPlaceholderProps } from './AvatarWithPlaceholder.types';
2
+ declare const AvatarWithPlaceholder: (props: AvatarWithPlaceholderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AvatarWithPlaceholder;
@@ -0,0 +1,16 @@
1
+ import { TSquareSize } from '../Thumbnail/Thumbnail.type';
2
+ type BaseAvatarProps = {
3
+ alt: string;
4
+ imageSrc?: string;
5
+ };
6
+ type SquareAvatarProps = BaseAvatarProps & {
7
+ id?: number;
8
+ size: TSquareSize;
9
+ type: 'square';
10
+ };
11
+ type ResponsiveAvatarProps = BaseAvatarProps & {
12
+ id?: number;
13
+ type: 'mobile' | 'desktop';
14
+ };
15
+ export type AvatarWithPlaceholderProps = SquareAvatarProps | ResponsiveAvatarProps;
16
+ export {};
@@ -1,3 +1,3 @@
1
1
  import { PlaceholderThumbnailProps } from './PlaceholderThumbnail.type';
2
- declare const PlaceholderThumbnail: ({ className, icon, size }: PlaceholderThumbnailProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const PlaceholderThumbnail: ({ className, icon, size, style, type, }: PlaceholderThumbnailProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default PlaceholderThumbnail;
@@ -4,4 +4,6 @@ export type PlaceholderThumbnailProps = {
4
4
  className?: string;
5
5
  icon: ReactElement<IconProps>;
6
6
  size: 'small' | 'large';
7
+ style?: 'rounded' | 'square';
8
+ type?: 'default' | 'post';
7
9
  };
@@ -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' | 'special_place' | '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
- import { default as ThumbnailWrapperProps } from './ThumbnailWrapper.types';
2
- declare const ThumbnailWrapper: ({ ariaLabel, children, thumbnail }: ThumbnailWrapperProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { ThumbnailWrapperProps } from './ThumbnailWrapper.types';
2
+ declare const ThumbnailWrapper: (props: ThumbnailWrapperProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ThumbnailWrapper;
@@ -1,7 +1,15 @@
1
1
  import { BadgeOwnProps } from '@mui/base/Badge/Badge.types';
2
2
  import { ThumbnailCircularProps, ThumbnailSquareProps } from '../Thumbnail/Thumbnail.type';
3
- export default interface ThumbnailWrapperProps {
3
+ import { UserAvatarProps } from '../UserAvatar/UserAvatar.types';
4
+ interface CommonProps {
4
5
  ariaLabel?: string;
5
6
  children: BadgeOwnProps['children'];
7
+ }
8
+ interface HasThumbnail extends CommonProps {
6
9
  thumbnail: ThumbnailCircularProps | ThumbnailSquareProps;
7
10
  }
11
+ interface HasUserAvatar extends CommonProps {
12
+ userAvatar: UserAvatarProps;
13
+ }
14
+ export type ThumbnailWrapperProps = HasThumbnail | HasUserAvatar;
15
+ export {};
@@ -0,0 +1,3 @@
1
+ import { default as DateInputProps } from './DateInput.types';
2
+ declare const DateInput: ({ dateFormat, label, minDate, onChange, size, withPortal, }: DateInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DateInput;
@@ -0,0 +1,9 @@
1
+ import { TextInputProps } from '../../TextInput/TextInput.types';
2
+ export default interface DateInputProps {
3
+ dateFormat?: 'dd. MMMM' | 'dd. MMMM YYYY' | 'dd.MM.' | 'dd.MM.YY' | 'dd.MM.YYYY';
4
+ label: string;
5
+ minDate?: Date;
6
+ onChange?: (date: Date) => void;
7
+ size?: TextInputProps['size'];
8
+ withPortal?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { ReactDatePickerCustomHeaderProps } from 'react-datepicker';
2
+ declare const CustomHeader: ({ decreaseMonth, increaseMonth, monthDate, prevMonthButtonDisabled, }: ReactDatePickerCustomHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CustomHeader;
@@ -0,0 +1 @@
1
+ export declare const addKeyboardNavigation: (event: React.KeyboardEvent<HTMLElement>) => void;
@@ -0,0 +1,3 @@
1
+ import { DateTimeInputProps } from './DateTimeInput.types';
2
+ declare const DateTimeInput: ({ type, ...props }: DateTimeInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DateTimeInput;
@@ -0,0 +1,7 @@
1
+ import { default as DateInputProps } from './DateInput/DateInput.types';
2
+ import { default as TimeInputProps } from './TimeInput/TimeInput.types';
3
+ type CommonProps = {
4
+ type: 'time' | 'date';
5
+ };
6
+ export type DateTimeInputProps = (CommonProps & DateInputProps) | (CommonProps & TimeInputProps);
7
+ export {};
@@ -0,0 +1,3 @@
1
+ import { default as TimeInputProps } from './TimeInput.types';
2
+ declare const TimeInput: ({ interval, label, minDate, onChange, size, withPortal, }: TimeInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default TimeInput;
@@ -0,0 +1,10 @@
1
+ import { NearestMinutes } from 'date-fns';
2
+ import { TextInputProps } from '../../TextInput/TextInput.types';
3
+ export default interface TimeInputProps {
4
+ interval?: Extract<NearestMinutes, 15 | 30>;
5
+ label: string;
6
+ minDate?: Date;
7
+ onChange?: (date: Date) => void;
8
+ size?: TextInputProps['size'];
9
+ withPortal?: boolean;
10
+ }
@@ -5,7 +5,7 @@ export interface InputFieldSpecialProps {
5
5
  id: string;
6
6
  maxDigits?: 'two' | 'three' | 'four';
7
7
  name?: string;
8
- onChange: (id: string, value: number) => void;
8
+ onChange: (value: number) => void;
9
9
  placeholder?: string;
10
10
  style?: 'outline' | 'filled';
11
11
  value?: number;
@@ -1,3 +1,3 @@
1
- import { RadioButtonTypes } from './RadioButton.types';
2
- export declare function RadioButton({ checked, disabled, id, label, onChange, size, value, }: RadioButtonTypes): import("react/jsx-runtime").JSX.Element;
1
+ import { RadioButtonPropsType } from './RadioButton.types';
2
+ export declare function RadioButton({ checked, disabled, id, label, onChange, onClick, pill, secondaryText, size, value, }: RadioButtonPropsType): import("react/jsx-runtime").JSX.Element;
3
3
  export default RadioButton;
@@ -1,6 +1,13 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
- export interface RadioButtonTypes extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
2
+ export type RadioButtonPropsType = Pick<InputHTMLAttributes<HTMLInputElement>, 'checked' | 'disabled' | 'id' | 'onChange' | 'value' | 'onClick'> & {
3
3
  id: string;
4
4
  label: string;
5
- size: 'tiny' | 'small' | 'medium';
6
- }
5
+ } & ({
6
+ pill?: never;
7
+ secondaryText?: never;
8
+ size: 'tiny' | 'small';
9
+ } | {
10
+ pill?: string;
11
+ secondaryText?: string;
12
+ size: 'medium';
13
+ });
@@ -1,3 +1,3 @@
1
1
  import { TextInputProps } from './TextInput.types';
2
- declare const TextInput: ({ ariaDescribedby, charLimit, colorScheme, errorText, hintText, icon, id, inputFieldType, label, name, ref, showInputHints, size, textButton, ...props }: TextInputProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const TextInput: ({ ariaDescribedby, ariaExpanded, charLimit, colorScheme, errorText, hintText, icon, iconButton, id, inputFieldType, label, name, onClick, onKeyDown, readonly, ref, role, showInputHints, size, ...props }: TextInputProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default TextInput;
@@ -1,9 +1,10 @@
1
1
  import { UseInputParameters } from '@mui/base';
2
- import { ForwardedRef, HTMLInputTypeAttribute } from 'react';
2
+ import { ForwardedRef, HTMLInputTypeAttribute, KeyboardEventHandler } from 'react';
3
3
  import { IconProps } from '../../../Base/Icon/Icon.types';
4
4
  import { IconButtonIcon24Props } from '../../Buttons/IconButton/IconButton.types';
5
5
  export interface CommonTextInputProps extends UseInputParameters {
6
6
  ariaDescribedby?: string;
7
+ ariaExpanded?: boolean;
7
8
  charLimit?: number;
8
9
  colorScheme?: 'outline' | 'filled';
9
10
  errorText?: string;
@@ -11,12 +12,19 @@ export interface CommonTextInputProps extends UseInputParameters {
11
12
  id: string;
12
13
  label: string;
13
14
  name?: string;
15
+ onKeyDown?: KeyboardEventHandler;
16
+ readonly?: boolean;
14
17
  ref?: ForwardedRef<null>;
18
+ role?: 'combobox';
15
19
  showInputHints?: boolean;
16
20
  }
17
21
  export interface TextInputProps extends CommonTextInputProps {
18
22
  icon?: IconProps;
23
+ iconButton?: IconButtonIcon24Props & {
24
+ ariaExpanded?: boolean;
25
+ ariaHaspopup?: boolean;
26
+ ref?: ForwardedRef<null>;
27
+ };
19
28
  inputFieldType?: HTMLInputTypeAttribute;
20
29
  size: 'medium' | 'large' | 'small';
21
- textButton?: IconButtonIcon24Props;
22
30
  }
@@ -0,0 +1,3 @@
1
+ import { ProgressBarProps } from './ProgressBar.types';
2
+ export declare const ProgressBar: ({ progress, steps }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ProgressBar;
@@ -0,0 +1,4 @@
1
+ export type ProgressBarProps = {
2
+ progress: number;
3
+ steps: number;
4
+ };
@@ -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: ({ className, 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,9 @@
1
- import { Icon32 } from '../../../Base/Icon/Icon.types';
1
+ import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  export interface SelectablePillProps {
3
+ className?: string;
3
4
  disabled?: boolean;
4
- icon?: Icon32;
5
+ icon?: Icon24 | Icon32;
6
+ iconSize?: '24' | '32';
5
7
  id: string;
6
8
  isSelected?: boolean;
7
9
  label: string;
@@ -111,6 +111,12 @@ declare const iconsMap: {
111
111
  desc?: string;
112
112
  descId?: string;
113
113
  }>;
114
+ external_link: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
115
+ title?: string;
116
+ titleId?: string;
117
+ desc?: string;
118
+ descId?: string;
119
+ }>;
114
120
  heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
115
121
  title?: string;
116
122
  titleId?: string;
@@ -251,6 +257,12 @@ declare const iconsMap: {
251
257
  desc?: string;
252
258
  descId?: string;
253
259
  }>;
260
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
261
+ title?: string;
262
+ titleId?: string;
263
+ desc?: string;
264
+ descId?: string;
265
+ }>;
254
266
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
255
267
  title?: string;
256
268
  titleId?: string;
@@ -401,6 +413,12 @@ declare const iconsMap: {
401
413
  desc?: string;
402
414
  descId?: string;
403
415
  }>;
416
+ readonly question: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
417
+ title?: string;
418
+ titleId?: string;
419
+ desc?: string;
420
+ descId?: string;
421
+ }>;
404
422
  readonly react: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
405
423
  title?: string;
406
424
  titleId?: string;
@@ -1009,6 +1027,12 @@ declare const iconsMap: {
1009
1027
  desc?: string;
1010
1028
  descId?: string;
1011
1029
  }>;
1030
+ readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
1031
+ title?: string;
1032
+ titleId?: string;
1033
+ desc?: string;
1034
+ descId?: string;
1035
+ }>;
1012
1036
  readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
1013
1037
  title?: string;
1014
1038
  titleId?: string;
@@ -23,6 +23,12 @@ declare const IconsMap: {
23
23
  desc?: string;
24
24
  descId?: string;
25
25
  }>;
26
+ external_link: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
27
+ title?: string;
28
+ titleId?: string;
29
+ desc?: string;
30
+ descId?: string;
31
+ }>;
26
32
  heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
27
33
  title?: string;
28
34
  titleId?: string;
@@ -113,6 +113,12 @@ declare const IconsMap: {
113
113
  desc?: string;
114
114
  descId?: string;
115
115
  }>;
116
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
117
+ title?: string;
118
+ titleId?: string;
119
+ desc?: string;
120
+ descId?: string;
121
+ }>;
116
122
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
117
123
  title?: string;
118
124
  titleId?: string;
@@ -263,6 +269,12 @@ declare const IconsMap: {
263
269
  desc?: string;
264
270
  descId?: string;
265
271
  }>;
272
+ readonly question: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
273
+ title?: string;
274
+ titleId?: string;
275
+ desc?: string;
276
+ descId?: string;
277
+ }>;
266
278
  readonly react: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
267
279
  title?: string;
268
280
  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;
@@ -24,6 +24,12 @@ declare const iconsMap: {
24
24
  desc?: string;
25
25
  descId?: string;
26
26
  }>;
27
+ external_link: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
28
+ title?: string;
29
+ titleId?: string;
30
+ desc?: string;
31
+ descId?: string;
32
+ }>;
27
33
  heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
28
34
  title?: string;
29
35
  titleId?: string;
@@ -164,6 +170,12 @@ declare const iconsMap: {
164
170
  desc?: string;
165
171
  descId?: string;
166
172
  }>;
173
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
174
+ title?: string;
175
+ titleId?: string;
176
+ desc?: string;
177
+ descId?: string;
178
+ }>;
167
179
  readonly event_calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
168
180
  title?: string;
169
181
  titleId?: string;
@@ -314,6 +326,12 @@ declare const iconsMap: {
314
326
  desc?: string;
315
327
  descId?: string;
316
328
  }>;
329
+ readonly question: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
330
+ title?: string;
331
+ titleId?: string;
332
+ desc?: string;
333
+ descId?: string;
334
+ }>;
317
335
  readonly react: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
318
336
  title?: string;
319
337
  titleId?: string;
@@ -922,6 +940,12 @@ declare const iconsMap: {
922
940
  desc?: string;
923
941
  descId?: string;
924
942
  }>;
943
+ readonly shield: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
944
+ title?: string;
945
+ titleId?: string;
946
+ desc?: string;
947
+ descId?: string;
948
+ }>;
925
949
  readonly shopping_bag: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
926
950
  title?: string;
927
951
  titleId?: string;
@@ -1,9 +1,10 @@
1
1
  import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react';
2
2
  export type TypographyTypeLanding = 'claim' | 'claim-uppercase' | 'h1' | 'h1-uppercase' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'body-large' | 'body-large-semibold' | 'body' | 'body-semibold' | 'body-italic' | 'quote-large' | 'detail-small' | 'detail-small-bold';
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';
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;
6
6
  markdown?: boolean;
7
+ markdownInline?: boolean;
7
8
  };
8
9
  type PropsToOmit<C extends ElementType, P> = keyof (AsProp<C> & P);
9
10
  type PolymorphicComponentProp<C extends ElementType, Props = Record<string, unknown>> = PropsWithChildren<Props & AsProp<C>> & Omit<ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
@@ -1,3 +1,3 @@
1
1
  import { CardProps } from './Card.types';
2
- declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, role, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, responsive, role, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Card;
@@ -1,13 +1,21 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { CardBodyProps } from './CardBody/CardBody.types';
3
3
  import { CardHeaderProps } from './CardHeader/CardHeader.types';
4
- export interface CardProps {
4
+ export interface CardBaseProps {
5
5
  allowedElement?: React.ElementType;
6
6
  ariaLabel?: string;
7
7
  as?: Extract<keyof JSX.IntrinsicElements, 'section' | 'div'>;
8
- borderRadius?: boolean;
9
8
  children: ReactElement<CardBodyProps | CardHeaderProps> | ReactElement<CardBodyProps | CardHeaderProps>[];
10
9
  className?: string;
11
10
  role?: string;
12
11
  withoutPadding?: boolean;
13
12
  }
13
+ export type ResponsiveProps = {
14
+ borderRadius: true;
15
+ responsive?: boolean;
16
+ } & CardBaseProps;
17
+ export type NonResponsiveProps = {
18
+ borderRadius?: boolean;
19
+ responsive?: false;
20
+ } & CardBaseProps;
21
+ export type CardProps = ResponsiveProps | NonResponsiveProps;
@@ -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,5 +1,3 @@
1
1
  import { MarkdownProps } from './Markdown.types';
2
- export declare const quotesToTokens: (string: string) => string;
3
- export declare const tokensToQuotes: (string: string) => string;
4
- declare function Markdown({ className, elementTag, inline, text, }: MarkdownProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function Markdown({ className, elementTag, inline, isExternalLinksIcon, text, }: MarkdownProps): import("react/jsx-runtime").JSX.Element;
5
3
  export default Markdown;
@@ -3,5 +3,6 @@ export type MarkdownProps = {
3
3
  className?: string;
4
4
  elementTag?: AllowedHTMLElements;
5
5
  inline?: boolean;
6
+ isExternalLinksIcon?: boolean;
6
7
  text: string;
7
8
  };
@@ -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;