@panneau/actions 4.0.1 → 4.0.3
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 +5 -3
- package/package.json +10 -10
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 React from 'react';
|
|
4
3
|
import { ComponentsProvider, ACTIONS_NAMESPACE } from '@panneau/core/contexts';
|
|
5
4
|
import actionDelete from '@panneau/action-delete';
|
|
6
5
|
import actionDuplicate from '@panneau/action-duplicate';
|
|
@@ -9,6 +8,7 @@ import actionImport from '@panneau/action-import';
|
|
|
9
8
|
import actionRestore from '@panneau/action-restore';
|
|
10
9
|
import actionShow from '@panneau/action-show';
|
|
11
10
|
import actionUpload from '@panneau/action-upload';
|
|
11
|
+
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
var components = /*#__PURE__*/Object.freeze({
|
|
14
14
|
__proto__: null,
|
|
@@ -28,10 +28,12 @@ function ActionsProviders(_ref) {
|
|
|
28
28
|
_ref$children = _ref.children,
|
|
29
29
|
children = _ref$children === void 0 ? null : _ref$children,
|
|
30
30
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
31
|
-
return /*#__PURE__*/
|
|
31
|
+
return /*#__PURE__*/jsx(ComponentsProvider, _objectSpread(_objectSpread({
|
|
32
32
|
namespace: ACTIONS_NAMESPACE,
|
|
33
33
|
components: _objectSpread(_objectSpread({}, components), injectedComponents)
|
|
34
|
-
}, props),
|
|
34
|
+
}, props), {}, {
|
|
35
|
+
children: children
|
|
36
|
+
}));
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
export { ActionsProviders as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/actions",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -58,18 +58,18 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@babel/runtime": "^7.12.5",
|
|
61
|
-
"@panneau/action-delete": "^4.0.
|
|
62
|
-
"@panneau/action-duplicate": "^4.0.
|
|
63
|
-
"@panneau/action-edit": "^4.0.
|
|
64
|
-
"@panneau/action-import": "^4.0.
|
|
65
|
-
"@panneau/action-restore": "^4.0.
|
|
66
|
-
"@panneau/action-show": "^4.0.
|
|
67
|
-
"@panneau/action-upload": "^4.0.
|
|
68
|
-
"@panneau/core": "^4.0.
|
|
61
|
+
"@panneau/action-delete": "^4.0.2",
|
|
62
|
+
"@panneau/action-duplicate": "^4.0.2",
|
|
63
|
+
"@panneau/action-edit": "^4.0.2",
|
|
64
|
+
"@panneau/action-import": "^4.0.2",
|
|
65
|
+
"@panneau/action-restore": "^4.0.2",
|
|
66
|
+
"@panneau/action-show": "^4.0.2",
|
|
67
|
+
"@panneau/action-upload": "^4.0.3",
|
|
68
|
+
"@panneau/core": "^4.0.2",
|
|
69
69
|
"prop-types": "^15.7.2"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "26b5ab7536b0e8c3197d40d302fc2681e7c7122e"
|
|
75
75
|
}
|