@synerise/ds-tooltip 0.11.7 → 0.11.10

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 CHANGED
@@ -3,6 +3,34 @@
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.11.10](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.11.9...@synerise/ds-tooltip@0.11.10) (2022-07-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **tooltip:** break to long word to fit in ([acce3f8](https://github.com/synerise/synerise-design/commit/acce3f8be193ee8c3cf4e1c8adb890ea9f8f9090))
12
+ * **tooltip:** break to long word to fit in ([b48369e](https://github.com/synerise/synerise-design/commit/b48369e31ba6bc5b24565bf56ff16481f37c9ea1))
13
+
14
+
15
+
16
+
17
+
18
+ ## [0.11.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.11.8...@synerise/ds-tooltip@0.11.9) (2022-03-30)
19
+
20
+ **Note:** Version bump only for package @synerise/ds-tooltip
21
+
22
+
23
+
24
+
25
+
26
+ ## [0.11.8](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.11.7...@synerise/ds-tooltip@0.11.8) (2022-03-21)
27
+
28
+ **Note:** Version bump only for package @synerise/ds-tooltip
29
+
30
+
31
+
32
+
33
+
6
34
  ## [0.11.7](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.11.6...@synerise/ds-tooltip@0.11.7) (2022-03-14)
7
35
 
8
36
  **Note:** Version bump only for package @synerise/ds-tooltip
@@ -3,12 +3,12 @@ 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;word-break:break-all;"]);
7
7
  var titlesWithPadding = ['icon', 'tutorial', 'button', 'header-label'];
8
8
  export var TooltipTitle = styled.div.withConfig({
9
9
  displayName: "Tooltipstyles__TooltipTitle",
10
10
  componentId: "mghjny-1"
11
- })(["margin-bottom:", ";font-size:13px;line-height:1.38;font-weight:", ";display:flex;align-items:center;justify-content:flex-start;text-align:inherit;word-break:break-word ", "{align-self:flex-start;}"], function (_ref) {
11
+ })(["margin-bottom:", ";font-size:13px;line-height:1.38;font-weight:", ";display:flex;align-items:center;justify-content:flex-start;text-align:inherit;word-break:break-all;", "{align-self:flex-start;}"], function (_ref) {
12
12
  var tooltipType = _ref.tooltipType;
13
13
  return titlesWithPadding.includes(String(tooltipType)) ? '8px' : '0px';
14
14
  }, function (props) {
@@ -21,7 +21,7 @@ export var TooltipButton = styled.div.withConfig({
21
21
  export var TooltipContent = styled.div.withConfig({
22
22
  displayName: "Tooltipstyles__TooltipContent",
23
23
  componentId: "mghjny-3"
24
- })(["padding:16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;"]);
24
+ })(["padding:16px;width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;"]);
25
25
  export var TooltipStatus = styled.div.withConfig({
26
26
  displayName: "Tooltipstyles__TooltipStatus",
27
27
  componentId: "mghjny-4"
@@ -29,7 +29,7 @@ export var TooltipStatus = styled.div.withConfig({
29
29
  export var TooltipComponent = styled.div.withConfig({
30
30
  displayName: "Tooltipstyles__TooltipComponent",
31
31
  componentId: "mghjny-5"
32
- })(["background-color:rgba(56,67,80,0.9);min-height:24px;color:", ";padding:16px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:3px;overflow:hidden;", " ", " ", " ", " ", " ", " .ant-carousel{position:relative;width:100%;.slick-track{width:100%;}.slick-dots-bottom{position:relative;bottom:0;height:32px;padding:0 18px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;margin:0;background-color:rgba(56,67,80,0.9);li{width:8px;height:8px;border-radius:50%;background-color:rgba(56,67,80,0.9);margin:0 8px 0 0;display:flex;align-items:center;justify-content:center;button{box-sizing:content-box;background-color:", ";border:2px solid rgba(56,67,80,0.9);height:4px;width:4px;border-radius:50%;opacity:1;}}li.slick-active{button{border:2px solid ", ";background-color:", ";}}}}"], function (props) {
32
+ })(["background-color:rgba(56,67,80,0.9);min-height:24px;width:100%;color:", ";padding:16px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:3px;overflow:hidden;", " ", " ", " ", " ", " ", " .ant-carousel{position:relative;width:100%;.slick-track{width:100%;}.slick-dots-bottom{position:relative;bottom:0;height:32px;padding:0 18px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;margin:0;background-color:rgba(56,67,80,0.9);li{width:8px;height:8px;border-radius:50%;background-color:rgba(56,67,80,0.9);margin:0 8px 0 0;display:flex;align-items:center;justify-content:center;button{box-sizing:content-box;background-color:", ";border:2px solid rgba(56,67,80,0.9);height:4px;width:4px;border-radius:50%;opacity:1;}}li.slick-active{button{border:2px solid ", ";background-color:", ";}}}}"], function (props) {
33
33
  return props.theme.palette['grey-200'];
34
34
  }, function (props) {
35
35
  return props.tooltipType === 'icon' && css(["padding-top:8px;"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tooltip",
3
- "version": "0.11.7",
3
+ "version": "0.11.10",
4
4
  "description": "Tooltip UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -32,8 +32,8 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-button": "^0.17.0",
36
- "@synerise/ds-icon": "^0.47.2"
35
+ "@synerise/ds-button": "^0.17.2",
36
+ "@synerise/ds-icon": "^0.49.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@synerise/ds-core": "*",
@@ -43,5 +43,5 @@
43
43
  "devDependencies": {
44
44
  "@synerise/ds-utils": "^0.19.0"
45
45
  },
46
- "gitHead": "739b52320bb20c1646371224de5bb0c3454fac8c"
46
+ "gitHead": "bf12565ec1e6a4124b0c54cdb61e22eae4401d93"
47
47
  }
@@ -1 +0,0 @@
1
- .ant-image-preview,.ant-modal{pointer-events:none}.ant-image-preview.zoom-appear,.ant-image-preview.zoom-enter,.ant-modal.zoom-appear,.ant-modal.zoom-enter{transform:none;opacity:0;animation-duration:.3s;user-select:none}.ant-image-preview-mask,.ant-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:991000;height:100%;background-color:rgba(0,0,0,.2);filter:alpha(opacity=50)}.ant-image-preview-mask-hidden,.ant-modal-mask-hidden{display:none}.ant-image-preview-wrap,.ant-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:#6a7580;font-size:13px;font-variant:tabular-nums;line-height:1.38;list-style:none;font-feature-settings:'tnum';position:absolute;z-index:991060;display:block;max-width:250px;visibility:visible}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:4px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightBottom,.ant-tooltip-placement-rightTop{padding-left:4px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:4px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftBottom,.ant-tooltip-placement-leftTop{padding-right:4px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:#384350;border-radius:3px;box-shadow:0 2px 6px rgba(171,178,183,.12)}.ant-tooltip-arrow{position:absolute;display:block;width:13.07px;height:13.07px;overflow:hidden;background:0 0;pointer-events:none}.ant-tooltip-arrow-content{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:5px;height:5px;margin:auto;background-color:#384350;content:'';pointer-events:auto}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:-9.07px}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px rgba(0,0,0,.07);transform:translateY(-6.54px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow{left:-9.07px}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px rgba(0,0,0,.07);transform:translateX(6.54px) rotate(45deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow{right:-9.07px}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content{box-shadow:3px -3px 7px rgba(0,0,0,.07);transform:translateX(-6.54px) rotate(45deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:-9.07px}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px rgba(0,0,0,.07);transform:translateY(6.54px) rotate(45deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-pink .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-pink .ant-tooltip-arrow-content{background-color:#eb2f96}.ant-tooltip-magenta .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-magenta .ant-tooltip-arrow-content{background-color:#eb2f96}.ant-tooltip-red .ant-tooltip-inner{background-color:#f5222d}.ant-tooltip-red .ant-tooltip-arrow-content{background-color:#f5222d}.ant-tooltip-volcano .ant-tooltip-inner{background-color:#fa541c}.ant-tooltip-volcano .ant-tooltip-arrow-content{background-color:#fa541c}.ant-tooltip-orange .ant-tooltip-inner{background-color:#fa8c16}.ant-tooltip-orange .ant-tooltip-arrow-content{background-color:#fa8c16}.ant-tooltip-yellow .ant-tooltip-inner{background-color:#fadb14}.ant-tooltip-yellow .ant-tooltip-arrow-content{background-color:#fadb14}.ant-tooltip-gold .ant-tooltip-inner{background-color:#faad14}.ant-tooltip-gold .ant-tooltip-arrow-content{background-color:#faad14}.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13c2c2}.ant-tooltip-cyan .ant-tooltip-arrow-content{background-color:#13c2c2}.ant-tooltip-lime .ant-tooltip-inner{background-color:#a0d911}.ant-tooltip-lime .ant-tooltip-arrow-content{background-color:#a0d911}.ant-tooltip-green .ant-tooltip-inner{background-color:#52c41a}.ant-tooltip-green .ant-tooltip-arrow-content{background-color:#52c41a}.ant-tooltip-blue .ant-tooltip-inner{background-color:#1890ff}.ant-tooltip-blue .ant-tooltip-arrow-content{background-color:#1890ff}.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2f54eb}.ant-tooltip-geekblue .ant-tooltip-arrow-content{background-color:#2f54eb}.ant-tooltip-purple .ant-tooltip-inner{background-color:#722ed1}.ant-tooltip-purple .ant-tooltip-arrow-content{background-color:#722ed1}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-carousel{box-sizing:border-box;margin:0;padding:0;color:#6a7580;font-size:13px;font-variant:tabular-nums;line-height:1.38;list-style:none;font-feature-settings:'tnum'}.ant-carousel .slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-touch-callout:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:0}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide input.ant-radio-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-list,.ant-carousel .slick-slider .slick-track{transform:translate3d(0,0,0)}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track::after,.ant-carousel .slick-track::before{display:table;content:''}.ant-carousel .slick-track::after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-next,.ant-carousel .slick-prev{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;color:transparent;font-size:0;line-height:0;background:0 0;border:0;outline:0;cursor:pointer}.ant-carousel .slick-next:focus,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev:focus,.ant-carousel .slick-prev:hover{color:transparent;background:0 0;outline:0}.ant-carousel .slick-next:focus::before,.ant-carousel .slick-next:hover::before,.ant-carousel .slick-prev:focus::before,.ant-carousel .slick-prev:hover::before{opacity:1}.ant-carousel .slick-next.slick-disabled::before,.ant-carousel .slick-prev.slick-disabled::before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev::before{content:'←'}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next::before{content:'→'}.ant-carousel .slick-dots{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex!important;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px}.ant-carousel .slick-dots li{position:relative;display:inline-block;flex:0 1 auto;box-sizing:content-box;width:16px;height:3px;margin:0 2px;margin-right:3px;margin-left:3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.ant-carousel .slick-dots li button{display:block;width:100%;height:3px;padding:0;color:transparent;font-size:0;background:#fff;border:0;border-radius:1px;outline:0;cursor:pointer;opacity:.3;transition:all .5s}.ant-carousel .slick-dots li button:focus,.ant-carousel .slick-dots li button:hover{opacity:.75}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:focus,.ant-carousel .slick-dots li.slick-active:hover{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{right:auto;left:12px}.ant-carousel-vertical .slick-dots-right{right:12px;left:auto}.ant-carousel-vertical .slick-dots li{width:3px;height:16px;margin:4px 2px;vertical-align:baseline}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active{width:3px;height:24px}.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{right:0;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev{right:-25px;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev::before{content:'→'}.ant-carousel-rtl .ant-carousel .slick-next{right:auto;left:-25px}.ant-carousel-rtl .ant-carousel .slick-next::before{content:'←'}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}.ant-tooltip{transform:none!important;transform-origin:50%!important}.ant-tooltip.ant-tooltip-placement-left,.ant-tooltip.ant-tooltip-placement-leftBottom,.ant-tooltip.ant-tooltip-placement-leftTop{padding:0 8px 0 0}.ant-tooltip.ant-tooltip-placement-left.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-leftBottom.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-leftTop.ds-tooltip-offset-small{padding:0 4px 0 0}.ant-tooltip.ant-tooltip-placement-right,.ant-tooltip.ant-tooltip-placement-rightBottom,.ant-tooltip.ant-tooltip-placement-rightTop{padding:0 0 0 8px}.ant-tooltip.ant-tooltip-placement-right.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-rightBottom.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-rightTop.ds-tooltip-offset-small{padding:0 0 0 4px}.ant-tooltip.ant-tooltip-placement-top,.ant-tooltip.ant-tooltip-placement-topLeft,.ant-tooltip.ant-tooltip-placement-topRight{padding:0 0 8px 0}.ant-tooltip.ant-tooltip-placement-top.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-topLeft.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-topRight.ds-tooltip-offset-small{padding:0 0 4px 0}.ant-tooltip.ant-tooltip-placement-bottom,.ant-tooltip.ant-tooltip-placement-bottomLeft,.ant-tooltip.ant-tooltip-placement-bottomRight{padding:8px 0 0 0}.ant-tooltip.ant-tooltip-placement-bottom.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-bottomLeft.ds-tooltip-offset-small,.ant-tooltip.ant-tooltip-placement-bottomRight.ds-tooltip-offset-small{padding:4px 0 0 0}.ant-tooltip-inner{font-size:11px;font-weight:500;box-shadow:0 8px 16px rgba(171,178,183,.32);min-height:24px;text-align:center}.ant-tooltip-arrow{display:none}.ant-tooltip-inner{padding:0;background-color:transparent!important}