@synerise/ds-items-roll 1.4.3 → 1.5.1

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,16 @@
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.5.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@1.5.0...@synerise/ds-items-roll@1.5.1) (2026-02-05)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-items-roll
9
+
10
+ # [1.5.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@1.4.3...@synerise/ds-items-roll@1.5.0) (2026-02-02)
11
+
12
+ ### Features
13
+
14
+ - **panel:** new component ([a9d4ff8](https://github.com/Synerise/synerise-design/commit/a9d4ff8f766e2a7b6b6fe34068d7231584eb3056))
15
+
6
16
  ## [1.4.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@1.4.2...@synerise/ds-items-roll@1.4.3) (2026-01-29)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-items-roll
package/dist/ItemsRoll.js CHANGED
@@ -1,6 +1,7 @@
1
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
2
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
3
3
  import { useIntl } from 'react-intl';
4
+ import Panel from '@synerise/ds-panel';
4
5
  import * as S from './ItemsRoll.styles';
5
6
  import { Footer, Header, List } from './ItemsRollComponents';
6
7
  export var ItemsRoll = function ItemsRoll(_ref) {
@@ -91,10 +92,12 @@ export var ItemsRoll = function ItemsRoll(_ref) {
91
92
  var itemsCount = useMemo(function () {
92
93
  return renderCount ? renderCount(items.length) : /*#__PURE__*/React.createElement(React.Fragment, null, allTexts.itemsLabel, ": ", /*#__PURE__*/React.createElement(S.Bold, null, items.length));
93
94
  }, [allTexts.itemsLabel, items.length, renderCount]);
94
- return /*#__PURE__*/React.createElement(S.Wrapper, {
95
+ return /*#__PURE__*/React.createElement(Panel, {
95
96
  style: style || {},
96
97
  className: className || '',
97
- "data-testid": "ds-items-roll"
98
+ "data-testid": "ds-items-roll",
99
+ radius: 3,
100
+ p: 12
98
101
  }, /*#__PURE__*/React.createElement(Header, {
99
102
  actions: actions,
100
103
  allTexts: allTexts,
@@ -1,5 +1,4 @@
1
1
  import { type StyledButton } from '@synerise/ds-button';
2
- export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
2
  export declare const ContainerSpaceBetween: import("styled-components").StyledComponent<"div", any, {}, never>;
4
3
  export declare const HeaderRight: import("styled-components").StyledComponent<"div", any, {}, never>;
5
4
  export declare const HeaderLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -2,121 +2,114 @@ import styled from 'styled-components';
2
2
  import Button from '@synerise/ds-button';
3
3
  import DividerBase from '@synerise/ds-divider';
4
4
  import Icon from '@synerise/ds-icon';
5
- export var Wrapper = styled.div.withConfig({
6
- displayName: "ItemsRollstyles__Wrapper",
7
- componentId: "sc-579u47-0"
8
- })(["padding:12px;border:1px solid ", ";border-radius:3px;"], function (_ref) {
9
- var theme = _ref.theme;
10
- return theme.palette['grey-200'];
11
- });
12
5
  export var ContainerSpaceBetween = styled.div.withConfig({
13
6
  displayName: "ItemsRollstyles__ContainerSpaceBetween",
14
- componentId: "sc-579u47-1"
7
+ componentId: "sc-579u47-0"
15
8
  })(["display:flex;align-items:center;justify-content:space-between;"]);
16
9
  export var HeaderRight = styled.div.withConfig({
17
10
  displayName: "ItemsRollstyles__HeaderRight",
18
- componentId: "sc-579u47-2"
11
+ componentId: "sc-579u47-1"
19
12
  })(["display:flex;align-items:center;justify-content:flex-end;"]);
20
13
  export var HeaderLeft = styled.div.withConfig({
21
14
  displayName: "ItemsRollstyles__HeaderLeft",
22
- componentId: "sc-579u47-3"
23
- })(["color:", ";margin-left:12px;height:34px;display:flex;align-items:center;"], function (_ref2) {
24
- var theme = _ref2.theme;
15
+ componentId: "sc-579u47-2"
16
+ })(["color:", ";margin-left:12px;height:34px;display:flex;align-items:center;"], function (_ref) {
17
+ var theme = _ref.theme;
25
18
  return theme.palette['grey-800'];
26
19
  });
27
20
  export var ShowButtonsWrapper = styled.div.withConfig({
28
21
  displayName: "ItemsRollstyles__ShowButtonsWrapper",
29
- componentId: "sc-579u47-4"
22
+ componentId: "sc-579u47-3"
30
23
  })(["display:flex;align-items:center;justify-content:flex-start;"]);
31
24
  export var ListWrapper = styled.div.withConfig({
32
25
  displayName: "ItemsRollstyles__ListWrapper",
33
- componentId: "sc-579u47-5"
34
- })(["&&&{.ant-menu-inline,.-inline{border:none;}.ant-menu{.items-roll-list-item{padding-left:12px !important;:hover{svg{fill:", ";}.element-remove-icon{svg{fill:", " !important;:hover{fill:", " !important;}}}}:focus{box-shadow:none !important;background:transparent;}:focus:hover{background-color:", ";}}.ant-menu-item-group-list,.-item-group-list{margin-left:-12px;}.ant-menu-item-group-title,.-item-group-title{font-size:10px;text-transform:uppercase;color:", ";font-weight:500;padding-left:0;padding-right:0;margin-left:-12px;}.ant-menu-item-group:not(:first-child):before,.-item-group:not(:first-child):before{content:'';width:calc(100% + 12px);height:1px;display:block;border-bottom:1px dashed ", ";margin:12px 0px 12px -12px;}}}"], function (_ref3) {
35
- var theme = _ref3.theme;
26
+ componentId: "sc-579u47-4"
27
+ })(["&&&{.ant-menu-inline,.-inline{border:none;}.ant-menu{.items-roll-list-item{padding-left:12px !important;:hover{svg{fill:", ";}.element-remove-icon{svg{fill:", " !important;:hover{fill:", " !important;}}}}:focus{box-shadow:none !important;background:transparent;}:focus:hover{background-color:", ";}}.ant-menu-item-group-list,.-item-group-list{margin-left:-12px;}.ant-menu-item-group-title,.-item-group-title{font-size:10px;text-transform:uppercase;color:", ";font-weight:500;padding-left:0;padding-right:0;margin-left:-12px;}.ant-menu-item-group:not(:first-child):before,.-item-group:not(:first-child):before{content:'';width:calc(100% + 12px);height:1px;display:block;border-bottom:1px dashed ", ";margin:12px 0px 12px -12px;}}}"], function (_ref2) {
28
+ var theme = _ref2.theme;
36
29
  return theme.palette['blue-600'];
30
+ }, function (_ref3) {
31
+ var theme = _ref3.theme;
32
+ return theme.palette['red-600'];
37
33
  }, function (_ref4) {
38
34
  var theme = _ref4.theme;
39
35
  return theme.palette['red-600'];
40
36
  }, function (_ref5) {
41
37
  var theme = _ref5.theme;
42
- return theme.palette['red-600'];
38
+ return theme.palette['grey-050'];
43
39
  }, function (_ref6) {
44
40
  var theme = _ref6.theme;
45
- return theme.palette['grey-050'];
41
+ return theme.palette['grey-500'];
46
42
  }, function (_ref7) {
47
43
  var theme = _ref7.theme;
48
- return theme.palette['grey-500'];
49
- }, function (_ref8) {
50
- var theme = _ref8.theme;
51
44
  return theme.palette['grey-300'];
52
45
  });
53
46
  export var Bold = styled.span.withConfig({
54
47
  displayName: "ItemsRollstyles__Bold",
55
- componentId: "sc-579u47-6"
56
- })(["color:", ";font-weight:500;margin-left:2px;"], function (_ref9) {
57
- var theme = _ref9.theme;
48
+ componentId: "sc-579u47-5"
49
+ })(["color:", ";font-weight:500;margin-left:2px;"], function (_ref8) {
50
+ var theme = _ref8.theme;
58
51
  return theme.palette['grey-800'];
59
52
  });
60
53
  export var ChangeSelection = styled(Button).withConfig({
61
54
  displayName: "ItemsRollstyles__ChangeSelection",
62
- componentId: "sc-579u47-7"
63
- })(["width:157px;display:flex;align-items:center;padding:4px 9px;font-weight:500;&&&{color:", ";.ds-icon{margin-right:4px;svg{fill:", ";}}}"], function (_ref0) {
64
- var theme = _ref0.theme;
55
+ componentId: "sc-579u47-6"
56
+ })(["width:157px;display:flex;align-items:center;padding:4px 9px;font-weight:500;&&&{color:", ";.ds-icon{margin-right:4px;svg{fill:", ";}}}"], function (_ref9) {
57
+ var theme = _ref9.theme;
65
58
  return theme.palette['blue-600'];
66
- }, function (_ref1) {
67
- var theme = _ref1.theme;
59
+ }, function (_ref0) {
60
+ var theme = _ref0.theme;
68
61
  return theme.palette['blue-600'];
69
62
  });
70
63
  export var SearchWrapper = styled.div.withConfig({
71
64
  displayName: "ItemsRollstyles__SearchWrapper",
72
- componentId: "sc-579u47-8"
65
+ componentId: "sc-579u47-7"
73
66
  })(["margin:0 8px;min-width:32px;flex:1 1 auto;"]);
74
67
  export var ShowButton = styled(Button).withConfig({
75
68
  displayName: "ItemsRollstyles__ShowButton",
76
- componentId: "sc-579u47-9"
77
- })(["margin-right:8px;span{font-weight:400;color:", ";}.bold-label{font-weight:500;}"], function (_ref10) {
78
- var theme = _ref10.theme;
69
+ componentId: "sc-579u47-8"
70
+ })(["margin-right:8px;span{font-weight:400;color:", ";}.bold-label{font-weight:500;}"], function (_ref1) {
71
+ var theme = _ref1.theme;
79
72
  return theme.palette['grey-700'];
80
73
  });
81
74
  export var ShowButtonLabel = styled.span.withConfig({
82
75
  displayName: "ItemsRollstyles__ShowButtonLabel",
83
- componentId: "sc-579u47-10"
76
+ componentId: "sc-579u47-9"
84
77
  })(["font-weight:400;"]);
85
78
  export var ClearButton = styled(Button).withConfig({
86
79
  displayName: "ItemsRollstyles__ClearButton",
87
- componentId: "sc-579u47-11"
80
+ componentId: "sc-579u47-10"
88
81
  })(["margin-left:auto;&&&{.ds-icon{margin-top:1px;}}"]);
89
82
  export var ArrowIcon = styled(Icon).withConfig({
90
83
  displayName: "ItemsRollstyles__ArrowIcon",
91
- componentId: "sc-579u47-12"
92
- })(["svg{fill:", ";}"], function (_ref11) {
93
- var theme = _ref11.theme;
84
+ componentId: "sc-579u47-11"
85
+ })(["svg{fill:", ";}"], function (_ref10) {
86
+ var theme = _ref10.theme;
94
87
  return theme.palette['grey-600'];
95
88
  });
96
89
  export var NoResults = styled.div.withConfig({
97
90
  displayName: "ItemsRollstyles__NoResults",
98
- componentId: "sc-579u47-13"
99
- })(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:144px;color:", ";"], function (_ref12) {
100
- var theme = _ref12.theme;
91
+ componentId: "sc-579u47-12"
92
+ })(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:144px;color:", ";"], function (_ref11) {
93
+ var theme = _ref11.theme;
101
94
  return theme.palette['grey-600'];
102
95
  });
103
96
  export var NoResultIconWrapper = styled.div.withConfig({
104
97
  displayName: "ItemsRollstyles__NoResultIconWrapper",
105
- componentId: "sc-579u47-14"
106
- })(["width:40px;height:40px;border-radius:50%;margin-bottom:16px;display:flex;align-items:center;justify-content:center;.ds-icon{svg{fill:", ";}}"], function (_ref13) {
107
- var theme = _ref13.theme;
98
+ componentId: "sc-579u47-13"
99
+ })(["width:40px;height:40px;border-radius:50%;margin-bottom:16px;display:flex;align-items:center;justify-content:center;.ds-icon{svg{fill:", ";}}"], function (_ref12) {
100
+ var theme = _ref12.theme;
108
101
  return theme.palette['grey-600'];
109
102
  });
110
103
  export var Divider = styled(DividerBase).withConfig({
111
104
  displayName: "ItemsRollstyles__Divider",
112
- componentId: "sc-579u47-15"
105
+ componentId: "sc-579u47-14"
113
106
  })(["&&{margin:", ";}"], function (props) {
114
107
  return props.footer ? '8px 0 12px' : '12px 0 8px';
115
108
  });
116
109
  export var WarningIcon = styled(Icon).withConfig({
117
110
  displayName: "ItemsRollstyles__WarningIcon",
118
- componentId: "sc-579u47-16"
119
- })(["svg{fill:", ";}"], function (_ref14) {
120
- var theme = _ref14.theme;
111
+ componentId: "sc-579u47-15"
112
+ })(["svg{fill:", ";}"], function (_ref13) {
113
+ var theme = _ref13.theme;
121
114
  return theme.palette['yellow-500'];
122
115
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-items-roll",
3
- "version": "1.4.3",
3
+ "version": "1.5.1",
4
4
  "description": "ItemsRoll UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,16 +35,17 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.5.6",
39
- "@synerise/ds-divider": "^1.2.8",
40
- "@synerise/ds-dropdown": "^1.1.12",
41
- "@synerise/ds-icon": "^1.10.1",
42
- "@synerise/ds-list-item": "^1.3.3",
43
- "@synerise/ds-menu": "^1.4.1",
44
- "@synerise/ds-popconfirm": "^1.2.2",
45
- "@synerise/ds-search": "^1.4.3",
46
- "@synerise/ds-tooltip": "^1.3.6",
47
- "@synerise/ds-utils": "^1.5.4"
38
+ "@synerise/ds-button": "^1.5.8",
39
+ "@synerise/ds-divider": "^1.2.10",
40
+ "@synerise/ds-dropdown": "^1.2.0",
41
+ "@synerise/ds-icon": "^1.11.1",
42
+ "@synerise/ds-list-item": "^1.4.0",
43
+ "@synerise/ds-menu": "^1.4.3",
44
+ "@synerise/ds-panel": "^1.2.0",
45
+ "@synerise/ds-popconfirm": "^1.3.0",
46
+ "@synerise/ds-search": "^1.5.0",
47
+ "@synerise/ds-tooltip": "^1.4.0",
48
+ "@synerise/ds-utils": "^1.6.0"
48
49
  },
49
50
  "devDependencies": {
50
51
  "@testing-library/user-event": "^14"
@@ -54,5 +55,5 @@
54
55
  "react": ">=16.9.0 <= 18.3.1",
55
56
  "styled-components": "^5.3.3"
56
57
  },
57
- "gitHead": "e1a3b7417480ba1bbf0b68becf985dd2d5f5a924"
58
+ "gitHead": "ac8decd9736940735bf05198b24b3eeeb5900b18"
58
59
  }