@abgov/react-components 7.2.0-dev.36 → 7.2.0-dev.37
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.js.map +1 -1
- package/index.mjs.map +1 -1
- package/lib/input/input.d.ts +3 -0
- package/package.json +1 -1
package/lib/input/input.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ interface WCProps extends Margins {
|
|
|
21
21
|
prefix?: string;
|
|
22
22
|
suffix?: string;
|
|
23
23
|
arialabel?: string;
|
|
24
|
+
arialabelledby?: string;
|
|
24
25
|
testid?: string;
|
|
25
26
|
textalign?: string;
|
|
26
27
|
size?: GoabInputSize;
|
|
@@ -79,6 +80,8 @@ interface BaseProps extends Margins, DataAttributes {
|
|
|
79
80
|
testId?: string;
|
|
80
81
|
/** Sets the aria-label used by assistive technologies. */
|
|
81
82
|
ariaLabel?: string;
|
|
83
|
+
/** The aria-labelledby attribute identifies the element (or elements) that labels the input */
|
|
84
|
+
ariaLabelledBy?: string;
|
|
82
85
|
/** Sets content in the leading slot. */
|
|
83
86
|
leadingContent?: React.ReactNode;
|
|
84
87
|
/** Sets content in the trailing slot. */
|