@topconsultnpm/sdkui-react-beta 6.9.40 → 6.9.41

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.
@@ -64,7 +64,7 @@ export const StyledEditorLabel = styled.div `
64
64
  `;
65
65
  export const StyledTextareaEditor = styled.textarea `
66
66
  width: ${props => props.$width};
67
- padding: 4px 4px 5px 13px;
67
+ padding: 4px 5px 4px 13px;
68
68
  border: 1px solid;
69
69
  border-color: ${props => props.$isModified ? TMColors.isModified : TMColors.border_normal};
70
70
  border-bottom: ${props => (props.$vil.length > 0) ? '3px' : '1px'} solid;
@@ -136,7 +136,7 @@ const TMTextArea = (props) => {
136
136
  const y = e.clientY - bounds.top;
137
137
  // set the x and y coordinates of our users right click
138
138
  setPoints({ x, y });
139
- }, "$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 &&
139
+ }, "$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 ? '22px' : '7px', pointerEvents: disabled ? 'none' : 'auto', opacity: disabled ? 0.4 : 1 }, children: [showClearButton && currentValue &&
140
140
  _jsx(StyledTextAreaEditorButton, { onClick: () => {
141
141
  onValueChanged?.({ target: { value: undefined } });
142
142
  setCurrentValue('');
@@ -146,7 +146,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, scale, showCle
146
146
  e.preventDefault();
147
147
  }
148
148
  }, "$isMobile": deviceType === DeviceType.MOBILE, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, "$fontSize": fontSize, "$maxValue": maxValue, "$width": width, "$type": currentType, "$borderRadius": borderRadius }), initialType === 'password' && currentValue && _jsx(StyledShowPasswordIcon, { onClick: toggleShowPassword, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, children: showPasswordIcon() }), initialType !== 'password' &&
149
- _jsxs("div", { style: { display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', position: 'absolute', right: type === 'number' ? '25px' : '6px', top: label.length > 0 ? '20px' : '7px', pointerEvents: disabled ? 'none' : 'auto', opacity: disabled ? 0.4 : 1 }, children: [showClearButton && currentValue &&
149
+ _jsxs("div", { style: { display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', position: 'absolute', right: type === 'number' ? '25px' : '6px', top: label.length > 0 ? '22px' : '7px', pointerEvents: disabled ? 'none' : 'auto', opacity: disabled ? 0.4 : 1 }, children: [showClearButton && currentValue &&
150
150
  _jsx(StyledTextBoxEditorButton, { onClick: () => {
151
151
  onValueChanged?.({ target: { value: undefined } });
152
152
  onBlur?.(undefined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.9.40",
3
+ "version": "6.9.41",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",