@firecms/data_import_export 3.0.0-canary.155 → 3.0.0-canary.157

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/README.md CHANGED
@@ -82,6 +82,3 @@ Some tips in order to get the best results:
82
82
  plugin will understand that the author is related to the book and will
83
83
  generate content accordingly. You can use this for making **summaries, reviews,
84
84
  translations, SEO content**, etc.
85
-
86
- ## Current limitations
87
- - Markdown fields work but do not get the enhanced content highlighted.
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":[],"mappings":";;;;;AAUO,SAAS,sBAAsB,OAAwF;AAE1H,UAAQ,KAAK,gGAAgG;AAE7G,SAAO,QAAQ,OAAO;AAAA,IAClB,KAAK;AAAA,IACL,gBAAgB;AAAA,MACZ,mBAAmB,CAAC,wBAAwB,sBAAsB;AAAA,MAClE,wBAAwB;AAAA,IAC5B;AAAA,EAAA,IACA,CAAC,KAAK,CAAC;AACf;"}
1
+ {"version":3,"file":"index.es.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":[],"mappings":";;;;;AAUO,SAAS,sBAAsB,OAAwF;AAE1H,UAAQ,KAAK,gGAAgG;AAE7G,SAAO,QAAQ,OAAO;AAAA,IAClB,KAAK;AAAA,IACL,gBAAgB;AAAA,MACZ,mBAAmB,CAAC,wBAAwB,sBAAsB;AAAA,MAClE,wBAAwB;AAAA,IAAA;AAAA,EAC5B,IACA,CAAC,KAAK,CAAC;AACf;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":["useMemo","ImportCollectionAction","ExportCollectionAction"],"mappings":";;;;AAUO,WAAS,sBAAsB,OAAwF;AAE1H,YAAQ,KAAK,gGAAgG;AAE7G,WAAOA,cAAQ,OAAO;AAAA,MAClB,KAAK;AAAA,MACL,gBAAgB;AAAA,QACZ,mBAAmB,CAACC,YAAA,wBAAwBC,kCAAsB;AAAA,QAClE,wBAAwB;AAAA,MAC5B;AAAA,IAAA,IACA,CAAC,KAAK,CAAC;AAAA,EACf;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.umd.js","sources":["../src/useImportExportPlugin.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { EntityCollection, FireCMSPlugin } from \"@firecms/core\";\nimport { ImportCollectionAction } from \"@firecms/data_import\";\nimport { ExportCollectionAction } from \"@firecms/data_export\";\n\n/**\n * useImportExportPlugin is deprecated.\n * Please use useImportPlugin and useExportPlugin separately\n * @deprecated\n */\nexport function useImportExportPlugin(props?: ImportExportPluginProps): FireCMSPlugin<any, any, any, ImportExportPluginProps> {\n\n console.warn(\"useImportExportPlugin is deprecated. Please use useImportPlugin and useExportPlugin separately\");\n\n return useMemo(() => ({\n key: \"import_export\",\n collectionView: {\n CollectionActions: [ImportCollectionAction, ExportCollectionAction],\n collectionActionsProps: props\n }\n }), [props]);\n}\n\nexport type ImportExportPluginProps = {\n exportAllowed?: (props: ImportExportAllowedParams) => boolean;\n notAllowedView?: React.ReactNode;\n onAnalyticsEvent?: (event: string, params?: any) => void;\n}\nexport type ImportExportAllowedParams = { collectionEntitiesCount: number, path: string, collection: EntityCollection };\n"],"names":["useMemo","ImportCollectionAction","ExportCollectionAction"],"mappings":";;;;AAUO,WAAS,sBAAsB,OAAwF;AAE1H,YAAQ,KAAK,gGAAgG;AAE7G,WAAOA,cAAQ,OAAO;AAAA,MAClB,KAAK;AAAA,MACL,gBAAgB;AAAA,QACZ,mBAAmB,CAACC,YAAA,wBAAwBC,kCAAsB;AAAA,QAClE,wBAAwB;AAAA,MAAA;AAAA,IAC5B,IACA,CAAC,KAAK,CAAC;AAAA,EACf;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@firecms/data_import_export",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.155",
4
+ "version": "3.0.0-canary.157",
5
5
  "access": "public",
6
6
  "main": "./dist/index.umd.js",
7
7
  "module": "./dist/index.es.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "source": "src/index.ts",
10
10
  "dependencies": {
11
- "@firecms/core": "^3.0.0-canary.155",
12
- "@firecms/data_export": "^3.0.0-canary.155",
13
- "@firecms/data_import": "^3.0.0-canary.155"
11
+ "@firecms/core": "^3.0.0-canary.157",
12
+ "@firecms/data_export": "^3.0.0-canary.157",
13
+ "@firecms/data_import": "^3.0.0-canary.157"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "firebase": "^10.12.2",
17
17
  "react": "^18.3.1",
18
18
  "react-dom": "^18.3.1",
19
- "react-router": "^6.25.1",
20
- "react-router-dom": "^6.25.1"
19
+ "react-router": "^6.28.0",
20
+ "react-router-dom": "^6.28.0"
21
21
  },
22
22
  "exports": {
23
23
  ".": {
@@ -48,16 +48,16 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@jest/globals": "^29.7.0",
51
- "@testing-library/jest-dom": "^6.5.0",
51
+ "@testing-library/jest-dom": "^6.6.3",
52
52
  "@types/jest": "^29.5.14",
53
- "@types/react": "^18.3.12",
53
+ "@types/react": "^18.3.11",
54
54
  "@types/react-dom": "^18.3.1",
55
- "@vitejs/plugin-react": "^4.3.3",
55
+ "@vitejs/plugin-react": "^4.3.4",
56
56
  "babel-jest": "^29.7.0",
57
57
  "jest": "^29.7.0",
58
58
  "ts-jest": "^29.2.5",
59
- "typescript": "^5.6.3",
60
- "vite": "^5.4.10"
59
+ "typescript": "^5.7.2",
60
+ "vite": "^5.4.11"
61
61
  },
62
62
  "jest": {
63
63
  "transform": {
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "c9b71679d709242ff3a47ec56a0ecf980ec76564"
86
+ "gitHead": "5ffd61dd148d006a07ce6045495a1cf6616e6801"
87
87
  }