@itwin/itwinui-react 1.48.0 → 1.48.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ### [1.48.1](https://www.github.com/iTwin/iTwinUI-react/compare/v1.48.0...v1.48.1) (2022-10-24)
4
+
5
+ ### Fixes
6
+
7
+ * **Modal:** Apply z-index on dialog wrapper ([#892](https://www.github.com/iTwin/iTwinUI-react/issues/892)) ([0637b54](https://www.github.com/iTwin/iTwinUI-react/commit/0637b54769f14b48075460d94cf64937f90a9ee3))
8
+
3
9
  ## [1.48.0](https://www.github.com/iTwin/iTwinUI-react/compare/v1.47.1...v1.48.0) (2022-10-18)
4
10
 
5
11
  ### Fixes
@@ -19,6 +19,7 @@ var getContainer = function (containerId, ownerDocument) {
19
19
  if (container == null && !!ownerDocument) {
20
20
  container = ownerDocument.createElement('div');
21
21
  container.setAttribute('id', containerId);
22
+ container.innerHTML = "<style>:where(.iui-dialog-wrapper) { z-index: 999; }</style>"; // TODO: move to css
22
23
  ownerDocument.body.appendChild(container);
23
24
  }
24
25
  return container;
@@ -16,6 +16,7 @@ export var getContainer = function (containerId, ownerDocument) {
16
16
  if (container == null && !!ownerDocument) {
17
17
  container = ownerDocument.createElement('div');
18
18
  container.setAttribute('id', containerId);
19
+ container.innerHTML = "<style>:where(.iui-dialog-wrapper) { z-index: 999; }</style>"; // TODO: move to css
19
20
  ownerDocument.body.appendChild(container);
20
21
  }
21
22
  return container;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-react",
3
- "version": "1.48.0",
3
+ "version": "1.48.1",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "cjs/index.js",