@usecsv/react 0.2.18 → 0.2.19

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,10 @@
1
+ ## [0.2.19](https://github.com/layercodedev/usecsv-react-plugin/compare/v0.2.18...v0.2.19) (2023-05-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update "@usecsv/js", add dynamic columns option ([#175](https://github.com/layercodedev/usecsv-react-plugin/issues/175)) ([9f61f2f](https://github.com/layercodedev/usecsv-react-plugin/commit/9f61f2faa7ad10a6ba17b30382bfed0b733933c2))
7
+
1
8
  ## [0.2.18](https://github.com/layercodedev/usecsv-react-plugin/compare/v0.2.17...v0.2.18) (2023-05-02)
2
9
 
3
10
 
package/build/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @usecsv/react v0.2.18
2
+ * @usecsv/react v0.2.19
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.13.1
37
+ * @usecsv/js v0.14.0
38
38
  * (c) layercode
39
39
  * Released under the MIT License.
40
40
  */
@@ -715,7 +715,7 @@ var insertIframe = function (id, importerDisplay) {
715
715
  return iframe;
716
716
  };
717
717
  var useCsvPlugin = function (_a) {
718
- 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, batchSize = _a.batchSize, sampleFileURL = _a.sampleFileURL, _c = _a.downloadExampleButton, downloadExampleButton = _c === void 0 ? true : _c;
718
+ 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, batchSize = _a.batchSize, sampleFileURL = _a.sampleFileURL, _c = _a.downloadExampleButton, downloadExampleButton = _c === void 0 ? true : _c, dynamicColumns = _a.dynamicColumns;
719
719
  var id = "usecsv-".concat(Math.round(Math.random() * 100000000));
720
720
  return whenDomReady().then(function () {
721
721
  var iframe = insertIframe(id, importerDisplay);
@@ -758,6 +758,7 @@ var useCsvPlugin = function (_a) {
758
758
  batchSize: batchSize,
759
759
  sampleFileURL: sampleFileURL,
760
760
  downloadExampleButton: downloadExampleButton,
761
+ dynamicColumns: dynamicColumns,
761
762
  });
762
763
  });
763
764
  return iframeConnection;