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:
16
www/packages/docs-ui/src/components/Loading/Dots/index.tsx
Normal file
16
www/packages/docs-ui/src/components/Loading/Dots/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import clsx from "clsx"
|
||||
import React from "react"
|
||||
|
||||
export type DotsLoadingProps = {
|
||||
className?: string
|
||||
}
|
||||
|
||||
export const DotsLoading = ({ className }: DotsLoadingProps) => {
|
||||
return (
|
||||
<span className={clsx("text-medium text-medusa-fg-subtle", className)}>
|
||||
<span className="animate-pulsingDots">.</span>
|
||||
<span className="animate-pulsingDots animation-delay-[500ms]">.</span>
|
||||
<span className="animate-pulsingDots animation-delay-[1000ms]">.</span>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user