@synerise/ds-avatar-group 2.0.2 → 2.0.3
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 +4 -0
- package/CLAUDE.md +5 -5
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@2.0.2...@synerise/ds-avatar-group@2.0.3) (2026-09-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-avatar-group
|
|
9
|
+
|
|
6
10
|
## [2.0.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@2.0.1...@synerise/ds-avatar-group@2.0.2) (2026-09-02)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-avatar-group
|
package/CLAUDE.md
CHANGED
|
@@ -53,7 +53,7 @@ Each item in the `dataSource` array. Extends `Omit<BadgeProps, 'children'>`:
|
|
|
53
53
|
|-------|------|-------------|
|
|
54
54
|
| `title` | `string \| ReactNode` | Modal header title |
|
|
55
55
|
| `listTitle` | `string \| ReactNode` | Title shown above the VirtualTable |
|
|
56
|
-
| `renderRowMenu` | `(record: DataSource) => JSX.Element` | Returns
|
|
56
|
+
| `renderRowMenu` | `(record: DataSource) => JSX.Element` | Returns the row actions dropdown content — a `ListWrapper` of `ListItem`s |
|
|
57
57
|
| `handleOk` | `() => void` | Primary action button handler |
|
|
58
58
|
| `handleInvite` | `() => void` | Invite button handler |
|
|
59
59
|
| `okText` | `string \| ReactNode` | Primary button label |
|
|
@@ -64,7 +64,7 @@ Each item in the `dataSource` array. Extends `Omit<BadgeProps, 'children'>`:
|
|
|
64
64
|
|
|
65
65
|
```tsx
|
|
66
66
|
import AvatarGroup, { type DataSource, type GroupModalSettings } from '@synerise/ds-avatar-group';
|
|
67
|
-
import
|
|
67
|
+
import ListItem, { ListWrapper } from '@synerise/ds-list-item';
|
|
68
68
|
|
|
69
69
|
const data = [
|
|
70
70
|
{
|
|
@@ -105,9 +105,9 @@ const data = [
|
|
|
105
105
|
handleOk: () => {},
|
|
106
106
|
handleInvite: () => {},
|
|
107
107
|
renderRowMenu: (record) => (
|
|
108
|
-
<
|
|
109
|
-
<
|
|
110
|
-
</
|
|
108
|
+
<ListWrapper>
|
|
109
|
+
<ListItem onClick={() => {}}>Remove</ListItem>
|
|
110
|
+
</ListWrapper>
|
|
111
111
|
),
|
|
112
112
|
}}
|
|
113
113
|
/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-avatar-group",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "AvatarGroup UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@synerise/ds-avatar": "^2.0.1",
|
|
46
46
|
"@synerise/ds-badge": "^2.0.1",
|
|
47
47
|
"@synerise/ds-button": "^2.0.1",
|
|
48
|
-
"@synerise/ds-dropdown": "^2.0.
|
|
48
|
+
"@synerise/ds-dropdown": "^2.0.2",
|
|
49
49
|
"@synerise/ds-icon": "^2.1.0",
|
|
50
|
-
"@synerise/ds-modal": "^2.0.
|
|
51
|
-
"@synerise/ds-table-new": "^2.0.
|
|
50
|
+
"@synerise/ds-modal": "^2.0.2",
|
|
51
|
+
"@synerise/ds-table-new": "^2.0.3",
|
|
52
52
|
"@synerise/ds-tooltip": "^2.0.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"styled-components": "^5.3.3",
|
|
58
58
|
"vitest": "4"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "788eba77544b291f7e938864a3994df4b4d904e2"
|
|
61
61
|
}
|