@topconsultnpm/sdkui-react-beta 6.9.37 → 6.9.38

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.
@@ -136,7 +136,8 @@ const TMTextArea = (props) => {
136
136
  setPoints({ x, y });
137
137
  }, "$isMobile": deviceType === DeviceType.MOBILE, "$maxHeight": maxHeight, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, "$fontSize": fontSize, "$width": width, "$resize": resize }), _jsxs("div", { style: { display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', position: 'absolute', right: '6px', top: label.length > 0 ? '20px' : '7px', pointerEvents: disabled ? 'none' : 'auto', opacity: disabled ? 0.4 : 1 }, children: [showClearButton && currentValue &&
138
138
  _jsx(StyledTextAreaEditorButton, { onClick: () => {
139
- onValueChanged?.({ target: { value: '' } });
139
+ onValueChanged?.({ target: { value: undefined } });
140
+ setCalculatedRows(1);
140
141
  onBlur?.(undefined);
141
142
  }, children: _jsx(IconClearButton, {}) }), buttons.map((buttonItem, index) => {
142
143
  return (_jsx(StyledTextAreaEditorButton, { onClick: buttonItem.onClick, children: _jsx(TMTooltip, { content: buttonItem.text, children: buttonItem.icon }) }, buttonItem.text));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.9.37",
3
+ "version": "6.9.38",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",