@transferwise/components 0.0.0-experimental-d9b9513 → 0.0.0-experimental-30fd4e5
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/build/index.esm.js +4 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -0
- package/build/index.js.map +1 -1
- package/build/types/inputs/SelectInput.d.ts +2 -1
- package/build/types/inputs/SelectInput.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/inputs/SelectInput.tsx +6 -1
package/build/index.esm.js
CHANGED
|
@@ -6733,6 +6733,7 @@ function SelectInputClearButton({
|
|
|
6733
6733
|
}
|
|
6734
6734
|
const noop = () => {};
|
|
6735
6735
|
function SelectInput({
|
|
6736
|
+
id,
|
|
6736
6737
|
name,
|
|
6737
6738
|
multiple,
|
|
6738
6739
|
placeholder,
|
|
@@ -6838,6 +6839,7 @@ function SelectInput({
|
|
|
6838
6839
|
}
|
|
6839
6840
|
},
|
|
6840
6841
|
children: /*#__PURE__*/jsx(SelectInputOptions, {
|
|
6842
|
+
id: id,
|
|
6841
6843
|
items: items,
|
|
6842
6844
|
renderValue: renderValue,
|
|
6843
6845
|
renderFooter: renderFooter,
|
|
@@ -6911,6 +6913,7 @@ const SelectInputOptionsContainer = /*#__PURE__*/forwardRef(function SelectInput
|
|
|
6911
6913
|
});
|
|
6912
6914
|
});
|
|
6913
6915
|
function SelectInputOptions({
|
|
6916
|
+
id,
|
|
6914
6917
|
items,
|
|
6915
6918
|
renderValue = String,
|
|
6916
6919
|
renderFooter,
|
|
@@ -6941,6 +6944,7 @@ function SelectInputOptions({
|
|
|
6941
6944
|
const listboxId = useId();
|
|
6942
6945
|
return /*#__PURE__*/jsxs(Listbox.Options, {
|
|
6943
6946
|
as: SelectInputOptionsContainer,
|
|
6947
|
+
id: id,
|
|
6944
6948
|
static: true,
|
|
6945
6949
|
className: "np-select-input-options-container",
|
|
6946
6950
|
onAriaActiveDescendantChange: value => {
|