@goodhood-web/ui 1.8.0-development.8 → 1.8.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 (43) hide show
  1. package/index.d.ts +8 -4
  2. package/index.js +169 -65
  3. package/index.mjs +15989 -6093
  4. package/lib/ActionBar/ActionBar.d.ts +4 -0
  5. package/lib/ActionBar/ActionBar.types.d.ts +8 -0
  6. package/lib/ActionBar/ActionBarCta/ActionBarCta.d.ts +4 -0
  7. package/lib/ActionBar/ActionBarCta/ActionBarCta.types.d.ts +8 -0
  8. package/lib/ActionBar/ActionBarList/ActionBarList.d.ts +4 -0
  9. package/lib/ActionBar/ActionBarList/ActionBarList.types.d.ts +5 -0
  10. package/lib/ActionBar/ActionBarList/ActionItem/ActionItem.d.ts +4 -0
  11. package/lib/ActionBar/ActionBarList/ActionItem/ActionItem.types.d.ts +10 -0
  12. package/lib/BodyText/BodyText.d.ts +4 -0
  13. package/lib/BodyText/BodyText.types.d.ts +5 -0
  14. package/lib/BodyText/util.d.ts +1 -0
  15. package/lib/BottomSheet/BottomSheet.d.ts +4 -0
  16. package/lib/BottomSheet/BottomSheet.types.d.ts +15 -0
  17. package/lib/ButtonSecondary/ButtonSecondary.d.ts +4 -0
  18. package/lib/ButtonSecondary/ButtonSecondary.types.d.ts +12 -0
  19. package/lib/ButtonTertiary/ButtonTertiary.d.ts +4 -0
  20. package/lib/ButtonTertiary/ButtonTertiary.types.d.ts +12 -0
  21. package/lib/FeedTile/FeedTile.d.ts +4 -0
  22. package/lib/FeedTile/FeedTile.types.d.ts +10 -0
  23. package/lib/Icon/icons/24x24/index.d.ts +50 -48
  24. package/lib/Icon/icons/32x32/index.d.ts +108 -97
  25. package/lib/Icon/icons/index.d.ts +158 -144
  26. package/lib/MenuItem/MenuItem.d.ts +1 -1
  27. package/lib/MenuItem/MenuItem.types.d.ts +3 -1
  28. package/lib/MenuTile/MenuTile.d.ts +4 -0
  29. package/lib/{Tile/Tile.type.d.ts → MenuTile/MenuTile.type.d.ts} +1 -1
  30. package/lib/NotificationListItem/NotificationListItem.d.ts +1 -1
  31. package/lib/NotificationListItem/NotificationListItem.types.d.ts +1 -1
  32. package/lib/TextButton/TextButton.d.ts +1 -1
  33. package/lib/TextButton/TextButton.types.d.ts +2 -1
  34. package/lib/ToggleInput/ToggleInput.d.ts +1 -1
  35. package/lib/ToggleInput/ToggleInput.types.d.ts +1 -0
  36. package/lib/Typography/Typography.types.d.ts +1 -1
  37. package/package.json +1 -1
  38. package/style.css +1 -1
  39. package/lib/Accordion/Accordion.d.ts +0 -4
  40. package/lib/Accordion/Accordion.types.d.ts +0 -8
  41. package/lib/Accordion/AccordionItem.d.ts +0 -4
  42. package/lib/Accordion/AccordionItem.types.d.ts +0 -12
  43. package/lib/Tile/Tile.d.ts +0 -4
@@ -3,9 +3,9 @@ import { default as React } from 'react';
3
3
  export interface NotificationListItemProps {
4
4
  defaultIcon?: React.ReactNode;
5
5
  imgSrc?: string;
6
- isSeen?: boolean;
7
6
  linkText: string;
8
7
  onNotificationClick?: () => void;
9
8
  timeAgo: string;
10
9
  title: string;
10
+ unread?: boolean;
11
11
  }
@@ -5,5 +5,5 @@ export declare const typographyType: {
5
5
  medium: string;
6
6
  small: string;
7
7
  };
8
- export declare function TextButton({ color, disabled, leftIcon, rightIcon, size, text, ...props }: TextButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function TextButton({ className, color, disabled, leftIcon, rightIcon, size, text, ...props }: TextButtonProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default TextButton;
@@ -4,7 +4,8 @@ import { IconProps } from '../Icon/Icon.types';
4
4
  import { NotificationBubbleProps } from '../NotificationBubble/NotificationBubble.types';
5
5
 
6
6
  export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
7
- color: 'green' | 'blue' | 'text';
7
+ className?: string;
8
+ color: 'green' | 'blue' | 'deepPurple';
8
9
  leftIcon?: ReactElement<IconProps | NotificationBubbleProps>;
9
10
  rightIcon?: ReactElement<IconProps | NotificationBubbleProps>;
10
11
  size: 'large' | 'medium' | 'small';
@@ -1,4 +1,4 @@
1
1
  import { ToggleInputProps } from './ToggleInput.types';
2
2
 
3
- declare const ToggleInput: ({ checked, defaultChecked, disabled, icon, label, onChange, withBorder, }: ToggleInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const ToggleInput: ({ checked, defaultChecked, description, disabled, icon, label, onChange, withBorder, }: ToggleInputProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default ToggleInput;
@@ -2,6 +2,7 @@ import { UseSwitchParameters } from '@mui/base';
2
2
  import { Icon32 } from '../Icon/Icon.types';
3
3
 
4
4
  export interface ToggleInputProps extends UseSwitchParameters {
5
+ description?: string;
5
6
  icon?: Icon32;
6
7
  label: string;
7
8
  withBorder?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { JSX, ReactNode } from 'react';
2
2
 
3
- export type TypographyType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'detail-medium' | 'detail-bold' | 'detail-upper-case' | 'detail-regular';
3
+ export type TypographyType = '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';
4
4
  export interface TypographyProps {
5
5
  as?: Extract<keyof JSX.IntrinsicElements, 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
6
6
  children: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.8.0-development.8",
3
+ "version": "1.8.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {