@abgov/react-components 4.0.0-alpha.92 → 4.0.0-alpha.94

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.
@@ -16,6 +16,7 @@ interface CheckboxProps extends Margins {
16
16
  error?: boolean;
17
17
  text?: string;
18
18
  value?: string | number | boolean;
19
+ arialabel?: string;
19
20
  }
20
21
  export interface Props extends Margins {
21
22
  id?: string;
@@ -27,6 +28,7 @@ export interface Props extends Margins {
27
28
  value?: string | number | boolean;
28
29
  children?: React.ReactNode;
29
30
  testId?: string;
31
+ ariaLabel?: string;
30
32
  onChange?: (name: string, checked: boolean, value: string) => void;
31
33
  }
32
34
  export declare const GoACheckbox: FC<Props>;
@@ -15,6 +15,7 @@ interface WCProps extends Margins {
15
15
  multiselect?: boolean;
16
16
  width?: string;
17
17
  testid?: string;
18
+ arialabel?: string;
18
19
  }
19
20
  declare global {
20
21
  namespace JSX {
@@ -37,6 +38,7 @@ interface Props extends Margins {
37
38
  testId?: string;
38
39
  width?: string;
39
40
  children?: React.ReactNode;
41
+ ariaLabel?: string;
40
42
  }
41
43
  export declare const GoADropdown: FC<Props>;
42
44
  export default GoADropdown;
@@ -24,6 +24,7 @@ interface WCProps extends Margins {
24
24
  prefix?: string;
25
25
  suffix?: string;
26
26
  testid?: string;
27
+ arialabel?: string;
27
28
  min?: string | number;
28
29
  max?: string | number;
29
30
  step?: number;
@@ -52,6 +53,7 @@ interface BaseProps extends Margins {
52
53
  prefix?: string;
53
54
  suffix?: string;
54
55
  testId?: string;
56
+ ariaLabel?: string;
55
57
  }
56
58
  declare type OnChange = (name: string, value: string) => void;
57
59
  export interface InputProps extends BaseProps {
@@ -8,6 +8,7 @@ interface RadioGroupProps extends Margins {
8
8
  orientation: string;
9
9
  disabled: boolean;
10
10
  error: boolean;
11
+ arialabel?: string;
11
12
  }
12
13
  declare global {
13
14
  namespace JSX {
@@ -23,6 +24,7 @@ interface Props extends Margins {
23
24
  orientation?: "horizontal" | "vertical";
24
25
  testId?: string;
25
26
  error?: boolean;
27
+ ariaLabel?: string;
26
28
  children?: React.ReactNode;
27
29
  onChange: (name: string, value: string) => void;
28
30
  }
@@ -11,6 +11,7 @@ interface WCProps extends Margins {
11
11
  showcounter?: boolean;
12
12
  maxcharcount?: number;
13
13
  width?: string;
14
+ arialabel?: string;
14
15
  }
15
16
  declare global {
16
17
  namespace JSX {
@@ -31,6 +32,7 @@ interface Props extends Margins {
31
32
  maxCharCount?: number;
32
33
  width?: string;
33
34
  testId?: string;
35
+ ariaLabel?: string;
34
36
  onChange: (name: string, value: string) => void;
35
37
  }
36
38
  export declare const GoATextArea: FC<Props>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.0.0-alpha.92",
3
+ "version": "4.0.0-alpha.94",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"