@synerise/ds-avatar 1.0.15 → 1.0.17
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 +16 -0
- package/dist/Avatar.styles.js +7 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.17](https://github.com/synerise/synerise-design/compare/@synerise/ds-avatar@1.0.16...@synerise/ds-avatar@1.0.17) (2025-07-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-avatar
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.16](https://github.com/synerise/synerise-design/compare/@synerise/ds-avatar@1.0.15...@synerise/ds-avatar@1.0.16) (2025-07-17)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-avatar
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.0.15](https://github.com/synerise/synerise-design/compare/@synerise/ds-avatar@1.0.14...@synerise/ds-avatar@1.0.15) (2025-07-15)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-avatar
|
package/dist/Avatar.styles.js
CHANGED
|
@@ -47,17 +47,21 @@ var applyIconBadgePosition = function applyIconBadgePosition(props) {
|
|
|
47
47
|
shape = _props$shape === void 0 ? 'circle' : _props$shape,
|
|
48
48
|
_props$size = props.size,
|
|
49
49
|
size = _props$size === void 0 ? 'medium' : _props$size;
|
|
50
|
-
|
|
50
|
+
var badgeKey = "" + shape + size;
|
|
51
|
+
return css(["top:", ";right:", ";"], ICON_BADGE_POSITION[badgeKey] || '0', ICON_BADGE_POSITION[badgeKey] || '0');
|
|
51
52
|
};
|
|
52
53
|
var applyBadgePosition = function applyBadgePosition(props) {
|
|
53
54
|
var _props$shape2 = props.shape,
|
|
54
55
|
shape = _props$shape2 === void 0 ? 'circle' : _props$shape2,
|
|
55
56
|
_props$size2 = props.size,
|
|
56
57
|
size = _props$size2 === void 0 ? 'medium' : _props$size2;
|
|
57
|
-
|
|
58
|
+
var badgeKey = "" + shape + size;
|
|
59
|
+
return css(["top:", ";right:", ";"], BADGE_POSITION[badgeKey] || '0', BADGE_POSITION[badgeKey] || '0');
|
|
58
60
|
};
|
|
59
61
|
var applyFontSize = function applyFontSize(props) {
|
|
60
|
-
|
|
62
|
+
var _props$size3 = props.size,
|
|
63
|
+
size = _props$size3 === void 0 ? 'medium' : _props$size3;
|
|
64
|
+
return css(["", ";"], MACRO_MAPPING[size]);
|
|
61
65
|
};
|
|
62
66
|
export default styled(function (_ref) {
|
|
63
67
|
var backgroundColorHue = _ref.backgroundColorHue,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-avatar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Avatar UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-badge": "^1.0.
|
|
38
|
-
"@synerise/ds-icon": "^1.6.
|
|
39
|
-
"@synerise/ds-status": "^1.2.
|
|
40
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
41
|
-
"@synerise/ds-typography": "^1.0.
|
|
42
|
-
"@synerise/ds-utils": "^1.
|
|
37
|
+
"@synerise/ds-badge": "^1.0.17",
|
|
38
|
+
"@synerise/ds-icon": "^1.6.2",
|
|
39
|
+
"@synerise/ds-status": "^1.2.11",
|
|
40
|
+
"@synerise/ds-tooltip": "^1.1.15",
|
|
41
|
+
"@synerise/ds-typography": "^1.0.17",
|
|
42
|
+
"@synerise/ds-utils": "^1.4.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@synerise/ds-core": "*",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": ">=16.9.0 <= 18.3.1",
|
|
48
48
|
"styled-components": "^5.3.3"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b35b1875727156fe9f5b3bad55aed5ca447c8c8d"
|
|
51
51
|
}
|