diff --git a/chat-ui/package.json b/chat-ui/package.json index f17923d8d..5e39a9608 100644 --- a/chat-ui/package.json +++ b/chat-ui/package.json @@ -66,7 +66,6 @@ "@lg-chat/avatar", "@lg-chat/chat-window", "@lg-chat/input-bar", - "@lg-chat/leafygreen-chat-provider", "@lg-chat/message", "@lg-chat/message-feed", "@lg-chat/message-rating" @@ -90,12 +89,11 @@ "@leafygreen-ui/text-input": "^12.1.18", "@leafygreen-ui/toggle": "^10.0.15", "@leafygreen-ui/typography": "^16.5.4", - "@lg-chat/avatar": "^2.0.3", + "@lg-chat/avatar": "^2.0.6", "@lg-chat/chat-window": "^1.0.4", - "@lg-chat/input-bar": "^3.0.1", - "@lg-chat/leafygreen-chat-provider": "^1.0.2", - "@lg-chat/message": "^2.0.4", - "@lg-chat/message-feed": "^2.0.4", + "@lg-chat/input-bar": "^3.1.3", + "@lg-chat/message": "^2.0.8", + "@lg-chat/message-feed": "^2.0.7", "@lg-chat/message-rating": "^1.1.3", "@microsoft/fetch-event-source": "^2.0.1", "buffer": "^6.0.3", diff --git a/chat-ui/src/Chatbot.tsx b/chat-ui/src/Chatbot.tsx index e7db4f568..aaf428d9c 100644 --- a/chat-ui/src/Chatbot.tsx +++ b/chat-ui/src/Chatbot.tsx @@ -264,7 +264,14 @@ export function Chatbot(props: ChatbotProps) { 0) ? undefined : "Experimental"} + badgeText={ + initialInputFocused || inputText.length > 0 + ? undefined + : "Experimental" + } + dropdownProps={{ + usePortal: false, + }} dropdownFooterSlot={
@@ -591,7 +598,10 @@ function LegalDisclosure() { ); const AcceptableUsePolicy = () => ( - + Acceptable Use Policy ); diff --git a/chat-ui/src/InputBar.tsx b/chat-ui/src/InputBar.tsx index c7a4056de..89e3ec068 100644 --- a/chat-ui/src/InputBar.tsx +++ b/chat-ui/src/InputBar.tsx @@ -1,4 +1,4 @@ -import { css } from "@emotion/css"; +import { css, cx } from "@emotion/css"; import { palette } from "@leafygreen-ui/palette"; import { Body } from "@leafygreen-ui/typography"; import { @@ -18,10 +18,16 @@ const styles = { } } `, + suggested_prompts_menu: css` + [data-testid="lg-search-input-popover"] { + z-index: 1; + } + `, character_count: ({ darkMode, isError, }: StylesProps & { isError: boolean }) => css` + white-space: nowrap; color: ${isError ? palette.red.base : darkMode @@ -39,9 +45,10 @@ export const InputBar = forwardRef( return ( diff --git a/package-lock.json b/package-lock.json index 2f4dfa951..7eff99b63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -696,7 +696,6 @@ "@lg-chat/avatar", "@lg-chat/chat-window", "@lg-chat/input-bar", - "@lg-chat/leafygreen-chat-provider", "@lg-chat/message", "@lg-chat/message-feed", "@lg-chat/message-rating" @@ -721,12 +720,11 @@ "@leafygreen-ui/text-input": "^12.1.18", "@leafygreen-ui/toggle": "^10.0.15", "@leafygreen-ui/typography": "^16.5.4", - "@lg-chat/avatar": "^2.0.3", + "@lg-chat/avatar": "^2.0.6", "@lg-chat/chat-window": "^1.0.4", - "@lg-chat/input-bar": "^3.0.1", - "@lg-chat/leafygreen-chat-provider": "^1.0.2", - "@lg-chat/message": "^2.0.4", - "@lg-chat/message-feed": "^2.0.4", + "@lg-chat/input-bar": "^3.1.3", + "@lg-chat/message": "^2.0.8", + "@lg-chat/message-feed": "^2.0.7", "@lg-chat/message-rating": "^1.1.3", "@microsoft/fetch-event-source": "^2.0.1", "buffer": "^6.0.3", @@ -7139,12 +7137,26 @@ "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==" }, "node_modules/@leafygreen-ui/a11y": { - "version": "1.4.9", - "license": "Apache-2.0", + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/a11y/-/a11y-1.4.10.tgz", + "integrity": "sha512-Mp3ttmutq1yDr27DXGQaqsBe4AuGyIBuBH9yQWIluIF/raTF7GLFceqa0Fa9k228FfoBis+ApASHvmS+57Gctw==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0" + "@leafygreen-ui/lib": "^12.0.0" + } + }, + "node_modules/@leafygreen-ui/a11y/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" } }, "node_modules/@leafygreen-ui/badge": { @@ -7274,68 +7286,110 @@ } }, "node_modules/@leafygreen-ui/icon": { - "version": "11.23.0", - "license": "Apache-2.0", + "version": "11.24.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/icon/-/icon-11.24.0.tgz", + "integrity": "sha512-3CKvS1D2JgnqHeFO07Xem2cBBanlsW7cjkUYicwu1Ysyjs5iB9HE0EbONNqAX5Y3GTv9oAHalpGWE7uu/ymfkg==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "lodash": "^4.17.21" } }, "node_modules/@leafygreen-ui/icon-button": { - "version": "15.0.17", - "license": "Apache-2.0", + "version": "15.0.18", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/icon-button/-/icon-button-15.0.18.tgz", + "integrity": "sha512-RaJ8MB0EARkFpn8A4GSf2NItjoUUo8UJirXM7gqSXcrulFX0BAWw6BR5Z4Eq/0gS1lpSjj3rZRavtb+gNUDxTw==", "dependencies": { - "@leafygreen-ui/a11y": "^1.4.8", + "@leafygreen-ui/a11y": "^1.4.10", "@leafygreen-ui/box": "^3.1.8", "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/tokens": "^2.1.4" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.1.7" + "@leafygreen-ui/leafygreen-provider": "^3.1.9" + } + }, + "node_modules/@leafygreen-ui/icon-button/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" } }, "node_modules/@leafygreen-ui/input-option": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/input-option/-/input-option-1.0.10.tgz", - "integrity": "sha512-9PX7dBviJX1FrmLCjLm24l5EFwFTGuDNS+xFuCcv6PB6+gIUhczhMgUM7jcDhZAva0Qa1GcVYX+6YhNo3dDKhA==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/input-option/-/input-option-1.0.11.tgz", + "integrity": "sha512-HvlLD6WeYqip3yIq0oYWfyqXx1UMK5ZlWidKm7WIMswe8Xi6gKz8wYZgQfrPfG5qlGqboHRAZQh2nbOnzuc8CQ==", "dependencies": { - "@leafygreen-ui/a11y": "^1.4.8", + "@leafygreen-ui/a11y": "^1.4.10", "@leafygreen-ui/emotion": "^4.0.7", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", "@leafygreen-ui/tokens": "^2.1.4", - "@leafygreen-ui/typography": "^17.0.0" + "@leafygreen-ui/typography": "^17.0.1" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.1.7" + "@leafygreen-ui/leafygreen-provider": "^3.1.9" + } + }, + "node_modules/@leafygreen-ui/input-option/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" } }, "node_modules/@leafygreen-ui/input-option/node_modules/@leafygreen-ui/typography": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.0.tgz", - "integrity": "sha512-ECGA/IgueeRvh5en9iTdc0xmzS8sklktNHp0YBdN+Q/XKzRkY6W2ewAESfmyQibb9G8AS2rXrEJ1pOF+rfC6EA==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.1.tgz", + "integrity": "sha512-hsj92VPWODCSzajFDfM5kBTD5wXAQVt7ERnUX8DfdUal8h3XsWJYvluA3QdehvDv2xS2pQeBmcCS1vWFlB+rTA==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", "@leafygreen-ui/tokens": "^2.1.4" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.1.7" + "@leafygreen-ui/leafygreen-provider": "^3.1.9" } }, "node_modules/@leafygreen-ui/leafygreen-provider": { - "version": "3.1.8", - "license": "Apache-2.0", + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/leafygreen-provider/-/leafygreen-provider-3.1.9.tgz", + "integrity": "sha512-DJeHdrBf6jGozcmAlbMunDYyJ7cgxh/UNP5Eyx3AmxT4sNilJyJiTRoTkMNTTzgrRvQmfuqmA8S2/ExelRiX7w==", "dependencies": { "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0" + "@leafygreen-ui/lib": "^12.0.0" + } + }, + "node_modules/@leafygreen-ui/leafygreen-provider/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" } }, "node_modules/@leafygreen-ui/lib": { @@ -7514,31 +7568,59 @@ "license": "Apache-2.0" }, "node_modules/@leafygreen-ui/popover": { - "version": "11.0.17", - "license": "Apache-2.0", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/popover/-/popover-11.1.0.tgz", + "integrity": "sha512-4V7Is/YlE14+tTVYw397v5TSPmj4ZwevyLZ/FyGZ3Z89xUMNq+n1VIUdPoyx4fWgY+QF6Le77AWISPYIjlr7tA==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0", - "@leafygreen-ui/portal": "^5.0.1", + "@leafygreen-ui/lib": "^12.0.0", + "@leafygreen-ui/portal": "^5.0.2", "@leafygreen-ui/tokens": "^2.2.0", "react-transition-group": "^4.4.5" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.1.8" + "@leafygreen-ui/leafygreen-provider": "^3.1.9" + } + }, + "node_modules/@leafygreen-ui/popover/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" } }, "node_modules/@leafygreen-ui/portal": { - "version": "5.0.1", - "license": "Apache-2.0", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/portal/-/portal-5.0.2.tgz", + "integrity": "sha512-vLLB8wGmEtQHhIJ753KbO3zJDBP3idd9h965CPYWdRHHWP0A2QwIRhPr148SbH0/VxFVO6zXVBcTeqPGHhrXZw==", "dependencies": { "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0" + "@leafygreen-ui/lib": "^12.0.0" }, "peerDependencies": { "react-dom": "^17.0.0 || ^18.0.0" } }, + "node_modules/@leafygreen-ui/portal/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" + } + }, "node_modules/@leafygreen-ui/ripple": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/@leafygreen-ui/ripple/-/ripple-1.1.12.tgz", @@ -7548,43 +7630,56 @@ } }, "node_modules/@leafygreen-ui/search-input": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/search-input/-/search-input-2.0.16.tgz", - "integrity": "sha512-qTqJwrZ7C56Ev9TYTfecBeXsmctVCBb+LS3QRaBdjxYqxrZ2N/LO91hjysO1lV5Ve9EJ0/JwnzfKXj5tT1Ct9A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/search-input/-/search-input-2.1.0.tgz", + "integrity": "sha512-umB/zglFeqwyDsK8JRNsZF4xSUT7XBhk3W3hxKrJ17ON0bUhXVFTbnOn3iWk7fV/I7nbDFzyQzX2cnwsduZs0g==", "dependencies": { - "@leafygreen-ui/a11y": "^1.4.9", + "@leafygreen-ui/a11y": "^1.4.10", "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/icon": "^11.23.0", - "@leafygreen-ui/icon-button": "^15.0.17", - "@leafygreen-ui/input-option": "^1.0.10", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/icon": "^11.24.0", + "@leafygreen-ui/icon-button": "^15.0.18", + "@leafygreen-ui/input-option": "^1.0.11", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", - "@leafygreen-ui/popover": "^11.0.17", + "@leafygreen-ui/popover": "^11.1.0", "@leafygreen-ui/tokens": "^2.2.0", - "@leafygreen-ui/typography": "^17.0.0", + "@leafygreen-ui/typography": "^17.0.1", "lodash": "^4.17.21", "polished": "^4.2.2" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.1.8" + "@leafygreen-ui/leafygreen-provider": "^3.1.9" + } + }, + "node_modules/@leafygreen-ui/search-input/node_modules/@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "dependencies": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0" } }, "node_modules/@leafygreen-ui/search-input/node_modules/@leafygreen-ui/typography": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.0.tgz", - "integrity": "sha512-ECGA/IgueeRvh5en9iTdc0xmzS8sklktNHp0YBdN+Q/XKzRkY6W2ewAESfmyQibb9G8AS2rXrEJ1pOF+rfC6EA==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.1.tgz", + "integrity": "sha512-hsj92VPWODCSzajFDfM5kBTD5wXAQVt7ERnUX8DfdUal8h3XsWJYvluA3QdehvDv2xS2pQeBmcCS1vWFlB+rTA==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", "@leafygreen-ui/tokens": "^2.1.4" }, "peerDependencies": { - "@leafygreen-ui/leafygreen-provider": "^3.1.7" + "@leafygreen-ui/leafygreen-provider": "^3.1.9" } }, "node_modules/@leafygreen-ui/select": { @@ -8707,9 +8802,9 @@ } }, "node_modules/@lg-chat/avatar": { - "version": "2.0.3", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/avatar/-/@lg-chat/avatar-2.0.3.tgz", - "integrity": "sha512-UeuJO0e0zUF+IXLbuV0MsPGNtUX4Z7A6dEsbIAhHA0vbNp++jW/ejuhMqRVMNgpVnLONSYMD5Q1g/bpoIN7tIw==", + "version": "2.0.6", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/avatar/-/@lg-chat/avatar-2.0.6.tgz", + "integrity": "sha512-m07MjM09GrRCWZjVNL4z4xDFu+vO9AXFJXd/wND7GP9GLTKWVyhyz+FPYuHrovfN52lEnir2N+eb082DahNIWw==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", @@ -8742,9 +8837,9 @@ } }, "node_modules/@lg-chat/input-bar": { - "version": "3.0.1", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/input-bar/-/@lg-chat/input-bar-3.0.1.tgz", - "integrity": "sha512-OKF66YL9u/QCIspJapdsWyXJ01S7wC9CrEQ43kwPTlcKZABHYBRK+9XjNdArYtEgTJNM43mt5UL4cgxcYDUGJw==", + "version": "3.1.3", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/input-bar/-/@lg-chat/input-bar-3.1.3.tgz", + "integrity": "sha512-TqEevXwe0thRFtKDkQjyWfccE/OjpTCVs6GUNzkTX2Q6p+Rdubepv9mT/r2uWDNApqX5yu7y9t1pe8IRdrOPoA==", "dependencies": { "@leafygreen-ui/badge": "^8.0.12", "@leafygreen-ui/button": "^21.0.5", @@ -8755,7 +8850,8 @@ "@leafygreen-ui/lib": "^11.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", - "@leafygreen-ui/search-input": "^2.0.16", + "@leafygreen-ui/popover": "^11.0.18", + "@leafygreen-ui/search-input": "^2.1.0", "@leafygreen-ui/tokens": "^2.1.4", "@leafygreen-ui/typography": "^17.0.0", "lodash": "^4.17.21", @@ -8837,9 +8933,9 @@ } }, "node_modules/@lg-chat/message": { - "version": "2.0.5", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message/-/@lg-chat/message-2.0.5.tgz", - "integrity": "sha512-Om2vjAdCwytb4rbuNzbEuGzjvW8uXhPgYL0Y4fTvOXeF3GWYRStGxsAMIl2wAg/fmj3zaP0ew2w5iq6/qboYzQ==", + "version": "2.0.8", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message/-/@lg-chat/message-2.0.8.tgz", + "integrity": "sha512-Hm8mcZKRvH7DsyDP16hNynopw4mTDzghUiJDZLjxe9R6+VCKNZ5Nhg4lJKfDWC0dluuRO41IVa/g9vvwx1BSeQ==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/lib": "^11.0.0", @@ -8855,16 +8951,16 @@ } }, "node_modules/@lg-chat/message-feed": { - "version": "2.0.4", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message-feed/-/@lg-chat/message-feed-2.0.4.tgz", - "integrity": "sha512-loF1N9YWjTg+h6S9Yh0vNrqP3UQ92IjsjRPls021t3fEFy2AIGRdlX1abZP8fNPHjJqN639arz9yF2m/0cvSSg==", + "version": "2.0.7", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message-feed/-/@lg-chat/message-feed-2.0.7.tgz", + "integrity": "sha512-z/cFsE8Rdgd83wtoxkMY3/uIzE+cTMt3PxQvAQ+aIGL3pMrT+sx0J0IInHRcBR7HgktKwmvpamNA91gWi9B8Yw==", "dependencies": { "@leafygreen-ui/emotion": "^4.0.4", "@leafygreen-ui/lib": "^10.1.0", "@leafygreen-ui/palette": "^4.0.4", "@leafygreen-ui/tokens": "^2.1.1", - "@lg-chat/avatar": "^2.0.3", - "@lg-chat/message": "^2.0.4", + "@lg-chat/avatar": "^2.0.6", + "@lg-chat/message": "^2.0.8", "@lg-chat/message-rating": "^1.1.3" }, "peerDependencies": { @@ -40312,11 +40408,25 @@ "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==" }, "@leafygreen-ui/a11y": { - "version": "1.4.9", + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/a11y/-/a11y-1.4.10.tgz", + "integrity": "sha512-Mp3ttmutq1yDr27DXGQaqsBe4AuGyIBuBH9yQWIluIF/raTF7GLFceqa0Fa9k228FfoBis+ApASHvmS+57Gctw==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0" + "@leafygreen-ui/lib": "^12.0.0" + }, + "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + } } }, "@leafygreen-ui/badge": { @@ -40426,46 +40536,72 @@ } }, "@leafygreen-ui/icon": { - "version": "11.23.0", + "version": "11.24.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/icon/-/icon-11.24.0.tgz", + "integrity": "sha512-3CKvS1D2JgnqHeFO07Xem2cBBanlsW7cjkUYicwu1Ysyjs5iB9HE0EbONNqAX5Y3GTv9oAHalpGWE7uu/ymfkg==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "lodash": "^4.17.21" } }, "@leafygreen-ui/icon-button": { - "version": "15.0.17", + "version": "15.0.18", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/icon-button/-/icon-button-15.0.18.tgz", + "integrity": "sha512-RaJ8MB0EARkFpn8A4GSf2NItjoUUo8UJirXM7gqSXcrulFX0BAWw6BR5Z4Eq/0gS1lpSjj3rZRavtb+gNUDxTw==", "requires": { - "@leafygreen-ui/a11y": "^1.4.8", + "@leafygreen-ui/a11y": "^1.4.10", "@leafygreen-ui/box": "^3.1.8", "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/tokens": "^2.1.4" + }, + "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + } } }, "@leafygreen-ui/input-option": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/input-option/-/input-option-1.0.10.tgz", - "integrity": "sha512-9PX7dBviJX1FrmLCjLm24l5EFwFTGuDNS+xFuCcv6PB6+gIUhczhMgUM7jcDhZAva0Qa1GcVYX+6YhNo3dDKhA==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/input-option/-/input-option-1.0.11.tgz", + "integrity": "sha512-HvlLD6WeYqip3yIq0oYWfyqXx1UMK5ZlWidKm7WIMswe8Xi6gKz8wYZgQfrPfG5qlGqboHRAZQh2nbOnzuc8CQ==", "requires": { - "@leafygreen-ui/a11y": "^1.4.8", + "@leafygreen-ui/a11y": "^1.4.10", "@leafygreen-ui/emotion": "^4.0.7", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", "@leafygreen-ui/tokens": "^2.1.4", - "@leafygreen-ui/typography": "^17.0.0" + "@leafygreen-ui/typography": "^17.0.1" }, "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + }, "@leafygreen-ui/typography": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.0.tgz", - "integrity": "sha512-ECGA/IgueeRvh5en9iTdc0xmzS8sklktNHp0YBdN+Q/XKzRkY6W2ewAESfmyQibb9G8AS2rXrEJ1pOF+rfC6EA==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.1.tgz", + "integrity": "sha512-hsj92VPWODCSzajFDfM5kBTD5wXAQVt7ERnUX8DfdUal8h3XsWJYvluA3QdehvDv2xS2pQeBmcCS1vWFlB+rTA==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", "@leafygreen-ui/tokens": "^2.1.4" @@ -40474,10 +40610,24 @@ } }, "@leafygreen-ui/leafygreen-provider": { - "version": "3.1.8", + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/leafygreen-provider/-/leafygreen-provider-3.1.9.tgz", + "integrity": "sha512-DJeHdrBf6jGozcmAlbMunDYyJ7cgxh/UNP5Eyx3AmxT4sNilJyJiTRoTkMNTTzgrRvQmfuqmA8S2/ExelRiX7w==", "requires": { "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0" + "@leafygreen-ui/lib": "^12.0.0" + }, + "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + } } }, "@leafygreen-ui/lib": { @@ -40630,21 +40780,49 @@ "version": "1.3.6" }, "@leafygreen-ui/popover": { - "version": "11.0.17", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/popover/-/popover-11.1.0.tgz", + "integrity": "sha512-4V7Is/YlE14+tTVYw397v5TSPmj4ZwevyLZ/FyGZ3Z89xUMNq+n1VIUdPoyx4fWgY+QF6Le77AWISPYIjlr7tA==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0", - "@leafygreen-ui/portal": "^5.0.1", + "@leafygreen-ui/lib": "^12.0.0", + "@leafygreen-ui/portal": "^5.0.2", "@leafygreen-ui/tokens": "^2.2.0", "react-transition-group": "^4.4.5" + }, + "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + } } }, "@leafygreen-ui/portal": { - "version": "5.0.1", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/portal/-/portal-5.0.2.tgz", + "integrity": "sha512-vLLB8wGmEtQHhIJ753KbO3zJDBP3idd9h965CPYWdRHHWP0A2QwIRhPr148SbH0/VxFVO6zXVBcTeqPGHhrXZw==", "requires": { "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/lib": "^11.0.0" + "@leafygreen-ui/lib": "^12.0.0" + }, + "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + } } }, "@leafygreen-ui/ripple": { @@ -40656,34 +40834,44 @@ } }, "@leafygreen-ui/search-input": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/search-input/-/search-input-2.0.16.tgz", - "integrity": "sha512-qTqJwrZ7C56Ev9TYTfecBeXsmctVCBb+LS3QRaBdjxYqxrZ2N/LO91hjysO1lV5Ve9EJ0/JwnzfKXj5tT1Ct9A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/search-input/-/search-input-2.1.0.tgz", + "integrity": "sha512-umB/zglFeqwyDsK8JRNsZF4xSUT7XBhk3W3hxKrJ17ON0bUhXVFTbnOn3iWk7fV/I7nbDFzyQzX2cnwsduZs0g==", "requires": { - "@leafygreen-ui/a11y": "^1.4.9", + "@leafygreen-ui/a11y": "^1.4.10", "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/hooks": "^8.0.0", - "@leafygreen-ui/icon": "^11.23.0", - "@leafygreen-ui/icon-button": "^15.0.17", - "@leafygreen-ui/input-option": "^1.0.10", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/icon": "^11.24.0", + "@leafygreen-ui/icon-button": "^15.0.18", + "@leafygreen-ui/input-option": "^1.0.11", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", - "@leafygreen-ui/popover": "^11.0.17", + "@leafygreen-ui/popover": "^11.1.0", "@leafygreen-ui/tokens": "^2.2.0", - "@leafygreen-ui/typography": "^17.0.0", + "@leafygreen-ui/typography": "^17.0.1", "lodash": "^4.17.21", "polished": "^4.2.2" }, "dependencies": { + "@leafygreen-ui/lib": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/lib/-/lib-12.0.0.tgz", + "integrity": "sha512-nhaxi4oBesnizxO0YK7XwcmiLL9U5QuN7lkZdWGDdmoJgNNL+aRju4W5vmZc7vcazSHfr3gAL+NFAGaAuopyRA==", + "requires": { + "@storybook/csf": "^0.1.0", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + }, "@leafygreen-ui/typography": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.0.tgz", - "integrity": "sha512-ECGA/IgueeRvh5en9iTdc0xmzS8sklktNHp0YBdN+Q/XKzRkY6W2ewAESfmyQibb9G8AS2rXrEJ1pOF+rfC6EA==", + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/typography/-/typography-17.0.1.tgz", + "integrity": "sha512-hsj92VPWODCSzajFDfM5kBTD5wXAQVt7ERnUX8DfdUal8h3XsWJYvluA3QdehvDv2xS2pQeBmcCS1vWFlB+rTA==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", - "@leafygreen-ui/lib": "^11.0.0", + "@leafygreen-ui/lib": "^12.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", "@leafygreen-ui/tokens": "^2.1.4" @@ -41612,9 +41800,9 @@ } }, "@lg-chat/avatar": { - "version": "2.0.3", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/avatar/-/@lg-chat/avatar-2.0.3.tgz", - "integrity": "sha512-UeuJO0e0zUF+IXLbuV0MsPGNtUX4Z7A6dEsbIAhHA0vbNp++jW/ejuhMqRVMNgpVnLONSYMD5Q1g/bpoIN7tIw==", + "version": "2.0.6", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/avatar/-/@lg-chat/avatar-2.0.6.tgz", + "integrity": "sha512-m07MjM09GrRCWZjVNL4z4xDFu+vO9AXFJXd/wND7GP9GLTKWVyhyz+FPYuHrovfN52lEnir2N+eb082DahNIWw==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/icon": "^11.22.2", @@ -41640,9 +41828,9 @@ } }, "@lg-chat/input-bar": { - "version": "3.0.1", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/input-bar/-/@lg-chat/input-bar-3.0.1.tgz", - "integrity": "sha512-OKF66YL9u/QCIspJapdsWyXJ01S7wC9CrEQ43kwPTlcKZABHYBRK+9XjNdArYtEgTJNM43mt5UL4cgxcYDUGJw==", + "version": "3.1.3", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/input-bar/-/@lg-chat/input-bar-3.1.3.tgz", + "integrity": "sha512-TqEevXwe0thRFtKDkQjyWfccE/OjpTCVs6GUNzkTX2Q6p+Rdubepv9mT/r2uWDNApqX5yu7y9t1pe8IRdrOPoA==", "requires": { "@leafygreen-ui/badge": "^8.0.12", "@leafygreen-ui/button": "^21.0.5", @@ -41653,7 +41841,8 @@ "@leafygreen-ui/lib": "^11.0.0", "@leafygreen-ui/palette": "^4.0.7", "@leafygreen-ui/polymorphic": "^1.3.6", - "@leafygreen-ui/search-input": "^2.0.16", + "@leafygreen-ui/popover": "^11.0.18", + "@leafygreen-ui/search-input": "^2.1.0", "@leafygreen-ui/tokens": "^2.1.4", "@leafygreen-ui/typography": "^17.0.0", "lodash": "^4.17.21", @@ -41720,9 +41909,9 @@ } }, "@lg-chat/message": { - "version": "2.0.5", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message/-/@lg-chat/message-2.0.5.tgz", - "integrity": "sha512-Om2vjAdCwytb4rbuNzbEuGzjvW8uXhPgYL0Y4fTvOXeF3GWYRStGxsAMIl2wAg/fmj3zaP0ew2w5iq6/qboYzQ==", + "version": "2.0.8", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message/-/@lg-chat/message-2.0.8.tgz", + "integrity": "sha512-Hm8mcZKRvH7DsyDP16hNynopw4mTDzghUiJDZLjxe9R6+VCKNZ5Nhg4lJKfDWC0dluuRO41IVa/g9vvwx1BSeQ==", "requires": { "@leafygreen-ui/emotion": "^4.0.7", "@leafygreen-ui/lib": "^11.0.0", @@ -41734,16 +41923,16 @@ } }, "@lg-chat/message-feed": { - "version": "2.0.4", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message-feed/-/@lg-chat/message-feed-2.0.4.tgz", - "integrity": "sha512-loF1N9YWjTg+h6S9Yh0vNrqP3UQ92IjsjRPls021t3fEFy2AIGRdlX1abZP8fNPHjJqN639arz9yF2m/0cvSSg==", + "version": "2.0.7", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/leafygreen-ui/@lg-chat/message-feed/-/@lg-chat/message-feed-2.0.7.tgz", + "integrity": "sha512-z/cFsE8Rdgd83wtoxkMY3/uIzE+cTMt3PxQvAQ+aIGL3pMrT+sx0J0IInHRcBR7HgktKwmvpamNA91gWi9B8Yw==", "requires": { "@leafygreen-ui/emotion": "^4.0.4", "@leafygreen-ui/lib": "^10.1.0", "@leafygreen-ui/palette": "^4.0.4", "@leafygreen-ui/tokens": "^2.1.1", - "@lg-chat/avatar": "^2.0.3", - "@lg-chat/message": "^2.0.4", + "@lg-chat/avatar": "^2.0.6", + "@lg-chat/message": "^2.0.8", "@lg-chat/message-rating": "^1.1.3" }, "dependencies": { @@ -56208,12 +56397,11 @@ "@leafygreen-ui/text-input": "^12.1.18", "@leafygreen-ui/toggle": "^10.0.15", "@leafygreen-ui/typography": "^16.5.4", - "@lg-chat/avatar": "^2.0.3", + "@lg-chat/avatar": "^2.0.6", "@lg-chat/chat-window": "^1.0.4", - "@lg-chat/input-bar": "^3.0.1", - "@lg-chat/leafygreen-chat-provider": "^1.0.2", - "@lg-chat/message": "^2.0.4", - "@lg-chat/message-feed": "^2.0.4", + "@lg-chat/input-bar": "^3.1.3", + "@lg-chat/message": "^2.0.8", + "@lg-chat/message-feed": "^2.0.7", "@lg-chat/message-rating": "^1.1.3", "@microsoft/fetch-event-source": "^2.0.1", "@rollup/plugin-inject": "^5.0.3",