@usecsv/react 0.2.13 → 0.2.15

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.2.15](https://github.com/layercodedev/usecsv-react-plugin/compare/v0.2.14...v0.2.15) (2022-12-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update "@usecsv/js", Overwrite theme variables in importer params ([64d8d3b](https://github.com/layercodedev/usecsv-react-plugin/commit/64d8d3bc0da26650a5aee7de324ac45f64215784))
7
+
8
+ ## [0.2.14](https://github.com/layercodedev/usecsv-react-plugin/compare/v0.2.13...v0.2.14) (2022-11-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update "@usecsv/js", update validation hooks level type ([83c5b1e](https://github.com/layercodedev/usecsv-react-plugin/commit/83c5b1e335d664d371b19b9a5c2d95cdb7633408))
14
+
1
15
  ## [0.2.13](https://github.com/layercodedev/usecsv-react-plugin/compare/v0.2.12...v0.2.13) (2022-10-25)
2
16
 
3
17
 
package/build/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @usecsv/react v0.2.13
2
+ * @usecsv/react v0.2.15
3
3
  * (c) layercode
4
4
  * Released under the MIT License.
5
5
  */
@@ -34,7 +34,7 @@ function __rest(s, e) {
34
34
  }
35
35
 
36
36
  /*!
37
- * @usecsv/js v0.9.0
37
+ * @usecsv/js v0.11.0
38
38
  * (c) layercode
39
39
  * Released under the MIT License.
40
40
  */
@@ -634,7 +634,7 @@ var insertIframe = function (id, importerDisplay) {
634
634
  return iframe;
635
635
  };
636
636
  var useCsvPlugin = function (_a) {
637
- var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose;
637
+ var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose, theme = _a.theme;
638
638
  var id = "usecsv-".concat(Math.round(Math.random() * 100000000));
639
639
  return whenDomReady().then(function () {
640
640
  var iframe = insertIframe(id, importerDisplay);
@@ -666,7 +666,7 @@ var useCsvPlugin = function (_a) {
666
666
  var _a;
667
667
  (_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.classList.remove("loading");
668
668
  // eslint-disable-next-line dot-notation
669
- child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay });
669
+ child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay, theme: theme });
670
670
  });
671
671
  return iframeConnection;
672
672
  });