@goodhood-web/ui 1.12.0-development.9 → 2.0.0-development.1

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 (147) hide show
  1. package/hooks/index.d.ts +2 -0
  2. package/hooks/useCopyToClipboard.d.ts +2 -0
  3. package/index.d.ts +8 -4
  4. package/index.js +104 -104
  5. package/index.mjs +7995 -7632
  6. package/lib/Atoms/Badges/Badge/Badge.d.ts +0 -1
  7. package/lib/Atoms/Badges/Badge/Badge.types.d.ts +0 -1
  8. package/lib/Atoms/Badges/BadgeIcon/BadgeIcon.d.ts +0 -1
  9. package/lib/Atoms/Badges/BadgeIcon/BadgeIcon.types.d.ts +0 -1
  10. package/lib/Atoms/Badges/BadgeLabel/BadgeLabel.d.ts +0 -1
  11. package/lib/Atoms/Badges/BadgeLabel/BadgeLabel.types.d.ts +0 -1
  12. package/lib/Atoms/Badges/FeedItemCategory/FeedItemCategory.d.ts +0 -1
  13. package/lib/Atoms/Badges/LabelPill/LabelPill.d.ts +0 -1
  14. package/lib/Atoms/Badges/LabelPill/LabelPill.types.d.ts +1 -1
  15. package/lib/Atoms/Badges/Sticker/Sticker.d.ts +0 -1
  16. package/lib/Atoms/Badges/Sticker/Sticker.types.d.ts +0 -1
  17. package/lib/Atoms/Badges/Tooltip/Tooltip.d.ts +3 -0
  18. package/lib/Atoms/Badges/Tooltip/Tooltip.types.d.ts +8 -0
  19. package/lib/Atoms/Buttons/Bookmark/Bookmark.d.ts +0 -1
  20. package/lib/Atoms/Buttons/Bookmark/Bookmark.types.d.ts +0 -1
  21. package/lib/Atoms/Buttons/Button/Button.d.ts +0 -1
  22. package/lib/Atoms/Buttons/Button/Button.types.d.ts +6 -2
  23. package/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.d.ts +1 -2
  24. package/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.types.d.ts +0 -1
  25. package/lib/Atoms/Buttons/ButtonSecondary/ButtonSecondary.d.ts +1 -2
  26. package/lib/Atoms/Buttons/ButtonSecondary/ButtonSecondary.types.d.ts +0 -1
  27. package/lib/Atoms/Buttons/ButtonTertiary/ButtonTertiary.d.ts +1 -2
  28. package/lib/Atoms/Buttons/ButtonTertiary/ButtonTertiary.types.d.ts +0 -1
  29. package/lib/Atoms/Buttons/CopyLinkButton/CopyLinkButton.d.ts +3 -0
  30. package/lib/Atoms/Buttons/CopyLinkButton/CopyLinkButton.types.d.ts +7 -0
  31. package/lib/Atoms/Buttons/IconButton/IconButton.d.ts +1 -2
  32. package/lib/Atoms/Buttons/IconButton/IconButton.types.d.ts +5 -6
  33. package/lib/Atoms/Buttons/TextButton/TextButton.d.ts +0 -1
  34. package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +0 -1
  35. package/lib/Atoms/Buttons/Tiles/FeedTile/FeedTile.d.ts +0 -1
  36. package/lib/Atoms/Buttons/Tiles/FeedTile/FeedTile.types.d.ts +0 -1
  37. package/lib/Atoms/Buttons/Tiles/MenuTile/MenuTile.d.ts +0 -1
  38. package/lib/Atoms/Buttons/Tiles/MenuTile/MenuTile.type.d.ts +0 -1
  39. package/lib/Atoms/Content/BodyText/BodyText.d.ts +0 -1
  40. package/lib/Atoms/Content/PlaceholderThumbnail/PlaceholderThumbnail.d.ts +0 -1
  41. package/lib/Atoms/Content/PlaceholderThumbnail/PlaceholderThumbnail.type.d.ts +0 -1
  42. package/lib/Atoms/Content/Thumbnail/Thumbnail.d.ts +0 -1
  43. package/lib/Atoms/Content/Thumbnail/Thumbnail.type.d.ts +4 -3
  44. package/lib/Atoms/Content/ThumbnailWithLabel/ThumbnailWithLabel.d.ts +0 -1
  45. package/lib/Atoms/Content/ThumbnailWithLabel/ThumbnailWithLabel.type.d.ts +0 -1
  46. package/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.d.ts +0 -1
  47. package/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.types.d.ts +0 -1
  48. package/lib/Atoms/Content/UserAvatar/UserAvatar.d.ts +3 -0
  49. package/lib/Atoms/Content/UserAvatar/UserAvatar.types.d.ts +17 -0
  50. package/lib/Atoms/Divider/Divider.d.ts +0 -1
  51. package/lib/Atoms/Dropdowns/DropdownHeader/DropdownHeader.d.ts +3 -0
  52. package/lib/Atoms/Dropdowns/DropdownHeader/DropdownHeader.types.d.ts +6 -0
  53. package/lib/Atoms/Dropdowns/DropdownOption/DropdownOption.d.ts +3 -0
  54. package/lib/Atoms/Dropdowns/DropdownOption/DropdownOption.types.d.ts +7 -0
  55. package/lib/Atoms/Dropdowns/DropdownOptionsCluster/DropdownOptionsCluster.d.ts +3 -0
  56. package/lib/Atoms/Dropdowns/DropdownOptionsCluster/DropdownOptionsCluster.types.d.ts +4 -0
  57. package/lib/Atoms/Dropdowns/Select/Select.d.ts +0 -1
  58. package/lib/Atoms/Dropdowns/Select/Select.types.d.ts +0 -1
  59. package/lib/Atoms/Image/Image.d.ts +0 -1
  60. package/lib/Atoms/Inputs/CheckboxInput/CheckboxInput.d.ts +0 -1
  61. package/lib/Atoms/Inputs/CheckboxInput/CheckboxInput.types.d.ts +0 -1
  62. package/lib/Atoms/Inputs/InputDetails/InputDetails.d.ts +3 -0
  63. package/lib/Atoms/Inputs/InputDetails/InputDetails.types.d.ts +6 -0
  64. package/lib/Atoms/Inputs/InputFieldSpecial/InputFieldSpecial.d.ts +0 -1
  65. package/lib/Atoms/Inputs/InputFieldSpecial/InputFieldSpecial.utils.d.ts +0 -1
  66. package/lib/Atoms/Inputs/RadioButton/RadioButton.d.ts +0 -1
  67. package/lib/Atoms/Inputs/RadioButton/RadioButton.types.d.ts +0 -1
  68. package/lib/Atoms/Inputs/TextAreaInput/TextAreaInput.d.ts +3 -0
  69. package/lib/Atoms/Inputs/TextAreaInput/TextAreaInput.types.d.ts +6 -0
  70. package/lib/Atoms/Inputs/TextInput/TextInput.d.ts +1 -2
  71. package/lib/Atoms/Inputs/TextInput/TextInput.types.d.ts +17 -7
  72. package/lib/Atoms/Inputs/Toggle/Toggle.d.ts +0 -1
  73. package/lib/Atoms/Inputs/Toggle/Toggle.types.d.ts +0 -1
  74. package/lib/Atoms/NotificationBubble/NotificationBubble.d.ts +0 -1
  75. package/lib/Atoms/NotificationBubble/NotificationBubble.types.d.ts +0 -1
  76. package/lib/Atoms/Selectables/SelectablePill/SelectablePill.d.ts +0 -1
  77. package/lib/Atoms/Selectables/SelectablePill/SelectablePill.types.d.ts +0 -1
  78. package/lib/Base/Icon/Icon.d.ts +0 -1
  79. package/lib/Base/Icon/Icon.types.d.ts +3 -1
  80. package/lib/Base/Icon/icons/24x24/index.d.ts +5 -2
  81. package/lib/Base/Icon/icons/32x32/index.d.ts +20 -8
  82. package/lib/Base/Icon/icons/index.d.ts +25 -10
  83. package/lib/Base/Typography/Typography.d.ts +0 -1
  84. package/lib/Base/Typography/Typography.types.d.ts +0 -1
  85. package/lib/Molecules/Card/Card.d.ts +1 -2
  86. package/lib/Molecules/Card/Card.types.d.ts +1 -1
  87. package/lib/Molecules/Card/CardBody/CardBody.d.ts +1 -2
  88. package/lib/Molecules/Card/CardBody/CardBody.types.d.ts +1 -1
  89. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBar.d.ts +0 -1
  90. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBar.types.d.ts +0 -1
  91. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarCta/ActionBarCta.d.ts +0 -1
  92. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarCta/ActionBarCta.types.d.ts +0 -1
  93. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionBarList.d.ts +0 -1
  94. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionBarList.types.d.ts +0 -1
  95. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionItem/ActionItem.d.ts +0 -1
  96. package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionItem/ActionItem.types.d.ts +0 -1
  97. package/lib/Molecules/Card/CardHeader/CardHeader.d.ts +0 -1
  98. package/lib/Molecules/Card/CardHeader/CardHeader.types.d.ts +0 -1
  99. package/lib/Molecules/ListItems/NotificationListItem/NotificationListItem.d.ts +0 -1
  100. package/lib/Molecules/ListItems/NotificationListItem/NotificationListItem.types.d.ts +4 -7
  101. package/lib/Molecules/Markdown/Markdown.d.ts +0 -1
  102. package/lib/Molecules/Navigation/MenuItem/MenuItem.d.ts +0 -1
  103. package/lib/Molecules/Navigation/MenuItem/MenuItem.types.d.ts +0 -1
  104. package/lib/Molecules/Navigation/NavBar/NavBar.d.ts +0 -1
  105. package/lib/Molecules/Navigation/NavBar/NavBar.types.d.ts +0 -1
  106. package/lib/Molecules/Navigation/NavBar/NavItem/NavItem.d.ts +0 -1
  107. package/lib/Molecules/Navigation/NavBar/NavItem/NavItem.types.d.ts +0 -1
  108. package/lib/Molecules/Notices/EmptyState/EmptyState.d.ts +0 -1
  109. package/lib/Molecules/Notices/EmptyState/EmptyState.types.d.ts +9 -2
  110. package/lib/Molecules/Notices/Notice/InfoNotice/InfoNotice.d.ts +0 -1
  111. package/lib/Molecules/Notices/Notice/Notice.d.ts +0 -1
  112. package/lib/Molecules/Notices/Notice/Notice.types.d.ts +0 -1
  113. package/lib/Molecules/Notices/Notice/WarningNotice/WarningNotice.d.ts +0 -1
  114. package/lib/Molecules/Notices/Snackbar/Snackbar.d.ts +0 -1
  115. package/lib/Molecules/Notices/Snackbar/Snackbar.types.d.ts +0 -1
  116. package/lib/Molecules/Selections/RadioButtonCluster/RadioButtonCluster.d.ts +0 -1
  117. package/lib/Molecules/Selections/RadioButtonCluster/RadioButtonCluster.types.d.ts +0 -1
  118. package/lib/Molecules/Selections/SelectablePillGroup/SelectablePillGroup.d.ts +0 -1
  119. package/lib/Molecules/Selections/SelectablePillGroup/SelectablePillGroup.types.d.ts +0 -1
  120. package/lib/Molecules/Selections/SwitcherToggle/SwitcherToggle.d.ts +0 -1
  121. package/lib/Molecules/Selections/ToggleInput/ToggleInput.d.ts +0 -1
  122. package/lib/Molecules/Selections/ToggleInput/ToggleInput.types.d.ts +0 -1
  123. package/lib/Molecules/TabBar/NavigationTab/NavigationTab.d.ts +0 -1
  124. package/lib/Molecules/TabBar/NavigationTab/NavigationTab.types.d.ts +0 -1
  125. package/lib/Organisms/Cards/MarketplaceItemCardless/MarketplaceItemCardless.d.ts +0 -1
  126. package/lib/Organisms/Forms/Fieldset/Fieldset.d.ts +0 -1
  127. package/lib/Organisms/Forms/Fieldset/Fieldset.types.d.ts +0 -1
  128. package/lib/Organisms/Forms/Form/Form.d.ts +0 -1
  129. package/lib/Organisms/Forms/Form/Form.types.d.ts +0 -1
  130. package/lib/Organisms/Forms/Legend/Legend.d.ts +0 -1
  131. package/lib/Organisms/Modals/BottomSheet/BottomSheet.d.ts +1 -2
  132. package/lib/Organisms/Modals/BottomSheet/BottomSheet.types.d.ts +1 -5
  133. package/lib/Organisms/Modals/Modal/Backdrop/Backdrop.d.ts +0 -1
  134. package/lib/Organisms/Modals/Modal/Modal.d.ts +0 -1
  135. package/lib/Organisms/Modals/Modal/Modal.types.d.ts +0 -1
  136. package/lib/Organisms/Modals/Popup/Popup.d.ts +0 -1
  137. package/lib/Organisms/Modals/Popup/Popup.types.d.ts +1 -3
  138. package/lib/Organisms/Modals/Sheet/Backdrop/Backdrop.d.ts +0 -1
  139. package/lib/Organisms/Modals/Sheet/Sheet.d.ts +0 -1
  140. package/lib/Organisms/Modals/Sheet/Sheet.types.d.ts +1 -2
  141. package/package.json +2 -2
  142. package/style.css +1 -1
  143. package/utils/index.d.ts +0 -1
  144. package/lib/Atoms/Buttons/Tiles/PointOfInterestIProfileTile/PointOfInterestIProfileTile.d.ts +0 -4
  145. package/lib/Atoms/Buttons/Tiles/PointOfInterestIProfileTile/PointOfInterestIProfileTile.types.d.ts +0 -8
  146. package/lib/Atoms/Inputs/TextArea/TextArea.d.ts +0 -4
  147. package/lib/Atoms/Inputs/TextArea/TextArea.types.d.ts +0 -12
@@ -1,4 +1,3 @@
1
1
  import { BadgeProps } from './Badge.types';
2
-
3
2
  declare const Badge: ({ ariaLabel, badgeIcons, children }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Badge;
@@ -1,6 +1,5 @@
1
1
  import { BadgeOwnProps } from '@mui/base';
2
2
  import { default as BadgeIconProps } from '../BadgeIcon/BadgeIcon.types';
3
-
4
3
  type BadgeIcon = BadgeIconProps['type'];
5
4
  export interface BadgeProps {
6
5
  ariaLabel?: string;
@@ -1,4 +1,3 @@
1
1
  import { default as BadgeIconProps } from './BadgeIcon.types';
2
-
3
2
  declare const BadgeIcon: ({ ariaLabel, className, role, size, type }: BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default BadgeIcon;
@@ -1,5 +1,4 @@
1
1
  import { AriaRole } from 'react';
2
-
3
2
  export default interface BadgeIconProps {
4
3
  ariaLabel?: string;
5
4
  className?: string;
@@ -1,4 +1,3 @@
1
1
  import { default as BadgeLabelProps } from './BadgeLabel.types';
2
-
3
2
  declare const BadgeLabel: ({ buttonHref, buttonOnClick, buttonText, text, type, }: BadgeLabelProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default BadgeLabel;
@@ -1,6 +1,5 @@
1
1
  import { TextButtonProps } from '../../Buttons/TextButton/TextButton.types';
2
2
  import { default as BadgeIconProps } from '../BadgeIcon/BadgeIcon.types';
3
-
4
3
  export default interface BadgeLabelProps {
5
4
  buttonHref: TextButtonProps['href'];
6
5
  buttonOnClick: TextButtonProps['onClick'];
@@ -1,4 +1,3 @@
1
1
  import { default as FeedItemCategoryProps } from './FeedItemCategory.types';
2
-
3
2
  declare const FeedItemCategory: ({ className, text, type }: FeedItemCategoryProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default FeedItemCategory;
@@ -1,4 +1,3 @@
1
1
  import { LabelPillProps } from './LabelPill.types';
2
-
3
2
  declare const LabelPill: ({ className, color, label, shape, size, }: LabelPillProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default LabelPill;
@@ -5,7 +5,7 @@ interface CommonProps {
5
5
  }
6
6
  export interface TileProps extends CommonProps {
7
7
  color?: never;
8
- shape: 'tile';
8
+ shape?: 'tile';
9
9
  size: 'small' | 'medium';
10
10
  }
11
11
  export interface PillProps extends CommonProps {
@@ -1,4 +1,3 @@
1
1
  import { StickerProps } from './Sticker.types';
2
-
3
2
  declare const Sticker: ({ color, icon, size }: StickerProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Sticker;
@@ -1,5 +1,4 @@
1
1
  import { Icon32 } from '../../../Base/Icon/Icon.types';
2
-
3
2
  export interface StickerProps {
4
3
  color: 'green' | 'pink' | 'lavender' | 'teal' | 'orange' | 'grey';
5
4
  icon: Icon32;
@@ -0,0 +1,3 @@
1
+ import { default as TooltipProps } from './Tooltip.types';
2
+ declare const Tooltip: ({ children, hasPointer, id, position, text, }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Tooltip;
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ export default interface TooltipProps {
3
+ children: ReactNode;
4
+ hasPointer?: boolean;
5
+ id: string;
6
+ position?: 'top' | 'bottom';
7
+ text: string | ReactNode;
8
+ }
@@ -1,3 +1,2 @@
1
1
  import { BookmarkTypes } from './Bookmark.types';
2
-
3
2
  export default function Bookmark({ bookmarked, ...props }: BookmarkTypes): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ButtonProps } from '../Button/Button.types';
2
-
3
2
  export interface BookmarkTypes extends Omit<ButtonProps, 'children'> {
4
3
  bookmarked: boolean;
5
4
  }
@@ -1,4 +1,3 @@
1
1
  import { ButtonProps } from './Button.types';
2
-
3
2
  declare function Button(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
4
3
  export default Button;
@@ -1,10 +1,12 @@
1
1
  import { ButtonOwnProps } from '@mui/base';
2
- import { AriaRole, ForwardedRef, MouseEvent, ReactNode } from 'react';
3
-
2
+ import { AriaRole, ForwardedRef, MouseEvent, ReactElement, ReactNode } from 'react';
3
+ import { IconProps } from '../../../Base/Icon/Icon.types';
4
4
  interface CommonProps {
5
+ ariaDescribedBy?: string;
5
6
  ariaLabel?: string;
6
7
  ariaLabelledBy?: string;
7
8
  className?: string;
9
+ 'data-testid'?: string;
8
10
  disabled?: boolean;
9
11
  ref?: ForwardedRef<null>;
10
12
  role?: AriaRole;
@@ -22,7 +24,9 @@ export interface LinkProps extends CommonProps {
22
24
  }
23
25
  export interface ButtonVariationProps {
24
26
  fullWidth?: boolean;
27
+ leftIcon?: ReactElement<IconProps>;
25
28
  loading?: boolean;
29
+ rightIcon?: ReactElement<IconProps>;
26
30
  size?: 'small' | 'medium' | 'large' | 'extraLarge';
27
31
  target?: string;
28
32
  text?: string;
@@ -1,4 +1,3 @@
1
1
  import { ButtonPrimaryProps } from './ButtonPrimary.types';
2
-
3
- declare const ButtonPrimary: ({ children, className, color, disabled, fullWidth, loading, size, text, ...props }: ButtonPrimaryProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonPrimary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, rightIcon, size, text, ...props }: ButtonPrimaryProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default ButtonPrimary;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonProps, ButtonVariationProps } from '../Button/Button.types';
3
-
4
3
  export interface ButtonPrimaryProps extends ButtonVariationProps, Omit<ButtonProps, 'children'> {
5
4
  children?: ReactNode;
6
5
  color?: 'highlight' | 'primary' | 'transparent';
@@ -1,4 +1,3 @@
1
1
  import { ButtonSecondaryProps } from './ButtonSecondary.types';
2
-
3
- declare const ButtonSecondary: ({ children, className, color, disabled, fullWidth, loading, size, text, ...props }: ButtonSecondaryProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonSecondary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, rightIcon, size, text, ...props }: ButtonSecondaryProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default ButtonSecondary;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonProps, ButtonVariationProps } from '../Button/Button.types';
3
-
4
3
  export interface ButtonSecondaryProps extends ButtonVariationProps, Omit<ButtonProps, 'children'> {
5
4
  children?: ReactNode;
6
5
  color?: 'green' | 'pink' | 'grey' | 'teal' | 'lavender' | 'orange';
@@ -1,4 +1,3 @@
1
1
  import { ButtonTertiaryProps } from './ButtonTertiary.types';
2
-
3
- declare const ButtonTertiary: ({ children, className, color, disabled, fullWidth, loading, size, text, ...props }: ButtonTertiaryProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ButtonTertiary: ({ children, className, color, disabled, fullWidth, leftIcon, loading, rightIcon, size, text, ...props }: ButtonTertiaryProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default ButtonTertiary;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonProps, ButtonVariationProps } from '../Button/Button.types';
3
-
4
3
  export interface ButtonTertiaryProps extends ButtonVariationProps, Omit<ButtonProps, 'children'> {
5
4
  children?: ReactNode;
6
5
  color?: 'green' | 'pink' | 'blue' | 'deepPurple';
@@ -0,0 +1,3 @@
1
+ import { CopyLinkButtonProps } from './CopyLinkButton.types';
2
+ declare const CopyLinkButton: ({ ariaLabel, iconSize, link, onClick, style, }: CopyLinkButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CopyLinkButton;
@@ -0,0 +1,7 @@
1
+ export interface CopyLinkButtonProps {
2
+ ariaLabel?: string;
3
+ iconSize?: '24' | '32';
4
+ link: string;
5
+ onClick: () => void;
6
+ style?: 'outline' | 'filled';
7
+ }
@@ -1,4 +1,3 @@
1
1
  import { IconButtonProps } from './IconButton.types';
2
-
3
- declare const IconButton: ({ className, icon, iconClassName, size, variant, ...baseButtonProps }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const IconButton: ({ className, icon, iconClassName, loading, size, variant, ...baseButtonProps }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default IconButton;
@@ -1,6 +1,5 @@
1
1
  import { Icon24, Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  import { ButtonProps } from '../Button/Button.types';
3
-
4
3
  type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & ({
5
4
  ariaLabel: string;
6
5
  } | {
@@ -8,17 +7,17 @@ type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> &
8
7
  }) & {
9
8
  className?: string;
10
9
  iconClassName?: string;
10
+ loading?: boolean;
11
11
  type?: 'button' | 'submit' | 'reset';
12
+ variant?: 'green' | 'white';
12
13
  };
13
- type IconButtonIcon24Props = {
14
+ export type IconButtonIcon24Props = {
14
15
  icon: Icon24;
15
16
  size?: 'small';
16
- variant?: 'circular';
17
17
  } & BaseIconButtonProps;
18
- type IconButtonIcon32Props = {
18
+ export type IconButtonIcon32Props = {
19
19
  icon: Icon32;
20
- size: 'medium' | 'large';
21
- variant?: 'circular';
20
+ size?: 'medium' | 'large';
22
21
  } & BaseIconButtonProps;
23
22
  export type IconButtonProps = IconButtonIcon32Props | IconButtonIcon24Props;
24
23
  export {};
@@ -1,5 +1,4 @@
1
1
  import { TextButtonProps } from './TextButton.types';
2
-
3
2
  export declare const typographyType: {
4
3
  large: string;
5
4
  link: string;
@@ -2,7 +2,6 @@ import { ReactElement } from 'react';
2
2
  import { IconProps } from '../../../Base/Icon/Icon.types';
3
3
  import { NotificationBubbleProps } from '../../NotificationBubble/NotificationBubble.types';
4
4
  import { ButtonProps } from '../Button/Button.types';
5
-
6
5
  export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
7
6
  className?: string;
8
7
  color: 'green' | 'blue' | 'deepPurple';
@@ -1,4 +1,3 @@
1
1
  import { default as FeedTileProps } from './FeedTile.types';
2
-
3
2
  declare const FeedTile: ({ fullWidth, icon, onClick, text }: FeedTileProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default FeedTile;
@@ -1,7 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Icon32 } from '../../../../Base/Icon/Icon.types';
3
3
  import { BaseButtonProps } from '../../../Buttons/Button/Button.types';
4
-
5
4
  export default interface FeedTileProps {
6
5
  fullWidth?: boolean;
7
6
  icon: Icon32;
@@ -1,4 +1,3 @@
1
1
  import { default as MenuTileProps } from './MenuTile.type';
2
-
3
2
  declare const MenuTile: ({ fullWidth, icon, primaryText, secondaryText, ...props }: MenuTileProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default MenuTile;
@@ -1,6 +1,5 @@
1
1
  import { Icon32 } from '../../../../Base/Icon/Icon.types';
2
2
  import { ButtonProps } from '../../Button/Button.types';
3
-
4
3
  export default interface MenuTileProps extends Omit<ButtonProps, 'children'> {
5
4
  fullWidth?: boolean;
6
5
  icon?: Icon32;
@@ -1,4 +1,3 @@
1
1
  import { default as BodyTextProps } from './BodyText.types';
2
-
3
2
  declare const BodyText: ({ bodyText, headlineText, type }: BodyTextProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default BodyText;
@@ -1,4 +1,3 @@
1
1
  import { PlaceholderThumbnailProps } from './PlaceholderThumbnail.type';
2
-
3
2
  declare const PlaceholderThumbnail: ({ className, icon, size }: PlaceholderThumbnailProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default PlaceholderThumbnail;
@@ -1,6 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IconProps } from '../../../Base/Icon/Icon.types';
3
-
4
3
  export type PlaceholderThumbnailProps = {
5
4
  className?: string;
6
5
  icon: ReactElement<IconProps>;
@@ -1,4 +1,3 @@
1
1
  import { ThumbnailCircularProps, ThumbnailSquareProps } from './Thumbnail.type';
2
-
3
2
  declare const Thumbnail: ({ alt, className, isPlaceholder, shape, size, src, }: ThumbnailCircularProps | ThumbnailSquareProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Thumbnail;
@@ -1,11 +1,12 @@
1
1
  import { ImageProps } from '../../Image/Image.type';
2
-
3
2
  export interface ThumbnailProps extends ImageProps {
4
3
  className?: string;
5
4
  isPlaceholder?: boolean;
6
5
  }
7
- export type TCircularSize = '28' | '32' | '40' | '48' | '56' | '64' | '80' | '120' | '280';
8
- export type TSquareSize = '24' | '32' | '40' | '48' | '56' | '64' | '80' | '120';
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"];
8
+ export type TCircularSize = (typeof circularSizes)[number];
9
+ export type TSquareSize = (typeof squareSizes)[number];
9
10
  export interface ThumbnailCircularProps extends ThumbnailProps {
10
11
  shape: 'circular';
11
12
  size: TCircularSize;
@@ -1,4 +1,3 @@
1
1
  import { ThumbnailWithLabelProps } from './ThumbnailWithLabel.type';
2
-
3
2
  declare const ThumbnailWithLabel: ({ alt, isPlaceholder, label, placeholderIcon, shape, src, }: ThumbnailWithLabelProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default ThumbnailWithLabel;
@@ -1,6 +1,5 @@
1
1
  import { Icon32 } from '../../../Base/Icon/Icon.types';
2
2
  import { ThumbnailProps } from '../Thumbnail/Thumbnail.type';
3
-
4
3
  export type ThumbnailWithLabelProps = ThumbnailProps & {
5
4
  label: string;
6
5
  placeholderIcon?: Icon32;
@@ -1,4 +1,3 @@
1
1
  import { default as ThumbnailWrapperProps } from './ThumbnailWrapper.types';
2
-
3
2
  declare const ThumbnailWrapper: ({ ariaLabel, children, thumbnail }: ThumbnailWrapperProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default ThumbnailWrapper;
@@ -1,6 +1,5 @@
1
1
  import { BadgeOwnProps } from '@mui/base/Badge/Badge.types';
2
2
  import { ThumbnailCircularProps, ThumbnailSquareProps } from '../Thumbnail/Thumbnail.type';
3
-
4
3
  export default interface ThumbnailWrapperProps {
5
4
  ariaLabel?: string;
6
5
  children: BadgeOwnProps['children'];
@@ -0,0 +1,3 @@
1
+ import { UserAvatarProps } from './UserAvatar.types';
2
+ export declare const UserAvatar: ({ alt, avatarColor, size, userId, userImageSrc, }: UserAvatarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default UserAvatar;
@@ -0,0 +1,17 @@
1
+ import { TCircularSize } from '../Thumbnail/Thumbnail.type';
2
+ export type AvatarColor = 'green' | 'purple' | 'orange' | 'blue';
3
+ type BaseUserAvatarProps = {
4
+ alt: string;
5
+ size: TCircularSize;
6
+ userImageSrc?: string;
7
+ };
8
+ type UserIdMandatory = BaseUserAvatarProps & {
9
+ avatarColor?: AvatarColor;
10
+ userId: number;
11
+ };
12
+ type AvatarColorMandatory = BaseUserAvatarProps & {
13
+ avatarColor: AvatarColor;
14
+ userId?: number;
15
+ };
16
+ export type UserAvatarProps = UserIdMandatory | AvatarColorMandatory;
17
+ export {};
@@ -1,4 +1,3 @@
1
1
  import { DividerProps } from './Divider.types';
2
-
3
2
  declare const Divider: ({ offsetLeft, offsetRight }: DividerProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Divider;
@@ -0,0 +1,3 @@
1
+ import { DropdownHeaderProps } from './DropdownHeader.types';
2
+ declare const DropdownHeader: ({ icon, text, ...props }: DropdownHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DropdownHeader;
@@ -0,0 +1,6 @@
1
+ import { Icon24 } from '../../../Base/Icon/Icon.types';
2
+ import { ButtonProps } from '../../Buttons/Button/Button.types';
3
+ export type DropdownHeaderProps = Pick<ButtonProps, 'onClick' | 'ariaLabel' | 'ariaLabelledBy' | 'disabled' | 'role'> & {
4
+ icon?: Icon24;
5
+ text?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ import { DropdownOptionProps } from './DropdownOption.types';
2
+ declare const DropdownOption: ({ alt, isSelected, src, text, ...props }: DropdownOptionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DropdownOption;
@@ -0,0 +1,7 @@
1
+ import { ButtonProps } from '../../Buttons/Button/Button.types';
2
+ export type DropdownOptionProps = Pick<ButtonProps, 'onClick' | 'ariaLabel' | 'ariaLabelledBy' | 'disabled' | 'role'> & {
3
+ alt?: string;
4
+ isSelected?: boolean;
5
+ src?: string;
6
+ text: string;
7
+ };
@@ -0,0 +1,3 @@
1
+ import { DropdownOptionsClusterProps } from './DropdownOptionsCluster.types';
2
+ declare const DropdownOptionsCluster: ({ children, className }: DropdownOptionsClusterProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DropdownOptionsCluster;
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export type DropdownOptionsClusterProps = PropsWithChildren<{
3
+ className?: string;
4
+ }>;
@@ -1,3 +1,2 @@
1
1
  import { SelectTypes } from './Select.types';
2
-
3
2
  export default function Select({ children, colorScheme, disabled, errorMessage, onChange, placeholder, value, }: SelectTypes): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { FocusEvent, KeyboardEvent, MouseEvent, ReactElement } from 'react';
2
-
3
2
  export interface SelectTypes {
4
3
  children: ReactElement<HTMLOptionElement> | ReactElement<HTMLOptionElement>[];
5
4
  colorScheme: 'light' | 'dark';
@@ -1,4 +1,3 @@
1
1
  import { ImageProps } from './Image.type';
2
-
3
2
  declare const Image: ({ alt, className, src }: ImageProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Image;
@@ -1,4 +1,3 @@
1
1
  import { CheckboxInputProps } from './CheckboxInput.types';
2
-
3
2
  export declare function CheckboxInput({ checked, children, className, disabled, id, label, onChange, size, }: CheckboxInputProps): import("react/jsx-runtime").JSX.Element | null;
4
3
  export default CheckboxInput;
@@ -1,5 +1,4 @@
1
1
  import { InputHTMLAttributes, ReactNode } from 'react';
2
-
3
2
  export declare enum CheckboxInputSizes {
4
3
  medium = "body-large",
5
4
  small = "body-semibold",
@@ -0,0 +1,3 @@
1
+ import { default as InputDetailsProps } from './InputDetails.types';
2
+ declare const InputDetails: ({ charCount, charLimit, errorText, hintText, }: InputDetailsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default InputDetails;
@@ -0,0 +1,6 @@
1
+ export default interface InputDetailsProps {
2
+ charCount?: number;
3
+ charLimit?: number;
4
+ errorText?: string;
5
+ hintText?: string;
6
+ }
@@ -1,4 +1,3 @@
1
1
  import { InputFieldSpecialProps } from './InputFieldSpecial.types';
2
-
3
2
  declare const InputFieldSpecial: ({ ariaLabel, disabled, errorMessage, id, maxDigits, name, onChange, placeholder, style, value, }: InputFieldSpecialProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default InputFieldSpecial;
@@ -1,3 +1,2 @@
1
1
  import { maxDigitsValueMap } from './InputFieldSpecial.types';
2
-
3
2
  export declare const getValue: (value: number, maxDigits: keyof typeof maxDigitsValueMap) => number;
@@ -1,4 +1,3 @@
1
1
  import { RadioButtonTypes } from './RadioButton.types';
2
-
3
2
  export declare function RadioButton({ checked, disabled, id, label, onChange, size, value, }: RadioButtonTypes): import("react/jsx-runtime").JSX.Element;
4
3
  export default RadioButton;
@@ -1,5 +1,4 @@
1
1
  import { InputHTMLAttributes } from 'react';
2
-
3
2
  export interface RadioButtonTypes extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
4
3
  id: string;
5
4
  label: string;
@@ -0,0 +1,3 @@
1
+ import { TextAreaInputProps } from './TextAreaInput.types';
2
+ declare const TextAreaInput: ({ ariaDescribedby, attachment, charLimit, colorScheme, errorText, hintText, id, label, name, ref, showInputHints, size, ...props }: TextAreaInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default TextAreaInput;
@@ -0,0 +1,6 @@
1
+ import { IconButtonIcon24Props } from '../../Buttons/IconButton/IconButton.types';
2
+ import { CommonTextInputProps } from '../TextInput/TextInput.types';
3
+ export interface TextAreaInputProps extends CommonTextInputProps {
4
+ attachment?: Pick<IconButtonIcon24Props, 'icon' | 'onClick' | 'ariaLabel' | 'disabled'>[];
5
+ size: 'medium' | 'large';
6
+ }
@@ -1,4 +1,3 @@
1
1
  import { TextInputProps } from './TextInput.types';
2
-
3
- declare const TextInput: ({ colorScheme, errorMessage, id, label, name, ref, size, ...props }: TextInputProps) => import("react/jsx-runtime").JSX.Element;
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;
4
3
  export default TextInput;
@@ -1,12 +1,22 @@
1
- import { UseInputParameters } from '@mui/base/useInput';
2
- import { ForwardedRef } from 'react';
3
-
4
- export interface TextInputProps extends UseInputParameters {
5
- colorScheme: 'light' | 'dark';
6
- errorMessage?: string;
1
+ import { UseInputParameters } from '@mui/base';
2
+ import { ForwardedRef, HTMLInputTypeAttribute } from 'react';
3
+ import { IconProps } from '../../../Base/Icon/Icon.types';
4
+ import { IconButtonIcon24Props } from '../../Buttons/IconButton/IconButton.types';
5
+ export interface CommonTextInputProps extends UseInputParameters {
6
+ ariaDescribedby?: string;
7
+ charLimit?: number;
8
+ colorScheme?: 'outline' | 'filled';
9
+ errorText?: string;
10
+ hintText?: string;
7
11
  id: string;
8
12
  label: string;
9
13
  name?: string;
10
14
  ref?: ForwardedRef<null>;
11
- size: 'small' | 'medium';
15
+ showInputHints?: boolean;
16
+ }
17
+ export interface TextInputProps extends CommonTextInputProps {
18
+ icon?: IconProps;
19
+ inputFieldType?: HTMLInputTypeAttribute;
20
+ size: 'medium' | 'large' | 'small';
21
+ textButton?: IconButtonIcon24Props;
12
22
  }
@@ -1,4 +1,3 @@
1
1
  import { ToggleProps } from './Toggle.types';
2
-
3
2
  declare const Toggle: (props: ToggleProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Toggle;
@@ -1,5 +1,4 @@
1
1
  import { UseSwitchParameters } from '@mui/base';
2
-
3
2
  export interface ToggleProps extends UseSwitchParameters {
4
3
  className?: string;
5
4
  id?: string;
@@ -1,4 +1,3 @@
1
1
  import { NotificationBubbleProps } from './NotificationBubble.types';
2
-
3
2
  declare const NotificationBubble: (props: NotificationBubbleProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default NotificationBubble;
@@ -1,5 +1,4 @@
1
1
  import { BadgeOwnProps } from '@mui/base';
2
-
3
2
  export interface NotificationBubbleProps extends BadgeOwnProps {
4
3
  ariaLabel?: string;
5
4
  value?: number;
@@ -1,4 +1,3 @@
1
1
  import { SelectablePillProps } from './SelectablePill.types';
2
-
3
2
  declare const SelectablePill: ({ disabled, icon, id, isSelected, label, onToggleChange, orientation, popular, style, value, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default SelectablePill;
@@ -1,5 +1,4 @@
1
1
  import { Icon32 } from '../../../Base/Icon/Icon.types';
2
-
3
2
  export interface SelectablePillProps {
4
3
  disabled?: boolean;
5
4
  icon?: Icon32;
@@ -1,5 +1,4 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IconProps } from './Icon.types';
3
-
4
3
  declare const Icon: ({ className, name, role, size, title, }: IconProps) => ReactElement | null;
5
4
  export default Icon;
@@ -2,10 +2,12 @@ import { AriaRole } from 'react';
2
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
-
6
5
  export type Icon32 = keyof typeof icons32;
7
6
  export type Icon24 = keyof typeof icons24;
8
7
  export type Icon16 = keyof typeof icons16;
8
+ export declare const iconNames16: string[];
9
+ export declare const iconNames24: string[];
10
+ export declare const iconNames32: string[];
9
11
  type BaseIconProps = {
10
12
  className?: string;
11
13
  role?: Extract<AriaRole, 'presentation' | 'img'>;