@panneau/form-two-pane 1.0.3-alpha.0 → 1.0.3-alpha.10

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
@@ -40,18 +40,16 @@ var defaultProps = {
40
40
  children: null,
41
41
  className: null
42
42
  };
43
-
44
43
  var TwoPaneForm = function TwoPaneForm(_ref) {
45
44
  var fields = _ref.fields,
46
- status = _ref.status,
47
- value = _ref.value,
48
- setValue = _ref.setValue,
49
- onSubmit = _ref.onSubmit,
50
- buttons = _ref.buttons,
51
- children = _ref.children,
52
- className = _ref.className,
53
- props = _objectWithoutProperties(_ref, _excluded);
54
-
45
+ status = _ref.status,
46
+ value = _ref.value,
47
+ setValue = _ref.setValue,
48
+ onSubmit = _ref.onSubmit,
49
+ buttons = _ref.buttons,
50
+ children = _ref.children,
51
+ className = _ref.className,
52
+ props = _objectWithoutProperties(_ref, _excluded);
55
53
  var FieldsComponent = useFieldComponent('fields');
56
54
  var onChange = setValue || null;
57
55
  return /*#__PURE__*/React.createElement("div", {
@@ -69,7 +67,6 @@ var TwoPaneForm = function TwoPaneForm(_ref) {
69
67
  className: "w-50"
70
68
  }, children));
71
69
  };
72
-
73
70
  TwoPaneForm.propTypes = propTypes;
74
71
  TwoPaneForm.defaultProps = defaultProps;
75
72
 
package/lib/index.js CHANGED
@@ -53,18 +53,16 @@ var defaultProps = {
53
53
  children: null,
54
54
  className: null
55
55
  };
56
-
57
56
  var TwoPaneForm = function TwoPaneForm(_ref) {
58
57
  var fields = _ref.fields,
59
- status = _ref.status,
60
- value = _ref.value,
61
- setValue = _ref.setValue,
62
- onSubmit = _ref.onSubmit,
63
- buttons = _ref.buttons,
64
- children = _ref.children,
65
- className = _ref.className,
66
- props = _objectWithoutProperties__default["default"](_ref, _excluded);
67
-
58
+ status = _ref.status,
59
+ value = _ref.value,
60
+ setValue = _ref.setValue,
61
+ onSubmit = _ref.onSubmit,
62
+ buttons = _ref.buttons,
63
+ children = _ref.children,
64
+ className = _ref.className,
65
+ props = _objectWithoutProperties__default["default"](_ref, _excluded);
68
66
  var FieldsComponent = contexts.useFieldComponent('fields');
69
67
  var onChange = setValue || null;
70
68
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -82,7 +80,6 @@ var TwoPaneForm = function TwoPaneForm(_ref) {
82
80
  className: "w-50"
83
81
  }, children));
84
82
  };
85
-
86
83
  TwoPaneForm.propTypes = propTypes;
87
84
  TwoPaneForm.defaultProps = defaultProps;
88
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/form-two-pane",
3
- "version": "1.0.3-alpha.0",
3
+ "version": "1.0.3-alpha.10",
4
4
  "description": "Two-pane resource forms",
5
5
  "keywords": [
6
6
  "javascript"
@@ -53,12 +53,12 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@babel/runtime": "^7.12.5",
56
- "@panneau/core": "^1.0.3-alpha.0",
57
- "@panneau/data": "^1.0.3-alpha.0",
58
- "@panneau/element-button": "^1.0.3-alpha.0",
59
- "@panneau/element-form": "^1.0.3-alpha.0",
60
- "@panneau/field-fields": "^1.0.3-alpha.0",
61
- "@panneau/themes": "^1.0.3-alpha.0",
56
+ "@panneau/core": "^1.0.3-alpha.10",
57
+ "@panneau/data": "^1.0.3-alpha.10",
58
+ "@panneau/element-button": "^1.0.3-alpha.10",
59
+ "@panneau/element-form": "^1.0.3-alpha.10",
60
+ "@panneau/field-fields": "^1.0.3-alpha.10",
61
+ "@panneau/themes": "^1.0.3-alpha.10",
62
62
  "classnames": "^2.2.6",
63
63
  "lodash": "^4.17.21",
64
64
  "prop-types": "^15.7.2",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "7f9c472b97c79a5c81da30730549acdde2de5c9f"
70
+ "gitHead": "04abb6a702a77fd3f7370847c5e2bd366c56c62d"
71
71
  }