@synerise/ds-ordered-list 0.3.101 → 0.3.103
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/dist/Ordered-list.types.d.ts +7 -7
- package/dist/index.d.ts +1 -0
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,25 @@
|
|
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
|
+
|
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)
|
18
|
+
|
19
|
+
**Note:** Version bump only for package @synerise/ds-ordered-list
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
6
25
|
## [0.3.101](https://github.com/Synerise/synerise-design/compare/@synerise/ds-ordered-list@0.3.100...@synerise/ds-ordered-list@0.3.101) (2024-09-17)
|
7
26
|
|
8
27
|
**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",
|
@@ -18,7 +18,8 @@
|
|
18
18
|
"prepublish": "npm run build",
|
19
19
|
"test": "jest",
|
20
20
|
"test:watch": "npm run test -- --watchAll",
|
21
|
-
"types": "tsc --noEmit"
|
21
|
+
"types": "tsc --noEmit",
|
22
|
+
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
22
23
|
},
|
23
24
|
"sideEffects": [
|
24
25
|
"dist/style/*",
|
@@ -26,14 +27,14 @@
|
|
26
27
|
],
|
27
28
|
"types": "dist/index.d.ts",
|
28
29
|
"dependencies": {
|
29
|
-
"@synerise/ds-icon": "^0.65.
|
30
|
-
"@synerise/ds-input": "^0.24.
|
31
|
-
"@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"
|
32
33
|
},
|
33
34
|
"peerDependencies": {
|
34
35
|
"@synerise/ds-core": "*",
|
35
36
|
"react": ">=16.9.0 <= 17.0.2",
|
36
37
|
"styled-components": "5.0.1"
|
37
38
|
},
|
38
|
-
"gitHead": "
|
39
|
+
"gitHead": "2389b995aa44e42ec1dd9a177c7ab1f1a0001a70"
|
39
40
|
}
|