@zohodesk/components 1.0.0-temp-202.1 → 1.0.0-temp-203

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.
Files changed (176) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +230 -230
  2. package/.cli/PropValidationExcludeFilesArray.js +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/css_error.log +1 -1
  5. package/es/AppContainer/AppContainer.module.css +18 -18
  6. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  7. package/es/AvatarTeam/AvatarTeam.js +7 -7
  8. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  9. package/es/Button/Button.js +4 -4
  10. package/es/Buttongroup/Buttongroup.js +1 -1
  11. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  12. package/es/Card/Card.js +4 -4
  13. package/es/Card/Card.module.css +20 -20
  14. package/es/DateTime/DateWidget.module.css +38 -38
  15. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  16. package/es/DropDown/DropDown.module.css +5 -5
  17. package/es/DropDown/DropDownSearch.js +5 -2
  18. package/es/DropDown/DropDownSearch.module.css +14 -14
  19. package/es/DropDown/DropDownSeparator.module.css +7 -7
  20. package/es/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
  21. package/es/DropDown/props/defaultProps.js +2 -1
  22. package/es/DropDown/props/propTypes.js +2 -1
  23. package/es/Heading/Heading.module.css +4 -4
  24. package/es/Label/Label.js +2 -2
  25. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  26. package/es/Layout/Layout.module.css +335 -335
  27. package/es/ListItem/ListItemWithCheckBox.js +2 -1
  28. package/es/ListItem/ListItemWithRadio.js +2 -1
  29. package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
  30. package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
  31. package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  32. package/es/MultiSelect/AdvancedMultiSelect.js +6 -2
  33. package/es/MultiSelect/MultiSelect.js +2 -1
  34. package/es/MultiSelect/MultiSelectWithAvatar.js +2 -1
  35. package/es/MultiSelect/SelectedOptions.js +8 -4
  36. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  37. package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
  38. package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
  39. package/es/MultiSelect/props/defaultProps.js +2 -1
  40. package/es/MultiSelect/props/propTypes.js +2 -1
  41. package/es/Popup/PositionMapping.json +73 -73
  42. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  43. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  44. package/es/RippleEffect/RippleEffect.module.css +92 -92
  45. package/es/Select/Select.module.css +134 -134
  46. package/es/Select/SelectWithAvatar.js +5 -2
  47. package/es/Select/SelectWithIcon.js +2 -1
  48. package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
  49. package/es/Stencils/Stencils.module.css +96 -96
  50. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  51. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  52. package/es/Tab/TabContent.module.css +4 -4
  53. package/es/Tab/Tabs.js +21 -19
  54. package/es/Tag/Tag.js +8 -8
  55. package/es/Tooltip/Tooltip.js +4 -57
  56. package/es/Tooltip/Tooltip.module.css +140 -140
  57. package/es/common/a11y.module.css +3 -3
  58. package/es/common/animation.module.css +624 -624
  59. package/es/common/avatarsizes.module.css +48 -48
  60. package/es/common/basic.module.css +33 -33
  61. package/es/common/basicReset.module.css +40 -40
  62. package/es/common/boxShadow.module.css +33 -33
  63. package/es/common/common.module.css +524 -524
  64. package/es/common/reset.module.css +13 -13
  65. package/es/common/transition.module.css +146 -146
  66. package/es/semantic/Button/semanticButton.module.css +9 -9
  67. package/es/v1/Avatar/Avatar.js +5 -5
  68. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  69. package/es/v1/Button/Button.js +4 -4
  70. package/es/v1/DropDown/DropDownSearch.js +5 -2
  71. package/es/v1/DropDown/props/defaultProps.js +2 -1
  72. package/es/v1/DropDown/props/propTypes.js +2 -1
  73. package/es/v1/ListItem/ListItemWithCheckBox.js +2 -1
  74. package/es/v1/ListItem/ListItemWithRadio.js +2 -1
  75. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  76. package/es/v1/MultiSelect/AdvancedMultiSelect.js +6 -2
  77. package/es/v1/MultiSelect/MultiSelect.js +2 -1
  78. package/es/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
  79. package/es/v1/MultiSelect/SelectedOptions.js +8 -4
  80. package/es/v1/MultiSelect/props/defaultProps.js +2 -1
  81. package/es/v1/MultiSelect/props/propTypes.js +2 -1
  82. package/es/v1/Select/SelectWithAvatar.js +5 -2
  83. package/es/v1/Select/SelectWithIcon.js +2 -1
  84. package/es/v1/Tab/Tabs.js +4 -2
  85. package/es/v1/Tab/v1TabContent.module.css +4 -4
  86. package/es/v1/Tag/Tag.js +8 -8
  87. package/es/v1/Typography/css/Typography.module.css +380 -380
  88. package/install.md +10 -10
  89. package/lib/AppContainer/AppContainer.module.css +18 -18
  90. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  91. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  92. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  93. package/lib/Button/Button.js +4 -4
  94. package/lib/Buttongroup/Buttongroup.js +1 -1
  95. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  96. package/lib/Card/Card.js +4 -4
  97. package/lib/Card/Card.module.css +20 -20
  98. package/lib/DateTime/DateWidget.module.css +38 -38
  99. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  100. package/lib/DropDown/DropDown.module.css +5 -5
  101. package/lib/DropDown/DropDownSearch.js +5 -2
  102. package/lib/DropDown/DropDownSearch.module.css +14 -14
  103. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  104. package/lib/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -0
  105. package/lib/DropDown/props/defaultProps.js +2 -1
  106. package/lib/DropDown/props/propTypes.js +1 -1
  107. package/lib/Heading/Heading.module.css +4 -4
  108. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  109. package/lib/Layout/Layout.module.css +335 -335
  110. package/lib/ListItem/ListItemWithCheckBox.js +2 -1
  111. package/lib/ListItem/ListItemWithRadio.js +2 -1
  112. package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -2
  113. package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +2 -2
  114. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  115. package/lib/MultiSelect/AdvancedMultiSelect.js +8 -4
  116. package/lib/MultiSelect/MultiSelect.js +2 -1
  117. package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -1
  118. package/lib/MultiSelect/SelectedOptions.js +8 -4
  119. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  120. package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
  121. package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +6 -6
  122. package/lib/MultiSelect/props/defaultProps.js +2 -1
  123. package/lib/MultiSelect/props/propTypes.js +2 -1
  124. package/lib/Popup/PositionMapping.json +73 -73
  125. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  126. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  127. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  128. package/lib/Select/Select.module.css +134 -134
  129. package/lib/Select/SelectWithAvatar.js +5 -2
  130. package/lib/Select/SelectWithIcon.js +2 -1
  131. package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
  132. package/lib/Stencils/Stencils.module.css +96 -96
  133. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  134. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  135. package/lib/Tab/TabContent.module.css +4 -4
  136. package/lib/Tab/Tabs.js +15 -13
  137. package/lib/Tag/Tag.js +8 -8
  138. package/lib/Tooltip/Tooltip.js +28 -89
  139. package/lib/Tooltip/Tooltip.module.css +140 -140
  140. package/lib/common/a11y.module.css +3 -3
  141. package/lib/common/animation.module.css +624 -624
  142. package/lib/common/avatarsizes.module.css +48 -48
  143. package/lib/common/basic.module.css +33 -33
  144. package/lib/common/basicReset.module.css +40 -40
  145. package/lib/common/boxShadow.module.css +33 -33
  146. package/lib/common/common.module.css +524 -524
  147. package/lib/common/reset.module.css +13 -13
  148. package/lib/common/transition.module.css +146 -146
  149. package/lib/semantic/Button/semanticButton.module.css +9 -9
  150. package/lib/v1/Avatar/Avatar.js +5 -5
  151. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  152. package/lib/v1/Button/Button.js +4 -4
  153. package/lib/v1/DropDown/DropDownSearch.js +5 -2
  154. package/lib/v1/DropDown/props/defaultProps.js +2 -1
  155. package/lib/v1/DropDown/props/propTypes.js +1 -1
  156. package/lib/v1/ListItem/ListItemWithCheckBox.js +2 -1
  157. package/lib/v1/ListItem/ListItemWithRadio.js +2 -1
  158. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +6 -3
  159. package/lib/v1/MultiSelect/AdvancedMultiSelect.js +8 -4
  160. package/lib/v1/MultiSelect/MultiSelect.js +2 -1
  161. package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +2 -1
  162. package/lib/v1/MultiSelect/SelectedOptions.js +8 -4
  163. package/lib/v1/MultiSelect/props/defaultProps.js +2 -1
  164. package/lib/v1/MultiSelect/props/propTypes.js +2 -1
  165. package/lib/v1/Select/SelectWithAvatar.js +5 -2
  166. package/lib/v1/Select/SelectWithIcon.js +2 -1
  167. package/lib/v1/Tab/Tabs.js +4 -2
  168. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  169. package/lib/v1/Tag/Tag.js +8 -8
  170. package/lib/v1/Typography/css/Typography.module.css +380 -380
  171. package/package.json +4 -4
  172. package/postPublish.js +8 -8
  173. package/prePublish.js +70 -70
  174. package/propValidationArg.json +11 -11
  175. package/react-cli.config.js +23 -23
  176. 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/es/Tab/Tabs.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /* eslint-disable react/forbid-component-props */
2
2
 
3
- /* eslint css-modules/no-unused-class: [2, {
4
- markAsUsed: [
5
- 'hidden','alpha','gamma','beta','delta','special','text','maxWidth','widgetList','menuContainer','border','tabText','block','tabAlpha','alphaActive','gammaActive','betaActive','deltaActive','tabGamma','tabBeta','tabDelta','specialActive','tabSpecial',
6
- 'alpha_padding','alpha_border','gamma_padding','gamma_border','beta_padding','beta_border','delta_padding','delta_border','textContainer','disabled','alphaActive_border','gammaActive_border','betaActive_border','deltaActive_border'
7
- ]
8
- }]
3
+ /* eslint css-modules/no-unused-class: [2, {
4
+ markAsUsed: [
5
+ 'hidden','alpha','gamma','beta','delta','special','text','maxWidth','widgetList','menuContainer','border','tabText','block','tabAlpha','alphaActive','gammaActive','betaActive','deltaActive','tabGamma','tabBeta','tabDelta','specialActive','tabSpecial',
6
+ 'alpha_padding','alpha_border','gamma_padding','gamma_border','beta_padding','beta_border','delta_padding','delta_border','textContainer','disabled','alphaActive_border','gammaActive_border','betaActive_border','deltaActive_border'
7
+ ]
8
+ }]
9
9
  */
10
10
  import React from 'react';
11
11
  import Tab from './Tab';
@@ -139,9 +139,9 @@ class Tabs extends React.Component {
139
139
  } = this.state;
140
140
 
141
141
  if (prevProps.children && children) {
142
- /**
143
- * To recalculate the dimensions of tabs we are checking the children length.
144
- * and also checking the tab id and their order.
142
+ /**
143
+ * To recalculate the dimensions of tabs we are checking the children length.
144
+ * and also checking the tab id and their order.
145
145
  */
146
146
  let newTabKeys = [];
147
147
  React.Children.toArray(children).forEach(child => {
@@ -314,14 +314,14 @@ class Tabs extends React.Component {
314
314
  });
315
315
 
316
316
  if (selectedTabDimension > totalDimension) {
317
- /* let { align } = this.props;
318
- let newDim = `${remConvert(totalDimension)}rem`;
319
- let newTabs;
320
- if (align === 'vertical') {
321
- newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
322
- } else {
323
- newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
324
- }
317
+ /* let { align } = this.props;
318
+ let newDim = `${remConvert(totalDimension)}rem`;
319
+ let newTabs;
320
+ if (align === 'vertical') {
321
+ newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
322
+ } else {
323
+ newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
324
+ }
325
325
  mainTabs = newTabs; */
326
326
  this.setMaxDim(totalDimension);
327
327
  }
@@ -508,13 +508,15 @@ class Tabs extends React.Component {
508
508
  ...DropBoxProps,
509
509
  isResponsivePadding: true,
510
510
  needFocusScope: true,
511
- onClose: this.togglePopup
511
+ onClose: this.togglePopup,
512
+ dataId: `${dataId}_dropbox`
512
513
  }, getCustomDropBoxHeaderPlaceHolder && getCustomDropBoxHeaderPlaceHolder(this.props), /*#__PURE__*/React.createElement(Box, {
513
514
  flexible: true,
514
515
  shrink: true,
515
516
  scroll: "vertical",
516
517
  className: `${tabletMode ? '' : tabsStyle.menuBox} ${moreBoxClass}`,
517
- onScroll: this.onScroll
518
+ onScroll: this.onScroll,
519
+ dataId: `${dataId}_Tabs`
518
520
  }, React.Children.map(moreTabs, child => {
519
521
  if (!child) {
520
522
  return null;
package/es/Tag/Tag.js CHANGED
@@ -7,16 +7,16 @@ import { Container } from '../Layout';
7
7
  import Button from '../semantic/Button/Button';
8
8
  import { getUniqueId } from '../Provider/IdProvider';
9
9
  import style from './Tag.module.css';
10
- /*
11
- * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
12
- * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
13
- * 'pureDotted', 'primaryDotted'] }]
10
+ /*
11
+ * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
12
+ * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
13
+ * 'pureDotted', 'primaryDotted'] }]
14
14
  */
15
15
 
16
- /*
17
- * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
18
- * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
19
- * 'pureDotted', 'primaryDotted'] }]
16
+ /*
17
+ * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
18
+ * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
19
+ * 'pureDotted', 'primaryDotted'] }]
20
20
  */
21
21
 
22
22
  export default class Tag extends PureComponent {
@@ -14,9 +14,7 @@ export default class Tooltip extends React.Component {
14
14
  top: 0,
15
15
  arrowLeft: 0,
16
16
  isArrowRight: null,
17
- isHtml: false,
18
- isDragging: false,
19
- initialX: 0
17
+ isHtml: false
20
18
  };
21
19
  this.handleOver = this.handleOver.bind(this);
22
20
  this.getToolTipDOM = this.getToolTipDOM.bind(this);
@@ -27,55 +25,7 @@ export default class Tooltip extends React.Component {
27
25
  this.observer = new ResizeObserver(this.onResize);
28
26
  this.isResized = true;
29
27
  this.tooltipContainerClientRect = {};
30
- this.tooltipContainerEl = {}; // draggable methods
31
-
32
- this.onMouseDown = this.onMouseDown.bind(this);
33
- this.onMouseMove = this.onMouseMove.bind(this);
34
- this.onMouseUp = this.onMouseUp.bind(this);
35
- } // mouse button pressed on the element
36
-
37
-
38
- onMouseDown(element) {
39
- return event => {
40
- let {
41
- left
42
- } = this.state;
43
- this.setState({
44
- isDragging: true,
45
- initialX: event.clientX - left
46
- });
47
- const mouseMoveHandler = this.onMouseMove(element);
48
- document.addEventListener('mousemove', mouseMoveHandler);
49
- document.addEventListener('mouseup', this.onMouseUp);
50
- };
51
- } // mouse moves - dragging progress
52
-
53
-
54
- onMouseMove(element) {
55
- return () => {
56
- let {
57
- isDragging,
58
- initialX
59
- } = this.state;
60
- const elementLeft = element.getBoundingClientRect().left - initialX;
61
-
62
- if (isDragging) {
63
- this.setState({
64
- left: elementLeft
65
- });
66
- }
67
- };
68
- } // mouse button released
69
-
70
-
71
- onMouseUp() {
72
- this.setState({
73
- isDragging: false,
74
- initialX: 0
75
- });
76
- this.reset();
77
- document.removeEventListener('mousemove', this.onMouseMove);
78
- document.removeEventListener('mouseup', this.onMouseUp);
28
+ this.tooltipContainerEl = {};
79
29
  }
80
30
 
81
31
  onResize(sizeOfObservedEl, observedEl) {
@@ -117,11 +67,10 @@ export default class Tooltip extends React.Component {
117
67
 
118
68
  reset() {
119
69
  let {
120
- title,
121
- isDragging
70
+ title
122
71
  } = this.state;
123
72
 
124
- if (title !== null && !isDragging) {
73
+ if (title !== null) {
125
74
  this.setState({
126
75
  title: null,
127
76
  top: 0,
@@ -186,7 +135,6 @@ export default class Tooltip extends React.Component {
186
135
  let containerElement = this.tooltipContainerEl;
187
136
  let element = e.target;
188
137
  let titleDiv = element.hasAttribute('data-title') || element.hasAttribute('title') ? element : element.closest('[data-title]') || element.closest('[title]');
189
- let draggable = element.hasAttribute('data-title-draggable') ? true : false;
190
138
 
191
139
  if (titleDiv) {
192
140
  let title = titleDiv.getAttribute('data-title') || titleDiv.getAttribute('title');
@@ -506,7 +454,6 @@ export default class Tooltip extends React.Component {
506
454
  titleDiv.addEventListener('click', this.reset);
507
455
  titleDiv.addEventListener('mouseup', this.reset);
508
456
  titleDiv.addEventListener('mouseleave', this.reset);
509
- draggable && titleDiv.addEventListener('mousedown', this.onMouseDown(element));
510
457
  }
511
458
  } else {
512
459
  this.reset();
@@ -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
  }