@thecb/components 7.0.0-beta.8 → 7.0.0-beta.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.0.0-beta.8",
3
+ "version": "7.0.0-beta.9",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -49,7 +49,7 @@ const Modal = ({
49
49
  const { isMobile } = useContext(ThemeContext);
50
50
  const modalContainerRef = useRef(null);
51
51
  return (
52
- <Box padding="0" ref={modalContainerRef}>
52
+ <div ref={modalContainerRef}>
53
53
  {modalOpen && (
54
54
  <AriaModal
55
55
  // fallback to resolve Jest unit test errors when tabbable doesn't exist in jsdom https://github.com/focus-trap/focus-trap-react/issues/91
@@ -192,7 +192,7 @@ const Modal = ({
192
192
  </AriaModal>
193
193
  )}
194
194
  {children}
195
- </Box>
195
+ </div>
196
196
  );
197
197
  };
198
198