@panneau/form-inline 1.0.3-alpha.0 → 1.0.3

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/es/index.js CHANGED
@@ -34,16 +34,14 @@ var defaultProps = {
34
34
  buttons: null,
35
35
  className: null
36
36
  };
37
-
38
37
  var InlineForm = function InlineForm(_ref) {
39
38
  var fields = _ref.fields,
40
- status = _ref.status,
41
- value = _ref.value,
42
- onChange = _ref.onChange,
43
- className = _ref.className,
44
- onSubmit = _ref.onSubmit,
45
- props = _objectWithoutProperties(_ref, _excluded);
46
-
39
+ status = _ref.status,
40
+ value = _ref.value,
41
+ onChange = _ref.onChange,
42
+ className = _ref.className,
43
+ onSubmit = _ref.onSubmit,
44
+ props = _objectWithoutProperties(_ref, _excluded);
47
45
  var FieldsComponent = useFieldComponent('fields');
48
46
  return /*#__PURE__*/React.createElement(Form, Object.assign({
49
47
  onSubmit: onSubmit,
@@ -59,7 +57,6 @@ var InlineForm = function InlineForm(_ref) {
59
57
  onChange: onChange
60
58
  }));
61
59
  };
62
-
63
60
  InlineForm.propTypes = propTypes;
64
61
  InlineForm.defaultProps = defaultProps;
65
62
 
package/lib/index.js CHANGED
@@ -46,16 +46,14 @@ var defaultProps = {
46
46
  buttons: null,
47
47
  className: null
48
48
  };
49
-
50
49
  var InlineForm = function InlineForm(_ref) {
51
50
  var fields = _ref.fields,
52
- status = _ref.status,
53
- value = _ref.value,
54
- onChange = _ref.onChange,
55
- className = _ref.className,
56
- onSubmit = _ref.onSubmit,
57
- props = _objectWithoutProperties__default["default"](_ref, _excluded);
58
-
51
+ status = _ref.status,
52
+ value = _ref.value,
53
+ onChange = _ref.onChange,
54
+ className = _ref.className,
55
+ onSubmit = _ref.onSubmit,
56
+ props = _objectWithoutProperties__default["default"](_ref, _excluded);
59
57
  var FieldsComponent = contexts.useFieldComponent('fields');
60
58
  return /*#__PURE__*/React__default["default"].createElement(Form__default["default"], Object.assign({
61
59
  onSubmit: onSubmit,
@@ -71,7 +69,6 @@ var InlineForm = function InlineForm(_ref) {
71
69
  onChange: onChange
72
70
  }));
73
71
  };
74
-
75
72
  InlineForm.propTypes = propTypes;
76
73
  InlineForm.defaultProps = defaultProps;
77
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/form-inline",
3
- "version": "1.0.3-alpha.0",
3
+ "version": "1.0.3",
4
4
  "description": "Inline form",
5
5
  "keywords": [
6
6
  "javascript"
@@ -53,10 +53,10 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@babel/runtime": "^7.12.5",
56
- "@panneau/core": "^1.0.3-alpha.0",
57
- "@panneau/element-button": "^1.0.3-alpha.0",
58
- "@panneau/element-form": "^1.0.3-alpha.0",
59
- "@panneau/field-fields": "^1.0.3-alpha.0",
56
+ "@panneau/core": "^1.0.3",
57
+ "@panneau/element-button": "^1.0.3",
58
+ "@panneau/element-form": "^1.0.3",
59
+ "@panneau/field-fields": "^1.0.3",
60
60
  "classnames": "^2.2.6",
61
61
  "lodash": "^4.17.21",
62
62
  "prop-types": "^15.7.2",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "7f9c472b97c79a5c81da30730549acdde2de5c9f"
68
+ "gitHead": "59e6842b1a768acb6fa826e6a6396d09e239c955"
69
69
  }