@panneau/lists 3.0.308 → 4.0.1

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.
Files changed (2) hide show
  1. package/es/index.js +6 -16
  2. package/package.json +5 -5
package/es/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import PropTypes from 'prop-types';
4
3
  import React from 'react';
5
4
  import { ComponentsProvider, LISTS_NAMESPACE } from '@panneau/core/contexts';
6
5
  import listTable from '@panneau/list-table';
@@ -13,25 +12,16 @@ var components = /*#__PURE__*/Object.freeze({
13
12
  });
14
13
 
15
14
  var _excluded = ["components", "children"];
16
- var propTypes = {
17
- components: PropTypes.object,
18
- // eslint-disable-line
19
- children: PropTypes.node
20
- };
21
- var defaultProps = {
22
- components: null,
23
- children: null
24
- };
25
- var ListsProvider = function ListsProvider(_ref) {
26
- var injectedComponents = _ref.components,
27
- children = _ref.children,
15
+ function ListsProvider(_ref) {
16
+ var _ref$components = _ref.components,
17
+ injectedComponents = _ref$components === void 0 ? null : _ref$components,
18
+ _ref$children = _ref.children,
19
+ children = _ref$children === void 0 ? null : _ref$children,
28
20
  props = _objectWithoutProperties(_ref, _excluded);
29
21
  return /*#__PURE__*/React.createElement(ComponentsProvider, Object.assign({
30
22
  namespace: LISTS_NAMESPACE,
31
23
  components: _objectSpread(_objectSpread({}, components), injectedComponents)
32
24
  }, props), children);
33
- };
34
- ListsProvider.propTypes = propTypes;
35
- ListsProvider.defaultProps = defaultProps;
25
+ }
36
26
 
37
27
  export { ListsProvider as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/lists",
3
- "version": "3.0.308",
3
+ "version": "4.0.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -66,13 +66,13 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@babel/runtime": "^7.12.5",
69
- "@panneau/core": "^3.0.307",
70
- "@panneau/list-cards": "^3.0.308",
71
- "@panneau/list-table": "^3.0.308",
69
+ "@panneau/core": "^4.0.1",
70
+ "@panneau/list-cards": "^4.0.1",
71
+ "@panneau/list-table": "^4.0.1",
72
72
  "prop-types": "^15.7.2"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "8711276a09fcda499a4a2f206554f9cd995976f5"
77
+ "gitHead": "dbdf65640625c027ecd56cf2b816b80a5c38cb8d"
78
78
  }