@elice/material-pdf 1.261120.0 → 1.261123.0

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.
@@ -1,3 +1,4 @@
1
+ import type { DownloadErrorContext } from '@elice/blocks';
1
2
  import type { WithIntlComponentBuilderProps } from '@elice/intl';
2
3
  import type React from 'react';
3
4
  export interface MaterialPdfProps {
@@ -5,7 +6,7 @@ export interface MaterialPdfProps {
5
6
  materialPdfId: number;
6
7
  cMapUrl?: string;
7
8
  locale?: string;
8
- onDownloadError?: (err?: Error) => void;
9
+ onDownloadError?: (error: Error, context: DownloadErrorContext) => void;
9
10
  }
10
11
  declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<MaterialPdfProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
11
12
  export default _default;
@@ -1,3 +1,4 @@
1
+ import type { DownloadErrorContext } from '@elice/blocks';
1
2
  import type { WithIntlComponentBuilderProps } from '@elice/intl';
2
3
  import type React from 'react';
3
4
  export interface MaterialPdfProps {
@@ -5,7 +6,7 @@ export interface MaterialPdfProps {
5
6
  materialPdfId: number;
6
7
  cMapUrl?: string;
7
8
  locale?: string;
8
- onDownloadError?: (err?: Error) => void;
9
+ onDownloadError?: (error: Error, context: DownloadErrorContext) => void;
9
10
  }
10
11
  declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<MaterialPdfProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
11
12
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-pdf",
3
- "version": "1.261120.0",
3
+ "version": "1.261123.0",
4
4
  "description": "User view and editing components of Elice material PDF",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,8 +29,8 @@
29
29
  "@emotion/styled": "^11.10.0",
30
30
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
31
31
  "react-use": "^17.0.0",
32
- "@elice/material-shared-types": "1.261120.0",
33
- "@elice/material-shared-utils": "1.261120.0"
32
+ "@elice/material-shared-types": "1.261123.0",
33
+ "@elice/material-shared-utils": "1.261123.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.2.0",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@elice/api-client": "1.261022.0",
41
- "@elice/blocks": "1.260723.0",
41
+ "@elice/blocks": "1.261123.1",
42
42
  "@elice/design-tokens": "^1.220803.0",
43
43
  "@elice/icons": "^1.230814.0",
44
44
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
@@ -58,8 +58,8 @@
58
58
  "react-use": "^17.2.4",
59
59
  "rollup": "^4.0.0",
60
60
  "typescript": "~5.9.3",
61
- "@elice/material-shared-types": "1.261120.0",
62
- "@elice/material-shared-utils": "1.261120.0"
61
+ "@elice/material-shared-types": "1.261123.0",
62
+ "@elice/material-shared-utils": "1.261123.0"
63
63
  },
64
64
  "scripts": {
65
65
  "start": "run-s watch",