@usecsv/react 0.0.2 → 0.2.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.
- package/CHANGELOG.md +21 -0
- package/build/index.cjs +63 -12
- package/build/index.cjs.map +1 -1
- package/build/index.esm.js +63 -12
- package/build/index.esm.js.map +1 -1
- package/build/index.js +63 -12
- package/build/index.js.map +1 -1
- package/build/index.mjs +63 -12
- package/build/index.mjs.map +1 -1
- package/build/index.umd.js +63 -12
- package/build/index.umd.js.map +1 -1
- package/build/index.umd.min.js +33 -4
- package/build/index.umd.min.js.map +1 -1
- package/build/types/lib/useCsvReactPlugin.d.ts +3 -7
- package/build/types/lib/useCsvReactPlugin.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1,11 +1,7 @@
|
|
|
1
|
+
import useCsvPlugin from "@usecsv/js";
|
|
1
2
|
import { FC, ReactNode } from "react";
|
|
2
|
-
declare type
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
declare type UseCsvButtonTypes = {
|
|
6
|
-
readonly importerKey: string;
|
|
7
|
-
readonly user: UserObject;
|
|
8
|
-
readonly metadata: Record<string, string | number> | undefined;
|
|
3
|
+
declare type pluginParamas = Parameters<typeof useCsvPlugin>[0];
|
|
4
|
+
declare type UseCsvButtonTypes = pluginParamas & {
|
|
9
5
|
readonly render?: ((onClick: () => Promise<any>) => ReactNode) | undefined | null;
|
|
10
6
|
};
|
|
11
7
|
declare const UseCsvButton: FC<UseCsvButtonTypes>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCsvReactPlugin.d.ts","sourceRoot":"","sources":["../../../src/lib/useCsvReactPlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCsvReactPlugin.d.ts","sourceRoot":"","sources":["../../../src/lib/useCsvReactPlugin.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,YAAY,CAAC;AACtC,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7C,aAAK,aAAa,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;AACxD,aAAK,iBAAiB,GAAG,aAAa,GAAG;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;CACnF,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA0BvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usecsv/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "layercode"
|
|
6
6
|
},
|
|
@@ -61,8 +61,7 @@
|
|
|
61
61
|
"react-dom": "^17.0.2"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@
|
|
65
|
-
"@usecsv/js": "^0.0.12"
|
|
64
|
+
"@usecsv/js": "0.2.1"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
67
|
"@babel/preset-env": "^7.14.8",
|
|
@@ -73,10 +72,11 @@
|
|
|
73
72
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
|
74
73
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
75
74
|
"@rollup/plugin-replace": "^3.0.0",
|
|
76
|
-
"@semantic-release/changelog": "^
|
|
77
|
-
"@semantic-release/commit-analyzer": "^
|
|
78
|
-
"@semantic-release/git": "^
|
|
79
|
-
"@semantic-release/
|
|
75
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
76
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
77
|
+
"@semantic-release/git": "^10.0.1",
|
|
78
|
+
"@semantic-release/github": "^8.0.2",
|
|
79
|
+
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
80
80
|
"@testing-library/dom": "^8.1.0",
|
|
81
81
|
"@testing-library/jest-dom": "^5.14.1",
|
|
82
82
|
"@types/insert-css": "^2.0.1",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"rollup-plugin-dts": "^4.0.1",
|
|
113
113
|
"rollup-plugin-terser": "^7.0.2",
|
|
114
114
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
115
|
-
"semantic-release": "^
|
|
115
|
+
"semantic-release": "^19.0.2",
|
|
116
116
|
"source-map-loader": "^3.0.0",
|
|
117
117
|
"ts-loader": "^9.2.4",
|
|
118
118
|
"ts-node": "^9.0.0",
|
|
@@ -147,4 +147,4 @@
|
|
|
147
147
|
]
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
}
|
|
150
|
+
}
|