@goodhood-web/ui 1.6.0-development.28 → 1.6.0-development.29

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.
@@ -1,4 +1,4 @@
1
1
  import { default as BadgeIconProps } from './BadgeIcon.types';
2
2
 
3
- declare const BadgeIcon: ({ className, size, type }: BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const BadgeIcon: ({ ariaLabel, className, role, size, type }: BadgeIconProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default BadgeIcon;
@@ -1,5 +1,9 @@
1
+ import { AriaRole } from 'react';
2
+
1
3
  export default interface BadgeIconProps {
4
+ ariaLabel?: string;
2
5
  className?: string;
6
+ role?: AriaRole;
3
7
  size: 'small' | 'medium';
4
8
  type: 'ben' | 'localBiz' | 'localOrg' | 'supporter' | 'muted';
5
9
  }
@@ -1,4 +1,4 @@
1
1
  import { default as BadgeLabelProps } from './BadgeLabel.types';
2
2
 
3
- declare const BadgeLabel: ({ buttonHref, buttonOnClick, text, type }: BadgeLabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const BadgeLabel: ({ buttonHref, buttonOnClick, buttonText, text, type, }: BadgeLabelProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default BadgeLabel;
@@ -4,6 +4,7 @@ import { TextButtonProps } from '../TextButton/TextButton.types';
4
4
  export default interface BadgeLabelProps {
5
5
  buttonHref: TextButtonProps['href'];
6
6
  buttonOnClick: TextButtonProps['onClick'];
7
+ buttonText: string;
7
8
  text: string;
8
9
  type: Extract<BadgeIconProps['type'], 'ben' | 'supporter' | 'muted'>;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.6.0-development.28",
3
+ "version": "1.6.0-development.29",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {