@zohodesk/components 1.0.0-temp-201 → 1.0.0-temp-202
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/.cli/PropUnificationExcludeFilesArray.js +230 -230
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/es/Button/Button.js +4 -4
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +1 -1
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/Heading/Heading.js +1 -3
- package/es/Heading/Heading.module.css +4 -4
- package/es/Heading/props/defaultProps.js +1 -2
- package/es/Heading/props/propTypes.js +1 -2
- package/es/Label/Label.js +2 -2
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/Layout/Layout.module.css +335 -335
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/Popup/PositionMapping.json +73 -73
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/Select.module.css +134 -134
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tag/Tag.js +8 -8
- package/es/Tooltip/Tooltip.js +47 -2
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/v1/Avatar/Avatar.js +5 -5
- package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/es/v1/Button/Button.js +4 -4
- package/es/v1/Heading/Heading.js +1 -3
- package/es/v1/Heading/props/defaultProps.js +1 -2
- package/es/v1/Heading/props/propTypes.js +1 -2
- package/es/v1/MultiSelect/MultiSelect.js +5 -5
- package/es/v1/Tab/v1TabContent.module.css +4 -4
- package/es/v1/Tag/Tag.js +8 -8
- package/es/v1/Typography/css/Typography.module.css +380 -380
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
- package/lib/Button/Button.js +4 -4
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +1 -1
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/Heading/Heading.js +3 -4
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Heading/props/defaultProps.js +1 -2
- package/lib/Heading/props/propTypes.js +1 -2
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/Select.module.css +134 -134
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tooltip/Tooltip.js +61 -16
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/v1/Avatar/Avatar.js +5 -5
- package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/lib/v1/Button/Button.js +4 -4
- package/lib/v1/Heading/Heading.js +3 -4
- package/lib/v1/Heading/props/defaultProps.js +1 -2
- package/lib/v1/Heading/props/propTypes.js +1 -2
- package/lib/v1/MultiSelect/MultiSelect.js +5 -5
- package/lib/v1/Tab/v1TabContent.module.css +4 -4
- package/lib/v1/Tag/Tag.js +8 -8
- package/lib/v1/Typography/css/Typography.module.css +380 -380
- package/package.json +1 -1
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/propValidationArg.json +11 -11
- package/react-cli.config.js +23 -23
- package/result.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* $Id$ */
|
|
2
|
-
.container {
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
1
|
+
/* $Id$ */
|
|
2
|
+
.container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
package/lib/Tab/Tabs.js
CHANGED
|
@@ -195,9 +195,9 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
195
195
|
tabKeys = _this$state.tabKeys;
|
|
196
196
|
|
|
197
197
|
if (prevProps.children && children) {
|
|
198
|
-
/**
|
|
199
|
-
* To recalculate the dimensions of tabs we are checking the children length.
|
|
200
|
-
* and also checking the tab id and their order.
|
|
198
|
+
/**
|
|
199
|
+
* To recalculate the dimensions of tabs we are checking the children length.
|
|
200
|
+
* and also checking the tab id and their order.
|
|
201
201
|
*/
|
|
202
202
|
var newTabKeys = [];
|
|
203
203
|
|
|
@@ -382,14 +382,14 @@ var Tabs = /*#__PURE__*/function (_React$Component) {
|
|
|
382
382
|
});
|
|
383
383
|
|
|
384
384
|
if (selectedTabDimension > totalDimension) {
|
|
385
|
-
/* let { align } = this.props;
|
|
386
|
-
let newDim = `${remConvert(totalDimension)}rem`;
|
|
387
|
-
let newTabs;
|
|
388
|
-
if (align === 'vertical') {
|
|
389
|
-
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
|
|
390
|
-
} else {
|
|
391
|
-
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
|
|
392
|
-
}
|
|
385
|
+
/* let { align } = this.props;
|
|
386
|
+
let newDim = `${remConvert(totalDimension)}rem`;
|
|
387
|
+
let newTabs;
|
|
388
|
+
if (align === 'vertical') {
|
|
389
|
+
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
|
|
390
|
+
} else {
|
|
391
|
+
newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
|
|
392
|
+
}
|
|
393
393
|
mainTabs = newTabs; */
|
|
394
394
|
this.setMaxDim(totalDimension);
|
|
395
395
|
}
|
package/lib/Tag/Tag.js
CHANGED
|
@@ -51,16 +51,16 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
51
51
|
|
|
52
52
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
53
53
|
|
|
54
|
-
/*
|
|
55
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
56
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
57
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
54
|
+
/*
|
|
55
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
56
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
57
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
|
-
/*
|
|
61
|
-
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
62
|
-
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
63
|
-
* 'pureDotted', 'primaryDotted'] }]
|
|
60
|
+
/*
|
|
61
|
+
* eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
|
|
62
|
+
* 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
|
|
63
|
+
* 'pureDotted', 'primaryDotted'] }]
|
|
64
64
|
*/
|
|
65
65
|
var Tag = /*#__PURE__*/function (_PureComponent) {
|
|
66
66
|
_inherits(Tag, _PureComponent);
|
package/lib/Tooltip/Tooltip.js
CHANGED
|
@@ -60,7 +60,9 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
60
60
|
top: 0,
|
|
61
61
|
arrowLeft: 0,
|
|
62
62
|
isArrowRight: null,
|
|
63
|
-
isHtml: false
|
|
63
|
+
isHtml: false,
|
|
64
|
+
isDragging: false,
|
|
65
|
+
initialX: 0
|
|
64
66
|
};
|
|
65
67
|
_this.handleOver = _this.handleOver.bind(_assertThisInitialized(_this));
|
|
66
68
|
_this.getToolTipDOM = _this.getToolTipDOM.bind(_assertThisInitialized(_this));
|
|
@@ -71,11 +73,52 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
71
73
|
_this.observer = new _ResizeObserver["default"](_this.onResize);
|
|
72
74
|
_this.isResized = true;
|
|
73
75
|
_this.tooltipContainerClientRect = {};
|
|
74
|
-
_this.tooltipContainerEl = {};
|
|
76
|
+
_this.tooltipContainerEl = {}; // draggable methods
|
|
77
|
+
|
|
78
|
+
_this.onMouseDown = _this.onMouseDown.bind(_assertThisInitialized(_this));
|
|
79
|
+
_this.onMouseMove = _this.onMouseMove.bind(_assertThisInitialized(_this));
|
|
80
|
+
_this.onMouseUp = _this.onMouseUp.bind(_assertThisInitialized(_this));
|
|
75
81
|
return _this;
|
|
76
|
-
}
|
|
82
|
+
} // mouse button pressed on the element
|
|
83
|
+
|
|
77
84
|
|
|
78
85
|
_createClass(Tooltip, [{
|
|
86
|
+
key: "onMouseDown",
|
|
87
|
+
value: function onMouseDown(event) {
|
|
88
|
+
var left = this.state.left;
|
|
89
|
+
this.setState({
|
|
90
|
+
isDragging: true,
|
|
91
|
+
initialX: event.clientX - left
|
|
92
|
+
});
|
|
93
|
+
document.addEventListener('mousemove', this.onMouseMove);
|
|
94
|
+
document.addEventListener('mouseup', this.onMouseUp);
|
|
95
|
+
} // mouse moves - dragging progress
|
|
96
|
+
|
|
97
|
+
}, {
|
|
98
|
+
key: "onMouseMove",
|
|
99
|
+
value: function onMouseMove(event) {
|
|
100
|
+
var _this$state = this.state,
|
|
101
|
+
isDragging = _this$state.isDragging,
|
|
102
|
+
initialX = _this$state.initialX;
|
|
103
|
+
|
|
104
|
+
if (isDragging) {
|
|
105
|
+
this.setState({
|
|
106
|
+
left: event.clientX - initialX
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
} // mouse button released
|
|
110
|
+
|
|
111
|
+
}, {
|
|
112
|
+
key: "onMouseUp",
|
|
113
|
+
value: function onMouseUp() {
|
|
114
|
+
this.setState({
|
|
115
|
+
isDragging: false,
|
|
116
|
+
initialX: 0
|
|
117
|
+
});
|
|
118
|
+
document.removeEventListener('mousemove', this.onMouseMove);
|
|
119
|
+
document.removeEventListener('mouseup', this.onMouseUp);
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
79
122
|
key: "onResize",
|
|
80
123
|
value: function onResize(sizeOfObservedEl, observedEl) {
|
|
81
124
|
this.isResized = true;
|
|
@@ -194,6 +237,7 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
194
237
|
var containerElement = this.tooltipContainerEl;
|
|
195
238
|
var element = e.target;
|
|
196
239
|
var titleDiv = element.hasAttribute('data-title') || element.hasAttribute('title') ? element : element.closest('[data-title]') || element.closest('[title]');
|
|
240
|
+
var draggable = element.hasAttribute('data-title-draggable') ? true : false;
|
|
197
241
|
|
|
198
242
|
if (titleDiv) {
|
|
199
243
|
var title = titleDiv.getAttribute('data-title') || titleDiv.getAttribute('title');
|
|
@@ -519,6 +563,7 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
519
563
|
titleDiv.addEventListener('click', this.reset);
|
|
520
564
|
titleDiv.addEventListener('mouseup', this.reset);
|
|
521
565
|
titleDiv.addEventListener('mouseleave', this.reset);
|
|
566
|
+
draggable && titleDiv.addEventListener('mousedown', this.onMouseDown);
|
|
522
567
|
}
|
|
523
568
|
} else {
|
|
524
569
|
this.reset();
|
|
@@ -527,19 +572,19 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
527
572
|
}, {
|
|
528
573
|
key: "render",
|
|
529
574
|
value: function render() {
|
|
530
|
-
var _this$
|
|
531
|
-
title = _this$
|
|
532
|
-
left = _this$
|
|
533
|
-
top = _this$
|
|
534
|
-
arrowLeft = _this$
|
|
535
|
-
arrowTop = _this$
|
|
536
|
-
isArrowDown = _this$
|
|
537
|
-
isArrowRight = _this$
|
|
538
|
-
isArrowHorizontal = _this$
|
|
539
|
-
width = _this$
|
|
540
|
-
isHtml = _this$
|
|
541
|
-
dataTooltipnoArrow = _this$
|
|
542
|
-
dataTooltipWrap = _this$
|
|
575
|
+
var _this$state2 = this.state,
|
|
576
|
+
title = _this$state2.title,
|
|
577
|
+
left = _this$state2.left,
|
|
578
|
+
top = _this$state2.top,
|
|
579
|
+
arrowLeft = _this$state2.arrowLeft,
|
|
580
|
+
arrowTop = _this$state2.arrowTop,
|
|
581
|
+
isArrowDown = _this$state2.isArrowDown,
|
|
582
|
+
isArrowRight = _this$state2.isArrowRight,
|
|
583
|
+
isArrowHorizontal = _this$state2.isArrowHorizontal,
|
|
584
|
+
width = _this$state2.width,
|
|
585
|
+
isHtml = _this$state2.isHtml,
|
|
586
|
+
dataTooltipnoArrow = _this$state2.dataTooltipnoArrow,
|
|
587
|
+
dataTooltipWrap = _this$state2.dataTooltipWrap;
|
|
543
588
|
var _this$props = this.props,
|
|
544
589
|
dataId = _this$props.dataId,
|
|
545
590
|
customClass = _this$props.customClass;
|
|
@@ -1,141 +1,141 @@
|
|
|
1
|
-
.tooltiptext {
|
|
2
|
-
position: fixed;
|
|
3
|
-
z-index: 9999999;
|
|
4
|
-
/*Hook for editor alert*/
|
|
5
|
-
pointer-events: none;
|
|
6
|
-
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
7
|
-
border-radius: var(--zd_size4);
|
|
8
|
-
}[dir=ltr] .tooltiptext {
|
|
9
|
-
animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
|
10
|
-
}[dir=rtl] .tooltiptext {
|
|
11
|
-
animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.tooltipcont {
|
|
15
|
-
color: var(--zdt_tooltip_default_text);
|
|
16
|
-
font-size: var(--zd_font_size13) ;
|
|
17
|
-
font-family: var(--zd_semibold);
|
|
18
|
-
word-break: break-word;
|
|
19
|
-
max-width: var(--zd_size420) ;
|
|
20
|
-
line-height: 1.5385;
|
|
21
|
-
min-height: var(--zd_size24) ;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
background-color: var(--zdt_tooltip_default_bg);
|
|
24
|
-
padding: 0 var(--zd_size10) ;
|
|
25
|
-
border-style: solid;
|
|
26
|
-
border-color: transparent;
|
|
27
|
-
border-radius: var(--zd_size4);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.tooltipWrapCont {
|
|
31
|
-
white-space: pre-wrap;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.tooltipNormalCont {
|
|
35
|
-
white-space: normal;
|
|
36
|
-
}
|
|
37
|
-
.tooltiparrow {
|
|
38
|
-
content: '';
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 0 ;
|
|
41
|
-
border-top-left-radius: 3px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.arrowUp,
|
|
45
|
-
.arrowDown {
|
|
46
|
-
/* Variable:Ignore */
|
|
47
|
-
width: 11px;
|
|
48
|
-
/* Variable:Ignore */
|
|
49
|
-
height: 11px;
|
|
50
|
-
border-top: solid 6px var(--zdt_tooltip_default_bg);
|
|
51
|
-
border-left: solid 6px var(--zdt_tooltip_default_bg);
|
|
52
|
-
border-right: solid 6px transparent;
|
|
53
|
-
border-bottom: solid 6px transparent;
|
|
54
|
-
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
55
|
-
z-index: -1;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.arrowDown {
|
|
59
|
-
/* Variable:Ignore */
|
|
60
|
-
margin-top: -4px !important;
|
|
61
|
-
/* put important because of '.wms-mainui *' have margin: 0; */
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.arrowLeft,
|
|
65
|
-
.arrowRight {
|
|
66
|
-
/* Variable:Ignore */
|
|
67
|
-
width: 11px;
|
|
68
|
-
/* Variable:Ignore */
|
|
69
|
-
height: 11px;
|
|
70
|
-
border-top: solid 6px var(--zdt_tooltip_default_bg);
|
|
71
|
-
border-left: solid 6px var(--zdt_tooltip_default_bg);
|
|
72
|
-
border-right: solid 6px transparent;
|
|
73
|
-
border-bottom: solid 6px transparent;
|
|
74
|
-
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
75
|
-
z-index: -1;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.arrowRight {
|
|
79
|
-
/* Variable:Ignore */
|
|
80
|
-
margin-left: -2px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.arrowLeft {
|
|
84
|
-
/* Variable:Ignore */
|
|
85
|
-
margin-left: 1px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.arrowUp {
|
|
89
|
-
transform: rotate(45deg);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.arrowDown {
|
|
93
|
-
transform: rotate(225deg);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.arrowLeft {
|
|
97
|
-
transform: rotate(315deg) translateY(-50%);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.arrowRight {
|
|
101
|
-
transform: rotate(135deg) translateY(50%);
|
|
102
|
-
}
|
|
103
|
-
@keyframes tooltip-grow {
|
|
104
|
-
from {
|
|
105
|
-
opacity: 0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
to {
|
|
109
|
-
opacity: 1;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@-webkit-keyframes tooltip-grow {
|
|
114
|
-
from {
|
|
115
|
-
opacity: 0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
to {
|
|
119
|
-
opacity: 1;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@-moz-keyframes tooltip-grow {
|
|
124
|
-
from {
|
|
125
|
-
opacity: 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
to {
|
|
129
|
-
opacity: 1;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@-ms-keyframes tooltip-grow {
|
|
134
|
-
from {
|
|
135
|
-
opacity: 0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
to {
|
|
139
|
-
opacity: 1;
|
|
140
|
-
}
|
|
1
|
+
.tooltiptext {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 9999999;
|
|
4
|
+
/*Hook for editor alert*/
|
|
5
|
+
pointer-events: none;
|
|
6
|
+
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
7
|
+
border-radius: var(--zd_size4);
|
|
8
|
+
}[dir=ltr] .tooltiptext {
|
|
9
|
+
animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
|
10
|
+
}[dir=rtl] .tooltiptext {
|
|
11
|
+
animation: tooltip-grow var(--zd_transition7) cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.tooltipcont {
|
|
15
|
+
color: var(--zdt_tooltip_default_text);
|
|
16
|
+
font-size: var(--zd_font_size13) ;
|
|
17
|
+
font-family: var(--zd_semibold);
|
|
18
|
+
word-break: break-word;
|
|
19
|
+
max-width: var(--zd_size420) ;
|
|
20
|
+
line-height: 1.5385;
|
|
21
|
+
min-height: var(--zd_size24) ;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
background-color: var(--zdt_tooltip_default_bg);
|
|
24
|
+
padding: 0 var(--zd_size10) ;
|
|
25
|
+
border-style: solid;
|
|
26
|
+
border-color: transparent;
|
|
27
|
+
border-radius: var(--zd_size4);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.tooltipWrapCont {
|
|
31
|
+
white-space: pre-wrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tooltipNormalCont {
|
|
35
|
+
white-space: normal;
|
|
36
|
+
}
|
|
37
|
+
.tooltiparrow {
|
|
38
|
+
content: '';
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 0 ;
|
|
41
|
+
border-top-left-radius: 3px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.arrowUp,
|
|
45
|
+
.arrowDown {
|
|
46
|
+
/* Variable:Ignore */
|
|
47
|
+
width: 11px;
|
|
48
|
+
/* Variable:Ignore */
|
|
49
|
+
height: 11px;
|
|
50
|
+
border-top: solid 6px var(--zdt_tooltip_default_bg);
|
|
51
|
+
border-left: solid 6px var(--zdt_tooltip_default_bg);
|
|
52
|
+
border-right: solid 6px transparent;
|
|
53
|
+
border-bottom: solid 6px transparent;
|
|
54
|
+
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
55
|
+
z-index: -1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.arrowDown {
|
|
59
|
+
/* Variable:Ignore */
|
|
60
|
+
margin-top: -4px !important;
|
|
61
|
+
/* put important because of '.wms-mainui *' have margin: 0; */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.arrowLeft,
|
|
65
|
+
.arrowRight {
|
|
66
|
+
/* Variable:Ignore */
|
|
67
|
+
width: 11px;
|
|
68
|
+
/* Variable:Ignore */
|
|
69
|
+
height: 11px;
|
|
70
|
+
border-top: solid 6px var(--zdt_tooltip_default_bg);
|
|
71
|
+
border-left: solid 6px var(--zdt_tooltip_default_bg);
|
|
72
|
+
border-right: solid 6px transparent;
|
|
73
|
+
border-bottom: solid 6px transparent;
|
|
74
|
+
box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
|
|
75
|
+
z-index: -1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.arrowRight {
|
|
79
|
+
/* Variable:Ignore */
|
|
80
|
+
margin-left: -2px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.arrowLeft {
|
|
84
|
+
/* Variable:Ignore */
|
|
85
|
+
margin-left: 1px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.arrowUp {
|
|
89
|
+
transform: rotate(45deg);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.arrowDown {
|
|
93
|
+
transform: rotate(225deg);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.arrowLeft {
|
|
97
|
+
transform: rotate(315deg) translateY(-50%);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.arrowRight {
|
|
101
|
+
transform: rotate(135deg) translateY(50%);
|
|
102
|
+
}
|
|
103
|
+
@keyframes tooltip-grow {
|
|
104
|
+
from {
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
to {
|
|
109
|
+
opacity: 1;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@-webkit-keyframes tooltip-grow {
|
|
114
|
+
from {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
to {
|
|
119
|
+
opacity: 1;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@-moz-keyframes tooltip-grow {
|
|
124
|
+
from {
|
|
125
|
+
opacity: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
to {
|
|
129
|
+
opacity: 1;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@-ms-keyframes tooltip-grow {
|
|
134
|
+
from {
|
|
135
|
+
opacity: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
to {
|
|
139
|
+
opacity: 1;
|
|
140
|
+
}
|
|
141
141
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--lib_a11y_focusScope_focus_border: var(--zdt_a11y_focusScope_focus_border);
|
|
3
|
-
--lib_a11y_focusScope_focus_bg: var(--zdt_listitem_highlight_bg);
|
|
1
|
+
:root {
|
|
2
|
+
--lib_a11y_focusScope_focus_border: var(--zdt_a11y_focusScope_focus_border);
|
|
3
|
+
--lib_a11y_focusScope_focus_bg: var(--zdt_listitem_highlight_bg);
|
|
4
4
|
}
|