@onehat/ui 0.3.211 → 0.3.212

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": "@onehat/ui",
3
- "version": "0.3.211",
3
+ "version": "0.3.212",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -42,7 +42,7 @@ export default function withPdfButton(WrappedComponent) {
42
42
 
43
43
  } = props,
44
44
  [isModalShown, setIsModalShown] = useState(false),
45
- [width, height] = useAdjustedWindowSize(500, 800),
45
+ [width, height] = useAdjustedWindowSize(510, 800), // 510 so it's over the stack threshold
46
46
  propertyNames = [],
47
47
  buildModalItems = () => {
48
48
  const modalItems = _.map(_.cloneDeep(items), (item, ix) => buildNextLayer(item, ix, columnDefaults)); // clone, as we don't want to alter the item by reference