@occmundial/occ-atomic 1.29.0 → 1.29.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.29.1](https://github.com/occmundial/occ-atomic/compare/v1.29.0...v1.29.1) (2023-04-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * data-testid in Droplist ([c02b8f8](https://github.com/occmundial/occ-atomic/commit/c02b8f89e205e0338630f52b3280b9d7d85f5990))
7
+
1
8
  # [1.29.0](https://github.com/occmundial/occ-atomic/compare/v1.28.0...v1.29.0) (2023-04-12)
2
9
 
3
10
 
@@ -425,7 +425,7 @@ var Droplist = /*#__PURE__*/function (_React$Component) {
425
425
  },
426
426
  className: "".concat(classes.item).concat(selectedGroup && currentItem === i ? " ".concat(classes.onFocus) : '').concat(!item.disabled ? " ".concat(classes.itemPointer) : '')
427
427
  }, testId && {
428
- 'data-testid': "".concat(testId, "__droplist-item-").concat(item[itemIdKey])
428
+ 'data-testid': "".concat(testId, "__droplist-item-").concat(i)
429
429
  }), /*#__PURE__*/_react["default"].createElement("div", null, item.iconName && /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
430
430
  iconName: item.iconName,
431
431
  width: iconSmall,
@@ -465,7 +465,7 @@ var Droplist = /*#__PURE__*/function (_React$Component) {
465
465
  },
466
466
  className: "".concat(classes.item).concat(selectedGroup && currentItem === i ? " ".concat(classes.onFocus) : '')
467
467
  }, testId && {
468
- 'data-testid': "".concat(testId, "__droplist-item-").concat(item[itemIdKey])
468
+ 'data-testid': "".concat(testId, "__droplist-item-").concat(i)
469
469
  }), /*#__PURE__*/_react["default"].createElement("div", null, item.iconName && /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
470
470
  iconName: item.iconName,
471
471
  width: 14,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "1.29.0",
3
+ "version": "1.29.1",
4
4
  "description": "Collection of shareable styled React components for OCC applications.",
5
5
  "homepage": "http://occmundial.github.io/occ-atomic",
6
6
  "main": "build/index.js",