@reltio/components 1.4.1593 → 1.4.1595

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.
@@ -66,7 +66,9 @@ var SimpleAttributeEditor = function (_a) {
66
66
  root: styles.input,
67
67
  multiline: styles.inputMultiline
68
68
  }
69
- }
69
+ },
70
+ fullWidth: true,
71
+ autoFocus: true
70
72
  };
71
73
  var applyChangesAndClose = function () {
72
74
  var editedValue = !(0, ramda_1.isNil)(editorValue) && (0, utils_1.editorValueToAttributeValue)(attributeType, editorValue);
@@ -97,6 +99,6 @@ var SimpleAttributeEditor = function (_a) {
97
99
  _b)),
98
100
  root: styles.popoverRoot
99
101
  }, onKeyUp: onKeyUp, onBackdropClick: applyChangesAndClose },
100
- react_1.default.createElement(editors_1.DataTypeValueEditor, { autoFocus: true, dataTypeDefinition: dataTypeDefinition, fieldName: (0, mdm_sdk_1.attributeUriToSearchUri)(attributeType.uri), onChange: changeEditorValue, TextFieldProps: TextFieldProps, value: editorValue, fullWidth: true })));
102
+ react_1.default.createElement(editors_1.DataTypeValueEditor, { dataTypeDefinition: dataTypeDefinition, fieldName: (0, mdm_sdk_1.attributeUriToSearchUri)(attributeType.uri), onChange: changeEditorValue, TextFieldProps: TextFieldProps, value: editorValue })));
101
103
  };
102
104
  exports.SimpleAttributeEditor = SimpleAttributeEditor;
@@ -37,7 +37,9 @@ export var SimpleAttributeEditor = function (_a) {
37
37
  root: styles.input,
38
38
  multiline: styles.inputMultiline
39
39
  }
40
- }
40
+ },
41
+ fullWidth: true,
42
+ autoFocus: true
41
43
  };
42
44
  var applyChangesAndClose = function () {
43
45
  var editedValue = !isNil(editorValue) && editorValueToAttributeValue(attributeType, editorValue);
@@ -68,5 +70,5 @@ export var SimpleAttributeEditor = function (_a) {
68
70
  _b)),
69
71
  root: styles.popoverRoot
70
72
  }, onKeyUp: onKeyUp, onBackdropClick: applyChangesAndClose },
71
- React.createElement(DataTypeValueEditor, { autoFocus: true, dataTypeDefinition: dataTypeDefinition, fieldName: attributeUriToSearchUri(attributeType.uri), onChange: changeEditorValue, TextFieldProps: TextFieldProps, value: editorValue, fullWidth: true })));
73
+ React.createElement(DataTypeValueEditor, { dataTypeDefinition: dataTypeDefinition, fieldName: attributeUriToSearchUri(attributeType.uri), onChange: changeEditorValue, TextFieldProps: TextFieldProps, value: editorValue })));
72
74
  };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.1593",
3
+ "version": "1.4.1595",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.js",
7
7
  "dependencies": {
8
8
  "@date-io/moment": "^1.3.5",
9
9
  "@react-google-maps/api": "2.7.0",
10
- "@reltio/mdm-module": "^1.4.1593",
11
- "@reltio/mdm-sdk": "^1.4.1593",
10
+ "@reltio/mdm-module": "^1.4.1595",
11
+ "@reltio/mdm-sdk": "^1.4.1595",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",