@gamelearn/arcade-components 2.33.0 → 2.33.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.
@@ -13,6 +13,7 @@ var BubbleWrapper = function BubbleWrapper(_ref) {
13
13
  translate = _ref.translate;
14
14
  var container = document.querySelector('.screens--container');
15
15
  return /*#__PURE__*/_react.default.createElement("group", null, /*#__PURE__*/_react.default.createElement(_arcadeThreeCore.HtmlPro, {
16
+ wrapperClass: "htmlpro-wrap-100-h",
16
17
  onOcclude: function onOcclude() {
17
18
  return null;
18
19
  },
@@ -22,8 +23,9 @@ var BubbleWrapper = function BubbleWrapper(_ref) {
22
23
  } : undefined,
23
24
  style: {
24
25
  width: '100vw',
25
- height: '100vh',
26
- position: 'static'
26
+ height: '100%',
27
+ position: 'static',
28
+ outline: '1px solid yellow'
27
29
  },
28
30
  calculatePosition: function calculatePosition() {
29
31
  return [0, 0];
@@ -730,9 +730,10 @@ var DialogComponent = function DialogComponent(_ref) {
730
730
  translate: translate,
731
731
  currentMessage: currentMessage
732
732
  }) : null, /*#__PURE__*/_react.default.createElement(_arcadeThreeCore.HtmlPro, {
733
+ wrapperClass: "htmlpro-wrap-100-h",
733
734
  style: {
734
735
  width: '100vw',
735
- height: '100vh',
736
+ height: '100%',
736
737
  position: 'static'
737
738
  },
738
739
  portal: container ? {
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.33.0",
5
+ "version": "2.33.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.18.1",
17
+ "@gamelearn/arcade-styles": "2.18.2",
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",