@synerise/ds-items-roll 2.1.3 → 2.1.5
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 +19 -0
- package/dist/ItemsRoll.styles.d.ts +0 -1
- package/dist/ItemsRoll.styles.js +9 -14
- package/dist/ItemsRollComponents/Header.js +3 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@2.1.4...@synerise/ds-items-roll@2.1.5) (2026-11-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-items-roll
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@2.1.3...@synerise/ds-items-roll@2.1.4) (2026-11-17)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **items-roll:** use ghost-primary for change selection button ([cc1be56](https://github.com/Synerise/synerise-design/commit/cc1be567f9c9dd5bfe0d8baea22e5dde319f0fb1))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@2.1.2...@synerise/ds-items-roll@2.1.3) (2026-11-09)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-items-roll
|
|
@@ -5,7 +5,6 @@ export declare const HeaderLeft: import('styled-components').StyledComponent<"di
|
|
|
5
5
|
export declare const ShowButtonsWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const ListWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export declare const Bold: import('styled-components').StyledComponent<"span", any, {}, never>;
|
|
8
|
-
export declare const ChangeSelection: StyledButton;
|
|
9
8
|
export declare const SearchWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
10
9
|
export declare const ShowButton: StyledButton;
|
|
11
10
|
export declare const ShowButtonLabel: import('styled-components').StyledComponent<"span", any, {}, never>;
|
package/dist/ItemsRoll.styles.js
CHANGED
|
@@ -26,50 +26,45 @@ const Bold = /* @__PURE__ */ styled.span.withConfig({
|
|
|
26
26
|
displayName: "ItemsRollstyles__Bold",
|
|
27
27
|
componentId: "sc-579u47-5"
|
|
28
28
|
})(["color:var(--ds-color-text-base-default);font-weight:500;margin-left:2px;"]);
|
|
29
|
-
const ChangeSelection = /* @__PURE__ */ styled(Button).withConfig({
|
|
30
|
-
displayName: "ItemsRollstyles__ChangeSelection",
|
|
31
|
-
componentId: "sc-579u47-6"
|
|
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;}}"]);
|
|
33
29
|
const SearchWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
34
30
|
displayName: "ItemsRollstyles__SearchWrapper",
|
|
35
|
-
componentId: "sc-579u47-
|
|
31
|
+
componentId: "sc-579u47-6"
|
|
36
32
|
})(["margin:0 8px;min-width:32px;flex:1 1 auto;"]);
|
|
37
33
|
const ShowButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
38
34
|
displayName: "ItemsRollstyles__ShowButton",
|
|
39
|
-
componentId: "sc-579u47-
|
|
35
|
+
componentId: "sc-579u47-7"
|
|
40
36
|
})(["margin-right:8px;span{font-weight:400;color:var(--ds-color-text-base-subtle);}.bold-label{font-weight:500;}"]);
|
|
41
37
|
const ShowButtonLabel = /* @__PURE__ */ styled.span.withConfig({
|
|
42
38
|
displayName: "ItemsRollstyles__ShowButtonLabel",
|
|
43
|
-
componentId: "sc-579u47-
|
|
39
|
+
componentId: "sc-579u47-8"
|
|
44
40
|
})(["font-weight:400;"]);
|
|
45
41
|
const ClearButton = /* @__PURE__ */ styled(Button).withConfig({
|
|
46
42
|
displayName: "ItemsRollstyles__ClearButton",
|
|
47
|
-
componentId: "sc-579u47-
|
|
43
|
+
componentId: "sc-579u47-9"
|
|
48
44
|
})(["margin-left:auto;&&&{.ds-icon{margin-top:1px;}}"]);
|
|
49
45
|
const ArrowIcon = /* @__PURE__ */ styled(Icon).withConfig({
|
|
50
46
|
displayName: "ItemsRollstyles__ArrowIcon",
|
|
51
|
-
componentId: "sc-579u47-
|
|
47
|
+
componentId: "sc-579u47-10"
|
|
52
48
|
})(["color:var(--ds-color-icon-base-default);"]);
|
|
53
49
|
const NoResults = /* @__PURE__ */ styled.div.withConfig({
|
|
54
50
|
displayName: "ItemsRollstyles__NoResults",
|
|
55
|
-
componentId: "sc-579u47-
|
|
51
|
+
componentId: "sc-579u47-11"
|
|
56
52
|
})(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:144px;color:var(--ds-color-text-base-muted);"]);
|
|
57
53
|
const NoResultIconWrapper = /* @__PURE__ */ styled.div.withConfig({
|
|
58
54
|
displayName: "ItemsRollstyles__NoResultIconWrapper",
|
|
59
|
-
componentId: "sc-579u47-
|
|
55
|
+
componentId: "sc-579u47-12"
|
|
60
56
|
})(["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);"]);
|
|
61
57
|
const Divider = /* @__PURE__ */ styled(DividerBase).withConfig({
|
|
62
58
|
displayName: "ItemsRollstyles__Divider",
|
|
63
|
-
componentId: "sc-579u47-
|
|
59
|
+
componentId: "sc-579u47-13"
|
|
64
60
|
})(["&&{margin:", ";}"], (props) => props.footer ? "8px 0 12px" : "12px 0 8px");
|
|
65
61
|
const WarningIcon = /* @__PURE__ */ styled(Icon).withConfig({
|
|
66
62
|
displayName: "ItemsRollstyles__WarningIcon",
|
|
67
|
-
componentId: "sc-579u47-
|
|
63
|
+
componentId: "sc-579u47-14"
|
|
68
64
|
})(["color:var(--ds-color-icon-warning-default);"]);
|
|
69
65
|
export {
|
|
70
66
|
ArrowIcon,
|
|
71
67
|
Bold,
|
|
72
|
-
ChangeSelection,
|
|
73
68
|
ClearButton,
|
|
74
69
|
ContainerSpaceBetween,
|
|
75
70
|
Divider,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
+
import Button from "@synerise/ds-button";
|
|
3
4
|
import Dropdown from "@synerise/ds-dropdown";
|
|
4
5
|
import Icon, { EditM } from "@synerise/ds-icon";
|
|
5
6
|
import { SearchInput } from "@synerise/ds-search";
|
|
6
7
|
import { NOOP } from "@synerise/ds-utils";
|
|
7
8
|
import Extras from "../Extras/Extras.js";
|
|
8
|
-
import {
|
|
9
|
+
import { ContainerSpaceBetween, HeaderLeft, HeaderRight, SearchWrapper } from "../ItemsRoll.styles.js";
|
|
9
10
|
const Header = ({
|
|
10
11
|
actions,
|
|
11
12
|
allTexts,
|
|
@@ -20,7 +21,7 @@ const Header = ({
|
|
|
20
21
|
onSearchClear,
|
|
21
22
|
searchPlaceholder
|
|
22
23
|
}) => {
|
|
23
|
-
const ChangeSelectionButton = useMemo(() => /* @__PURE__ */ jsxs(
|
|
24
|
+
const ChangeSelectionButton = useMemo(() => /* @__PURE__ */ jsxs(Button, { type: "ghost-primary", mode: "icon-label", onClick: onChangeSelection, children: [
|
|
24
25
|
/* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(ChangeSelectionIcon, {}), size: 24 }),
|
|
25
26
|
allTexts.changeSelectionLabel
|
|
26
27
|
] }), [ChangeSelectionIcon, onChangeSelection, allTexts.changeSelectionLabel]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-items-roll",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "ItemsRoll UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-button": "^2.2.
|
|
46
|
-
"@synerise/ds-divider": "^2.1.
|
|
47
|
-
"@synerise/ds-dropdown": "^2.2.
|
|
48
|
-
"@synerise/ds-icon": "^2.
|
|
49
|
-
"@synerise/ds-list-item": "^2.4.
|
|
50
|
-
"@synerise/ds-panel": "^2.1.
|
|
51
|
-
"@synerise/ds-popconfirm": "^2.1.
|
|
45
|
+
"@synerise/ds-button": "^2.2.5",
|
|
46
|
+
"@synerise/ds-divider": "^2.1.4",
|
|
47
|
+
"@synerise/ds-dropdown": "^2.2.5",
|
|
48
|
+
"@synerise/ds-icon": "^2.5.0",
|
|
49
|
+
"@synerise/ds-list-item": "^2.4.4",
|
|
50
|
+
"@synerise/ds-panel": "^2.1.4",
|
|
51
|
+
"@synerise/ds-popconfirm": "^2.1.5",
|
|
52
52
|
"@synerise/ds-popover": "^2.3.0",
|
|
53
|
-
"@synerise/ds-search": "^2.1.
|
|
54
|
-
"@synerise/ds-tooltip": "^2.1.
|
|
53
|
+
"@synerise/ds-search": "^2.1.5",
|
|
54
|
+
"@synerise/ds-tooltip": "^2.1.4",
|
|
55
55
|
"@synerise/ds-utils": "^2.3.2",
|
|
56
56
|
"react-intl": "^6.8.7"
|
|
57
57
|
},
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"react": ">=16.9.0 <= 18.3.1",
|
|
66
66
|
"styled-components": "^5.3.3"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "2a918de3fc7dd27488410be0be9a2dba52017a6c"
|
|
69
69
|
}
|