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

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,11 @@
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
+
1
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)
2
10
 
3
11
 
@@ -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.33",
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",