@panneau/lists 1.0.0-alpha.22 → 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 +1 -1
- package/lib/index.js +7 -5
- package/package.json +9 -9
package/es/index.js
CHANGED
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');
|
|
@@ -15,20 +17,20 @@ var listCards__default = /*#__PURE__*/_interopDefaultLegacy(listCards);
|
|
|
15
17
|
|
|
16
18
|
var components = /*#__PURE__*/Object.freeze({
|
|
17
19
|
__proto__: null,
|
|
18
|
-
Table: listTable__default[
|
|
19
|
-
Cards: listCards__default[
|
|
20
|
+
Table: listTable__default["default"],
|
|
21
|
+
Cards: listCards__default["default"]
|
|
20
22
|
});
|
|
21
23
|
|
|
22
24
|
/* eslint-disable react/jsx-props-no-spreading */
|
|
23
25
|
var propTypes = {
|
|
24
|
-
children: PropTypes__default[
|
|
26
|
+
children: PropTypes__default["default"].node
|
|
25
27
|
};
|
|
26
28
|
var defaultProps = {
|
|
27
29
|
children: null
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
var ListsProvider = function ListsProvider(props) {
|
|
31
|
-
return /*#__PURE__*/React__default[
|
|
33
|
+
return /*#__PURE__*/React__default["default"].createElement(contexts.ComponentsProvider, Object.assign({
|
|
32
34
|
namespace: contexts.LISTS_NAMESPACE,
|
|
33
35
|
components: components
|
|
34
36
|
}, props));
|
|
@@ -37,4 +39,4 @@ var ListsProvider = function ListsProvider(props) {
|
|
|
37
39
|
ListsProvider.propTypes = propTypes;
|
|
38
40
|
ListsProvider.defaultProps = defaultProps;
|
|
39
41
|
|
|
40
|
-
|
|
42
|
+
exports["default"] = ListsProvider;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/lists",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.231",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -44,22 +44,22 @@
|
|
|
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.
|
|
57
|
-
"@panneau/list-cards": "^1.0.0-alpha.
|
|
58
|
-
"@panneau/list-table": "^1.0.0-alpha.
|
|
56
|
+
"@panneau/core": "^1.0.0-alpha.231",
|
|
57
|
+
"@panneau/list-cards": "^1.0.0-alpha.231",
|
|
58
|
+
"@panneau/list-table": "^1.0.0-alpha.231",
|
|
59
59
|
"prop-types": "^15.7.2"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "74eccc596298a471a8985fe2cccf4a201dd18349"
|
|
65
65
|
}
|