@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.js
CHANGED
|
@@ -6767,6 +6767,7 @@ function SelectInputClearButton({
|
|
|
6767
6767
|
}
|
|
6768
6768
|
const noop = () => {};
|
|
6769
6769
|
function SelectInput({
|
|
6770
|
+
id,
|
|
6770
6771
|
name,
|
|
6771
6772
|
multiple,
|
|
6772
6773
|
placeholder,
|
|
@@ -6872,6 +6873,7 @@ function SelectInput({
|
|
|
6872
6873
|
}
|
|
6873
6874
|
},
|
|
6874
6875
|
children: /*#__PURE__*/jsxRuntime.jsx(SelectInputOptions, {
|
|
6876
|
+
id: id,
|
|
6875
6877
|
items: items,
|
|
6876
6878
|
renderValue: renderValue,
|
|
6877
6879
|
renderFooter: renderFooter,
|
|
@@ -6945,6 +6947,7 @@ const SelectInputOptionsContainer = /*#__PURE__*/React.forwardRef(function Selec
|
|
|
6945
6947
|
});
|
|
6946
6948
|
});
|
|
6947
6949
|
function SelectInputOptions({
|
|
6950
|
+
id,
|
|
6948
6951
|
items,
|
|
6949
6952
|
renderValue = String,
|
|
6950
6953
|
renderFooter,
|
|
@@ -6975,6 +6978,7 @@ function SelectInputOptions({
|
|
|
6975
6978
|
const listboxId = reactId.useId();
|
|
6976
6979
|
return /*#__PURE__*/jsxRuntime.jsxs(react$1.Listbox.Options, {
|
|
6977
6980
|
as: SelectInputOptionsContainer,
|
|
6981
|
+
id: id,
|
|
6978
6982
|
static: true,
|
|
6979
6983
|
className: "np-select-input-options-container",
|
|
6980
6984
|
onAriaActiveDescendantChange: value => {
|