@abgov/react-components 6.2.2-alpha.4 → 6.2.2-alpha.6

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.
@@ -25,6 +25,9 @@ export interface GoabDatePickerProps extends Margins {
25
25
  min?: Date;
26
26
  max?: Date;
27
27
  testId?: string;
28
+ /***
29
+ * @deprecated This property has no effect and will be removed in a future version
30
+ */
28
31
  relative?: boolean;
29
32
  disabled?: boolean;
30
33
  onChange: (detail: GoabDatePickerOnChangeDetail) => void;
@@ -44,6 +44,9 @@ export interface GoabDropdownProps extends Margins {
44
44
  placeholder?: string;
45
45
  testId?: string;
46
46
  width?: string;
47
+ /***
48
+ * @deprecated This property has no effect and will be removed in a future version
49
+ */
47
50
  relative?: boolean;
48
51
  }
49
52
  export declare function GoabDropdown(props: GoabDropdownProps): JSX.Element;
@@ -4,6 +4,7 @@ import { ReactNode } from 'react';
4
4
  interface WCProps extends Margins {
5
5
  leadingicon?: GoabIconType;
6
6
  trailingicon?: GoabIconType;
7
+ testid?: string;
7
8
  }
8
9
  declare global {
9
10
  namespace JSX {
@@ -12,10 +13,11 @@ declare global {
12
13
  }
13
14
  }
14
15
  }
15
- interface GoALinkProps extends Margins {
16
+ interface GoabLinkProps extends Margins {
16
17
  leadingIcon?: GoabIconType;
17
18
  trailingIcon?: GoabIconType;
19
+ testId?: string;
18
20
  children: ReactNode;
19
21
  }
20
- export declare function GoALink(props: GoALinkProps): import("react/jsx-runtime").JSX.Element;
21
- export default GoALink;
22
+ export declare function GoabLink(props: GoabLinkProps): import("react/jsx-runtime").JSX.Element;
23
+ export default GoabLink;
@@ -24,6 +24,9 @@ export interface GoabPopoverProps extends Margins {
24
24
  padded?: boolean;
25
25
  position?: GoabPopoverPosition;
26
26
  children: ReactNode;
27
+ /***
28
+ * @deprecated This property has no effect and will be removed in a future version
29
+ */
27
30
  relative?: boolean;
28
31
  }
29
32
  export declare function GoabPopover({ target, testId, maxWidth, minWidth, padded, position, relative, children, mt, mr, mb, ml, }: GoabPopoverProps): JSX.Element;
@@ -15,7 +15,9 @@ declare global {
15
15
  }
16
16
  }
17
17
  interface GoATextProps extends Margins {
18
+ /** @deprecated Please use 'tag' property instead */
18
19
  as?: GoabTextTextElement | GoabTextHeadingElement;
20
+ tag?: GoabTextTextElement | GoabTextHeadingElement;
19
21
  size?: GoabTextSize;
20
22
  maxWidth?: GoabTextMaxWidth;
21
23
  color?: GoabTextColor;
@@ -41,5 +41,5 @@ export interface GoabTextAreaProps extends Margins {
41
41
  onChange: (event: GoabTextAreaOnChangeDetail) => void;
42
42
  onKeyPress?: (event: GoabTextAreaOnKeyPressDetail) => void;
43
43
  }
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;
45
- export default GoabTextarea;
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;
45
+ export default GoabTextArea;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.2.2-alpha.4",
3
+ "version": "6.2.2-alpha.6",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"