@synerise/ds-unordered-list 1.1.38 → 1.1.39

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,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.39](https://github.com/Synerise/synerise-design/compare/@synerise/ds-unordered-list@1.1.38...@synerise/ds-unordered-list@1.1.39) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-unordered-list
9
+
6
10
  ## [1.1.38](https://github.com/Synerise/synerise-design/compare/@synerise/ds-unordered-list@1.1.37...@synerise/ds-unordered-list@1.1.38) (2026-03-09)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-unordered-list
package/README.md CHANGED
@@ -28,12 +28,24 @@ import UnorderedList from '@synerise/ds-unordered-list'
28
28
 
29
29
  ## API
30
30
 
31
- | Property | Description | Type | Default |
32
- | --------- | ---------------------------- | ------------------------ | ------- |
33
- | listStyle | style to pick unordered list | string | - |
34
- | index | set number of ordered list | number | - |
35
- | id | name of the item | string | - |
36
- | subMenu | items list | OrderedListItem[] | - |
37
- | label | label contains text | React.ReactNode / string | - |
38
- | suffixel | place to set item | React.ReactNode | - |
39
- | prefixel | place to set item | React.ReactNode | - |
31
+ ### UnorderedList
32
+
33
+ | Property | Description | Type | Default |
34
+ | -------------- | -------------------------------------------------- | ------------------------------ | ------- |
35
+ | data | Items to render | `UnorderedListItem[]` | - |
36
+ | indexFormatter | Custom prefix renderer called with the item index | `(index: number) => ReactNode` | - |
37
+ | text | Optional section label rendered above the list | `React.ReactNode` | - |
38
+ | className | CSS class on the root element | `string` | - |
39
+
40
+ ### UnorderedListItem
41
+
42
+ | Property | Description | Type | Default |
43
+ | ------------ | ----------------------------------------------------- | --------------------------------------- | ------- |
44
+ | id | Unique item identifier | `string` | - |
45
+ | label | Item display content | `React.ReactNode` | - |
46
+ | index | Numeric index passed to `indexFormatter` | `number` | - |
47
+ | prefixel | Rendered before the label | `React.ReactNode` | - |
48
+ | suffixel | Rendered after the label | `React.ReactNode` | - |
49
+ | subMenu | Child items; renders a nested list when present | `UnorderedListItem[]` | - |
50
+ | subMenuProps | Props forwarded to the nested `UnorderedList` | `Omit<UnorderedListProps, 'data'>` | - |
51
+ | text | Section label for the nested list | `React.ReactNode` | - |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-unordered-list",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "description": "UnorderedList UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,13 +35,13 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-form-field": "^1.3.8",
39
- "@synerise/ds-icon": "^1.14.1"
38
+ "@synerise/ds-form-field": "^1.3.9",
39
+ "@synerise/ds-icon": "^1.15.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@synerise/ds-core": "*",
43
43
  "react": ">=16.9.0 <= 18.3.1",
44
44
  "styled-components": "^5.3.3"
45
45
  },
46
- "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
46
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
47
47
  }