@synerise/ds-items-roll 1.5.10 → 1.5.11
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 +4 -0
- package/README.md +11 -6
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@1.5.10...@synerise/ds-items-roll@1.5.11) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-items-roll
|
|
9
|
+
|
|
6
10
|
## [1.5.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-items-roll@1.5.9...@synerise/ds-items-roll@1.5.10) (2026-03-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-items-roll
|
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ ItemsRoll UI Component
|
|
|
11
11
|
npm i @synerise/ds-items-roll
|
|
12
12
|
or
|
|
13
13
|
yarn add @synerise/ds-items-roll
|
|
14
|
+
or
|
|
15
|
+
pnpm add @synerise/ds-items-roll
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
## Usage
|
|
@@ -41,8 +43,8 @@ import ItemsRoll from '@synerise/ds-items-roll';
|
|
|
41
43
|
| className | Additional class for ItemsRoll wrapper | string | - |
|
|
42
44
|
| customSidebarActions | Allow put developer sidebar actions that are not defined | React.ReactNode | - |
|
|
43
45
|
| groups | Array of strings where each one corresponds to a group prop in ItemRollElement | string[] | - |
|
|
44
|
-
| hideSearch | Hide search component in itemsroll |
|
|
45
|
-
| isDisabled | prevents rendering 'remove' / 'clear all' buttons |
|
|
46
|
+
| hideSearch | Hide search component in itemsroll | boolean | - |
|
|
47
|
+
| isDisabled | prevents rendering 'remove' / 'clear all' buttons | boolean | - |
|
|
46
48
|
| items | ItemRollElement array for list | ItemRollElement[] | - |
|
|
47
49
|
| maxToShowItems | Amount of initial ItemsRollElement to render. Note that if number is greater than 20, list will becoma scrollable | number | 10 |
|
|
48
50
|
| onClearAll | Callback function that is fired when click on clearAll button | () => void | - |
|
|
@@ -58,9 +60,9 @@ import ItemsRoll from '@synerise/ds-items-roll';
|
|
|
58
60
|
| renderCount | Custom items count renderer | (count: number) => ReactNode | - |
|
|
59
61
|
| texts | Object contains texts for buttons, title etc. | Texts | - |
|
|
60
62
|
| useFooter | Whether the footer is visibile | boolean | - |
|
|
61
|
-
| useVirtualizedList |
|
|
62
|
-
| virtualizedRowHeight |
|
|
63
|
-
| virtualizedRowWidth |
|
|
63
|
+
| useVirtualizedList | **@deprecated** Virtualized list was removed; prop is accepted but ignored | boolean | - |
|
|
64
|
+
| virtualizedRowHeight | **@deprecated** Ignored | number | - |
|
|
65
|
+
| virtualizedRowWidth | **@deprecated** Ignored | number | - |
|
|
64
66
|
|
|
65
67
|
#### ItemRollElement
|
|
66
68
|
|
|
@@ -69,7 +71,7 @@ import ItemsRoll from '@synerise/ds-items-roll';
|
|
|
69
71
|
| group | Define affiliation to a specific group in groups Array passed as props to ItemsRoll | string | - |
|
|
70
72
|
| id | Unique identifier for element. Used as a key in map | string | - |
|
|
71
73
|
|
|
72
|
-
Rest of the `ItemRollElement` props is inherited from
|
|
74
|
+
Rest of the `ItemRollElement` props is inherited from `ListItemProps` (default) or `MenuItemProps` — the generic `BaseType` parameter controls which base type is used.
|
|
73
75
|
|
|
74
76
|
#### Texts
|
|
75
77
|
|
|
@@ -84,3 +86,6 @@ Rest of the `ItemRollElement` props is inherited from [MenuItemProps](https://de
|
|
|
84
86
|
| searchClearTooltipLabel | Input clear tooltip label | string / React.ReactNode | 'clear' |
|
|
85
87
|
| showLabel | Show more first part label | string / React.ReactNode | 'Show' |
|
|
86
88
|
| showLessLabel | Show less button label | string / React.ReactNode | 'Show less' |
|
|
89
|
+
| popconfirmTitleLabel | Clear-all confirmation title | string / React.ReactNode | 'Are you sure?' |
|
|
90
|
+
| popconfirmYesLabel | Clear-all confirm button | string / React.ReactNode | 'Yes' |
|
|
91
|
+
| popconfirmNoLabel | Clear-all cancel button | string / React.ReactNode | 'No' |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-items-roll",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.11",
|
|
4
4
|
"description": "ItemsRoll UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.5.
|
|
39
|
-
"@synerise/ds-divider": "^1.3.
|
|
40
|
-
"@synerise/ds-dropdown": "^1.3.
|
|
41
|
-
"@synerise/ds-icon": "^1.
|
|
42
|
-
"@synerise/ds-list-item": "^1.4.
|
|
43
|
-
"@synerise/ds-menu": "^1.4.
|
|
44
|
-
"@synerise/ds-panel": "^1.2.
|
|
45
|
-
"@synerise/ds-popconfirm": "^1.3.
|
|
46
|
-
"@synerise/ds-search": "^1.5.
|
|
47
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
48
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-button": "^1.5.17",
|
|
39
|
+
"@synerise/ds-divider": "^1.3.1",
|
|
40
|
+
"@synerise/ds-dropdown": "^1.3.1",
|
|
41
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
42
|
+
"@synerise/ds-list-item": "^1.4.9",
|
|
43
|
+
"@synerise/ds-menu": "^1.4.12",
|
|
44
|
+
"@synerise/ds-panel": "^1.2.2",
|
|
45
|
+
"@synerise/ds-popconfirm": "^1.3.9",
|
|
46
|
+
"@synerise/ds-search": "^1.5.9",
|
|
47
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
48
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@testing-library/user-event": "^14"
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"react": ">=16.9.0 <= 18.3.1",
|
|
56
56
|
"styled-components": "^5.3.3"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
59
59
|
}
|