@copilotkit/react-ui 0.15.0-alpha.1 → 0.15.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +192 -288
- package/CHANGELOG.md +28 -1
- package/dist/{chunk-ZVAH2Z2W.mjs → chunk-3M4HWSE7.mjs} +3 -3
- package/dist/chunk-3M4HWSE7.mjs.map +1 -0
- package/dist/{chunk-Y2RUG4B3.mjs → chunk-5O2MCJZ2.mjs} +2 -2
- package/dist/chunk-5O2MCJZ2.mjs.map +1 -0
- package/dist/{chunk-X3Z2EVFV.mjs → chunk-CKJXXQ2W.mjs} +5 -5
- package/dist/chunk-CKJXXQ2W.mjs.map +1 -0
- package/dist/{chunk-NXWVWC33.mjs → chunk-DPRH4HX3.mjs} +11 -24
- package/dist/chunk-DPRH4HX3.mjs.map +1 -0
- package/dist/{chunk-UIRFLYXI.mjs → chunk-GWGHQNRI.mjs} +14 -13
- package/dist/chunk-GWGHQNRI.mjs.map +1 -0
- package/dist/chunk-JD7BAH7U.mjs +3 -0
- package/dist/{chunk-X4T6ZUVM.mjs → chunk-KBGIPFXA.mjs} +5 -5
- package/dist/chunk-KBGIPFXA.mjs.map +1 -0
- package/dist/{chunk-DN3OI5WF.mjs → chunk-NNVWLSYK.mjs} +9 -9
- package/dist/chunk-NNVWLSYK.mjs.map +1 -0
- package/dist/{chunk-QFASQEFJ.mjs → chunk-NYLOXKYT.mjs} +2 -2
- package/dist/chunk-NYLOXKYT.mjs.map +1 -0
- package/dist/{chunk-6H3Y2XEI.mjs → chunk-OF66AL5Z.mjs} +1 -1
- package/dist/chunk-OF66AL5Z.mjs.map +1 -0
- package/dist/{chunk-DPUPEOGG.mjs → chunk-UWPFPWAW.mjs} +2 -2
- package/dist/chunk-UWPFPWAW.mjs.map +1 -0
- package/dist/{chunk-GPEJCUWA.mjs → chunk-Z34F3WLK.mjs} +2 -2
- package/dist/chunk-Z34F3WLK.mjs.map +1 -0
- package/dist/components/chat/Button.d.ts +2 -3
- package/dist/components/chat/Button.js +38 -0
- package/dist/components/chat/Button.js.map +1 -0
- package/dist/components/chat/Button.mjs +2 -2
- package/dist/components/chat/Chat.d.ts +15 -14
- package/dist/components/chat/Chat.js +800 -0
- package/dist/components/chat/Chat.js.map +1 -0
- package/dist/components/chat/Chat.mjs +9 -9
- package/dist/components/chat/ChatContext.d.ts +21 -21
- package/dist/components/chat/ChatContext.js +220 -0
- package/dist/components/chat/ChatContext.js.map +1 -0
- package/dist/components/chat/ChatContext.mjs +1 -1
- package/dist/components/chat/CodeBlock.js +221 -0
- package/dist/components/chat/CodeBlock.js.map +1 -0
- package/dist/components/chat/CodeBlock.mjs +1 -1
- package/dist/components/chat/Header.d.ts +2 -3
- package/dist/components/chat/Header.js +31 -0
- package/dist/components/chat/Header.js.map +1 -0
- package/dist/components/chat/Header.mjs +2 -2
- package/dist/components/chat/Icons.d.ts +4 -4
- package/dist/components/chat/Icons.js +233 -0
- package/dist/components/chat/Icons.js.map +1 -0
- package/dist/components/chat/Input.d.ts +2 -3
- package/dist/components/chat/Input.js +111 -0
- package/dist/components/chat/Input.js.map +1 -0
- package/dist/components/chat/Input.mjs +2 -2
- package/dist/components/chat/Markdown.d.ts +1 -3
- package/dist/components/chat/Markdown.js +269 -0
- package/dist/components/chat/Markdown.js.map +1 -0
- package/dist/components/chat/Markdown.mjs +2 -2
- package/dist/components/chat/Messages.d.ts +2 -3
- package/dist/components/chat/Messages.js +331 -0
- package/dist/components/chat/Messages.js.map +1 -0
- package/dist/components/chat/Messages.mjs +4 -4
- package/dist/components/chat/Popup.d.ts +5 -4
- package/dist/components/chat/Popup.js +806 -0
- package/dist/components/chat/Popup.js.map +1 -0
- package/dist/components/chat/Popup.mjs +10 -10
- package/dist/components/chat/Response.d.ts +2 -3
- package/dist/components/chat/Response.js +31 -0
- package/dist/components/chat/Response.js.map +1 -0
- package/dist/components/chat/Response.mjs +2 -2
- package/dist/components/chat/Sidebar.d.ts +7 -6
- package/dist/components/chat/Sidebar.js +817 -0
- package/dist/components/chat/Sidebar.js.map +1 -0
- package/dist/components/chat/Sidebar.mjs +10 -10
- package/dist/components/chat/Textarea.d.ts +4 -4
- package/dist/components/chat/Textarea.js +55 -0
- package/dist/components/chat/Textarea.js.map +1 -0
- package/dist/components/chat/Window.d.ts +1 -1
- package/dist/components/chat/Window.js +116 -0
- package/dist/components/chat/Window.js.map +1 -0
- package/dist/components/chat/index.d.ts +5 -4
- package/dist/components/chat/index.js +824 -0
- package/dist/components/chat/index.js.map +1 -0
- package/dist/components/chat/index.mjs +11 -11
- package/dist/components/chat/props.d.ts +1 -1
- package/dist/components/chat/props.js +4 -0
- package/dist/components/index.d.ts +5 -11
- package/dist/components/index.js +824 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +12 -33
- package/dist/context/index.js +4 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/use-copy-to-clipboard.js +47 -0
- package/dist/hooks/use-copy-to-clipboard.js.map +1 -0
- package/dist/index.css +112 -916
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +5 -11
- package/dist/index.js +824 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +13 -34
- package/dist/lib/utils.js +64 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/utils.mjs +38 -2
- package/dist/lib/utils.mjs.map +1 -1
- package/dist/lib/utils.test.js +10 -0
- package/dist/lib/utils.test.js.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/types.d.ts +1 -1
- package/dist/types/types.js +4 -0
- package/package.json +10 -9
- package/src/components/chat/Button.tsx +1 -2
- package/src/components/chat/Chat.tsx +7 -7
- package/src/components/chat/ChatContext.tsx +10 -10
- package/src/components/chat/CodeBlock.tsx +12 -36
- package/src/components/chat/Header.tsx +1 -2
- package/src/components/chat/Input.tsx +1 -1
- package/src/components/chat/Markdown.tsx +17 -11
- package/src/components/chat/Messages.tsx +2 -2
- package/src/components/chat/Popup.tsx +3 -4
- package/src/components/chat/Response.tsx +1 -2
- package/src/components/chat/Sidebar.tsx +4 -4
- package/src/components/chat/index.tsx +2 -2
- package/src/components/chat/props.ts +1 -1
- package/src/components/index.ts +0 -8
- package/src/css/animations.css +6 -0
- package/src/css/markdown.css +123 -0
- package/src/styles.css +1 -0
- package/src/types/types.ts +1 -1
- package/tsup.config.ts +1 -2
- package/dist/chunk-2KAF7NKC.mjs +0 -484
- package/dist/chunk-2KAF7NKC.mjs.map +0 -1
- package/dist/chunk-5KEDV5VC.mjs +0 -27
- package/dist/chunk-5KEDV5VC.mjs.map +0 -1
- package/dist/chunk-6H3Y2XEI.mjs.map +0 -1
- package/dist/chunk-6LAZQHEB.mjs +0 -129
- package/dist/chunk-6LAZQHEB.mjs.map +0 -1
- package/dist/chunk-C34L4AWW.mjs +0 -39
- package/dist/chunk-C34L4AWW.mjs.map +0 -1
- package/dist/chunk-CF3BK4OX.mjs +0 -53
- package/dist/chunk-CF3BK4OX.mjs.map +0 -1
- package/dist/chunk-CNQX2VY3.mjs +0 -66
- package/dist/chunk-CNQX2VY3.mjs.map +0 -1
- package/dist/chunk-DN3OI5WF.mjs.map +0 -1
- package/dist/chunk-DPUPEOGG.mjs.map +0 -1
- package/dist/chunk-FZRTAML3.mjs +0 -3
- package/dist/chunk-GCOPYGHH.mjs +0 -27
- package/dist/chunk-GCOPYGHH.mjs.map +0 -1
- package/dist/chunk-GPEJCUWA.mjs.map +0 -1
- package/dist/chunk-IJLMKBSZ.mjs +0 -25
- package/dist/chunk-IJLMKBSZ.mjs.map +0 -1
- package/dist/chunk-INCNMGJ7.mjs +0 -72
- package/dist/chunk-INCNMGJ7.mjs.map +0 -1
- package/dist/chunk-M3CZWJI3.mjs +0 -44
- package/dist/chunk-M3CZWJI3.mjs.map +0 -1
- package/dist/chunk-MC6KTH4X.mjs +0 -12
- package/dist/chunk-MC6KTH4X.mjs.map +0 -1
- package/dist/chunk-NXWVWC33.mjs.map +0 -1
- package/dist/chunk-OHWEJUCS.mjs +0 -18
- package/dist/chunk-OHWEJUCS.mjs.map +0 -1
- package/dist/chunk-OOBQC5H6.mjs +0 -34
- package/dist/chunk-OOBQC5H6.mjs.map +0 -1
- package/dist/chunk-Q6YO7LDK.mjs +0 -40
- package/dist/chunk-Q6YO7LDK.mjs.map +0 -1
- package/dist/chunk-QFASQEFJ.mjs.map +0 -1
- package/dist/chunk-RPTRCFSO.mjs +0 -42
- package/dist/chunk-RPTRCFSO.mjs.map +0 -1
- package/dist/chunk-SEH5PQVW.mjs +0 -52
- package/dist/chunk-SEH5PQVW.mjs.map +0 -1
- package/dist/chunk-SHOTWRKC.mjs +0 -18
- package/dist/chunk-SHOTWRKC.mjs.map +0 -1
- package/dist/chunk-SRBUGQTM.mjs +0 -109
- package/dist/chunk-SRBUGQTM.mjs.map +0 -1
- package/dist/chunk-TEYIQHMK.mjs +0 -12
- package/dist/chunk-TEYIQHMK.mjs.map +0 -1
- package/dist/chunk-UIRFLYXI.mjs.map +0 -1
- package/dist/chunk-VGX2W5ZB.mjs +0 -28
- package/dist/chunk-VGX2W5ZB.mjs.map +0 -1
- package/dist/chunk-X3Z2EVFV.mjs.map +0 -1
- package/dist/chunk-X4T6ZUVM.mjs.map +0 -1
- package/dist/chunk-XGUBRIUV.mjs +0 -72
- package/dist/chunk-XGUBRIUV.mjs.map +0 -1
- package/dist/chunk-Y2RUG4B3.mjs.map +0 -1
- package/dist/chunk-ZVAH2Z2W.mjs.map +0 -1
- package/dist/chunk-ZYC5YVDO.mjs +0 -21
- package/dist/chunk-ZYC5YVDO.mjs.map +0 -1
- package/dist/components/chat-components/chat-list.d.ts +0 -8
- package/dist/components/chat-components/chat-list.mjs +0 -13
- package/dist/components/chat-components/chat-message-actions.d.ts +0 -8
- package/dist/components/chat-components/chat-message-actions.mjs +0 -8
- package/dist/components/chat-components/chat-message.d.ts +0 -8
- package/dist/components/chat-components/chat-message.mjs +0 -11
- package/dist/components/chat-components/chat-panel.d.ts +0 -8
- package/dist/components/chat-components/chat-panel.mjs +0 -10
- package/dist/components/chat-components/chat-scroll-anchor.d.ts +0 -6
- package/dist/components/chat-components/chat-scroll-anchor.mjs +0 -5
- package/dist/components/chat-components/clear-history.d.ts +0 -9
- package/dist/components/chat-components/clear-history.mjs +0 -56
- package/dist/components/chat-components/clear-history.mjs.map +0 -1
- package/dist/components/chat-components/copilot-chat.d.ts +0 -12
- package/dist/components/chat-components/copilot-chat.mjs +0 -22
- package/dist/components/chat-components/copilot-chat.mjs.map +0 -1
- package/dist/components/chat-components/default-empty-screen.d.ts +0 -8
- package/dist/components/chat-components/default-empty-screen.mjs +0 -8
- package/dist/components/chat-components/default-empty-screen.mjs.map +0 -1
- package/dist/components/chat-components/external-link.d.ts +0 -6
- package/dist/components/chat-components/external-link.mjs +0 -4
- package/dist/components/chat-components/external-link.mjs.map +0 -1
- package/dist/components/chat-components/markdown.d.ts +0 -6
- package/dist/components/chat-components/markdown.mjs +0 -4
- package/dist/components/chat-components/markdown.mjs.map +0 -1
- package/dist/components/chat-components/prompt-form.d.ts +0 -9
- package/dist/components/chat-components/prompt-form.mjs +0 -9
- package/dist/components/chat-components/prompt-form.mjs.map +0 -1
- package/dist/components/chat-components/theme-toggle.d.ts +0 -3
- package/dist/components/chat-components/theme-toggle.mjs +0 -32
- package/dist/components/chat-components/theme-toggle.mjs.map +0 -1
- package/dist/components/chat-components/toaster.d.ts +0 -1
- package/dist/components/chat-components/toaster.mjs +0 -4
- package/dist/components/chat-components/toaster.mjs.map +0 -1
- package/dist/components/chat-components/ui/alert-dialog.d.ts +0 -20
- package/dist/components/chat-components/ui/alert-dialog.mjs +0 -6
- package/dist/components/chat-components/ui/alert-dialog.mjs.map +0 -1
- package/dist/components/chat-components/ui/badge.d.ts +0 -12
- package/dist/components/chat-components/ui/badge.mjs +0 -29
- package/dist/components/chat-components/ui/badge.mjs.map +0 -1
- package/dist/components/chat-components/ui/button.d.ts +0 -14
- package/dist/components/chat-components/ui/button.mjs +0 -5
- package/dist/components/chat-components/ui/button.mjs.map +0 -1
- package/dist/components/chat-components/ui/codeblock.d.ts +0 -14
- package/dist/components/chat-components/ui/codeblock.mjs +0 -8
- package/dist/components/chat-components/ui/codeblock.mjs.map +0 -1
- package/dist/components/chat-components/ui/dialog.d.ts +0 -18
- package/dist/components/chat-components/ui/dialog.mjs +0 -94
- package/dist/components/chat-components/ui/dialog.mjs.map +0 -1
- package/dist/components/chat-components/ui/dropdown-menu.d.ts +0 -24
- package/dist/components/chat-components/ui/dropdown-menu.mjs +0 -87
- package/dist/components/chat-components/ui/dropdown-menu.mjs.map +0 -1
- package/dist/components/chat-components/ui/icons.d.ts +0 -33
- package/dist/components/chat-components/ui/icons.mjs +0 -5
- package/dist/components/chat-components/ui/icons.mjs.map +0 -1
- package/dist/components/chat-components/ui/input.d.ts +0 -7
- package/dist/components/chat-components/ui/input.mjs +0 -26
- package/dist/components/chat-components/ui/input.mjs.map +0 -1
- package/dist/components/chat-components/ui/label.d.ts +0 -8
- package/dist/components/chat-components/ui/label.mjs +0 -19
- package/dist/components/chat-components/ui/label.mjs.map +0 -1
- package/dist/components/chat-components/ui/select.d.ts +0 -13
- package/dist/components/chat-components/ui/select.mjs +0 -101
- package/dist/components/chat-components/ui/select.mjs.map +0 -1
- package/dist/components/chat-components/ui/separator.d.ts +0 -6
- package/dist/components/chat-components/ui/separator.mjs +0 -5
- package/dist/components/chat-components/ui/separator.mjs.map +0 -1
- package/dist/components/chat-components/ui/sheet.d.ts +0 -19
- package/dist/components/chat-components/ui/sheet.mjs +0 -93
- package/dist/components/chat-components/ui/sheet.mjs.map +0 -1
- package/dist/components/chat-components/ui/switch.d.ts +0 -6
- package/dist/components/chat-components/ui/switch.mjs +0 -33
- package/dist/components/chat-components/ui/switch.mjs.map +0 -1
- package/dist/components/chat-components/ui/textarea.d.ts +0 -7
- package/dist/components/chat-components/ui/textarea.mjs +0 -25
- package/dist/components/chat-components/ui/textarea.mjs.map +0 -1
- package/dist/components/chat-components/ui/tooltip.d.ts +0 -9
- package/dist/components/chat-components/ui/tooltip.mjs +0 -5
- package/dist/components/chat-components/ui/tooltip.mjs.map +0 -1
- package/dist/components/sidebar/copilot-sidebar-ui-provider.d.ts +0 -8
- package/dist/components/sidebar/copilot-sidebar-ui-provider.mjs +0 -25
- package/dist/components/sidebar/copilot-sidebar-ui-provider.mjs.map +0 -1
- package/dist/components/sidebar/copilot-sidebar.d.ts +0 -6
- package/dist/components/sidebar/copilot-sidebar.mjs +0 -23
- package/dist/components/sidebar/copilot-sidebar.mjs.map +0 -1
- package/dist/components/sidebar/sidebar-context.d.ts +0 -9
- package/dist/components/sidebar/sidebar-context.mjs +0 -4
- package/dist/components/sidebar/sidebar-context.mjs.map +0 -1
- package/dist/hooks/use-at-bottom.d.ts +0 -3
- package/dist/hooks/use-at-bottom.mjs +0 -4
- package/dist/hooks/use-at-bottom.mjs.map +0 -1
- package/dist/hooks/use-enter-submit.d.ts +0 -8
- package/dist/hooks/use-enter-submit.mjs +0 -4
- package/dist/hooks/use-enter-submit.mjs.map +0 -1
- package/src/components/chat-components/chat-list.tsx +0 -28
- package/src/components/chat-components/chat-message-actions.tsx +0 -36
- package/src/components/chat-components/chat-message.tsx +0 -70
- package/src/components/chat-components/chat-panel.tsx +0 -64
- package/src/components/chat-components/chat-scroll-anchor.tsx +0 -29
- package/src/components/chat-components/clear-history.tsx +0 -72
- package/src/components/chat-components/copilot-chat.tsx +0 -57
- package/src/components/chat-components/default-empty-screen.tsx +0 -57
- package/src/components/chat-components/external-link.tsx +0 -17
- package/src/components/chat-components/markdown.tsx +0 -8
- package/src/components/chat-components/prompt-form.tsx +0 -85
- package/src/components/chat-components/theme-toggle.tsx +0 -31
- package/src/components/chat-components/toaster.tsx +0 -3
- package/src/components/chat-components/ui/alert-dialog.tsx +0 -126
- package/src/components/chat-components/ui/badge.tsx +0 -33
- package/src/components/chat-components/ui/button.tsx +0 -49
- package/src/components/chat-components/ui/codeblock.tsx +0 -137
- package/src/components/chat-components/ui/dialog.tsx +0 -106
- package/src/components/chat-components/ui/dropdown-menu.tsx +0 -117
- package/src/components/chat-components/ui/icons.tsx +0 -484
- package/src/components/chat-components/ui/input.tsx +0 -24
- package/src/components/chat-components/ui/label.tsx +0 -21
- package/src/components/chat-components/ui/select.tsx +0 -119
- package/src/components/chat-components/ui/separator.tsx +0 -26
- package/src/components/chat-components/ui/sheet.tsx +0 -106
- package/src/components/chat-components/ui/switch.tsx +0 -29
- package/src/components/chat-components/ui/textarea.tsx +0 -23
- package/src/components/chat-components/ui/tooltip.tsx +0 -30
- package/src/components/sidebar/copilot-sidebar-ui-provider.tsx +0 -73
- package/src/components/sidebar/copilot-sidebar.tsx +0 -38
- package/src/components/sidebar/sidebar-context.tsx +0 -11
- package/src/hooks/use-at-bottom.tsx +0 -20
- package/src/hooks/use-enter-submit.tsx +0 -17
- /package/dist/{chunk-FZRTAML3.mjs.map → chunk-JD7BAH7U.mjs.map} +0 -0
- /package/dist/components/{chat-components/chat-list.mjs.map → chat/props.js.map} +0 -0
- /package/dist/{components/chat-components/chat-message-actions.mjs.map → context/index.js.map} +0 -0
- /package/dist/{components/chat-components/chat-message.mjs.map → hooks/index.js.map} +0 -0
- /package/dist/{components/chat-components/chat-panel.mjs.map → types/index.js.map} +0 -0
- /package/dist/{components/chat-components/chat-scroll-anchor.mjs.map → types/types.js.map} +0 -0
|
@@ -1,484 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
|
|
5
|
-
import { cn } from "../../../lib/utils";
|
|
6
|
-
|
|
7
|
-
function IconNextChat({
|
|
8
|
-
className,
|
|
9
|
-
inverted,
|
|
10
|
-
...props
|
|
11
|
-
}: React.ComponentProps<"svg"> & { inverted?: boolean }) {
|
|
12
|
-
const id = React.useId();
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<svg
|
|
16
|
-
viewBox="0 0 17 17"
|
|
17
|
-
fill="none"
|
|
18
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
-
className={cn("h-4 w-4", className)}
|
|
20
|
-
{...props}
|
|
21
|
-
>
|
|
22
|
-
<defs>
|
|
23
|
-
<linearGradient
|
|
24
|
-
id={`gradient-${id}-1`}
|
|
25
|
-
x1="10.6889"
|
|
26
|
-
y1="10.3556"
|
|
27
|
-
x2="13.8445"
|
|
28
|
-
y2="14.2667"
|
|
29
|
-
gradientUnits="userSpaceOnUse"
|
|
30
|
-
>
|
|
31
|
-
<stop stopColor={inverted ? "white" : "black"} />
|
|
32
|
-
<stop offset={1} stopColor={inverted ? "white" : "black"} stopOpacity={0} />
|
|
33
|
-
</linearGradient>
|
|
34
|
-
<linearGradient
|
|
35
|
-
id={`gradient-${id}-2`}
|
|
36
|
-
x1="11.7555"
|
|
37
|
-
y1="4.8"
|
|
38
|
-
x2="11.7376"
|
|
39
|
-
y2="9.50002"
|
|
40
|
-
gradientUnits="userSpaceOnUse"
|
|
41
|
-
>
|
|
42
|
-
<stop stopColor={inverted ? "white" : "black"} />
|
|
43
|
-
<stop offset={1} stopColor={inverted ? "white" : "black"} stopOpacity={0} />
|
|
44
|
-
</linearGradient>
|
|
45
|
-
</defs>
|
|
46
|
-
<path
|
|
47
|
-
d="M1 16L2.58314 11.2506C1.83084 9.74642 1.63835 8.02363 2.04013 6.39052C2.4419 4.75741 3.41171 3.32057 4.776 2.33712C6.1403 1.35367 7.81003 0.887808 9.4864 1.02289C11.1628 1.15798 12.7364 1.8852 13.9256 3.07442C15.1148 4.26363 15.842 5.83723 15.9771 7.5136C16.1122 9.18997 15.6463 10.8597 14.6629 12.224C13.6794 13.5883 12.2426 14.5581 10.6095 14.9599C8.97637 15.3616 7.25358 15.1692 5.74942 14.4169L1 16Z"
|
|
48
|
-
fill={inverted ? "black" : "white"}
|
|
49
|
-
stroke={inverted ? "black" : "white"}
|
|
50
|
-
strokeWidth={2}
|
|
51
|
-
strokeLinecap="round"
|
|
52
|
-
strokeLinejoin="round"
|
|
53
|
-
/>
|
|
54
|
-
<mask
|
|
55
|
-
id="mask0_91_2047"
|
|
56
|
-
style={{ maskType: "alpha" }}
|
|
57
|
-
maskUnits="userSpaceOnUse"
|
|
58
|
-
x={1}
|
|
59
|
-
y={0}
|
|
60
|
-
width={16}
|
|
61
|
-
height={16}
|
|
62
|
-
>
|
|
63
|
-
<circle cx={9} cy={8} r={8} fill={inverted ? "black" : "white"} />
|
|
64
|
-
</mask>
|
|
65
|
-
<g mask="url(#mask0_91_2047)">
|
|
66
|
-
<circle cx={9} cy={8} r={8} fill={inverted ? "black" : "white"} />
|
|
67
|
-
<path
|
|
68
|
-
d="M14.2896 14.0018L7.146 4.8H5.80005V11.1973H6.87681V6.16743L13.4444 14.6529C13.7407 14.4545 14.0231 14.2369 14.2896 14.0018Z"
|
|
69
|
-
fill={`url(#gradient-${id}-1)`}
|
|
70
|
-
/>
|
|
71
|
-
<rect x="11.2222" y="4.8" width="1.06667" height="6.4" fill={`url(#gradient-${id}-2)`} />
|
|
72
|
-
</g>
|
|
73
|
-
</svg>
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
function IconOpenAI({ className, ...props }: React.ComponentProps<"svg">) {
|
|
78
|
-
return (
|
|
79
|
-
<svg
|
|
80
|
-
fill="currentColor"
|
|
81
|
-
viewBox="0 0 24 24"
|
|
82
|
-
role="img"
|
|
83
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
84
|
-
className={cn("h-4 w-4", className)}
|
|
85
|
-
{...props}
|
|
86
|
-
>
|
|
87
|
-
<title>OpenAI icon</title>
|
|
88
|
-
<path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z" />
|
|
89
|
-
</svg>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
function IconVercel({ className, ...props }: React.ComponentProps<"svg">) {
|
|
94
|
-
return (
|
|
95
|
-
<svg
|
|
96
|
-
aria-label="Vercel logomark"
|
|
97
|
-
role="img"
|
|
98
|
-
viewBox="0 0 74 64"
|
|
99
|
-
className={cn("h-4 w-4", className)}
|
|
100
|
-
{...props}
|
|
101
|
-
>
|
|
102
|
-
<path d="M37.5896 0.25L74.5396 64.25H0.639648L37.5896 0.25Z" fill="currentColor"></path>
|
|
103
|
-
</svg>
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function IconGitHub({ className, ...props }: React.ComponentProps<"svg">) {
|
|
108
|
-
return (
|
|
109
|
-
<svg
|
|
110
|
-
role="img"
|
|
111
|
-
viewBox="0 0 24 24"
|
|
112
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
113
|
-
fill="currentColor"
|
|
114
|
-
className={cn("h-4 w-4", className)}
|
|
115
|
-
{...props}
|
|
116
|
-
>
|
|
117
|
-
<title>GitHub</title>
|
|
118
|
-
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
|
|
119
|
-
</svg>
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
function IconSeparator({ className, ...props }: React.ComponentProps<"svg">) {
|
|
124
|
-
return (
|
|
125
|
-
<svg
|
|
126
|
-
fill="none"
|
|
127
|
-
shapeRendering="geometricPrecision"
|
|
128
|
-
stroke="currentColor"
|
|
129
|
-
strokeLinecap="round"
|
|
130
|
-
strokeLinejoin="round"
|
|
131
|
-
strokeWidth="1"
|
|
132
|
-
viewBox="0 0 24 24"
|
|
133
|
-
aria-hidden="true"
|
|
134
|
-
className={cn("h-4 w-4", className)}
|
|
135
|
-
{...props}
|
|
136
|
-
>
|
|
137
|
-
<path d="M16.88 3.549L7.12 20.451"></path>
|
|
138
|
-
</svg>
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
function IconArrowDown({ className, ...props }: React.ComponentProps<"svg">) {
|
|
143
|
-
return (
|
|
144
|
-
<svg
|
|
145
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
146
|
-
viewBox="0 0 256 256"
|
|
147
|
-
fill="currentColor"
|
|
148
|
-
className={cn("h-4 w-4", className)}
|
|
149
|
-
{...props}
|
|
150
|
-
>
|
|
151
|
-
<path d="m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z" />
|
|
152
|
-
</svg>
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
function IconArrowRight({ className, ...props }: React.ComponentProps<"svg">) {
|
|
157
|
-
return (
|
|
158
|
-
<svg
|
|
159
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
160
|
-
viewBox="0 0 256 256"
|
|
161
|
-
fill="currentColor"
|
|
162
|
-
className={cn("h-4 w-4", className)}
|
|
163
|
-
{...props}
|
|
164
|
-
>
|
|
165
|
-
<path d="m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z" />
|
|
166
|
-
</svg>
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
function IconUser({ className, ...props }: React.ComponentProps<"svg">) {
|
|
171
|
-
return (
|
|
172
|
-
<svg
|
|
173
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
174
|
-
viewBox="0 0 256 256"
|
|
175
|
-
fill="currentColor"
|
|
176
|
-
className={cn("h-4 w-4", className)}
|
|
177
|
-
{...props}
|
|
178
|
-
>
|
|
179
|
-
<path d="M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z" />
|
|
180
|
-
</svg>
|
|
181
|
-
);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function IconPlus({ className, ...props }: React.ComponentProps<"svg">) {
|
|
185
|
-
return (
|
|
186
|
-
<svg
|
|
187
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
188
|
-
viewBox="0 0 256 256"
|
|
189
|
-
fill="currentColor"
|
|
190
|
-
className={cn("h-4 w-4", className)}
|
|
191
|
-
{...props}
|
|
192
|
-
>
|
|
193
|
-
<path d="M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8Z" />
|
|
194
|
-
</svg>
|
|
195
|
-
);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
function IconArrowElbow({ className, ...props }: React.ComponentProps<"svg">) {
|
|
199
|
-
return (
|
|
200
|
-
<svg
|
|
201
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
202
|
-
viewBox="0 0 256 256"
|
|
203
|
-
fill="currentColor"
|
|
204
|
-
className={cn("h-4 w-4", className)}
|
|
205
|
-
{...props}
|
|
206
|
-
>
|
|
207
|
-
<path d="M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z" />
|
|
208
|
-
</svg>
|
|
209
|
-
);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
function IconSpinner({ className, ...props }: React.ComponentProps<"svg">) {
|
|
213
|
-
return (
|
|
214
|
-
<svg
|
|
215
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
216
|
-
viewBox="0 0 256 256"
|
|
217
|
-
fill="currentColor"
|
|
218
|
-
className={cn("h-4 w-4 animate-spin", className)}
|
|
219
|
-
{...props}
|
|
220
|
-
>
|
|
221
|
-
<path d="M232 128a104 104 0 0 1-208 0c0-41 23.81-78.36 60.66-95.27a8 8 0 0 1 6.68 14.54C60.15 61.59 40 93.27 40 128a88 88 0 0 0 176 0c0-34.73-20.15-66.41-51.34-80.73a8 8 0 0 1 6.68-14.54C208.19 49.64 232 87 232 128Z" />
|
|
222
|
-
</svg>
|
|
223
|
-
);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
function IconMessage({ className, ...props }: React.ComponentProps<"svg">) {
|
|
227
|
-
return (
|
|
228
|
-
<svg
|
|
229
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
230
|
-
viewBox="0 0 256 256"
|
|
231
|
-
fill="currentColor"
|
|
232
|
-
className={cn("h-4 w-4", className)}
|
|
233
|
-
{...props}
|
|
234
|
-
>
|
|
235
|
-
<path d="M216 48H40a16 16 0 0 0-16 16v160a15.84 15.84 0 0 0 9.25 14.5A16.05 16.05 0 0 0 40 240a15.89 15.89 0 0 0 10.25-3.78.69.69 0 0 0 .13-.11L82.5 208H216a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16ZM40 224Zm176-32H82.5a16 16 0 0 0-10.3 3.75l-.12.11L40 224V64h176Z" />
|
|
236
|
-
</svg>
|
|
237
|
-
);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
function IconTrash({ className, ...props }: React.ComponentProps<"svg">) {
|
|
241
|
-
return (
|
|
242
|
-
<svg
|
|
243
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
244
|
-
viewBox="0 0 256 256"
|
|
245
|
-
fill="currentColor"
|
|
246
|
-
className={cn("h-4 w-4", className)}
|
|
247
|
-
{...props}
|
|
248
|
-
>
|
|
249
|
-
<path d="M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16ZM96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Zm48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0Z" />
|
|
250
|
-
</svg>
|
|
251
|
-
);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
function IconRefresh({ className, ...props }: React.ComponentProps<"svg">) {
|
|
255
|
-
return (
|
|
256
|
-
<svg
|
|
257
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
258
|
-
viewBox="0 0 256 256"
|
|
259
|
-
fill="currentColor"
|
|
260
|
-
className={cn("h-4 w-4", className)}
|
|
261
|
-
{...props}
|
|
262
|
-
>
|
|
263
|
-
<path d="M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z" />
|
|
264
|
-
</svg>
|
|
265
|
-
);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
function IconStop({ className, ...props }: React.ComponentProps<"svg">) {
|
|
269
|
-
return (
|
|
270
|
-
<svg
|
|
271
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
272
|
-
viewBox="0 0 256 256"
|
|
273
|
-
fill="currentColor"
|
|
274
|
-
className={cn("h-4 w-4", className)}
|
|
275
|
-
{...props}
|
|
276
|
-
>
|
|
277
|
-
<path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z" />
|
|
278
|
-
</svg>
|
|
279
|
-
);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
function IconSidebar({ className, ...props }: React.ComponentProps<"svg">) {
|
|
283
|
-
return (
|
|
284
|
-
<svg
|
|
285
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
286
|
-
viewBox="0 0 256 256"
|
|
287
|
-
fill="currentColor"
|
|
288
|
-
className={cn("h-4 w-4", className)}
|
|
289
|
-
{...props}
|
|
290
|
-
>
|
|
291
|
-
<path d="M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16ZM40 56h40v144H40Zm176 144H96V56h120v144Z" />
|
|
292
|
-
</svg>
|
|
293
|
-
);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
function IconMoon({ className, ...props }: React.ComponentProps<"svg">) {
|
|
297
|
-
return (
|
|
298
|
-
<svg
|
|
299
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
300
|
-
viewBox="0 0 256 256"
|
|
301
|
-
fill="currentColor"
|
|
302
|
-
className={cn("h-4 w-4", className)}
|
|
303
|
-
{...props}
|
|
304
|
-
>
|
|
305
|
-
<path d="M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z" />
|
|
306
|
-
</svg>
|
|
307
|
-
);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
function IconSun({ className, ...props }: React.ComponentProps<"svg">) {
|
|
311
|
-
return (
|
|
312
|
-
<svg
|
|
313
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
314
|
-
viewBox="0 0 256 256"
|
|
315
|
-
fill="currentColor"
|
|
316
|
-
className={cn("h-4 w-4", className)}
|
|
317
|
-
{...props}
|
|
318
|
-
>
|
|
319
|
-
<path d="M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z" />
|
|
320
|
-
</svg>
|
|
321
|
-
);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
function IconCopy({ className, ...props }: React.ComponentProps<"svg">) {
|
|
325
|
-
return (
|
|
326
|
-
<svg
|
|
327
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
328
|
-
viewBox="0 0 256 256"
|
|
329
|
-
fill="currentColor"
|
|
330
|
-
className={cn("h-4 w-4", className)}
|
|
331
|
-
{...props}
|
|
332
|
-
>
|
|
333
|
-
<path d="M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z" />
|
|
334
|
-
</svg>
|
|
335
|
-
);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
function IconCheck({ className, ...props }: React.ComponentProps<"svg">) {
|
|
339
|
-
return (
|
|
340
|
-
<svg
|
|
341
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
342
|
-
viewBox="0 0 256 256"
|
|
343
|
-
fill="currentColor"
|
|
344
|
-
className={cn("h-4 w-4", className)}
|
|
345
|
-
{...props}
|
|
346
|
-
>
|
|
347
|
-
<path d="m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z" />
|
|
348
|
-
</svg>
|
|
349
|
-
);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
function IconDownload({ className, ...props }: React.ComponentProps<"svg">) {
|
|
353
|
-
return (
|
|
354
|
-
<svg
|
|
355
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
356
|
-
viewBox="0 0 256 256"
|
|
357
|
-
fill="currentColor"
|
|
358
|
-
className={cn("h-4 w-4", className)}
|
|
359
|
-
{...props}
|
|
360
|
-
>
|
|
361
|
-
<path d="M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z" />
|
|
362
|
-
</svg>
|
|
363
|
-
);
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
function IconClose({ className, ...props }: React.ComponentProps<"svg">) {
|
|
367
|
-
return (
|
|
368
|
-
<svg
|
|
369
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
370
|
-
viewBox="0 0 256 256"
|
|
371
|
-
fill="currentColor"
|
|
372
|
-
className={cn("h-4 w-4", className)}
|
|
373
|
-
{...props}
|
|
374
|
-
>
|
|
375
|
-
<path d="M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128 50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z" />
|
|
376
|
-
</svg>
|
|
377
|
-
);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
function IconEdit({ className, ...props }: React.ComponentProps<"svg">) {
|
|
381
|
-
return (
|
|
382
|
-
<svg
|
|
383
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
384
|
-
fill="none"
|
|
385
|
-
viewBox="0 0 24 24"
|
|
386
|
-
strokeWidth={1.5}
|
|
387
|
-
stroke="currentColor"
|
|
388
|
-
className={cn("h-4 w-4", className)}
|
|
389
|
-
{...props}
|
|
390
|
-
>
|
|
391
|
-
<path
|
|
392
|
-
strokeLinecap="round"
|
|
393
|
-
strokeLinejoin="round"
|
|
394
|
-
d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"
|
|
395
|
-
/>
|
|
396
|
-
</svg>
|
|
397
|
-
);
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
function IconShare({ className, ...props }: React.ComponentProps<"svg">) {
|
|
401
|
-
return (
|
|
402
|
-
<svg
|
|
403
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
404
|
-
fill="currentColor"
|
|
405
|
-
className={cn("h-4 w-4", className)}
|
|
406
|
-
viewBox="0 0 256 256"
|
|
407
|
-
{...props}
|
|
408
|
-
>
|
|
409
|
-
<path d="m237.66 106.35-80-80A8 8 0 0 0 144 32v40.35c-25.94 2.22-54.59 14.92-78.16 34.91-28.38 24.08-46.05 55.11-49.76 87.37a12 12 0 0 0 20.68 9.58c11-11.71 50.14-48.74 107.24-52V192a8 8 0 0 0 13.66 5.65l80-80a8 8 0 0 0 0-11.3ZM160 172.69V144a8 8 0 0 0-8-8c-28.08 0-55.43 7.33-81.29 21.8a196.17 196.17 0 0 0-36.57 26.52c5.8-23.84 20.42-46.51 42.05-64.86C99.41 99.77 127.75 88 152 88a8 8 0 0 0 8-8V51.32L220.69 112Z" />
|
|
410
|
-
</svg>
|
|
411
|
-
);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
function IconUsers({ className, ...props }: React.ComponentProps<"svg">) {
|
|
415
|
-
return (
|
|
416
|
-
<svg
|
|
417
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
418
|
-
fill="currentColor"
|
|
419
|
-
className={cn("h-4 w-4", className)}
|
|
420
|
-
viewBox="0 0 256 256"
|
|
421
|
-
{...props}
|
|
422
|
-
>
|
|
423
|
-
<path d="M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71ZM40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44Zm210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07Z" />
|
|
424
|
-
</svg>
|
|
425
|
-
);
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
function IconExternalLink({ className, ...props }: React.ComponentProps<"svg">) {
|
|
429
|
-
return (
|
|
430
|
-
<svg
|
|
431
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
432
|
-
fill="currentColor"
|
|
433
|
-
className={cn("h-4 w-4", className)}
|
|
434
|
-
viewBox="0 0 256 256"
|
|
435
|
-
{...props}
|
|
436
|
-
>
|
|
437
|
-
<path d="M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8Z" />
|
|
438
|
-
</svg>
|
|
439
|
-
);
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
function IconChevronUpDown({ className, ...props }: React.ComponentProps<"svg">) {
|
|
443
|
-
return (
|
|
444
|
-
<svg
|
|
445
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
446
|
-
fill="currentColor"
|
|
447
|
-
className={cn("h-4 w-4", className)}
|
|
448
|
-
viewBox="0 0 256 256"
|
|
449
|
-
{...props}
|
|
450
|
-
>
|
|
451
|
-
<path d="M181.66 170.34a8 8 0 0 1 0 11.32l-48 48a8 8 0 0 1-11.32 0l-48-48a8 8 0 0 1 11.32-11.32L128 212.69l42.34-42.35a8 8 0 0 1 11.32 0Zm-96-84.68L128 43.31l42.34 42.35a8 8 0 0 0 11.32-11.32l-48-48a8 8 0 0 0-11.32 0l-48 48a8 8 0 0 0 11.32 11.32Z" />
|
|
452
|
-
</svg>
|
|
453
|
-
);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
export {
|
|
457
|
-
IconEdit,
|
|
458
|
-
IconNextChat,
|
|
459
|
-
IconOpenAI,
|
|
460
|
-
IconVercel,
|
|
461
|
-
IconGitHub,
|
|
462
|
-
IconSeparator,
|
|
463
|
-
IconArrowDown,
|
|
464
|
-
IconArrowRight,
|
|
465
|
-
IconUser,
|
|
466
|
-
IconPlus,
|
|
467
|
-
IconArrowElbow,
|
|
468
|
-
IconSpinner,
|
|
469
|
-
IconMessage,
|
|
470
|
-
IconTrash,
|
|
471
|
-
IconRefresh,
|
|
472
|
-
IconStop,
|
|
473
|
-
IconSidebar,
|
|
474
|
-
IconMoon,
|
|
475
|
-
IconSun,
|
|
476
|
-
IconCopy,
|
|
477
|
-
IconCheck,
|
|
478
|
-
IconDownload,
|
|
479
|
-
IconClose,
|
|
480
|
-
IconShare,
|
|
481
|
-
IconUsers,
|
|
482
|
-
IconExternalLink,
|
|
483
|
-
IconChevronUpDown,
|
|
484
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
import { cn } from "../../../lib/utils";
|
|
4
|
-
|
|
5
|
-
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
6
|
-
|
|
7
|
-
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
8
|
-
({ className, type, ...props }, ref) => {
|
|
9
|
-
return (
|
|
10
|
-
<input
|
|
11
|
-
type={type}
|
|
12
|
-
className={cn(
|
|
13
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
14
|
-
className,
|
|
15
|
-
)}
|
|
16
|
-
ref={ref}
|
|
17
|
-
{...props}
|
|
18
|
-
/>
|
|
19
|
-
);
|
|
20
|
-
},
|
|
21
|
-
);
|
|
22
|
-
Input.displayName = "Input";
|
|
23
|
-
|
|
24
|
-
export { Input };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
|
-
import { cva, type VariantProps } from "class-variance-authority";
|
|
6
|
-
|
|
7
|
-
import { cn } from "../../../lib/utils";
|
|
8
|
-
|
|
9
|
-
const labelVariants = cva(
|
|
10
|
-
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
const Label = React.forwardRef<
|
|
14
|
-
React.ElementRef<typeof LabelPrimitive.Root>,
|
|
15
|
-
React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants>
|
|
16
|
-
>(({ className, ...props }, ref) => (
|
|
17
|
-
<LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />
|
|
18
|
-
));
|
|
19
|
-
Label.displayName = LabelPrimitive.Root.displayName;
|
|
20
|
-
|
|
21
|
-
export { Label };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
5
|
-
|
|
6
|
-
import { cn } from "../../../lib/utils";
|
|
7
|
-
import { IconArrowDown, IconCheck, IconChevronUpDown } from "./icons";
|
|
8
|
-
|
|
9
|
-
const Select = SelectPrimitive.Root;
|
|
10
|
-
|
|
11
|
-
const SelectGroup = SelectPrimitive.Group;
|
|
12
|
-
|
|
13
|
-
const SelectValue = SelectPrimitive.Value;
|
|
14
|
-
|
|
15
|
-
const SelectTrigger = React.forwardRef<
|
|
16
|
-
React.ElementRef<typeof SelectPrimitive.Trigger>,
|
|
17
|
-
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>
|
|
18
|
-
>(({ className, children, ...props }, ref) => (
|
|
19
|
-
<SelectPrimitive.Trigger
|
|
20
|
-
ref={ref}
|
|
21
|
-
className={cn(
|
|
22
|
-
"flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
23
|
-
className,
|
|
24
|
-
)}
|
|
25
|
-
{...props}
|
|
26
|
-
>
|
|
27
|
-
{children}
|
|
28
|
-
<SelectPrimitive.Icon asChild>
|
|
29
|
-
<IconChevronUpDown className="opacity-50" />
|
|
30
|
-
</SelectPrimitive.Icon>
|
|
31
|
-
</SelectPrimitive.Trigger>
|
|
32
|
-
));
|
|
33
|
-
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
34
|
-
|
|
35
|
-
const SelectContent = React.forwardRef<
|
|
36
|
-
React.ElementRef<typeof SelectPrimitive.Content>,
|
|
37
|
-
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>
|
|
38
|
-
>(({ className, children, position = "popper", ...props }, ref) => (
|
|
39
|
-
<SelectPrimitive.Portal>
|
|
40
|
-
<SelectPrimitive.Content
|
|
41
|
-
ref={ref}
|
|
42
|
-
className={cn(
|
|
43
|
-
"relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-80",
|
|
44
|
-
position === "popper" && "translate-y-1",
|
|
45
|
-
className,
|
|
46
|
-
)}
|
|
47
|
-
position={position}
|
|
48
|
-
{...props}
|
|
49
|
-
>
|
|
50
|
-
<SelectPrimitive.Viewport
|
|
51
|
-
className={cn(
|
|
52
|
-
"p-1",
|
|
53
|
-
position === "popper" &&
|
|
54
|
-
"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]",
|
|
55
|
-
)}
|
|
56
|
-
>
|
|
57
|
-
{children}
|
|
58
|
-
</SelectPrimitive.Viewport>
|
|
59
|
-
</SelectPrimitive.Content>
|
|
60
|
-
</SelectPrimitive.Portal>
|
|
61
|
-
));
|
|
62
|
-
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
63
|
-
|
|
64
|
-
const SelectLabel = React.forwardRef<
|
|
65
|
-
React.ElementRef<typeof SelectPrimitive.Label>,
|
|
66
|
-
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>
|
|
67
|
-
>(({ className, ...props }, ref) => (
|
|
68
|
-
<SelectPrimitive.Label
|
|
69
|
-
ref={ref}
|
|
70
|
-
className={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)}
|
|
71
|
-
{...props}
|
|
72
|
-
/>
|
|
73
|
-
));
|
|
74
|
-
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
75
|
-
|
|
76
|
-
const SelectItem = React.forwardRef<
|
|
77
|
-
React.ElementRef<typeof SelectPrimitive.Item>,
|
|
78
|
-
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>
|
|
79
|
-
>(({ className, children, ...props }, ref) => (
|
|
80
|
-
<SelectPrimitive.Item
|
|
81
|
-
ref={ref}
|
|
82
|
-
className={cn(
|
|
83
|
-
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
84
|
-
className,
|
|
85
|
-
)}
|
|
86
|
-
{...props}
|
|
87
|
-
>
|
|
88
|
-
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
|
89
|
-
<SelectPrimitive.ItemIndicator>
|
|
90
|
-
<IconCheck className="h-4 w-4" />
|
|
91
|
-
</SelectPrimitive.ItemIndicator>
|
|
92
|
-
</span>
|
|
93
|
-
<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
|
|
94
|
-
</SelectPrimitive.Item>
|
|
95
|
-
));
|
|
96
|
-
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
97
|
-
|
|
98
|
-
const SelectSeparator = React.forwardRef<
|
|
99
|
-
React.ElementRef<typeof SelectPrimitive.Separator>,
|
|
100
|
-
React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>
|
|
101
|
-
>(({ className, ...props }, ref) => (
|
|
102
|
-
<SelectPrimitive.Separator
|
|
103
|
-
ref={ref}
|
|
104
|
-
className={cn("-mx-1 my-1 h-px bg-muted", className)}
|
|
105
|
-
{...props}
|
|
106
|
-
/>
|
|
107
|
-
));
|
|
108
|
-
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
109
|
-
|
|
110
|
-
export {
|
|
111
|
-
Select,
|
|
112
|
-
SelectGroup,
|
|
113
|
-
SelectValue,
|
|
114
|
-
SelectTrigger,
|
|
115
|
-
SelectContent,
|
|
116
|
-
SelectLabel,
|
|
117
|
-
SelectItem,
|
|
118
|
-
SelectSeparator,
|
|
119
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
5
|
-
|
|
6
|
-
import { cn } from "../../../lib/utils";
|
|
7
|
-
|
|
8
|
-
const Separator = React.forwardRef<
|
|
9
|
-
React.ElementRef<typeof SeparatorPrimitive.Root>,
|
|
10
|
-
React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
|
|
11
|
-
>(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => (
|
|
12
|
-
<SeparatorPrimitive.Root
|
|
13
|
-
ref={ref}
|
|
14
|
-
decorative={decorative}
|
|
15
|
-
orientation={orientation}
|
|
16
|
-
className={cn(
|
|
17
|
-
"shrink-0 bg-border",
|
|
18
|
-
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
19
|
-
className,
|
|
20
|
-
)}
|
|
21
|
-
{...props}
|
|
22
|
-
/>
|
|
23
|
-
));
|
|
24
|
-
Separator.displayName = SeparatorPrimitive.Root.displayName;
|
|
25
|
-
|
|
26
|
-
export { Separator };
|