@payload-enchants/translator 1.1.17 → 1.1.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './styles.scss';
3
3
  export declare const CustomSaveButton: () => import("react").JSX.Element;
4
4
  //# sourceMappingURL=CustomSaveButton.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { Locale } from 'payload/config';
3
3
  export declare const LocaleLabel: ({ locale }: {
4
4
  locale: Locale;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { TranslateResolver } from '../../../resolvers/types';
3
3
  export declare const ResolverButton: ({ resolver: { key: resolverKey }, }: {
4
4
  resolver: TranslateResolver;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const Content: () => import("react").JSX.Element;
3
3
  //# sourceMappingURL=Content.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './styles.scss';
3
3
  export declare const TranslatorModal: () => import("react").JSX.Element | undefined;
4
4
  //# sourceMappingURL=TranslatorModal.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { Locale } from 'payload/config';
3
3
  import type { TranslateResolver } from '../../../resolvers/types';
4
4
  type TranslatorContextData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payload-enchants/translator",
3
- "version": "1.1.17",
3
+ "version": "1.1.19",
4
4
  "private": false,
5
5
  "bugs": "https://github.com/r1tsuu/payload-enchants/issues",
6
6
  "repository": "https://github.com/r1tsuu/payload-enchants",
@@ -46,17 +46,19 @@
46
46
  "bson-objectid": "^2.0.4"
47
47
  },
48
48
  "devDependencies": {
49
- "@payloadcms/translations": "3.0.0-beta.32",
50
- "@payloadcms/ui": "3.0.0-beta.32",
51
- "@types/react": "18.2.64",
52
- "payload": "3.0.0-beta.32",
49
+ "@payloadcms/translations": "3.0.0-beta.34",
50
+ "@payloadcms/ui": "3.0.0-beta.34",
51
+ "@types/react": "18.3.2",
52
+ "@types/react-dom": "18.3.0",
53
+ "payload": "3.0.0-beta.34",
54
+ "typescript": "^5.4.5",
53
55
  "react": "18.2.0",
54
- "typescript": "^5.4.2"
56
+ "react-dom": "18.2.0"
55
57
  },
56
58
  "peerDependencies": {
57
- "@payloadcms/translations": "^3.0.0-beta.32",
58
- "@payloadcms/ui": "^3.0.0-beta.32",
59
- "payload": "^3.0.0-beta.32"
59
+ "@payloadcms/translations": "^3.0.0-beta.34",
60
+ "@payloadcms/ui": "^3.0.0-beta.34",
61
+ "payload": "^3.0.0-beta.34"
60
62
  },
61
63
  "publishConfig": {
62
64
  "registry": "https://registry.npmjs.org/"