The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Upgrade Vaul and move Overlays
Tim Wilson807a0f89f5d8
diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 6c3fa07c80..db471f5569 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -65,7 +65,7 @@"sonner": "^1.4.41","swr": "^2.1.5","use-debounce": "^8.0.4",- "vaul": "^0.9.0"+ "vaul": "^0.9.6"},"author": "Steven Tey <[email protected]>","homepage": "https://dub.co",diff --git a/packages/ui/src/modal.tsx b/packages/ui/src/modal.tsxindex 9078083c78..b2a985f51c 100644--- a/packages/ui/src/modal.tsx+++ b/packages/ui/src/modal.tsx@@ -53,8 +53,8 @@ export function Modal({}}}>- <Drawer.Overlay className="fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur" /><Drawer.Portal>+ <Drawer.Overlay className="fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur" /><Drawer.ContentclassName={cn("fixed bottom-0 left-0 right-0 z-50 rounded-t-[10px] border-t border-gray-200 bg-white",diff --git a/packages/ui/src/popover.tsx b/packages/ui/src/popover.tsxindex 692dc88c64..03a75816c7 100644--- a/packages/ui/src/popover.tsx+++ b/packages/ui/src/popover.tsx@@ -42,8 +42,8 @@ export function Popover({<Drawer.Trigger className="sm:hidden" asChild>{children}</Drawer.Trigger>- <Drawer.Overlay className="fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur" /><Drawer.Portal>+ <Drawer.Overlay className="fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur" /><Drawer.ContentclassName="fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white"onEscapeKeyDown={onEscapeKeyDown}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 0ab045e558..d847307555 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -606,8 +606,8 @@ importers:specifier: ^8.0.4version: 8.0.4([email protected])vaul:- specifier: ^0.9.0- version: 0.9.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ specifier: ^0.9.6+ version: 0.9.6(@types/[email protected])(@types/[email protected])([email protected])([email protected])devDependencies:'@dub/tailwind-config':specifier: workspace:*@@ -5790,6 +5790,39 @@ packages:react-remove-scroll: 2.5.5(@types/[email protected])([email protected])dev: false+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-zysS+iU4YP3STKNS6USvFVqI4qqx8EpiwmT5TuCApVEBca+eRCbONi4EgzfNSuVnOXvC5UPHHMjs8RXO6DH9Bg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/primitive': 1.1.0+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-presence': 1.1.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-slot': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.14+ aria-hidden: 1.2.3+ react: 18.2.0+ react-dom: 18.2.0([email protected])+ react-remove-scroll: 2.5.7(@types/[email protected])([email protected])+ dev: false+/@radix-ui/[email protected]([email protected]):resolution: {integrity: sha512-2HV05lGUgYcA6xgLQ4BKPDmtL+QbIZYH5fCOTAOOcJ5O0QbWS3i9lKaurLzliYUDhORI2Qr3pyjhJh44lKA3rQ==}peerDependencies:@@ -5967,6 +6000,19 @@ packages:react: 18.2.0dev: false+ resolution: {integrity: sha512-w6XZNUPVv6xCpZUqb/yN9DL6auvpGX3C/ee6Hdi16v2UUy25HV2Q5bcflsiDyT/g5RwbPQ/GIT1vLkeRb+ITBw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.2.48+ react: 18.2.0+ dev: false+resolution: {integrity: sha512-C4SWtsULLGf/2L4oGeIHlvWQx7Rf+7cX/vKOAD2dXW0A1b5QXwi3wWeaEgW+wn+SEVrraMUk05vLU9fZZz5HbQ==}peerDependencies:@@ -6026,6 +6072,28 @@ packages:react-dom: 18.2.0([email protected])dev: false+ /@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-200UD8zylvEyL8Bx+z76RJnASR2gRMuxlgFCPAe/Q/679a/r0eK3MBVYMb7vZODZcffZBdob1EGnky78xmVvcA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.2.48+ '@types/react-dom': 18.2.14+ react: 18.2.0+ react-dom: 18.2.0([email protected])+ dev: false+/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-IwzAOP97hQpDADYVKrEEHUH/b2LA+9MgB0LgdmnbFO2u/3M5hmEofjjr2M6CyzUblaAqJdFm6B7oFtU72DPXrA==}peerDependencies:@@ -6093,6 +6161,20 @@ packages:react: 18.2.0dev: false+ resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@types/react': 18.2.48+ react: 18.2.0+ dev: false+/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ==}peerDependencies:@@ -18237,6 +18319,25 @@ packages:use-sidecar: 1.1.2(@types/[email protected])([email protected])dev: false+ resolution: {integrity: sha512-FnrTWO4L7/Bhhf3CYBNArEG/yROV0tKmTv7/3h9QCFvH6sndeFf1wPqOcbFVu5VAulS5dV1wGT3GZZ/1GawqiA==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.2.48+ react: 18.2.0+ react-remove-scroll-bar: 2.3.4(@types/[email protected])([email protected])+ react-style-singleton: 2.2.1(@types/[email protected])([email protected])+ tslib: 2.6.2+ use-callback-ref: 1.3.0(@types/[email protected])([email protected])+ use-sidecar: 1.1.2(@types/[email protected])([email protected])+ dev: false+resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==}peerDependencies:@@ -20821,13 +20922,13 @@ packages:- '@types/react-dom'dev: false- /[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):- resolution: {integrity: sha512-bZSySGbAHiTXmZychprnX/dE0EsSige88xtyyL3/MCRbrFotRPQZo7UdydGXZWw+CKbNOw5Ow8gwAo93/nB/Cg==}+ /[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-Ykk5FSu4ibeD6qfKQH/CkBRdSGWkxi35KMNei0z59kTPAlgzpE/Qf1gTx2sxih8Q05KBO/aFhcF/UkBW5iI1Ww==}peerDependencies:react: ^16.8 || ^17.0 || ^18.0react-dom: ^16.8 || ^17.0 || ^18.0dependencies:- '@radix-ui/react-dialog': 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])transitivePeerDependencies: