@newskit-render/shared-components 4.22.1 → 4.23.0-alpha.1

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.
@@ -135,11 +135,11 @@ export interface ListItemComponentProps {
135
135
  item: ListItemType;
136
136
  listCellProps?: ListCellProps;
137
137
  listItemProps: ListItemProps;
138
- handlePDF?: (event: any) => Promise<void>;
138
+ handlePDF?: (event: any) => Promise<any>;
139
139
  }
140
140
  export interface InvoiceListItemProps {
141
141
  item: ListItemType;
142
- handlePDF?: (event: any) => Promise<void>;
142
+ handlePDF?: (event: any) => Promise<any>;
143
143
  overrides?: InvoiceOverrides;
144
144
  }
145
145
  export interface DateItemType {
@@ -135,11 +135,11 @@ export interface ListItemComponentProps {
135
135
  item: ListItemType;
136
136
  listCellProps?: ListCellProps;
137
137
  listItemProps: ListItemProps;
138
- handlePDF?: (event: any) => Promise<void>;
138
+ handlePDF?: (event: any) => Promise<any>;
139
139
  }
140
140
  export interface InvoiceListItemProps {
141
141
  item: ListItemType;
142
- handlePDF?: (event: any) => Promise<void>;
142
+ handlePDF?: (event: any) => Promise<any>;
143
143
  overrides?: InvoiceOverrides;
144
144
  }
145
145
  export interface DateItemType {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/shared-components",
3
- "version": "4.22.1",
3
+ "version": "4.23.0-alpha.1",
4
4
  "description": "Newskit Render Shared Components",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -47,7 +47,7 @@
47
47
  "@babel/polyfill": "7.12.1",
48
48
  "@babel/register": "7.18.9",
49
49
  "@emotion/jest": "11.10.5",
50
- "@newskit-render/validation": "^1.14.0",
50
+ "@newskit-render/validation": "^1.15.0-alpha.0",
51
51
  "@storybook/addon-actions": "6.5.16",
52
52
  "@storybook/react": "6.5.16",
53
53
  "@testing-library/jest-dom": "6.1.3",