kitchen-simulator 3.12.0-test.1 → 3.12.0-test.2

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
@@ -452,6 +452,10 @@ export function renderKitchenSimulator(container) {
452
452
  // internal: rerender wrapper with latest props if host calls renderKitchenSimulator again
453
453
  __render: function __render(nextProps) {
454
454
  lastProps = _objectSpread(_objectSpread({}, lastProps), nextProps);
455
+ console.log({
456
+ lastProps: lastProps,
457
+ nextProps: nextProps
458
+ });
455
459
  root.render(/*#__PURE__*/React.createElement(Wrapper, lastProps));
456
460
  },
457
461
  updateContainerDimensions: function updateContainerDimensions(width, height) {
@@ -459,6 +463,10 @@ export function renderKitchenSimulator(container) {
459
463
  if (destroyed) return false;
460
464
 
461
465
  // optional: accept numbers or strings, up to you
466
+ console.log({
467
+ width: width,
468
+ height: height
469
+ });
462
470
  api.__render(_objectSpread(_objectSpread(_objectSpread({}, lastProps), extraProps), {}, {
463
471
  width: width,
464
472
  height: height
package/lib/index.js CHANGED
@@ -460,6 +460,10 @@ function renderKitchenSimulator(container) {
460
460
  // internal: rerender wrapper with latest props if host calls renderKitchenSimulator again
461
461
  __render: function __render(nextProps) {
462
462
  lastProps = _objectSpread(_objectSpread({}, lastProps), nextProps);
463
+ console.log({
464
+ lastProps: lastProps,
465
+ nextProps: nextProps
466
+ });
463
467
  root.render(/*#__PURE__*/_react["default"].createElement(Wrapper, lastProps));
464
468
  },
465
469
  updateContainerDimensions: function updateContainerDimensions(width, height) {
@@ -467,6 +471,10 @@ function renderKitchenSimulator(container) {
467
471
  if (destroyed) return false;
468
472
 
469
473
  // optional: accept numbers or strings, up to you
474
+ console.log({
475
+ width: width,
476
+ height: height
477
+ });
470
478
  api.__render(_objectSpread(_objectSpread(_objectSpread({}, lastProps), extraProps), {}, {
471
479
  width: width,
472
480
  height: height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitchen-simulator",
3
- "version": "3.12.0-test.1",
3
+ "version": "3.12.0-test.2",
4
4
  "description": "It is a kitchen simulator (self-contained micro-frontend).",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",