@synerise/ds-avatar-group 1.1.26 → 1.1.28
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 +8 -0
- package/dist/AvatarGroup.d.ts +2 -2
- package/dist/AvatarGroup.js +39 -56
- package/dist/AvatarGroup.styles.d.ts +3 -3
- package/dist/AvatarGroup.styles.js +28 -36
- package/dist/AvatarGroup.types.d.ts +3 -3
- package/dist/AvatarGroup.types.js +1 -1
- package/dist/Modal/GroupModal.d.ts +2 -2
- package/dist/Modal/GroupModal.js +48 -92
- package/dist/Modal/GroupModal.styles.d.ts +3 -3
- package/dist/Modal/GroupModal.styles.js +10 -5
- package/dist/Modal/GroupModal.types.d.ts +1 -1
- package/dist/Modal/GroupModal.types.js +1 -1
- package/dist/index.js +4 -1
- package/dist/modules.d.js +1 -1
- package/dist/modules.d.ts +0 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.1.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@1.1.27...@synerise/ds-avatar-group@1.1.28) (2026-04-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-avatar-group
|
|
9
|
+
|
|
10
|
+
## [1.1.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@1.1.26...@synerise/ds-avatar-group@1.1.27) (2026-03-24)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-avatar-group
|
|
13
|
+
|
|
6
14
|
## [1.1.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-avatar-group@1.1.25...@synerise/ds-avatar-group@1.1.26) (2026-03-20)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-avatar-group
|
package/dist/AvatarGroup.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AvatarGroupProps } from './AvatarGroup.types';
|
|
3
3
|
declare const AvatarGroup: React.FC<AvatarGroupProps>;
|
|
4
4
|
export default AvatarGroup;
|
package/dist/AvatarGroup.js
CHANGED
|
@@ -1,69 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
import React from
|
|
3
|
-
import Avatar from
|
|
4
|
-
import Badge from
|
|
5
|
-
import Tooltip from
|
|
6
|
-
import
|
|
7
|
-
import GroupModal from
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
modalVisible = _React$useState[0],
|
|
19
|
-
setModalVisible = _React$useState[1];
|
|
20
|
-
var hideModal = React.useCallback(function () {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import Avatar from "@synerise/ds-avatar";
|
|
4
|
+
import Badge from "@synerise/ds-badge";
|
|
5
|
+
import Tooltip from "@synerise/ds-tooltip/dist/Tooltip";
|
|
6
|
+
import { MoreInfo, Group } from "./AvatarGroup.styles.js";
|
|
7
|
+
import GroupModal from "./Modal/GroupModal.js";
|
|
8
|
+
const AvatarGroup = ({
|
|
9
|
+
dataSource,
|
|
10
|
+
size = "medium",
|
|
11
|
+
hasStatus,
|
|
12
|
+
numberOfVisibleUsers = 3,
|
|
13
|
+
moreInfoTooltip,
|
|
14
|
+
groupModal
|
|
15
|
+
}) => {
|
|
16
|
+
const [modalVisible, setModalVisible] = React.useState(false);
|
|
17
|
+
const hideModal = React.useCallback(() => {
|
|
21
18
|
setModalVisible(false);
|
|
22
19
|
}, [setModalVisible]);
|
|
23
|
-
|
|
20
|
+
const showModal = React.useCallback(() => {
|
|
24
21
|
if (groupModal) {
|
|
25
22
|
setModalVisible(true);
|
|
26
23
|
}
|
|
27
24
|
}, [setModalVisible, groupModal]);
|
|
28
|
-
|
|
29
|
-
return dataSource.map(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
});
|
|
25
|
+
const dataSourceWithKeys = React.useMemo(() => {
|
|
26
|
+
return dataSource.map((avatar, index) => ({
|
|
27
|
+
...avatar,
|
|
28
|
+
key: `${avatar.initials}-${index}`
|
|
29
|
+
}));
|
|
34
30
|
}, [dataSource]);
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return diff > 0 &&
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
size: size
|
|
42
|
-
}, "+", diff));
|
|
31
|
+
const renderMoreInfo = React.useMemo(() => {
|
|
32
|
+
const diff = dataSource.length - numberOfVisibleUsers;
|
|
33
|
+
return diff > 0 && /* @__PURE__ */ jsx(Tooltip, { title: `${diff} ${moreInfoTooltip}`, children: /* @__PURE__ */ jsxs(MoreInfo, { onClick: showModal, size, children: [
|
|
34
|
+
"+",
|
|
35
|
+
diff
|
|
36
|
+
] }) });
|
|
43
37
|
}, [dataSource, numberOfVisibleUsers, size, moreInfoTooltip, showModal]);
|
|
44
|
-
|
|
38
|
+
const renderGroupModal = React.useMemo(() => {
|
|
45
39
|
if (!groupModal) {
|
|
46
40
|
return null;
|
|
47
41
|
}
|
|
48
|
-
return
|
|
49
|
-
visible: modalVisible,
|
|
50
|
-
hideModal: hideModal,
|
|
51
|
-
dataSource: dataSource,
|
|
52
|
-
showStatus: Boolean(hasStatus)
|
|
53
|
-
}));
|
|
42
|
+
return /* @__PURE__ */ jsx(GroupModal, { ...groupModal, visible: modalVisible, hideModal, dataSource, showStatus: Boolean(hasStatus) });
|
|
54
43
|
}, [dataSource, groupModal, modalVisible, hideModal, hasStatus]);
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
size: size,
|
|
64
|
-
shape: "circle",
|
|
65
|
-
hasStatus: hasStatus
|
|
66
|
-
}, avatar.avatarProps), avatar.initials));
|
|
67
|
-
}), renderMoreInfo, renderGroupModal);
|
|
44
|
+
return /* @__PURE__ */ jsxs(Group, { size, className: "ds-avatar-group", children: [
|
|
45
|
+
dataSourceWithKeys.slice(0, numberOfVisibleUsers).map((avatar) => /* @__PURE__ */ jsx(Badge, { status: avatar.status, children: /* @__PURE__ */ jsx(Avatar, { size, shape: "circle", hasStatus, ...avatar.avatarProps, children: avatar.initials }) }, avatar.key)),
|
|
46
|
+
renderMoreInfo,
|
|
47
|
+
renderGroupModal
|
|
48
|
+
] });
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
AvatarGroup as default
|
|
68
52
|
};
|
|
69
|
-
export default AvatarGroup;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Group: import(
|
|
1
|
+
import { Size } from './AvatarGroup.types';
|
|
2
|
+
export declare const Group: import('styled-components').StyledComponent<"div", any, {
|
|
3
3
|
size?: Size;
|
|
4
4
|
}, never>;
|
|
5
|
-
export declare const MoreInfo: import(
|
|
5
|
+
export declare const MoreInfo: import('styled-components').StyledComponent<({ backgroundColor, backgroundColorHue, children, disabled, hasStatus, iconComponent, iconScale, tooltip, size, src, ...antdProps }: import('@synerise/ds-avatar').AvatarProps) => React.JSX.Element, any, {
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
}, never>;
|
|
@@ -1,42 +1,34 @@
|
|
|
1
|
-
import styled, { css } from
|
|
2
|
-
import Avatar from
|
|
3
|
-
|
|
4
|
-
small:
|
|
5
|
-
medium:
|
|
6
|
-
large:
|
|
1
|
+
import styled, { css } from "styled-components";
|
|
2
|
+
import Avatar from "@synerise/ds-avatar";
|
|
3
|
+
const MARGINS = {
|
|
4
|
+
small: "-8px",
|
|
5
|
+
medium: "-12px",
|
|
6
|
+
large: "-16px"
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
return css(["margin-left:", ";"], size ? MARGINS[size] :
|
|
8
|
+
const applyMarginLeft = (size) => {
|
|
9
|
+
return css(["margin-left:", ";"], size ? MARGINS[size] : "16px");
|
|
10
10
|
};
|
|
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;&&{.ant-badge{transition:all 0.3s ease;", ";&:first-of-type{margin-left:0;}.ant-badge-dot{transition:all 0.3s ease;opacity:0;}.ant-avatar{pointer-events:none;box-shadow:0 0 0 2px ", ";}}&:hover{.ant-badge{margin-left:8px;&:first-of-type{margin-left:0;}.ant-badge-dot{opacity:1;}.ant-avatar{pointer-events:all;box-shadow:0 0 0 2px ", ";}}}}"],
|
|
15
|
-
|
|
16
|
-
}, function (props) {
|
|
17
|
-
return props.theme.palette.white + "FF";
|
|
18
|
-
}, function (props) {
|
|
19
|
-
return props.theme.palette.white + "00";
|
|
20
|
-
});
|
|
21
|
-
export var MoreInfo = styled(Avatar).withConfig({
|
|
14
|
+
})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-start;&&{.ant-badge{transition:all 0.3s ease;", ";&:first-of-type{margin-left:0;}.ant-badge-dot{transition:all 0.3s ease;opacity:0;}.ant-avatar{pointer-events:none;box-shadow:0 0 0 2px ", ";}}&:hover{.ant-badge{margin-left:8px;&:first-of-type{margin-left:0;}.ant-badge-dot{opacity:1;}.ant-avatar{pointer-events:all;box-shadow:0 0 0 2px ", ";}}}}"], (props) => applyMarginLeft(props.size), (props) => `${props.theme.palette.white}FF`, (props) => `${props.theme.palette.white}00`);
|
|
15
|
+
const MoreInfo = /* @__PURE__ */ styled(Avatar).withConfig({
|
|
22
16
|
displayName: "AvatarGroupstyles__MoreInfo",
|
|
23
17
|
componentId: "sc-19wl6zd-1"
|
|
24
|
-
})(["&&{margin-left:8px;background:", ";border:1px solid ", ";color:", ";span{color:", " !important;}::after,::before{display:none;}&:hover,&:active{color:", ";border-color:", ";}}"],
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return theme.palette['grey-500'];
|
|
42
|
-
});
|
|
18
|
+
})(["&&{margin-left:8px;background:", ";border:1px solid ", ";color:", ";span{color:", " !important;}::after,::before{display:none;}&:hover,&:active{color:", ";border-color:", ";}}"], ({
|
|
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"]);
|
|
31
|
+
export {
|
|
32
|
+
Group,
|
|
33
|
+
MoreInfo
|
|
34
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AvatarProps } from '@synerise/ds-avatar/dist/Avatar.types';
|
|
3
|
+
import { BadgeProps } from '@synerise/ds-badge/dist/Badge.types';
|
|
4
4
|
export type Size = 'small' | 'medium' | 'large';
|
|
5
5
|
export type DataSource = Omit<BadgeProps, 'children'> & {
|
|
6
6
|
initials: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { GroupModalProps } from './GroupModal.types';
|
|
3
3
|
declare const GroupModal: ({ renderRowMenu, title, listTitle, dataSource, visible, hideModal, showStatus, handleInvite, handleOk, okText, cancelText, inviteText, }: GroupModalProps) => React.JSX.Element;
|
|
4
4
|
export default GroupModal;
|
package/dist/Modal/GroupModal.js
CHANGED
|
@@ -1,99 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
import React from
|
|
3
|
-
import Avatar from
|
|
4
|
-
import Badge from
|
|
5
|
-
import Button from
|
|
6
|
-
import Dropdown from
|
|
7
|
-
import Icon, { OptionHorizontalM } from
|
|
8
|
-
import ModalProxy from
|
|
9
|
-
import { TableCell, VirtualTable } from
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import Avatar from "@synerise/ds-avatar";
|
|
4
|
+
import Badge from "@synerise/ds-badge";
|
|
5
|
+
import Button from "@synerise/ds-button";
|
|
6
|
+
import Dropdown from "@synerise/ds-dropdown";
|
|
7
|
+
import Icon, { OptionHorizontalM } from "@synerise/ds-icon";
|
|
8
|
+
import ModalProxy from "@synerise/ds-modal";
|
|
9
|
+
import { TableCell, VirtualTable } from "@synerise/ds-table";
|
|
10
|
+
import { ModalFooter, FooterSettings, FooterActions } from "./GroupModal.styles.js";
|
|
11
|
+
const GroupModal = ({
|
|
12
|
+
renderRowMenu,
|
|
13
|
+
title,
|
|
14
|
+
listTitle,
|
|
15
|
+
dataSource,
|
|
16
|
+
visible,
|
|
17
|
+
hideModal,
|
|
18
|
+
showStatus,
|
|
19
|
+
handleInvite,
|
|
20
|
+
handleOk,
|
|
21
|
+
okText,
|
|
22
|
+
cancelText,
|
|
23
|
+
inviteText
|
|
24
|
+
}) => {
|
|
25
|
+
const getColums = React.useMemo(() => {
|
|
25
26
|
return [{
|
|
26
|
-
key:
|
|
27
|
-
dataIndex:
|
|
28
|
-
render:
|
|
29
|
-
return
|
|
30
|
-
avatar: /*#__PURE__*/React.createElement(Badge, {
|
|
31
|
-
key: record.id,
|
|
32
|
-
status: record.status
|
|
33
|
-
}, /*#__PURE__*/React.createElement(Avatar, _extends({}, avatar, {
|
|
34
|
-
hasStatus: showStatus,
|
|
35
|
-
size: "medium",
|
|
36
|
-
shape: "circle"
|
|
37
|
-
}), record.initials)),
|
|
38
|
-
textSize: "small",
|
|
39
|
-
title: record.firstname + " " + record.lastname,
|
|
40
|
-
labels: [record.email]
|
|
41
|
-
});
|
|
27
|
+
key: "avatarProps",
|
|
28
|
+
dataIndex: "avatarProps",
|
|
29
|
+
render: (avatar, record) => {
|
|
30
|
+
return /* @__PURE__ */ jsx(TableCell.AvatarLabelCell, { avatar: /* @__PURE__ */ jsx(Badge, { status: record.status, children: /* @__PURE__ */ jsx(Avatar, { ...avatar, hasStatus: showStatus, size: "medium", shape: "circle", children: record.initials }) }, record.id), textSize: "small", title: `${record.firstname} ${record.lastname}`, labels: [record.email] });
|
|
42
31
|
}
|
|
43
32
|
}, {
|
|
44
|
-
key:
|
|
45
|
-
dataIndex:
|
|
33
|
+
key: "actions",
|
|
34
|
+
dataIndex: "id",
|
|
46
35
|
width: 72,
|
|
47
|
-
render:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}, /*#__PURE__*/React.createElement(Dropdown, {
|
|
51
|
-
asChild: true,
|
|
52
|
-
overlay: renderRowMenu(record),
|
|
53
|
-
trigger: ['click'],
|
|
54
|
-
placement: "bottomRight",
|
|
55
|
-
popoverProps: {
|
|
56
|
-
testId: 'avatar-group-actions'
|
|
57
|
-
}
|
|
58
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
59
|
-
type: "ghost",
|
|
60
|
-
mode: "single-icon"
|
|
61
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
62
|
-
component: /*#__PURE__*/React.createElement(OptionHorizontalM, null)
|
|
63
|
-
}))));
|
|
64
|
-
}
|
|
36
|
+
render: (id, record) => /* @__PURE__ */ jsx(TableCell.ActionCell, { contentAlign: "right", children: /* @__PURE__ */ jsx(Dropdown, { asChild: true, overlay: renderRowMenu(record), trigger: ["click"], placement: "bottomRight", popoverProps: {
|
|
37
|
+
testId: "avatar-group-actions"
|
|
38
|
+
}, children: /* @__PURE__ */ jsx(Button, { type: "ghost", mode: "single-icon", children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(OptionHorizontalM, {}) }) }) }) })
|
|
65
39
|
}];
|
|
66
40
|
}, [renderRowMenu, showStatus]);
|
|
67
|
-
return
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
onClick: hideModal
|
|
82
|
-
}, cancelText), /*#__PURE__*/React.createElement(Button, {
|
|
83
|
-
type: "primary",
|
|
84
|
-
onClick: handleOk
|
|
85
|
-
}, okText)))
|
|
86
|
-
}, /*#__PURE__*/React.createElement(VirtualTable, {
|
|
87
|
-
hideColumnNames: true,
|
|
88
|
-
title: listTitle,
|
|
89
|
-
columns: getColums,
|
|
90
|
-
scroll: {
|
|
91
|
-
y: 430
|
|
92
|
-
},
|
|
93
|
-
cellHeight: 64,
|
|
94
|
-
initialWidth: 520,
|
|
95
|
-
dataSource: dataSource,
|
|
96
|
-
rowKey: "id"
|
|
97
|
-
}));
|
|
41
|
+
return /* @__PURE__ */ jsx(ModalProxy, { bodyStyle: {
|
|
42
|
+
padding: 0
|
|
43
|
+
}, size: "small", title, closable: true, visible, onCancel: hideModal, footer: /* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
44
|
+
/* @__PURE__ */ jsx(FooterSettings, { children: /* @__PURE__ */ jsx(Button, { type: "secondary", onClick: handleInvite, children: inviteText }) }),
|
|
45
|
+
/* @__PURE__ */ jsxs(FooterActions, { children: [
|
|
46
|
+
/* @__PURE__ */ jsx(Button, { type: "ghost", onClick: hideModal, children: cancelText }),
|
|
47
|
+
/* @__PURE__ */ jsx(Button, { type: "primary", onClick: handleOk, children: okText })
|
|
48
|
+
] })
|
|
49
|
+
] }), children: /* @__PURE__ */ jsx(VirtualTable, { hideColumnNames: true, title: listTitle, columns: getColums, scroll: {
|
|
50
|
+
y: 430
|
|
51
|
+
}, cellHeight: 64, initialWidth: 520, dataSource, rowKey: "id" }) });
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
GroupModal as default
|
|
98
55
|
};
|
|
99
|
-
export default GroupModal;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const ModalFooter: import(
|
|
2
|
-
export declare const FooterSettings: import(
|
|
3
|
-
export declare const FooterActions: import(
|
|
1
|
+
export declare const ModalFooter: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const FooterSettings: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const FooterActions: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
const ModalFooter = /* @__PURE__ */ styled.div.withConfig({
|
|
3
3
|
displayName: "GroupModalstyles__ModalFooter",
|
|
4
4
|
componentId: "sc-s1kau3-0"
|
|
5
5
|
})(["display:flex;flex-wrap:nowrap;"]);
|
|
6
|
-
|
|
6
|
+
const FooterSettings = /* @__PURE__ */ styled.div.withConfig({
|
|
7
7
|
displayName: "GroupModalstyles__FooterSettings",
|
|
8
8
|
componentId: "sc-s1kau3-1"
|
|
9
9
|
})(["width:100%;display:flex;"]);
|
|
10
|
-
|
|
10
|
+
const FooterActions = /* @__PURE__ */ styled.div.withConfig({
|
|
11
11
|
displayName: "GroupModalstyles__FooterActions",
|
|
12
12
|
componentId: "sc-s1kau3-2"
|
|
13
|
-
})(["display:flex;"]);
|
|
13
|
+
})(["display:flex;"]);
|
|
14
|
+
export {
|
|
15
|
+
FooterActions,
|
|
16
|
+
FooterSettings,
|
|
17
|
+
ModalFooter
|
|
18
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/dist/index.js
CHANGED
package/dist/modules.d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-avatar-group",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.28",
|
|
4
4
|
"description": "AvatarGroup UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "vite build",
|
|
20
20
|
"build:css": "node ../../../scripts/style/less.js",
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
|
-
"build:watch": "
|
|
22
|
+
"build:watch": "vite build --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "pnpm run build",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-avatar": "^1.3.
|
|
39
|
-
"@synerise/ds-badge": "^1.0.
|
|
40
|
-
"@synerise/ds-button": "^1.5.
|
|
41
|
-
"@synerise/ds-dropdown": "^1.3.
|
|
42
|
-
"@synerise/ds-icon": "^1.15.
|
|
43
|
-
"@synerise/ds-modal": "^1.4.
|
|
44
|
-
"@synerise/ds-table": "^1.9.
|
|
45
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
38
|
+
"@synerise/ds-avatar": "^1.3.6",
|
|
39
|
+
"@synerise/ds-badge": "^1.0.45",
|
|
40
|
+
"@synerise/ds-button": "^1.5.19",
|
|
41
|
+
"@synerise/ds-dropdown": "^1.3.3",
|
|
42
|
+
"@synerise/ds-icon": "^1.15.2",
|
|
43
|
+
"@synerise/ds-modal": "^1.4.2",
|
|
44
|
+
"@synerise/ds-table": "^1.9.13",
|
|
45
|
+
"@synerise/ds-tooltip": "^1.4.11"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@synerise/ds-core": "*",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"styled-components": "^5.3.3",
|
|
51
51
|
"vitest": "4"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "c2384982c3533a31eb5e5e0408f8dcecb2b0f399"
|
|
54
54
|
}
|