@synerise/ds-items-roll 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 CHANGED
@@ -3,6 +3,17 @@
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-items-roll@2.0.13...@synerise/ds-items-roll@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
+
6
17
  ## [2.0.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@2.0.12...@synerise/ds-items-roll@2.0.13) (2026-10-28)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-items-roll
@@ -13,9 +13,7 @@ const HeaderRight = /* @__PURE__ */ styled.div.withConfig({
13
13
  const HeaderLeft = /* @__PURE__ */ styled.div.withConfig({
14
14
  displayName: "ItemsRollstyles__HeaderLeft",
15
15
  componentId: "sc-579u47-2"
16
- })(["color:", ";margin-left:12px;height:34px;display:flex;align-items:center;"], ({
17
- theme
18
- }) => theme.palette["grey-800"]);
16
+ })(["color:var(--ds-color-text-base-default);margin-left:12px;height:34px;display:flex;align-items:center;"]);
19
17
  const ShowButtonsWrapper = /* @__PURE__ */ styled.div.withConfig({
20
18
  displayName: "ItemsRollstyles__ShowButtonsWrapper",
21
19
  componentId: "sc-579u47-3"
@@ -27,17 +25,11 @@ const ListWrapper = /* @__PURE__ */ styled.div.withConfig({
27
25
  const Bold = /* @__PURE__ */ styled.span.withConfig({
28
26
  displayName: "ItemsRollstyles__Bold",
29
27
  componentId: "sc-579u47-5"
30
- })(["color:", ";font-weight:500;margin-left:2px;"], ({
31
- theme
32
- }) => theme.palette["grey-800"]);
28
+ })(["color:var(--ds-color-text-base-default);font-weight:500;margin-left:2px;"]);
33
29
  const ChangeSelection = /* @__PURE__ */ styled(Button).withConfig({
34
30
  displayName: "ItemsRollstyles__ChangeSelection",
35
31
  componentId: "sc-579u47-6"
36
- })(["width:157px;display:flex;align-items:center;padding:4px 9px;font-weight:500;&&&{color:", ";.ds-icon{margin-right:4px;svg{fill:", ";}}}"], ({
37
- theme
38
- }) => theme.palette["blue-600"], ({
39
- theme
40
- }) => theme.palette["blue-600"]);
32
+ })(["width:157px;display:flex;align-items:center;padding:4px 9px;font-weight:500;&&&{color:var(--ds-color-text-brand-default);.ds-icon{margin-right:4px;}}"]);
41
33
  const SearchWrapper = /* @__PURE__ */ styled.div.withConfig({
42
34
  displayName: "ItemsRollstyles__SearchWrapper",
43
35
  componentId: "sc-579u47-7"
@@ -45,9 +37,7 @@ const SearchWrapper = /* @__PURE__ */ styled.div.withConfig({
45
37
  const ShowButton = /* @__PURE__ */ styled(Button).withConfig({
46
38
  displayName: "ItemsRollstyles__ShowButton",
47
39
  componentId: "sc-579u47-8"
48
- })(["margin-right:8px;span{font-weight:400;color:", ";}.bold-label{font-weight:500;}"], ({
49
- theme
50
- }) => theme.palette["grey-700"]);
40
+ })(["margin-right:8px;span{font-weight:400;color:var(--ds-color-text-base-subtle);}.bold-label{font-weight:500;}"]);
51
41
  const ShowButtonLabel = /* @__PURE__ */ styled.span.withConfig({
52
42
  displayName: "ItemsRollstyles__ShowButtonLabel",
53
43
  componentId: "sc-579u47-9"
@@ -59,21 +49,15 @@ const ClearButton = /* @__PURE__ */ styled(Button).withConfig({
59
49
  const ArrowIcon = /* @__PURE__ */ styled(Icon).withConfig({
60
50
  displayName: "ItemsRollstyles__ArrowIcon",
61
51
  componentId: "sc-579u47-11"
62
- })(["svg{fill:", ";}"], ({
63
- theme
64
- }) => theme.palette["grey-600"]);
52
+ })(["color:var(--ds-color-icon-base-default);"]);
65
53
  const NoResults = /* @__PURE__ */ styled.div.withConfig({
66
54
  displayName: "ItemsRollstyles__NoResults",
67
55
  componentId: "sc-579u47-12"
68
- })(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:144px;color:", ";"], ({
69
- theme
70
- }) => theme.palette["grey-600"]);
56
+ })(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:144px;color:var(--ds-color-text-base-muted);"]);
71
57
  const NoResultIconWrapper = /* @__PURE__ */ styled.div.withConfig({
72
58
  displayName: "ItemsRollstyles__NoResultIconWrapper",
73
59
  componentId: "sc-579u47-13"
74
- })(["width:40px;height:40px;border-radius:50%;margin-bottom:16px;display:flex;align-items:center;justify-content:center;.ds-icon{svg{fill:", ";}}"], ({
75
- theme
76
- }) => theme.palette["grey-600"]);
60
+ })(["width:40px;height:40px;border-radius:50%;margin-bottom:16px;display:flex;align-items:center;justify-content:center;color:var(--ds-color-icon-base-default);"]);
77
61
  const Divider = /* @__PURE__ */ styled(DividerBase).withConfig({
78
62
  displayName: "ItemsRollstyles__Divider",
79
63
  componentId: "sc-579u47-14"
@@ -81,9 +65,7 @@ const Divider = /* @__PURE__ */ styled(DividerBase).withConfig({
81
65
  const WarningIcon = /* @__PURE__ */ styled(Icon).withConfig({
82
66
  displayName: "ItemsRollstyles__WarningIcon",
83
67
  componentId: "sc-579u47-15"
84
- })(["svg{fill:", ";}"], ({
85
- theme
86
- }) => theme.palette["yellow-500"]);
68
+ })(["color:var(--ds-color-icon-warning-default);"]);
87
69
  export {
88
70
  ArrowIcon,
89
71
  Bold,
@@ -1,5 +1,4 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { theme } from "@synerise/ds-core";
3
2
  import Icon, { CloseS } from "@synerise/ds-icon";
4
3
  import { FloatingDelayGroup } from "@synerise/ds-popover";
5
4
  import Tooltip from "@synerise/ds-tooltip";
@@ -15,7 +14,7 @@ const RemoveIcon = ({
15
14
  }, children: /* @__PURE__ */ jsx(Tooltip, { title: tooltipLabel, children: /* @__PURE__ */ jsx(RemoveIconWrapper, { "data-testid": "items-roll-remove-icon", children: /* @__PURE__ */ jsx(Icon, { className: "element-remove-icon", onClick: (event) => {
16
15
  event.stopPropagation();
17
16
  handleRemove(id, group);
18
- }, component: /* @__PURE__ */ jsx(CloseS, {}), color: theme.palette["red-600"], size: 24 }) }) }) });
17
+ }, component: /* @__PURE__ */ jsx(CloseS, {}), color: "var(--ds-color-icon-danger-default)", size: 24 }) }) }) });
19
18
  export {
20
19
  RemoveIcon
21
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-items-roll",
3
- "version": "2.0.13",
3
+ "version": "2.1.0",
4
4
  "description": "ItemsRoll UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,17 +42,17 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-button": "^2.1.6",
46
- "@synerise/ds-divider": "^2.0.11",
47
- "@synerise/ds-dropdown": "^2.1.8",
48
- "@synerise/ds-icon": "^2.2.3",
49
- "@synerise/ds-list-item": "^2.2.4",
50
- "@synerise/ds-panel": "^2.0.12",
51
- "@synerise/ds-popconfirm": "^2.0.11",
52
- "@synerise/ds-popover": "^2.1.0",
53
- "@synerise/ds-search": "^2.0.11",
54
- "@synerise/ds-tooltip": "^2.0.11",
55
- "@synerise/ds-utils": "^2.2.2",
45
+ "@synerise/ds-button": "^2.2.0",
46
+ "@synerise/ds-divider": "^2.1.0",
47
+ "@synerise/ds-dropdown": "^2.2.0",
48
+ "@synerise/ds-icon": "^2.3.0",
49
+ "@synerise/ds-list-item": "^2.3.0",
50
+ "@synerise/ds-panel": "^2.1.0",
51
+ "@synerise/ds-popconfirm": "^2.1.0",
52
+ "@synerise/ds-popover": "^2.2.0",
53
+ "@synerise/ds-search": "^2.1.0",
54
+ "@synerise/ds-tooltip": "^2.1.0",
55
+ "@synerise/ds-utils": "^2.3.0",
56
56
  "react-intl": "^6.8.7"
57
57
  },
58
58
  "devDependencies": {
@@ -65,5 +65,5 @@
65
65
  "react": ">=16.9.0 <= 18.3.1",
66
66
  "styled-components": "^5.3.3"
67
67
  },
68
- "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
68
+ "gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
69
69
  }