@occmundial/occ-atomic 3.0.0-beta.53 → 3.0.0-beta.55

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [3.0.0-beta.55](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.54...v3.0.0-beta.55) (2024-09-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Change display flex for grid in columns links ([cfd1291](https://github.com/occmundial/occ-atomic/commit/cfd12917a84d009d8d6176861592533ffc491d1f))
7
+
8
+ # [3.0.0-beta.54](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.53...v3.0.0-beta.54) (2024-09-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Change font size of bottom links and copyright ([6706894](https://github.com/occmundial/occ-atomic/commit/6706894747f3cd2497f6c3eae290564948134a9d))
14
+
1
15
  # [3.0.0-beta.53](https://github.com/occmundial/occ-atomic/compare/v3.0.0-beta.52...v3.0.0-beta.53) (2024-09-04)
2
16
 
3
17
 
@@ -49,8 +49,7 @@ var Footer = function Footer(_ref) {
49
49
  className: classes.column
50
50
  }, columns.map(function (column, index) {
51
51
  return /*#__PURE__*/_react["default"].createElement("div", {
52
- key: index,
53
- className: classes.listContainer
52
+ key: index
54
53
  }, column.map(function (list) {
55
54
  return /*#__PURE__*/_react["default"].createElement(_List["default"], {
56
55
  key: list.key,
@@ -19,7 +19,7 @@ var _fonts = _interopRequireDefault(require("../tokens/fonts.json"));
19
19
 
20
20
  var _styles = require("../Text/styles");
21
21
 
22
- var _footerContainer, _column, _listContainer;
22
+ var _footerContainer, _column;
23
23
 
24
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
25
 
@@ -41,19 +41,18 @@ var _default = {
41
41
  rowGap: _spacing["default"]['size-8']
42
42
  }), _footerContainer),
43
43
  column: (_column = {
44
- display: 'flex',
45
- flexDirection: 'column',
46
- flexWrap: 'wrap'
44
+ display: 'grid'
47
45
  }, _defineProperty(_column, "@media (min-width: ".concat(_grid["default"].xs, "px)"), {
48
- flexDirection: 'row',
46
+ gridTemplateColumns: 'repeat(2, minmax(0, 1fr))',
49
47
  columnGap: _spacing["default"]['size-4'],
50
48
  rowGap: _spacing["default"]['size-7']
51
49
  }), _defineProperty(_column, "@media (min-width: ".concat(_grid["default"].md, "px)"), {
52
50
  columnGap: _spacing["default"]['size-5'],
53
- rowGap: 0
51
+ rowGap: 0,
52
+ gridTemplateColumns: 'repeat(4, minmax(0, 1fr))'
54
53
  }), _column),
55
54
  link: {
56
- font: (0, _styles.parseFontValue)(_fonts["default"]['body-regular']),
55
+ font: (0, _styles.parseFontValue)(_fonts["default"]['body-small']),
57
56
  color: _colors["default"].text.corp.secondary,
58
57
  textDecoration: 'none',
59
58
  cursor: 'pointer',
@@ -75,13 +74,6 @@ var _default = {
75
74
  position: 'relative',
76
75
  display: 'inline-block'
77
76
  }),
78
- listContainer: (_listContainer = {
79
- flexBasis: '100%'
80
- }, _defineProperty(_listContainer, "@media (min-width: ".concat(_grid["default"].xs, "px)"), {
81
- flexBasis: "calc(50% - ".concat(_spacing["default"]['size-4'], ")")
82
- }), _defineProperty(_listContainer, "@media (min-width: ".concat(_grid["default"].md, "px)"), {
83
- flexBasis: "calc(25% - ".concat(_spacing["default"]['size-5'], ")")
84
- }), _listContainer),
85
77
  bottomSection: {
86
78
  display: 'flex',
87
79
  flexDirection: 'column',
@@ -107,7 +99,7 @@ var _default = {
107
99
  display: 'block'
108
100
  }),
109
101
  copyright: {
110
- font: (0, _styles.parseFontValue)(_fonts["default"]['body-regular']),
102
+ font: (0, _styles.parseFontValue)(_fonts["default"]['body-small']),
111
103
  color: _colors["default"].text.corp.secondary,
112
104
  '& > p': {
113
105
  margin: 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "3.0.0-beta.53",
3
+ "version": "3.0.0-beta.55",
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",