@linzjs/windows 3.2.2 → 3.2.4
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.
|
@@ -9,7 +9,7 @@ dialog.LuiModalAsync, div.LuiModalAsync {
|
|
|
9
9
|
border: none;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
|
-
border-radius:
|
|
12
|
+
border-radius: 9px;
|
|
13
13
|
padding: lui.$unit-md;
|
|
14
14
|
min-width: 400px;
|
|
15
15
|
max-width: 80vw;
|
|
@@ -29,7 +29,7 @@ dialog.LuiModalAsync, div.LuiModalAsync {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.LuiModalPrefab-error {
|
|
32
|
-
border-left: lui.$unit-
|
|
32
|
+
border-left: lui.$unit-sm solid lui.$error;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
h4 {
|
|
@@ -134,7 +134,7 @@ 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
|
|
137
|
+
modalInstance.ownerRef === openModalOnAllWindows || !!modalInstance.ownerRef.current?.ownerDocument.defaultView,
|
|
138
138
|
[],
|
|
139
139
|
);
|
|
140
140
|
|
|
@@ -9,7 +9,7 @@ export interface ShowModalProps {
|
|
|
9
9
|
export const useShowAsyncModal = () => {
|
|
10
10
|
const { showModal } = useContext(LuiModalAsyncContext);
|
|
11
11
|
|
|
12
|
-
const modalOwnerRef = useRef<any>(
|
|
12
|
+
const modalOwnerRef = useRef<any>(document.body);
|
|
13
13
|
|
|
14
14
|
const showModalAsync = useCallback(
|
|
15
15
|
<CT extends ComponentType>(
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"popout"
|
|
14
14
|
],
|
|
15
15
|
"main": "./dist/index.ts",
|
|
16
|
-
"version": "3.2.
|
|
16
|
+
"version": "3.2.4",
|
|
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.
|
|
50
|
-
"@emotion/react": "^11.
|
|
51
|
-
"@emotion/styled": "^11.
|
|
49
|
+
"@emotion/cache": "^11.13.1",
|
|
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,35 +58,35 @@
|
|
|
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.
|
|
61
|
+
"@linzjs/lui": "^21.42.0",
|
|
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",
|
|
65
65
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
66
|
-
"@storybook/addon-docs": "^8.
|
|
67
|
-
"@storybook/addon-essentials": "^8.
|
|
68
|
-
"@storybook/addon-interactions": "^8.
|
|
69
|
-
"@storybook/addon-links": "^8.
|
|
70
|
-
"@storybook/addon-mdx-gfm": "^8.
|
|
71
|
-
"@storybook/blocks": "^8.
|
|
72
|
-
"@storybook/react": "^8.
|
|
73
|
-
"@storybook/react-vite": "^8.
|
|
74
|
-
"@storybook/test": "^8.
|
|
75
|
-
"@storybook/test-runner": "^0.19.
|
|
76
|
-
"@testing-library/jest-dom": "^6.4.
|
|
66
|
+
"@storybook/addon-docs": "^8.2.6",
|
|
67
|
+
"@storybook/addon-essentials": "^8.2.6",
|
|
68
|
+
"@storybook/addon-interactions": "^8.2.6",
|
|
69
|
+
"@storybook/addon-links": "^8.2.6",
|
|
70
|
+
"@storybook/addon-mdx-gfm": "^8.2.6",
|
|
71
|
+
"@storybook/blocks": "^8.2.6",
|
|
72
|
+
"@storybook/react": "^8.2.6",
|
|
73
|
+
"@storybook/react-vite": "^8.2.6",
|
|
74
|
+
"@storybook/test": "^8.2.6",
|
|
75
|
+
"@storybook/test-runner": "^0.19.1",
|
|
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.
|
|
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.
|
|
87
|
-
"@typescript-eslint/parser": "^7.
|
|
88
|
-
"ag-grid-community": "^31.3.
|
|
89
|
-
"ag-grid-react": "^31.3.
|
|
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.
|
|
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.
|
|
113
|
+
"rollup": "^4.19.1",
|
|
114
114
|
"rollup-plugin-copy": "^3.5.0",
|
|
115
|
-
"sass": "^1.77.
|
|
115
|
+
"sass": "^1.77.8",
|
|
116
116
|
"sass-loader": "^14.2.1",
|
|
117
117
|
"semantic-release": "^22.0.12",
|
|
118
|
-
"storybook": "^8.
|
|
118
|
+
"storybook": "^8.2.6",
|
|
119
119
|
"style-loader": "^4.0.0",
|
|
120
|
-
"stylelint": "^16.
|
|
120
|
+
"stylelint": "^16.7.0",
|
|
121
121
|
"stylelint-config-recommended": "^14.0.1",
|
|
122
|
-
"stylelint-config-recommended-scss": "^14.
|
|
122
|
+
"stylelint-config-recommended-scss": "^14.1.0",
|
|
123
123
|
"stylelint-config-standard": "^36.0.1",
|
|
124
|
-
"stylelint-prettier": "5.0.
|
|
125
|
-
"stylelint-scss": "6.
|
|
124
|
+
"stylelint-prettier": "5.0.2",
|
|
125
|
+
"stylelint-scss": "6.4.1",
|
|
126
126
|
"typescript": "^5.4.5",
|
|
127
|
-
"vite": "^5.3.
|
|
127
|
+
"vite": "^5.3.5"
|
|
128
128
|
},
|
|
129
129
|
"eslintConfig": {
|
|
130
130
|
"extends": [
|