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

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ # [3.0.0-beta.33](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.32...v3.0.0-beta.33) (2024-07-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Remove unnecesary div ([ab699f9](https://github.com/occmundial/occ-atomic/commit/ab699f9370b51dfdb7e57d21840ce452702aecf2))
7
+ * Resolve conflicts with beta ([e046e67](https://github.com/occmundial/occ-atomic/commit/e046e6717789a3d2ef8fd055d752a933eab18e33))
8
+ * Revert footer changes and remove row ([3345402](https://github.com/occmundial/occ-atomic/commit/33454022daeb247db464b297ba0596cdd5956cc1))
9
+ * Revert footer changes and remove row ([6345b4e](https://github.com/occmundial/occ-atomic/commit/6345b4ef24107127e0d1654ac32e7c3625c52442))
10
+
11
+ # [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)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * Fix icon for the previous button of Pager ([c86e51a](https://github.com/occmundial/occ-atomic/commit/c86e51afd8362bb45cf43b4e7f9c357b0e6a7f13))
17
+ * Replace ul for div in the Pager component ([9484174](https://github.com/occmundial/occ-atomic/commit/9484174789bcb4c7d32c0544b26d2e0ac88334c0))
18
+
1
19
  # [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
20
 
3
21
 
@@ -54,17 +54,12 @@ var Footer = function Footer(_ref) {
54
54
  className: columns.length > 0 ? classes.footer : classes.footerWithoutColumns
55
55
  }, /*#__PURE__*/_react["default"].createElement(_Grid["default"], {
56
56
  fluid: winWidth < _grid["default"].xl
57
- }, /*#__PURE__*/_react["default"].createElement(_Grid["default"].Row, {
57
+ }, /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
58
+ display: "flex",
59
+ direction: isMobile ? 'col' : 'row',
58
60
  className: classes.column
59
61
  }, columns.map(function (column, index) {
60
- return /*#__PURE__*/_react["default"].createElement(_Grid["default"].Col, {
61
- xxs: {
62
- col: 12
63
- },
64
- sm: {
65
- col: 6
66
- }
67
- }, /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
62
+ return /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
68
63
  key: index,
69
64
  flex: "1",
70
65
  className: !isMobile ? classes.list : ''
@@ -75,12 +70,8 @@ var Footer = function Footer(_ref) {
75
70
  key: list.key,
76
71
  listClassName: listClassName
77
72
  });
78
- })));
79
- })), /*#__PURE__*/_react["default"].createElement(_Grid["default"].Row, null, /*#__PURE__*/_react["default"].createElement(_Grid["default"].Col, {
80
- xxs: {
81
- col: 12
82
- }
83
- }, /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
73
+ }));
74
+ })), /*#__PURE__*/_react["default"].createElement(_Flexbox["default"], {
84
75
  display: "flex",
85
76
  alignItems: "start",
86
77
  className: classes.bottomWrap,
@@ -119,7 +110,7 @@ var Footer = function Footer(_ref) {
119
110
  })), copyText && /*#__PURE__*/_react["default"].createElement(_Text["default"], {
120
111
  small: true,
121
112
  mid: true
122
- }, copyText)), bottomItem)))));
113
+ }, copyText)), bottomItem)));
123
114
  };
124
115
 
125
116
  var columnPropTypes = _propTypes["default"].arrayOf(_propTypes["default"].arrayOf(_propTypes["default"].shape({
@@ -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.33",
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",