@copilotkit/react-ui 0.3.0 → 0.4.0
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 -13
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/dist/chunk-46XC7ODX.mjs +72 -0
- package/dist/chunk-46XC7ODX.mjs.map +1 -0
- package/dist/chunk-4HK6C362.mjs +106 -0
- package/dist/chunk-4HK6C362.mjs.map +1 -0
- package/dist/chunk-6LAC5RA2.mjs +28 -0
- package/dist/chunk-6LAC5RA2.mjs.map +1 -0
- package/dist/chunk-6LRNF2VU.mjs +12 -0
- package/dist/chunk-6LRNF2VU.mjs.map +1 -0
- package/dist/chunk-7NSRDJ5C.mjs +3 -0
- package/dist/chunk-7NSRDJ5C.mjs.map +1 -0
- package/dist/chunk-BB6IP63P.mjs +29 -0
- package/dist/chunk-BB6IP63P.mjs.map +1 -0
- package/dist/chunk-BIPCPNHG.mjs +18 -0
- package/dist/chunk-BIPCPNHG.mjs.map +1 -0
- package/dist/chunk-BS6RR2DJ.mjs +25 -0
- package/dist/chunk-BS6RR2DJ.mjs.map +1 -0
- package/dist/chunk-DOMJCSI6.mjs +26 -0
- package/dist/chunk-DOMJCSI6.mjs.map +1 -0
- package/dist/chunk-E2YBQYWM.mjs +69 -0
- package/dist/chunk-E2YBQYWM.mjs.map +1 -0
- package/dist/chunk-E5BOIXYO.mjs +45 -0
- package/dist/chunk-E5BOIXYO.mjs.map +1 -0
- package/dist/chunk-H4VKQGVU.mjs +3 -0
- package/dist/chunk-H4VKQGVU.mjs.map +1 -0
- package/dist/chunk-I2AB5FK4.mjs +123 -0
- package/dist/chunk-I2AB5FK4.mjs.map +1 -0
- package/dist/chunk-IU3WTXLQ.mjs +3 -0
- package/dist/chunk-IU3WTXLQ.mjs.map +1 -0
- package/dist/chunk-KR7MH7XO.mjs +481 -0
- package/dist/chunk-KR7MH7XO.mjs.map +1 -0
- package/dist/chunk-KXJV37FS.mjs +33 -0
- package/dist/chunk-KXJV37FS.mjs.map +1 -0
- package/dist/chunk-MC6KTH4X.mjs +12 -0
- package/dist/chunk-MC6KTH4X.mjs.map +1 -0
- package/dist/chunk-MRXNTQOX.mjs +55 -0
- package/dist/chunk-MRXNTQOX.mjs.map +1 -0
- package/dist/chunk-N7KB3Z57.mjs +23 -0
- package/dist/chunk-N7KB3Z57.mjs.map +1 -0
- package/dist/chunk-QEXWZWJL.mjs +75 -0
- package/dist/chunk-QEXWZWJL.mjs.map +1 -0
- package/dist/chunk-RSONJDLO.mjs +28 -0
- package/dist/chunk-RSONJDLO.mjs.map +1 -0
- package/dist/chunk-SF56HSZW.mjs +48 -0
- package/dist/chunk-SF56HSZW.mjs.map +1 -0
- package/dist/chunk-TVTG3V4F.mjs +40 -0
- package/dist/chunk-TVTG3V4F.mjs.map +1 -0
- package/dist/chunk-U6NJWGTV.mjs +3 -0
- package/dist/chunk-U6NJWGTV.mjs.map +1 -0
- package/dist/chunk-V6QYUEJR.mjs +47 -0
- package/dist/chunk-V6QYUEJR.mjs.map +1 -0
- package/dist/chunk-VQNV2DHJ.mjs +142 -0
- package/dist/chunk-VQNV2DHJ.mjs.map +1 -0
- package/dist/chunk-VSNDSL6W.mjs +74 -0
- package/dist/chunk-VSNDSL6W.mjs.map +1 -0
- package/dist/chunk-XZFO2YEG.mjs +53 -0
- package/dist/chunk-XZFO2YEG.mjs.map +1 -0
- package/dist/components/chat-components/chat-list.d.ts +8 -0
- package/dist/components/chat-components/chat-list.mjs +13 -0
- package/dist/components/chat-components/chat-list.mjs.map +1 -0
- package/dist/components/chat-components/chat-message-actions.d.ts +8 -0
- package/dist/components/chat-components/chat-message-actions.mjs +8 -0
- package/dist/components/chat-components/chat-message-actions.mjs.map +1 -0
- package/dist/components/chat-components/chat-message.d.ts +8 -0
- package/dist/components/chat-components/chat-message.mjs +11 -0
- package/dist/components/chat-components/chat-message.mjs.map +1 -0
- package/dist/components/chat-components/chat-panel.d.ts +8 -0
- package/dist/components/chat-components/chat-panel.mjs +10 -0
- package/dist/components/chat-components/chat-panel.mjs.map +1 -0
- package/dist/components/chat-components/chat-scroll-anchor.d.ts +6 -0
- package/dist/components/chat-components/chat-scroll-anchor.mjs +5 -0
- package/dist/components/chat-components/chat-scroll-anchor.mjs.map +1 -0
- package/dist/components/chat-components/clear-history.d.ts +9 -0
- package/dist/components/chat-components/clear-history.mjs +81 -0
- package/dist/components/chat-components/clear-history.mjs.map +1 -0
- package/dist/components/chat-components/copilot-chat.d.ts +12 -0
- package/dist/components/chat-components/copilot-chat.mjs +22 -0
- package/dist/components/chat-components/copilot-chat.mjs.map +1 -0
- package/dist/components/chat-components/default-empty-screen.d.ts +8 -0
- package/dist/components/chat-components/default-empty-screen.mjs +8 -0
- package/dist/components/chat-components/default-empty-screen.mjs.map +1 -0
- package/dist/components/chat-components/external-link.d.ts +6 -0
- package/dist/components/chat-components/external-link.mjs +4 -0
- package/dist/components/chat-components/external-link.mjs.map +1 -0
- package/dist/components/chat-components/markdown.d.ts +6 -0
- package/dist/components/chat-components/markdown.mjs +4 -0
- package/dist/components/chat-components/markdown.mjs.map +1 -0
- package/dist/components/chat-components/prompt-form.d.ts +9 -0
- package/dist/components/chat-components/prompt-form.mjs +9 -0
- package/dist/components/chat-components/prompt-form.mjs.map +1 -0
- package/dist/components/chat-components/theme-toggle.d.ts +3 -0
- package/dist/components/chat-components/theme-toggle.mjs +36 -0
- package/dist/components/chat-components/theme-toggle.mjs.map +1 -0
- package/dist/components/chat-components/toaster.d.ts +1 -0
- package/dist/components/chat-components/toaster.mjs +4 -0
- package/dist/components/chat-components/toaster.mjs.map +1 -0
- package/dist/components/chat-components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/chat-components/ui/alert-dialog.mjs +6 -0
- package/dist/components/chat-components/ui/alert-dialog.mjs.map +1 -0
- package/dist/components/chat-components/ui/badge.d.ts +12 -0
- package/dist/components/chat-components/ui/badge.mjs +31 -0
- package/dist/components/chat-components/ui/badge.mjs.map +1 -0
- package/dist/components/chat-components/ui/button.d.ts +14 -0
- package/dist/components/chat-components/ui/button.mjs +5 -0
- package/dist/components/chat-components/ui/button.mjs.map +1 -0
- package/dist/components/chat-components/ui/codeblock.d.ts +14 -0
- package/dist/components/chat-components/ui/codeblock.mjs +8 -0
- package/dist/components/chat-components/ui/codeblock.mjs.map +1 -0
- package/dist/components/chat-components/ui/dialog.d.ts +18 -0
- package/dist/components/chat-components/ui/dialog.mjs +119 -0
- package/dist/components/chat-components/ui/dialog.mjs.map +1 -0
- package/dist/components/chat-components/ui/dropdown-menu.d.ts +24 -0
- package/dist/components/chat-components/ui/dropdown-menu.mjs +84 -0
- package/dist/components/chat-components/ui/dropdown-menu.mjs.map +1 -0
- package/dist/components/chat-components/ui/icons.d.ts +33 -0
- package/dist/components/chat-components/ui/icons.mjs +5 -0
- package/dist/components/chat-components/ui/icons.mjs.map +1 -0
- package/dist/components/chat-components/ui/input.d.ts +7 -0
- package/dist/components/chat-components/ui/input.mjs +23 -0
- package/dist/components/chat-components/ui/input.mjs.map +1 -0
- package/dist/components/chat-components/ui/label.d.ts +8 -0
- package/dist/components/chat-components/ui/label.mjs +22 -0
- package/dist/components/chat-components/ui/label.mjs.map +1 -0
- package/dist/components/chat-components/ui/select.d.ts +13 -0
- package/dist/components/chat-components/ui/select.mjs +99 -0
- package/dist/components/chat-components/ui/select.mjs.map +1 -0
- package/dist/components/chat-components/ui/separator.d.ts +6 -0
- package/dist/components/chat-components/ui/separator.mjs +5 -0
- package/dist/components/chat-components/ui/separator.mjs.map +1 -0
- package/dist/components/chat-components/ui/sheet.d.ts +19 -0
- package/dist/components/chat-components/ui/sheet.mjs +109 -0
- package/dist/components/chat-components/ui/sheet.mjs.map +1 -0
- package/dist/components/chat-components/ui/switch.d.ts +6 -0
- package/dist/components/chat-components/ui/switch.mjs +27 -0
- package/dist/components/chat-components/ui/switch.mjs.map +1 -0
- package/dist/components/chat-components/ui/textarea.d.ts +7 -0
- package/dist/components/chat-components/ui/textarea.mjs +22 -0
- package/dist/components/chat-components/ui/textarea.mjs.map +1 -0
- package/dist/components/chat-components/ui/tooltip.d.ts +9 -0
- package/dist/components/chat-components/ui/tooltip.mjs +5 -0
- package/dist/components/chat-components/ui/tooltip.mjs.map +1 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.mjs +26 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/components/sidebar/copilot-sidebar-ui-provider.d.ts +8 -0
- package/dist/components/sidebar/copilot-sidebar-ui-provider.mjs +25 -0
- package/dist/components/sidebar/copilot-sidebar-ui-provider.mjs.map +1 -0
- package/dist/components/sidebar/copilot-sidebar.d.ts +6 -0
- package/dist/components/sidebar/copilot-sidebar.mjs +23 -0
- package/dist/components/sidebar/copilot-sidebar.mjs.map +1 -0
- package/dist/components/sidebar/sidebar-context.d.ts +9 -0
- package/dist/components/sidebar/sidebar-context.mjs +4 -0
- package/dist/components/sidebar/sidebar-context.mjs.map +1 -0
- package/dist/context/index.d.ts +1 -0
- package/dist/context/index.mjs +3 -0
- package/dist/context/index.mjs.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.mjs +3 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/hooks/use-at-bottom.d.ts +3 -0
- package/dist/hooks/use-at-bottom.mjs +4 -0
- package/dist/hooks/use-at-bottom.mjs.map +1 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts +9 -0
- package/dist/hooks/use-copy-to-clipboard.mjs +4 -0
- package/dist/hooks/use-copy-to-clipboard.mjs.map +1 -0
- package/dist/hooks/use-enter-submit.d.ts +8 -0
- package/dist/hooks/use-enter-submit.mjs +4 -0
- package/dist/hooks/use-enter-submit.mjs.map +1 -0
- package/dist/index.css +1249 -1
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +9 -36
- package/dist/index.mjs +29 -26
- package/dist/index.mjs.map +1 -0
- package/dist/lib/utils.d.ts +8 -0
- package/dist/lib/utils.mjs +4 -0
- package/dist/lib/utils.mjs.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.mjs +3 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/types/types.d.ts +16 -0
- package/dist/types/types.mjs +3 -0
- package/dist/types/types.mjs.map +1 -0
- package/package.json +8 -8
- package/src/components/chat-components/chat-list.tsx +8 -8
- package/src/components/chat-components/chat-message-actions.tsx +14 -14
- package/src/components/chat-components/chat-message.tsx +26 -26
- package/src/components/chat-components/chat-panel.tsx +18 -18
- package/src/components/chat-components/chat-scroll-anchor.tsx +12 -12
- package/src/components/chat-components/clear-history.tsx +22 -22
- package/src/components/chat-components/copilot-chat.tsx +45 -50
- package/src/components/chat-components/default-empty-screen.tsx +24 -22
- package/src/components/chat-components/external-link.tsx +4 -4
- package/src/components/chat-components/markdown.tsx +3 -3
- package/src/components/chat-components/prompt-form.tsx +27 -27
- package/src/components/chat-components/theme-toggle.tsx +11 -11
- package/src/components/chat-components/toaster.tsx +2 -2
- package/src/components/chat-components/ui/alert-dialog.tsx +35 -35
- package/src/components/chat-components/ui/badge.tsx +14 -14
- package/src/components/chat-components/ui/button.tsx +26 -26
- package/src/components/chat-components/ui/codeblock.tsx +70 -70
- package/src/components/chat-components/ui/dialog.tsx +29 -29
- package/src/components/chat-components/ui/dropdown-menu.tsx +35 -35
- package/src/components/chat-components/ui/icons.tsx +96 -96
- package/src/components/chat-components/ui/input.tsx +7 -7
- package/src/components/chat-components/ui/label.tsx +10 -10
- package/src/components/chat-components/ui/select.tsx +30 -30
- package/src/components/chat-components/ui/separator.tsx +10 -10
- package/src/components/chat-components/ui/sheet.tsx +31 -31
- package/src/components/chat-components/ui/switch.tsx +9 -9
- package/src/components/chat-components/ui/textarea.tsx +7 -7
- package/src/components/chat-components/ui/tooltip.tsx +11 -11
- package/src/components/index.ts +6 -6
- package/src/components/sidebar/copilot-sidebar-ui-provider.tsx +34 -31
- package/src/components/sidebar/copilot-sidebar.tsx +9 -9
- package/src/components/sidebar/sidebar-context.tsx +5 -5
- package/src/context/index.ts +1 -1
- package/src/hooks/index.ts +1 -1
- package/src/hooks/use-at-bottom.tsx +10 -10
- package/src/hooks/use-copy-to-clipboard.tsx +14 -14
- package/src/hooks/use-enter-submit.tsx +9 -9
- package/src/index.tsx +4 -4
- package/src/lib/utils.ts +20 -20
- package/src/types/index.ts +1 -1
- package/src/types/types.ts +10 -10
- package/tsup.config.ts +3 -4
- package/dist/index.js +0 -53
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
|
|
3
|
-
import * as React from
|
|
3
|
+
import * as React from "react";
|
|
4
4
|
|
|
5
|
-
import { cn } from
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
6
|
|
|
7
7
|
function IconNextChat({
|
|
8
8
|
className,
|
|
9
9
|
inverted,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<
|
|
12
|
-
const id = React.useId()
|
|
11
|
+
}: React.ComponentProps<"svg"> & { inverted?: boolean }) {
|
|
12
|
+
const id = React.useId();
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
15
|
<svg
|
|
16
16
|
viewBox="0 0 17 17"
|
|
17
17
|
fill="none"
|
|
18
18
|
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
-
className={cn(
|
|
19
|
+
className={cn("h-4 w-4", className)}
|
|
20
20
|
{...props}
|
|
21
21
|
>
|
|
22
22
|
<defs>
|
|
@@ -28,10 +28,10 @@ function IconNextChat({
|
|
|
28
28
|
y2="14.2667"
|
|
29
29
|
gradientUnits="userSpaceOnUse"
|
|
30
30
|
>
|
|
31
|
-
<stop stopColor={inverted ?
|
|
31
|
+
<stop stopColor={inverted ? "white" : "black"} />
|
|
32
32
|
<stop
|
|
33
33
|
offset={1}
|
|
34
|
-
stopColor={inverted ?
|
|
34
|
+
stopColor={inverted ? "white" : "black"}
|
|
35
35
|
stopOpacity={0}
|
|
36
36
|
/>
|
|
37
37
|
</linearGradient>
|
|
@@ -43,35 +43,35 @@ function IconNextChat({
|
|
|
43
43
|
y2="9.50002"
|
|
44
44
|
gradientUnits="userSpaceOnUse"
|
|
45
45
|
>
|
|
46
|
-
<stop stopColor={inverted ?
|
|
46
|
+
<stop stopColor={inverted ? "white" : "black"} />
|
|
47
47
|
<stop
|
|
48
48
|
offset={1}
|
|
49
|
-
stopColor={inverted ?
|
|
49
|
+
stopColor={inverted ? "white" : "black"}
|
|
50
50
|
stopOpacity={0}
|
|
51
51
|
/>
|
|
52
52
|
</linearGradient>
|
|
53
53
|
</defs>
|
|
54
54
|
<path
|
|
55
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 ?
|
|
57
|
-
stroke={inverted ?
|
|
56
|
+
fill={inverted ? "black" : "white"}
|
|
57
|
+
stroke={inverted ? "black" : "white"}
|
|
58
58
|
strokeWidth={2}
|
|
59
59
|
strokeLinecap="round"
|
|
60
60
|
strokeLinejoin="round"
|
|
61
61
|
/>
|
|
62
62
|
<mask
|
|
63
63
|
id="mask0_91_2047"
|
|
64
|
-
style={{ maskType:
|
|
64
|
+
style={{ maskType: "alpha" }}
|
|
65
65
|
maskUnits="userSpaceOnUse"
|
|
66
66
|
x={1}
|
|
67
67
|
y={0}
|
|
68
68
|
width={16}
|
|
69
69
|
height={16}
|
|
70
70
|
>
|
|
71
|
-
<circle cx={9} cy={8} r={8} fill={inverted ?
|
|
71
|
+
<circle cx={9} cy={8} r={8} fill={inverted ? "black" : "white"} />
|
|
72
72
|
</mask>
|
|
73
73
|
<g mask="url(#mask0_91_2047)">
|
|
74
|
-
<circle cx={9} cy={8} r={8} fill={inverted ?
|
|
74
|
+
<circle cx={9} cy={8} r={8} fill={inverted ? "black" : "white"} />
|
|
75
75
|
<path
|
|
76
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
77
|
fill={`url(#gradient-${id}-1)`}
|
|
@@ -85,32 +85,32 @@ function IconNextChat({
|
|
|
85
85
|
/>
|
|
86
86
|
</g>
|
|
87
87
|
</svg>
|
|
88
|
-
)
|
|
88
|
+
);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
function IconOpenAI({ className, ...props }: React.ComponentProps<
|
|
91
|
+
function IconOpenAI({ className, ...props }: React.ComponentProps<"svg">) {
|
|
92
92
|
return (
|
|
93
93
|
<svg
|
|
94
94
|
fill="currentColor"
|
|
95
95
|
viewBox="0 0 24 24"
|
|
96
96
|
role="img"
|
|
97
97
|
xmlns="http://www.w3.org/2000/svg"
|
|
98
|
-
className={cn(
|
|
98
|
+
className={cn("h-4 w-4", className)}
|
|
99
99
|
{...props}
|
|
100
100
|
>
|
|
101
101
|
<title>OpenAI icon</title>
|
|
102
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
103
|
</svg>
|
|
104
|
-
)
|
|
104
|
+
);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
function IconVercel({ className, ...props }: React.ComponentProps<
|
|
107
|
+
function IconVercel({ className, ...props }: React.ComponentProps<"svg">) {
|
|
108
108
|
return (
|
|
109
109
|
<svg
|
|
110
110
|
aria-label="Vercel logomark"
|
|
111
111
|
role="img"
|
|
112
112
|
viewBox="0 0 74 64"
|
|
113
|
-
className={cn(
|
|
113
|
+
className={cn("h-4 w-4", className)}
|
|
114
114
|
{...props}
|
|
115
115
|
>
|
|
116
116
|
<path
|
|
@@ -118,26 +118,26 @@ function IconVercel({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
|
118
118
|
fill="currentColor"
|
|
119
119
|
></path>
|
|
120
120
|
</svg>
|
|
121
|
-
)
|
|
121
|
+
);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
function IconGitHub({ className, ...props }: React.ComponentProps<
|
|
124
|
+
function IconGitHub({ className, ...props }: React.ComponentProps<"svg">) {
|
|
125
125
|
return (
|
|
126
126
|
<svg
|
|
127
127
|
role="img"
|
|
128
128
|
viewBox="0 0 24 24"
|
|
129
129
|
xmlns="http://www.w3.org/2000/svg"
|
|
130
130
|
fill="currentColor"
|
|
131
|
-
className={cn(
|
|
131
|
+
className={cn("h-4 w-4", className)}
|
|
132
132
|
{...props}
|
|
133
133
|
>
|
|
134
134
|
<title>GitHub</title>
|
|
135
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
136
|
</svg>
|
|
137
|
-
)
|
|
137
|
+
);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
function IconSeparator({ className, ...props }: React.ComponentProps<
|
|
140
|
+
function IconSeparator({ className, ...props }: React.ComponentProps<"svg">) {
|
|
141
141
|
return (
|
|
142
142
|
<svg
|
|
143
143
|
fill="none"
|
|
@@ -148,253 +148,253 @@ function IconSeparator({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
|
148
148
|
strokeWidth="1"
|
|
149
149
|
viewBox="0 0 24 24"
|
|
150
150
|
aria-hidden="true"
|
|
151
|
-
className={cn(
|
|
151
|
+
className={cn("h-4 w-4", className)}
|
|
152
152
|
{...props}
|
|
153
153
|
>
|
|
154
154
|
<path d="M16.88 3.549L7.12 20.451"></path>
|
|
155
155
|
</svg>
|
|
156
|
-
)
|
|
156
|
+
);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
function IconArrowDown({ className, ...props }: React.ComponentProps<
|
|
159
|
+
function IconArrowDown({ className, ...props }: React.ComponentProps<"svg">) {
|
|
160
160
|
return (
|
|
161
161
|
<svg
|
|
162
162
|
xmlns="http://www.w3.org/2000/svg"
|
|
163
163
|
viewBox="0 0 256 256"
|
|
164
164
|
fill="currentColor"
|
|
165
|
-
className={cn(
|
|
165
|
+
className={cn("h-4 w-4", className)}
|
|
166
166
|
{...props}
|
|
167
167
|
>
|
|
168
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
169
|
</svg>
|
|
170
|
-
)
|
|
170
|
+
);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
function IconArrowRight({ className, ...props }: React.ComponentProps<
|
|
173
|
+
function IconArrowRight({ className, ...props }: React.ComponentProps<"svg">) {
|
|
174
174
|
return (
|
|
175
175
|
<svg
|
|
176
176
|
xmlns="http://www.w3.org/2000/svg"
|
|
177
177
|
viewBox="0 0 256 256"
|
|
178
178
|
fill="currentColor"
|
|
179
|
-
className={cn(
|
|
179
|
+
className={cn("h-4 w-4", className)}
|
|
180
180
|
{...props}
|
|
181
181
|
>
|
|
182
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
183
|
</svg>
|
|
184
|
-
)
|
|
184
|
+
);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
function IconUser({ className, ...props }: React.ComponentProps<
|
|
187
|
+
function IconUser({ className, ...props }: React.ComponentProps<"svg">) {
|
|
188
188
|
return (
|
|
189
189
|
<svg
|
|
190
190
|
xmlns="http://www.w3.org/2000/svg"
|
|
191
191
|
viewBox="0 0 256 256"
|
|
192
192
|
fill="currentColor"
|
|
193
|
-
className={cn(
|
|
193
|
+
className={cn("h-4 w-4", className)}
|
|
194
194
|
{...props}
|
|
195
195
|
>
|
|
196
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
197
|
</svg>
|
|
198
|
-
)
|
|
198
|
+
);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
function IconPlus({ className, ...props }: React.ComponentProps<
|
|
201
|
+
function IconPlus({ className, ...props }: React.ComponentProps<"svg">) {
|
|
202
202
|
return (
|
|
203
203
|
<svg
|
|
204
204
|
xmlns="http://www.w3.org/2000/svg"
|
|
205
205
|
viewBox="0 0 256 256"
|
|
206
206
|
fill="currentColor"
|
|
207
|
-
className={cn(
|
|
207
|
+
className={cn("h-4 w-4", className)}
|
|
208
208
|
{...props}
|
|
209
209
|
>
|
|
210
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
211
|
</svg>
|
|
212
|
-
)
|
|
212
|
+
);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
function IconArrowElbow({ className, ...props }: React.ComponentProps<
|
|
215
|
+
function IconArrowElbow({ className, ...props }: React.ComponentProps<"svg">) {
|
|
216
216
|
return (
|
|
217
217
|
<svg
|
|
218
218
|
xmlns="http://www.w3.org/2000/svg"
|
|
219
219
|
viewBox="0 0 256 256"
|
|
220
220
|
fill="currentColor"
|
|
221
|
-
className={cn(
|
|
221
|
+
className={cn("h-4 w-4", className)}
|
|
222
222
|
{...props}
|
|
223
223
|
>
|
|
224
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
225
|
</svg>
|
|
226
|
-
)
|
|
226
|
+
);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
function IconSpinner({ className, ...props }: React.ComponentProps<
|
|
229
|
+
function IconSpinner({ className, ...props }: React.ComponentProps<"svg">) {
|
|
230
230
|
return (
|
|
231
231
|
<svg
|
|
232
232
|
xmlns="http://www.w3.org/2000/svg"
|
|
233
233
|
viewBox="0 0 256 256"
|
|
234
234
|
fill="currentColor"
|
|
235
|
-
className={cn(
|
|
235
|
+
className={cn("h-4 w-4 animate-spin", className)}
|
|
236
236
|
{...props}
|
|
237
237
|
>
|
|
238
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
239
|
</svg>
|
|
240
|
-
)
|
|
240
|
+
);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
function IconMessage({ className, ...props }: React.ComponentProps<
|
|
243
|
+
function IconMessage({ className, ...props }: React.ComponentProps<"svg">) {
|
|
244
244
|
return (
|
|
245
245
|
<svg
|
|
246
246
|
xmlns="http://www.w3.org/2000/svg"
|
|
247
247
|
viewBox="0 0 256 256"
|
|
248
248
|
fill="currentColor"
|
|
249
|
-
className={cn(
|
|
249
|
+
className={cn("h-4 w-4", className)}
|
|
250
250
|
{...props}
|
|
251
251
|
>
|
|
252
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
253
|
</svg>
|
|
254
|
-
)
|
|
254
|
+
);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
function IconTrash({ className, ...props }: React.ComponentProps<
|
|
257
|
+
function IconTrash({ className, ...props }: React.ComponentProps<"svg">) {
|
|
258
258
|
return (
|
|
259
259
|
<svg
|
|
260
260
|
xmlns="http://www.w3.org/2000/svg"
|
|
261
261
|
viewBox="0 0 256 256"
|
|
262
262
|
fill="currentColor"
|
|
263
|
-
className={cn(
|
|
263
|
+
className={cn("h-4 w-4", className)}
|
|
264
264
|
{...props}
|
|
265
265
|
>
|
|
266
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
267
|
</svg>
|
|
268
|
-
)
|
|
268
|
+
);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
function IconRefresh({ className, ...props }: React.ComponentProps<
|
|
271
|
+
function IconRefresh({ className, ...props }: React.ComponentProps<"svg">) {
|
|
272
272
|
return (
|
|
273
273
|
<svg
|
|
274
274
|
xmlns="http://www.w3.org/2000/svg"
|
|
275
275
|
viewBox="0 0 256 256"
|
|
276
276
|
fill="currentColor"
|
|
277
|
-
className={cn(
|
|
277
|
+
className={cn("h-4 w-4", className)}
|
|
278
278
|
{...props}
|
|
279
279
|
>
|
|
280
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
281
|
</svg>
|
|
282
|
-
)
|
|
282
|
+
);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
function IconStop({ className, ...props }: React.ComponentProps<
|
|
285
|
+
function IconStop({ className, ...props }: React.ComponentProps<"svg">) {
|
|
286
286
|
return (
|
|
287
287
|
<svg
|
|
288
288
|
xmlns="http://www.w3.org/2000/svg"
|
|
289
289
|
viewBox="0 0 256 256"
|
|
290
290
|
fill="currentColor"
|
|
291
|
-
className={cn(
|
|
291
|
+
className={cn("h-4 w-4", className)}
|
|
292
292
|
{...props}
|
|
293
293
|
>
|
|
294
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
295
|
</svg>
|
|
296
|
-
)
|
|
296
|
+
);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
function IconSidebar({ className, ...props }: React.ComponentProps<
|
|
299
|
+
function IconSidebar({ className, ...props }: React.ComponentProps<"svg">) {
|
|
300
300
|
return (
|
|
301
301
|
<svg
|
|
302
302
|
xmlns="http://www.w3.org/2000/svg"
|
|
303
303
|
viewBox="0 0 256 256"
|
|
304
304
|
fill="currentColor"
|
|
305
|
-
className={cn(
|
|
305
|
+
className={cn("h-4 w-4", className)}
|
|
306
306
|
{...props}
|
|
307
307
|
>
|
|
308
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
309
|
</svg>
|
|
310
|
-
)
|
|
310
|
+
);
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
function IconMoon({ className, ...props }: React.ComponentProps<
|
|
313
|
+
function IconMoon({ className, ...props }: React.ComponentProps<"svg">) {
|
|
314
314
|
return (
|
|
315
315
|
<svg
|
|
316
316
|
xmlns="http://www.w3.org/2000/svg"
|
|
317
317
|
viewBox="0 0 256 256"
|
|
318
318
|
fill="currentColor"
|
|
319
|
-
className={cn(
|
|
319
|
+
className={cn("h-4 w-4", className)}
|
|
320
320
|
{...props}
|
|
321
321
|
>
|
|
322
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
323
|
</svg>
|
|
324
|
-
)
|
|
324
|
+
);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
function IconSun({ className, ...props }: React.ComponentProps<
|
|
327
|
+
function IconSun({ className, ...props }: React.ComponentProps<"svg">) {
|
|
328
328
|
return (
|
|
329
329
|
<svg
|
|
330
330
|
xmlns="http://www.w3.org/2000/svg"
|
|
331
331
|
viewBox="0 0 256 256"
|
|
332
332
|
fill="currentColor"
|
|
333
|
-
className={cn(
|
|
333
|
+
className={cn("h-4 w-4", className)}
|
|
334
334
|
{...props}
|
|
335
335
|
>
|
|
336
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
337
|
</svg>
|
|
338
|
-
)
|
|
338
|
+
);
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
function IconCopy({ className, ...props }: React.ComponentProps<
|
|
341
|
+
function IconCopy({ className, ...props }: React.ComponentProps<"svg">) {
|
|
342
342
|
return (
|
|
343
343
|
<svg
|
|
344
344
|
xmlns="http://www.w3.org/2000/svg"
|
|
345
345
|
viewBox="0 0 256 256"
|
|
346
346
|
fill="currentColor"
|
|
347
|
-
className={cn(
|
|
347
|
+
className={cn("h-4 w-4", className)}
|
|
348
348
|
{...props}
|
|
349
349
|
>
|
|
350
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
351
|
</svg>
|
|
352
|
-
)
|
|
352
|
+
);
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
function IconCheck({ className, ...props }: React.ComponentProps<
|
|
355
|
+
function IconCheck({ className, ...props }: React.ComponentProps<"svg">) {
|
|
356
356
|
return (
|
|
357
357
|
<svg
|
|
358
358
|
xmlns="http://www.w3.org/2000/svg"
|
|
359
359
|
viewBox="0 0 256 256"
|
|
360
360
|
fill="currentColor"
|
|
361
|
-
className={cn(
|
|
361
|
+
className={cn("h-4 w-4", className)}
|
|
362
362
|
{...props}
|
|
363
363
|
>
|
|
364
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
365
|
</svg>
|
|
366
|
-
)
|
|
366
|
+
);
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
function IconDownload({ className, ...props }: React.ComponentProps<
|
|
369
|
+
function IconDownload({ className, ...props }: React.ComponentProps<"svg">) {
|
|
370
370
|
return (
|
|
371
371
|
<svg
|
|
372
372
|
xmlns="http://www.w3.org/2000/svg"
|
|
373
373
|
viewBox="0 0 256 256"
|
|
374
374
|
fill="currentColor"
|
|
375
|
-
className={cn(
|
|
375
|
+
className={cn("h-4 w-4", className)}
|
|
376
376
|
{...props}
|
|
377
377
|
>
|
|
378
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
379
|
</svg>
|
|
380
|
-
)
|
|
380
|
+
);
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
function IconClose({ className, ...props }: React.ComponentProps<
|
|
383
|
+
function IconClose({ className, ...props }: React.ComponentProps<"svg">) {
|
|
384
384
|
return (
|
|
385
385
|
<svg
|
|
386
386
|
xmlns="http://www.w3.org/2000/svg"
|
|
387
387
|
viewBox="0 0 256 256"
|
|
388
388
|
fill="currentColor"
|
|
389
|
-
className={cn(
|
|
389
|
+
className={cn("h-4 w-4", className)}
|
|
390
390
|
{...props}
|
|
391
391
|
>
|
|
392
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
393
|
</svg>
|
|
394
|
-
)
|
|
394
|
+
);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
function IconEdit({ className, ...props }: React.ComponentProps<
|
|
397
|
+
function IconEdit({ className, ...props }: React.ComponentProps<"svg">) {
|
|
398
398
|
return (
|
|
399
399
|
<svg
|
|
400
400
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -402,7 +402,7 @@ function IconEdit({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
|
402
402
|
viewBox="0 0 24 24"
|
|
403
403
|
strokeWidth={1.5}
|
|
404
404
|
stroke="currentColor"
|
|
405
|
-
className={cn(
|
|
405
|
+
className={cn("h-4 w-4", className)}
|
|
406
406
|
{...props}
|
|
407
407
|
>
|
|
408
408
|
<path
|
|
@@ -411,69 +411,69 @@ function IconEdit({ className, ...props }: React.ComponentProps<'svg'>) {
|
|
|
411
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
412
|
/>
|
|
413
413
|
</svg>
|
|
414
|
-
)
|
|
414
|
+
);
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
function IconShare({ className, ...props }: React.ComponentProps<
|
|
417
|
+
function IconShare({ className, ...props }: React.ComponentProps<"svg">) {
|
|
418
418
|
return (
|
|
419
419
|
<svg
|
|
420
420
|
xmlns="http://www.w3.org/2000/svg"
|
|
421
421
|
fill="currentColor"
|
|
422
|
-
className={cn(
|
|
422
|
+
className={cn("h-4 w-4", className)}
|
|
423
423
|
viewBox="0 0 256 256"
|
|
424
424
|
{...props}
|
|
425
425
|
>
|
|
426
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
427
|
</svg>
|
|
428
|
-
)
|
|
428
|
+
);
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
function IconUsers({ className, ...props }: React.ComponentProps<
|
|
431
|
+
function IconUsers({ className, ...props }: React.ComponentProps<"svg">) {
|
|
432
432
|
return (
|
|
433
433
|
<svg
|
|
434
434
|
xmlns="http://www.w3.org/2000/svg"
|
|
435
435
|
fill="currentColor"
|
|
436
|
-
className={cn(
|
|
436
|
+
className={cn("h-4 w-4", className)}
|
|
437
437
|
viewBox="0 0 256 256"
|
|
438
438
|
{...props}
|
|
439
439
|
>
|
|
440
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
441
|
</svg>
|
|
442
|
-
)
|
|
442
|
+
);
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
function IconExternalLink({
|
|
446
446
|
className,
|
|
447
447
|
...props
|
|
448
|
-
}: React.ComponentProps<
|
|
448
|
+
}: React.ComponentProps<"svg">) {
|
|
449
449
|
return (
|
|
450
450
|
<svg
|
|
451
451
|
xmlns="http://www.w3.org/2000/svg"
|
|
452
452
|
fill="currentColor"
|
|
453
|
-
className={cn(
|
|
453
|
+
className={cn("h-4 w-4", className)}
|
|
454
454
|
viewBox="0 0 256 256"
|
|
455
455
|
{...props}
|
|
456
456
|
>
|
|
457
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
458
|
</svg>
|
|
459
|
-
)
|
|
459
|
+
);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
function IconChevronUpDown({
|
|
463
463
|
className,
|
|
464
464
|
...props
|
|
465
|
-
}: React.ComponentProps<
|
|
465
|
+
}: React.ComponentProps<"svg">) {
|
|
466
466
|
return (
|
|
467
467
|
<svg
|
|
468
468
|
xmlns="http://www.w3.org/2000/svg"
|
|
469
469
|
fill="currentColor"
|
|
470
|
-
className={cn(
|
|
470
|
+
className={cn("h-4 w-4", className)}
|
|
471
471
|
viewBox="0 0 256 256"
|
|
472
472
|
{...props}
|
|
473
473
|
>
|
|
474
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
475
|
</svg>
|
|
476
|
-
)
|
|
476
|
+
);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
export {
|
|
@@ -503,5 +503,5 @@ export {
|
|
|
503
503
|
IconShare,
|
|
504
504
|
IconUsers,
|
|
505
505
|
IconExternalLink,
|
|
506
|
-
IconChevronUpDown
|
|
507
|
-
}
|
|
506
|
+
IconChevronUpDown,
|
|
507
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
|
|
3
|
-
import { cn } from
|
|
3
|
+
import { cn } from "../../../lib/utils";
|
|
4
4
|
|
|
5
5
|
export interface InputProps
|
|
6
6
|
extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
@@ -11,15 +11,15 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
|
11
11
|
<input
|
|
12
12
|
type={type}
|
|
13
13
|
className={cn(
|
|
14
|
-
|
|
14
|
+
"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",
|
|
15
15
|
className
|
|
16
16
|
)}
|
|
17
17
|
ref={ref}
|
|
18
18
|
{...props}
|
|
19
19
|
/>
|
|
20
|
-
)
|
|
20
|
+
);
|
|
21
21
|
}
|
|
22
|
-
)
|
|
23
|
-
Input.displayName =
|
|
22
|
+
);
|
|
23
|
+
Input.displayName = "Input";
|
|
24
24
|
|
|
25
|
-
export { Input }
|
|
25
|
+
export { Input };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
2
|
|
|
3
|
-
import * as React from
|
|
4
|
-
import * as LabelPrimitive from
|
|
5
|
-
import { cva, type VariantProps } from
|
|
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
6
|
|
|
7
|
-
import { cn } from
|
|
7
|
+
import { cn } from "../../../lib/utils";
|
|
8
8
|
|
|
9
9
|
const labelVariants = cva(
|
|
10
|
-
|
|
11
|
-
)
|
|
10
|
+
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
11
|
+
);
|
|
12
12
|
|
|
13
13
|
const Label = React.forwardRef<
|
|
14
14
|
React.ElementRef<typeof LabelPrimitive.Root>,
|
|
@@ -20,7 +20,7 @@ const Label = React.forwardRef<
|
|
|
20
20
|
className={cn(labelVariants(), className)}
|
|
21
21
|
{...props}
|
|
22
22
|
/>
|
|
23
|
-
))
|
|
24
|
-
Label.displayName = LabelPrimitive.Root.displayName
|
|
23
|
+
));
|
|
24
|
+
Label.displayName = LabelPrimitive.Root.displayName;
|
|
25
25
|
|
|
26
|
-
export { Label }
|
|
26
|
+
export { Label };
|