docs: add AI Assistant (#5249)

* added components

* added ai assistant button

* change styling

* improve AI assistant

* change to a drawer

* added command support into search

* add AiAssistant to all projects

* remove usage of Text component

* added error handling

* use recaptcha

* fix new configurations

* fix background color

* change suggested questions
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-10-05 11:10:44 +03:00
1 parent b6bea74914
commit b3f75d8f21
45 files changed
+1864 -437

No files matched your search

+4
View File
@@ -35,6 +35,7 @@
"devDependencies": {
"@types/react": "^17.0.1",
"@types/react-dom": "^17.0.1",
"@types/react-google-recaptcha": "^2.1.6",
"clsx": "^2.0.0",
"cpy-cli": "^5.0.0",
"eslint-config-docs": "*",
@@ -59,10 +60,13 @@
"@medusajs/icons": "latest",
"@medusajs/ui": "latest",
"@octokit/request": "^8.1.1",
"@react-hook/resize-observer": "^1.2.6",
"@segment/analytics-next": "^1.55.0",
"algoliasearch": "^4.20.0",
"prism-react-renderer": "^2.0.6",
"react-google-recaptcha": "^3.1.0",
"react-instantsearch": "^7.0.3",
"react-markdown": "^8.0.7",
"react-tooltip": "^5.21.3",
"react-transition-group": "^4.4.5",
"react-uuid": "^2.0.0"