@synerise/ds-tooltip 0.14.22 → 0.14.24
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/CHANGELOG.md +19 -0
- package/dist/Tooltip.js +3 -3
- package/dist/Tooltip.styles.js +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.14.24](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.14.23...@synerise/ds-tooltip@0.14.24) (2024-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **tooltip:** word breaking css ([474ea3e](https://github.com/synerise/synerise-design/commit/474ea3e25d18353b0db09158321c8840243521fe))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.14.23](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.14.22...@synerise/ds-tooltip@0.14.23) (2024-04-02)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-tooltip
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.14.22](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.14.21...@synerise/ds-tooltip@0.14.22) (2024-03-29)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-tooltip
|
package/dist/Tooltip.js
CHANGED
|
@@ -96,13 +96,13 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
96
96
|
tooltipType: type
|
|
97
97
|
}, type && shouldRenderIcon(type, icon), /*#__PURE__*/React.createElement(S.TooltipTitleWrapper, null, type && shouldRenderTitle(type, title))), /*#__PURE__*/React.createElement(S.TooltipDescription, {
|
|
98
98
|
tooltipType: type
|
|
99
|
-
}, type === 'largeScrollable'
|
|
99
|
+
}, type === 'largeScrollable' ? /*#__PURE__*/React.createElement(Scrollbar, {
|
|
100
100
|
absolute: true,
|
|
101
101
|
maxHeight: 90,
|
|
102
102
|
style: {
|
|
103
103
|
paddingRight: 16
|
|
104
104
|
}
|
|
105
|
-
}, /*#__PURE__*/React.createElement(React.Fragment, null, shouldRenderDescription(description, type)))
|
|
105
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, shouldRenderDescription(description, type))) : shouldRenderDescription(description, type))), renderButton);
|
|
106
106
|
var buttonComponent = /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
|
107
107
|
onClick: captureClick,
|
|
108
108
|
tooltipType: type
|
|
@@ -110,7 +110,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
110
110
|
tooltipType: type
|
|
111
111
|
}, status), /*#__PURE__*/React.createElement(S.TooltipTitle, {
|
|
112
112
|
tooltipType: type
|
|
113
|
-
}, title), /*#__PURE__*/React.createElement(S.TooltipDescription, {
|
|
113
|
+
}, /*#__PURE__*/React.createElement(S.TooltipTitleWrapper, null, title)), /*#__PURE__*/React.createElement(S.TooltipDescription, {
|
|
114
114
|
tooltipType: type
|
|
115
115
|
}, description)), renderButton);
|
|
116
116
|
var tutorialComponent = /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
package/dist/Tooltip.styles.js
CHANGED
|
@@ -3,7 +3,7 @@ import { IconContainer } from '@synerise/ds-icon';
|
|
|
3
3
|
export var TooltipDescription = styled.div.withConfig({
|
|
4
4
|
displayName: "Tooltipstyles__TooltipDescription",
|
|
5
5
|
componentId: "mghjny-0"
|
|
6
|
-
})(["font-size:13px;line-height:1.38;font-weight:normal;text-align:inherit;
|
|
6
|
+
})(["font-size:13px;line-height:1.38;font-weight:normal;text-align:inherit;overflow-wrap:break-word;min-width:0;", ";"], function (props) {
|
|
7
7
|
return props.tooltipType === 'largeScrollable' && css(["margin-top:6px;margin-right:-16px;"]);
|
|
8
8
|
});
|
|
9
9
|
var titlesWithPadding = ['icon', 'tutorial', 'button', 'header-label'];
|
|
@@ -19,7 +19,7 @@ export var TooltipTitle = styled.div.withConfig({
|
|
|
19
19
|
export var TooltipTitleWrapper = styled.div.withConfig({
|
|
20
20
|
displayName: "Tooltipstyles__TooltipTitleWrapper",
|
|
21
21
|
componentId: "mghjny-2"
|
|
22
|
-
})(["
|
|
22
|
+
})(["min-width:0;width:fit-content;overflow-wrap:break-word;"]);
|
|
23
23
|
export var TooltipButton = styled.div.withConfig({
|
|
24
24
|
displayName: "Tooltipstyles__TooltipButton",
|
|
25
25
|
componentId: "mghjny-3"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tooltip",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.24",
|
|
4
4
|
"description": "Tooltip UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-button": "^0.19.
|
|
37
|
-
"@synerise/ds-icon": "^0.60.
|
|
38
|
-
"@synerise/ds-scrollbar": "^0.10.
|
|
36
|
+
"@synerise/ds-button": "^0.19.6",
|
|
37
|
+
"@synerise/ds-icon": "^0.60.6",
|
|
38
|
+
"@synerise/ds-scrollbar": "^0.10.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@synerise/ds-core": "*",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"styled-components": "5.0.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@synerise/ds-utils": "^0.26.
|
|
47
|
+
"@synerise/ds-utils": "^0.26.2",
|
|
48
48
|
"@testing-library/react": "10.0.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "84c9ff34c60369cc819ab1d4307373fafaf06462"
|
|
51
51
|
}
|