@scenid/react-formulator 2.1.1 → 2.1.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/dist/index.cjs.js CHANGED
@@ -29838,6 +29838,7 @@ FormText.propTypes = {
29838
29838
  onChange: PropTypes__default["default"].func
29839
29839
  };
29840
29840
 
29841
+ // eslint-disable-next-line import/prefer-default-export
29841
29842
  var castToNumber = function castToNumber(value, step) {
29842
29843
  if (value === undefined || Number.isNaN(value) || value === '') {
29843
29844
  return '';
@@ -29874,7 +29875,8 @@ var FormNumber = function FormNumber(_ref) {
29874
29875
  value: castToNumber(e.target.value, step)
29875
29876
  }
29876
29877
  });
29877
- }
29878
+ } // eslint-disable-next-line react/jsx-props-no-spreading
29879
+
29878
29880
  }, props));
29879
29881
  };
29880
29882
 
@@ -77244,10 +77246,9 @@ function language(node) {
77244
77246
  var FormReadOnlyMarkdown = function FormReadOnlyMarkdown(_ref) {
77245
77247
  var content = _ref.content;
77246
77248
  return /*#__PURE__*/React__default["default"].createElement(ReactMarkdown, {
77247
- children: content,
77248
77249
  remarkPlugins: [remarkGfm],
77249
77250
  rehypePlugins: [rehypeHighlight]
77250
- });
77251
+ }, content);
77251
77252
  };
77252
77253
 
77253
77254
  FormReadOnlyMarkdown.propTypes = {
package/dist/index.esm.js CHANGED
@@ -29825,6 +29825,7 @@ FormText.propTypes = {
29825
29825
  onChange: PropTypes.func
29826
29826
  };
29827
29827
 
29828
+ // eslint-disable-next-line import/prefer-default-export
29828
29829
  var castToNumber = function castToNumber(value, step) {
29829
29830
  if (value === undefined || Number.isNaN(value) || value === '') {
29830
29831
  return '';
@@ -29861,7 +29862,8 @@ var FormNumber = function FormNumber(_ref) {
29861
29862
  value: castToNumber(e.target.value, step)
29862
29863
  }
29863
29864
  });
29864
- }
29865
+ } // eslint-disable-next-line react/jsx-props-no-spreading
29866
+
29865
29867
  }, props));
29866
29868
  };
29867
29869
 
@@ -77231,10 +77233,9 @@ function language(node) {
77231
77233
  var FormReadOnlyMarkdown = function FormReadOnlyMarkdown(_ref) {
77232
77234
  var content = _ref.content;
77233
77235
  return /*#__PURE__*/React.createElement(ReactMarkdown, {
77234
- children: content,
77235
77236
  remarkPlugins: [remarkGfm],
77236
77237
  rehypePlugins: [rehypeHighlight]
77237
- });
77238
+ }, content);
77238
77239
  };
77239
77240
 
77240
77241
  FormReadOnlyMarkdown.propTypes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scenid/react-formulator",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "repository": "https://dennykoch@bitbucket.org/scenid/react-formulator.git",