@synerise/ds-avatar-group 2.0.13 → 2.1.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 +19 -0
- package/CLAUDE.md +1 -1
- package/dist/AvatarGroup.styles.js +2 -14
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@2.0.14...@synerise/ds-avatar-group@2.1.0) (2026-10-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.0.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@2.0.13...@synerise/ds-avatar-group@2.0.14) (2026-10-28)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-avatar-group
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.0.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@2.0.12...@synerise/ds-avatar-group@2.0.13) (2026-10-26)
|
|
7
26
|
|
|
8
27
|
|
package/CLAUDE.md
CHANGED
|
@@ -119,7 +119,7 @@ Styles in `AvatarGroup.styles.ts`. Key behaviors:
|
|
|
119
119
|
|
|
120
120
|
- **Collapsed state**: avatars overlap with negative `margin-left` (`-8px` small, `-12px` medium, `-16px` large); badge dots are invisible (`opacity: 0`); avatars have a `2px white` ring (`box-shadow`).
|
|
121
121
|
- **Hover state**: gap switches to `8px` for all avatars, badge dots fade in (`opacity: 1`), white ring disappears.
|
|
122
|
-
- `MoreInfo` is a styled `Avatar` with
|
|
122
|
+
- `MoreInfo` is a styled `Avatar` with `--ds-avatar-more-bg-default` background and `--ds-avatar-more-border-color-default` border — always appears after the overlapping group with `margin-left: 8px`.
|
|
123
123
|
|
|
124
124
|
## Key dependencies
|
|
125
125
|
|
|
@@ -11,23 +11,11 @@ const applyMarginLeft = (size) => {
|
|
|
11
11
|
const Group = /* @__PURE__ */ styled.div.withConfig({
|
|
12
12
|
displayName: "AvatarGroupstyles__Group",
|
|
13
13
|
componentId: "sc-19wl6zd-0"
|
|
14
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;&&{.ds-badge{transition:all 0.3s ease;", ";&:first-of-type{margin-left:0;}.ds-badge-dot{transition:all 0.3s ease;opacity:0;}.ant-avatar{pointer-events:none;box-shadow:0 0 0 2px
|
|
14
|
+
})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;&&{.ds-badge{transition:all 0.3s ease;", ";&:first-of-type{margin-left:0;}.ds-badge-dot{transition:all 0.3s ease;opacity:0;}.ant-avatar{pointer-events:none;box-shadow:0 0 0 2px var(--ds-avatar-group-border);}}&:hover{.ds-badge{margin-left:8px;&:first-of-type{margin-left:0;}.ds-badge-dot{opacity:1;}.ant-avatar{pointer-events:all;box-shadow:0 0 0 2px transparent;}}}}"], (props) => applyMarginLeft(props.size));
|
|
15
15
|
const MoreInfo = /* @__PURE__ */ styled(Avatar).withConfig({
|
|
16
16
|
displayName: "AvatarGroupstyles__MoreInfo",
|
|
17
17
|
componentId: "sc-19wl6zd-1"
|
|
18
|
-
})(["
|
|
19
|
-
theme
|
|
20
|
-
}) => theme.palette.white, ({
|
|
21
|
-
theme
|
|
22
|
-
}) => theme.palette["grey-300"], ({
|
|
23
|
-
theme
|
|
24
|
-
}) => theme.palette["grey-400"], ({
|
|
25
|
-
theme
|
|
26
|
-
}) => theme.palette["grey-400"], ({
|
|
27
|
-
theme
|
|
28
|
-
}) => theme.palette["grey-500"], ({
|
|
29
|
-
theme
|
|
30
|
-
}) => theme.palette["grey-500"]);
|
|
18
|
+
})(["&&&{margin-left:8px;background:var(--ds-avatar-more-bg-default);border:1px solid var(--ds-avatar-more-border-color-default);color:var(--ds-avatar-more-text-default);span{color:var(--ds-avatar-more-text-default) !important;}::after,::before{display:none;}&:hover,&:active{color:var(--ds-avatar-more-text-hover);border-color:var(--ds-avatar-more-border-color-hover);}}"]);
|
|
31
19
|
export {
|
|
32
20
|
Group,
|
|
33
21
|
MoreInfo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-avatar-group",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "AvatarGroup UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-avatar": "^2.0
|
|
46
|
-
"@synerise/ds-badge": "^2.0
|
|
47
|
-
"@synerise/ds-button": "^2.
|
|
48
|
-
"@synerise/ds-dropdown": "^2.
|
|
49
|
-
"@synerise/ds-icon": "^2.
|
|
50
|
-
"@synerise/ds-modal": "^2.
|
|
51
|
-
"@synerise/ds-table-new": "^2.
|
|
52
|
-
"@synerise/ds-tooltip": "^2.0
|
|
45
|
+
"@synerise/ds-avatar": "^2.1.0",
|
|
46
|
+
"@synerise/ds-badge": "^2.1.0",
|
|
47
|
+
"@synerise/ds-button": "^2.2.0",
|
|
48
|
+
"@synerise/ds-dropdown": "^2.2.0",
|
|
49
|
+
"@synerise/ds-icon": "^2.3.0",
|
|
50
|
+
"@synerise/ds-modal": "^2.2.0",
|
|
51
|
+
"@synerise/ds-table-new": "^2.3.0",
|
|
52
|
+
"@synerise/ds-tooltip": "^2.1.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"vitest": "4"
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"react": ">=16.9.0 <= 18.3.1",
|
|
60
60
|
"styled-components": "^5.3.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
|
|
63
63
|
}
|