@transferwise/components 0.0.0-experimental-5aa07c7 → 0.0.0-experimental-484d8e7
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 +2 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/types/dateLookup/DateLookup.d.ts +1 -0
- package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/dateLookup/DateLookup.js +2 -0
- package/src/dateLookup/DateLookup.story.js +3 -0
- package/src/dateLookup/DateLookup.view.spec.js +5 -0
package/build/index.esm.js
CHANGED
|
@@ -4239,6 +4239,7 @@ class DateLookup extends PureComponent {
|
|
|
4239
4239
|
return /*#__PURE__*/jsxs("div", {
|
|
4240
4240
|
// eslint-disable-line jsx-a11y/no-static-element-interactions
|
|
4241
4241
|
ref: this.element,
|
|
4242
|
+
id: this.props.id,
|
|
4242
4243
|
"aria-labelledby": ariaLabelledBy,
|
|
4243
4244
|
className: "input-group",
|
|
4244
4245
|
onKeyDown: this.handleKeyDown,
|
|
@@ -4263,6 +4264,7 @@ class DateLookup extends PureComponent {
|
|
|
4263
4264
|
}
|
|
4264
4265
|
}
|
|
4265
4266
|
DateLookup.propTypes = {
|
|
4267
|
+
id: PropTypes.string,
|
|
4266
4268
|
value: PropTypes.instanceOf(Date),
|
|
4267
4269
|
min: PropTypes.instanceOf(Date),
|
|
4268
4270
|
max: PropTypes.instanceOf(Date),
|