@abgov/react-components 7.2.0-dev.36 → 7.2.0-dev.38
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 +2 -0
- package/index.js.map +1 -1
- package/index.mjs +2 -0
- package/index.mjs.map +1 -1
- package/lib/button/button.d.ts +4 -1
- package/lib/input/input.d.ts +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -174,6 +174,7 @@ function GoabButton({
|
|
|
174
174
|
onClick,
|
|
175
175
|
actionArgs,
|
|
176
176
|
actionArg,
|
|
177
|
+
ariaLabel,
|
|
177
178
|
children,
|
|
178
179
|
...rest
|
|
179
180
|
}) {
|
|
@@ -202,6 +203,7 @@ function GoabButton({
|
|
|
202
203
|
disabled: disabled ? "true" : void 0,
|
|
203
204
|
"action-arg": actionArg,
|
|
204
205
|
"action-args": JSON.stringify(actionArgs),
|
|
206
|
+
arialabel: ariaLabel || void 0,
|
|
205
207
|
..._props,
|
|
206
208
|
version: "2",
|
|
207
209
|
children
|