@reltio/components 1.4.2046 → 1.4.2047
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/InlineSimpleAttribute/InlineSimpleAttribute.js +4 -1
- package/cjs/InlineSimpleAttribute/InlineSimpleAttribute.js +4 -1
- package/cjs/features/crosswalks/CrosswalkRow/CrosswalkRow.js +1 -1
- package/cjs/features/crosswalks/CrosswalkRow/styles.js +4 -1
- package/features/crosswalks/CrosswalkRow/CrosswalkRow.js +1 -1
- package/features/crosswalks/CrosswalkRow/styles.js +4 -1
- package/package.json +1 -1
|
@@ -37,7 +37,10 @@ export var InlineSimpleAttribute = function (_a) {
|
|
|
37
37
|
var showMaskingSwitcher = (isUnmaskingNeeded && !isTemporary && !isReadingMode) || isUnmasking;
|
|
38
38
|
useEffect(function () {
|
|
39
39
|
if (isTemporary && isEmpty) {
|
|
40
|
-
|
|
40
|
+
var timer_1 = setTimeout(function () {
|
|
41
|
+
setEditingMode();
|
|
42
|
+
}, 100);
|
|
43
|
+
return function () { return clearTimeout(timer_1); };
|
|
41
44
|
}
|
|
42
45
|
}, [isEmpty]);
|
|
43
46
|
var color = useCrosswalkColor(crosswalk);
|
|
@@ -66,7 +66,10 @@ var InlineSimpleAttribute = function (_a) {
|
|
|
66
66
|
var showMaskingSwitcher = (isUnmaskingNeeded && !isTemporary && !isReadingMode) || isUnmasking;
|
|
67
67
|
(0, react_1.useEffect)(function () {
|
|
68
68
|
if (isTemporary && isEmpty) {
|
|
69
|
-
|
|
69
|
+
var timer_1 = setTimeout(function () {
|
|
70
|
+
setEditingMode();
|
|
71
|
+
}, 100);
|
|
72
|
+
return function () { return clearTimeout(timer_1); };
|
|
70
73
|
}
|
|
71
74
|
}, [isEmpty]);
|
|
72
75
|
var color = (0, CrosswalksDisplayContext_1.useCrosswalkColor)(crosswalk);
|
|
@@ -102,7 +102,7 @@ exports.CrosswalkRow = (0, react_1.memo)(function (_a) {
|
|
|
102
102
|
react_1.default.createElement(ColoredBlock_1.ColoredBlock, { className: styles.header, color: color, variant: crosswalkDisabled ? 'disabled' : 'standart', onMouseEnter: highlightCrosswalk, onMouseLeave: removeHighlight },
|
|
103
103
|
isDependent && react_1.default.createElement(NestedAttribute_1.default, { className: styles.dependentIcon }),
|
|
104
104
|
react_1.default.createElement(ArrowExpandButton_1.ArrowExpandButton, { onClick: function () { return setExpanded(function (value) { return !value; }); }, expanded: expanded }),
|
|
105
|
-
react_1.default.createElement("div", __assign({ className: styles.dragWrapper, ref: setNodeRef }, listeners, attributes),
|
|
105
|
+
react_1.default.createElement("div", __assign({ className: styles.dragWrapper, ref: setNodeRef }, listeners, attributes, { tabIndex: -1 }),
|
|
106
106
|
react_1.default.createElement(SourceIcon_1.SourceIcon, { className: styles.sourceIcon, sourceType: crosswalk.type }),
|
|
107
107
|
react_1.default.createElement(ExpandedValueTooltip_1.ExpandedValueTooltip, { value: sourceSystemLabel },
|
|
108
108
|
react_1.default.createElement(Typography_1.default, { variant: 'body2', noWrap: true }, sourceSystemLabel)),
|
|
@@ -73,7 +73,7 @@ export var CrosswalkRow = memo(function (_a) {
|
|
|
73
73
|
React.createElement(ColoredBlock, { className: styles.header, color: color, variant: crosswalkDisabled ? 'disabled' : 'standart', onMouseEnter: highlightCrosswalk, onMouseLeave: removeHighlight },
|
|
74
74
|
isDependent && React.createElement(DependentIcon, { className: styles.dependentIcon }),
|
|
75
75
|
React.createElement(ArrowExpandButton, { onClick: function () { return setExpanded(function (value) { return !value; }); }, expanded: expanded }),
|
|
76
|
-
React.createElement("div", __assign({ className: styles.dragWrapper, ref: setNodeRef }, listeners, attributes),
|
|
76
|
+
React.createElement("div", __assign({ className: styles.dragWrapper, ref: setNodeRef }, listeners, attributes, { tabIndex: -1 }),
|
|
77
77
|
React.createElement(SourceIcon, { className: styles.sourceIcon, sourceType: crosswalk.type }),
|
|
78
78
|
React.createElement(ExpandedValueTooltip, { value: sourceSystemLabel },
|
|
79
79
|
React.createElement(Typography, { variant: 'body2', noWrap: true }, sourceSystemLabel)),
|