@linzjs/windows 3.2.2 → 3.2.3

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.
@@ -134,7 +134,9 @@ export const LuiModalAsyncContextProvider = ({ children }: PropsWithChildren<unk
134
134
  */
135
135
  const modalHasView = useCallback(
136
136
  (modalInstance: LuiModalAsyncInstance): boolean =>
137
- modalInstance.ownerRef === openModalOnAllWindows || !!modalInstance.ownerRef.current?.ownerDocument?.defaultView,
137
+ modalInstance.ownerRef === openModalOnAllWindows ||
138
+ modalInstance.ownerRef.current === null || // document.body
139
+ !!modalInstance.ownerRef.current.ownerDocument?.defaultView,
138
140
  [],
139
141
  );
140
142
 
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "popout"
14
14
  ],
15
15
  "main": "./dist/index.ts",
16
- "version": "3.2.2",
16
+ "version": "3.2.3",
17
17
  "peerDependencies": {
18
18
  "@linzjs/lui": "^21",
19
19
  "lodash-es": ">=4",
@@ -46,9 +46,9 @@
46
46
  "semantic-release": "semantic-release"
47
47
  },
48
48
  "dependencies": {
49
- "@emotion/cache": "^11.11.0",
50
- "@emotion/react": "^11.11.4",
51
- "@emotion/styled": "^11.11.5",
49
+ "@emotion/cache": "^11.13.0",
50
+ "@emotion/react": "^11.13.0",
51
+ "@emotion/styled": "^11.13.0",
52
52
  "lodash-es": ">=4",
53
53
  "react-rnd": "^10.4.11",
54
54
  "usehooks-ts": "^3.1.0",
@@ -58,7 +58,7 @@
58
58
  "@chromatic-com/storybook": "^1.6.1",
59
59
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
60
60
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
61
- "@linzjs/lui": "^21.39.1",
61
+ "@linzjs/lui": "^21.40.5",
62
62
  "@linzjs/step-ag-grid": "^21.2.1",
63
63
  "@rollup/plugin-commonjs": "^26.0.1",
64
64
  "@rollup/plugin-json": "^6.1.0",
@@ -73,20 +73,20 @@
73
73
  "@storybook/react-vite": "^8.1.11",
74
74
  "@storybook/test": "^8.1.11",
75
75
  "@storybook/test-runner": "^0.19.0",
76
- "@testing-library/jest-dom": "^6.4.6",
76
+ "@testing-library/jest-dom": "^6.4.7",
77
77
  "@testing-library/react": "^16.0.0",
78
78
  "@testing-library/user-event": "^14.5.2",
79
79
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
80
80
  "@types/jest": "^29.5.12",
81
81
  "@types/lodash-es": "^4.17.12",
82
- "@types/node": "^20.14.10",
82
+ "@types/node": "^20.14.11",
83
83
  "@types/react": "^18.3.3",
84
84
  "@types/react-dom": "^18.3.0",
85
85
  "@types/uuid": "^10.0.0",
86
- "@typescript-eslint/eslint-plugin": "^7.16.0",
87
- "@typescript-eslint/parser": "^7.16.0",
88
- "ag-grid-community": "^31.3.2",
89
- "ag-grid-react": "^31.3.2",
86
+ "@typescript-eslint/eslint-plugin": "^7.17.0",
87
+ "@typescript-eslint/parser": "^7.17.0",
88
+ "ag-grid-community": "^31.3.4",
89
+ "ag-grid-react": "^31.3.4",
90
90
  "esbuild": "^0.23.0",
91
91
  "eslint": "^8.57.0",
92
92
  "eslint-config-prettier": "^9.1.0",
@@ -106,25 +106,25 @@
106
106
  "jest-expect-message": "^1.1.3",
107
107
  "mkdirp": "^3.0.1",
108
108
  "npm-run-all": "^4.1.5",
109
- "prettier": "^3.3.2",
109
+ "prettier": "^3.3.3",
110
110
  "react": "^18.3.1",
111
111
  "react-app-polyfill": "^3.0.0",
112
112
  "react-dom": "^18.3.1",
113
- "rollup": "^4.18.1",
113
+ "rollup": "^4.19.0",
114
114
  "rollup-plugin-copy": "^3.5.0",
115
- "sass": "^1.77.6",
115
+ "sass": "^1.77.8",
116
116
  "sass-loader": "^14.2.1",
117
117
  "semantic-release": "^22.0.12",
118
118
  "storybook": "^8.1.11",
119
119
  "style-loader": "^4.0.0",
120
- "stylelint": "^16.6.1",
120
+ "stylelint": "^16.7.0",
121
121
  "stylelint-config-recommended": "^14.0.1",
122
- "stylelint-config-recommended-scss": "^14.0.0",
122
+ "stylelint-config-recommended-scss": "^14.1.0",
123
123
  "stylelint-config-standard": "^36.0.1",
124
- "stylelint-prettier": "5.0.0",
125
- "stylelint-scss": "6.3.2",
124
+ "stylelint-prettier": "5.0.2",
125
+ "stylelint-scss": "6.4.1",
126
126
  "typescript": "^5.4.5",
127
- "vite": "^5.3.3"
127
+ "vite": "^5.3.4"
128
128
  },
129
129
  "eslintConfig": {
130
130
  "extends": [