@synerise/ds-tooltip 0.13.7 → 0.14.0
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 +11 -0
- package/README.md +1 -1
- package/dist/Tooltip.js +45 -25
- package/dist/Tooltip.styles.d.ts +3 -1
- package/dist/Tooltip.styles.js +40 -15
- package/dist/Tooltip.types.d.ts +11 -11
- package/dist/style/index.css +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.13.7...@synerise/ds-tooltip@0.14.0) (2023-07-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **tooltip:** added large & scrollable version of tooltip ([082c4ed](https://github.com/synerise/synerise-design/commit/082c4ed9b95166d063a0a0d50071b818cad14c6e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [0.13.7](https://github.com/synerise/synerise-design/compare/@synerise/ds-tooltip@0.13.6...@synerise/ds-tooltip@0.13.7) (2023-06-28)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-tooltip
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Tooltip UI Component
|
|
|
33
33
|
| tutorialAutoplay | Whether to autoplay tutorial | boolean | `false` |
|
|
34
34
|
| tutorialAutoplaySpeed | speed of autoplay [ms] | number | 5000 |
|
|
35
35
|
| tutorials | steps of tutorial | Tutorials[] | - |
|
|
36
|
-
| type | type of tooltip | `default` / `icon` / `
|
|
36
|
+
| type | type of tooltip | `default` / `icon` / `largeSimple` / `largeScrollable` / `tutorial` / `avatar` / `button` / `header-label` / `status` | `default` |
|
|
37
37
|
| visible | Whether the floating tooltip card is visible or not | boolean | `false` |
|
|
38
38
|
| timeToHideAfterClick | time after which tooltip disappears [ms] (value 0 inactivate this functionality) | number | 0 |
|
|
39
39
|
| render | render prop that allows to render custom component as tooltip | () => React.ReactNode | - |
|
package/dist/Tooltip.js
CHANGED
|
@@ -8,11 +8,12 @@ import '@synerise/ds-core/dist/js/style';
|
|
|
8
8
|
import "./style/index.css";
|
|
9
9
|
import AntdTooltip from 'antd/lib/tooltip';
|
|
10
10
|
import * as React from 'react';
|
|
11
|
+
import { Carousel } from 'antd';
|
|
11
12
|
import { getPopupContainer } from '@synerise/ds-utils';
|
|
12
13
|
import Icon, { NotificationsM } from '@synerise/ds-icon';
|
|
13
|
-
import { Carousel } from 'antd';
|
|
14
14
|
import Button from '@synerise/ds-button';
|
|
15
15
|
import { theme } from '@synerise/ds-core';
|
|
16
|
+
import Scrollbar from '@synerise/ds-scrollbar';
|
|
16
17
|
import * as S from './Tooltip.styles';
|
|
17
18
|
|
|
18
19
|
var shouldRenderDescription = function shouldRenderDescription(description, type) {
|
|
@@ -20,6 +21,10 @@ var shouldRenderDescription = function shouldRenderDescription(description, type
|
|
|
20
21
|
return description;
|
|
21
22
|
};
|
|
22
23
|
|
|
24
|
+
var shouldRenderTitle = function shouldRenderTitle(type, title) {
|
|
25
|
+
return type !== 'largeSimple' ? title : null;
|
|
26
|
+
};
|
|
27
|
+
|
|
23
28
|
var shouldRenderStatus = function shouldRenderStatus(status, type) {
|
|
24
29
|
if (type === 'status' || status) return status;
|
|
25
30
|
return null;
|
|
@@ -61,13 +66,6 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
61
66
|
});
|
|
62
67
|
};
|
|
63
68
|
|
|
64
|
-
var renderTooltip = /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
|
65
|
-
tooltipType: type
|
|
66
|
-
}, /*#__PURE__*/React.createElement(S.TooltipStatus, {
|
|
67
|
-
tooltipType: type
|
|
68
|
-
}, type && shouldRenderStatus(status, type)), /*#__PURE__*/React.createElement(S.TooltipTitle, {
|
|
69
|
-
tooltipType: type
|
|
70
|
-
}, type && shouldRenderIcon(type, icon), type !== 'largeSimple' ? title : null), /*#__PURE__*/React.createElement(S.TooltipDescription, null, shouldRenderDescription(description, type)));
|
|
71
69
|
var renderButton = React.useMemo(function () {
|
|
72
70
|
var buttonMode = function buttonMode() {
|
|
73
71
|
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
@@ -79,19 +77,39 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
79
77
|
return 'label';
|
|
80
78
|
};
|
|
81
79
|
|
|
80
|
+
return button ? /*#__PURE__*/React.createElement(S.TooltipButton, null, /*#__PURE__*/React.createElement(Button, {
|
|
81
|
+
type: "ghost-white",
|
|
82
|
+
mode: buttonMode(),
|
|
83
|
+
onClick: button == null ? void 0 : button.onClick
|
|
84
|
+
}, button == null ? void 0 : button.buttonIcon, button == null ? void 0 : button.label)) : /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
85
|
+
}, [button]);
|
|
86
|
+
var renderTooltipComponent = /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
|
87
|
+
tooltipType: type
|
|
88
|
+
}, /*#__PURE__*/React.createElement(S.TooltipContent, null, /*#__PURE__*/React.createElement(S.TooltipStatus, {
|
|
89
|
+
tooltipType: type
|
|
90
|
+
}, type && shouldRenderStatus(status, type)), /*#__PURE__*/React.createElement(S.TooltipTitle, {
|
|
91
|
+
tooltipType: type
|
|
92
|
+
}, type && shouldRenderIcon(type, icon), type && shouldRenderTitle(type, title)), /*#__PURE__*/React.createElement(S.TooltipDescription, {
|
|
93
|
+
tooltipType: type
|
|
94
|
+
}, type === 'largeScrollable' && /*#__PURE__*/React.createElement(Scrollbar, {
|
|
95
|
+
absolute: true,
|
|
96
|
+
maxHeight: 90,
|
|
97
|
+
style: {
|
|
98
|
+
paddingRight: 16
|
|
99
|
+
}
|
|
100
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, shouldRenderDescription(description, type))), type !== 'largeScrollable' && shouldRenderDescription(description, type))), renderButton);
|
|
101
|
+
var renderButtonComponent = React.useMemo(function () {
|
|
82
102
|
return /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
|
83
103
|
tooltipType: type
|
|
84
104
|
}, /*#__PURE__*/React.createElement(S.TooltipContent, null, /*#__PURE__*/React.createElement(S.TooltipStatus, {
|
|
85
105
|
tooltipType: type
|
|
86
106
|
}, status), /*#__PURE__*/React.createElement(S.TooltipTitle, {
|
|
87
107
|
tooltipType: type
|
|
88
|
-
}, title), /*#__PURE__*/React.createElement(S.TooltipDescription,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}, [button, type, title, description, status]);
|
|
94
|
-
var renderTutorial = /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
|
108
|
+
}, title), /*#__PURE__*/React.createElement(S.TooltipDescription, {
|
|
109
|
+
tooltipType: type
|
|
110
|
+
}, description)), renderButton);
|
|
111
|
+
}, [type, title, description, status, renderButton]);
|
|
112
|
+
var renderTutorialComponent = /*#__PURE__*/React.createElement(S.TooltipComponent, {
|
|
95
113
|
tooltipType: type
|
|
96
114
|
}, /*#__PURE__*/React.createElement(Carousel, {
|
|
97
115
|
autoplay: tutorialAutoplay,
|
|
@@ -102,16 +120,18 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
102
120
|
key: "" + JSON.stringify(tutorial.title)
|
|
103
121
|
}, /*#__PURE__*/React.createElement(S.TooltipTitle, {
|
|
104
122
|
tooltipType: "tutorial"
|
|
105
|
-
}, tutorial.title), /*#__PURE__*/React.createElement(S.TooltipDescription,
|
|
123
|
+
}, tutorial.title), /*#__PURE__*/React.createElement(S.TooltipDescription, {
|
|
124
|
+
tooltipType: "tutorial"
|
|
125
|
+
}, tutorial.description));
|
|
106
126
|
})));
|
|
107
127
|
var tooltipComponent = React.useMemo(function () {
|
|
108
|
-
if (type === 'tutorial') return
|
|
109
|
-
if (type === 'button') return
|
|
110
|
-
return
|
|
111
|
-
}, [type,
|
|
112
|
-
var
|
|
113
|
-
return "ds-tooltip-offset-" + offset;
|
|
114
|
-
}, [offset]);
|
|
128
|
+
if (type === 'tutorial') return renderTutorialComponent;
|
|
129
|
+
if (type === 'button') return renderButtonComponent;
|
|
130
|
+
return renderTooltipComponent;
|
|
131
|
+
}, [type, renderTooltipComponent, renderTutorialComponent, renderButtonComponent]);
|
|
132
|
+
var overlayClassName = React.useMemo(function () {
|
|
133
|
+
return "ds-tooltip-offset-" + offset + " ds-tooltip-type-" + type;
|
|
134
|
+
}, [offset, type]);
|
|
115
135
|
var titleExists = Boolean(description || title || icon || (tutorials == null ? void 0 : tutorials.length));
|
|
116
136
|
React.useEffect(function () {
|
|
117
137
|
return function () {
|
|
@@ -142,7 +162,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
142
162
|
|
|
143
163
|
if (render !== undefined) {
|
|
144
164
|
return /*#__PURE__*/React.createElement(AntdTooltip, _extends({
|
|
145
|
-
overlayClassName:
|
|
165
|
+
overlayClassName: overlayClassName,
|
|
146
166
|
autoAdjustOverflow: false,
|
|
147
167
|
title: render(),
|
|
148
168
|
align: {
|
|
@@ -153,7 +173,7 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
153
173
|
}
|
|
154
174
|
|
|
155
175
|
return titleExists ? /*#__PURE__*/React.createElement(AntdTooltip, _extends({
|
|
156
|
-
overlayClassName:
|
|
176
|
+
overlayClassName: overlayClassName,
|
|
157
177
|
autoAdjustOverflow: false,
|
|
158
178
|
title: tooltipComponent,
|
|
159
179
|
align: {
|
package/dist/Tooltip.styles.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import TooltipExtendedProps, { tooltipTypes } from './Tooltip.types';
|
|
2
|
-
export declare const TooltipDescription: import("styled-components").StyledComponent<"div", any, TooltipExtendedProps
|
|
2
|
+
export declare const TooltipDescription: import("styled-components").StyledComponent<"div", any, TooltipExtendedProps & {
|
|
3
|
+
tooltipType: tooltipTypes;
|
|
4
|
+
}, never>;
|
|
3
5
|
export declare const TooltipTitle: import("styled-components").StyledComponent<"div", any, Pick<TooltipExtendedProps, "icon" | "button" | "status" | "title" | "offset" | "render" | "description" | "tutorials" | "tutorialAutoplay" | "tutorialAutoplaySpeed" | "timeToHideAfterClick"> & {
|
|
4
6
|
tooltipType: tooltipTypes;
|
|
5
7
|
}, never>;
|
package/dist/Tooltip.styles.js
CHANGED
|
@@ -3,7 +3,9 @@ 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;word-break:break-all;"])
|
|
6
|
+
})(["font-size:13px;line-height:1.38;font-weight:normal;text-align:inherit;word-break:break-all;", ";"], function (props) {
|
|
7
|
+
return props.tooltipType === 'largeScrollable' && css(["margin-top:6px;margin-right:-16px;"]);
|
|
8
|
+
});
|
|
7
9
|
var titlesWithPadding = ['icon', 'tutorial', 'button', 'header-label'];
|
|
8
10
|
export var TooltipTitle = styled.div.withConfig({
|
|
9
11
|
displayName: "Tooltipstyles__TooltipTitle",
|
|
@@ -21,7 +23,7 @@ export var TooltipButton = styled.div.withConfig({
|
|
|
21
23
|
export var TooltipContent = styled.div.withConfig({
|
|
22
24
|
displayName: "Tooltipstyles__TooltipContent",
|
|
23
25
|
componentId: "mghjny-3"
|
|
24
|
-
})(["
|
|
26
|
+
})(["width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;"]);
|
|
25
27
|
export var TooltipStatus = styled.div.withConfig({
|
|
26
28
|
displayName: "Tooltipstyles__TooltipStatus",
|
|
27
29
|
componentId: "mghjny-4"
|
|
@@ -29,20 +31,43 @@ export var TooltipStatus = styled.div.withConfig({
|
|
|
29
31
|
export var TooltipComponent = styled.div.withConfig({
|
|
30
32
|
displayName: "Tooltipstyles__TooltipComponent",
|
|
31
33
|
componentId: "mghjny-5"
|
|
32
|
-
})(["background-color:rgba(56,67,80,0.9);min-height:24px;width:100%;color:", ";
|
|
34
|
+
})(["background-color:rgba(56,67,80,0.9);min-height:24px;width:100%;border-radius:3px;color:", ";overflow:hidden;text-align:left;", "{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;", "}.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
35
|
return props.theme.palette['grey-200'];
|
|
34
|
-
}, function (props) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
}, TooltipContent, function (props) {
|
|
37
|
+
var defaultPadding = css(["padding:16px;"]);
|
|
38
|
+
|
|
39
|
+
switch (props.tooltipType) {
|
|
40
|
+
case 'icon':
|
|
41
|
+
return css(["padding:8px 16px 16px;"]);
|
|
42
|
+
|
|
43
|
+
case 'largeSimple':
|
|
44
|
+
return defaultPadding;
|
|
45
|
+
|
|
46
|
+
case 'largeScrollable':
|
|
47
|
+
return defaultPadding;
|
|
48
|
+
|
|
49
|
+
case 'tutorial':
|
|
50
|
+
return css(["padding:0;"]);
|
|
51
|
+
|
|
52
|
+
case 'avatar':
|
|
53
|
+
return css(["padding:8px 16px 16px;text-align:center;align-items:center;"]);
|
|
54
|
+
|
|
55
|
+
case 'button':
|
|
56
|
+
return defaultPadding;
|
|
57
|
+
|
|
58
|
+
case 'header-label':
|
|
59
|
+
return css(["padding:13px 16px 16px;"]);
|
|
60
|
+
|
|
61
|
+
case 'status':
|
|
62
|
+
return css(["padding:6px 25px 10px 21px;text-align:center;align-items:center;"]);
|
|
63
|
+
|
|
64
|
+
case 'default':
|
|
65
|
+
return css(["padding:3px 8px;"]);
|
|
66
|
+
|
|
67
|
+
default:
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return defaultPadding;
|
|
46
71
|
}, function (props) {
|
|
47
72
|
return props.theme.palette['grey-600'];
|
|
48
73
|
}, function (props) {
|
package/dist/Tooltip.types.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { TooltipPropsWithTitle } from 'antd/lib/tooltip';
|
|
3
|
-
export declare type tooltipTypes = 'default' | 'icon' | 'largeSimple' | 'tutorial' | 'avatar' | 'button' | 'header-label' | 'status';
|
|
4
|
-
export declare type descriptionType =
|
|
3
|
+
export declare type tooltipTypes = 'default' | 'icon' | 'largeSimple' | 'largeScrollable' | 'tutorial' | 'avatar' | 'button' | 'header-label' | 'status';
|
|
4
|
+
export declare type descriptionType = ReactNode;
|
|
5
5
|
export declare type Tutorial = {
|
|
6
|
-
title:
|
|
7
|
-
description:
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
description: ReactNode;
|
|
8
8
|
};
|
|
9
9
|
export default interface TooltipExtendedProps {
|
|
10
10
|
type?: tooltipTypes;
|
|
11
|
-
icon?:
|
|
12
|
-
status?:
|
|
13
|
-
title?:
|
|
11
|
+
icon?: ReactNode;
|
|
12
|
+
status?: ReactNode;
|
|
13
|
+
title?: ReactNode;
|
|
14
14
|
description?: descriptionType;
|
|
15
15
|
tutorials?: Tutorial[];
|
|
16
16
|
tutorialAutoplay?: boolean;
|
|
@@ -18,10 +18,10 @@ export default interface TooltipExtendedProps {
|
|
|
18
18
|
timeToHideAfterClick?: number;
|
|
19
19
|
offset?: 'default' | 'small';
|
|
20
20
|
button?: {
|
|
21
|
-
label?:
|
|
22
|
-
buttonIcon?:
|
|
21
|
+
label?: ReactNode;
|
|
22
|
+
buttonIcon?: ReactNode;
|
|
23
23
|
onClick: () => void;
|
|
24
24
|
};
|
|
25
|
-
render?: () =>
|
|
25
|
+
render?: () => ReactNode;
|
|
26
26
|
}
|
|
27
27
|
export declare type TooltipProps = Omit<TooltipPropsWithTitle, 'title'> & TooltipExtendedProps;
|
package/dist/style/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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}
|
|
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.ds-tooltip-type-largeScrollable{max-width:400px}.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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tooltip",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Tooltip UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -32,8 +32,9 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-button": "^0.17.
|
|
36
|
-
"@synerise/ds-icon": "^0.
|
|
35
|
+
"@synerise/ds-button": "^0.17.20",
|
|
36
|
+
"@synerise/ds-icon": "^0.58.0",
|
|
37
|
+
"@synerise/ds-scrollbar": "^0.6.4"
|
|
37
38
|
},
|
|
38
39
|
"peerDependencies": {
|
|
39
40
|
"@synerise/ds-core": "*",
|
|
@@ -43,5 +44,5 @@
|
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@synerise/ds-utils": "^0.19.0"
|
|
45
46
|
},
|
|
46
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "283730ca9bb63422391388fbc020906edf942b57"
|
|
47
48
|
}
|