From 72c6e149d2d6d7067083602220a81d985059b651 Mon Sep 17 00:00:00 2001 From: Thomas Draier Date: Wed, 20 Nov 2024 11:17:52 +0100 Subject: [PATCH] Take focus in modal over close button --- sparkle/package-lock.json | 4 ++-- sparkle/package.json | 2 +- sparkle/src/components/Modal.tsx | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sparkle/package-lock.json b/sparkle/package-lock.json index dba29896a06e..8ee79b2ff82c 100644 --- a/sparkle/package-lock.json +++ b/sparkle/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dust-tt/sparkle", - "version": "0.2.317", + "version": "0.2.318", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dust-tt/sparkle", - "version": "0.2.317", + "version": "0.2.318", "license": "ISC", "dependencies": { "@emoji-mart/data": "^1.1.2", diff --git a/sparkle/package.json b/sparkle/package.json index 9672267183fc..79dafd3acdc6 100644 --- a/sparkle/package.json +++ b/sparkle/package.json @@ -1,6 +1,6 @@ { "name": "@dust-tt/sparkle", - "version": "0.2.317", + "version": "0.2.318", "scripts": { "build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs", "tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css", diff --git a/sparkle/src/components/Modal.tsx b/sparkle/src/components/Modal.tsx index 05af61072de2..8d328f7be888 100644 --- a/sparkle/src/components/Modal.tsx +++ b/sparkle/src/components/Modal.tsx @@ -178,8 +178,10 @@ export function Modal({ } />