@occmundial/occ-atomic 1.35.0 → 1.37.0

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,18 @@
1
+ # [1.37.0](https://github.com/occmundial/occ-atomic/compare/v1.36.0...v1.37.0) (2023-10-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add new font ([e83f61a](https://github.com/occmundial/occ-atomic/commit/e83f61aa8474ae64f44a75c7b3db06b292084a7f))
7
+ * Remove text transform style ([5b96d63](https://github.com/occmundial/occ-atomic/commit/5b96d63c4ed04f4de6fb3366236da4decbb59f18))
8
+
9
+ # [1.36.0](https://github.com/occmundial/occ-atomic/compare/v1.35.0...v1.36.0) (2023-10-17)
10
+
11
+
12
+ ### Features
13
+
14
+ * Default Avatar size and titleCase for Text ([5dc6d69](https://github.com/occmundial/occ-atomic/commit/5dc6d69191a4e76da9ab9a61721de4d39759c0fc))
15
+
1
16
  # [1.35.0](https://github.com/occmundial/occ-atomic/compare/v1.34.0...v1.35.0) (2023-10-10)
2
17
 
3
18
 
@@ -36,9 +36,9 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
36
36
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
37
37
 
38
38
  /**
39
- * The Avatar component shows a rounded avatar with a profile picture, a gender icon or the first two capital letters of a name.
40
- * You can use more than one property as a fallback in case one of the props is empty or wrong.
41
- */
39
+ * The Avatar component shows a rounded avatar with a profile picture, a gender icon or the first two capital letters of a name.
40
+ * You can use more than one property as a fallback in case one of the props is empty or wrong.
41
+ */
42
42
  var Avatar = /*#__PURE__*/function (_React$Component) {
43
43
  _inherits(Avatar, _React$Component);
44
44
 
@@ -9,6 +9,8 @@ var _fonts = _interopRequireDefault(require("../../subatomic/fonts"));
9
9
 
10
10
  var _icons = _interopRequireDefault(require("../../subatomic/icons"));
11
11
 
12
+ var _colors = _interopRequireDefault(require("../../subatomic/colors"));
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
15
 
14
16
  var _default = {
@@ -34,12 +36,14 @@ var _default = {
34
36
  },
35
37
  capital: {
36
38
  fontFamily: _fonts["default"].body,
37
- fontSize: 70 * 0.4,
38
- lineHeight: '70px',
39
+ fontSize: '57px',
40
+ lineHeight: '72px',
39
41
  fontWeight: '600',
40
- background: '#dae1e5',
41
- color: '#afb8c0',
42
- textAlign: 'center'
42
+ background: _colors["default"].grey100,
43
+ color: _colors["default"].grey200,
44
+ textAlign: 'center',
45
+ letterSpacing: -2,
46
+ fontStyle: 'normal'
43
47
  }
44
48
  };
45
49
  exports["default"] = _default;
@@ -64,7 +64,6 @@ var _default = {
64
64
  letterSpacing: 1,
65
65
  textAlign: 'center',
66
66
  textDecoration: 'none',
67
- textTransform: 'uppercase',
68
67
  whiteSpace: 'nowrap',
69
68
  transition: '0.3s all',
70
69
  cursor: 'pointer',
@@ -168,6 +168,9 @@ var _default = {
168
168
  },
169
169
  bottomXLarge: {
170
170
  marginBottom: _spacing["default"].xLarge
171
+ },
172
+ titleCase: {
173
+ textTransform: 'capitalize'
171
174
  }
172
175
  };
173
176
  exports["default"] = _default;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- body: "'HK Grotesk', sans-serif",
8
+ body: "'OccText', sans-serif",
9
9
  title: "'Nunito Sans', sans-serif"
10
10
  };
11
11
  exports["default"] = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@occmundial/occ-atomic",
3
- "version": "1.35.0",
3
+ "version": "1.37.0",
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",