Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

update radix and tailwind to correct versions. update all tooltips with Portal subcomponent

Jonathan Summers-Muirc81e0c9098c5
diff --git a/package-lock.json b/package-lock.json
index 4524562e62b..fd1b73f8acb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5921,15 +5921,6 @@
"resolved": "https://registry.npmjs.org/@radix-ui/colors/-/colors-0.1.8.tgz",
"integrity": "sha512-jwRMXYwC0hUo0mv6wGpuw254Pd9p/R6Td5xsRpOmaWkUHlooNWqVcadgyzlRumMq3xfOTXwJReU0Jv+EIy4Jbw=="
},
- "node_modules/@radix-ui/popper": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/popper/-/popper-0.1.0.tgz",
- "integrity": "sha512-uzYeElL3w7SeNMuQpXiFlBhTT+JyaNMCwDfjKkrzugEcYrf5n52PHqncNdQPUtR42hJh8V9FsqyEDbDxkeNjJQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "csstype": "^3.0.4"
- }
- },
"node_modules/@radix-ui/primitive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz",
@@ -5960,50 +5951,16 @@
}
},
"node_modules/@radix-ui/react-arrow": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-0.1.4.tgz",
- "integrity": "sha512-BB6XzAb7Ml7+wwpFdYVtZpK1BlMgqyafSQNGzhIpSZ4uXvXOHPlR5GP8M449JkeQzgQjv9Mp1AsJxFC0KuOtuA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "0.1.4"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.2.tgz",
+ "integrity": "sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
+ "@radix-ui/react-primitive": "1.0.2"
},
"peerDependencies": {
- "react": "^16.8 || ^17.0"
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
"node_modules/@radix-ui/react-collapsible": {
@@ -6026,31 +5983,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-collection": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.0.2.tgz",
@@ -6107,17 +6039,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-context-menu/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-dialog": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.0.3.tgz",
@@ -6144,44 +6065,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
- "integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-direction": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.0.0.tgz",
@@ -6210,17 +6093,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-use-escape-keydown": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.2.tgz",
@@ -6278,17 +6150,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-id": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.0.tgz",
@@ -6301,17 +6162,6 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-id/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-menu": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.0.4.tgz",
@@ -6342,122 +6192,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-arrow": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.2.tgz",
- "integrity": "sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.1.tgz",
- "integrity": "sha512-keYDcdMPNMjSC8zTsZ8wezUMiWM9Yj14wtF3s0PTIs9srnEPC9Kt2Gny1T3T81mmSeyDjZxsD9N5WCwNNb712w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@floating-ui/react-dom": "0.7.2",
- "@radix-ui/react-arrow": "1.0.2",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-context": "1.0.0",
- "@radix-ui/react-primitive": "1.0.2",
- "@radix-ui/react-use-callback-ref": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0",
- "@radix-ui/react-use-rect": "1.0.0",
- "@radix-ui/react-use-size": "1.0.0",
- "@radix-ui/rect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-portal": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
- "integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.0.tgz",
- "integrity": "sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-size": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.0.tgz",
- "integrity": "sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.0.tgz",
- "integrity": "sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- }
- },
"node_modules/@radix-ui/react-popover": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.0.5.tgz",
@@ -6485,20 +6219,7 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-arrow": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.2.tgz",
- "integrity": "sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper": {
+ "node_modules/@radix-ui/react-popper": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.1.tgz",
"integrity": "sha512-keYDcdMPNMjSC8zTsZ8wezUMiWM9Yj14wtF3s0PTIs9srnEPC9Kt2Gny1T3T81mmSeyDjZxsD9N5WCwNNb712w==",
@@ -6520,7 +6241,7 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-portal": {
+ "node_modules/@radix-ui/react-portal": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
"integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
@@ -6533,7 +6254,7 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-presence": {
+ "node_modules/@radix-ui/react-presence": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
"integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
@@ -6547,198 +6268,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.0.tgz",
- "integrity": "sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-size": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.0.tgz",
- "integrity": "sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.0.tgz",
- "integrity": "sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "node_modules/@radix-ui/react-popper": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-0.1.4.tgz",
- "integrity": "sha512-18gDYof97t8UQa7zwklG1Dr8jIdj3u+rVOQLzPi9f5i1YQak/pVGkaqw8aY+iDUknKKuZniTk/7jbAJUYlKyOw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/popper": "0.1.0",
- "@radix-ui/react-arrow": "0.1.4",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-use-rect": "0.1.1",
- "@radix-ui/react-use-size": "0.1.1",
- "@radix-ui/rect": "0.1.1"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-portal": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.4.tgz",
- "integrity": "sha512-MO0wRy2eYRTZ/CyOri9NANCAtAtq89DEtg90gicaTlkCfdqCLEBsLb+/q66BZQTr3xX/Vq01nnVfc/TkCqoqvw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0",
- "react-dom": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-presence": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-0.1.2.tgz",
- "integrity": "sha512-3BRlFZraooIUfRlyN+b/Xs5hq1lanOOo/+3h6Pwu2GMFjkGKKa4Rd51fcqGqnVlbr3jYg+WLuGyAV4KlgqwrQw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "peerDependencies": {
- "react": ">=16.8"
- }
- },
- "node_modules/@radix-ui/react-presence/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
"node_modules/@radix-ui/react-primitive": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.2.tgz",
@@ -6773,17 +6302,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/@radix-ui/react-slot": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
@@ -6816,24 +6334,34 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
+ "node_modules/@radix-ui/react-tooltip": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.0.5.tgz",
+ "integrity": "sha512-cDKVcfzyO6PpckZekODJZDe5ZxZ2fCZlzKzTmPhe4mX9qTHRfLcKgqb0OKf22xLwDequ2tVleim+ZYx3rabD5w==",
"dependencies": {
"@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.0",
"@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-dismissable-layer": "1.0.3",
+ "@radix-ui/react-id": "1.0.0",
+ "@radix-ui/react-popper": "1.1.1",
+ "@radix-ui/react-portal": "1.0.2",
+ "@radix-ui/react-presence": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.2",
+ "@radix-ui/react-slot": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.0",
+ "@radix-ui/react-visually-hidden": "1.0.2"
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-use-layout-effect": {
+ "node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
+ "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
"dependencies": {
"@babel/runtime": "^7.13.10"
},
@@ -6841,121 +6369,6 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-tooltip": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-0.1.7.tgz",
- "integrity": "sha512-eiBUsVOHenZ0JR16tl970bB0DafJBz6mFgSGfIGIVpflFj0LIsIDiLMsYyvYdx1KwwsIUDTEZtxcPm/sWjPzqA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "0.1.0",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-id": "0.1.5",
- "@radix-ui/react-popper": "0.1.4",
- "@radix-ui/react-portal": "0.1.4",
- "@radix-ui/react-presence": "0.1.2",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-slot": "0.1.2",
- "@radix-ui/react-use-controllable-state": "0.1.0",
- "@radix-ui/react-use-escape-keydown": "0.1.0",
- "@radix-ui/react-use-previous": "0.1.1",
- "@radix-ui/react-use-rect": "0.1.1",
- "@radix-ui/react-visually-hidden": "0.1.4"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0",
- "react-dom": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-0.1.0.tgz",
- "integrity": "sha512-tqxZKybwN5Fa3VzZry4G6mXAAb9aAqKmPtnVbZpL0vsBwvOHTBwsjHVPXylocYLwEtBY9SCe665bYnNB515uoA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-id": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
- "integrity": "sha512-IPc4H/63bes0IZ1GJJozSEkSWcDyhNGtKFWUpJ+XtaLyQ1X3x7Mf6fWwWhDcpqlYEP+5WtAvfqcyEsyjP+ZhBQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-0.1.0.tgz",
- "integrity": "sha512-zv7CX/PgsRl46a52Tl45TwqwVJdmqnlQEQhaYMz/yBOD2sx2gCkCFSoF/z9mpnYWmS6DTLNTg5lIps3fV6EnXg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-use-callback-ref": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-0.1.0.tgz",
- "integrity": "sha512-Va041McOFFl+aV+sejvl0BS2aeHx86ND9X/rVFmEFQKTXCp6xgUK0NGUAGcgBlIjnJSbMYPGEk1xKSSlVcN2Aw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
"node_modules/@radix-ui/react-use-controllable-state": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.0.0.tgz",
@@ -6968,10 +6381,10 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-use-controllable-state/node_modules/@radix-ui/react-use-callback-ref": {
+ "node_modules/@radix-ui/react-use-layout-effect": {
"version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
+ "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
"dependencies": {
"@babel/runtime": "^7.13.10"
},
@@ -6979,114 +6392,47 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-use-escape-keydown": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-0.1.0.tgz",
- "integrity": "sha512-tDLZbTGFmvXaazUXXv8kYbiCcbAE8yKgng9s95d8fCO+Eundv0Jngbn/hKPhDDs4jj9ChwRX5cDDnlaN+ugYYQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-use-layout-effect": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-0.1.0.tgz",
- "integrity": "sha512-+wdeS51Y+E1q1Wmd+1xSSbesZkpVj4jsg0BojCbopWvgq5iBvixw5vgemscdh58ep98BwUbsFYnrywFhV9yrVg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-use-previous": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-0.1.1.tgz",
- "integrity": "sha512-O/ZgrDBr11dR8rhO59ED8s5zIXBRFi8MiS+CmFGfi7MJYdLbfqVOmQU90Ghf87aifEgWe6380LA69KBneaShAg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
"node_modules/@radix-ui/react-use-rect": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-0.1.1.tgz",
- "integrity": "sha512-kHNNXAsP3/PeszEmM/nxBBS9Jbo93sO+xuMTcRfwzXsmxT5gDXQzAiKbZQ0EecCPtJIzqvr7dlaQi/aP1PKYqQ==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.0.tgz",
+ "integrity": "sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "0.1.1"
+ "@radix-ui/rect": "1.0.0"
},
"peerDependencies": {
- "react": "^16.8 || ^17.0"
+ "react": "^16.8 || ^17.0 || ^18.0"
}
},
"node_modules/@radix-ui/react-use-size": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-0.1.1.tgz",
- "integrity": "sha512-pTgWM5qKBu6C7kfKxrKPoBI2zZYZmp2cSXzpUiGM3qEBQlMLtYhaY2JXdXUCxz+XmD1YEjc8oRwvyfsD4AG4WA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-visually-hidden": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-0.1.4.tgz",
- "integrity": "sha512-K/q6AEEzqeeEq/T0NPChvBqnwlp8Tl4NnQdrI/y8IOY7BRR+Ug0PEsVk6g48HJ7cA1//COugdxXXVVK/m0X1mA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "0.1.4"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.0.tgz",
+ "integrity": "sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
+ "@radix-ui/react-use-layout-effect": "1.0.0"
},
"peerDependencies": {
- "react": "^16.8 || ^17.0"
+ "react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
+ "node_modules/@radix-ui/react-visually-hidden": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.0.2.tgz",
+ "integrity": "sha512-qirnJxtYn73HEk1rXL12/mXnu2rwsNHDID10th2JGtdK25T9wX+mxRmGt7iPSahw512GbZOc0syZX1nLQGoEOg==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
+ "@radix-ui/react-primitive": "1.0.2"
},
"peerDependencies": {
- "react": "^16.8 || ^17.0"
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
"node_modules/@radix-ui/rect": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-0.1.1.tgz",
- "integrity": "sha512-g3hnE/UcOg7REdewduRPAK88EPuLZtaq7sA9ouu8S+YEtnyFRI16jgv6GZYe3VMoQLL1T171ebmEPtDjyxWLzw==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.0.tgz",
+ "integrity": "sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==",
"dependencies": {
"@babel/runtime": "^7.13.10"
}
@@ -14119,20 +13465,6 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/cmdk-supabase/node_modules/@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/cmdk-supabase/node_modules/@radix-ui/react-primitive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.0.tgz",
@@ -14158,17 +13490,6 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/cmdk-supabase/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/cmdk-supabase/node_modules/@radix-ui/react-use-escape-keydown": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.0.tgz",
@@ -14181,17 +13502,6 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
- "node_modules/cmdk-supabase/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"node_modules/cmdk-supabase/node_modules/react-remove-scroll": {
"version": "2.5.4",
"resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.4.tgz",
@@ -38729,32 +38039,6 @@
"typescript": "4.3.4"
}
},
- "packages/ui/node_modules/@radix-ui/react-portal": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.1.tgz",
- "integrity": "sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.1"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "packages/ui/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.1.tgz",
- "integrity": "sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "1.0.1"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
"packages/ui/node_modules/@tailwindcss/typography": {
"version": "0.5.7",
"license": "MIT",
@@ -38807,8 +38091,8 @@
"@headlessui/react": "^1.4.1",
"@monaco-editor/react": "^4.3.1",
"@next/bundle-analyzer": "^12.0.4",
- "@radix-ui/react-portal": "^0.1.1",
- "@radix-ui/react-tooltip": "^0.1.6",
+ "@radix-ui/react-portal": "^1.0.1",
+ "@radix-ui/react-tooltip": "^1.0.5",
"@scaleleap/pg-format": "^1.0.0",
"@sentry/browser": "^6.15.0",
"@sentry/nextjs": "^6.17.4",
@@ -38928,8 +38212,7 @@
"postcss": "^8.4.6",
"prettier": "^2.7.1",
"storybook-dark-mode": "^1.0.4",
- "tailwindcss": "^3.0.22",
- "ts-jest": "^27.0.7",
+ "tailwindcss": "^3.0.15",
"typescript": "4.8.4"
}
},
@@ -43350,15 +42633,6 @@
"resolved": "https://registry.npmjs.org/@radix-ui/colors/-/colors-0.1.8.tgz",
"integrity": "sha512-jwRMXYwC0hUo0mv6wGpuw254Pd9p/R6Td5xsRpOmaWkUHlooNWqVcadgyzlRumMq3xfOTXwJReU0Jv+EIy4Jbw=="
},
- "@radix-ui/popper": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/popper/-/popper-0.1.0.tgz",
- "integrity": "sha512-uzYeElL3w7SeNMuQpXiFlBhTT+JyaNMCwDfjKkrzugEcYrf5n52PHqncNdQPUtR42hJh8V9FsqyEDbDxkeNjJQ==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "csstype": "^3.0.4"
- }
- },
"@radix-ui/primitive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.0.tgz",
@@ -43385,40 +42659,12 @@
}
},
"@radix-ui/react-arrow": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-0.1.4.tgz",
- "integrity": "sha512-BB6XzAb7Ml7+wwpFdYVtZpK1BlMgqyafSQNGzhIpSZ4uXvXOHPlR5GP8M449JkeQzgQjv9Mp1AsJxFC0KuOtuA==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.2.tgz",
+ "integrity": "sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "0.1.4"
- },
- "dependencies": {
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- }
+ "@radix-ui/react-primitive": "1.0.2"
}
},
"@radix-ui/react-collapsible": {
@@ -43435,26 +42681,6 @@
"@radix-ui/react-primitive": "1.0.2",
"@radix-ui/react-use-controllable-state": "1.0.0",
"@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-collection": {
@@ -43497,16 +42723,6 @@
"@radix-ui/react-primitive": "1.0.2",
"@radix-ui/react-use-callback-ref": "1.0.0",
"@radix-ui/react-use-controllable-state": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-dialog": {
@@ -43529,35 +42745,6 @@
"@radix-ui/react-use-controllable-state": "1.0.0",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
- },
- "dependencies": {
- "@radix-ui/react-portal": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
- "integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- }
- },
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-direction": {
@@ -43581,14 +42768,6 @@
"@radix-ui/react-use-escape-keydown": "1.0.2"
},
"dependencies": {
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
"@radix-ui/react-use-escape-keydown": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.2.tgz",
@@ -43632,16 +42811,6 @@
"@radix-ui/react-compose-refs": "1.0.0",
"@radix-ui/react-primitive": "1.0.2",
"@radix-ui/react-use-callback-ref": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-id": {
@@ -43651,16 +42820,6 @@
"requires": {
"@babel/runtime": "^7.13.10",
"@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-menu": {
@@ -43687,96 +42846,6 @@
"@radix-ui/react-use-callback-ref": "1.0.0",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
- },
- "dependencies": {
- "@radix-ui/react-arrow": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.2.tgz",
- "integrity": "sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- }
- },
- "@radix-ui/react-popper": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.1.tgz",
- "integrity": "sha512-keYDcdMPNMjSC8zTsZ8wezUMiWM9Yj14wtF3s0PTIs9srnEPC9Kt2Gny1T3T81mmSeyDjZxsD9N5WCwNNb712w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@floating-ui/react-dom": "0.7.2",
- "@radix-ui/react-arrow": "1.0.2",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-context": "1.0.0",
- "@radix-ui/react-primitive": "1.0.2",
- "@radix-ui/react-use-callback-ref": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0",
- "@radix-ui/react-use-rect": "1.0.0",
- "@radix-ui/react-use-size": "1.0.0",
- "@radix-ui/rect": "1.0.0"
- }
- },
- "@radix-ui/react-portal": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
- "integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- }
- },
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-use-rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.0.tgz",
- "integrity": "sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "1.0.0"
- }
- },
- "@radix-ui/react-use-size": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.0.tgz",
- "integrity": "sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.0.tgz",
- "integrity": "sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-popover": {
@@ -43800,206 +42869,43 @@
"@radix-ui/react-use-controllable-state": "1.0.0",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
- },
- "dependencies": {
- "@radix-ui/react-arrow": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.2.tgz",
- "integrity": "sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- }
- },
- "@radix-ui/react-popper": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.1.tgz",
- "integrity": "sha512-keYDcdMPNMjSC8zTsZ8wezUMiWM9Yj14wtF3s0PTIs9srnEPC9Kt2Gny1T3T81mmSeyDjZxsD9N5WCwNNb712w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@floating-ui/react-dom": "0.7.2",
- "@radix-ui/react-arrow": "1.0.2",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-context": "1.0.0",
- "@radix-ui/react-primitive": "1.0.2",
- "@radix-ui/react-use-callback-ref": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0",
- "@radix-ui/react-use-rect": "1.0.0",
- "@radix-ui/react-use-size": "1.0.0",
- "@radix-ui/rect": "1.0.0"
- }
- },
- "@radix-ui/react-portal": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
- "integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.2"
- }
- },
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-use-rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.0.tgz",
- "integrity": "sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "1.0.0"
- }
- },
- "@radix-ui/react-use-size": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.0.tgz",
- "integrity": "sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/rect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.0.tgz",
- "integrity": "sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-popper": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-0.1.4.tgz",
- "integrity": "sha512-18gDYof97t8UQa7zwklG1Dr8jIdj3u+rVOQLzPi9f5i1YQak/pVGkaqw8aY+iDUknKKuZniTk/7jbAJUYlKyOw==",
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.1.tgz",
+ "integrity": "sha512-keYDcdMPNMjSC8zTsZ8wezUMiWM9Yj14wtF3s0PTIs9srnEPC9Kt2Gny1T3T81mmSeyDjZxsD9N5WCwNNb712w==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/popper": "0.1.0",
- "@radix-ui/react-arrow": "0.1.4",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-use-rect": "0.1.1",
- "@radix-ui/react-use-size": "0.1.1",
- "@radix-ui/rect": "0.1.1"
- },
- "dependencies": {
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- }
+ "@floating-ui/react-dom": "0.7.2",
+ "@radix-ui/react-arrow": "1.0.2",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.2",
+ "@radix-ui/react-use-callback-ref": "1.0.0",
+ "@radix-ui/react-use-layout-effect": "1.0.0",
+ "@radix-ui/react-use-rect": "1.0.0",
+ "@radix-ui/react-use-size": "1.0.0",
+ "@radix-ui/rect": "1.0.0"
}
},
"@radix-ui/react-portal": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.4.tgz",
- "integrity": "sha512-MO0wRy2eYRTZ/CyOri9NANCAtAtq89DEtg90gicaTlkCfdqCLEBsLb+/q66BZQTr3xX/Vq01nnVfc/TkCqoqvw==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.2.tgz",
+ "integrity": "sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "dependencies": {
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- }
+ "@radix-ui/react-primitive": "1.0.2"
}
},
"@radix-ui/react-presence": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-0.1.2.tgz",
- "integrity": "sha512-3BRlFZraooIUfRlyN+b/Xs5hq1lanOOo/+3h6Pwu2GMFjkGKKa4Rd51fcqGqnVlbr3jYg+WLuGyAV4KlgqwrQw==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
+ "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "dependencies": {
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
}
},
"@radix-ui/react-primitive": {
@@ -44026,16 +42932,6 @@
"@radix-ui/react-primitive": "1.0.2",
"@radix-ui/react-use-callback-ref": "1.0.0",
"@radix-ui/react-use-controllable-state": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-slot": {
@@ -44061,116 +42957,32 @@
"@radix-ui/react-primitive": "1.0.2",
"@radix-ui/react-roving-focus": "1.0.3",
"@radix-ui/react-use-controllable-state": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
}
},
"@radix-ui/react-tooltip": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-0.1.7.tgz",
- "integrity": "sha512-eiBUsVOHenZ0JR16tl970bB0DafJBz6mFgSGfIGIVpflFj0LIsIDiLMsYyvYdx1KwwsIUDTEZtxcPm/sWjPzqA==",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.0.5.tgz",
+ "integrity": "sha512-cDKVcfzyO6PpckZekODJZDe5ZxZ2fCZlzKzTmPhe4mX9qTHRfLcKgqb0OKf22xLwDequ2tVleim+ZYx3rabD5w==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "0.1.0",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-id": "0.1.5",
- "@radix-ui/react-popper": "0.1.4",
- "@radix-ui/react-portal": "0.1.4",
- "@radix-ui/react-presence": "0.1.2",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-slot": "0.1.2",
- "@radix-ui/react-use-controllable-state": "0.1.0",
- "@radix-ui/react-use-escape-keydown": "0.1.0",
- "@radix-ui/react-use-previous": "0.1.1",
- "@radix-ui/react-use-rect": "0.1.1",
- "@radix-ui/react-visually-hidden": "0.1.4"
- },
- "dependencies": {
- "@radix-ui/primitive": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-0.1.0.tgz",
- "integrity": "sha512-tqxZKybwN5Fa3VzZry4G6mXAAb9aAqKmPtnVbZpL0vsBwvOHTBwsjHVPXylocYLwEtBY9SCe665bYnNB515uoA==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-id": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
- "integrity": "sha512-IPc4H/63bes0IZ1GJJozSEkSWcDyhNGtKFWUpJ+XtaLyQ1X3x7Mf6fWwWhDcpqlYEP+5WtAvfqcyEsyjP+ZhBQ==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- },
- "@radix-ui/react-use-controllable-state": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-0.1.0.tgz",
- "integrity": "sha512-zv7CX/PgsRl46a52Tl45TwqwVJdmqnlQEQhaYMz/yBOD2sx2gCkCFSoF/z9mpnYWmS6DTLNTg5lIps3fV6EnXg==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- }
- }
+ "@radix-ui/primitive": "1.0.0",
+ "@radix-ui/react-compose-refs": "1.0.0",
+ "@radix-ui/react-context": "1.0.0",
+ "@radix-ui/react-dismissable-layer": "1.0.3",
+ "@radix-ui/react-id": "1.0.0",
+ "@radix-ui/react-popper": "1.1.1",
+ "@radix-ui/react-portal": "1.0.2",
+ "@radix-ui/react-presence": "1.0.0",
+ "@radix-ui/react-primitive": "1.0.2",
+ "@radix-ui/react-slot": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.0",
+ "@radix-ui/react-visually-hidden": "1.0.2"
}
},
"@radix-ui/react-use-callback-ref": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-0.1.0.tgz",
- "integrity": "sha512-Va041McOFFl+aV+sejvl0BS2aeHx86ND9X/rVFmEFQKTXCp6xgUK0NGUAGcgBlIjnJSbMYPGEk1xKSSlVcN2Aw==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
+ "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
"requires": {
"@babel/runtime": "^7.13.10"
}
@@ -44182,101 +42994,47 @@
"requires": {
"@babel/runtime": "^7.13.10",
"@radix-ui/react-use-callback-ref": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
- }
- },
- "@radix-ui/react-use-escape-keydown": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-0.1.0.tgz",
- "integrity": "sha512-tDLZbTGFmvXaazUXXv8kYbiCcbAE8yKgng9s95d8fCO+Eundv0Jngbn/hKPhDDs4jj9ChwRX5cDDnlaN+ugYYQ==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
}
},
"@radix-ui/react-use-layout-effect": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-0.1.0.tgz",
- "integrity": "sha512-+wdeS51Y+E1q1Wmd+1xSSbesZkpVj4jsg0BojCbopWvgq5iBvixw5vgemscdh58ep98BwUbsFYnrywFhV9yrVg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-use-previous": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-0.1.1.tgz",
- "integrity": "sha512-O/ZgrDBr11dR8rhO59ED8s5zIXBRFi8MiS+CmFGfi7MJYdLbfqVOmQU90Ghf87aifEgWe6380LA69KBneaShAg==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
+ "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
"requires": {
"@babel/runtime": "^7.13.10"
}
},
"@radix-ui/react-use-rect": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-0.1.1.tgz",
- "integrity": "sha512-kHNNXAsP3/PeszEmM/nxBBS9Jbo93sO+xuMTcRfwzXsmxT5gDXQzAiKbZQ0EecCPtJIzqvr7dlaQi/aP1PKYqQ==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.0.tgz",
+ "integrity": "sha512-TB7pID8NRMEHxb/qQJpvSt3hQU4sqNPM1VCTjTRjEOa7cEop/QMuq8S6fb/5Tsz64kqSvB9WnwsDHtjnrM9qew==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "0.1.1"
+ "@radix-ui/rect": "1.0.0"
}
},
"@radix-ui/react-use-size": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-0.1.1.tgz",
- "integrity": "sha512-pTgWM5qKBu6C7kfKxrKPoBI2zZYZmp2cSXzpUiGM3qEBQlMLtYhaY2JXdXUCxz+XmD1YEjc8oRwvyfsD4AG4WA==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.0.tgz",
+ "integrity": "sha512-imZ3aYcoYCKhhgNpkNDh/aTiU05qw9hX+HHI1QDBTyIlcFjgeFlKKySNGMwTp7nYFLQg/j0VA2FmCY4WPDDHMg==",
"requires": {
- "@babel/runtime": "^7.13.10"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-layout-effect": "1.0.0"
}
},
"@radix-ui/react-visually-hidden": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-0.1.4.tgz",
- "integrity": "sha512-K/q6AEEzqeeEq/T0NPChvBqnwlp8Tl4NnQdrI/y8IOY7BRR+Ug0PEsVk6g48HJ7cA1//COugdxXXVVK/m0X1mA==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.0.2.tgz",
+ "integrity": "sha512-qirnJxtYn73HEk1rXL12/mXnu2rwsNHDID10th2JGtdK25T9wX+mxRmGt7iPSahw512GbZOc0syZX1nLQGoEOg==",
"requires": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "0.1.4"
- },
- "dependencies": {
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- }
+ "@radix-ui/react-primitive": "1.0.2"
}
},
"@radix-ui/rect": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-0.1.1.tgz",
- "integrity": "sha512-g3hnE/UcOg7REdewduRPAK88EPuLZtaq7sA9ouu8S+YEtnyFRI16jgv6GZYe3VMoQLL1T171ebmEPtDjyxWLzw==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.0.tgz",
+ "integrity": "sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==",
"requires": {
"@babel/runtime": "^7.13.10"
}
@@ -49688,16 +48446,6 @@
"@radix-ui/react-primitive": "1.0.0"
}
},
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
"@radix-ui/react-primitive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.0.tgz",
@@ -49716,14 +48464,6 @@
"@radix-ui/react-compose-refs": "1.0.0"
}
},
- "@radix-ui/react-use-callback-ref": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.0.tgz",
- "integrity": "sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
"@radix-ui/react-use-escape-keydown": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.0.tgz",
@@ -49733,14 +48473,6 @@
"@radix-ui/react-use-callback-ref": "1.0.0"
}
},
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
"react-remove-scroll": {
"version": "2.5.4",
"resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.5.4.tgz",
@@ -65979,8 +64711,8 @@
"@headlessui/react": "^1.4.1",
"@monaco-editor/react": "^4.3.1",
"@next/bundle-analyzer": "^12.0.4",
- "@radix-ui/react-portal": "^0.1.1",
- "@radix-ui/react-tooltip": "^0.1.6",
+ "@radix-ui/react-portal": "^1.0.1",
+ "@radix-ui/react-tooltip": "^1.0.5",
"@scaleleap/pg-format": "^1.0.0",
"@sentry/browser": "^6.15.0",
"@sentry/nextjs": "^6.17.4",
@@ -66087,8 +64819,7 @@
"shared-data": "*",
"sqlstring": "^2.3.2",
"storybook-dark-mode": "^1.0.4",
- "tailwindcss": "^3.0.22",
- "ts-jest": "^27.0.7",
+ "tailwindcss": "^3.0.15",
"typescript": "4.8.4",
"ui": "*",
"uniforms-bootstrap4": "^3.6.2",
@@ -67623,26 +66354,6 @@
"typescript": "4.3.4"
},
"dependencies": {
- "@radix-ui/react-portal": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.1.tgz",
- "integrity": "sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.1"
- },
- "dependencies": {
- "@radix-ui/react-primitive": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.1.tgz",
- "integrity": "sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "1.0.1"
- }
- }
- }
- },
"@tailwindcss/typography": {
"version": "0.5.7",
"requires": {
diff --git a/studio/components/grid/components/editor/JsonEditor.tsx b/studio/components/grid/components/editor/JsonEditor.tsx
index d068097412a..93ea44dbc9a 100644
--- a/studio/components/grid/components/editor/JsonEditor.tsx
+++ b/studio/components/grid/components/editor/JsonEditor.tsx
@@ -104,17 +104,19 @@ export function JsonEditor<TRow, TSummaryRow = unknown>({
<IconMaximize size={12} strokeWidth={2} />
</div>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Expand editor</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Expand editor</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
</BlockKeys>
diff --git a/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx b/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx
index 8b458b02882..df6b3e1d1da 100644
--- a/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx
+++ b/studio/components/grid/components/formatter/ForeignKeyFormatter.tsx
@@ -52,17 +52,21 @@ export const ForeignKeyFormatter = (props: PropsWithChildren<FormatterProps<Supa
</a>
</Link>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">View referencing record</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">View referencing record</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/grid/components/grid/ColumnHeader.tsx b/studio/components/grid/components/grid/ColumnHeader.tsx
index 16782dbbec7..decdda4da38 100644
--- a/studio/components/grid/components/grid/ColumnHeader.tsx
+++ b/studio/components/grid/components/grid/ColumnHeader.tsx
@@ -130,17 +130,19 @@ export function ColumnHeader<R>({
<IconKey size="tiny" strokeWidth={2} />
</div>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Primary key</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Primary key</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
<span className="sb-grid-column-header__inner__name" title={hoverValue}>
@@ -152,17 +154,19 @@ export function ColumnHeader<R>({
<Tooltip.Trigger>
<IconLock size="tiny" strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Encrypted column</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Encrypted column</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
@@ -184,32 +188,34 @@ function renderColumnIcon(
<Tooltip.Trigger>
<IconLink size="tiny" strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <div>
- <p className="text-xs text-scale-1100">Foreign key relation:</p>
- <div className="flex items-center space-x-1">
- <p className="text-xs text-scale-1200">{name}</p>
- <IconArrowRight size="tiny" strokeWidth={1.5} />
- <p className="text-xs text-scale-1200">
- {foreignKey?.targetTableSchema}.{foreignKey?.targetTableName}.
- {foreignKey?.targetColumnName}
- </p>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <div>
+ <p className="text-xs text-scale-1100">Foreign key relation:</p>
+ <div className="flex items-center space-x-1">
+ <p className="text-xs text-scale-1200">{name}</p>
+ <IconArrowRight size="tiny" strokeWidth={1.5} />
+ <p className="text-xs text-scale-1200">
+ {foreignKey?.targetTableSchema}.{foreignKey?.targetTableName}.
+ {foreignKey?.targetColumnName}
+ </p>
+ </div>
+ {foreignKey?.deletionAction !== FOREIGN_KEY_DELETION_ACTION.NO_ACTION && (
+ <p className="text-xs text-scale-1200 mt-1">
+ On delete: {getForeignKeyDeletionAction(foreignKey?.deletionAction)}
+ </p>
+ )}
</div>
- {foreignKey?.deletionAction !== FOREIGN_KEY_DELETION_ACTION.NO_ACTION && (
- <p className="text-xs text-scale-1200 mt-1">
- On delete: {getForeignKeyDeletionAction(foreignKey?.deletionAction)}
- </p>
- )}
</div>
- </div>
- </Tooltip.Content>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)
default:
diff --git a/studio/components/grid/components/menu/ColumnMenu.tsx b/studio/components/grid/components/menu/ColumnMenu.tsx
index 27d5f59b57a..59e02b5a5b0 100644
--- a/studio/components/grid/components/menu/ColumnMenu.tsx
+++ b/studio/components/grid/components/menu/ColumnMenu.tsx
@@ -55,19 +55,21 @@ const ColumnMenu: React.FC<ColumnMenuProps> = ({ column, isEncrypted }) => {
</Dropdown.Item>
</Tooltip.Trigger>
{isEncrypted && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Encrypted columns cannot be edited
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Encrypted columns cannot be edited
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)}
diff --git a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
index f2909a7f4de..9f35431d3c0 100644
--- a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
+++ b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
@@ -169,19 +169,21 @@ const ProviderForm: FC<Props> = ({ provider }) => {
</Button>
</Tooltip.Trigger>
{!canUpdateConfig && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update provider settings
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update provider settings
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx b/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx
index 187b0576887..5cc064272fc 100644
--- a/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx
+++ b/studio/components/interfaces/Auth/Policies/PolicyEditor/PolicyDefinition.tsx
@@ -43,28 +43,31 @@ const PolicyDefinition: FC<Props> = ({
<Tooltip.Trigger>
<IconHelpCircle className="text-scale-1100" size={16} strokeWidth={1.5} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'w-[300px] space-y-2 border border-scale-200',
- ].join(' ')}
- >
- <p className="text-xs text-scale-1200">
- This expression will be added to queries that refer to the table if row-level
- security is enabled.
- </p>
- <p className="text-xs text-scale-1200">
- Rows for which the expression returns true will be visible. Any rows for which
- the expression returns false or null will not be visible to the user (in a
- SELECT), and will not be available for modification (in an UPDATE or DELETE).
- </p>
- <p className="text-xs text-scale-1200">
- Such rows are silently suppressed - no error is reported.
- </p>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'w-[300px] space-y-2 border border-scale-200',
+ ].join(' ')}
+ >
+ <p className="text-xs text-scale-1200">
+ This expression will be added to queries that refer to the table if
+ row-level security is enabled.
+ </p>
+ <p className="text-xs text-scale-1200">
+ Rows for which the expression returns true will be visible. Any rows for
+ which the expression returns false or null will not be visible to the user
+ (in a SELECT), and will not be available for modification (in an UPDATE or
+ DELETE).
+ </p>
+ <p className="text-xs text-scale-1200">
+ Such rows are silently suppressed - no error is reported.
+ </p>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
<p className="text-sm text-scale-900">
@@ -87,29 +90,31 @@ const PolicyDefinition: FC<Props> = ({
<Tooltip.Trigger>
<IconHelpCircle className="text-scale-1100" size={16} strokeWidth={1.5} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'w-[300px] space-y-2 border border-scale-200',
- ].join(' ')}
- >
- <p className="text-xs text-scale-1200">
- This expression will be used in INSERT and UPDATE queries against the table if
- row-level security is enabled.
- </p>
- <p className="text-xs text-scale-1200">
- Only rows for which the expression evaluates to true will be allowed. An error
- will be thrown if the expression evaluates to false or null for any of the
- records inserted or any of the records that result from the update.
- </p>
- <p className="text-xs text-scale-1200">
- Note that this expression is evaluated against the proposed new contents of
- the row, not the original contents.
- </p>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'w-[300px] space-y-2 border border-scale-200',
+ ].join(' ')}
+ >
+ <p className="text-xs text-scale-1200">
+ This expression will be used in INSERT and UPDATE queries against the table
+ if row-level security is enabled.
+ </p>
+ <p className="text-xs text-scale-1200">
+ Only rows for which the expression evaluates to true will be allowed. An
+ error will be thrown if the expression evaluates to false or null for any of
+ the records inserted or any of the records that result from the update.
+ </p>
+ <p className="text-xs text-scale-1200">
+ Note that this expression is evaluated against the proposed new contents of
+ the row, not the original contents.
+ </p>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
<p className="text-sm text-scale-900">
diff --git a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx
index b3a00e0d638..41518f2742e 100644
--- a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx
+++ b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyRow.tsx
@@ -82,19 +82,21 @@ const PolicyRow: FC<Props> = ({
/>
</Tooltip.Trigger>
{!canUpdatePolicies && (
- <Tooltip.Content side="left">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to edit RLS policies
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="left">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to edit RLS policies
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)}
diff --git a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx
index 82cfd727e02..b081c241095 100644
--- a/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx
+++ b/studio/components/interfaces/Auth/Policies/PolicyTableRow/PolicyTableRowHeader.tsx
@@ -52,19 +52,21 @@ const PolicyTableRowHeader: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canCreatePolicies && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create RLS policies
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create RLS policies
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<Tooltip.Root delayDuration={0}>
@@ -78,19 +80,21 @@ const PolicyTableRowHeader: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canToggleRLS && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to toggle RLS
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to toggle RLS
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx b/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx
index 14354efddd0..ea58410a4b8 100644
--- a/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx
+++ b/studio/components/interfaces/Auth/RedirectDomains/RedirectDomains.tsx
@@ -97,19 +97,21 @@ const RedirectDomains = () => {
</Button>
</Tooltip.Trigger>
{!canUpdateConfig && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update redirect URLs
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update redirect URLs
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Auth/Users/InviteUserModal.tsx b/studio/components/interfaces/Auth/Users/InviteUserModal.tsx
index 5f5898714cf..f91f17ef58c 100644
--- a/studio/components/interfaces/Auth/Users/InviteUserModal.tsx
+++ b/studio/components/interfaces/Auth/Users/InviteUserModal.tsx
@@ -63,19 +63,21 @@ const InviteUserModal = () => {
</Button>
</Tooltip.Trigger>
{!canInviteUsers && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to invite users
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to invite users
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<Modal
diff --git a/studio/components/interfaces/Auth/Users/UserDropdown.tsx b/studio/components/interfaces/Auth/Users/UserDropdown.tsx
index 016f4e20dc2..b94cf60ddce 100644
--- a/studio/components/interfaces/Auth/Users/UserDropdown.tsx
+++ b/studio/components/interfaces/Auth/Users/UserDropdown.tsx
@@ -184,19 +184,21 @@ const UserDropdown: FC<Props> = ({ user, canRemoveUser, canRemoveMFAFactors }) =
need to double check with KM / anyone familiar with ABAC
*/}
{!canRemoveMFAFactors && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to remove a user's authentication factors.
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to remove a user's authentication factors.
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<Tooltip.Root delayDuration={0}>
@@ -210,19 +212,21 @@ const UserDropdown: FC<Props> = ({ user, canRemoveUser, canRemoveMFAFactors }) =
</Dropdown.Item>
</Tooltip.Trigger>
{!canRemoveUser && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete users
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete users
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</>
diff --git a/studio/components/interfaces/Billing/InvoiceStatusBadge.tsx b/studio/components/interfaces/Billing/InvoiceStatusBadge.tsx
index d355b584fea..ecf6a931eef 100644
--- a/studio/components/interfaces/Billing/InvoiceStatusBadge.tsx
+++ b/studio/components/interfaces/Billing/InvoiceStatusBadge.tsx
@@ -48,41 +48,43 @@ const InvoiceStatusBadge: FC<Props> = ({ status }) => {
{statusMapping?.label || status}
</Badge>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'w-[300px] space-y-2 border border-scale-200',
- ].join(' ')}
- >
- {[InvoiceStatus.OPEN, InvoiceStatus.UNCOLLECTIBLE].includes(status) && (
- <p className="text-xs text-scale-1200">
- We were not able to collect the money. Make sure you have a valid payment method and
- enough funds. Outstanding invoices may cause restrictions. You can manually pay the
- using the "Pay Now" button.
- </p>
- )}
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'w-[300px] space-y-2 border border-scale-200',
+ ].join(' ')}
+ >
+ {[InvoiceStatus.OPEN, InvoiceStatus.UNCOLLECTIBLE].includes(status) && (
+ <p className="text-xs text-scale-1200">
+ We were not able to collect the money. Make sure you have a valid payment method and
+ enough funds. Outstanding invoices may cause restrictions. You can manually pay the
+ using the "Pay Now" button.
+ </p>
+ )}
- {status === InvoiceStatus.DRAFT && (
- <p className="text-xs text-scale-1200">
- The invoice will soon be finalized and charged for.
- </p>
- )}
+ {status === InvoiceStatus.DRAFT && (
+ <p className="text-xs text-scale-1200">
+ The invoice will soon be finalized and charged for.
+ </p>
+ )}
- {status === InvoiceStatus.PAID && (
- <p className="text-xs text-scale-1200">
- The invoice has been paid successfully. No action is required on your side.
- </p>
- )}
+ {status === InvoiceStatus.PAID && (
+ <p className="text-xs text-scale-1200">
+ The invoice has been paid successfully. No action is required on your side.
+ </p>
+ )}
- {status === InvoiceStatus.VOID && (
- <p className="text-xs text-scale-1200">
- This invoice has been forgiven. No action is required on your side.
- </p>
- )}
- </div>
- </Tooltip.Content>
+ {status === InvoiceStatus.VOID && (
+ <p className="text-xs text-scale-1200">
+ This invoice has been forgiven. No action is required on your side.
+ </p>
+ )}
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)
}
diff --git a/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentSummaryPanel.tsx b/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentSummaryPanel.tsx
index f45b945ca9d..0a3d3688a42 100644
--- a/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentSummaryPanel.tsx
+++ b/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentSummaryPanel.tsx
@@ -372,20 +372,22 @@ const PaymentSummaryPanel: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canUpdatePaymentMethods && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'w-48 border border-scale-200 text-center', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to add new payment methods to this
- organization
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'w-48 border border-scale-200 text-center', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to add new payment methods to this
+ organization
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
@@ -448,31 +450,35 @@ const PaymentSummaryPanel: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!hasChangesToPlan ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- No changes made to your subscription
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ No changes made to your subscription
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : !selectedPaymentMethod ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Please select a payment method</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Please select a payment method</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : (
<></>
)}
diff --git a/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentTotal.tsx b/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentTotal.tsx
index 5a1b2e824a7..7979c53969e 100644
--- a/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentTotal.tsx
+++ b/studio/components/interfaces/Billing/PaymentSummaryPanel/PaymentTotal.tsx
@@ -54,17 +54,19 @@ const PaymentTotal: FC<Props> = ({
onClick={() => setShowCostBreakdown(true)}
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">How is this calculated?</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">How is this calculated?</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/interfaces/Billing/PlanSelection/Plans/PlanCTAButton.tsx b/studio/components/interfaces/Billing/PlanSelection/Plans/PlanCTAButton.tsx
index ca1595eaf6c..316265f8e2b 100644
--- a/studio/components/interfaces/Billing/PlanSelection/Plans/PlanCTAButton.tsx
+++ b/studio/components/interfaces/Billing/PlanSelection/Plans/PlanCTAButton.tsx
@@ -112,19 +112,23 @@ const PlanCTAButton: FC<Props> = ({ plan, currentPlan, onSelectPlan }) => {
</Button>
</Tooltip.Trigger>
{!disabled && projectUpdateDisabled && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[260px] flex items-center justify-center',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200 text-center">
- Subscription changes are currently disabled, our engineers are working on a fix
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[260px] flex items-center justify-center',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200 text-center">
+ Subscription changes are currently disabled, our engineers are working on a fix
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Billing/SpendCapModal.tsx b/studio/components/interfaces/Billing/SpendCapModal.tsx
index 1b809b51ddb..fddf841e0dd 100644
--- a/studio/components/interfaces/Billing/SpendCapModal.tsx
+++ b/studio/components/interfaces/Billing/SpendCapModal.tsx
@@ -55,20 +55,24 @@ const SpendCapModal: FC<Props> = ({ visible, onHide }) => {
className="transition opacity-50 cursor-pointer hover:opacity-100"
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Monthly Active Users: A user that has made an API request in the last
- month
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Monthly Active Users: A user that has made an API request in the
+ last month
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
<p className="w-[25%] text-sm">100,000</p>
diff --git a/studio/components/interfaces/Billing/Subscription/Subscription.tsx b/studio/components/interfaces/Billing/Subscription/Subscription.tsx
index 4bf3bf8ad04..8dc90989675 100644
--- a/studio/components/interfaces/Billing/Subscription/Subscription.tsx
+++ b/studio/components/interfaces/Billing/Subscription/Subscription.tsx
@@ -97,29 +97,31 @@ const Subscription: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canUpdateSubscription || projectUpdateDisabled ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'border border-scale-200 text-center', //border
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- {projectUpdateDisabled ? (
- <>
- Subscription changes are currently disabled.
- <br />
- Our engineers are working on a fix.
- </>
- ) : !canUpdateSubscription ? (
- 'You need additional permissions to amend subscriptions'
- ) : (
- ''
- )}
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'border border-scale-200 text-center', //border
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ {projectUpdateDisabled ? (
+ <>
+ Subscription changes are currently disabled.
+ <br />
+ Our engineers are working on a fix.
+ </>
+ ) : !canUpdateSubscription ? (
+ 'You need additional permissions to amend subscriptions'
+ ) : (
+ ''
+ )}
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : (
<></>
)}
diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
index daab4106406..fecbf2eafd1 100644
--- a/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
+++ b/studio/components/interfaces/Database/Backups/PITR/PITRNotice.tsx
@@ -34,19 +34,21 @@ const PITRNotice = ({}) => {
</Button>
</Tooltip.Trigger>
{!canUpdateSubscription && (
- <Tooltip.Content side="left">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to amend subscriptions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="left">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to amend subscriptions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx
index 6ed84243dd2..bba2f68b3f4 100644
--- a/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx
+++ b/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx
@@ -192,19 +192,21 @@ const PITRSelection = ({}) => {
</Button>
</Tooltip.Trigger>
{isSelectedOutOfRange && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
- 'border-scale-200 border w-48 text-center',
- ].join(' ')}
- >
- <span className="text-scale-1200 text-xs">
- Selected date is out of range where backups are available
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
+ 'border-scale-200 border w-48 text-center',
+ ].join(' ')}
+ >
+ <span className="text-scale-1200 text-xs">
+ Selected date is out of range where backups are available
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx
index b634e1365c7..86983a22ba6 100644
--- a/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx
+++ b/studio/components/interfaces/Database/Backups/PITR/PITRStatus.tsx
@@ -55,19 +55,21 @@ const PITRStatus: FC<Props> = ({ selectedTimezone, onUpdateTimezone, onSetConfig
</Button>
</Tooltip.Trigger>
{!canTriggerPhysicalBackup && (
- <Tooltip.Content side="left">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to trigger a PITR recovery
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="left">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to trigger a PITR recovery
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx b/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx
index 3b1d4689e74..90b2b7e6032 100644
--- a/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx
+++ b/studio/components/interfaces/Database/Backups/PITR/TimeInput.tsx
@@ -110,17 +110,19 @@ const TimeInput: FC<Props> = ({ defaultTime, minimumTime, maximumTime, onChange
className="w-full text-sm bg-transparent p-0 text-center outline-none border-none focus:ring-0"
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
- 'border-scale-200 border',
- ].join(' ')}
- >
- <span className="text-scale-1200 text-xs">Hours (HH)</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
+ 'border-scale-200 border',
+ ].join(' ')}
+ >
+ <span className="text-scale-1200 text-xs">Hours (HH)</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
<span>:</span>
<Tooltip.Root delayDuration={0}>
@@ -138,17 +140,19 @@ const TimeInput: FC<Props> = ({ defaultTime, minimumTime, maximumTime, onChange
className="w-full text-sm bg-transparent p-0 text-center outline-none border-none focus:ring-0"
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
- 'border-scale-200 border',
- ].join(' ')}
- >
- <span className="text-scale-1200 text-xs">Minutes (MM)</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
+ 'border-scale-200 border',
+ ].join(' ')}
+ >
+ <span className="text-scale-1200 text-xs">Minutes (MM)</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
<span>:</span>
<Tooltip.Root delayDuration={0}>
@@ -166,17 +170,19 @@ const TimeInput: FC<Props> = ({ defaultTime, minimumTime, maximumTime, onChange
className="w-full text-sm bg-transparent p-0 text-center outline-none border-none focus:ring-0"
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
- 'border-scale-200 border',
- ].join(' ')}
- >
- <span className="text-scale-1200 text-xs">Seconds (SS)</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
+ 'border-scale-200 border',
+ ].join(' ')}
+ >
+ <span className="text-scale-1200 text-xs">Seconds (SS)</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
{error && <p className="text-sm text-red-900">{error}</p>}
diff --git a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx
index a4d9cdc8423..6987deebd2d 100644
--- a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx
+++ b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionList.tsx
@@ -89,19 +89,21 @@ const FunctionList: FC<Props> = ({
<Tooltip.Trigger>
<Button as="span" disabled type="default" icon={<IconMoreVertical />} />
</Tooltip.Trigger>
- <Tooltip.Content side="left">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update functions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="left">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update functions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx
index df69111db50..d9036ab8fa6 100644
--- a/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx
+++ b/studio/components/interfaces/Database/Functions/FunctionsList/FunctionsList.tsx
@@ -90,19 +90,23 @@ const FunctionsList: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canCreateFunctions && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create functions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create functions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx b/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx
index 62b75c07cf0..c7155b818e4 100644
--- a/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx
+++ b/studio/components/interfaces/Database/Hooks/HooksList/HookList.tsx
@@ -90,19 +90,21 @@ const HookList: FC<Props> = ({
<Tooltip.Trigger>
<Button as="span" disabled type="default" icon={<IconMoreVertical />} />
</Tooltip.Trigger>
- <Tooltip.Content side="left">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update webhooks
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="left">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update webhooks
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx b/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx
index e1274b1b097..bd87e81dd5c 100644
--- a/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx
+++ b/studio/components/interfaces/Database/Hooks/HooksList/HooksList.tsx
@@ -107,19 +107,21 @@ const HooksList = ({
</Button>
</Tooltip.Trigger>
{!canCreateWebhooks && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create webhooks
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create webhooks
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Roles/RoleRow.tsx b/studio/components/interfaces/Database/Roles/RoleRow.tsx
index d8fcecb0c93..50c7702c4eb 100644
--- a/studio/components/interfaces/Database/Roles/RoleRow.tsx
+++ b/studio/components/interfaces/Database/Roles/RoleRow.tsx
@@ -184,19 +184,21 @@ const RoleRow: FC<Props> = ({ role, disabled = false, onSelectDelete }) => {
className="ml-2 relative top-[3px]"
/>
</Tooltip.Trigger>
- <Tooltip.Content align="center" side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 space-y-1',
- ].join(' ')}
- >
- <span className="text-xs">
- This privilege cannot be updated via the dashboard
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content align="center" side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 space-y-1',
+ ].join(' ')}
+ >
+ <span className="text-xs">
+ This privilege cannot be updated via the dashboard
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)
}
diff --git a/studio/components/interfaces/Database/Tables/ColumnList.tsx b/studio/components/interfaces/Database/Tables/ColumnList.tsx
index e53ed442863..447e4a82750 100644
--- a/studio/components/interfaces/Database/Tables/ColumnList.tsx
+++ b/studio/components/interfaces/Database/Tables/ColumnList.tsx
@@ -72,19 +72,21 @@ const ColumnList: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canUpdateColumns && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create columns
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create columns
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
@@ -140,19 +142,21 @@ const ColumnList: FC<Props> = ({
/>
</Tooltip.Trigger>
{!canUpdateColumns && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to edit columns
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to edit columns
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
@@ -167,19 +171,21 @@ const ColumnList: FC<Props> = ({
/>
</Tooltip.Trigger>
{!canUpdateColumns && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete columns
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete columns
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Tables/TableList.tsx b/studio/components/interfaces/Database/Tables/TableList.tsx
index 78381601079..bfb97d7e2ac 100644
--- a/studio/components/interfaces/Database/Tables/TableList.tsx
+++ b/studio/components/interfaces/Database/Tables/TableList.tsx
@@ -134,19 +134,21 @@ const TableList: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canUpdateTables && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create tables
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create tables
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
@@ -228,19 +230,21 @@ const TableList: FC<Props> = ({
/>
</Tooltip.Trigger>
{!canUpdateTables && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to edit tables
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to edit tables
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
@@ -255,19 +259,21 @@ const TableList: FC<Props> = ({
/>
</Tooltip.Trigger>
{!canUpdateTables && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete tables
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete tables
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
diff --git a/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx b/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx
index f4411eff581..f459c145aa0 100644
--- a/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx
+++ b/studio/components/interfaces/Database/Triggers/TriggersList/TriggerList.tsx
@@ -82,19 +82,21 @@ const TriggerList: FC<Props> = ({ filterString, schema, editTrigger, deleteTrigg
<Tooltip.Trigger>
<Button as="span" disabled type="default" icon={<IconMoreVertical />} />
</Tooltip.Trigger>
- <Tooltip.Content side="left">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update triggers
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="left">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update triggers
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx b/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx
index 2bb4b194b49..75fa2be96dc 100644
--- a/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx
+++ b/studio/components/interfaces/Database/Triggers/TriggersList/TriggersList.tsx
@@ -80,19 +80,21 @@ const TriggersList: FC<any> = ({
</Button>
</Tooltip.Trigger>
{!canCreateTriggers && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create triggers
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create triggers
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx b/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx
index 896cd11d45e..9628bde820c 100644
--- a/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx
+++ b/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx
@@ -181,19 +181,21 @@ const WrapperRow: FC<Props> = ({ wrappers = [], wrapperMeta, isOpen, onOpen }) =
/>
</Tooltip.Trigger>
{!canManageWrappers && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to edit wrappers
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to edit wrappers
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)}
@@ -208,19 +210,21 @@ const WrapperRow: FC<Props> = ({ wrappers = [], wrapperMeta, isOpen, onOpen }) =
/>
</Tooltip.Trigger>
{!canManageWrappers && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to add wrappers
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to add wrappers
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx b/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
index d80ab7d57c5..07ce73df7b4 100644
--- a/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
+++ b/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
@@ -131,19 +131,21 @@ const WrappersDisabledState = () => {
</Button>
</Tooltip.Trigger>
{!canToggleWrappers && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to enable Wrappers for this project
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to enable Wrappers for this project
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx b/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx
index 76a5ce5b6b4..ba76b237de1 100644
--- a/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx
+++ b/studio/components/interfaces/Database/Wrappers/WrappersDropdown.tsx
@@ -26,19 +26,21 @@ const WrapperDropdown: FC<Props> = ({ buttonText = 'Add wrapper', align = 'end'
{buttonText}
</Button>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to add wrappers
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to add wrappers
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)
}
diff --git a/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx b/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
index af520a18d31..1da604d200e 100644
--- a/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
+++ b/studio/components/interfaces/Functions/EdgeFunctionDetails/EdgeFunctionDetails.tsx
@@ -276,19 +276,21 @@ const EdgeFunctionDetails: FC<Props> = () => {
</Button>
</Tooltip.Trigger>
{!canUpdateEdgeFunction && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete an edge function
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete an edge function
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</Alert>
diff --git a/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx b/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
index bb1b1f86edd..2c4c666e417 100644
--- a/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
+++ b/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
@@ -78,19 +78,21 @@ const EdgeFunctionsListItem: FC<Props> = ({ function: item }) => {
<p className="text-sm text-scale-1000">{dayjs(item.updated_at).fromNow()}</p>
</div>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Last updated on {dayjs(item.updated_at).format('DD MMM, YYYY HH:mm')}
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Last updated on {dayjs(item.updated_at).format('DD MMM, YYYY HH:mm')}
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</Table.td>
<Table.td className="lg:table-cell">
diff --git a/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx b/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx
index 2e22372256a..9963a537053 100644
--- a/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx
+++ b/studio/components/interfaces/Organization/BillingSettings/PaymentMethods.tsx
@@ -187,19 +187,21 @@ const PaymentMethods: FC<Props> = ({
<Tooltip.Trigger>
<Button disabled as="span" type="outline" icon={<IconX />} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'w-48 border border-scale-200 text-center', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Your default payment method cannot be deleted
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'w-48 border border-scale-200 text-center', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Your default payment method cannot be deleted
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
) : (
<Dropdown
diff --git a/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx b/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
index 8dd437ebe3d..1be69a28efd 100644
--- a/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
+++ b/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
@@ -101,19 +101,21 @@ const InviteMemberButton = ({
</Button>
</Tooltip.Trigger>
{!canInviteMembers && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to invite a member to this organization
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to invite a member to this organization
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<Modal
diff --git a/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx b/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx
index 9bd55624df0..aacca36a58a 100644
--- a/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx
+++ b/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx
@@ -133,19 +133,21 @@ const MemberActions: FC<Props> = ({ member, roles }) => {
<Tooltip.Trigger>
<Button as="span" type="text" icon={<IconMoreHorizontal />} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to manage this team member
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to manage this team member
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
)
diff --git a/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx b/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
index 7958d26f3f7..ffbb54d6f65 100644
--- a/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
+++ b/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
@@ -214,33 +214,38 @@ const MembersView = ({ searchString }: MembersViewProps) => {
</Listbox>
</Tooltip.Trigger>
{memberIsPendingInvite ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Role can only be changed after the user has accepted the invite
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Role can only be changed after the user has accepted the
+ invite
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : !memberIsUser && !canRemoveRole ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to manage this team member
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to manage this team member
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : (
<></>
)}
@@ -252,20 +257,22 @@ const MembersView = ({ searchString }: MembersViewProps) => {
<Tooltip.Trigger>
<IconAlertCircle size={16} strokeWidth={1.5} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- This user has an invalid role, please reach out to us via
- support
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ This user has an invalid role, please reach out to us via
+ support
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
)}
diff --git a/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx b/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx
index 6c322bf60f3..9f08f55e877 100644
--- a/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx
+++ b/studio/components/interfaces/Organization/TeamSettings/RolesHelperModal/RolesHelperModal.tsx
@@ -17,17 +17,19 @@ const RolesHelperModal: FC<Props> = ({}) => {
<Tooltip.Trigger>
<IconInfo size={14} strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="top">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Only available in Team/Enterprise plan.</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="top">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Only available in Team/Enterprise plan.</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)
diff --git a/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx b/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
index fe2a3ae0e24..42140783088 100644
--- a/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
+++ b/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
@@ -97,19 +97,21 @@ const TeamSettings = () => {
</Button>
</Tooltip.Trigger>
{!canLeave && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- An organization requires at least 1 owner
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ An organization requires at least 1 owner
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Reports/ReportWidget.tsx b/studio/components/interfaces/Reports/ReportWidget.tsx
index 72e51182525..def9096eb2e 100644
--- a/studio/components/interfaces/Reports/ReportWidget.tsx
+++ b/studio/components/interfaces/Reports/ReportWidget.tsx
@@ -46,17 +46,19 @@ const ReportWidget: React.FC<ReportWidgetProps> = (props) => {
<Tooltip.Trigger>
<IconHelpCircle className="text-scale-1100" size="tiny" strokeWidth={1.5} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 max-w-xs leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">{props.tooltip}</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 max-w-xs leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">{props.tooltip}</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
@@ -80,17 +82,19 @@ const ReportWidget: React.FC<ReportWidgetProps> = (props) => {
}}
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 max-w-xs leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Open in Logs Explorer</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 max-w-xs leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Open in Logs Explorer</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Reports/Reports.tsx b/studio/components/interfaces/Reports/Reports.tsx
index ec43b8041ec..38470af3c10 100644
--- a/studio/components/interfaces/Reports/Reports.tsx
+++ b/studio/components/interfaces/Reports/Reports.tsx
@@ -360,19 +360,21 @@ const Reports = () => {
Add / Remove charts
</Button>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update this project's report
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update this project's report
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/interfaces/SQLEditor/TabSqlQuery/FavouriteButton.tsx b/studio/components/interfaces/SQLEditor/TabSqlQuery/FavouriteButton.tsx
index 59cd87f4141..eb9389602fc 100644
--- a/studio/components/interfaces/SQLEditor/TabSqlQuery/FavouriteButton.tsx
+++ b/studio/components/interfaces/SQLEditor/TabSqlQuery/FavouriteButton.tsx
@@ -112,20 +112,22 @@ const FavouriteButton = () => {
return (
<>
<Tooltip.Root delayDuration={0}>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- {isFavorite ? 'Remove' : 'Add'} this query {isFavorite ? 'from' : 'to'} your
- Favourites
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ {isFavorite ? 'Remove' : 'Add'} this query {isFavorite ? 'from' : 'to'} your
+ Favourites
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
<Tooltip.Trigger type="button">
<Button
type="text"
diff --git a/studio/components/interfaces/SQLEditor/TabSqlQuery/SavingIndicator.tsx b/studio/components/interfaces/SQLEditor/TabSqlQuery/SavingIndicator.tsx
index b7d3b0ffd5f..1108cefc45c 100644
--- a/studio/components/interfaces/SQLEditor/TabSqlQuery/SavingIndicator.tsx
+++ b/studio/components/interfaces/SQLEditor/TabSqlQuery/SavingIndicator.tsx
@@ -64,17 +64,19 @@ const SavingIndicator: FC<Props> = ({ updateSqlSnippet }) => {
<Tooltip.Trigger>
<IconLoader className="animate-spin" size={14} strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Saving changes...</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Saving changes...</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
{(content.savingState === 'CREATING_FAILED' || content.savingState === 'UPDATING_FAILED') && (
@@ -85,17 +87,19 @@ const SavingIndicator: FC<Props> = ({ updateSqlSnippet }) => {
<Tooltip.Trigger>
<IconCheck className="text-brand-900" size={14} strokeWidth={3} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 ',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">All changes saved</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 ',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">All changes saved</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
<span className="text-sm text-scale-1000">
diff --git a/studio/components/interfaces/SQLEditor/TabSqlQuery/UtilityActions.tsx b/studio/components/interfaces/SQLEditor/TabSqlQuery/UtilityActions.tsx
index fa06f309151..af809c2676a 100644
--- a/studio/components/interfaces/SQLEditor/TabSqlQuery/UtilityActions.tsx
+++ b/studio/components/interfaces/SQLEditor/TabSqlQuery/UtilityActions.tsx
@@ -46,19 +46,21 @@ const UtilityActions = ({ updateSqlSnippet }: UtilityActionsProps) => {
<Tooltip.Trigger>
<IconAlertCircle size={14} strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'w-48 border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Queries are not saved as you do not have sufficient permissions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'w-48 border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Queries are not saved as you do not have sufficient permissions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
<SavingIndicator updateSqlSnippet={updateSqlSnippet} />
diff --git a/studio/components/interfaces/Settings/API/JWTSettings.tsx b/studio/components/interfaces/Settings/API/JWTSettings.tsx
index f05341b37cf..8a0c66ed22a 100644
--- a/studio/components/interfaces/Settings/API/JWTSettings.tsx
+++ b/studio/components/interfaces/Settings/API/JWTSettings.tsx
@@ -165,19 +165,21 @@ const JWTSettings: FC<Props> = ({}) => {
Generate a new secret
</Button>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to generate a new JWT secret
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to generate a new JWT secret
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
) : (
<Dropdown
diff --git a/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx b/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
index 3d77f371349..40c076a6b10 100644
--- a/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
+++ b/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
@@ -107,19 +107,21 @@ const ResetDbPassword: FC<any> = ({ disabled = false }) => {
</Button>
</Tooltip.Trigger>
{!canResetDbPassword && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to reset the database password
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to reset the database password
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx b/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx
index c2cfd9755f4..b79d99fa3c6 100644
--- a/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx
+++ b/studio/components/interfaces/Settings/Database/NetworkRestrictions/AddRestrictionModal.tsx
@@ -154,22 +154,24 @@ const AddRestrictionModal: FC<Props> = ({
<Tooltip.Trigger>
<IconHelpCircle size="tiny" strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[300px]',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Classless inter-domain routing (CIDR) notation is the notation
- used to identify networks and hosts in the networks. The block
- size tells us how many bits we need to take for the network
- prefix, and is a value between 0 to 32.
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[300px]',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Classless inter-domain routing (CIDR) notation is the notation
+ used to identify networks and hosts in the networks. The block
+ size tells us how many bits we need to take for the network
+ prefix, and is a value between 0 to 32.
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
}
diff --git a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
index b3c47c59119..7f09507c99c 100644
--- a/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
+++ b/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.tsx
@@ -25,19 +25,21 @@ const AllowAllAccessButton: FC<{ disabled: boolean; onClick: (value: boolean) =>
</Button>
</Tooltip.Trigger>
{disabled && (
- <Tooltip.Content align="center" side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[250px]',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update network restrictions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content align="center" side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[250px]',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update network restrictions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)
@@ -53,19 +55,21 @@ const DisallowAllAccessButton: FC<{ disabled: boolean; onClick: (value: boolean)
</Button>
</Tooltip.Trigger>
{disabled && (
- <Tooltip.Content align="center" side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[250px]',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update network restrictions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content align="center" side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[250px]',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update network restrictions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)
@@ -118,19 +122,21 @@ const NetworkRestrictions = ({}) => {
</Button>
</Tooltip.Trigger>
{!canUpdateNetworkRestrictions && (
- <Tooltip.Content align="center" side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[250px]',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to update network restrictions
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content align="center" side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[250px]',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to update network restrictions
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
index 9f1f8596905..92e146e911e 100644
--- a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
+++ b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
@@ -152,20 +152,22 @@ const SSLConfiguration = () => {
</Button>
</Tooltip.Trigger>
{!hasSSLCertificate && (
- <Tooltip.Content align="center" side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[250px]',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Projects before 15:08 (GMT+08), 29th April 2021 do not have SSL certificates
- installed
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content align="center" side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[250px]',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Projects before 15:08 (GMT+08), 29th April 2021 do not have SSL certificates
+ installed
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx b/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx
index a316a3b1bf6..7a80c2d4b9f 100644
--- a/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx
+++ b/studio/components/interfaces/Settings/General/DeleteProjectPanel/DeleteProjectButton.tsx
@@ -81,9 +81,9 @@ const DeleteProjectButton: FC<Props> = ({ type = 'danger' }) => {
if (!isFree) {
const feedbackRes = await post(`${API_URL}/feedback/downgrade`, {
projectRef,
- reasons: selectedReasons.reduce((a, b) => `${a}- ${b}\n`, ''),
- additionalFeedback: cancellationMessage,
- exitAction: 'delete',
+ reasons: selectedReasons.reduce((a, b) => `${a}- ${b}\n`, ''),
+ additionalFeedback: cancellationMessage,
+ exitAction: 'delete',
})
if (feedbackRes.error) throw feedbackRes.error
}
@@ -98,19 +98,21 @@ const DeleteProjectButton: FC<Props> = ({ type = 'danger' }) => {
</Button>
</Tooltip.Trigger>
{!canDeleteProject && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete this project
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete this project
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<TextConfirmModal
diff --git a/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx b/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx
index e80035da084..c437f5fb6e0 100644
--- a/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx
+++ b/studio/components/interfaces/Settings/General/Infrastructure/Infrastructure.tsx
@@ -100,19 +100,21 @@ const Infrastructure: FC<Props> = ({}) => {
Latest
</Badge>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200 w-[200px]',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Project is on the latest version of Postgres that Supabase supports
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200 w-[200px]',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Project is on the latest version of Postgres that Supabase supports
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
),
]}
diff --git a/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx b/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx
index 9c198671b9e..449c6f1fb13 100644
--- a/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx
+++ b/studio/components/interfaces/Settings/General/Infrastructure/PauseProjectButton.tsx
@@ -73,31 +73,35 @@ const PauseProjectButton: FC<Props> = observer(({ projectRef, projectId }) => {
</Button>
</Tooltip.Trigger>
{isPaused ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Your project is already paused</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Your project is already paused</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : !canPauseProject ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to pause this project
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to pause this project
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : (
<></>
)}
diff --git a/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx b/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
index adbc60926ea..8099afc7b63 100644
--- a/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
+++ b/studio/components/interfaces/Settings/General/Infrastructure/RestartServerButton.tsx
@@ -122,19 +122,21 @@ const RestartServerButton: FC<Props> = ({ project }) => {
</div>
</Tooltip.Trigger>
{!canRestartProject && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to restart this project
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to restart this project
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<ConfirmModal
diff --git a/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx b/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
index 3707cf06f8d..1a4f927f322 100644
--- a/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
@@ -143,19 +143,21 @@ const LogsQueryPanel = ({
</Button>
</Tooltip.Trigger>
{!canCreateLogQuery && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to save your query
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to save your query
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)}
diff --git a/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx b/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
index b91e9c99bb9..13e24dcc18c 100644
--- a/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
+++ b/studio/components/interfaces/Settings/ProjectUsageBars/ProjectUsageBars.tsx
@@ -263,21 +263,23 @@ const ProjectUsage: FC<Props> = ({ projectRef }) => {
<Tooltip.Trigger>
<IconInfo className="ml-2" size={14} strokeWidth={2} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'max-w-md', // size
- 'flex items-center justify-center',
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200', //border
- ].join(' ')}
- >
- <span className="text-xs text-center text-scale-1200">
- {feature.tooltip}
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'max-w-md', // size
+ 'flex items-center justify-center',
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-center text-scale-1200">
+ {feature.tooltip}
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</td>
diff --git a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
index 63cac0d9820..6010ec432ca 100644
--- a/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
+++ b/studio/components/interfaces/Settings/Vault/Keys/EncryptionKeysManagement.tsx
@@ -157,19 +157,21 @@ const EncryptionKeysManagement: FC<Props> = ({}) => {
</Button>
</Tooltip.Trigger>
{!canManageKeys && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to add keys
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to add keys
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
@@ -215,19 +217,21 @@ const EncryptionKeysManagement: FC<Props> = ({}) => {
/>
</Tooltip.Trigger>
{!canManageKeys && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete keys
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete keys
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx b/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx
index c3c08a02e92..9ff849dd7ae 100644
--- a/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx
+++ b/studio/components/interfaces/Settings/Vault/Secrets/SecretRow.tsx
@@ -121,19 +121,21 @@ const SecretRow: FC<Props> = ({ secret, onSelectEdit, onSelectRemove }) => {
</Dropdown.Item>
</Tooltip.Trigger>
{!canManageSecrets && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to edit secrets
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to edit secrets
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<Tooltip.Root delayDuration={0}>
@@ -147,19 +149,21 @@ const SecretRow: FC<Props> = ({ secret, onSelectEdit, onSelectRemove }) => {
</Dropdown.Item>
</Tooltip.Trigger>
{!canManageSecrets && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete secrets
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete secrets
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</>
diff --git a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
index 05ca9c5d11c..b3adab646d4 100644
--- a/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
+++ b/studio/components/interfaces/Settings/Vault/Secrets/SecretsManagement.tsx
@@ -120,19 +120,21 @@ const SecretsManagement: FC<Props> = ({}) => {
</Button>
</Tooltip.Trigger>
{!canManageSecrets && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to add secrets
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to add secrets
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/Settings/Vault/VaultToggle.tsx b/studio/components/interfaces/Settings/Vault/VaultToggle.tsx
index 4f7c679b2ba..f03f88633c7 100644
--- a/studio/components/interfaces/Settings/Vault/VaultToggle.tsx
+++ b/studio/components/interfaces/Settings/Vault/VaultToggle.tsx
@@ -128,19 +128,21 @@ const VaultToggle: FC<Props> = () => {
</Button>
</Tooltip.Trigger>
{!canToggleVault && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to enable Vault for this project
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to enable Vault for this project
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
index 739df8e8d54..543b78c669c 100644
--- a/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
+++ b/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx
@@ -55,19 +55,21 @@ const GridHeaderActions: FC<Props> = ({
Viewing as read-only
</div>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to manage your project's data
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to manage your project's data
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
<div className="mt-[1px]">
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
index 59da15bb67b..af4232ea154 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/InputWithSuggestions.tsx
@@ -112,19 +112,21 @@ const InputWithSuggestions: FC<Props> = ({
icon={<IconList strokeWidth={1.5} />}
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
- 'border-scale-200 border',
- ].join(' ')}
- >
- <span className="text-scale-1200 text-xs">
- {suggestionsTooltip || 'Suggestions'}
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'bg-scale-100 rounded py-1 px-2 leading-none shadow',
+ 'border-scale-200 border',
+ ].join(' ')}
+ >
+ <span className="text-scale-1200 text-xs">
+ {suggestionsTooltip || 'Suggestions'}
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</Dropdown>
)
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx
index 916a162106b..1e5a32085d2 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ForeignKeySelector/ForeignKeySelector.utils.tsx
@@ -33,20 +33,22 @@ export const generateDeletionActionDescription = (deletionAction: string, refere
<Tooltip.Trigger className="translate-y-[3px] mx-1">
<IconHelpCircle className="text-scale-1100" size={16} strokeWidth={1.5} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'w-[300px] space-y-2 border border-scale-200',
- ].join(' ')}
- >
- <p className="text-xs text-scale-1200">
- This is similar to no action, but the restrict check cannot be deferred till later
- in the transaction
- </p>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'w-[300px] space-y-2 border border-scale-200',
+ ].join(' ')}
+ >
+ <p className="text-xs text-scale-1200">
+ This is similar to no action, but the restrict check cannot be deferred till
+ later in the transaction
+ </p>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
: Deleting a record from <code className="text-xs text-scale-1100">{reference}</code> will{' '}
<span className="text-amber-900 opacity-75">prevent deletion</span> of existing
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx
index f57ba551d13..a77e38a9039 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ForeignRowSelector/SelectorGrid.tsx
@@ -24,12 +24,14 @@ const columnRender = (name: string, isPrimaryKey = false) => {
<IconKey size="tiny" strokeWidth={2} />
</div>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div className="rounded bg-scale-100 py-1 px-2 leading-none shadow border border-scale-200">
- <span className="text-xs text-scale-1200">Primary key</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div className="rounded bg-scale-100 py-1 px-2 leading-none shadow border border-scale-200">
+ <span className="text-xs text-scale-1200">Primary key</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
index 1305a22b45f..a7103481951 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
@@ -102,39 +102,42 @@ const Column: FC<Props> = ({
<IconLink size={14} strokeWidth={column.foreignKey !== undefined ? 2 : 1} />
</Button>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- {column.foreignKey === undefined ? (
- <span className="text-xs text-scale-1200">Edit foreign key relation</span>
- ) : (
- <div>
- <p className="text-xs text-scale-1100">Foreign key relation:</p>
- <div className="flex items-center space-x-1">
- <p className="text-xs text-scale-1200">
- {column.foreignKey.source_schema}.{column.foreignKey.source_table_name}.
- {column.foreignKey.source_column_name}
- </p>
- <IconArrowRight size="tiny" strokeWidth={1.5} />
- <p className="text-xs text-scale-1200">
- {column.foreignKey.target_table_schema}.{column.foreignKey.target_table_name}.
- {column.foreignKey.target_column_name}
- </p>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ {column.foreignKey === undefined ? (
+ <span className="text-xs text-scale-1200">Edit foreign key relation</span>
+ ) : (
+ <div>
+ <p className="text-xs text-scale-1100">Foreign key relation:</p>
+ <div className="flex items-center space-x-1">
+ <p className="text-xs text-scale-1200">
+ {column.foreignKey.source_schema}.{column.foreignKey.source_table_name}.
+ {column.foreignKey.source_column_name}
+ </p>
+ <IconArrowRight size="tiny" strokeWidth={1.5} />
+ <p className="text-xs text-scale-1200">
+ {column.foreignKey.target_table_schema}.
+ {column.foreignKey.target_table_name}.{column.foreignKey.target_column_name}
+ </p>
+ </div>
+ {column.foreignKey.deletion_action !==
+ FOREIGN_KEY_DELETION_ACTION.NO_ACTION && (
+ <p className="text-xs text-scale-1200 mt-1">
+ On delete: {getForeignKeyDeletionAction(column.foreignKey.deletion_action)}
+ </p>
+ )}
</div>
- {column.foreignKey.deletion_action !== FOREIGN_KEY_DELETION_ACTION.NO_ACTION && (
- <p className="text-xs text-scale-1200 mt-1">
- On delete: {getForeignKeyDeletionAction(column.foreignKey.deletion_action)}
- </p>
- )}
- </div>
- )}
- </div>
- </Tooltip.Content>
+ )}
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
<div className="w-[25%]">
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx
index cf9b0c06f10..d01b213b3ab 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ColumnManagement.tsx
@@ -202,20 +202,22 @@ const ColumnManagement: FC<Props> = ({
<IconHelpCircle size={15} strokeWidth={1.5} />
</h5>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Recommended to use lowercase and use an underscore to separate words e.g.
- column_name
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Recommended to use lowercase and use an underscore to separate words e.g.
+ column_name
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
<div className="w-[25%]">
@@ -230,19 +232,21 @@ const ColumnManagement: FC<Props> = ({
<IconHelpCircle size={15} strokeWidth={1.5} />
</h5>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- Can be either a value or a SQL expression
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ Can be either a value or a SQL expression
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
<div className="w-[10%]">
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
index 450722f5a8c..0b3fe098097 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
@@ -97,17 +97,19 @@ const NotificationRow: FC<Props> = ({
onClick={() => dismissNotification(notification.id)}
/>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Dismiss</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Dismiss</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
</div>
diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx
index e1d751dd6b4..078addfffa2 100644
--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx
+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationIconButton.tsx
@@ -31,17 +31,19 @@ const NavigationIconButton: FC<Props> = ({ route, isActive = false }) => {
</a>
</ConditionalWrap>
</Tooltip.Trigger>
- <Tooltip.Content side="right">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'bg-scale-100 shadow py-1 px-2 rounded leading-none', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-scale-1200 text-xs">{route.label}</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="right">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'bg-scale-100 shadow py-1 px-2 rounded leading-none', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-scale-1200 text-xs">{route.label}</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)
}
diff --git a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx
index 8181045826d..0733a2fbc81 100644
--- a/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx
+++ b/studio/components/layouts/ProjectLayout/ProjectPausedState.tsx
@@ -72,19 +72,21 @@ const ProjectPausedState: FC<Props> = ({ project }) => {
</Button>
</Tooltip.Trigger>
{!canResumeProject && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to resume this project
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to resume this project
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<DeleteProjectButton type="default" />
diff --git a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
index ddee8e564a7..648f86df5de 100644
--- a/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
+++ b/studio/components/layouts/ProjectLayout/UpgradingState/UpgradingState.tsx
@@ -197,17 +197,19 @@ const UpgradingState = () => {
Started on: {initiatedAtUTC} (UTC)
</p>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- 'border border-scale-200 ', //border
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">{initiatedAt}</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ 'border border-scale-200 ', //border
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">{initiatedAt}</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/layouts/StorageLayout/StorageMenu.tsx b/studio/components/layouts/StorageLayout/StorageMenu.tsx
index 1d2a88de2fd..be1575b9caa 100644
--- a/studio/components/layouts/StorageLayout/StorageMenu.tsx
+++ b/studio/components/layouts/StorageLayout/StorageMenu.tsx
@@ -54,19 +54,21 @@ const StorageMenu: FC<Props> = () => {
</Button>
</Tooltip.Trigger>
{!canCreateBuckets && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create buckets
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create buckets
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
index 088984868c0..4a4f5d7d7e7 100644
--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx
@@ -176,19 +176,21 @@ const TableEditorMenu = ({
</Button>
</Tooltip.Trigger>
{!canCreateTables && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create tables
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create tables
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/to-be-cleaned/ProductEmptyState.tsx b/studio/components/to-be-cleaned/ProductEmptyState.tsx
index 304e3ffd4d3..0c22a898885 100644
--- a/studio/components/to-be-cleaned/ProductEmptyState.tsx
+++ b/studio/components/to-be-cleaned/ProductEmptyState.tsx
@@ -45,17 +45,19 @@ const ProductEmptyState: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{disabled && disabledMessage.length > 0 && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">{disabledMessage}</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">{disabledMessage}</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
)}
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx
index d3b10ab5108..cf250949884 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerHeader.tsx
@@ -409,19 +409,21 @@ const FileExplorerHeader: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canUpdateStorage && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to upload files
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to upload files
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
<Tooltip.Root delayDuration={0}>
@@ -436,19 +438,21 @@ const FileExplorerHeader: FC<Props> = ({
</Button>
</Tooltip.Trigger>
{!canUpdateStorage && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to create folders
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to create folders
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx
index 2b80cbabb77..be84f2c6a88 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.tsx
@@ -404,19 +404,21 @@ const FileExplorerRow: FC<Props> = ({
<Tooltip.Trigger>
<IconAlertCircle size={18} strokeWidth={2} className="text-scale-1000" />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- File is corrupted, please delete and reupload again.
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ File is corrupted, please delete and reupload again.
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</div>
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx b/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx
index a248ebe4ad4..2dd3a029e33 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/PreviewPane.tsx
@@ -255,19 +255,21 @@ const PreviewPane = () => {
</Button>
</Tooltip.Trigger>
{!canUpdateFiles && (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- You need additional permissions to delete this file
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ You need additional permissions to delete this file
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
)}
</Tooltip.Root>
</div>
diff --git a/studio/components/ui/Logs/LogsExplorerHeader.tsx b/studio/components/ui/Logs/LogsExplorerHeader.tsx
index b6d211f92b3..aa4ca18c83a 100644
--- a/studio/components/ui/Logs/LogsExplorerHeader.tsx
+++ b/studio/components/ui/Logs/LogsExplorerHeader.tsx
@@ -135,34 +135,38 @@ const LogsExplorerHeader: FC<Props> = ({ subtitle }) => {
<Tooltip.Trigger>
<IconCheck size={14} strokeWidth={3} className="text-brand-900" />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Copied</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Copied</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
) : (
<Tooltip.Root delayDuration={0}>
<Tooltip.Trigger>
<IconClipboard size="tiny" strokeWidth={1.5} />
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Copy value</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Copy value</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
)}
</Table.td>
diff --git a/studio/components/ui/UpgradeToPro.tsx b/studio/components/ui/UpgradeToPro.tsx
index ccee10b1295..81ba2eedb2d 100644
--- a/studio/components/ui/UpgradeToPro.tsx
+++ b/studio/components/ui/UpgradeToPro.tsx
@@ -63,29 +63,31 @@ const UpgradeToPro: FC<Props> = ({ icon, primaryText, projectRef, secondaryText
</Button>
</Tooltip.Trigger>
{!canUpdateSubscription || projectUpdateDisabled ? (
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'border border-scale-200 text-center', //border
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">
- {projectUpdateDisabled ? (
- <>
- Subscription changes are currently disabled.
- <br />
- Our engineers are working on a fix.
- </>
- ) : !canUpdateSubscription ? (
- 'You need additional permissions to amend subscriptions'
- ) : (
- ''
- )}
- </span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'border border-scale-200 text-center', //border
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow', // background
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">
+ {projectUpdateDisabled ? (
+ <>
+ Subscription changes are currently disabled.
+ <br />
+ Our engineers are working on a fix.
+ </>
+ ) : !canUpdateSubscription ? (
+ 'You need additional permissions to amend subscriptions'
+ ) : (
+ ''
+ )}
+ </span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
) : (
<></>
)}
diff --git a/studio/package.json b/studio/package.json
index 3ca8ac2b2fc..f88457c8533 100644
--- a/studio/package.json
+++ b/studio/package.json
@@ -21,8 +21,8 @@
"@headlessui/react": "^1.4.1",
"@monaco-editor/react": "^4.3.1",
"@next/bundle-analyzer": "^12.0.4",
- "@radix-ui/react-portal": "^0.1.1",
- "@radix-ui/react-tooltip": "^0.1.6",
+ "@radix-ui/react-portal": "^1.0.1",
+ "@radix-ui/react-tooltip": "^1.0.5",
"@scaleleap/pg-format": "^1.0.0",
"@sentry/browser": "^6.15.0",
"@sentry/nextjs": "^6.17.4",
@@ -142,8 +142,7 @@
"postcss": "^8.4.6",
"prettier": "^2.7.1",
"storybook-dark-mode": "^1.0.4",
- "tailwindcss": "^3.0.22",
- "ts-jest": "^27.0.7",
+ "tailwindcss": "^3.0.15",
"typescript": "4.8.4"
}
}
diff --git a/studio/pages/support/new.tsx b/studio/pages/support/new.tsx
index 4e5ff5c2e5a..a3e256afafa 100644
--- a/studio/pages/support/new.tsx
+++ b/studio/pages/support/new.tsx
@@ -58,17 +58,19 @@ const SupportPage = () => {
</a>
</Link>
</Tooltip.Trigger>
- <Tooltip.Content side="bottom">
- <Tooltip.Arrow className="radix-tooltip-arrow" />
- <div
- className={[
- 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
- 'border border-scale-200',
- ].join(' ')}
- >
- <span className="text-xs text-scale-1200">Check Supabase status page</span>
- </div>
- </Tooltip.Content>
+ <Tooltip.Portal>
+ <Tooltip.Content side="bottom">
+ <Tooltip.Arrow className="radix-tooltip-arrow" />
+ <div
+ className={[
+ 'rounded bg-scale-100 py-1 px-2 leading-none shadow',
+ 'border border-scale-200',
+ ].join(' ')}
+ >
+ <span className="text-xs text-scale-1200">Check Supabase status page</span>
+ </div>
+ </Tooltip.Content>
+ </Tooltip.Portal>
</Tooltip.Root>
</div>
</div>