@abgov/react-components 6.5.0 → 6.6.0-alpha.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.
@@ -17,6 +17,7 @@ interface WCProps extends Margins {
17
17
  width?: string;
18
18
  relative?: string;
19
19
  id?: string;
20
+ autocomplete?: string;
20
21
  testid?: string;
21
22
  }
22
23
  declare module "react" {
@@ -44,6 +45,7 @@ export interface GoabDropdownProps extends Margins {
44
45
  placeholder?: string;
45
46
  testId?: string;
46
47
  width?: string;
48
+ autoComplete?: string;
47
49
  /***
48
50
  * @deprecated This property has no effect and will be removed in a future version
49
51
  */
@@ -20,7 +20,7 @@ export interface GoabFileUploadCardProps {
20
20
  size: number;
21
21
  type?: string;
22
22
  progress?: number;
23
- testId: string;
23
+ testId?: string;
24
24
  error?: string;
25
25
  onDelete?: (detail: GoabFileUploadOnDeleteDetail) => void;
26
26
  onCancel?: (detail: GoabFileUploadOnCancelDetail) => void;
@@ -10,6 +10,7 @@ interface WCProps extends Margins {
10
10
  value?: string;
11
11
  id?: string;
12
12
  autocapitalize?: GoabAutoCapitalize;
13
+ autocomplete?: string;
13
14
  debounce?: number;
14
15
  placeholder?: string;
15
16
  leadingicon?: string;
@@ -45,6 +46,7 @@ interface BaseProps extends Margins {
45
46
  debounce?: number;
46
47
  disabled?: boolean;
47
48
  autoCapitalize?: GoabAutoCapitalize;
49
+ autoComplete?: string;
48
50
  placeholder?: string;
49
51
  leadingIcon?: GoabIconType;
50
52
  trailingIcon?: GoabIconType;
@@ -98,7 +100,7 @@ interface GoabDateInputProps extends BaseProps {
98
100
  onBlur?: OnBlur<GoabDate>;
99
101
  onKeyPress?: OnKeyPress<GoabDate>;
100
102
  }
101
- export declare function GoabInput({ id, debounce, name, type, autoCapitalize, leadingIcon, trailingIcon, variant, focused, disabled, readonly, value, placeholder, error, width, testId, min, max, step, prefix, suffix, ariaLabel, mt, mr, mb, ml, leadingContent, trailingContent, maxLength, trailingIconAriaLabel, textAlign, onTrailingIconClick, onChange, onFocus, onBlur, onKeyPress, }: GoabInputProps & {
103
+ export declare function GoabInput({ id, debounce, name, type, autoCapitalize, autoComplete, leadingIcon, trailingIcon, variant, focused, disabled, readonly, value, placeholder, error, width, testId, min, max, step, prefix, suffix, ariaLabel, mt, mr, mb, ml, leadingContent, trailingContent, maxLength, trailingIconAriaLabel, textAlign, onTrailingIconClick, onChange, onFocus, onBlur, onKeyPress, }: GoabInputProps & {
102
104
  type?: GoabInputType;
103
105
  }): JSX.Element;
104
106
  export declare function GoabInputText(props: GoabInputProps): JSX.Element;
@@ -14,6 +14,7 @@ interface WCProps extends Margins {
14
14
  arialabel?: string;
15
15
  countby?: GoabTextAreaCountBy;
16
16
  maxcount?: number;
17
+ autocomplete?: string;
17
18
  testid?: string;
18
19
  }
19
20
  declare module "react" {
@@ -38,8 +39,9 @@ export interface GoabTextAreaProps extends Margins {
38
39
  ariaLabel?: string;
39
40
  countBy?: GoabTextAreaCountBy;
40
41
  maxCount?: number;
42
+ autoComplete?: string;
41
43
  onChange?: (event: GoabTextAreaOnChangeDetail) => void;
42
44
  onKeyPress?: (event: GoabTextAreaOnKeyPressDetail) => void;
43
45
  }
44
- export declare function GoabTextArea({ name, value, placeholder, rows, readOnly, disabled, countBy, maxCount, width, maxWidth, testId, error, ariaLabel, mt, mr, mb, ml, onChange, onKeyPress, }: GoabTextAreaProps): JSX.Element;
46
+ export declare function GoabTextArea({ name, value, placeholder, rows, readOnly, disabled, countBy, maxCount, width, maxWidth, testId, error, ariaLabel, mt, mr, mb, ml, autoComplete, onChange, onKeyPress, }: GoabTextAreaProps): JSX.Element;
45
47
  export default GoabTextArea;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.5.0",
3
+ "version": "6.6.0-alpha.1",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"