@true-engineering/true-react-common-ui-kit 3.28.1 → 3.28.2

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/README.md CHANGED
@@ -11,6 +11,12 @@
11
11
 
12
12
  # Release Notes
13
13
 
14
+ ## 3.28.2
15
+
16
+ ### Changes
17
+
18
+ - **List**: `shouldDrawSpacerBelow` и `shouldDrawSpacerAbove` теперь не рендерятся первыми и последними в списке
19
+
14
20
  ## 3.28.1
15
21
 
16
22
  ### Changes
@@ -8281,6 +8281,8 @@ var List = function(param) {
8281
8281
  var itemProps = _object_spread_props$N(_object_spread$W({
8282
8282
  testId: getTestId(item.testId, "item-".concat(i))
8283
8283
  }, item), {
8284
+ shouldDrawSpacerAbove: item.shouldDrawSpacerAbove && i !== 0,
8285
+ shouldDrawSpacerBelow: item.shouldDrawSpacerBelow && i !== items.length - 1,
8284
8286
  onClick: function(event) {
8285
8287
  return handleItemClick(event, item);
8286
8288
  }