@topconsultnpm/sdkui-react-beta 6.7.106 → 6.7.107

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.
@@ -21,7 +21,6 @@ const StyledShowPasswordIcon = styled.div `
21
21
  `;
22
22
  const StyledTextBoxEditorButton = styled.div `
23
23
  color: ${TMColors.button_icon};
24
- background: ${props => props.$readOnly ? 'linear-gradient(white, #b0b0b0)' : 'transparent'} ;
25
24
  display: flex;
26
25
  align-items: center;
27
26
  position: relative;
@@ -144,11 +143,11 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, scale, showCle
144
143
  }
145
144
  }, "$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' &&
146
145
  _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 &&
147
- _jsx(StyledTextBoxEditorButton, { "$readOnly": readOnly, onClick: () => {
146
+ _jsx(StyledTextBoxEditorButton, { onClick: () => {
148
147
  onValueChanged?.({ target: { value: undefined } });
149
148
  onBlur?.(undefined);
150
149
  }, children: _jsx(IconClearButton, {}) }), buttons.map((buttonItem, index) => {
151
- return (_jsx(StyledTextBoxEditorButton, { "$readOnly": readOnly, onClick: buttonItem.onClick, children: _jsx(TMTooltip, { content: buttonItem.text, children: buttonItem.icon }) }, buttonItem.text));
150
+ return (_jsx(StyledTextBoxEditorButton, { onClick: buttonItem.onClick, children: _jsx(TMTooltip, { content: buttonItem.text, children: buttonItem.icon }) }, buttonItem.text));
152
151
  })] }), formulaItems.length > 0 && (_jsx(ContextMenu, { dataSource: formulaMenuItems, target: `#text-${id}`, onItemClick: (e) => { insertText(e.itemData?.text ?? ''); } })), _jsx(TMVilViewer, { vil: validationItems })] }));
153
152
  };
154
153
  const renderedLeftLabelTextBox = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.7.106",
3
+ "version": "6.7.107",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",