@abgov/react-components 6.2.2-alpha.4 → 6.2.2-alpha.5
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.
- package/index.d.ts +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/index.mjs +6 -4
- package/index.mjs.map +1 -1
- package/lib/link/link.d.ts +5 -3
- package/lib/textarea/textarea.d.ts +2 -2
- package/package.json +1 -1
package/lib/link/link.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
21
|
-
export default
|
|
22
|
+
export declare function GoabLink(props: GoabLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default GoabLink;
|
|
@@ -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
|
|
45
|
-
export default
|
|
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;
|