@synerise/ds-manageable-list 1.7.9 → 1.7.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 +8 -0
- package/README.md +7 -6
- package/package.json +19 -19
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.7.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@1.7.10...@synerise/ds-manageable-list@1.7.11) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-manageable-list
|
|
9
|
+
|
|
10
|
+
## [1.7.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@1.7.9...@synerise/ds-manageable-list@1.7.10) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-manageable-list
|
|
13
|
+
|
|
6
14
|
## [1.7.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@1.7.8...@synerise/ds-manageable-list@1.7.9) (2026-02-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-manageable-list
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ ManageableList UI Component
|
|
|
22
22
|
onChangeOrder=(action('onChangeOrder'))
|
|
23
23
|
items={[]}
|
|
24
24
|
loading={false}
|
|
25
|
-
|
|
25
|
+
type={ListType.DEFAULT}
|
|
26
26
|
/>
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -34,7 +34,8 @@ ManageableList UI Component
|
|
|
34
34
|
|
|
35
35
|
| Property | Description | Type | Default |
|
|
36
36
|
| ------------------------ | ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------- |
|
|
37
|
-
|
|
|
37
|
+
| visibleItemsLimit | Show N first items; rest are hidden under `show more` button | number | - |
|
|
38
|
+
| maxToShowItems | **@deprecated** — use `visibleItemsLimit` instead | number | - |
|
|
38
39
|
| onItemAdd | Callback triggered when user hits `enter` key in the new item input field. | ({ name: string }) => void | - |
|
|
39
40
|
| onItemRemove | Callback triggered when user clicks on the remove item button. | ({ id: string }) => void | - |
|
|
40
41
|
| onItemEdit | Callback triggered then user hits `enter` key in the edit item name input field. | ({ id: string; name: string }) => void | - |
|
|
@@ -43,7 +44,7 @@ ManageableList UI Component
|
|
|
43
44
|
| changeOrderByButtons | Allows to change order of items by dedicated buttons in item suffix, requires onChangeOrder property | boolean | - |
|
|
44
45
|
| items | Array of list items | Item[] | - |
|
|
45
46
|
| loading | Loading state | boolean | - |
|
|
46
|
-
| type | Type of list | `default` / `content` / `filter`
|
|
47
|
+
| type | Type of list | `default` / `blank` / `content` / `content-large` / `filter` | `default` |
|
|
47
48
|
| addButtonDisabled | Disable add item button | boolean | `false` |
|
|
48
49
|
| changeOrderDisabled | Disable change of order | boolean | `false` |
|
|
49
50
|
| greyBackground | Change background color of list and list items | boolean | `false` |
|
|
@@ -51,7 +52,7 @@ ManageableList UI Component
|
|
|
51
52
|
| searchQuery | Search query used to highlight list item name | string | - |
|
|
52
53
|
| additionalActions | Additional actions for single list item | AdditionalAction[] | - |
|
|
53
54
|
| renderCustomToggleButton | Customise the show more / show less button | (props: {onClick: () => void; total: number, limit: number, allItemsVisible: boolean}) => ReactNode | - |
|
|
54
|
-
|
|
|
55
|
+
| style | Additional styles for ManageableList wrapper | React.CSSProperties | - |
|
|
55
56
|
| expandedIds (deprecated) | Array of item ids that should be rendered open | React.Key[] | - |
|
|
56
57
|
|
|
57
58
|
### Texts
|
|
@@ -63,11 +64,11 @@ ManageableList UI Component
|
|
|
63
64
|
| showLessLabel | Label of show less items button | string / React.ReactNode | - |
|
|
64
65
|
| more | Translation of 'more' | string / React.ReactNode | - |
|
|
65
66
|
| less | Translation of 'less' | string / React.ReactNode | - |
|
|
66
|
-
|
|
|
67
|
+
| activateItemTitle | Activate item confirm title | string / React.ReactNode | - |
|
|
67
68
|
| activate | Label of confirm activation button | string / React.ReactNode | - |
|
|
68
69
|
| cancel | Label of cancel button | string / React.ReactNode | - |
|
|
69
70
|
| deleteConfirmationTitle | Title of delete item confirmation popup | string / React.ReactNode | - |
|
|
70
|
-
|
|
|
71
|
+
| deleteConfirmationDescription | Description of delete item confirmation popup | string / React.ReactNode | - |
|
|
71
72
|
| deleteConfirmationYes | Label of delete confirmation button | string / React.ReactNode | - |
|
|
72
73
|
| deleteConfirmationNo | Label of delete cancellation button | string / React.ReactNode | - |
|
|
73
74
|
| itemActionRename | Label of rename item action | string / React.ReactNode | - |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-manageable-list",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.11",
|
|
4
4
|
"description": "ManageableList UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,23 +35,23 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-avatar": "^1.3.
|
|
39
|
-
"@synerise/ds-button": "^1.5.
|
|
40
|
-
"@synerise/ds-divider": "^1.
|
|
41
|
-
"@synerise/ds-dropdown": "^1.
|
|
42
|
-
"@synerise/ds-icon": "^1.
|
|
43
|
-
"@synerise/ds-inline-edit": "^1.1.
|
|
44
|
-
"@synerise/ds-input": "^1.6.
|
|
45
|
-
"@synerise/ds-list": "^1.1.
|
|
46
|
-
"@synerise/ds-menu": "^1.4.
|
|
47
|
-
"@synerise/ds-modal": "^1.
|
|
48
|
-
"@synerise/ds-popconfirm": "^1.3.
|
|
49
|
-
"@synerise/ds-result": "^1.0.
|
|
50
|
-
"@synerise/ds-sortable": "^1.3.
|
|
51
|
-
"@synerise/ds-tag": "^1.4.
|
|
52
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
53
|
-
"@synerise/ds-typography": "^1.1.
|
|
54
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-avatar": "^1.3.4",
|
|
39
|
+
"@synerise/ds-button": "^1.5.17",
|
|
40
|
+
"@synerise/ds-divider": "^1.3.1",
|
|
41
|
+
"@synerise/ds-dropdown": "^1.3.1",
|
|
42
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
43
|
+
"@synerise/ds-inline-edit": "^1.1.23",
|
|
44
|
+
"@synerise/ds-input": "^1.6.9",
|
|
45
|
+
"@synerise/ds-list": "^1.1.26",
|
|
46
|
+
"@synerise/ds-menu": "^1.4.12",
|
|
47
|
+
"@synerise/ds-modal": "^1.4.0",
|
|
48
|
+
"@synerise/ds-popconfirm": "^1.3.9",
|
|
49
|
+
"@synerise/ds-result": "^1.0.48",
|
|
50
|
+
"@synerise/ds-sortable": "^1.3.13",
|
|
51
|
+
"@synerise/ds-tag": "^1.4.17",
|
|
52
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
53
|
+
"@synerise/ds-typography": "^1.1.12",
|
|
54
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
55
55
|
"moment": "^2.30.1",
|
|
56
56
|
"react-animate-height": "^2.0.23"
|
|
57
57
|
},
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
63
63
|
"styled-components": "^5.3.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
66
66
|
}
|