@zohodesk/components 1.0.0-alpha-272 → 1.0.0-alpha-274

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 (168) hide show
  1. package/README.md +9 -0
  2. package/es/Accordion/Accordion.js +1 -0
  3. package/es/Accordion/AccordionItem.js +1 -0
  4. package/es/AppContainer/AppContainer.js +15 -6
  5. package/es/AppContainer/AppContainer.module.css +2 -2
  6. package/es/AppContainer/props/defaultProps.js +2 -1
  7. package/es/AppContainer/props/propTypes.js +1 -0
  8. package/es/Avatar/Avatar.js +3 -0
  9. package/es/Avatar/Avatar.module.css +18 -18
  10. package/es/AvatarTeam/AvatarTeam.js +1 -0
  11. package/es/AvatarTeam/AvatarTeam.module.css +35 -35
  12. package/es/Button/Button.js +1 -0
  13. package/es/Button/css/Button.module.css +70 -70
  14. package/es/Buttongroup/Buttongroup.js +1 -0
  15. package/es/Buttongroup/Buttongroup.module.css +14 -15
  16. package/es/CheckBox/CheckBox.module.css +15 -15
  17. package/es/DateTime/CalendarView.js +1 -0
  18. package/es/DateTime/DateTime.js +3 -1
  19. package/es/DateTime/DateTime.module.css +39 -39
  20. package/es/DateTime/DateWidget.js +2 -0
  21. package/es/DateTime/DateWidget.module.css +5 -5
  22. package/es/DateTime/YearView.module.css +15 -15
  23. package/es/DropBox/DropBoxElement/DropBoxElement.js +3 -0
  24. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +76 -76
  25. package/es/DropBox/css/DropBox.module.css +6 -6
  26. package/es/DropDown/DropDown.js +2 -1
  27. package/es/DropDown/DropDown.module.css +2 -2
  28. package/es/DropDown/DropDownHeading.js +1 -0
  29. package/es/DropDown/DropDownHeading.module.css +6 -6
  30. package/es/DropDown/DropDownItem.js +2 -1
  31. package/es/DropDown/DropDownItem.module.css +12 -12
  32. package/es/DropDown/DropDownSearch.module.css +3 -3
  33. package/es/DropDown/DropDownSeparator.module.css +2 -2
  34. package/es/Heading/Heading.js +1 -0
  35. package/es/Heading/Heading.module.css +2 -2
  36. package/es/Label/Label.js +1 -0
  37. package/es/Label/Label.module.css +5 -5
  38. package/es/Layout/Box.js +4 -3
  39. package/es/Layout/Container.js +4 -3
  40. package/es/Layout/Layout.module.css +15 -15
  41. package/es/Layout/props/defaultProps.js +2 -0
  42. package/es/Layout/props/propTypes.js +2 -0
  43. package/es/Layout/utils.js +5 -1
  44. package/es/ListItem/ListItem.module.css +38 -38
  45. package/es/MultiSelect/AdvancedGroupMultiSelect.js +1 -0
  46. package/es/MultiSelect/AdvancedMultiSelect.js +1 -0
  47. package/es/MultiSelect/EmptyState.js +4 -0
  48. package/es/MultiSelect/MultiSelect.js +1 -0
  49. package/es/MultiSelect/MultiSelect.module.css +31 -31
  50. package/es/MultiSelect/MultiSelectWithAvatar.js +1 -0
  51. package/es/MultiSelect/SelectedOptions.module.css +5 -5
  52. package/es/Popup/Popup.js +1 -4
  53. package/es/Radio/Radio.module.css +9 -9
  54. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  55. package/es/Ribbon/Ribbon.js +1 -0
  56. package/es/Ribbon/Ribbon.module.css +46 -48
  57. package/es/Select/GroupSelect.js +1 -0
  58. package/es/Select/Select.js +2 -1
  59. package/es/Select/Select.module.css +23 -23
  60. package/es/Select/SelectWithAvatar.js +2 -0
  61. package/es/Select/SelectWithIcon.js +2 -1
  62. package/es/Stencils/Stencils.module.css +11 -11
  63. package/es/Switch/Switch.js +1 -0
  64. package/es/Switch/Switch.module.css +23 -23
  65. package/es/Tab/Tab.module.css +14 -14
  66. package/es/Tab/Tabs.js +2 -1
  67. package/es/Tab/Tabs.module.css +22 -22
  68. package/es/Tag/Tag.js +1 -0
  69. package/es/Tag/Tag.module.css +25 -25
  70. package/es/TextBox/TextBox.js +1 -0
  71. package/es/TextBox/TextBox.module.css +9 -9
  72. package/es/TextBoxIcon/TextBoxIcon.module.css +7 -7
  73. package/es/Textarea/Textarea.js +1 -0
  74. package/es/Textarea/Textarea.module.css +21 -21
  75. package/es/Tooltip/Tooltip.js +2 -1
  76. package/es/Tooltip/Tooltip.module.css +5 -5
  77. package/es/common/animation.module.css +8 -8
  78. package/es/common/avatarsizes.module.css +16 -16
  79. package/es/common/basicReset.module.css +3 -3
  80. package/es/common/common.module.css +24 -24
  81. package/es/common/customscroll.module.css +2 -2
  82. package/es/deprecated/AdvancedMultiSelect.module.css +18 -18
  83. package/es/semantic/Button/Button.js +1 -0
  84. package/es/semantic/Button/semanticButton.module.css +1 -1
  85. package/lib/Accordion/Accordion.js +1 -0
  86. package/lib/Accordion/AccordionItem.js +1 -0
  87. package/lib/AppContainer/AppContainer.js +11 -6
  88. package/lib/AppContainer/AppContainer.module.css +2 -2
  89. package/lib/AppContainer/props/defaultProps.js +2 -1
  90. package/lib/AppContainer/props/propTypes.js +1 -0
  91. package/lib/Avatar/Avatar.js +3 -0
  92. package/lib/Avatar/Avatar.module.css +18 -18
  93. package/lib/AvatarTeam/AvatarTeam.js +1 -0
  94. package/lib/AvatarTeam/AvatarTeam.module.css +35 -35
  95. package/lib/Button/Button.js +1 -0
  96. package/lib/Button/css/Button.module.css +70 -70
  97. package/lib/Buttongroup/Buttongroup.js +1 -0
  98. package/lib/Buttongroup/Buttongroup.module.css +14 -15
  99. package/lib/CheckBox/CheckBox.module.css +15 -15
  100. package/lib/DateTime/CalendarView.js +1 -0
  101. package/lib/DateTime/DateTime.js +3 -1
  102. package/lib/DateTime/DateTime.module.css +39 -39
  103. package/lib/DateTime/DateWidget.js +2 -0
  104. package/lib/DateTime/DateWidget.module.css +5 -5
  105. package/lib/DateTime/YearView.module.css +15 -15
  106. package/lib/DropBox/DropBoxElement/DropBoxElement.js +3 -0
  107. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +76 -76
  108. package/lib/DropBox/css/DropBox.module.css +6 -6
  109. package/lib/DropDown/DropDown.js +2 -1
  110. package/lib/DropDown/DropDown.module.css +2 -2
  111. package/lib/DropDown/DropDownHeading.js +1 -0
  112. package/lib/DropDown/DropDownHeading.module.css +6 -6
  113. package/lib/DropDown/DropDownItem.js +2 -1
  114. package/lib/DropDown/DropDownItem.module.css +12 -12
  115. package/lib/DropDown/DropDownSearch.module.css +3 -3
  116. package/lib/DropDown/DropDownSeparator.module.css +2 -2
  117. package/lib/Heading/Heading.js +2 -1
  118. package/lib/Heading/Heading.module.css +2 -2
  119. package/lib/Label/Label.js +1 -0
  120. package/lib/Label/Label.module.css +5 -5
  121. package/lib/Layout/Box.js +8 -4
  122. package/lib/Layout/Container.js +8 -4
  123. package/lib/Layout/Layout.module.css +15 -15
  124. package/lib/Layout/props/defaultProps.js +2 -0
  125. package/lib/Layout/props/propTypes.js +2 -0
  126. package/lib/Layout/utils.js +5 -1
  127. package/lib/ListItem/ListItem.module.css +38 -38
  128. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1 -0
  129. package/lib/MultiSelect/AdvancedMultiSelect.js +1 -0
  130. package/lib/MultiSelect/EmptyState.js +4 -0
  131. package/lib/MultiSelect/MultiSelect.js +1 -0
  132. package/lib/MultiSelect/MultiSelect.module.css +31 -31
  133. package/lib/MultiSelect/MultiSelectWithAvatar.js +1 -0
  134. package/lib/MultiSelect/SelectedOptions.module.css +5 -5
  135. package/lib/Popup/Popup.js +1 -4
  136. package/lib/Radio/Radio.module.css +9 -9
  137. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +2 -2
  138. package/lib/Ribbon/Ribbon.js +1 -0
  139. package/lib/Ribbon/Ribbon.module.css +46 -48
  140. package/lib/Select/GroupSelect.js +1 -0
  141. package/lib/Select/Select.js +2 -1
  142. package/lib/Select/Select.module.css +23 -23
  143. package/lib/Select/SelectWithAvatar.js +2 -0
  144. package/lib/Select/SelectWithIcon.js +2 -1
  145. package/lib/Stencils/Stencils.module.css +11 -11
  146. package/lib/Switch/Switch.js +1 -0
  147. package/lib/Switch/Switch.module.css +23 -23
  148. package/lib/Tab/Tab.module.css +14 -14
  149. package/lib/Tab/Tabs.js +2 -1
  150. package/lib/Tab/Tabs.module.css +22 -22
  151. package/lib/Tag/Tag.js +1 -0
  152. package/lib/Tag/Tag.module.css +25 -25
  153. package/lib/TextBox/TextBox.js +1 -0
  154. package/lib/TextBox/TextBox.module.css +9 -9
  155. package/lib/TextBoxIcon/TextBoxIcon.module.css +7 -7
  156. package/lib/Textarea/Textarea.js +1 -0
  157. package/lib/Textarea/Textarea.module.css +21 -21
  158. package/lib/Tooltip/Tooltip.js +2 -1
  159. package/lib/Tooltip/Tooltip.module.css +5 -5
  160. package/lib/common/animation.module.css +8 -8
  161. package/lib/common/avatarsizes.module.css +16 -16
  162. package/lib/common/basicReset.module.css +3 -3
  163. package/lib/common/common.module.css +24 -24
  164. package/lib/common/customscroll.module.css +2 -2
  165. package/lib/deprecated/AdvancedMultiSelect.module.css +18 -18
  166. package/lib/semantic/Button/Button.js +1 -0
  167. package/lib/semantic/Button/semanticButton.module.css +1 -1
  168. package/package.json +10 -19
package/README.md CHANGED
@@ -32,6 +32,15 @@ In this Package, we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.0.0-alpha-274
36
+
37
+ - **AppContainer** - needTooltip prop added
38
+ - data-test-id attribute added for all element which having data-id attribute to separate customization and automation
39
+
40
+ # 1.0.0-alpha-273
41
+
42
+ - Variable Replacer Issue Resolved
43
+
35
44
  # 1.0.0-alpha-272
36
45
 
37
46
  - **DateTime** - customDateFormat prop supported
@@ -70,6 +70,7 @@ export default class Accordion extends React.Component {
70
70
  "aria-expanded": ariaExpanded,
71
71
  "aria-haspopup": ariaHaspopup,
72
72
  "data-id": dataId,
73
+ "data-test-id": dataId,
73
74
  "data-selector-id": dataSelectorId
74
75
  }, children);
75
76
  }
@@ -38,6 +38,7 @@ export default class AccordionItem extends React.Component {
38
38
  return /*#__PURE__*/React.createElement("div", {
39
39
  className: className ? className : '',
40
40
  "data-id": dataId,
41
+ "data-test-id": dataId,
41
42
  role: role,
42
43
  "data-selector-id": dataSelectorId
43
44
  }, /*#__PURE__*/React.createElement("div", {
@@ -65,7 +65,11 @@ export default class AppContainer extends React.Component {
65
65
  }
66
66
 
67
67
  componentDidMount() {
68
- if (this.containerElement) {
68
+ let {
69
+ needTooltip
70
+ } = this.props;
71
+
72
+ if (this.containerElement && needTooltip) {
69
73
  this.containerElement.addEventListener('mouseover', this.handleOver, false);
70
74
  this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
71
75
  this.tooltipRef.observeElement();
@@ -73,7 +77,11 @@ export default class AppContainer extends React.Component {
73
77
  }
74
78
 
75
79
  componentWillUnmount() {
76
- if (this.containerElement) {
80
+ let {
81
+ needTooltip
82
+ } = this.props;
83
+
84
+ if (this.containerElement && needTooltip) {
77
85
  this.containerElement.removeEventListener('mouseover', this.handleOver, false);
78
86
  this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
79
87
  this.tooltipRef.unObserveElement();
@@ -89,6 +97,7 @@ export default class AppContainer extends React.Component {
89
97
  dataSelectorId,
90
98
  tooltipClass,
91
99
  tooltipParentClass,
100
+ needTooltip,
92
101
  customProps
93
102
  } = this.props;
94
103
  let {
@@ -97,22 +106,22 @@ export default class AppContainer extends React.Component {
97
106
  ExtraProps = {}
98
107
  } = customProps;
99
108
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, _extends({
100
- className: `${style.container} ${className}` //onMouseOver={this.handleOver}
101
- ,
109
+ className: `${style.container} ${className}`,
102
110
  dataId: dataId,
103
111
  dataSelectorId: dataSelectorId,
104
112
  tagName: tagName,
105
113
  eleRef: this.getContainerRef
106
114
  }, ContainerProps, ExtraProps), /*#__PURE__*/React.createElement(Box, {
107
115
  flexible: true
108
- }, children)), /*#__PURE__*/React.createElement("div", _extends({}, ExtraProps, {
116
+ }, children)), needTooltip ? /*#__PURE__*/React.createElement("div", _extends({}, ExtraProps, {
109
117
  className: `${style.container} ${style.tooltip} ${tooltipParentClass}`,
110
118
  "data-id": `${dataId}_tooltip`,
119
+ "data-test-id": `${dataId}_tooltip`,
111
120
  "data-selector-id": `${dataSelectorId}_tooltip`
112
121
  }), /*#__PURE__*/React.createElement(Tooltip, _extends({
113
122
  ref: this.setTooltipRef,
114
123
  customClass: tooltipClass
115
- }, TooltipProps))));
124
+ }, TooltipProps))) : null);
116
125
  }
117
126
 
118
127
  }
@@ -12,7 +12,7 @@
12
12
  font-family: var(--zd_regular);
13
13
  }
14
14
  .tooltip {
15
- height: 0;
16
- font-size: 0;
15
+ height: 0 ;
16
+ font-size: 0 ;
17
17
  /* contain:strict */
18
18
  }
@@ -5,5 +5,6 @@ export const defaultProps = {
5
5
  tooltipClass: '',
6
6
  tooltipParentClass: '',
7
7
  customProps: {},
8
- dataSelectorId: 'appContainer'
8
+ dataSelectorId: 'appContainer',
9
+ needTooltip: true
9
10
  };
@@ -6,6 +6,7 @@ export const propTypes = {
6
6
  eleRef: PropTypes.func,
7
7
  tagName: PropTypes.string,
8
8
  className: PropTypes.string,
9
+ needTooltip: PropTypes.bool,
9
10
  tooltipClass: PropTypes.string,
10
11
  tooltipParentClass: PropTypes.string,
11
12
  customProps: PropTypes.shape({
@@ -160,15 +160,18 @@ export default class Avatar extends React.Component {
160
160
  className: `${style.avatar} ${style[size]} ${AvatarSize(size)} ${style[shapeStyle]} ${style[palette]} ${textStyle} ${borderStyle} ${customClass ? customClass : ''}`,
161
161
  "data-title": needTitle ? title ? title : name : null,
162
162
  "data-id": dataId,
163
+ "data-test-id": dataId,
163
164
  onClick: onClick,
164
165
  "data-selector-id": dataSelectorId
165
166
  }, AvatarProps), showInitial && !showAlternateAvatar && /*#__PURE__*/React.createElement("span", {
166
167
  className: `${style.initial}`,
167
168
  "data-id": `${dataId}_AvatarInitial`,
169
+ "data-test-id": `${dataId}_AvatarInitial`,
168
170
  "data-selector-id": `${dataSelectorId}_AvatarInitial`
169
171
  }, initial), (showAvatar || showAlternateAvatar) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("img", {
170
172
  className: `${style.image} ${isAnimate ? style.animate : ''} ${needInnerBorder ? style.innerBorder : ''}`,
171
173
  "data-id": `${dataId}_AvatarImg`,
174
+ "data-test-id": `${dataId}_AvatarImg`,
172
175
  "data-selector-id": `${dataSelectorId}_AvatarImg`,
173
176
  name: name,
174
177
  onError: this.putInvalidImageURLJSON,
@@ -1,7 +1,7 @@
1
1
  .varClass {
2
2
  /* avatar default variables */
3
3
  --avatar_text_color: var(--zdt_avatar_default_text);
4
- --avatar_font_size: 14px;
4
+ --avatar_font_size: var(--zd_font_size14);
5
5
  --avatar_bg_color: var(--zdt_avatar_default_bg);
6
6
  --avatar_border_radius: 50%;
7
7
  --avatar_border_width: 0;
@@ -37,19 +37,19 @@
37
37
 
38
38
  .shadow {
39
39
  position: absolute;
40
- height: 100%;
41
- width: 100%;
42
- top: 0;
40
+ height: 100% ;
41
+ width: 100% ;
42
+ top: 0 ;
43
43
  pointer-events: none;
44
44
  border-radius: var(--avatar_border_radius);
45
45
  }
46
46
 
47
47
  [dir=ltr] .shadow {
48
- left: 0;
48
+ left: 0 ;
49
49
  }
50
50
 
51
51
  [dir=rtl] .shadow {
52
- right: 0;
52
+ right: 0 ;
53
53
  }
54
54
 
55
55
  .shadow.black {
@@ -69,20 +69,20 @@
69
69
  }
70
70
 
71
71
  .image {
72
- width: 100%;
73
- height: 100%;
72
+ width: 100% ;
73
+ height: 100% ;
74
74
  position: absolute;
75
- top: 0;
75
+ top: 0 ;
76
76
  z-index: 0;
77
77
  border-radius: var(--avatar_border_radius);
78
78
  }
79
79
 
80
80
  [dir=ltr] .image {
81
- left: 0;
81
+ left: 0 ;
82
82
  }
83
83
 
84
84
  [dir=rtl] .image {
85
- right: 0;
85
+ right: 0 ;
86
86
  }
87
87
 
88
88
  .animate {
@@ -141,31 +141,31 @@
141
141
  }
142
142
 
143
143
  .xxsmall {
144
- --avatar_font_size: 8px;
144
+ --avatar_font_size: var(--zd_font_size8);
145
145
  }
146
146
 
147
147
  .small {
148
- --avatar_font_size: 9px;
148
+ --avatar_font_size: var(--zd_font_size9);
149
149
  }
150
150
 
151
151
  .xsmall {
152
- --avatar_font_size: 12px;
152
+ --avatar_font_size: var(--zd_font_size12);
153
153
  }
154
154
 
155
155
  .medium {
156
- --avatar_font_size: 14px;
156
+ --avatar_font_size: var(--zd_font_size14);
157
157
  }
158
158
 
159
159
  .xmedium {
160
- --avatar_font_size: 14px;
160
+ --avatar_font_size: var(--zd_font_size14);
161
161
  }
162
162
 
163
163
  .large {
164
- --avatar_font_size: 18px;
164
+ --avatar_font_size: var(--zd_font_size18);
165
165
  }
166
166
 
167
167
  .xlarge {
168
- --avatar_font_size: 28px;
168
+ --avatar_font_size: var(--zd_font_size28);
169
169
  }
170
170
 
171
171
  .white {
@@ -50,6 +50,7 @@ export default class AvatarTeam extends React.Component {
50
50
  return /*#__PURE__*/React.createElement("span", _extends({
51
51
  className: `${style.container} ${borderOnActive ? style.borderOnActive : border ? style.borderOnHover : ''} `,
52
52
  "data-id": dataId,
53
+ "data-test-id": dataId,
53
54
  "data-selector-id": dataSelectorId
54
55
  }, AvatarTeamProps), /*#__PURE__*/React.createElement(Avatar, _extends({
55
56
  name: name,
@@ -7,18 +7,18 @@
7
7
  --avatarteam_outline_style: solid;
8
8
  --avatarteam_outline_color: var(--zdt_avatarteam_innerCircle);
9
9
  --avatarteam_bg_color: var(--zdt_avatarteam_default_bg);
10
- --avatarteam_width: 5px;
11
- --avatarteam_height: 5px;
10
+ --avatarteam_width: var(--zd_size5);
11
+ --avatarteam_height: var(--zd_size5);
12
12
  --avatarteam_border_radius: 50%;
13
13
  --avatarteam_bottom_top: initial;
14
14
  --avatarteam_bottom_left: initial;
15
15
  --avatarteam_bottom_right: initial;
16
- --avatarteam_top_top: 1px;
16
+ --avatarteam_top_top: var(--zd_size1);
17
17
  }
18
18
  .container {
19
19
  position: relative;
20
20
  display: inline-block;
21
- font-size: 0;
21
+ font-size: 0 ;
22
22
  vertical-align: middle;
23
23
  }
24
24
  .team {
@@ -38,11 +38,11 @@
38
38
  }
39
39
  [dir=ltr] .team {
40
40
  transform: translate(-50%, -50%);
41
- left: 50%;
41
+ left: 50% ;
42
42
  }
43
43
  [dir=rtl] .team {
44
44
  transform: translate(50%, -50%);
45
- right: 50%;
45
+ right: 50% ;
46
46
  }
47
47
  .nofill {
48
48
  --avatarteam_border_color: var(--zdt_avatarteam_nofill_hover_border);
@@ -68,8 +68,8 @@
68
68
  .team:before {
69
69
  position: absolute;
70
70
  content: '';
71
- height: inherit;
72
- width: inherit;
71
+ height: inherit ;
72
+ width: inherit ;
73
73
  top: var(--avatarteam_bottom_top);
74
74
  outline-width: var(--avatarteam_outline_width);
75
75
  outline-style: var(--avatarteam_outline_style);
@@ -92,18 +92,18 @@
92
92
  .smallteam,
93
93
  .xsmallteam,
94
94
  .xxsmallteam {
95
- --avatarteam_height: 3px;
96
- --avatarteam_width: 3px;
95
+ --avatarteam_height: var(--zd_size3);
96
+ --avatarteam_width: var(--zd_size3);
97
97
  }
98
98
  .mediumteam,
99
99
  .xmediumteam {
100
- --avatarteam_height: 5px;
101
- --avatarteam_width: 5px;
100
+ --avatarteam_height: var(--zd_size5);
101
+ --avatarteam_width: var(--zd_size5);
102
102
  }
103
103
  .largeteam,
104
104
  .xlargeteam {
105
- --avatarteam_height: 7px;
106
- --avatarteam_width: 7px;
105
+ --avatarteam_height: var(--zd_size7);
106
+ --avatarteam_width: var(--zd_size7);
107
107
  }
108
108
 
109
109
  .xxsmallteam {
@@ -112,78 +112,78 @@
112
112
  }
113
113
  .xxsmallteam::after,
114
114
  .xxsmallteam:before {
115
- --avatarteam_bottom_top: 13px;
115
+ --avatarteam_bottom_top: var(--zd_size13);
116
116
  }
117
117
  .xxsmallteam:after {
118
- --avatarteam_bottom_left: -8px;
118
+ --avatarteam_bottom_left: calc( var(--zd_size8) * -1 );
119
119
  }
120
120
  .xxsmallteam:before {
121
- --avatarteam_bottom_right: -8px;
121
+ --avatarteam_bottom_right: calc( var(--zd_size8) * -1 );
122
122
  }
123
123
 
124
124
 
125
125
  .smallteam::after,
126
126
  .smallteam:before {
127
- --avatarteam_bottom_top: 17px;
127
+ --avatarteam_bottom_top: var(--zd_size17);
128
128
  }
129
129
  .smallteam:after {
130
- --avatarteam_bottom_left: -8px;
130
+ --avatarteam_bottom_left: calc( var(--zd_size8) * -1 );
131
131
  }
132
132
  .smallteam:before {
133
- --avatarteam_bottom_right: -8px;
133
+ --avatarteam_bottom_right: calc( var(--zd_size8) * -1 );
134
134
  }
135
135
 
136
136
  .xsmallteam::after,
137
137
  .xsmallteam:before {
138
- --avatarteam_bottom_top: 24px;
138
+ --avatarteam_bottom_top: var(--zd_size24);
139
139
  }
140
140
  .xsmallteam:after {
141
- --avatarteam_bottom_left: -10px;
141
+ --avatarteam_bottom_left: calc( var(--zd_size10) * -1 );
142
142
  }
143
143
  .xsmallteam:before {
144
- --avatarteam_bottom_right: -10px;
144
+ --avatarteam_bottom_right: calc( var(--zd_size10) * -1 );
145
145
  }
146
146
 
147
147
  .mediumteam::after,
148
148
  .mediumteam:before {
149
- --avatarteam_bottom_top: 26px;
149
+ --avatarteam_bottom_top: var(--zd_size26);
150
150
  }
151
151
  .mediumteam:after {
152
- --avatarteam_bottom_left: -13px;
152
+ --avatarteam_bottom_left: calc( var(--zd_size13) * -1 );
153
153
  }
154
154
  .mediumteam:before {
155
- --avatarteam_bottom_right: -13px;
155
+ --avatarteam_bottom_right: calc( var(--zd_size13) * -1 );
156
156
  }
157
157
 
158
158
  .xmediumteam::after,
159
159
  .xmediumteam:before {
160
- --avatarteam_bottom_top: 30px;
160
+ --avatarteam_bottom_top: var(--zd_size30);
161
161
  }
162
162
  .xmediumteam:after {
163
- --avatarteam_bottom_left: -16px;
163
+ --avatarteam_bottom_left: calc( var(--zd_size16) * -1 );
164
164
  }
165
165
  .xmediumteam:before {
166
- --avatarteam_bottom_right: -16px;
166
+ --avatarteam_bottom_right: calc( var(--zd_size16) * -1 );
167
167
  }
168
168
 
169
169
  .largeteam::after,
170
170
  .largeteam:before {
171
- --avatarteam_bottom_top: 46px;
171
+ --avatarteam_bottom_top: var(--zd_size46);
172
172
  }
173
173
  .largeteam:after {
174
- --avatarteam_bottom_left: -24px;
174
+ --avatarteam_bottom_left: calc( var(--zd_size24) * -1 );
175
175
  }
176
176
  .largeteam:before {
177
- --avatarteam_bottom_right: -24px;
177
+ --avatarteam_bottom_right: calc( var(--zd_size24) * -1 );
178
178
  }
179
179
 
180
180
  .xlargeteam::after,
181
181
  .xlargeteam:before {
182
- --avatarteam_bottom_top: 65px;
182
+ --avatarteam_bottom_top: var(--zd_size65);
183
183
  }
184
184
  .xlargeteam:after {
185
- --avatarteam_bottom_left: -29px;
185
+ --avatarteam_bottom_left: calc( var(--zd_size29) * -1 );
186
186
  }
187
187
  .xlargeteam:before {
188
- --avatarteam_bottom_right: -29px;
188
+ --avatarteam_bottom_right: calc( var(--zd_size29) * -1 );
189
189
  }
@@ -42,6 +42,7 @@ export default function Button(props) {
42
42
  return /*#__PURE__*/React.createElement("button", _extends({
43
43
  className: buttonClass,
44
44
  "data-id": disabled ? `${dataId}_disabled` : dataId,
45
+ "data-test-id": disabled ? `${dataId}_disabled` : dataId,
45
46
  disabled: disabled || statusLower === 'loading',
46
47
  onClick: onClick,
47
48
  "data-title": title,