@abgov/react-components 6.8.0-alpha.2 → 6.8.0-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.
- package/index.js +1 -6
- package/index.js.map +1 -1
- package/index.mjs +1 -6
- package/index.mjs.map +1 -1
- package/lib/dropdown/dropdown-item.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/menu-button/menu-button.d.ts +2 -2
- package/lib/popover/popover.d.ts +1 -3
- package/lib/radio-group/radio-group.d.ts +2 -2
- package/lib/radio-group/radio.d.ts +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -743,9 +743,6 @@ function stringify(value) {
|
|
|
743
743
|
if (typeof value === "string") {
|
|
744
744
|
return value;
|
|
745
745
|
}
|
|
746
|
-
if (typeof value === "number") {
|
|
747
|
-
return "" + value;
|
|
748
|
-
}
|
|
749
746
|
return JSON.stringify(value);
|
|
750
747
|
}
|
|
751
748
|
function GoabDropdown(props) {
|
|
@@ -3311,7 +3308,7 @@ function GoabMenuButton({
|
|
|
3311
3308
|
const current = el.current;
|
|
3312
3309
|
const listener = (e) => {
|
|
3313
3310
|
const detail = e.detail;
|
|
3314
|
-
onAction(detail
|
|
3311
|
+
onAction(detail);
|
|
3315
3312
|
};
|
|
3316
3313
|
current.addEventListener("_action", listener);
|
|
3317
3314
|
return () => {
|
|
@@ -3504,7 +3501,6 @@ function GoabPopover({
|
|
|
3504
3501
|
position,
|
|
3505
3502
|
relative,
|
|
3506
3503
|
children,
|
|
3507
|
-
tabIndex = -1,
|
|
3508
3504
|
mt,
|
|
3509
3505
|
mr,
|
|
3510
3506
|
mb,
|
|
@@ -3519,7 +3515,6 @@ function GoabPopover({
|
|
|
3519
3515
|
padded: typeof padded === "undefined" ? void 0 : padded ? "true" : "false",
|
|
3520
3516
|
position,
|
|
3521
3517
|
relative: relative ? "true" : void 0,
|
|
3522
|
-
tabindex: tabIndex,
|
|
3523
3518
|
mt,
|
|
3524
3519
|
mr,
|
|
3525
3520
|
mb,
|