@abgov/react-components 5.0.0-alpha.12 → 5.0.0-alpha.13

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.
@@ -14,6 +14,7 @@ interface WCProps extends Margins {
14
14
  disabled?: boolean;
15
15
  leadingicon?: string;
16
16
  trailingicon?: string;
17
+ width?: string;
17
18
  testid?: string;
18
19
  ref: React.RefObject<HTMLElement>;
19
20
  }
@@ -31,9 +32,10 @@ export interface GoAButtonProps extends Margins {
31
32
  disabled?: boolean;
32
33
  leadingIcon?: GoAIconType;
33
34
  trailingIcon?: GoAIconType;
35
+ width?: string;
34
36
  onClick?: () => void;
35
37
  testId?: string;
36
38
  children?: ReactNode;
37
39
  }
38
- export declare function GoAButton({ disabled, type, size, variant, leadingIcon, trailingIcon, testId, children, onClick, mt, mr, mb, ml, }: GoAButtonProps): JSX.Element;
40
+ export declare function GoAButton({ disabled, type, size, variant, leadingIcon, trailingIcon, width, testId, children, onClick, mt, mr, mb, ml, }: GoAButtonProps): JSX.Element;
39
41
  export default GoAButton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "5.0.0-alpha.12",
3
+ "version": "5.0.0-alpha.13",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"