@occmundial/occ-atomic 1.33.0 → 1.34.0

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,15 @@
1
+ # [1.34.0](https://github.com/occmundial/occ-atomic/compare/v1.33.0...v1.34.0) (2023-09-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Used data-testid instead id ([463547b](https://github.com/occmundial/occ-atomic/commit/463547b93f15bff17e772a724dd8660378f5437c))
7
+
8
+
9
+ ### Features
10
+
11
+ * Added modal, navlogo and navcustom ids ([8292db7](https://github.com/occmundial/occ-atomic/commit/8292db7877edc2bf2e18bb675266da96e66c5c85))
12
+
1
13
  # [1.33.0](https://github.com/occmundial/occ-atomic/compare/v1.32.1...v1.33.0) (2023-08-22)
2
14
 
3
15
 
@@ -136,6 +136,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
136
136
  })));
137
137
 
138
138
  return /*#__PURE__*/_react["default"].createElement("div", {
139
+ "data-testid": testId,
139
140
  className: "".concat(classes.overlay, " ").concat(show ? classes.overlayShow : classes.overlayHide).concat(!onClose ? " ".concat(classes.noClose) : ''),
140
141
  onClick: onClose,
141
142
  onTransitionEnd: onTransitionEnd
@@ -170,6 +170,7 @@ var NavTab = /*#__PURE__*/function (_React$Component) {
170
170
  value: function renderLogo(item) {
171
171
  var classes = this.props.classes;
172
172
  return /*#__PURE__*/_react["default"].createElement("div", {
173
+ "data-testid": item.testId,
173
174
  className: classes.logo,
174
175
  key: item.key
175
176
  }, item.logo);
@@ -178,6 +179,7 @@ var NavTab = /*#__PURE__*/function (_React$Component) {
178
179
  key: "renderCustom",
179
180
  value: function renderCustom(item) {
180
181
  return /*#__PURE__*/_react["default"].createElement("div", {
182
+ "data-testid": item.testId,
181
183
  key: item.key
182
184
  }, item.custom);
183
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
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",