@squiz/generic-browser-lib 1.39.1-alpha.5 → 1.39.1-alpha.6
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/lib/Modal/Modal.js +1 -1
- package/package.json +2 -2
- package/src/Modal/Modal.tsx +1 -1
package/lib/Modal/Modal.js
CHANGED
@@ -39,7 +39,7 @@ function Modal({ isDismissable, state, overlayProps, children, ...props }) {
|
|
39
39
|
const ref = (0, react_1.useRef)(null);
|
40
40
|
const { modalProps, underlayProps } = (0, react_aria_1.useModalOverlay)({ isDismissable, ...props }, state, ref);
|
41
41
|
return (react_1.default.createElement(react_aria_1.Overlay, null,
|
42
|
-
react_1.default.createElement("div", { className: "squiz-gb-scope" },
|
42
|
+
react_1.default.createElement("div", { className: "squiz-gb-scope squiz-cb-scope squiz-rb-scope" },
|
43
43
|
react_1.default.createElement("div", { ...underlayProps, className: "h-full z-[9998] fixed inset-0 before:z-40 before:fixed before:inset-0 before:bg-black before:bg-opacity-25" },
|
44
44
|
react_1.default.createElement("div", { ...modalProps, ref: ref, className: "h-full flex items-center justify-center" },
|
45
45
|
react_1.default.createElement(ModalContent, { ...overlayProps }, (titleProps) => children(titleProps)))))));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@squiz/generic-browser-lib",
|
3
|
-
"version": "1.39.1-alpha.
|
3
|
+
"version": "1.39.1-alpha.6",
|
4
4
|
"description": "Package with reusable components used by resource/component browsers",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"volta": {
|
73
73
|
"node": "18.15.0"
|
74
74
|
},
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "079c9022ec37a73b0abbf3db2efe143789730f04"
|
76
76
|
}
|
package/src/Modal/Modal.tsx
CHANGED
@@ -40,7 +40,7 @@ export function Modal({ isDismissable, state, overlayProps, children, ...props }
|
|
40
40
|
|
41
41
|
return (
|
42
42
|
<Overlay>
|
43
|
-
<div className="squiz-gb-scope">
|
43
|
+
<div className="squiz-gb-scope squiz-cb-scope squiz-rb-scope">
|
44
44
|
<div
|
45
45
|
{...underlayProps}
|
46
46
|
className="h-full z-[9998] fixed inset-0 before:z-40 before:fixed before:inset-0 before:bg-black before:bg-opacity-25"
|