@usecsv/react 0.0.1 → 0.0.2

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 ADDED
@@ -0,0 +1,6 @@
1
+ # 0.0.2 (2021-12-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * upgrade core usecsv lib ([#9](https://github.com/layercodedev/usecsv-react-plugin/issues/9)) ([1492b93](https://github.com/layercodedev/usecsv-react-plugin/commit/1492b93f31656aa4d454eeb7c56a3f03447f9fd0))
package/build/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @usecsv/react v0.0.1
2
+ * @usecsv/react v0.0.2
3
3
  * (c) layercode
4
4
  * Released under the MIT License.
5
5
  */
@@ -7,7 +7,7 @@
7
7
  'use strict';
8
8
 
9
9
  /*!
10
- * @usecsv/js v0.0.11
10
+ * @usecsv/js v0.0.12
11
11
  * (c) layercode
12
12
  * Released under the MIT License.
13
13
  */
@@ -579,6 +579,12 @@ var useCsvPlugin = function (_a) {
579
579
  var iframe = insertIframe(id);
580
580
  var iframeConnection = connectToChild({
581
581
  iframe: iframe,
582
+ methods: {
583
+ closeIframe: function () {
584
+ var _a;
585
+ (_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.remove();
586
+ },
587
+ },
582
588
  });
583
589
  iframeConnection.promise.then(function (child) {
584
590
  var _a;