@synerise/ds-ordered-list 0.3.102 → 0.3.103
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/dist/Ordered-list.types.d.ts +7 -7
- package/dist/index.d.ts +1 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
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
|
+
## [0.3.103](https://github.com/Synerise/synerise-design/compare/@synerise/ds-ordered-list@0.3.102...@synerise/ds-ordered-list@0.3.103) (2024-10-01)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **storybook7:** added ordered list stories ([a31b69c](https://github.com/Synerise/synerise-design/commit/a31b69c37866b93943316fd1b262a67798696f13))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
## [0.3.102](https://github.com/Synerise/synerise-design/compare/@synerise/ds-ordered-list@0.3.101...@synerise/ds-ordered-list@0.3.102) (2024-09-26)
|
7
18
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-ordered-list
|
@@ -1,18 +1,18 @@
|
|
1
|
-
import
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export type OrderedListItem = {
|
3
3
|
id: string;
|
4
|
-
label:
|
5
|
-
prefixel?:
|
6
|
-
suffixel?:
|
4
|
+
label: ReactNode;
|
5
|
+
prefixel?: ReactNode;
|
6
|
+
suffixel?: ReactNode;
|
7
7
|
index: number;
|
8
8
|
subMenu?: OrderedListItem[];
|
9
9
|
listStyle?: string;
|
10
10
|
subMenuProps?: Omit<ListProps, 'data'>;
|
11
|
-
text?:
|
11
|
+
text?: ReactNode;
|
12
12
|
};
|
13
13
|
export type ListProps = {
|
14
14
|
data: OrderedListItem[];
|
15
|
-
indexFormatter?: (index: number) =>
|
15
|
+
indexFormatter?: (index: number) => ReactNode;
|
16
16
|
listStyle?: string;
|
17
|
-
text?:
|
17
|
+
text?: ReactNode;
|
18
18
|
};
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@synerise/ds-ordered-list",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.103",
|
4
4
|
"description": "OrderedList UI Component for the Synerise Design System",
|
5
5
|
"license": "ISC",
|
6
6
|
"repository": "Synerise/synerise-design",
|
@@ -27,14 +27,14 @@
|
|
27
27
|
],
|
28
28
|
"types": "dist/index.d.ts",
|
29
29
|
"dependencies": {
|
30
|
-
"@synerise/ds-icon": "^0.65.
|
31
|
-
"@synerise/ds-input": "^0.24.
|
32
|
-
"@synerise/ds-utils": "^0.
|
30
|
+
"@synerise/ds-icon": "^0.65.8",
|
31
|
+
"@synerise/ds-input": "^0.24.7",
|
32
|
+
"@synerise/ds-utils": "^0.30.0"
|
33
33
|
},
|
34
34
|
"peerDependencies": {
|
35
35
|
"@synerise/ds-core": "*",
|
36
36
|
"react": ">=16.9.0 <= 17.0.2",
|
37
37
|
"styled-components": "5.0.1"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "2389b995aa44e42ec1dd9a177c7ab1f1a0001a70"
|
40
40
|
}
|