langwatch 0.2.0 → 0.3.0-prerelease.1
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/.editorconfig +16 -0
- package/LICENSE +7 -0
- package/README.md +268 -1
- package/copy-types.sh +19 -8
- package/examples/langchain/.env.example +2 -0
- package/examples/langchain/README.md +42 -0
- package/examples/langchain/package-lock.json +2930 -0
- package/examples/langchain/package.json +27 -0
- package/examples/langchain/src/cli-markdown.d.ts +137 -0
- package/examples/langchain/src/index.ts +109 -0
- package/examples/langchain/tsconfig.json +25 -0
- package/examples/langgraph/.env.example +2 -0
- package/examples/langgraph/README.md +42 -0
- package/examples/langgraph/package-lock.json +3031 -0
- package/examples/langgraph/package.json +28 -0
- package/examples/langgraph/src/cli-markdown.d.ts +137 -0
- package/examples/langgraph/src/index.ts +196 -0
- package/examples/langgraph/tsconfig.json +25 -0
- package/examples/mastra/.env.example +2 -0
- package/examples/mastra/README.md +57 -0
- package/examples/mastra/package-lock.json +5296 -0
- package/examples/mastra/package.json +32 -0
- package/examples/mastra/src/cli-markdown.d.ts +137 -0
- package/examples/mastra/src/index.ts +120 -0
- package/examples/mastra/src/mastra/agents/weather-agent.ts +30 -0
- package/examples/mastra/src/mastra/index.ts +21 -0
- package/examples/mastra/src/mastra/tools/weather-tool.ts +102 -0
- package/examples/mastra/tsconfig.json +25 -0
- package/examples/vercel-ai/.env.example +2 -0
- package/examples/vercel-ai/README.md +38 -0
- package/examples/vercel-ai/package-lock.json +2571 -0
- package/examples/vercel-ai/package.json +27 -0
- package/examples/vercel-ai/src/cli-markdown.d.ts +137 -0
- package/examples/vercel-ai/src/index.ts +110 -0
- package/examples/vercel-ai/src/instrumentation.ts +9 -0
- package/examples/vercel-ai/tsconfig.json +25 -0
- package/package.json +78 -34
- package/src/__tests__/client-browser.test.ts +92 -0
- package/src/__tests__/client-node.test.ts +76 -0
- package/src/__tests__/client.test.ts +71 -0
- package/src/__tests__/integration/client-browser.test.ts +46 -0
- package/src/__tests__/integration/client-node.test.ts +46 -0
- package/src/client-browser.ts +70 -0
- package/src/client-node.ts +82 -0
- package/src/client-shared.ts +72 -0
- package/src/client.ts +119 -0
- package/src/evaluation/__tests__/record-evaluation.test.ts +112 -0
- package/src/evaluation/__tests__/run-evaluation.test.ts +171 -0
- package/src/evaluation/index.ts +2 -0
- package/src/evaluation/record-evaluation.ts +101 -0
- package/src/evaluation/run-evaluation.ts +133 -0
- package/src/evaluation/tracer.ts +3 -0
- package/src/evaluation/types.ts +23 -0
- package/src/index.ts +10 -593
- package/src/internal/api/__tests__/errors.test.ts +98 -0
- package/src/internal/api/client.ts +30 -0
- package/src/internal/api/errors.ts +32 -0
- package/src/internal/generated/types/.gitkeep +0 -0
- package/src/observability/__tests__/integration/base.test.ts +74 -0
- package/src/observability/__tests__/integration/browser-setup-ordering.test.ts +60 -0
- package/src/observability/__tests__/integration/complex-nested-spans.test.ts +29 -0
- package/src/observability/__tests__/integration/error-handling.test.ts +24 -0
- package/src/observability/__tests__/integration/langwatch-disabled-otel.test.ts +24 -0
- package/src/observability/__tests__/integration/langwatch-first-then-vercel.test.ts +24 -0
- package/src/observability/__tests__/integration/multiple-setup-attempts.test.ts +27 -0
- package/src/observability/__tests__/integration/otel-ordering.test.ts +27 -0
- package/src/observability/__tests__/integration/vercel-configurations.test.ts +20 -0
- package/src/observability/__tests__/integration/vercel-first-then-langwatch.test.ts +27 -0
- package/src/observability/__tests__/span.test.ts +214 -0
- package/src/observability/__tests__/trace.test.ts +180 -0
- package/src/observability/exporters/index.ts +1 -0
- package/src/observability/exporters/langwatch-exporter.ts +53 -0
- package/src/observability/index.ts +4 -0
- package/src/observability/instrumentation/langchain/__tests__/integration/langchain-chatbot.test.ts +112 -0
- package/src/observability/instrumentation/langchain/__tests__/langchain.test.ts +284 -0
- package/src/observability/instrumentation/langchain/index.ts +624 -0
- package/src/observability/processors/__tests__/filterable-batch-span-exporter.test.ts +98 -0
- package/src/observability/processors/filterable-batch-span-processor.ts +99 -0
- package/src/observability/processors/index.ts +1 -0
- package/src/observability/semconv/attributes.ts +185 -0
- package/src/observability/semconv/events.ts +42 -0
- package/src/observability/semconv/index.ts +16 -0
- package/src/observability/semconv/values.ts +159 -0
- package/src/observability/span.ts +728 -0
- package/src/observability/trace.ts +301 -0
- package/src/prompt/__tests__/prompt.test.ts +139 -0
- package/src/prompt/get-prompt-version.ts +49 -0
- package/src/prompt/get-prompt.ts +44 -0
- package/src/prompt/index.ts +3 -0
- package/src/prompt/prompt.ts +133 -0
- package/src/prompt/service.ts +221 -0
- package/src/prompt/tracer.ts +3 -0
- package/src/prompt/types.ts +0 -0
- package/ts-to-zod.config.js +11 -0
- package/tsconfig.json +3 -9
- package/tsup.config.ts +11 -1
- package/vitest.config.ts +1 -0
- package/dist/chunk-LKD2K67J.mjs +0 -717
- package/dist/chunk-LKD2K67J.mjs.map +0 -1
- package/dist/index.d.mts +0 -1030
- package/dist/index.d.ts +0 -1030
- package/dist/index.js +0 -27310
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -963
- package/dist/index.mjs.map +0 -1
- package/dist/utils-Cv-rUjJ1.d.mts +0 -313
- package/dist/utils-Cv-rUjJ1.d.ts +0 -313
- package/dist/utils.d.mts +0 -2
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -709
- package/dist/utils.js.map +0 -1
- package/dist/utils.mjs +0 -11
- package/dist/utils.mjs.map +0 -1
- package/example/.env.example +0 -12
- package/example/.eslintrc.json +0 -26
- package/example/LICENSE +0 -13
- package/example/README.md +0 -12
- package/example/app/(chat)/chat/[id]/page.tsx +0 -60
- package/example/app/(chat)/layout.tsx +0 -14
- package/example/app/(chat)/page.tsx +0 -27
- package/example/app/actions.ts +0 -156
- package/example/app/globals.css +0 -76
- package/example/app/guardrails/page.tsx +0 -26
- package/example/app/langchain/page.tsx +0 -27
- package/example/app/langchain-rag/page.tsx +0 -28
- package/example/app/late-update/page.tsx +0 -27
- package/example/app/layout.tsx +0 -64
- package/example/app/login/actions.ts +0 -71
- package/example/app/login/page.tsx +0 -18
- package/example/app/manual/page.tsx +0 -27
- package/example/app/new/page.tsx +0 -5
- package/example/app/opengraph-image.png +0 -0
- package/example/app/share/[id]/page.tsx +0 -58
- package/example/app/signup/actions.ts +0 -111
- package/example/app/signup/page.tsx +0 -18
- package/example/app/twitter-image.png +0 -0
- package/example/auth.config.ts +0 -42
- package/example/auth.ts +0 -45
- package/example/components/button-scroll-to-bottom.tsx +0 -36
- package/example/components/chat-history.tsx +0 -49
- package/example/components/chat-list.tsx +0 -52
- package/example/components/chat-message-actions.tsx +0 -40
- package/example/components/chat-message.tsx +0 -80
- package/example/components/chat-panel.tsx +0 -139
- package/example/components/chat-share-dialog.tsx +0 -95
- package/example/components/chat.tsx +0 -84
- package/example/components/clear-history.tsx +0 -75
- package/example/components/empty-screen.tsx +0 -38
- package/example/components/external-link.tsx +0 -29
- package/example/components/footer.tsx +0 -19
- package/example/components/header.tsx +0 -114
- package/example/components/login-button.tsx +0 -42
- package/example/components/login-form.tsx +0 -97
- package/example/components/markdown.tsx +0 -9
- package/example/components/prompt-form.tsx +0 -115
- package/example/components/providers.tsx +0 -17
- package/example/components/sidebar-actions.tsx +0 -125
- package/example/components/sidebar-desktop.tsx +0 -19
- package/example/components/sidebar-footer.tsx +0 -16
- package/example/components/sidebar-item.tsx +0 -124
- package/example/components/sidebar-items.tsx +0 -42
- package/example/components/sidebar-list.tsx +0 -38
- package/example/components/sidebar-mobile.tsx +0 -31
- package/example/components/sidebar-toggle.tsx +0 -24
- package/example/components/sidebar.tsx +0 -21
- package/example/components/signup-form.tsx +0 -95
- package/example/components/stocks/events-skeleton.tsx +0 -31
- package/example/components/stocks/events.tsx +0 -30
- package/example/components/stocks/index.tsx +0 -36
- package/example/components/stocks/message.tsx +0 -134
- package/example/components/stocks/spinner.tsx +0 -16
- package/example/components/stocks/stock-purchase.tsx +0 -146
- package/example/components/stocks/stock-skeleton.tsx +0 -22
- package/example/components/stocks/stock.tsx +0 -210
- package/example/components/stocks/stocks-skeleton.tsx +0 -9
- package/example/components/stocks/stocks.tsx +0 -67
- package/example/components/tailwind-indicator.tsx +0 -14
- package/example/components/theme-toggle.tsx +0 -31
- package/example/components/ui/alert-dialog.tsx +0 -141
- package/example/components/ui/badge.tsx +0 -36
- package/example/components/ui/button.tsx +0 -57
- package/example/components/ui/codeblock.tsx +0 -148
- package/example/components/ui/dialog.tsx +0 -122
- package/example/components/ui/dropdown-menu.tsx +0 -205
- package/example/components/ui/icons.tsx +0 -507
- package/example/components/ui/input.tsx +0 -25
- package/example/components/ui/label.tsx +0 -26
- package/example/components/ui/select.tsx +0 -164
- package/example/components/ui/separator.tsx +0 -31
- package/example/components/ui/sheet.tsx +0 -140
- package/example/components/ui/sonner.tsx +0 -31
- package/example/components/ui/switch.tsx +0 -29
- package/example/components/ui/textarea.tsx +0 -24
- package/example/components/ui/tooltip.tsx +0 -30
- package/example/components/user-menu.tsx +0 -53
- package/example/components.json +0 -17
- package/example/instrumentation.ts +0 -11
- package/example/lib/chat/guardrails.tsx +0 -181
- package/example/lib/chat/langchain-rag.tsx +0 -191
- package/example/lib/chat/langchain.tsx +0 -112
- package/example/lib/chat/late-update.tsx +0 -208
- package/example/lib/chat/manual.tsx +0 -605
- package/example/lib/chat/vercel-ai.tsx +0 -576
- package/example/lib/hooks/use-copy-to-clipboard.tsx +0 -33
- package/example/lib/hooks/use-enter-submit.tsx +0 -23
- package/example/lib/hooks/use-local-storage.ts +0 -24
- package/example/lib/hooks/use-scroll-anchor.tsx +0 -86
- package/example/lib/hooks/use-sidebar.tsx +0 -60
- package/example/lib/hooks/use-streamable-text.ts +0 -25
- package/example/lib/types.ts +0 -41
- package/example/lib/utils.ts +0 -89
- package/example/middleware.ts +0 -8
- package/example/next-env.d.ts +0 -5
- package/example/next.config.js +0 -16
- package/example/package-lock.json +0 -10917
- package/example/package.json +0 -84
- package/example/pnpm-lock.yaml +0 -5712
- package/example/postcss.config.js +0 -6
- package/example/prettier.config.cjs +0 -34
- package/example/public/apple-touch-icon.png +0 -0
- package/example/public/favicon-16x16.png +0 -0
- package/example/public/favicon.ico +0 -0
- package/example/public/next.svg +0 -1
- package/example/public/thirteen.svg +0 -1
- package/example/public/vercel.svg +0 -1
- package/example/tailwind.config.ts +0 -81
- package/example/tsconfig.json +0 -35
- package/src/LangWatchExporter.ts +0 -96
- package/src/evaluations.ts +0 -219
- package/src/index.test.ts +0 -402
- package/src/langchain.ts +0 -557
- package/src/typeUtils.ts +0 -89
- package/src/types.ts +0 -82
- package/src/utils.ts +0 -205
- /package/src/{server/types → internal/generated/openapi}/.gitkeep +0 -0
|
@@ -1,507 +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('size-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
|
|
33
|
-
offset={1}
|
|
34
|
-
stopColor={inverted ? 'white' : 'black'}
|
|
35
|
-
stopOpacity={0}
|
|
36
|
-
/>
|
|
37
|
-
</linearGradient>
|
|
38
|
-
<linearGradient
|
|
39
|
-
id={`gradient-${id}-2`}
|
|
40
|
-
x1="11.7555"
|
|
41
|
-
y1="4.8"
|
|
42
|
-
x2="11.7376"
|
|
43
|
-
y2="9.50002"
|
|
44
|
-
gradientUnits="userSpaceOnUse"
|
|
45
|
-
>
|
|
46
|
-
<stop stopColor={inverted ? 'white' : 'black'} />
|
|
47
|
-
<stop
|
|
48
|
-
offset={1}
|
|
49
|
-
stopColor={inverted ? 'white' : 'black'}
|
|
50
|
-
stopOpacity={0}
|
|
51
|
-
/>
|
|
52
|
-
</linearGradient>
|
|
53
|
-
</defs>
|
|
54
|
-
<path
|
|
55
|
-
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"
|
|
56
|
-
fill={inverted ? 'black' : 'white'}
|
|
57
|
-
stroke={inverted ? 'black' : 'white'}
|
|
58
|
-
strokeWidth={2}
|
|
59
|
-
strokeLinecap="round"
|
|
60
|
-
strokeLinejoin="round"
|
|
61
|
-
/>
|
|
62
|
-
<mask
|
|
63
|
-
id="mask0_91_2047"
|
|
64
|
-
style={{ maskType: 'alpha' }}
|
|
65
|
-
maskUnits="userSpaceOnUse"
|
|
66
|
-
x={1}
|
|
67
|
-
y={0}
|
|
68
|
-
width={16}
|
|
69
|
-
height={16}
|
|
70
|
-
>
|
|
71
|
-
<circle cx={9} cy={8} r={8} fill={inverted ? 'black' : 'white'} />
|
|
72
|
-
</mask>
|
|
73
|
-
<g mask="url(#mask0_91_2047)">
|
|
74
|
-
<circle cx={9} cy={8} r={8} fill={inverted ? 'black' : 'white'} />
|
|
75
|
-
<path
|
|
76
|
-
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"
|
|
77
|
-
fill={`url(#gradient-${id}-1)`}
|
|
78
|
-
/>
|
|
79
|
-
<rect
|
|
80
|
-
x="11.2222"
|
|
81
|
-
y="4.8"
|
|
82
|
-
width="1.06667"
|
|
83
|
-
height="6.4"
|
|
84
|
-
fill={`url(#gradient-${id}-2)`}
|
|
85
|
-
/>
|
|
86
|
-
</g>
|
|
87
|
-
</svg>
|
|
88
|
-
)
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
function IconOpenAI({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
92
|
-
return (
|
|
93
|
-
<svg
|
|
94
|
-
fill="currentColor"
|
|
95
|
-
viewBox="0 0 24 24"
|
|
96
|
-
role="img"
|
|
97
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
98
|
-
className={cn('size-4', className)}
|
|
99
|
-
{...props}
|
|
100
|
-
>
|
|
101
|
-
<title>OpenAI icon</title>
|
|
102
|
-
<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" />
|
|
103
|
-
</svg>
|
|
104
|
-
)
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function IconVercel({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
108
|
-
return (
|
|
109
|
-
<svg
|
|
110
|
-
aria-label="Vercel logomark"
|
|
111
|
-
role="img"
|
|
112
|
-
viewBox="0 0 74 64"
|
|
113
|
-
className={cn('size-4', className)}
|
|
114
|
-
{...props}
|
|
115
|
-
>
|
|
116
|
-
<path
|
|
117
|
-
d="M37.5896 0.25L74.5396 64.25H0.639648L37.5896 0.25Z"
|
|
118
|
-
fill="currentColor"
|
|
119
|
-
></path>
|
|
120
|
-
</svg>
|
|
121
|
-
)
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
function IconGitHub({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
125
|
-
return (
|
|
126
|
-
<svg
|
|
127
|
-
role="img"
|
|
128
|
-
viewBox="0 0 24 24"
|
|
129
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
130
|
-
fill="currentColor"
|
|
131
|
-
className={cn('size-4', className)}
|
|
132
|
-
{...props}
|
|
133
|
-
>
|
|
134
|
-
<title>GitHub</title>
|
|
135
|
-
<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" />
|
|
136
|
-
</svg>
|
|
137
|
-
)
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
function IconSeparator({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
141
|
-
return (
|
|
142
|
-
<svg
|
|
143
|
-
fill="none"
|
|
144
|
-
shapeRendering="geometricPrecision"
|
|
145
|
-
stroke="currentColor"
|
|
146
|
-
strokeLinecap="round"
|
|
147
|
-
strokeLinejoin="round"
|
|
148
|
-
strokeWidth="1"
|
|
149
|
-
viewBox="0 0 24 24"
|
|
150
|
-
aria-hidden="true"
|
|
151
|
-
className={cn('size-4', className)}
|
|
152
|
-
{...props}
|
|
153
|
-
>
|
|
154
|
-
<path d="M16.88 3.549L7.12 20.451"></path>
|
|
155
|
-
</svg>
|
|
156
|
-
)
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
function IconArrowDown({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
160
|
-
return (
|
|
161
|
-
<svg
|
|
162
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
163
|
-
viewBox="0 0 256 256"
|
|
164
|
-
fill="currentColor"
|
|
165
|
-
className={cn('size-4', className)}
|
|
166
|
-
{...props}
|
|
167
|
-
>
|
|
168
|
-
<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" />
|
|
169
|
-
</svg>
|
|
170
|
-
)
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
function IconArrowRight({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
174
|
-
return (
|
|
175
|
-
<svg
|
|
176
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
177
|
-
viewBox="0 0 256 256"
|
|
178
|
-
fill="currentColor"
|
|
179
|
-
className={cn('size-4', className)}
|
|
180
|
-
{...props}
|
|
181
|
-
>
|
|
182
|
-
<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" />
|
|
183
|
-
</svg>
|
|
184
|
-
)
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
function IconUser({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
188
|
-
return (
|
|
189
|
-
<svg
|
|
190
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
191
|
-
viewBox="0 0 256 256"
|
|
192
|
-
fill="currentColor"
|
|
193
|
-
className={cn('size-4', className)}
|
|
194
|
-
{...props}
|
|
195
|
-
>
|
|
196
|
-
<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" />
|
|
197
|
-
</svg>
|
|
198
|
-
)
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
function IconPlus({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
202
|
-
return (
|
|
203
|
-
<svg
|
|
204
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
205
|
-
viewBox="0 0 256 256"
|
|
206
|
-
fill="currentColor"
|
|
207
|
-
className={cn('size-4', className)}
|
|
208
|
-
{...props}
|
|
209
|
-
>
|
|
210
|
-
<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" />
|
|
211
|
-
</svg>
|
|
212
|
-
)
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function IconArrowElbow({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
216
|
-
return (
|
|
217
|
-
<svg
|
|
218
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
219
|
-
viewBox="0 0 256 256"
|
|
220
|
-
fill="currentColor"
|
|
221
|
-
className={cn('size-4', className)}
|
|
222
|
-
{...props}
|
|
223
|
-
>
|
|
224
|
-
<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" />
|
|
225
|
-
</svg>
|
|
226
|
-
)
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
function IconSpinner({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
230
|
-
return (
|
|
231
|
-
<svg
|
|
232
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
233
|
-
viewBox="0 0 256 256"
|
|
234
|
-
fill="currentColor"
|
|
235
|
-
className={cn('size-4 animate-spin', className)}
|
|
236
|
-
{...props}
|
|
237
|
-
>
|
|
238
|
-
<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" />
|
|
239
|
-
</svg>
|
|
240
|
-
)
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
function IconMessage({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
244
|
-
return (
|
|
245
|
-
<svg
|
|
246
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
247
|
-
viewBox="0 0 256 256"
|
|
248
|
-
fill="currentColor"
|
|
249
|
-
className={cn('size-4', className)}
|
|
250
|
-
{...props}
|
|
251
|
-
>
|
|
252
|
-
<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" />
|
|
253
|
-
</svg>
|
|
254
|
-
)
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
function IconTrash({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
258
|
-
return (
|
|
259
|
-
<svg
|
|
260
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
261
|
-
viewBox="0 0 256 256"
|
|
262
|
-
fill="currentColor"
|
|
263
|
-
className={cn('size-4', className)}
|
|
264
|
-
{...props}
|
|
265
|
-
>
|
|
266
|
-
<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" />
|
|
267
|
-
</svg>
|
|
268
|
-
)
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
function IconRefresh({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
272
|
-
return (
|
|
273
|
-
<svg
|
|
274
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
275
|
-
viewBox="0 0 256 256"
|
|
276
|
-
fill="currentColor"
|
|
277
|
-
className={cn('size-4', className)}
|
|
278
|
-
{...props}
|
|
279
|
-
>
|
|
280
|
-
<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" />
|
|
281
|
-
</svg>
|
|
282
|
-
)
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
function IconStop({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
286
|
-
return (
|
|
287
|
-
<svg
|
|
288
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
289
|
-
viewBox="0 0 256 256"
|
|
290
|
-
fill="currentColor"
|
|
291
|
-
className={cn('size-4', className)}
|
|
292
|
-
{...props}
|
|
293
|
-
>
|
|
294
|
-
<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" />
|
|
295
|
-
</svg>
|
|
296
|
-
)
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
function IconSidebar({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
300
|
-
return (
|
|
301
|
-
<svg
|
|
302
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
303
|
-
viewBox="0 0 256 256"
|
|
304
|
-
fill="currentColor"
|
|
305
|
-
className={cn('size-4', className)}
|
|
306
|
-
{...props}
|
|
307
|
-
>
|
|
308
|
-
<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" />
|
|
309
|
-
</svg>
|
|
310
|
-
)
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
function IconMoon({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
314
|
-
return (
|
|
315
|
-
<svg
|
|
316
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
317
|
-
viewBox="0 0 256 256"
|
|
318
|
-
fill="currentColor"
|
|
319
|
-
className={cn('size-4', className)}
|
|
320
|
-
{...props}
|
|
321
|
-
>
|
|
322
|
-
<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" />
|
|
323
|
-
</svg>
|
|
324
|
-
)
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
function IconSun({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
328
|
-
return (
|
|
329
|
-
<svg
|
|
330
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
331
|
-
viewBox="0 0 256 256"
|
|
332
|
-
fill="currentColor"
|
|
333
|
-
className={cn('size-4', className)}
|
|
334
|
-
{...props}
|
|
335
|
-
>
|
|
336
|
-
<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" />
|
|
337
|
-
</svg>
|
|
338
|
-
)
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
function IconCopy({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
342
|
-
return (
|
|
343
|
-
<svg
|
|
344
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
345
|
-
viewBox="0 0 256 256"
|
|
346
|
-
fill="currentColor"
|
|
347
|
-
className={cn('size-4', className)}
|
|
348
|
-
{...props}
|
|
349
|
-
>
|
|
350
|
-
<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" />
|
|
351
|
-
</svg>
|
|
352
|
-
)
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
function IconCheck({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
356
|
-
return (
|
|
357
|
-
<svg
|
|
358
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
359
|
-
viewBox="0 0 256 256"
|
|
360
|
-
fill="currentColor"
|
|
361
|
-
className={cn('size-4', className)}
|
|
362
|
-
{...props}
|
|
363
|
-
>
|
|
364
|
-
<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" />
|
|
365
|
-
</svg>
|
|
366
|
-
)
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
function IconDownload({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
370
|
-
return (
|
|
371
|
-
<svg
|
|
372
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
373
|
-
viewBox="0 0 256 256"
|
|
374
|
-
fill="currentColor"
|
|
375
|
-
className={cn('size-4', className)}
|
|
376
|
-
{...props}
|
|
377
|
-
>
|
|
378
|
-
<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" />
|
|
379
|
-
</svg>
|
|
380
|
-
)
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
function IconClose({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
384
|
-
return (
|
|
385
|
-
<svg
|
|
386
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
387
|
-
viewBox="0 0 256 256"
|
|
388
|
-
fill="currentColor"
|
|
389
|
-
className={cn('size-4', className)}
|
|
390
|
-
{...props}
|
|
391
|
-
>
|
|
392
|
-
<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" />
|
|
393
|
-
</svg>
|
|
394
|
-
)
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
function IconEdit({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
398
|
-
return (
|
|
399
|
-
<svg
|
|
400
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
401
|
-
fill="none"
|
|
402
|
-
viewBox="0 0 24 24"
|
|
403
|
-
strokeWidth={1.5}
|
|
404
|
-
stroke="currentColor"
|
|
405
|
-
className={cn('size-4', className)}
|
|
406
|
-
{...props}
|
|
407
|
-
>
|
|
408
|
-
<path
|
|
409
|
-
strokeLinecap="round"
|
|
410
|
-
strokeLinejoin="round"
|
|
411
|
-
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"
|
|
412
|
-
/>
|
|
413
|
-
</svg>
|
|
414
|
-
)
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
function IconShare({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
418
|
-
return (
|
|
419
|
-
<svg
|
|
420
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
421
|
-
fill="currentColor"
|
|
422
|
-
className={cn('size-4', className)}
|
|
423
|
-
viewBox="0 0 256 256"
|
|
424
|
-
{...props}
|
|
425
|
-
>
|
|
426
|
-
<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" />
|
|
427
|
-
</svg>
|
|
428
|
-
)
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
function IconUsers({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
432
|
-
return (
|
|
433
|
-
<svg
|
|
434
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
435
|
-
fill="currentColor"
|
|
436
|
-
className={cn('size-4', className)}
|
|
437
|
-
viewBox="0 0 256 256"
|
|
438
|
-
{...props}
|
|
439
|
-
>
|
|
440
|
-
<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" />
|
|
441
|
-
</svg>
|
|
442
|
-
)
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
function IconExternalLink({
|
|
446
|
-
className,
|
|
447
|
-
...props
|
|
448
|
-
}: React.ComponentProps<'svg'>) {
|
|
449
|
-
return (
|
|
450
|
-
<svg
|
|
451
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
452
|
-
fill="currentColor"
|
|
453
|
-
className={cn('size-4', className)}
|
|
454
|
-
viewBox="0 0 256 256"
|
|
455
|
-
{...props}
|
|
456
|
-
>
|
|
457
|
-
<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" />
|
|
458
|
-
</svg>
|
|
459
|
-
)
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
function IconChevronUpDown({
|
|
463
|
-
className,
|
|
464
|
-
...props
|
|
465
|
-
}: React.ComponentProps<'svg'>) {
|
|
466
|
-
return (
|
|
467
|
-
<svg
|
|
468
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
469
|
-
fill="currentColor"
|
|
470
|
-
className={cn('size-4', className)}
|
|
471
|
-
viewBox="0 0 256 256"
|
|
472
|
-
{...props}
|
|
473
|
-
>
|
|
474
|
-
<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" />
|
|
475
|
-
</svg>
|
|
476
|
-
)
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
export {
|
|
480
|
-
IconEdit,
|
|
481
|
-
IconNextChat,
|
|
482
|
-
IconOpenAI,
|
|
483
|
-
IconVercel,
|
|
484
|
-
IconGitHub,
|
|
485
|
-
IconSeparator,
|
|
486
|
-
IconArrowDown,
|
|
487
|
-
IconArrowRight,
|
|
488
|
-
IconUser,
|
|
489
|
-
IconPlus,
|
|
490
|
-
IconArrowElbow,
|
|
491
|
-
IconSpinner,
|
|
492
|
-
IconMessage,
|
|
493
|
-
IconTrash,
|
|
494
|
-
IconRefresh,
|
|
495
|
-
IconStop,
|
|
496
|
-
IconSidebar,
|
|
497
|
-
IconMoon,
|
|
498
|
-
IconSun,
|
|
499
|
-
IconCopy,
|
|
500
|
-
IconCheck,
|
|
501
|
-
IconDownload,
|
|
502
|
-
IconClose,
|
|
503
|
-
IconShare,
|
|
504
|
-
IconUsers,
|
|
505
|
-
IconExternalLink,
|
|
506
|
-
IconChevronUpDown
|
|
507
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from "react"
|
|
2
|
-
|
|
3
|
-
import { cn } from "@/lib/utils"
|
|
4
|
-
|
|
5
|
-
export interface InputProps
|
|
6
|
-
extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
7
|
-
|
|
8
|
-
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
9
|
-
({ className, type, ...props }, ref) => {
|
|
10
|
-
return (
|
|
11
|
-
<input
|
|
12
|
-
type={type}
|
|
13
|
-
className={cn(
|
|
14
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
15
|
-
className
|
|
16
|
-
)}
|
|
17
|
-
ref={ref}
|
|
18
|
-
{...props}
|
|
19
|
-
/>
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
)
|
|
23
|
-
Input.displayName = "Input"
|
|
24
|
-
|
|
25
|
-
export { Input }
|
|
@@ -1,26 +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> &
|
|
16
|
-
VariantProps<typeof labelVariants>
|
|
17
|
-
>(({ className, ...props }, ref) => (
|
|
18
|
-
<LabelPrimitive.Root
|
|
19
|
-
ref={ref}
|
|
20
|
-
className={cn(labelVariants(), className)}
|
|
21
|
-
{...props}
|
|
22
|
-
/>
|
|
23
|
-
))
|
|
24
|
-
Label.displayName = LabelPrimitive.Root.displayName
|
|
25
|
-
|
|
26
|
-
export { Label }
|