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

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.34](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.33...v3.0.0-beta.34) (2024-07-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Reuse col breakpoints ([0da7c54](https://github.com/occmundial/occ-atomic/commit/0da7c541bbf6ceb5df8a2c0011cc0e18068ad5fb))
7
+ * Revert some changes, remove unnecesary bp and add padding to grid ([6eb2e99](https://github.com/occmundial/occ-atomic/commit/6eb2e9960029d94c5fcd7eb23efc31366135a7ea))
8
+
9
+ # [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)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * Remove unnecesary div ([ab699f9](https://github.com/occmundial/occ-atomic/commit/ab699f9370b51dfdb7e57d21840ce452702aecf2))
15
+ * Resolve conflicts with beta ([e046e67](https://github.com/occmundial/occ-atomic/commit/e046e6717789a3d2ef8fd055d752a933eab18e33))
16
+ * Revert footer changes and remove row ([3345402](https://github.com/occmundial/occ-atomic/commit/33454022daeb247db464b297ba0596cdd5956cc1))
17
+ * Revert footer changes and remove row ([6345b4e](https://github.com/occmundial/occ-atomic/commit/6345b4ef24107127e0d1654ac32e7c3625c52442))
18
+
1
19
  # [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
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({
@@ -795,18 +795,6 @@ Object {
795
795
  },
796
796
  },
797
797
  "col": Object {
798
- "@media (min-width: 1200px)": Object {
799
- "padding": Array [
800
- 0,
801
- "12px",
802
- ],
803
- },
804
- "@media (min-width: 1500px)": Object {
805
- "padding": Array [
806
- 0,
807
- "12px",
808
- ],
809
- },
810
798
  "@media (min-width: 576px)": Object {
811
799
  "padding": Array [
812
800
  0,
@@ -819,12 +807,6 @@ Object {
819
807
  "12px",
820
808
  ],
821
809
  },
822
- "@media (min-width: 992px)": Object {
823
- "padding": Array [
824
- 0,
825
- "12px",
826
- ],
827
- },
828
810
  "boxSizing": "border-box",
829
811
  "minHeight": "1px",
830
812
  "padding": Array [
@@ -25,12 +25,6 @@ var styles = {
25
25
  padding: [0, _spacing["default"]['size-2']]
26
26
  }), _defineProperty(_col, "@media (min-width: ".concat(_grid["default"].sm, "px)"), {
27
27
  padding: [0, _spacing["default"]['size-3']]
28
- }), _defineProperty(_col, "@media (min-width: ".concat(_grid["default"].md, "px)"), {
29
- padding: [0, _spacing["default"]['size-3']]
30
- }), _defineProperty(_col, "@media (min-width: ".concat(_grid["default"].lg, "px)"), {
31
- padding: [0, _spacing["default"]['size-3']]
32
- }), _defineProperty(_col, "@media (min-width: ".concat(_grid["default"].xl, "px)"), {
33
- padding: [0, _spacing["default"]['size-3']]
34
28
  }), _col)
35
29
  };
36
30
 
@@ -18,18 +18,6 @@ Object {
18
18
  "-6px",
19
19
  ],
20
20
  },
21
- "@media (min-width: 1200px)": Object {
22
- "margin": Array [
23
- 0,
24
- "-12px",
25
- ],
26
- },
27
- "@media (min-width: 1500px)": Object {
28
- "margin": Array [
29
- 0,
30
- "-12px",
31
- ],
32
- },
33
21
  "@media (min-width: 576px)": Object {
34
22
  "margin": Array [
35
23
  0,
@@ -42,12 +30,6 @@ Object {
42
30
  "-12px",
43
31
  ],
44
32
  },
45
- "@media (min-width: 992px)": Object {
46
- "margin": Array [
47
- 0,
48
- "-12px",
49
- ],
50
- },
51
33
  "boxSizing": "border-box",
52
34
  },
53
35
  }
@@ -31,12 +31,6 @@ var _default = {
31
31
  margin: [0, "-".concat(_spacing["default"]["size-2"])]
32
32
  }), _defineProperty(_row, "@media (min-width: ".concat(_grid["default"].sm, "px)"), {
33
33
  margin: [0, "-".concat(_spacing["default"]["size-3"])]
34
- }), _defineProperty(_row, "@media (min-width: ".concat(_grid["default"].md, "px)"), {
35
- margin: [0, "-".concat(_spacing["default"]["size-3"])]
36
- }), _defineProperty(_row, "@media (min-width: ".concat(_grid["default"].lg, "px)"), {
37
- margin: [0, "-".concat(_spacing["default"]["size-3"])]
38
- }), _defineProperty(_row, "@media (min-width: ".concat(_grid["default"].xl, "px)"), {
39
- margin: [0, "-".concat(_spacing["default"]["size-3"])]
40
34
  }), _row)
41
35
  };
42
36
  exports["default"] = _default;
@@ -31,24 +31,41 @@ var _default = (_conFluid$con$Media = {
31
31
  }
32
32
  },
33
33
  con: {
34
- width: "calc(".concat(_grid["default"].full, " - ").concat(_spacing["default"]['size-5'], ")"),
35
- margin: 'auto'
34
+ width: _grid["default"].full,
35
+ margin: 'auto',
36
+ padding: [0, _spacing["default"]['size-3']]
36
37
  }
37
38
  }, _defineProperty(_conFluid$con$Media, "@media (min-width: ".concat(_grid["default"].xs, "px)"), {
38
39
  con: {
39
- width: "calc(".concat(_grid["default"].xsGrid, " - ").concat(_spacing["default"]['size-6'], ")")
40
+ width: _grid["default"].full,
41
+ padding: [0, _spacing["default"]['size-4']]
42
+ },
43
+ conFluid: {
44
+ width: _grid["default"].full,
45
+ padding: [0, _spacing["default"]['size-4']]
40
46
  }
41
47
  }), _defineProperty(_conFluid$con$Media, "@media (min-width: ".concat(_grid["default"].sm, "px)"), {
42
48
  con: {
43
- width: "calc(".concat(_grid["default"].smGrid, " - ").concat(_spacing["default"]['size-8'], ")")
49
+ width: _grid["default"].full,
50
+ padding: [0, _spacing["default"]['size-5']]
51
+ },
52
+ conFluid: {
53
+ width: _grid["default"].full,
54
+ padding: [0, _spacing["default"]['size-5']]
44
55
  }
45
56
  }), _defineProperty(_conFluid$con$Media, "@media (min-width: ".concat(_grid["default"].md, "px)"), {
46
57
  con: {
47
- width: "calc(".concat(_grid["default"].mdGrid, " - ").concat(_spacing["default"]['size-10'], ")")
58
+ width: _grid["default"].full,
59
+ padding: [0, _spacing["default"]['size-7']]
60
+ },
61
+ conFluid: {
62
+ width: _grid["default"].full,
63
+ padding: [0, _spacing["default"]['size-7']]
48
64
  }
49
65
  }), _defineProperty(_conFluid$con$Media, "@media (min-width: ".concat(_grid["default"].lg, "px)"), {
50
66
  con: {
51
- width: _grid["default"].lgGrid
67
+ width: _grid["default"].lgGrid,
68
+ padding: 0
52
69
  }
53
70
  }), _defineProperty(_conFluid$con$Media, "@media (min-width: ".concat(_grid["default"].xl, "px)"), {
54
71
  con: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "3.0.0-beta.32",
3
+ "version": "3.0.0-beta.34",
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",