@goodhood-web/ui 3.0.0-development.3 → 3.0.0-development.5

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.
@@ -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,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;
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.0.0-development.3",
3
+ "version": "3.0.0-development.5",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",