@panneau/forms 3.0.223 → 3.0.224

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/forms",
3
- "version": "3.0.223",
3
+ "version": "3.0.224",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -33,11 +33,10 @@
33
33
  }
34
34
  ],
35
35
  "license": "ISC",
36
- "main": "lib/index.js",
36
+ "type": "module",
37
37
  "module": "es/index.js",
38
38
  "exports": {
39
39
  ".": {
40
- "require": "./lib/index.js",
41
40
  "import": "./es/index.js"
42
41
  },
43
42
  "./scss/styles": "./scss/styles.scss",
@@ -66,16 +65,16 @@
66
65
  },
67
66
  "dependencies": {
68
67
  "@babel/runtime": "^7.12.5",
69
- "@panneau/core": "^3.0.223",
70
- "@panneau/form-auth": "^3.0.223",
71
- "@panneau/form-horizontal": "^3.0.223",
72
- "@panneau/form-inline": "^3.0.223",
73
- "@panneau/form-normal": "^3.0.223",
74
- "@panneau/form-two-pane": "^3.0.223",
68
+ "@panneau/core": "^3.0.224",
69
+ "@panneau/form-auth": "^3.0.224",
70
+ "@panneau/form-horizontal": "^3.0.224",
71
+ "@panneau/form-inline": "^3.0.224",
72
+ "@panneau/form-normal": "^3.0.224",
73
+ "@panneau/form-two-pane": "^3.0.224",
75
74
  "prop-types": "^15.7.2"
76
75
  },
77
76
  "publishConfig": {
78
77
  "access": "public"
79
78
  },
80
- "gitHead": "14196bd955b0e44cbc214e00f3189b3216f3fa53"
79
+ "gitHead": "c95bd465867c4c7d112bf0ed66036574cc05c627"
81
80
  }
package/scss/styles.scss CHANGED
@@ -1,2 +1 @@
1
- @import '~@panneau/form-two-pane/assets/css/styles';
2
1
 
package/lib/index.js DELETED
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
6
- var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
7
- var PropTypes = require('prop-types');
8
- var React = require('react');
9
- var contexts = require('@panneau/core/contexts');
10
- var formHorizontal = require('@panneau/form-horizontal');
11
- var formInline = require('@panneau/form-inline');
12
- var formNormal = require('@panneau/form-normal');
13
- var formTwoPane = require('@panneau/form-two-pane');
14
- var formAuth = require('@panneau/form-auth');
15
-
16
- // Import forms
17
-
18
- var components = /*#__PURE__*/Object.freeze({
19
- __proto__: null,
20
- ChangePassword: formAuth.ChangePassword,
21
- ConfirmPassword: formAuth.ConfirmPassword,
22
- ForgotPassword: formAuth.ForgotPassword,
23
- Horizontal: formHorizontal,
24
- Inline: formInline,
25
- Login: formAuth.Login,
26
- Normal: formNormal,
27
- Register: formAuth.Register,
28
- ResetPassword: formAuth.ResetPassword,
29
- TwoFactorChallenge: formAuth.TwoFactorChallenge,
30
- TwoFactorDisable: formAuth.TwoFactorDisable,
31
- TwoFactorEnable: formAuth.TwoFactorEnable,
32
- TwoPane: formTwoPane
33
- });
34
-
35
- var _excluded = ["components", "children"];
36
- var propTypes = {
37
- components: PropTypes.object,
38
- // eslint-disable-line
39
- children: PropTypes.node
40
- };
41
- var defaultProps = {
42
- components: null,
43
- children: null
44
- };
45
- var FormsProvider = function FormsProvider(_ref) {
46
- var injectedComponents = _ref.components,
47
- children = _ref.children,
48
- props = _objectWithoutProperties(_ref, _excluded);
49
- return /*#__PURE__*/React.createElement(contexts.ComponentsProvider, Object.assign({
50
- namespace: contexts.FORMS_NAMESPACE,
51
- components: _objectSpread(_objectSpread({}, components), injectedComponents)
52
- }, props), children);
53
- };
54
- FormsProvider.propTypes = propTypes;
55
- FormsProvider.defaultProps = defaultProps;
56
- var FormsProvider$1 = FormsProvider;
57
-
58
- exports.default = FormsProvider$1;