@pdfme/ui 5.3.8-dev.21 → 5.3.8-dev.24

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,4 +1,4 @@
1
- import Designer from './Designer';
2
- import Form from './Form';
3
- import Viewer from './Viewer';
1
+ import Designer from './Designer.js';
2
+ import Form from './Form.js';
3
+ import Viewer from './Viewer.js';
4
4
  export { Designer, Viewer, Form };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/ui",
3
- "version": "5.3.8-dev.21",
3
+ "version": "5.3.8-dev.24",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/contexts.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createContext } from 'react';
2
- import { i18n } from './i18n';
2
+ import { i18n } from './i18n.js';
3
3
  import { getDefaultFont, Plugins, UIOptions } from '@pdfme/common';
4
4
  import { builtInPlugins } from '@pdfme/schemas';
5
5
 
@@ -11,4 +11,4 @@ export const PluginsRegistry = createContext<Plugins>(builtInPlugins);
11
11
 
12
12
  export const OptionsContext = createContext<UIOptions>({});
13
13
 
14
- export const CacheContext = createContext<Map<any, any>>(new Map());
14
+ export const CacheContext = createContext<Map<any, any>>(new Map());
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
- import Designer from './Designer';
2
- import Form from './Form';
3
- import Viewer from './Viewer';
1
+ import Designer from './Designer.js';
2
+ import Form from './Form.js';
3
+ import Viewer from './Viewer.js';
4
4
 
5
5
  export { Designer, Viewer, Form };
package/tsconfig.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "DOM.Iterable",
15
15
  "ESNext"
16
16
  ],
17
- "moduleResolution": "node16",
17
+ "moduleResolution": "nodenext",
18
18
  "allowSyntheticDefaultImports": true,
19
19
  "strict": true,
20
20
  "types": [