@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 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
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type AvatarGroupProps } from './AvatarGroup.types';
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;
@@ -1,69 +1,52 @@
1
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
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 * as S from './AvatarGroup.styles';
7
- import GroupModal from './Modal/GroupModal';
8
- var AvatarGroup = function AvatarGroup(_ref) {
9
- var dataSource = _ref.dataSource,
10
- _ref$size = _ref.size,
11
- size = _ref$size === void 0 ? 'medium' : _ref$size,
12
- hasStatus = _ref.hasStatus,
13
- _ref$numberOfVisibleU = _ref.numberOfVisibleUsers,
14
- numberOfVisibleUsers = _ref$numberOfVisibleU === void 0 ? 3 : _ref$numberOfVisibleU,
15
- moreInfoTooltip = _ref.moreInfoTooltip,
16
- groupModal = _ref.groupModal;
17
- var _React$useState = React.useState(false),
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
- var showModal = React.useCallback(function () {
20
+ const showModal = React.useCallback(() => {
24
21
  if (groupModal) {
25
22
  setModalVisible(true);
26
23
  }
27
24
  }, [setModalVisible, groupModal]);
28
- var dataSourceWithKeys = React.useMemo(function () {
29
- return dataSource.map(function (avatar, index) {
30
- return _extends({}, avatar, {
31
- key: avatar.initials + "-" + index
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
- var renderMoreInfo = React.useMemo(function () {
36
- var diff = dataSource.length - numberOfVisibleUsers;
37
- return diff > 0 && /*#__PURE__*/React.createElement(Tooltip, {
38
- title: diff + " " + moreInfoTooltip
39
- }, /*#__PURE__*/React.createElement(S.MoreInfo, {
40
- onClick: showModal,
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
- var renderGroupModal = React.useMemo(function () {
38
+ const renderGroupModal = React.useMemo(() => {
45
39
  if (!groupModal) {
46
40
  return null;
47
41
  }
48
- return /*#__PURE__*/React.createElement(GroupModal, _extends({}, groupModal, {
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 /*#__PURE__*/React.createElement(S.Group, {
56
- size: size,
57
- className: "ds-avatar-group"
58
- }, dataSourceWithKeys.slice(0, numberOfVisibleUsers).map(function (avatar) {
59
- return /*#__PURE__*/React.createElement(Badge, {
60
- key: avatar.key,
61
- status: avatar.status
62
- }, /*#__PURE__*/React.createElement(Avatar, _extends({
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 { type Size } from './AvatarGroup.types';
2
- export declare const Group: import("styled-components").StyledComponent<"div", any, {
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("styled-components").StyledComponent<({ backgroundColor, backgroundColorHue, children, disabled, hasStatus, iconComponent, iconScale, tooltip, size, src, ...antdProps }: import("@synerise/ds-avatar").AvatarProps) => React.JSX.Element, any, {
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 'styled-components';
2
- import Avatar from '@synerise/ds-avatar';
3
- var MARGINS = {
4
- small: '-8px',
5
- medium: '-12px',
6
- large: '-16px'
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
- var applyMarginLeft = function applyMarginLeft(size) {
9
- return css(["margin-left:", ";"], size ? MARGINS[size] : '16px');
8
+ const applyMarginLeft = (size) => {
9
+ return css(["margin-left:", ";"], size ? MARGINS[size] : "16px");
10
10
  };
11
- export var Group = styled.div.withConfig({
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 ", ";}}}}"], function (props) {
15
- return applyMarginLeft(props.size);
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:", ";}}"], function (_ref) {
25
- var theme = _ref.theme;
26
- return theme.palette.white;
27
- }, function (_ref2) {
28
- var theme = _ref2.theme;
29
- return theme.palette['grey-300'];
30
- }, function (_ref3) {
31
- var theme = _ref3.theme;
32
- return theme.palette['grey-400'];
33
- }, function (_ref4) {
34
- var theme = _ref4.theme;
35
- return theme.palette['grey-400'];
36
- }, function (_ref5) {
37
- var theme = _ref5.theme;
38
- return theme.palette['grey-500'];
39
- }, function (_ref6) {
40
- var theme = _ref6.theme;
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 type React from 'react';
2
- import { type AvatarProps } from '@synerise/ds-avatar/dist/Avatar.types';
3
- import type { BadgeProps } from '@synerise/ds-badge/dist/Badge.types';
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
- export {};
1
+
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { type GroupModalProps } from './GroupModal.types';
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;
@@ -1,99 +1,55 @@
1
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
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 * as S from './GroupModal.styles';
11
- var GroupModal = function GroupModal(_ref) {
12
- var renderRowMenu = _ref.renderRowMenu,
13
- title = _ref.title,
14
- listTitle = _ref.listTitle,
15
- dataSource = _ref.dataSource,
16
- visible = _ref.visible,
17
- hideModal = _ref.hideModal,
18
- showStatus = _ref.showStatus,
19
- handleInvite = _ref.handleInvite,
20
- handleOk = _ref.handleOk,
21
- okText = _ref.okText,
22
- cancelText = _ref.cancelText,
23
- inviteText = _ref.inviteText;
24
- var getColums = React.useMemo(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 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: 'avatarProps',
27
- dataIndex: 'avatarProps',
28
- render: function render(avatar, record) {
29
- return /*#__PURE__*/React.createElement(TableCell.AvatarLabelCell, {
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: 'actions',
45
- dataIndex: 'id',
33
+ key: "actions",
34
+ dataIndex: "id",
46
35
  width: 72,
47
- render: function render(id, record) {
48
- return /*#__PURE__*/React.createElement(TableCell.ActionCell, {
49
- contentAlign: "right"
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 /*#__PURE__*/React.createElement(ModalProxy, {
68
- bodyStyle: {
69
- padding: 0
70
- },
71
- size: "small",
72
- title: title,
73
- closable: true,
74
- visible: visible,
75
- onCancel: hideModal,
76
- footer: /*#__PURE__*/React.createElement(S.ModalFooter, null, /*#__PURE__*/React.createElement(S.FooterSettings, null, /*#__PURE__*/React.createElement(Button, {
77
- type: "secondary",
78
- onClick: handleInvite
79
- }, inviteText)), /*#__PURE__*/React.createElement(S.FooterActions, null, /*#__PURE__*/React.createElement(Button, {
80
- type: "ghost",
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("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
+ 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 'styled-components';
2
- export var ModalFooter = styled.div.withConfig({
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
- export var FooterSettings = styled.div.withConfig({
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
- export var FooterActions = styled.div.withConfig({
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,4 +1,4 @@
1
- import { type DataSource, type GroupModalSettings } from '../AvatarGroup.types';
1
+ import { DataSource, GroupModalSettings } from '../AvatarGroup.types';
2
2
  export type GroupModalProps = GroupModalSettings & {
3
3
  visible: boolean;
4
4
  hideModal: () => void;
@@ -1 +1 @@
1
- export {};
1
+
package/dist/index.js CHANGED
@@ -1 +1,4 @@
1
- export { default } from './AvatarGroup';
1
+ import { default as default2 } from "./AvatarGroup.js";
2
+ export {
3
+ default2 as default
4
+ };
package/dist/modules.d.js CHANGED
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
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.26",
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": "pnpm run build:js && pnpm run build:css && pnpm run defs",
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": "pnpm run build:js -- --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.4",
39
- "@synerise/ds-badge": "^1.0.43",
40
- "@synerise/ds-button": "^1.5.17",
41
- "@synerise/ds-dropdown": "^1.3.1",
42
- "@synerise/ds-icon": "^1.15.0",
43
- "@synerise/ds-modal": "^1.4.0",
44
- "@synerise/ds-table": "^1.9.11",
45
- "@synerise/ds-tooltip": "^1.4.9"
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": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
53
+ "gitHead": "c2384982c3533a31eb5e5e0408f8dcecb2b0f399"
54
54
  }