Skip to content

Commit 57865d5

Browse files
committed
Portal - default zIndex is now 3001 (over a jira issue dialog)
1 parent 72cc298 commit 57865d5

File tree

3 files changed

+566
-923
lines changed

3 files changed

+566
-923
lines changed

library/src/utils/getPortal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function createPortalRootNode(props?: {
2626
}) {
2727
const {
2828
id = portalContainerID,
29-
zIndex = 511, // the atlaskit portal has 510, the hamburger menu has 512
29+
zIndex = 3001, // the atlaskit portal dialogue menu has 3000 that it is shown above other atlaskit components
3030
portalParentNode = document.body,
3131
setAsPortalRootNode = true,
3232
} = props ?? {}

package.json

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,22 @@
1717
],
1818
"types": "./dist/index.d.ts",
1919
"exports": {
20-
".": "./dist/index.js",
21-
"./*": "./dist/**/*.js",
22-
"./bundler-plugins": "./dist/bundler-plugins/index.js",
23-
"./bundler-plugins/*": "./dist/bundler-plugins/*.js"
20+
".": {
21+
"types": "./dist/index.d.ts",
22+
"import": "./dist/index.js"
23+
},
24+
"./*": {
25+
"types": "./dist/**/*.d.ts",
26+
"import": "./dist/**/*.js"
27+
},
28+
"./bundler-plugins": {
29+
"types": "./dist/bundler-plugins/index.d.ts",
30+
"import": "./dist/bundler-plugins/index.js"
31+
},
32+
"./bundler-plugins/*": {
33+
"types": "./dist/bundler-plugins/*.d.ts",
34+
"import": "./dist/bundler-plugins/*.js"
35+
}
2436
},
2537
"scripts": {
2638
"build:lib": "tsc --noEmit -p tsconfig.lib.json && vitest run && vite build -c vite.config.lib.ts && npm run messages:compile && cp -r ./twThemes dist && npm run tsc:plugin",
@@ -110,10 +122,10 @@
110122
"lowlight": "^3.3.0",
111123
"lucide-react": "^0.544.0",
112124
"mime-types": "^3.0.1",
113-
"motion": "^12.23.13",
125+
"motion": "^12.23.19",
114126
"postcss": "^8.5.6",
115127
"react-awesome-slider": "^4.1.0",
116-
"react-day-picker": "^9.10.0",
128+
"react-day-picker": "^9.11.0",
117129
"react-intl": "^7.1.11",
118130
"react-joyride": "^2.9.3",
119131
"react-router-dom": "^7.9.1",
@@ -123,11 +135,11 @@
123135
"use-resize-observer": "^9.1.0"
124136
},
125137
"devDependencies": {
126-
"@atlaskit/atlassian-navigation": "^5.3.17",
127-
"@atlaskit/css-reset": "^7.3.6",
128-
"@atlaskit/table-tree": "^12.2.8",
138+
"@atlaskit/atlassian-navigation": "^5.3.18",
139+
"@atlaskit/css-reset": "^7.3.7",
140+
"@atlaskit/table-tree": "^12.2.9",
129141
"@atlaskit/theme": "^21.0.0",
130-
"@atlaskit/tokens": "^6.3.1",
142+
"@atlaskit/tokens": "^6.3.2",
131143
"@babel/generator": "^7.28.3",
132144
"@babel/parser": "^7.28.4",
133145
"@babel/traverse": "^7.28.4",
@@ -137,18 +149,17 @@
137149
"@hello-pangea/dnd": "^18.0.1",
138150
"@monaco-editor/react": "^4.7.0",
139151
"@tailwindcss/vite": "^4.1.13",
140-
"@tanstack/react-query": "^5.89.0",
152+
"@tanstack/react-query": "^5.90.2",
141153
"@testing-library/jest-dom": "^6.8.0",
142154
"@total-typescript/ts-reset": "^0.6.1",
143-
"@types/node": "^24.5.0",
155+
"@types/node": "^24.5.2",
144156
"@types/react": "^18.3.24",
145157
"@types/react-dom": "^18.3.7",
146158
"@types/react-transition-group": "^4.4.12",
147-
"@vitejs/plugin-react-swc": "^4.0.1",
159+
"@vitejs/plugin-react-swc": "^4.1.0",
148160
"cypress": "^15.2.0",
149161
"cypress-terminal-report": "^7.2.1",
150162
"dayjs": "^1.11.18",
151-
"eslint-plugin-react-refresh": "^0.4.20",
152163
"jsdom": "^26.1.0",
153164
"process": "^0.11.10",
154165
"react": "^18.3.1",
@@ -163,7 +174,7 @@
163174
"tailwindcss": "^4.1.13",
164175
"typescript": "^5.9.2",
165176
"typescript-plugin-css-modules": "^5.2.0",
166-
"vite": "^7.1.5",
177+
"vite": "^7.1.7",
167178
"vite-plugin-dts": "^4.5.4",
168179
"vitest": "^3.2.4"
169180
},

0 commit comments

Comments
 (0)