@abgov/react-components 4.17.0-alpha.38 → 4.17.0-alpha.39

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,11 +1,13 @@
1
1
  import { Margins } from "../../common/styling";
2
2
  export type GoACalloutType = "important" | "information" | "event" | "success" | "emergency";
3
3
  export type GoACalloutSize = "medium" | "large";
4
+ export type GoACalloutAriaLive = "off" | "polite" | "assertive";
4
5
  interface WCProps extends Margins {
5
6
  heading?: string;
6
7
  type?: GoACalloutType;
7
8
  size?: GoACalloutSize;
8
9
  maxwidth?: string;
10
+ arialive?: GoACalloutAriaLive;
9
11
  }
10
12
  declare global {
11
13
  namespace JSX {
@@ -20,8 +22,9 @@ export interface GoACalloutProps extends Margins {
20
22
  size?: GoACalloutSize;
21
23
  maxWidth?: string;
22
24
  testId?: string;
25
+ ariaLive?: GoACalloutAriaLive;
23
26
  children?: React.ReactNode;
24
27
  }
25
28
  export type CalloutProps = GoACalloutProps;
26
- export declare const GoACallout: ({ heading, type, size, maxWidth, testId, children, mt, mr, mb, ml, }: GoACalloutProps) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const GoACallout: ({ heading, type, size, maxWidth, testId, ariaLive, children, mt, mr, mb, ml, }: GoACalloutProps) => import("react/jsx-runtime").JSX.Element;
27
30
  export default GoACallout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.17.0-alpha.38",
3
+ "version": "4.17.0-alpha.39",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"