@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/build/index.mjs CHANGED
@@ -1,11 +1,11 @@
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
  */
6
6
 
7
7
  /*!
8
- * @usecsv/js v0.0.11
8
+ * @usecsv/js v0.0.12
9
9
  * (c) layercode
10
10
  * Released under the MIT License.
11
11
  */
@@ -577,6 +577,12 @@ var useCsvPlugin = function (_a) {
577
577
  var iframe = insertIframe(id);
578
578
  var iframeConnection = connectToChild({
579
579
  iframe: iframe,
580
+ methods: {
581
+ closeIframe: function () {
582
+ var _a;
583
+ (_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.remove();
584
+ },
585
+ },
580
586
  });
581
587
  iframeConnection.promise.then(function (child) {
582
588
  var _a;