@occmundial/occ-atomic 3.0.0-beta.31 → 3.0.0-beta.32

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [3.0.0-beta.32](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.31...v3.0.0-beta.32) (2024-07-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Fix icon for the previous button of Pager ([c86e51a](https://github.com/occmundial/occ-atomic/commit/c86e51afd8362bb45cf43b4e7f9c357b0e6a7f13))
7
+ * Replace ul for div in the Pager component ([9484174](https://github.com/occmundial/occ-atomic/commit/9484174789bcb4c7d32c0544b26d2e0ac88334c0))
8
+
1
9
  # [3.0.0-beta.31](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.30...v3.0.0-beta.31) (2024-07-16)
2
10
 
3
11
 
@@ -124,14 +124,14 @@ function Pager(_ref) {
124
124
  return elements;
125
125
  }
126
126
 
127
- return /*#__PURE__*/_react["default"].createElement("ul", {
127
+ return /*#__PURE__*/_react["default"].createElement("div", {
128
128
  className: "".concat(classes.pager).concat(className ? " ".concat(className) : '')
129
129
  }, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
130
130
  className: classes.prev,
131
131
  disabled: currentPage === 1 || disabled,
132
132
  theme: "secondary",
133
133
  onClick: handlePrevPage,
134
- iconLeft: "chevron-left",
134
+ icon: "arrow-left",
135
135
  size: !previousLabel ? 'lg' : 'sm'
136
136
  }, previousLabel), !hideNumbers && getPagination().map(function (_ref2) {
137
137
  var key = _ref2.key,
@@ -160,7 +160,7 @@ function Pager(_ref) {
160
160
  disabled: currentPage === pageCount || disabled,
161
161
  theme: "secondary",
162
162
  onClick: handleNextPage,
163
- iconRight: "chevron-right",
163
+ iconRight: "arrow-right",
164
164
  size: !nextLabel ? 'lg' : 'sm'
165
165
  }, nextLabel));
166
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "3.0.0-beta.31",
3
+ "version": "3.0.0-beta.32",
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",