@synerise/ds-list 1.1.25 → 1.1.26
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 +4 -4
- package/package.json +5 -5
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.1.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-list@1.1.25...@synerise/ds-list@1.1.26) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-list
|
|
9
|
+
|
|
6
10
|
## [1.1.25](https://github.com/Synerise/synerise-design/compare/@synerise/ds-list@1.1.24...@synerise/ds-list@1.1.25) (2026-03-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-list
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ List UI Component
|
|
|
16
16
|
| Property | Description | Type | Default |
|
|
17
17
|
| ---------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------- | -------------------- |
|
|
18
18
|
| bordered | Toggles rendering of the border around the list | boolean | `false` |
|
|
19
|
-
| dataSource | DataSource array of arrays for list
|
|
19
|
+
| dataSource | DataSource array or array of arrays for list | `T[] \| T[][]` | - |
|
|
20
20
|
| dashed | Define type of divider line | boolean | `true` |
|
|
21
21
|
| grid | The grid type of list. You can set grid to something like {gutter: 16, column: 4} | object | - |
|
|
22
22
|
| header | List header renderer | string | - |
|
|
@@ -31,16 +31,16 @@ List UI Component
|
|
|
31
31
|
| rowKey | Item's unique key, could be a string or function that returns a string | string / (record) = > string | key |
|
|
32
32
|
| radio | Whether or not list should be wrapper with radio group | boolean | - |
|
|
33
33
|
|
|
34
|
-
### List.
|
|
34
|
+
### List.Item
|
|
35
35
|
|
|
36
36
|
| Property | Description | Type | Default |
|
|
37
37
|
| -------- | --------------------------------------------------------- | --------------------- | ---------------------------- | --- |
|
|
38
38
|
| disabled | If element is disabled | boolean | - |
|
|
39
|
-
| icon | Item will be prefixed with this element |
|
|
39
|
+
| icon | Item will be prefixed with this element | JSX.Element | - |
|
|
40
40
|
| danger | If element should be marked as danger action (ie. delete) | boolean | - |
|
|
41
41
|
| actions | Actions for item, will be rendered at the end of the row | React.ReactNode | - |
|
|
42
42
|
| onSelect | Callback for selecting item | (e?: React.MouseEvent | React.KeyboardEvent) => void | - |
|
|
43
|
-
| size | Size of item in list | `small` / `medium` | `
|
|
43
|
+
| size | Size of item in list | `small` / `medium` | `small` |
|
|
44
44
|
|
|
45
45
|
### List.Divider
|
|
46
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-list",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.26",
|
|
4
4
|
"description": "List UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-divider": "^1.3.
|
|
39
|
-
"@synerise/ds-radio": "^1.1.
|
|
40
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-divider": "^1.3.1",
|
|
39
|
+
"@synerise/ds-radio": "^1.1.2",
|
|
40
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
41
41
|
"uuid": "^8.3.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.9.0 <= 18.3.1",
|
|
47
47
|
"styled-components": "^5.3.3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
50
50
|
}
|