@panneau/forms 1.0.0-alpha.23 → 1.0.0-alpha.231

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,4 +34,4 @@ var FormsProvider = function FormsProvider(props) {
34
34
  FormsProvider.propTypes = propTypes;
35
35
  FormsProvider.defaultProps = defaultProps;
36
36
 
37
- export default FormsProvider;
37
+ export { FormsProvider as default };
package/lib/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var React = require('react');
4
6
  var PropTypes = require('prop-types');
5
7
  var contexts = require('@panneau/core/contexts');
@@ -21,22 +23,22 @@ var formTwoPane__default = /*#__PURE__*/_interopDefaultLegacy(formTwoPane);
21
23
 
22
24
  var components = /*#__PURE__*/Object.freeze({
23
25
  __proto__: null,
24
- Normal: formNormal__default['default'],
25
- Inline: formInline__default['default'],
26
- Horizontal: formHorizontal__default['default'],
27
- TwoPane: formTwoPane__default['default']
26
+ Normal: formNormal__default["default"],
27
+ Inline: formInline__default["default"],
28
+ Horizontal: formHorizontal__default["default"],
29
+ TwoPane: formTwoPane__default["default"]
28
30
  });
29
31
 
30
32
  /* eslint-disable react/jsx-props-no-spreading */
31
33
  var propTypes = {
32
- children: PropTypes__default['default'].node
34
+ children: PropTypes__default["default"].node
33
35
  };
34
36
  var defaultProps = {
35
37
  children: null
36
38
  };
37
39
 
38
40
  var FormsProvider = function FormsProvider(props) {
39
- return /*#__PURE__*/React__default['default'].createElement(contexts.ComponentsProvider, Object.assign({
41
+ return /*#__PURE__*/React__default["default"].createElement(contexts.ComponentsProvider, Object.assign({
40
42
  namespace: contexts.FORMS_NAMESPACE,
41
43
  components: components
42
44
  }, props));
@@ -45,4 +47,4 @@ var FormsProvider = function FormsProvider(props) {
45
47
  FormsProvider.propTypes = propTypes;
46
48
  FormsProvider.defaultProps = defaultProps;
47
49
 
48
- module.exports = FormsProvider;
50
+ exports["default"] = FormsProvider;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/forms",
3
- "version": "1.0.0-alpha.23",
3
+ "version": "1.0.0-alpha.231",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -44,24 +44,24 @@
44
44
  "prepare": "../../scripts/prepare-package.sh --scss"
45
45
  },
46
46
  "devDependencies": {
47
- "react": "^16.8.0",
48
- "react-dom": "^16.8.0"
47
+ "react": "^16.8.0 || ^17.0.0",
48
+ "react-dom": "^16.8.0 || ^17.0.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "react": "^16.8.0",
52
- "react-dom": "^16.8.0"
51
+ "react": "^16.8.0 || ^17.0.0",
52
+ "react-dom": "^16.8.0 || ^17.0.0"
53
53
  },
54
54
  "dependencies": {
55
55
  "@babel/runtime": "^7.12.5",
56
- "@panneau/core": "^1.0.0-alpha.21",
57
- "@panneau/form-horizontal": "^1.0.0-alpha.23",
58
- "@panneau/form-inline": "^1.0.0-alpha.23",
59
- "@panneau/form-normal": "^1.0.0-alpha.23",
60
- "@panneau/form-two-pane": "^1.0.0-alpha.23",
56
+ "@panneau/core": "^1.0.0-alpha.231",
57
+ "@panneau/form-horizontal": "^1.0.0-alpha.231",
58
+ "@panneau/form-inline": "^1.0.0-alpha.231",
59
+ "@panneau/form-normal": "^1.0.0-alpha.231",
60
+ "@panneau/form-two-pane": "^1.0.0-alpha.231",
61
61
  "prop-types": "^15.7.2"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "9fd9f8d6d7d7e574d3b9e4cbb01022e3abcbb9a6"
66
+ "gitHead": "74eccc596298a471a8985fe2cccf4a201dd18349"
67
67
  }