@synerise/ds-ordered-list 0.3.102 → 0.3.103

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,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 React from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export type OrderedListItem = {
3
3
  id: string;
4
- label: string;
5
- prefixel?: React.ReactNode;
6
- suffixel?: React.ReactNode;
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?: React.ReactNode | string;
11
+ text?: ReactNode;
12
12
  };
13
13
  export type ListProps = {
14
14
  data: OrderedListItem[];
15
- indexFormatter?: (index: number) => React.ReactNode | string;
15
+ indexFormatter?: (index: number) => ReactNode;
16
16
  listStyle?: string;
17
- text?: React.ReactNode | string;
17
+ text?: ReactNode;
18
18
  };
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { default } from './Ordered-list';
2
+ export type { OrderedListItem, ListProps as OrderedListProps } from './Ordered-list.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-ordered-list",
3
- "version": "0.3.102",
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.7",
31
- "@synerise/ds-input": "^0.24.6",
32
- "@synerise/ds-utils": "^0.29.4"
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": "fc06bd0f13401a57329fb92985b735de33108dbc"
39
+ "gitHead": "2389b995aa44e42ec1dd9a177c7ab1f1a0001a70"
40
40
  }