@zohodesk/components 1.6.2 → 1.6.4

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 (62) hide show
  1. package/README.md +31 -13
  2. package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +4 -2
  3. package/es/ListItem/ListItem.js +6 -4
  4. package/es/ListItem/ListItem.module.css +40 -22
  5. package/es/ListItem/ListItemWithAvatar.js +7 -5
  6. package/es/ListItem/ListItemWithCheckBox.js +9 -5
  7. package/es/ListItem/ListItemWithIcon.js +10 -7
  8. package/es/ListItem/ListItemWithRadio.js +9 -6
  9. package/es/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +4 -4
  10. package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +131 -82
  11. package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +432 -390
  12. package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +141 -92
  13. package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +432 -390
  14. package/es/ListItem/props/defaultProps.js +2 -1
  15. package/es/ListItem/props/propTypes.js +4 -2
  16. package/es/MultiSelect/AdvancedGroupMultiSelect.js +12 -3
  17. package/es/MultiSelect/MultiSelect.js +2 -2
  18. package/es/MultiSelect/Suggestions.js +7 -2
  19. package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +10 -10
  20. package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +34 -28
  21. package/es/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +20 -20
  22. package/es/MultiSelect/props/defaultProps.js +2 -0
  23. package/es/MultiSelect/props/propTypes.js +11 -3
  24. package/es/Popup/Popup.js +11 -4
  25. package/es/Select/GroupSelect.js +1 -1
  26. package/es/Select/SelectWithAvatar.js +3 -3
  27. package/es/Select/SelectWithIcon.js +10 -3
  28. package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +66 -66
  29. package/es/Select/props/defaultProps.js +4 -2
  30. package/es/Select/props/propTypes.js +11 -3
  31. package/es/common/common.module.css +1 -1
  32. package/lib/ColorSelect/_shared/ColorIndicator/ColorIndicator.module.css +4 -2
  33. package/lib/ListItem/ListItem.js +7 -4
  34. package/lib/ListItem/ListItem.module.css +40 -22
  35. package/lib/ListItem/ListItemWithAvatar.js +7 -5
  36. package/lib/ListItem/ListItemWithCheckBox.js +9 -5
  37. package/lib/ListItem/ListItemWithIcon.js +10 -7
  38. package/lib/ListItem/ListItemWithRadio.js +9 -6
  39. package/lib/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +4 -4
  40. package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +131 -82
  41. package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +432 -390
  42. package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +141 -92
  43. package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +432 -390
  44. package/lib/ListItem/props/defaultProps.js +2 -1
  45. package/lib/ListItem/props/propTypes.js +4 -2
  46. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +23 -16
  47. package/lib/MultiSelect/MultiSelect.js +2 -2
  48. package/lib/MultiSelect/Suggestions.js +6 -2
  49. package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +10 -10
  50. package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +34 -28
  51. package/lib/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +20 -20
  52. package/lib/MultiSelect/props/defaultProps.js +2 -0
  53. package/lib/MultiSelect/props/propTypes.js +13 -5
  54. package/lib/Popup/Popup.js +11 -4
  55. package/lib/Select/GroupSelect.js +2 -1
  56. package/lib/Select/SelectWithAvatar.js +4 -3
  57. package/lib/Select/SelectWithIcon.js +10 -3
  58. package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +66 -66
  59. package/lib/Select/props/defaultProps.js +5 -3
  60. package/lib/Select/props/propTypes.js +11 -3
  61. package/lib/common/common.module.css +1 -1
  62. package/package.json +7 -7
@@ -1,3 +1,4 @@
1
+ /* css:lineheight-validation:ignore */
1
2
  .varClass {
2
3
  /* listitem default variables */
3
4
  --listitem_font_size: 13px;
@@ -15,10 +16,15 @@
15
16
 
16
17
  /* listitem tick icon default variables */
17
18
  --listitem_tickicon_color: var(--zdt_listitem_default_tickicon);
18
- }[dir=ltr] .varClass {
19
+
20
+ /* line-height for multiline text */
21
+ --listitem_multiline_lineheight: 1.5385;
22
+ }
23
+ [dir=ltr] .varClass {
19
24
  --listitem_avatar_margin: 0 15px 0 0
20
25
  /*rtl: 0 0 0 15px*/;
21
- }[dir=rtl] .varClass {
26
+ }
27
+ [dir=rtl] .varClass {
22
28
  --listitem_avatar_margin: 0 0 0 15px;
23
29
  }
24
30
  .list {
@@ -75,18 +81,27 @@
75
81
  .children,.secondaryValue {
76
82
  composes: dotted from '../common/common.module.css';
77
83
  }
84
+ .beforeChild{
85
+ height: calc(var(--listitem_font_size) * var(--listitem_multiline_lineheight));
86
+ }
78
87
  [dir=ltr] .beforeChild{
79
88
  margin-right: var(--zd_size10) ;
80
89
  }
81
90
  [dir=rtl] .beforeChild{
82
91
  margin-left: var(--zd_size10) ;
83
92
  }
93
+ /* css:lineheight-validation:ignore */
84
94
  .value, .multiLineValue {
85
- line-height: 1.5385;
95
+ line-height: var(--listitem_multiline_lineheight);
86
96
  }
87
97
  .multiLineValue,.multiLine{
88
98
  composes: lineClamp from '../common/common.module.css';
89
99
  }
100
+ .iconBox,
101
+ .leftAvatar,
102
+ .lhsBoxInner {
103
+ composes: dflex from '../common/common.module.css';
104
+ }
90
105
  .iconBox {
91
106
  width: var(--zd_size20) ;
92
107
  text-align: center;
@@ -104,10 +119,16 @@
104
119
  .leftAvatar {
105
120
  margin: var(--listitem_avatar_margin);
106
121
  }
122
+ .iconWrapper{
123
+ height: calc(var(--listitem_font_size) * var(--listitem_multiline_lineheight));
124
+ }
107
125
 
126
+ .iconWrapper,
108
127
  .lhsJustifyContent_start,
109
128
  .lhsJustifyContent_center,
110
- .lhsJustifyContent_end {
129
+ .lhsJustifyContent_end,
130
+ .beforeChild,
131
+ .titleBox {
111
132
  composes: dflex alignVertical from '../common/common.module.css';
112
133
  }
113
134
  .lhsJustifyContent_start {
@@ -119,27 +140,24 @@
119
140
  .lhsJustifyContent_end {
120
141
  composes: justifyFend from '../common/common.module.css';
121
142
  }
122
-
123
- .lhsBox {
124
- composes: dflex from '../common/common.module.css';
125
- align-self: stretch;
143
+ .selfAlign_center{
144
+ align-self: center;
126
145
  }
127
- .lhsBox_small,
128
- .lhsBox_medium,
129
- .lhsBox_large{
130
- composes: varClass;
131
- --listitem_doubleline_content_height: calc(var(--listitem_font_size) * 2 );
132
- height: 100% ;
133
- composes: dflex alignVertical from '../common/common.module.css';
146
+
147
+ .contentWrapper {
148
+ composes: dflex flexrow from '../common/common.module.css';
149
+ align-items: stretch;
150
+ width: 100% ;
134
151
  }
135
- .lhsBox_small {
136
- max-height: calc(var(--listitem_doubleline_content_height) + var(--zd_size7)); /* 7px = listitem min-height - (top + bottom padding) - doubleLine content height */
152
+ .alignLhsBox_end {
153
+ align-items: flex-end;
137
154
  }
138
- .lhsBox_medium {
139
- max-height: calc(var(--listitem_doubleline_content_height) + var(--zd_size8)); /* 8px = listitem min-height - (top + bottom padding) - doubleLine content height */
155
+ .alignLhsBox_center {
156
+ align-items: center;
140
157
  }
141
- .lhsBox_large {
142
- max-height: calc(var(--listitem_doubleline_content_height) + var(--zd_size15)); /* 15px = listitem min-height - (top + bottom padding) - doubleLine content height */
158
+ .lhsBoxInner{
159
+ height: 100% ;
160
+ max-height: calc((var(--listitem_font_size) * var(--listitem_multiline_lineheight)) * 2 );
143
161
  }
144
162
  .defaultHover, .primaryHover, .dangerHover, .secondaryHover, .darkHover {
145
163
  background-color: var(--listitem_highlight_bg_color);
@@ -285,5 +303,5 @@
285
303
  }
286
304
 
287
305
  .titleBox {
288
- composes: dflex alignVertical from '../common/common.module.css';
306
+ align-items: stretch;
289
307
  }
@@ -178,11 +178,13 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
178
178
  disableTitle: disableTitle,
179
179
  title: null,
180
180
  customProps: ListItemProps
181
- }, ContainerProps), name || imgSrc ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
182
- className: "".concat(_ListItemModule["default"].leftAvatar, " ").concat(lhsAlignContent !== 'center' ? "".concat(_ListItemModule["default"].lhsBox) : '')
181
+ }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
182
+ className: _ListItemModule["default"].contentWrapper
183
+ }, name || imgSrc ? /*#__PURE__*/_react["default"].createElement("div", {
184
+ className: "".concat(_ListItemModule["default"].leftAvatar)
183
185
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
184
186
  align: lhsAlignContent,
185
- className: _ListItemModule["default"]["lhsBox_".concat(size)]
187
+ className: "".concat(_ListItemModule["default"].lhsBoxInner, " ").concat(_ListItemModule["default"].alignLhsBox_center)
186
188
  }, isTeam ? /*#__PURE__*/_react["default"].createElement(_AvatarTeam["default"], _extends({
187
189
  name: name,
188
190
  size: "small",
@@ -205,7 +207,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
205
207
  customClass: customAvatar
206
208
  }, AvatarProps)))) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
207
209
  flexible: true,
208
- className: _ListItemModule["default"].leftBox
210
+ className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
209
211
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
210
212
  className: _ListItemModule["default"].titleBox
211
213
  }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -226,7 +228,7 @@ var ListItemWithAvatar = /*#__PURE__*/function (_React$PureComponent) {
226
228
  }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
227
229
  name: "ZD-ticknew",
228
230
  size: "8"
229
- })) : null);
231
+ })) : null));
230
232
  }
231
233
  }]);
232
234
 
@@ -141,6 +141,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
141
141
  customLabel = _customClass$customLa === void 0 ? '' : _customClass$customLa,
142
142
  _customClass$customVa = customClass.customValueRightPlaceholder,
143
143
  customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa;
144
+ var iconBoxDataId = "".concat(dataId ? dataId : value, "_checkBox");
144
145
  return /*#__PURE__*/_react["default"].createElement(_ListContainer["default"], _extends({
145
146
  a11y: listA11y,
146
147
  size: size,
@@ -160,11 +161,14 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
160
161
  title: null,
161
162
  customProps: ListItemProps
162
163
  }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
163
- className: "".concat(_ListItemModule["default"].iconBox, " ").concat(_ListItemModule["default"].lhsBox, " ").concat(_ListItemModule["default"]["lhsJustifyContent_".concat(lhsJustifyContent)]),
164
- dataId: "".concat(dataId ? dataId : value, "_checkBox")
164
+ className: _ListItemModule["default"].contentWrapper
165
+ }, /*#__PURE__*/_react["default"].createElement("div", {
166
+ className: "".concat(_ListItemModule["default"].iconBox, " ").concat(_ListItemModule["default"]["lhsJustifyContent_".concat(lhsJustifyContent)]),
167
+ "data-id": iconBoxDataId,
168
+ "data-test-id": iconBoxDataId
165
169
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
166
170
  align: lhsAlignContent,
167
- className: lhsAlignContent !== 'center' ? _ListItemModule["default"]["lhsBox_".concat(size)] : ''
171
+ className: lhsAlignContent !== 'center' ? _ListItemModule["default"].lhsBoxInner : ''
168
172
  }, /*#__PURE__*/_react["default"].createElement(_CheckBox["default"], {
169
173
  checked: checked,
170
174
  a11y: {
@@ -176,7 +180,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
176
180
  }
177
181
  }))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
178
182
  flexible: true,
179
- className: _ListItemModule["default"].leftBox
183
+ className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
180
184
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
181
185
  className: _ListItemModule["default"].titleBox
182
186
  }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -189,7 +193,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
189
193
  }, (0, _utils.renderNode)(renderValueRightPlaceholderNode)) : null), secondaryValue ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
190
194
  "data-title": isDisabled ? null : secondaryValue,
191
195
  className: "".concat(_ListItemModule["default"].secondaryField, " ").concat(needMultiLineText ? _ListItemModule["default"].multiLine : _ListItemModule["default"].secondaryValue)
192
- }, secondaryValue) : null));
196
+ }, secondaryValue) : null)));
193
197
  }
194
198
  }]);
195
199
 
@@ -144,6 +144,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
144
144
 
145
145
  var ariaHidden = listA11y.ariaHidden;
146
146
  var dataIdString = dataId ? "".concat(dataId.replace("'", '_')) : value.toLowerCase().replace("'", '_');
147
+ var iconBoxDataId = dataId ? "".concat(dataId, "_Icon") : "".concat(value.toLowerCase().replace("'", '_'), "_Icon");
147
148
  return /*#__PURE__*/_react["default"].createElement(_ListContainer["default"], _extends({
148
149
  a11y: listA11y,
149
150
  size: size,
@@ -166,14 +167,16 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
166
167
  disableTitle: disableTitle,
167
168
  title: null,
168
169
  customProps: ListItemProps
169
- }, ContainerProps), iconName && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
170
+ }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
171
+ className: "".concat(_ListItemModule["default"].contentWrapper, " ").concat(!iconName && lhsAlignContent !== 'start' ? _ListItemModule["default"]["alignLhsBox_".concat(lhsAlignContent)] : '')
172
+ }, iconName && /*#__PURE__*/_react["default"].createElement("div", {
170
173
  "aria-hidden": true,
171
- align: lhsAlignContent,
172
- className: "".concat(_ListItemModule["default"].iconBox, " ").concat(_ListItemModule["default"].lhsBox, " ").concat(_ListItemModule["default"]["lhsJustifyContent_".concat(lhsJustifyContent)]),
173
- dataId: dataId ? "".concat(dataId, "_Icon") : "".concat(value.toLowerCase().replace("'", '_'), "_Icon")
174
+ className: "".concat(_ListItemModule["default"].iconBox, " ").concat(_ListItemModule["default"]["lhsJustifyContent_".concat(lhsJustifyContent)]),
175
+ "data-id": iconBoxDataId,
176
+ "data-test-id": iconBoxDataId
174
177
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
175
178
  align: lhsAlignContent,
176
- className: lhsAlignContent !== 'center' ? _ListItemModule["default"]["lhsBox_".concat(size)] : ''
179
+ className: _ListItemModule["default"].iconWrapper
177
180
  }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
178
181
  iconClass: iconClass,
179
182
  name: iconName,
@@ -182,7 +185,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
182
185
  className: iconClass
183
186
  }) : null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
184
187
  flexible: true,
185
- className: _ListItemModule["default"].leftBox
188
+ className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
186
189
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
187
190
  className: _ListItemModule["default"].titleBox
188
191
  }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -204,7 +207,7 @@ var ListItemWithIcon = /*#__PURE__*/function (_React$Component) {
204
207
  }, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
205
208
  name: "ZD-ticknew",
206
209
  size: "8"
207
- })) : null);
210
+ })) : null));
208
211
  }
209
212
  }]);
210
213
 
@@ -142,6 +142,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
142
142
  customRadioWrap = _customClass$customRa2 === void 0 ? '' : _customClass$customRa2,
143
143
  _customClass$customVa = customClass.customValueRightPlaceholder,
144
144
  customValueRightPlaceholder = _customClass$customVa === void 0 ? '' : _customClass$customVa;
145
+ var iconBoxDataId = "".concat(dataId, "_radio");
145
146
  return /*#__PURE__*/_react["default"].createElement(_ListContainer["default"], _extends({
146
147
  a11y: listA11y,
147
148
  size: size,
@@ -161,12 +162,14 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
161
162
  title: null,
162
163
  customProps: ListItemProps
163
164
  }, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
164
- align: lhsAlignContent,
165
- className: "".concat(_ListItemModule["default"].iconBox, " ").concat(_ListItemModule["default"].lhsBox, " ").concat(_ListItemModule["default"]["lhsJustifyContent_".concat(lhsJustifyContent)]),
166
- dataId: "".concat(dataId, "_radio")
165
+ className: _ListItemModule["default"].contentWrapper
166
+ }, /*#__PURE__*/_react["default"].createElement("div", {
167
+ className: "".concat(_ListItemModule["default"].iconBox, " ").concat(_ListItemModule["default"]["lhsJustifyContent_".concat(lhsJustifyContent)]),
168
+ "data-id": iconBoxDataId,
169
+ "data-test-id": iconBoxDataId
167
170
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
168
171
  align: lhsAlignContent,
169
- className: lhsAlignContent !== 'center' ? _ListItemModule["default"]["lhsBox_".concat(size)] : ''
172
+ className: lhsAlignContent !== 'center' ? _ListItemModule["default"].lhsBoxInner : ''
170
173
  }, /*#__PURE__*/_react["default"].createElement(_Radio["default"], {
171
174
  checked: checked,
172
175
  id: id,
@@ -179,7 +182,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
179
182
  }
180
183
  }))), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
181
184
  flexible: true,
182
- className: _ListItemModule["default"].leftBox
185
+ className: "".concat(_ListItemModule["default"].leftBox, " ").concat(_ListItemModule["default"].selfAlign_center)
183
186
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
184
187
  className: _ListItemModule["default"].titleBox
185
188
  }, value ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -192,7 +195,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
192
195
  }, (0, _utils.renderNode)(renderValueRightPlaceholderNode)) : null), secondaryValue ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
193
196
  "data-title": isDisabled ? null : secondaryValue,
194
197
  className: "".concat(_ListItemModule["default"].secondaryField, " ").concat(needMultiLineText ? _ListItemModule["default"].multiLine : _ListItemModule["default"].secondaryValue)
195
- }, secondaryValue) : null));
198
+ }, secondaryValue) : null)));
196
199
  }
197
200
  }]);
198
201
 
@@ -18,7 +18,7 @@ exports[`ListItem ListItem with renderValueRightPlaceholderNode & it's custom cl
18
18
  data-test-id="boxComponent"
19
19
  >
20
20
  <div
21
- class="titleBox shrinkOff"
21
+ class="titleBox shrinkOff"
22
22
  data-id="boxComponent"
23
23
  data-selector-id="box"
24
24
  data-test-id="boxComponent"
@@ -57,7 +57,7 @@ exports[`ListItem ListItem with renderValueRightPlaceholderNode 1`] = `
57
57
  data-test-id="boxComponent"
58
58
  >
59
59
  <div
60
- class="titleBox shrinkOff"
60
+ class="titleBox shrinkOff"
61
61
  data-id="boxComponent"
62
62
  data-selector-id="box"
63
63
  data-test-id="boxComponent"
@@ -96,7 +96,7 @@ exports[`ListItem Should render with renderBeforeChildren 1`] = `
96
96
  data-test-id="boxComponent"
97
97
  >
98
98
  <div
99
- class="titleBox shrinkOff"
99
+ class="titleBox shrinkOff"
100
100
  data-id="boxComponent"
101
101
  data-selector-id="box"
102
102
  data-test-id="boxComponent"
@@ -143,7 +143,7 @@ exports[`ListItem rendering the defult props 1`] = `
143
143
  data-test-id="boxComponent"
144
144
  >
145
145
  <div
146
- class="titleBox shrinkOff"
146
+ class="titleBox shrinkOff"
147
147
  data-id="boxComponent"
148
148
  data-selector-id="box"
149
149
  data-test-id="boxComponent"