@transferwise/components 0.0.0-experimental-088517f → 0.0.0-experimental-db52174
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.js
CHANGED
|
@@ -4272,6 +4272,7 @@ class DateLookup extends React.PureComponent {
|
|
|
4272
4272
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
4273
4273
|
// eslint-disable-line jsx-a11y/no-static-element-interactions
|
|
4274
4274
|
ref: this.element,
|
|
4275
|
+
id: this.props.id,
|
|
4275
4276
|
"aria-labelledby": ariaLabelledBy,
|
|
4276
4277
|
className: "input-group",
|
|
4277
4278
|
onKeyDown: this.handleKeyDown,
|
|
@@ -4296,6 +4297,7 @@ class DateLookup extends React.PureComponent {
|
|
|
4296
4297
|
}
|
|
4297
4298
|
}
|
|
4298
4299
|
DateLookup.propTypes = {
|
|
4300
|
+
id: PropTypes__default.default.string,
|
|
4299
4301
|
value: PropTypes__default.default.instanceOf(Date),
|
|
4300
4302
|
min: PropTypes__default.default.instanceOf(Date),
|
|
4301
4303
|
max: PropTypes__default.default.instanceOf(Date),
|