@team-monolith/cds 1.113.1 → 1.113.2

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.
@@ -62,12 +62,16 @@ const DropdownItem = React.forwardRef(function DropdownItem(props, ref) {
62
62
  }
63
63
  : {}), { children: _jsxs(Item, { ref: itemRef, disabled: disabled, selected: isSubMenuShowed || Boolean(active), children: [_jsxs(LeftWrapper, { children: [checkbox && (_jsx(StyledCheckboxInput, Object.assign({}, checkboxProps, { disabled: disabled, onClick: (e) => {
64
64
  e.stopPropagation();
65
- } }))), startIcon && (_jsx(IconDiv, { type: type, preserveIconColor: preserveIconColor, children: startIcon })), _jsx(LabelDiv, { css: labelCss, type: type, children: _jsx(OverflowTooltip, { text: label, childrenCss: css `
66
- font-size: 14px;
67
- font-weight: 400;
68
- font-family: ${theme.fontFamily.ui};
69
- color: ${TYPE_TO_COLOR(theme, type)};
70
- ` }) })] }), endIcon && (_jsx(IconDiv, { type: type, preserveIconColor: preserveIconColor, children: endIcon })), !endIcon && isSubMenuExist && (_jsx(IconDiv, { type: type, preserveIconColor: preserveIconColor, children: _jsx(ArrowRightSLineIcon, {}) }))] }) })), isSubMenuExist && (_jsx(DropdownContext.Provider, { value: {
65
+ } }))), startIcon && (_jsx(IconDiv, { type: type, preserveIconColor: preserveIconColor, children: startIcon })), _jsx(OverflowTooltip, { childrenCss: css `
66
+ flex: 1;
67
+ min-width: 0;
68
+ overflow: hidden;
69
+ font-size: 14px;
70
+ font-weight: 400;
71
+ font-family: ${theme.fontFamily.ui};
72
+ color: ${TYPE_TO_COLOR(theme, type)};
73
+ ${labelCss}
74
+ `, text: label })] }), endIcon && (_jsx(IconDiv, { type: type, preserveIconColor: preserveIconColor, children: endIcon })), !endIcon && isSubMenuExist && (_jsx(IconDiv, { type: type, preserveIconColor: preserveIconColor, children: _jsx(ArrowRightSLineIcon, {}) }))] }) })), isSubMenuExist && (_jsx(DropdownContext.Provider, { value: {
71
75
  open,
72
76
  onCloseOnItemClick,
73
77
  nestedIndex: absItemIndex,
@@ -98,15 +102,6 @@ const IconDiv = styled("div", {
98
102
  `}
99
103
  }
100
104
  `);
101
- const LabelDiv = styled.div `
102
- flex: 1;
103
- min-width: 0;
104
- overflow: hidden;
105
- font-size: 14px;
106
- font-weight: 400;
107
- font-family: ${({ theme }) => theme.fontFamily.ui};
108
- color: ${({ theme, type }) => TYPE_TO_COLOR(theme, type)};
109
- `;
110
105
  const LeftWrapper = styled.div `
111
106
  display: flex;
112
107
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.113.1",
3
+ "version": "1.113.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,