@desynova-digital/components 9.1.13 → 9.1.14

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.
@@ -146,13 +146,10 @@ var TimeCodeInput = function TimeCodeInput(_ref) {
146
146
  onTimePickerChange(e.target.value, e);
147
147
  checkIfTimeValid(e.target.value);
148
148
  // if(checkIfTimeValid(e.target.value)) {
149
- updateFormDataExternally(inputFieldType, e.target.value);
150
- // }
151
- };
152
- var timecodeBlur = function timecodeBlur(val) {
153
- if (checkIfTimeValid(val)) {
154
- // updateFormDataExternally(inputFieldType, val);
149
+ if (e.target.value.length) {
150
+ updateFormDataExternally(inputFieldType, e.target.value);
155
151
  }
152
+ // }
156
153
  };
157
154
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(StyledDiv, null, inputTitle && /*#__PURE__*/_react["default"].createElement(InputHeading, null, inputTitle), showCross && /*#__PURE__*/_react["default"].createElement(CrossIconWrapper, {
158
155
  onClick: crossClicked
@@ -170,7 +167,9 @@ var TimeCodeInput = function TimeCodeInput(_ref) {
170
167
  onKeyDown: onKeyDown,
171
168
  onChange: function onChange(e) {
172
169
  return onChangeFn(e);
173
- },
170
+ }
171
+ // onBlur={(e) => timecodeBlur(e.target.value)}
172
+ ,
174
173
  isError: isValid,
175
174
  maxLength: "11",
176
175
  errorStatement: errorStatement || ''
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "9.1.13",
3
+ "version": "9.1.14",
4
4
  "description": "Components for Desynova Digital",
5
5
  "main": "index.js",
6
6
  "author": "desynova-digital",
7
7
  "license": "MIT",
8
8
  "repository": "desynova-digital",
9
9
  "dependencies": {
10
- "@desynova-digital/tokens": "9.1.13",
10
+ "@desynova-digital/tokens": "9.1.14",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },