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

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,13 @@
11
11
 
12
12
  # Release Notes
13
13
 
14
+ ## 3.28.3
15
+
16
+ ### Changes
17
+
18
+ - **List**: Фикс testId у айтемов
19
+ - **WithPopup**: Фикс рендера пропсы isDisabled
20
+
14
21
  ## 3.28.2
15
22
 
16
23
  ### Changes
@@ -8028,9 +8028,10 @@ var WithPopup = function(param) {
8028
8028
  ref: refs.setReference
8029
8029
  });
8030
8030
  var triggerElement = applyAction(trigger, _object_spread$Y({
8031
- isActive: isOpen,
8032
- isDisabled
8033
- }, !isTriggerWrapped ? referenceProps : void 0));
8031
+ isActive: isOpen
8032
+ }, isDisabled ? {
8033
+ isDisabled: true
8034
+ } : void 0, !isTriggerWrapped ? referenceProps : void 0));
8034
8035
  return /* @__PURE__ */ jsxs(Fragment, {
8035
8036
  children: [
8036
8037
  isTriggerWrapped ? /* @__PURE__ */ jsx("div", _object_spread_props$P(_object_spread$Y({
@@ -8279,7 +8280,7 @@ var List = function(param) {
8279
8280
  }, addDataTestId(testId), addDataAttributes(data)), {
8280
8281
  children: items.map(function(item, i) {
8281
8282
  var itemProps = _object_spread_props$N(_object_spread$W({
8282
- testId: getTestId(item.testId, "item-".concat(i))
8283
+ testId: getTestId(testId, "item-".concat(i))
8283
8284
  }, item), {
8284
8285
  shouldDrawSpacerAbove: item.shouldDrawSpacerAbove && i !== 0,
8285
8286
  shouldDrawSpacerBelow: item.shouldDrawSpacerBelow && i !== items.length - 1,