@gamelearn/arcade-components 2.37.0 → 2.37.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.
@@ -539,6 +539,12 @@ var DialogComponent = function DialogComponent(_ref) {
539
539
  isLeft: isLeft
540
540
  };
541
541
  };
542
+ var setUIContainerToItsDefaultZIndex = function setUIContainerToItsDefaultZIndex(value) {
543
+ emitEvent({
544
+ type: 'resetZIndexUIContainer',
545
+ payload: value
546
+ });
547
+ };
542
548
 
543
549
  // Position bubble over talking character/and switch emotions
544
550
  (0, _react.useEffect)(function () {
@@ -721,9 +727,11 @@ var DialogComponent = function DialogComponent(_ref) {
721
727
  keyboardControl: keyboardControl,
722
728
  onMount: function onMount() {
723
729
  resetCameraView();
730
+ setUIContainerToItsDefaultZIndex(true);
724
731
  },
725
732
  onUnMount: function onUnMount() {
726
733
  zoomStarted.current = false;
734
+ setUIContainerToItsDefaultZIndex(false);
727
735
  }
728
736
  });
729
737
  return /*#__PURE__*/_react.default.createElement(_DialogDecision.default, decisionPayload);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "2.37.0",
5
+ "version": "2.37.1",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@babel/runtime": "^7.18.6",
17
- "@gamelearn/arcade-styles": "2.20.0",
17
+ "@gamelearn/arcade-styles": "2.20.1",
18
18
  "@gamelearn/arcade-three-core": "1.24.3",
19
19
  "@react-three/a11y": "^3.0.0",
20
20
  "@react-three/drei": "9.4.3",