@panneau/app 1.0.0-alpha.234 → 1.0.0-alpha.235

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
@@ -1478,10 +1478,10 @@ var ResourceRoutes = function ResourceRoutes(_ref) {
1478
1478
  component = _ref3.component,
1479
1479
  _ref3$exact = _ref3.exact,
1480
1480
  exact = _ref3$exact === void 0 ? true : _ref3$exact,
1481
- routeProps = _objectWithoutProperties(_ref3, _excluded);
1481
+ pageProps = _objectWithoutProperties(_ref3, _excluded);
1482
1482
 
1483
1483
  var RouteComponent = componentsManager.getComponent(component);
1484
- return RouteComponent !== null ? /*#__PURE__*/React.createElement(Route, Object.assign({
1484
+ return RouteComponent !== null ? /*#__PURE__*/React.createElement(Route, {
1485
1485
  key: "route-".concat(path),
1486
1486
  path: path,
1487
1487
  exact: exact,
@@ -1493,9 +1493,9 @@ var ResourceRoutes = function ResourceRoutes(_ref) {
1493
1493
  return /*#__PURE__*/React.createElement(RouteComponent, Object.assign({
1494
1494
  resource: resource,
1495
1495
  itemId: id
1496
- }, params));
1496
+ }, pageProps, params));
1497
1497
  }
1498
- }, routeProps)) : null;
1498
+ }) : null;
1499
1499
  }), /*#__PURE__*/React.createElement(Route, {
1500
1500
  path: route('resources.index', {
1501
1501
  resource: resourceId
package/lib/index.js CHANGED
@@ -1507,10 +1507,10 @@ var ResourceRoutes = function ResourceRoutes(_ref) {
1507
1507
  component = _ref3.component,
1508
1508
  _ref3$exact = _ref3.exact,
1509
1509
  exact = _ref3$exact === void 0 ? true : _ref3$exact,
1510
- routeProps = _objectWithoutProperties__default["default"](_ref3, _excluded);
1510
+ pageProps = _objectWithoutProperties__default["default"](_ref3, _excluded);
1511
1511
 
1512
1512
  var RouteComponent = componentsManager.getComponent(component);
1513
- return RouteComponent !== null ? /*#__PURE__*/React__default["default"].createElement(reactRouter.Route, Object.assign({
1513
+ return RouteComponent !== null ? /*#__PURE__*/React__default["default"].createElement(reactRouter.Route, {
1514
1514
  key: "route-".concat(path),
1515
1515
  path: path,
1516
1516
  exact: exact,
@@ -1522,9 +1522,9 @@ var ResourceRoutes = function ResourceRoutes(_ref) {
1522
1522
  return /*#__PURE__*/React__default["default"].createElement(RouteComponent, Object.assign({
1523
1523
  resource: resource,
1524
1524
  itemId: id
1525
- }, params));
1525
+ }, pageProps, params));
1526
1526
  }
1527
- }, routeProps)) : null;
1527
+ }) : null;
1528
1528
  }), /*#__PURE__*/React__default["default"].createElement(reactRouter.Route, {
1529
1529
  path: route('resources.index', {
1530
1530
  resource: resourceId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/app",
3
- "version": "1.0.0-alpha.234",
3
+ "version": "1.0.0-alpha.235",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -98,5 +98,5 @@
98
98
  "publishConfig": {
99
99
  "access": "public"
100
100
  },
101
- "gitHead": "26dd4a87ae5956ad202223313cd5477a609d5430"
101
+ "gitHead": "05f8ab55f2bdaf6e4360796d72492606a67df287"
102
102
  }