@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
|
|
package/build/Avatar/Avatar.js
CHANGED
@@ -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:
|
38
|
-
lineHeight: '
|
39
|
+
fontSize: '57px',
|
40
|
+
lineHeight: '72px',
|
39
41
|
fontWeight: '600',
|
40
|
-
background:
|
41
|
-
color:
|
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;
|
package/build/Button/styles.js
CHANGED
package/build/Text/styles.js
CHANGED
package/build/subatomic/fonts.js
CHANGED
package/package.json
CHANGED