@panneau/form-two-pane 1.0.3-alpha.1 → 1.0.3-alpha.7
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 +8 -11
- package/lib/index.js +8 -11
- package/package.json +8 -8
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
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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.
|
3
|
+
"version": "1.0.3-alpha.7",
|
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.
|
57
|
-
"@panneau/data": "^1.0.3-alpha.
|
58
|
-
"@panneau/element-button": "^1.0.3-alpha.
|
59
|
-
"@panneau/element-form": "^1.0.3-alpha.
|
60
|
-
"@panneau/field-fields": "^1.0.3-alpha.
|
61
|
-
"@panneau/themes": "^1.0.3-alpha.
|
56
|
+
"@panneau/core": "^1.0.3-alpha.7",
|
57
|
+
"@panneau/data": "^1.0.3-alpha.7",
|
58
|
+
"@panneau/element-button": "^1.0.3-alpha.7",
|
59
|
+
"@panneau/element-form": "^1.0.3-alpha.7",
|
60
|
+
"@panneau/field-fields": "^1.0.3-alpha.7",
|
61
|
+
"@panneau/themes": "^1.0.3-alpha.7",
|
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": "
|
70
|
+
"gitHead": "a11f9633326e3c025b0abe892111017a0588730a"
|
71
71
|
}
|