From 60eafd521d8676cd79b4eacbac69e71cde7ccfbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 26 Nov 2025 10:45:57 +0100 Subject: [PATCH 1/7] Upgrade LG chat packages and remove unneeded overrides --- package-lock.json | 574 ++++++++++------------- package.json | 12 +- packages/compass-components/package.json | 8 +- 3 files changed, 254 insertions(+), 340 deletions(-) diff --git a/package-lock.json b/package-lock.json index 89e3ba70d77..41208124450 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6720,12 +6720,6 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@juggle/resize-observer": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.4.0.tgz", - "integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==", - "license": "Apache-2.0" - }, "node_modules/@kwsites/file-exists": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz", @@ -6878,9 +6872,9 @@ } }, "node_modules/@leafygreen-ui/code": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/code/-/code-20.2.4.tgz", - "integrity": "sha512-qoqEmBoZa/Y/DOTconrkyfTDXgHfCiBQccWBLixYCtBPSsC5MQfAgoe5mTSP5dhNfW5RtjjPkZaezAiSmnayhA==", + "version": "20.2.5", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/code/-/code-20.2.5.tgz", + "integrity": "sha512-/gX0OKgO1HKIkIwsiXIlmxio5pVltTuz/LDmedNnNd5ZLJO2ZAsfK2JKHis4pxwfZHhtE+Ootq3jvMygbXbOwg==", "license": "Apache-2.0", "dependencies": { "@leafygreen-ui/a11y": "^3.0.5", @@ -9231,71 +9225,52 @@ "@lezer/common": "^1.0.0" } }, - "node_modules/@lg-chat/avatar": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@lg-chat/avatar/-/avatar-8.0.1.tgz", - "integrity": "sha512-cGjZfBlDKs50XCAl8/H5vfAd9PYLZsQMG6s0ItJM/sTP3eTLqvVkmstbkyEnI2SoingxghI/ylPUtTOfplh0Tg==", - "deprecated": "This package is deprecated. Instead, use @leafygreen-ui/avatar", + "node_modules/@lg-chat/chat-window": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@lg-chat/chat-window/-/chat-window-6.0.0.tgz", + "integrity": "sha512-5kZOCRO0HhdZ2u3O8kIbBKYOw2P1VBQGnZnkFdgx2nSuRwComT/+KjUzsAttGxm6eUoJEX0Y4Mu7cvu+BITCkg==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/avatar": "^3.1.4", "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0" - }, - "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": ">=3.2.0", - "@lg-chat/leafygreen-chat-provider": "^5.1.0" - } - }, - "node_modules/@lg-chat/chat-window": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/@lg-chat/chat-window/-/chat-window-4.1.6.tgz", - "integrity": "sha512-6hXu/22fVDQzPTRD0r3DFhNDxnQ9uJdLPI0c29rCjh+JtHptOHFOEange0+J/H1iYcgzop8Fe4K7nzP2I6c5Nw==", - "license": "Apache-2.0", - "dependencies": { - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/lib": "^15.6.1", - "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^3.2.4", - "@lg-chat/title-bar": "^4.0.8", + "@leafygreen-ui/tokens": "^4.0.0", + "@lg-chat/title-bar": "^5.0.0", "react-keyed-flatten-children": "^2.2.1" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^5.0.4", - "@lg-chat/leafygreen-chat-provider": "^5.0.2" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0" } }, "node_modules/@lg-chat/input-bar": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@lg-chat/input-bar/-/input-bar-10.1.0.tgz", - "integrity": "sha512-mkQwyR7JG5vElockcgQDILOQjN1/Rka0EBbXJp9JobCOPSSLSO5NQg/hdvnf4QS1bUKE6hGbGWQUlCdG91Xscw==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/@lg-chat/input-bar/-/input-bar-12.1.0.tgz", + "integrity": "sha512-B6IvFe6mafd6TXoq1bCfZssp6b2yx/JOlClF8ygGYhX1oMl8zb25JaR8H84ldhQ9b1Y4PiK8hmtQKH1VP+nl/w==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/avatar": "^3.1.2", - "@leafygreen-ui/badge": "^10.1.3", - "@leafygreen-ui/banner": "^10.1.1", - "@leafygreen-ui/button": "^25.0.4", - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.1.4", - "@leafygreen-ui/icon": "^14.5.1", - "@leafygreen-ui/icon-button": "^17.0.6", - "@leafygreen-ui/input-option": "^4.0.5", - "@leafygreen-ui/lib": "^15.5.0", + "@leafygreen-ui/avatar": "^3.1.6", + "@leafygreen-ui/banner": "^10.2.4", + "@leafygreen-ui/button": "^25.1.3", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", + "@leafygreen-ui/input-option": "^4.1.4", + "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/popover": "^14.0.6", - "@leafygreen-ui/search-input": "^6.0.6", - "@leafygreen-ui/tokens": "^3.2.4", - "@leafygreen-ui/typography": "^22.1.3", + "@leafygreen-ui/popover": "^14.3.1", + "@leafygreen-ui/search-input": "^6.1.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "react-keyed-flatten-children": "^1.3.0", - "react-textarea-autosize": "^8.3.2" + "react-textarea-autosize": "^8.5.9" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^5.0.4", - "@lg-chat/leafygreen-chat-provider": "^5.0.2" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0" } }, "node_modules/@lg-chat/input-bar/node_modules/react-is": { @@ -9317,101 +9292,98 @@ } }, "node_modules/@lg-chat/leafygreen-chat-provider": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@lg-chat/leafygreen-chat-provider/-/leafygreen-chat-provider-5.1.0.tgz", - "integrity": "sha512-L0fGWaRBcR4a9x3cbsKAZrO166I235zYHlrWT1SWhDAnrnvT5SAp5qfnJ4/iiod4YTKsRavagxOu9IxJfst5bQ==", - "license": "Apache-2.0", - "dependencies": { - "use-resize-observer": "^9.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@lg-chat/leafygreen-chat-provider/-/leafygreen-chat-provider-6.0.0.tgz", + "integrity": "sha512-zhvqAPpHX0VVOvrsVKs7H37ImIEOGuTLarULXEW4dwglKGqhbagmdN2UEje++wDAD/JqnAYEaQYzrPFH2EIgWQ==", + "license": "Apache-2.0" }, "node_modules/@lg-chat/lg-markdown": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@lg-chat/lg-markdown/-/lg-markdown-4.2.2.tgz", - "integrity": "sha512-WUib0r6Xq1L/25+kAWyExrWIFJVrSMJRkpQ/f1DF5dmLyUsmP8fp3Cve+KAZMQEjF9UEoDOizBKpdEWoAO32NQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@lg-chat/lg-markdown/-/lg-markdown-5.0.2.tgz", + "integrity": "sha512-gjjFb+6GvuUKNFbZqUpNqRAz2oEjNSGgscBPzPsGQ2HoKBlbz04LSIOj2ZKV+4auqJ2GAs2/nbSkeJAW9MzhVQ==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/code": "^20.2.1", + "@leafygreen-ui/code": "^20.2.5", "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.0", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "react-markdown": "^8.0.7" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": ">=3.2.0" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0" } }, "node_modules/@lg-chat/message": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@lg-chat/message/-/message-8.2.1.tgz", - "integrity": "sha512-bdRYy0UC/OR5+glUA/Bg8gYky2pi+9XhjokvBSRiWPftpLZh4NZEujL6Kd9+uBp2zkCxiLwW2f9K+nwtO9gB3A==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@lg-chat/message/-/message-10.1.1.tgz", + "integrity": "sha512-TM1Iydq9FHrbGyDpCUyNEpZizeaqgSgHe/YYH3RlDIW7Q7egyJvWzCCIYkXp5abkmqa/3ll+Ho/SW9Ktz5sSdQ==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/avatar": "^3.1.2", - "@leafygreen-ui/badge": "^10.2.0", - "@leafygreen-ui/banner": "^10.1.1", - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.2.0", - "@leafygreen-ui/icon": "^14.6.0", - "@leafygreen-ui/icon-button": "^17.1.0", - "@leafygreen-ui/lib": "^15.6.1", + "@leafygreen-ui/avatar": "^3.1.6", + "@leafygreen-ui/badge": "^10.2.3", + "@leafygreen-ui/banner": "^10.2.4", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", + "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^3.2.4", - "@leafygreen-ui/typography": "^22.1.3", - "@lg-chat/lg-markdown": "^4.2.0", - "@lg-chat/message-feedback": "^7.0.3", - "@lg-chat/message-rating": "^5.0.3", - "@lg-chat/rich-links": "^4.0.1" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/tooltip": "^14.3.0", + "@leafygreen-ui/typography": "^22.2.3", + "@lg-chat/lg-markdown": "^5.0.2", + "@lg-chat/message-feedback": "^9.0.1", + "@lg-chat/message-rating": "^7.1.0", + "@lg-chat/rich-links": "^4.0.6" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^5.0.4", - "@lg-chat/leafygreen-chat-provider": "^5.0.2" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0" } }, "node_modules/@lg-chat/message-feedback": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@lg-chat/message-feedback/-/message-feedback-7.1.0.tgz", - "integrity": "sha512-MataQS9poiMWZjKdxnFR50h+SznxKCTQJTzAwkc93SEQMiXnvYDaiphPdb63M4EAc9feioMivt9IEoksVeckGQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@lg-chat/message-feedback/-/message-feedback-9.0.1.tgz", + "integrity": "sha512-pt/rBKB13IaHNPFnzGomFmYvt0LO5LIZESh5uPZKN6+g71N4ImODMouzrVOQB3IWjDbBspgkiQkxKDU3DUslZA==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/button": "^25.1.0", - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.2.1", - "@leafygreen-ui/icon": "^14.6.0", - "@leafygreen-ui/icon-button": "^17.1.0", + "@leafygreen-ui/button": "^25.1.3", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/popover": "^14.1.0", - "@leafygreen-ui/text-area": "^12.1.0", - "@leafygreen-ui/tokens": "^3.2.4", - "@leafygreen-ui/typography": "^22.1.3" + "@leafygreen-ui/text-area": "^12.1.4", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^5.0.4", - "@lg-chat/leafygreen-chat-provider": "^5.0.2" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0" } }, "node_modules/@lg-chat/message-rating": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@lg-chat/message-rating/-/message-rating-5.0.3.tgz", - "integrity": "sha512-ZcFYmtFIaYUAVw6+yzc0Vlfwl5Dgdct0mtaDsxcSGyDONSMsFZIBSmtbSObliwkzzGepvtAEdx5Kfs3+u8jgxg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@lg-chat/message-rating/-/message-rating-7.1.0.tgz", + "integrity": "sha512-lE3pbsb6Z03WwY9KNHj2eQ34fKyetIJld83yd9M9OpbElwYWP71cOlEQTcxq4WLzKMWXr7PuE0PuvEfT3tcI5g==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.1.4", - "@leafygreen-ui/icon": "^14.5.1", - "@leafygreen-ui/icon-button": "^17.0.6", - "@leafygreen-ui/lib": "^15.4.0", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", + "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^3.2.4", - "@leafygreen-ui/typography": "^22.1.3" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/tooltip": "^14.3.0" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^5.0.4", - "@lg-chat/leafygreen-chat-provider": "^5.0.2" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0" } }, "node_modules/@lg-chat/rich-links": { @@ -9434,23 +9406,20 @@ } }, "node_modules/@lg-chat/title-bar": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@lg-chat/title-bar/-/title-bar-4.2.0.tgz", - "integrity": "sha512-kNdTqPRe+bd5cL96b1PrySmbXF+1Bd2WBJndPrJ9hBdOD6itJmKfMLV8W6sbMhixaN2Q01jMQDPd37CMMGuUAA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@lg-chat/title-bar/-/title-bar-5.0.1.tgz", + "integrity": "sha512-KYhjll2YmjHKe+Rg5a+MUFqhRND9gVUmF6wV008kiRsbKbMy8JkS5sdCU1yHUs2ucIh9cv03FmBdLZytR0t4Sg==", "license": "Apache-2.0", "dependencies": { - "@leafygreen-ui/badge": "^10.2.2", + "@leafygreen-ui/badge": "^10.2.3", "@leafygreen-ui/emotion": "^5.1.0", - "@leafygreen-ui/icon": "^14.7.0", - "@leafygreen-ui/icon-button": "^17.1.2", "@leafygreen-ui/lib": "^15.6.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.0", - "@lg-chat/avatar": "^8.0.1" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.2.0 || workspace:^4.0.0 || workspace:^5.0.0", - "@lg-chat/leafygreen-chat-provider": "^5.1.0" + "@leafygreen-ui/leafygreen-provider": "^5.0.0 || ^4.0.0 || ^3.2.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0" } }, "node_modules/@lg-tools/test-harnesses": { @@ -45107,19 +45076,6 @@ } } }, - "node_modules/use-resize-observer": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/use-resize-observer/-/use-resize-observer-9.1.0.tgz", - "integrity": "sha512-R25VqO9Wb3asSD4eqtcxk8sJalvIOYBqS8MNZlpDSQ4l4xMQxC/J7Id9HoTqPq8FwULIn0PVW+OAqF2dyYbjow==", - "license": "MIT", - "dependencies": { - "@juggle/resize-observer": "^3.3.1" - }, - "peerDependencies": { - "react": "16.8.0 - 18", - "react-dom": "16.8.0 - 18" - } - }, "node_modules/use-sync-external-store": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", @@ -48019,10 +47975,10 @@ "@leafygreen-ui/tokens": "^4.0.0", "@leafygreen-ui/tooltip": "^14.2.3", "@leafygreen-ui/typography": "^22.2.2", - "@lg-chat/chat-window": "^4.1.5", - "@lg-chat/input-bar": "^10.1.0", - "@lg-chat/leafygreen-chat-provider": "^5.0.2", - "@lg-chat/message": "^8.2.0", + "@lg-chat/chat-window": "^6.0.0", + "@lg-chat/input-bar": "^12.1.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0", + "@lg-chat/message": "^10.1.1", "@mongodb-js/compass-context-menu": "^0.3.1", "@mongodb-js/diagramming": "^2.2.1", "@react-aria/interactions": "^3.9.1", @@ -58492,11 +58448,6 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "@juggle/resize-observer": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.4.0.tgz", - "integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==" - }, "@kwsites/file-exists": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz", @@ -58532,7 +58483,7 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/logo": "^11.1.0", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "lodash": "^4.17.21" } }, @@ -58557,8 +58508,8 @@ "@leafygreen-ui/icon-button": "^17.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@leafygreen-ui/button": { @@ -58598,8 +58549,8 @@ "@leafygreen-ui/hooks": "^9.3.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4", "react-transition-group": "^4.4.5" } @@ -58614,13 +58565,13 @@ "@leafygreen-ui/inline-definition": "^9.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0" + "@leafygreen-ui/tokens": "^4.1.0" } }, "@leafygreen-ui/code": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/code/-/code-20.2.4.tgz", - "integrity": "sha512-qoqEmBoZa/Y/DOTconrkyfTDXgHfCiBQccWBLixYCtBPSsC5MQfAgoe5mTSP5dhNfW5RtjjPkZaezAiSmnayhA==", + "version": "20.2.5", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/code/-/code-20.2.5.tgz", + "integrity": "sha512-/gX0OKgO1HKIkIwsiXIlmxio5pVltTuz/LDmedNnNd5ZLJO2ZAsfK2JKHis4pxwfZHhtE+Ootq3jvMygbXbOwg==", "requires": { "@leafygreen-ui/a11y": "^3.0.5", "@leafygreen-ui/button": "^25.1.3", @@ -58630,11 +58581,11 @@ "@leafygreen-ui/icon-button": "^17.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/select": "^17.0.1", + "@leafygreen-ui/select": "^17.0.2", "@leafygreen-ui/skeleton-loader": "^3.0.10", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.3.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4", "@types/facepaint": "^1.2.1", "@types/highlight.js": "^10.1.0", @@ -58654,7 +58605,7 @@ "@leafygreen-ui/checkbox": "^18.1.4", "@leafygreen-ui/chip": "^4.0.10", "@leafygreen-ui/emotion": "^5.1.0", - "@leafygreen-ui/form-field": "^4.0.7", + "@leafygreen-ui/form-field": "^4.0.8", "@leafygreen-ui/hooks": "^9.3.0", "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/icon-button": "^17.1.4", @@ -58662,8 +58613,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/popover": "^14.3.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "chalk": "^4.1.2", "lodash": "^4.17.21", "polished": "^4.2.2" @@ -58678,11 +58629,11 @@ "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", - "@leafygreen-ui/modal": "^20.3.1", + "@leafygreen-ui/modal": "^20.3.3", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/text-input": "^16.2.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/text-input": "^16.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@leafygreen-ui/copyable": { @@ -58696,9 +58647,9 @@ "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.3.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/typography": "^22.2.3", "clipboard": "^2.0.6", "polished": "^4.2.2" } @@ -58728,9 +58679,9 @@ "@leafygreen-ui/polymorphic": "^3.1.0", "@leafygreen-ui/resizable": "^0.1.3", "@leafygreen-ui/tabs": "^17.0.8", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/toolbar": "^1.2.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4", "polished": "^4.2.2", "react-intersection-observer": "^8.25.1" @@ -58755,8 +58706,8 @@ "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@leafygreen-ui/guide-cue": { @@ -58774,7 +58725,7 @@ "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/popover": "^14.3.1", "@leafygreen-ui/tooltip": "^14.3.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/typography": "^22.2.3", "focus-trap": "6.9.4", "focus-trap-react": "9.0.2", "polished": "^4.2.2" @@ -58811,7 +58762,7 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "polished": "^4.2.2" } }, @@ -58824,7 +58775,7 @@ "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.3.0" } }, @@ -58836,7 +58787,7 @@ "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.3.0" } }, @@ -58850,8 +58801,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@leafygreen-ui/leafygreen-provider": { @@ -58890,10 +58841,10 @@ "@leafygreen-ui/button": "^25.1.3", "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/lib": "^15.6.2", - "@leafygreen-ui/modal": "^20.3.1", + "@leafygreen-ui/modal": "^20.3.3", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@leafygreen-ui/menu": { @@ -58911,8 +58862,8 @@ "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", "@leafygreen-ui/popover": "^14.3.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "polished": "^4.3.1", "react-transition-group": "^4.4.5" @@ -58929,7 +58880,7 @@ "@leafygreen-ui/icon-button": "^17.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@lg-tools/test-harnesses": "^0.3.4", "polished": "^4.2.2" } @@ -58949,7 +58900,7 @@ "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.3.0", "react-intersection-observer": "^8.25.1" } @@ -59009,8 +58960,8 @@ "@leafygreen-ui/hooks": "^9.3.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@leafygreen-ui/resizable": { @@ -59046,8 +58997,8 @@ "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", "@leafygreen-ui/popover": "^14.3.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "polished": "^4.2.2" } @@ -59063,8 +59014,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "polished": "^4.2.2" } @@ -59076,15 +59027,15 @@ "requires": { "@leafygreen-ui/button": "^25.1.3", "@leafygreen-ui/emotion": "^5.1.0", - "@leafygreen-ui/form-field": "^4.0.7", + "@leafygreen-ui/form-field": "^4.0.8", "@leafygreen-ui/hooks": "^9.3.0", "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/input-option": "^4.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/popover": "^14.3.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4", "@types/react-is": "^18.0.0", "lodash": "^4.17.21", @@ -59110,8 +59061,8 @@ "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21" } }, @@ -59128,7 +59079,7 @@ "@leafygreen-ui/menu": "^33.1.0", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0" + "@leafygreen-ui/tokens": "^4.1.0" } }, "@leafygreen-ui/table": { @@ -59144,8 +59095,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4", "@tanstack/react-table": "^8.20.5", "@tanstack/react-virtual": "^3.10.7", @@ -59167,8 +59118,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4" } }, @@ -59178,13 +59129,13 @@ "integrity": "sha512-HkncILBoWWoCvebW8uT8hy+iD/w3eOGvUoqTyPL0zP2fUM4dKCCb2brvvHct6SvKxPDuuoG3fECb4HgyDq+stw==", "requires": { "@leafygreen-ui/emotion": "^5.1.0", - "@leafygreen-ui/form-field": "^4.0.7", + "@leafygreen-ui/form-field": "^4.0.8", "@leafygreen-ui/hooks": "^9.3.0", "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4" } }, @@ -59194,11 +59145,11 @@ "integrity": "sha512-Pt6vvfXLDUcnYyOArfMOLAn2HrBKEy4zD7QOb+tuFKkrDqdD8G3656QFpynwuwatXqs0ftbS1gEySJ2F4LV0kQ==", "requires": { "@leafygreen-ui/emotion": "^5.1.0", - "@leafygreen-ui/form-field": "^4.0.7", + "@leafygreen-ui/form-field": "^4.0.8", "@leafygreen-ui/hooks": "^9.3.0", "@leafygreen-ui/lib": "^15.6.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "@lg-tools/test-harnesses": "^0.3.4" } }, @@ -59214,8 +59165,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/portal": "^7.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "polished": "^4.2.2", "react-transition-group": "^4.4.5" @@ -59231,7 +59182,7 @@ "@leafygreen-ui/icon": "^14.7.1", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@lg-tools/test-harnesses": "^0.3.4" } }, @@ -59257,7 +59208,7 @@ "@leafygreen-ui/icon-button": "^17.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.3.0", "@lg-tools/test-harnesses": "^0.3.4" } @@ -59273,8 +59224,8 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/popover": "^14.3.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "polished": "^4.2.2" } @@ -59289,7 +59240,7 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0" + "@leafygreen-ui/tokens": "^4.1.0" } }, "@leichtgewicht/base64-codec": { @@ -60499,55 +60450,42 @@ "@lezer/common": "^1.0.0" } }, - "@lg-chat/avatar": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@lg-chat/avatar/-/avatar-8.0.1.tgz", - "integrity": "sha512-cGjZfBlDKs50XCAl8/H5vfAd9PYLZsQMG6s0ItJM/sTP3eTLqvVkmstbkyEnI2SoingxghI/ylPUtTOfplh0Tg==", + "@lg-chat/chat-window": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@lg-chat/chat-window/-/chat-window-6.0.0.tgz", + "integrity": "sha512-5kZOCRO0HhdZ2u3O8kIbBKYOw2P1VBQGnZnkFdgx2nSuRwComT/+KjUzsAttGxm6eUoJEX0Y4Mu7cvu+BITCkg==", "requires": { - "@leafygreen-ui/avatar": "^3.1.4", "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0" - } - }, - "@lg-chat/chat-window": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/@lg-chat/chat-window/-/chat-window-4.1.6.tgz", - "integrity": "sha512-6hXu/22fVDQzPTRD0r3DFhNDxnQ9uJdLPI0c29rCjh+JtHptOHFOEange0+J/H1iYcgzop8Fe4K7nzP2I6c5Nw==", - "requires": { - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/lib": "^15.6.1", - "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/tokens": "^4.0.0", - "@lg-chat/title-bar": "^4.0.8", + "@lg-chat/title-bar": "^5.0.0", "react-keyed-flatten-children": "^2.2.1" } }, "@lg-chat/input-bar": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@lg-chat/input-bar/-/input-bar-10.1.0.tgz", - "integrity": "sha512-mkQwyR7JG5vElockcgQDILOQjN1/Rka0EBbXJp9JobCOPSSLSO5NQg/hdvnf4QS1bUKE6hGbGWQUlCdG91Xscw==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/@lg-chat/input-bar/-/input-bar-12.1.0.tgz", + "integrity": "sha512-B6IvFe6mafd6TXoq1bCfZssp6b2yx/JOlClF8ygGYhX1oMl8zb25JaR8H84ldhQ9b1Y4PiK8hmtQKH1VP+nl/w==", "requires": { - "@leafygreen-ui/avatar": "^3.1.2", - "@leafygreen-ui/badge": "^10.1.3", - "@leafygreen-ui/banner": "^10.1.1", + "@leafygreen-ui/avatar": "^3.1.6", + "@leafygreen-ui/banner": "^10.2.4", "@leafygreen-ui/button": "^25.1.3", - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.1.4", - "@leafygreen-ui/icon": "^14.5.1", - "@leafygreen-ui/icon-button": "^17.0.6", - "@leafygreen-ui/input-option": "^4.0.5", - "@leafygreen-ui/lib": "^15.5.0", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", + "@leafygreen-ui/input-option": "^4.1.4", + "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/popover": "^14.0.6", - "@leafygreen-ui/search-input": "^6.0.6", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/popover": "^14.3.1", + "@leafygreen-ui/search-input": "^6.1.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "lodash": "^4.17.21", "react-keyed-flatten-children": "^1.3.0", - "react-textarea-autosize": "^8.3.2" + "react-textarea-autosize": "^8.5.9" }, "dependencies": { "react-is": { @@ -60566,81 +60504,78 @@ } }, "@lg-chat/leafygreen-chat-provider": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@lg-chat/leafygreen-chat-provider/-/leafygreen-chat-provider-5.1.0.tgz", - "integrity": "sha512-L0fGWaRBcR4a9x3cbsKAZrO166I235zYHlrWT1SWhDAnrnvT5SAp5qfnJ4/iiod4YTKsRavagxOu9IxJfst5bQ==", - "requires": { - "use-resize-observer": "^9.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@lg-chat/leafygreen-chat-provider/-/leafygreen-chat-provider-6.0.0.tgz", + "integrity": "sha512-zhvqAPpHX0VVOvrsVKs7H37ImIEOGuTLarULXEW4dwglKGqhbagmdN2UEje++wDAD/JqnAYEaQYzrPFH2EIgWQ==" }, "@lg-chat/lg-markdown": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@lg-chat/lg-markdown/-/lg-markdown-4.2.2.tgz", - "integrity": "sha512-WUib0r6Xq1L/25+kAWyExrWIFJVrSMJRkpQ/f1DF5dmLyUsmP8fp3Cve+KAZMQEjF9UEoDOizBKpdEWoAO32NQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@lg-chat/lg-markdown/-/lg-markdown-5.0.2.tgz", + "integrity": "sha512-gjjFb+6GvuUKNFbZqUpNqRAz2oEjNSGgscBPzPsGQ2HoKBlbz04LSIOj2ZKV+4auqJ2GAs2/nbSkeJAW9MzhVQ==", "requires": { - "@leafygreen-ui/code": "^20.2.1", + "@leafygreen-ui/code": "^20.2.5", "@leafygreen-ui/emotion": "^5.1.0", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3", "react-markdown": "^8.0.7" } }, "@lg-chat/message": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@lg-chat/message/-/message-8.2.1.tgz", - "integrity": "sha512-bdRYy0UC/OR5+glUA/Bg8gYky2pi+9XhjokvBSRiWPftpLZh4NZEujL6Kd9+uBp2zkCxiLwW2f9K+nwtO9gB3A==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@lg-chat/message/-/message-10.1.1.tgz", + "integrity": "sha512-TM1Iydq9FHrbGyDpCUyNEpZizeaqgSgHe/YYH3RlDIW7Q7egyJvWzCCIYkXp5abkmqa/3ll+Ho/SW9Ktz5sSdQ==", "requires": { - "@leafygreen-ui/avatar": "^3.1.2", - "@leafygreen-ui/badge": "^10.2.0", - "@leafygreen-ui/banner": "^10.1.1", - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.2.0", - "@leafygreen-ui/icon": "^14.6.0", - "@leafygreen-ui/icon-button": "^17.1.0", - "@leafygreen-ui/lib": "^15.6.1", + "@leafygreen-ui/avatar": "^3.1.6", + "@leafygreen-ui/badge": "^10.2.3", + "@leafygreen-ui/banner": "^10.2.4", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", + "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", - "@lg-chat/lg-markdown": "^4.2.0", - "@lg-chat/message-feedback": "^7.0.3", - "@lg-chat/message-rating": "^5.0.3", - "@lg-chat/rich-links": "^4.0.1" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/tooltip": "^14.3.0", + "@leafygreen-ui/typography": "^22.2.3", + "@lg-chat/lg-markdown": "^5.0.2", + "@lg-chat/message-feedback": "^9.0.1", + "@lg-chat/message-rating": "^7.1.0", + "@lg-chat/rich-links": "^4.0.6" } }, "@lg-chat/message-feedback": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@lg-chat/message-feedback/-/message-feedback-7.1.0.tgz", - "integrity": "sha512-MataQS9poiMWZjKdxnFR50h+SznxKCTQJTzAwkc93SEQMiXnvYDaiphPdb63M4EAc9feioMivt9IEoksVeckGQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@lg-chat/message-feedback/-/message-feedback-9.0.1.tgz", + "integrity": "sha512-pt/rBKB13IaHNPFnzGomFmYvt0LO5LIZESh5uPZKN6+g71N4ImODMouzrVOQB3IWjDbBspgkiQkxKDU3DUslZA==", "requires": { "@leafygreen-ui/button": "^25.1.3", - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.2.1", - "@leafygreen-ui/icon": "^14.6.0", - "@leafygreen-ui/icon-button": "^17.1.0", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/popover": "^14.1.0", - "@leafygreen-ui/text-area": "^12.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/text-area": "^12.1.4", + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@lg-chat/message-rating": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@lg-chat/message-rating/-/message-rating-5.0.3.tgz", - "integrity": "sha512-ZcFYmtFIaYUAVw6+yzc0Vlfwl5Dgdct0mtaDsxcSGyDONSMsFZIBSmtbSObliwkzzGepvtAEdx5Kfs3+u8jgxg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@lg-chat/message-rating/-/message-rating-7.1.0.tgz", + "integrity": "sha512-lE3pbsb6Z03WwY9KNHj2eQ34fKyetIJld83yd9M9OpbElwYWP71cOlEQTcxq4WLzKMWXr7PuE0PuvEfT3tcI5g==", "requires": { - "@leafygreen-ui/emotion": "^5.0.3", - "@leafygreen-ui/hooks": "^9.1.4", - "@leafygreen-ui/icon": "^14.5.1", - "@leafygreen-ui/icon-button": "^17.0.6", - "@leafygreen-ui/lib": "^15.4.0", + "@leafygreen-ui/emotion": "^5.1.0", + "@leafygreen-ui/hooks": "^9.3.0", + "@leafygreen-ui/icon": "^14.7.1", + "@leafygreen-ui/icon-button": "^17.1.4", + "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/tooltip": "^14.3.0" } }, "@lg-chat/rich-links": { @@ -60654,23 +60589,20 @@ "@leafygreen-ui/lib": "^15.6.2", "@leafygreen-ui/palette": "^5.0.2", "@leafygreen-ui/polymorphic": "^3.1.0", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@lg-chat/title-bar": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@lg-chat/title-bar/-/title-bar-4.2.0.tgz", - "integrity": "sha512-kNdTqPRe+bd5cL96b1PrySmbXF+1Bd2WBJndPrJ9hBdOD6itJmKfMLV8W6sbMhixaN2Q01jMQDPd37CMMGuUAA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@lg-chat/title-bar/-/title-bar-5.0.1.tgz", + "integrity": "sha512-KYhjll2YmjHKe+Rg5a+MUFqhRND9gVUmF6wV008kiRsbKbMy8JkS5sdCU1yHUs2ucIh9cv03FmBdLZytR0t4Sg==", "requires": { - "@leafygreen-ui/badge": "^10.2.2", + "@leafygreen-ui/badge": "^10.2.3", "@leafygreen-ui/emotion": "^5.1.0", - "@leafygreen-ui/icon": "^14.7.0", - "@leafygreen-ui/icon-button": "^17.1.2", "@leafygreen-ui/lib": "^15.6.2", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2", - "@lg-chat/avatar": "^8.0.1" + "@leafygreen-ui/tokens": "^4.1.0", + "@leafygreen-ui/typography": "^22.2.3" } }, "@lg-tools/test-harnesses": { @@ -61481,10 +61413,10 @@ "@leafygreen-ui/tokens": "^4.0.0", "@leafygreen-ui/tooltip": "^14.2.3", "@leafygreen-ui/typography": "^22.2.2", - "@lg-chat/chat-window": "^4.1.5", - "@lg-chat/input-bar": "^10.1.0", - "@lg-chat/leafygreen-chat-provider": "^5.0.2", - "@lg-chat/message": "^8.2.0", + "@lg-chat/chat-window": "^6.0.0", + "@lg-chat/input-bar": "^12.1.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0", + "@lg-chat/message": "^10.1.1", "@mongodb-js/compass-context-menu": "^0.3.1", "@mongodb-js/diagramming": "^2.2.1", "@mongodb-js/eslint-config-compass": "^1.4.12", @@ -65010,12 +64942,12 @@ "@emotion/styled": "^11.14.0", "@leafygreen-ui/icon": "^14.3.0", "@leafygreen-ui/inline-definition": "^9.0.5", - "@leafygreen-ui/leafygreen-provider": "^5.0.4", + "@leafygreen-ui/leafygreen-provider": "^5.0.2", "@leafygreen-ui/palette": "^5.0.0", - "@leafygreen-ui/select": "^17.0.1", - "@leafygreen-ui/tokens": "^4.0.0", + "@leafygreen-ui/select": "^16.2.0", + "@leafygreen-ui/tokens": "^3.2.1", "@leafygreen-ui/tooltip": "^14.2.1", - "@leafygreen-ui/typography": "^22.2.2", + "@leafygreen-ui/typography": "^22.1.0", "@xyflow/react": "12.5.1", "d3-path": "^3.1.0", "elkjs": "^0.11.0", @@ -94178,14 +94110,6 @@ "use-isomorphic-layout-effect": "^1.1.1" } }, - "use-resize-observer": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/use-resize-observer/-/use-resize-observer-9.1.0.tgz", - "integrity": "sha512-R25VqO9Wb3asSD4eqtcxk8sJalvIOYBqS8MNZlpDSQ4l4xMQxC/J7Id9HoTqPq8FwULIn0PVW+OAqF2dyYbjow==", - "requires": { - "@juggle/resize-observer": "^3.3.1" - } - }, "use-sync-external-store": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", diff --git a/package.json b/package.json index 904264ed76f..b16aa87359b 100644 --- a/package.json +++ b/package.json @@ -110,16 +110,6 @@ "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1" - }, - "@leafygreen-ui/button": "^25.1.3", - "@leafygreen-ui/confirmation-modal": "^10.2.1", - "@leafygreen-ui/form-field": "^4.0.7", - "@leafygreen-ui/leafygreen-provider": "^5.0.4", - "@leafygreen-ui/marketing-modal": "^8.1.4", - "@leafygreen-ui/modal": "^20.3.1", - "@leafygreen-ui/select": "^17.0.1", - "@leafygreen-ui/text-input": "^16.2.1", - "@leafygreen-ui/tokens": "^4.0.0", - "@leafygreen-ui/typography": "^22.2.2" + } } } diff --git a/packages/compass-components/package.json b/packages/compass-components/package.json index ef890bf39b0..2f9141922c7 100644 --- a/packages/compass-components/package.json +++ b/packages/compass-components/package.json @@ -80,10 +80,10 @@ "@leafygreen-ui/tokens": "^4.0.0", "@leafygreen-ui/tooltip": "^14.2.3", "@leafygreen-ui/typography": "^22.2.2", - "@lg-chat/chat-window": "^4.1.5", - "@lg-chat/input-bar": "^10.1.0", - "@lg-chat/leafygreen-chat-provider": "^5.0.2", - "@lg-chat/message": "^8.2.0", + "@lg-chat/chat-window": "^6.0.0", + "@lg-chat/input-bar": "^12.1.0", + "@lg-chat/leafygreen-chat-provider": "^6.0.0", + "@lg-chat/message": "^10.1.1", "@mongodb-js/compass-context-menu": "^0.3.1", "@mongodb-js/diagramming": "^2.2.1", "@react-aria/interactions": "^3.9.1", From d5a42210559e52d7d8ce05b5ed130ea8d30dc10e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 26 Nov 2025 10:42:54 +0100 Subject: [PATCH 2/7] Remove removal of extra padding --- packages/compass-assistant/src/components/assistant-chat.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/compass-assistant/src/components/assistant-chat.tsx b/packages/compass-assistant/src/components/assistant-chat.tsx index cac05c5ef6b..c7b75c65a1b 100644 --- a/packages/compass-assistant/src/components/assistant-chat.tsx +++ b/packages/compass-assistant/src/components/assistant-chat.tsx @@ -42,11 +42,6 @@ const assistantChatFixesStyles = css({ listStyleType: 'decimal', }, - // Remove extra padding - '> div, > div > div, > div > div > div, > div > div > div': { - height: '100%', - padding: 0, - }, // This is currently set to 'pre-wrap' which causes list items to be on a different line than the list markers. 'li, ol': { whiteSpace: 'normal', From 50d2ed1c2085e5ce39c3540ee1d57b728905b4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 26 Nov 2025 10:44:37 +0100 Subject: [PATCH 3/7] Remove unused ChatWindow style and title --- .../compass-assistant/src/components/assistant-chat.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/compass-assistant/src/components/assistant-chat.tsx b/packages/compass-assistant/src/components/assistant-chat.tsx index c7b75c65a1b..4b96278f01e 100644 --- a/packages/compass-assistant/src/components/assistant-chat.tsx +++ b/packages/compass-assistant/src/components/assistant-chat.tsx @@ -140,11 +140,6 @@ const messageFeedFixesStyles = css({ fontWeight: 600, }, }); -const chatWindowFixesStyles = css({ - height: '100%', - display: 'flex', - flexDirection: 'column', -}); const welcomeMessageStyles = css({ paddingBottom: spacing[400], paddingLeft: spacing[400], @@ -370,7 +365,7 @@ export const AssistantChat: React.FunctionComponent = ({ style={chatContainerOverrideStyle} > - +
Date: Wed, 26 Nov 2025 10:45:09 +0100 Subject: [PATCH 4/7] Remove InputBar wrapping div & padding correcting styles --- .../src/components/assistant-chat.tsx | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/packages/compass-assistant/src/components/assistant-chat.tsx b/packages/compass-assistant/src/components/assistant-chat.tsx index 4b96278f01e..7e5fb27e505 100644 --- a/packages/compass-assistant/src/components/assistant-chat.tsx +++ b/packages/compass-assistant/src/components/assistant-chat.tsx @@ -151,14 +151,6 @@ const noWrapFixesStyles = css({ whiteSpace: 'nowrap', }); -/** TODO(COMPASS-9751): This should be handled by Leafygreen's disclaimers update */ -const inputBarStyleFixes = css({ - width: '100%', - paddingLeft: spacing[400], - paddingRight: spacing[400], - paddingBottom: spacing[100], -}); - function makeErrorMessage(message: string) { message = message || 'An error occurred'; return `${message}. Try clearing the chat if the error persists.`; @@ -476,16 +468,12 @@ export const AssistantChat: React.FunctionComponent = ({

)} -
- - void handleMessageSend(messageBody) - } - state={status === 'submitted' ? 'loading' : undefined} - textareaProps={inputBarTextareaProps} - /> -
+ void handleMessageSend(messageBody)} + state={status === 'submitted' ? 'loading' : undefined} + textareaProps={inputBarTextareaProps} + />
From 2f525079a62e4678b5a44aa32284db08781ff5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 26 Nov 2025 10:51:35 +0100 Subject: [PATCH 5/7] Fix messages height --- packages/compass-assistant/src/components/assistant-chat.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/compass-assistant/src/components/assistant-chat.tsx b/packages/compass-assistant/src/components/assistant-chat.tsx index 7e5fb27e505..9bdfd212e24 100644 --- a/packages/compass-assistant/src/components/assistant-chat.tsx +++ b/packages/compass-assistant/src/components/assistant-chat.tsx @@ -129,9 +129,7 @@ const messageFeedFixesStyles = css({ display: 'flex', flexDirection: 'column-reverse', overflowY: 'auto', - width: '100%', wordBreak: 'break-word', - flex: 1, padding: spacing[400], gap: spacing[400], From df37b643dd474505ab17a4a3ae2ae4ffc8c6fd10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 26 Nov 2025 10:55:32 +0100 Subject: [PATCH 6/7] Update test to reflect new wording in disclaimer --- .../compass-assistant/src/components/assistant-chat.spec.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/compass-assistant/src/components/assistant-chat.spec.tsx b/packages/compass-assistant/src/components/assistant-chat.spec.tsx index 5f15954f15a..62f0dcddfc5 100644 --- a/packages/compass-assistant/src/components/assistant-chat.spec.tsx +++ b/packages/compass-assistant/src/components/assistant-chat.spec.tsx @@ -121,8 +121,7 @@ describe('AssistantChat', function () { it('displays the disclaimer and welcome text', function () { renderWithChat(createMockChat({ messages: [] })); - expect(screen.getByText(/AI can make mistakes, so review for accuracy/)).to - .exist; + expect(screen.getByText(/Review answers for accuracy/)).to.exist; }); it('displays the welcome text when there are no messages', function () { From b1fc5531d79c694d094c60b8c294d1045f648b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Wed, 26 Nov 2025 15:29:04 +0100 Subject: [PATCH 7/7] Override select and tokens in diagramming --- package-lock.json | 12 ++++++------ package.json | 4 ++++ packages/compass-components/package.json | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 41208124450..23665ab7307 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47963,7 +47963,7 @@ "@leafygreen-ui/radio-group": "^13.0.10", "@leafygreen-ui/search-input": "^6.1.1", "@leafygreen-ui/segmented-control": "^11.0.11", - "@leafygreen-ui/select": "^17.0.1", + "@leafygreen-ui/select": "^17.0.2", "@leafygreen-ui/skeleton-loader": "^3.0.9", "@leafygreen-ui/split-button": "^6.1.7", "@leafygreen-ui/table": "^15.2.1", @@ -47980,7 +47980,7 @@ "@lg-chat/leafygreen-chat-provider": "^6.0.0", "@lg-chat/message": "^10.1.1", "@mongodb-js/compass-context-menu": "^0.3.1", - "@mongodb-js/diagramming": "^2.2.1", + "@mongodb-js/diagramming": "^2.2.2", "@react-aria/interactions": "^3.9.1", "@react-aria/utils": "^3.13.1", "@react-aria/visually-hidden": "^3.3.1", @@ -61401,7 +61401,7 @@ "@leafygreen-ui/radio-group": "^13.0.10", "@leafygreen-ui/search-input": "^6.1.1", "@leafygreen-ui/segmented-control": "^11.0.11", - "@leafygreen-ui/select": "^17.0.1", + "@leafygreen-ui/select": "^17.0.2", "@leafygreen-ui/skeleton-loader": "^3.0.9", "@leafygreen-ui/split-button": "^6.1.7", "@leafygreen-ui/table": "^15.2.1", @@ -61418,7 +61418,7 @@ "@lg-chat/leafygreen-chat-provider": "^6.0.0", "@lg-chat/message": "^10.1.1", "@mongodb-js/compass-context-menu": "^0.3.1", - "@mongodb-js/diagramming": "^2.2.1", + "@mongodb-js/diagramming": "^2.2.2", "@mongodb-js/eslint-config-compass": "^1.4.12", "@mongodb-js/mocha-config-compass": "^1.7.2", "@mongodb-js/prettier-config-compass": "^1.2.9", @@ -64944,8 +64944,8 @@ "@leafygreen-ui/inline-definition": "^9.0.5", "@leafygreen-ui/leafygreen-provider": "^5.0.2", "@leafygreen-ui/palette": "^5.0.0", - "@leafygreen-ui/select": "^16.2.0", - "@leafygreen-ui/tokens": "^3.2.1", + "@leafygreen-ui/select": "^17.0.2", + "@leafygreen-ui/tokens": "^4.1.0", "@leafygreen-ui/tooltip": "^14.2.1", "@leafygreen-ui/typography": "^22.1.0", "@xyflow/react": "12.5.1", diff --git a/package.json b/package.json index b16aa87359b..8b5193e2e32 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,10 @@ "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.0.1" + }, + "@mongodb-js/diagramming": { + "@leafygreen-ui/select": "^17.0.2", + "@leafygreen-ui/tokens": "^4.1.0" } } } diff --git a/packages/compass-components/package.json b/packages/compass-components/package.json index 2f9141922c7..0a758b35785 100644 --- a/packages/compass-components/package.json +++ b/packages/compass-components/package.json @@ -68,7 +68,7 @@ "@leafygreen-ui/radio-group": "^13.0.10", "@leafygreen-ui/search-input": "^6.1.1", "@leafygreen-ui/segmented-control": "^11.0.11", - "@leafygreen-ui/select": "^17.0.1", + "@leafygreen-ui/select": "^17.0.2", "@leafygreen-ui/skeleton-loader": "^3.0.9", "@leafygreen-ui/split-button": "^6.1.7", "@leafygreen-ui/table": "^15.2.1", @@ -85,7 +85,7 @@ "@lg-chat/leafygreen-chat-provider": "^6.0.0", "@lg-chat/message": "^10.1.1", "@mongodb-js/compass-context-menu": "^0.3.1", - "@mongodb-js/diagramming": "^2.2.1", + "@mongodb-js/diagramming": "^2.2.2", "@react-aria/interactions": "^3.9.1", "@react-aria/utils": "^3.13.1", "@react-aria/visually-hidden": "^3.3.1",