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

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.
@@ -26,10 +26,10 @@ export interface GoabAccordionProps extends Margins {
26
26
  heading: string;
27
27
  headingContent?: ReactNode;
28
28
  maxWidth?: string;
29
- testid?: string;
29
+ testId?: string;
30
30
  iconPosition?: GoabAccordionIconPosition;
31
31
  onChange?: (open: boolean) => void;
32
- children: ReactNode;
32
+ children?: ReactNode;
33
33
  }
34
- export declare function GoabAccordion({ open, heading, headingSize, secondaryText, headingContent, iconPosition, maxWidth, testid, onChange, children, mt, mr, mb, ml, }: GoabAccordionProps): JSX.Element;
34
+ export declare function GoabAccordion({ open, heading, headingSize, secondaryText, headingContent, iconPosition, maxWidth, testId, onChange, children, mt, mr, mb, ml, }: GoabAccordionProps): JSX.Element;
35
35
  export default GoabAccordion;
@@ -1,10 +1,11 @@
1
- import { GoabTextMaxWidth, GoabTextHeadingElement, GoabTextTextElement, GoabTextSize, Margins } from '@abgov/ui-components-common';
1
+ import { GoabTextMaxWidth, GoabTextHeadingElement, GoabTextTextElement, GoabTextSize, GoabTextColor, Margins } from '@abgov/ui-components-common';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  interface WCProps extends Margins {
5
5
  as?: GoabTextTextElement | GoabTextHeadingElement;
6
6
  size?: GoabTextSize;
7
7
  maxwidth?: GoabTextMaxWidth;
8
+ color?: GoabTextColor;
8
9
  }
9
10
  declare global {
10
11
  namespace JSX {
@@ -17,6 +18,7 @@ interface GoATextProps extends Margins {
17
18
  as?: GoabTextTextElement | GoabTextHeadingElement;
18
19
  size?: GoabTextSize;
19
20
  maxWidth?: GoabTextMaxWidth;
21
+ color?: GoabTextColor;
20
22
  children: ReactNode;
21
23
  }
22
24
  export declare function GoabText(props: GoATextProps): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.2.2-alpha.3",
3
+ "version": "6.2.2-alpha.4",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"