@abgov/react-components 6.6.0-alpha.6 → 6.6.1

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.
@@ -6,6 +6,10 @@ interface WCProps {
6
6
  open?: string;
7
7
  maxwidth?: string;
8
8
  closable: string;
9
+ /**
10
+ * @deprecated The role property is deprecated and will be removed in a future version.
11
+ * The modal will always use role="dialog".
12
+ */
9
13
  role?: GoabModalRole;
10
14
  transition?: GoabModalTransition;
11
15
  calloutvariant?: GoabModalCalloutVariant;
@@ -28,7 +32,11 @@ export interface GoabModalProps {
28
32
  open?: boolean;
29
33
  calloutVariant?: GoabModalCalloutVariant;
30
34
  testId?: string;
35
+ /**
36
+ * @deprecated The role property is deprecated and will be removed in a future version.
37
+ * The modal will always use role="dialog".
38
+ */
31
39
  role?: GoabModalRole;
32
40
  }
33
- export declare function GoabModal({ heading, children, maxWidth, open, actions, transition, calloutVariant, onClose, testId, role, }: GoabModalProps): JSX.Element;
41
+ export declare function GoabModal({ heading, children, maxWidth, open, actions, transition, calloutVariant, onClose, testId, }: GoabModalProps): JSX.Element;
34
42
  export default GoabModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.6.0-alpha.6",
3
+ "version": "6.6.1",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"