@abgov/react-components 6.2.2-alpha.5 → 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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.2.2-alpha.5",
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"