@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
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { IconClose } from '../../../chunk-KR7MH7XO.mjs';
|
|
2
|
+
import { cn } from '../../../chunk-TVTG3V4F.mjs';
|
|
3
|
+
import { __objRest, __spreadProps, __spreadValues } from '../../../chunk-MRXNTQOX.mjs';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
6
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
var Sheet = SheetPrimitive.Root;
|
|
9
|
+
var SheetTrigger = SheetPrimitive.Trigger;
|
|
10
|
+
var SheetClose = SheetPrimitive.Close;
|
|
11
|
+
var SheetPortal = (_a) => {
|
|
12
|
+
var _b = _a, {
|
|
13
|
+
className,
|
|
14
|
+
children
|
|
15
|
+
} = _b, props = __objRest(_b, [
|
|
16
|
+
"className",
|
|
17
|
+
"children"
|
|
18
|
+
]);
|
|
19
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, __spreadProps(__spreadValues({
|
|
20
|
+
className: cn("fixed inset-0 z-50 flex", className)
|
|
21
|
+
}, props), {
|
|
22
|
+
children
|
|
23
|
+
}));
|
|
24
|
+
};
|
|
25
|
+
SheetPortal.displayName = SheetPrimitive.Portal.displayName;
|
|
26
|
+
var SheetOverlay = React.forwardRef((_a, ref) => {
|
|
27
|
+
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
28
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Overlay, __spreadProps(__spreadValues({
|
|
29
|
+
className: cn(
|
|
30
|
+
"fixed inset-0 z-50 transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in",
|
|
31
|
+
className
|
|
32
|
+
)
|
|
33
|
+
}, props), {
|
|
34
|
+
ref
|
|
35
|
+
}));
|
|
36
|
+
});
|
|
37
|
+
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
38
|
+
var SheetContent = React.forwardRef((_a, ref) => {
|
|
39
|
+
var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
|
|
40
|
+
return /* @__PURE__ */ jsx(SheetPortal, {
|
|
41
|
+
children: /* @__PURE__ */ jsxs(SheetPrimitive.Content, __spreadProps(__spreadValues({
|
|
42
|
+
ref,
|
|
43
|
+
className: cn(
|
|
44
|
+
"fixed z-50 h-full border-r bg-background p-6 opacity-100 shadow-lg data-[state=closed]:animate-slide-to-left data-[state=open]:animate-slide-from-left",
|
|
45
|
+
className
|
|
46
|
+
)
|
|
47
|
+
}, props), {
|
|
48
|
+
children: [
|
|
49
|
+
children,
|
|
50
|
+
/* @__PURE__ */ jsxs(SheetPrimitive.Close, {
|
|
51
|
+
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsx(IconClose, {}),
|
|
54
|
+
/* @__PURE__ */ jsx("span", {
|
|
55
|
+
className: "sr-only",
|
|
56
|
+
children: "Close"
|
|
57
|
+
})
|
|
58
|
+
]
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
}))
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
65
|
+
var SheetHeader = (_a) => {
|
|
66
|
+
var _b = _a, {
|
|
67
|
+
className
|
|
68
|
+
} = _b, props = __objRest(_b, [
|
|
69
|
+
"className"
|
|
70
|
+
]);
|
|
71
|
+
return /* @__PURE__ */ jsx("div", __spreadValues({
|
|
72
|
+
className: cn("flex flex-col space-y-2", className)
|
|
73
|
+
}, props));
|
|
74
|
+
};
|
|
75
|
+
SheetHeader.displayName = "SheetHeader";
|
|
76
|
+
var SheetFooter = (_a) => {
|
|
77
|
+
var _b = _a, {
|
|
78
|
+
className
|
|
79
|
+
} = _b, props = __objRest(_b, [
|
|
80
|
+
"className"
|
|
81
|
+
]);
|
|
82
|
+
return /* @__PURE__ */ jsx("div", __spreadValues({
|
|
83
|
+
className: cn(
|
|
84
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
85
|
+
className
|
|
86
|
+
)
|
|
87
|
+
}, props));
|
|
88
|
+
};
|
|
89
|
+
SheetFooter.displayName = "SheetFooter";
|
|
90
|
+
var SheetTitle = React.forwardRef((_a, ref) => {
|
|
91
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
92
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Title, __spreadValues({
|
|
93
|
+
ref,
|
|
94
|
+
className: cn("text-lg font-semibold text-foreground", className)
|
|
95
|
+
}, props));
|
|
96
|
+
});
|
|
97
|
+
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
98
|
+
var SheetDescription = React.forwardRef((_a, ref) => {
|
|
99
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
100
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Description, __spreadValues({
|
|
101
|
+
ref,
|
|
102
|
+
className: cn("text-sm text-muted-foreground", className)
|
|
103
|
+
}, props));
|
|
104
|
+
});
|
|
105
|
+
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
106
|
+
|
|
107
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
108
|
+
//# sourceMappingURL=out.js.map
|
|
109
|
+
//# sourceMappingURL=sheet.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/chat-components/ui/sheet.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,oBAAoB;AAgB9B,cAsCI,YAtCJ;AAnBF;AAQA,IAAM,QAAuB;AAE7B,IAAM,eAA8B;AAEpC,IAAM,aAA4B;AAElC,IAAM,cAAc,CAAC,OAIgB;AAJhB,eACnB;AAAA;AAAA,IACA;AAAA,EAhBF,IAcqB,IAGhB,kBAHgB,IAGhB;AAAA,IAFH;AAAA,IACA;AAAA;AAGA,6BAAgB,uBAAf;AAAA,IACC,WAAW,GAAG,2BAA2B,SAAS;AAAA,KAC9C,QAFL;AAAA,IAIE;AAAA,IACH;AAAA;AAEF,YAAY,cAA6B,sBAAO;AAEhD,IAAM,eAAqB,iBAGzB,CAAC,IAAmC,QAAK;AAAxC,eAAE,aAAW,SA/BhB,IA+BG,IAA0B,kBAA1B,IAA0B,CAAxB,aAAW;AACd,6BAAgB,wBAAf;AAAA,IACC,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,QALL;AAAA,IAMC;AAAA,IACF;AAAA,CACD;AACD,aAAa,cAA6B,uBAAQ;AAElD,IAAM,eAAqB,iBAGzB,CAAC,IAAmC,QAAK;AAAxC,eAAE,aAAW,SA9ChB,IA8CG,IAA0B,kBAA1B,IAA0B,CAAxB,aAAW;AACd,6BAAC;AAAA,IACC,+BAAgB,wBAAf;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI,QANL;AAAA,MAQE;AAAA;AAAA,QACD,qBAAgB,sBAAf;AAAA,UAAqB,WAAU;AAAA,UAC9B;AAAA,gCAAC,aAAU;AAAA,YACX,oBAAC;AAAA,cAAK,WAAU;AAAA,cAAU;AAAA,aAAK;AAAA;AAAA,SACjC;AAAA;AAAA,MACF;AAAA,GACF;AAAA,CACD;AACD,aAAa,cAA6B,uBAAQ;AAElD,IAAM,cAAc,CAAC,OAGoB;AAHpB,eACnB;AAAA;AAAA,EAnEF,IAkEqB,IAEhB,kBAFgB,IAEhB;AAAA,IADH;AAAA;AAGA,6BAAC;AAAA,IAAI,WAAW,GAAG,2BAA2B,SAAS;AAAA,KAAO,MAAO;AAAA;AAEvE,YAAY,cAAc;AAE1B,IAAM,cAAc,CAAC,OAGoB;AAHpB,eACnB;AAAA;AAAA,EA3EF,IA0EqB,IAEhB,kBAFgB,IAEhB;AAAA,IADH;AAAA;AAGA,6BAAC;AAAA,IACC,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,MACN;AAAA;AAEF,YAAY,cAAc;AAE1B,IAAM,aAAmB,iBAGvB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA3FL,IA2FG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAgB,sBAAf;AAAA,IACC;AAAA,IACA,WAAW,GAAG,yCAAyC,SAAS;AAAA,KAC5D,MACN;AAAA,CACD;AACD,WAAW,cAA6B,qBAAM;AAE9C,IAAM,mBAAyB,iBAG7B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAvGL,IAuGG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAgB,4BAAf;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,KACpD,MACN;AAAA,CACD;AACD,iBAAiB,cAA6B,2BAAY","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\";\n\nimport { cn } from \"../../../lib/utils\";\nimport { IconClose } from \"./icons\";\n\nconst Sheet = SheetPrimitive.Root;\n\nconst SheetTrigger = SheetPrimitive.Trigger;\n\nconst SheetClose = SheetPrimitive.Close;\n\nconst SheetPortal = ({\n className,\n children,\n ...props\n}: SheetPrimitive.DialogPortalProps) => (\n <SheetPrimitive.Portal\n className={cn(\"fixed inset-0 z-50 flex\", className)}\n {...props}\n >\n {children}\n </SheetPrimitive.Portal>\n);\nSheetPortal.displayName = SheetPrimitive.Portal.displayName;\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\n>(({ className, children, ...props }, ref) => (\n <SheetPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 transition-all duration-100 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in\",\n className\n )}\n {...props}\n ref={ref}\n />\n));\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName;\n\nconst SheetContent = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <SheetPortal>\n <SheetPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed z-50 h-full border-r bg-background p-6 opacity-100 shadow-lg data-[state=closed]:animate-slide-to-left data-[state=open]:animate-slide-from-left\",\n className\n )}\n {...props}\n >\n {children}\n <SheetPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary\">\n <IconClose />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n));\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\nconst SheetHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn(\"flex flex-col space-y-2\", className)} {...props} />\n);\nSheetHeader.displayName = \"SheetHeader\";\n\nconst SheetFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\n className\n )}\n {...props}\n />\n);\nSheetFooter.displayName = \"SheetFooter\";\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n));\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
3
|
+
|
|
4
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
|
|
6
|
+
export { Switch };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { cn } from '../../../chunk-TVTG3V4F.mjs';
|
|
2
|
+
import { __objRest, __spreadProps, __spreadValues } from '../../../chunk-MRXNTQOX.mjs';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
var Switch = React.forwardRef((_a, ref) => {
|
|
8
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
9
|
+
return /* @__PURE__ */ jsx(SwitchPrimitives.Root, __spreadProps(__spreadValues({
|
|
10
|
+
className: cn(
|
|
11
|
+
"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
12
|
+
className
|
|
13
|
+
)
|
|
14
|
+
}, props), {
|
|
15
|
+
ref,
|
|
16
|
+
children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, {
|
|
17
|
+
className: cn(
|
|
18
|
+
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
19
|
+
)
|
|
20
|
+
})
|
|
21
|
+
}));
|
|
22
|
+
});
|
|
23
|
+
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
24
|
+
|
|
25
|
+
export { Switch };
|
|
26
|
+
//# sourceMappingURL=out.js.map
|
|
27
|
+
//# sourceMappingURL=switch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/chat-components/ui/switch.tsx"],"names":[],"mappings":";;;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,sBAAsB;AAgB9B;AAnBJ;AAOA,IAAM,SAAe,iBAGnB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAVL,IAUG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAkB,uBAAjB;AAAA,IACC,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,QALL;AAAA,IAMC;AAAA,IAEA,8BAAkB,wBAAjB;AAAA,MACC,WAAW;AAAA,QACT;AAAA,MACF;AAAA,KACF;AAAA,IACF;AAAA,CACD;AACD,OAAO,cAA+B,sBAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SwitchPrimitives from \"@radix-ui/react-switch\";\n\nimport { cn } from \"../../../lib/utils\";\n\nconst Switch = React.forwardRef<\n React.ElementRef<typeof SwitchPrimitives.Root>,\n React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>\n>(({ className, ...props }, ref) => (\n <SwitchPrimitives.Root\n className={cn(\n \"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input\",\n className\n )}\n {...props}\n ref={ref}\n >\n <SwitchPrimitives.Thumb\n className={cn(\n \"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0\"\n )}\n />\n </SwitchPrimitives.Root>\n));\nSwitch.displayName = SwitchPrimitives.Root.displayName;\n\nexport { Switch };\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
4
|
+
}
|
|
5
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
6
|
+
|
|
7
|
+
export { Textarea, TextareaProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { cn } from '../../../chunk-TVTG3V4F.mjs';
|
|
2
|
+
import { __objRest, __spreadValues } from '../../../chunk-MRXNTQOX.mjs';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
var Textarea = React.forwardRef(
|
|
7
|
+
(_a, ref) => {
|
|
8
|
+
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
9
|
+
return /* @__PURE__ */ jsx("textarea", __spreadValues({
|
|
10
|
+
className: cn(
|
|
11
|
+
"flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background 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",
|
|
12
|
+
className
|
|
13
|
+
),
|
|
14
|
+
ref
|
|
15
|
+
}, props));
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
Textarea.displayName = "Textarea";
|
|
19
|
+
|
|
20
|
+
export { Textarea };
|
|
21
|
+
//# sourceMappingURL=out.js.map
|
|
22
|
+
//# sourceMappingURL=textarea.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/chat-components/ui/textarea.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAUjB;AAHN,IAAM,WAAiB;AAAA,EACrB,CAAC,IAAyB,QAAQ;AAAjC,iBAAE,YARL,IAQG,IAAgB,kBAAhB,IAAgB,CAAd;AACD,WACE,oBAAC;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACA;AAAA,OACI,MACN;AAAA,EAEJ;AACF;AACA,SAAS,cAAc","sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../../../lib/utils\";\n\nexport interface TextareaProps\n extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background 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\",\n className\n )}\n ref={ref}\n {...props}\n />\n );\n }\n);\nTextarea.displayName = \"Textarea\";\n\nexport { Textarea };\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
+
|
|
4
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
5
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
6
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
|
|
9
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { CopilotChat } from './chat-components/copilot-chat.js';
|
|
2
|
+
export { Tooltip, TooltipProvider } from './chat-components/ui/tooltip.js';
|
|
3
|
+
export { CopilotSidebarUIProvider } from './sidebar/copilot-sidebar-ui-provider.js';
|
|
4
|
+
export { CopilotSidebar } from './sidebar/copilot-sidebar.js';
|
|
5
|
+
export { CopilotSidebarContext, CopilotSidebarContextType } from './sidebar/sidebar-context.js';
|
|
6
|
+
import 'react';
|
|
7
|
+
import './chat-components/default-empty-screen.js';
|
|
8
|
+
import '@copilotkit/react-core';
|
|
9
|
+
import '@radix-ui/react-tooltip';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import '../chunk-U6NJWGTV.mjs';
|
|
2
|
+
export { CopilotSidebarUIProvider } from '../chunk-46XC7ODX.mjs';
|
|
3
|
+
export { CopilotSidebar } from '../chunk-SF56HSZW.mjs';
|
|
4
|
+
export { CopilotSidebarContext } from '../chunk-MC6KTH4X.mjs';
|
|
5
|
+
export { CopilotChat } from '../chunk-XZFO2YEG.mjs';
|
|
6
|
+
import '../chunk-VSNDSL6W.mjs';
|
|
7
|
+
import '../chunk-KXJV37FS.mjs';
|
|
8
|
+
import '../chunk-BB6IP63P.mjs';
|
|
9
|
+
import '../chunk-DOMJCSI6.mjs';
|
|
10
|
+
import '../chunk-QEXWZWJL.mjs';
|
|
11
|
+
import '../chunk-VQNV2DHJ.mjs';
|
|
12
|
+
import '../chunk-6LRNF2VU.mjs';
|
|
13
|
+
import '../chunk-E5BOIXYO.mjs';
|
|
14
|
+
import '../chunk-E2YBQYWM.mjs';
|
|
15
|
+
import '../chunk-4HK6C362.mjs';
|
|
16
|
+
export { Tooltip, TooltipProvider } from '../chunk-BS6RR2DJ.mjs';
|
|
17
|
+
import '../chunk-RSONJDLO.mjs';
|
|
18
|
+
import '../chunk-V6QYUEJR.mjs';
|
|
19
|
+
import '../chunk-KR7MH7XO.mjs';
|
|
20
|
+
import '../chunk-N7KB3Z57.mjs';
|
|
21
|
+
import '../chunk-6LAC5RA2.mjs';
|
|
22
|
+
import '../chunk-BIPCPNHG.mjs';
|
|
23
|
+
import '../chunk-TVTG3V4F.mjs';
|
|
24
|
+
import '../chunk-MRXNTQOX.mjs';
|
|
25
|
+
//# sourceMappingURL=out.js.map
|
|
26
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface CopilotSidebarUIProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare function CopilotSidebarUIProvider({ children, }: CopilotSidebarUIProviderProps): JSX.Element;
|
|
7
|
+
|
|
8
|
+
export { CopilotSidebarUIProvider, CopilotSidebarUIProviderProps };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { CopilotSidebarUIProvider } from '../../chunk-46XC7ODX.mjs';
|
|
2
|
+
import '../../chunk-SF56HSZW.mjs';
|
|
3
|
+
import '../../chunk-MC6KTH4X.mjs';
|
|
4
|
+
import '../../chunk-XZFO2YEG.mjs';
|
|
5
|
+
import '../../chunk-VSNDSL6W.mjs';
|
|
6
|
+
import '../../chunk-KXJV37FS.mjs';
|
|
7
|
+
import '../../chunk-BB6IP63P.mjs';
|
|
8
|
+
import '../../chunk-DOMJCSI6.mjs';
|
|
9
|
+
import '../../chunk-QEXWZWJL.mjs';
|
|
10
|
+
import '../../chunk-VQNV2DHJ.mjs';
|
|
11
|
+
import '../../chunk-6LRNF2VU.mjs';
|
|
12
|
+
import '../../chunk-E5BOIXYO.mjs';
|
|
13
|
+
import '../../chunk-E2YBQYWM.mjs';
|
|
14
|
+
import '../../chunk-4HK6C362.mjs';
|
|
15
|
+
import '../../chunk-BS6RR2DJ.mjs';
|
|
16
|
+
import '../../chunk-RSONJDLO.mjs';
|
|
17
|
+
import '../../chunk-V6QYUEJR.mjs';
|
|
18
|
+
import '../../chunk-KR7MH7XO.mjs';
|
|
19
|
+
import '../../chunk-N7KB3Z57.mjs';
|
|
20
|
+
import '../../chunk-6LAC5RA2.mjs';
|
|
21
|
+
import '../../chunk-BIPCPNHG.mjs';
|
|
22
|
+
import '../../chunk-TVTG3V4F.mjs';
|
|
23
|
+
import '../../chunk-MRXNTQOX.mjs';
|
|
24
|
+
//# sourceMappingURL=out.js.map
|
|
25
|
+
//# sourceMappingURL=copilot-sidebar-ui-provider.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { CopilotSidebar } from '../../chunk-SF56HSZW.mjs';
|
|
2
|
+
import '../../chunk-XZFO2YEG.mjs';
|
|
3
|
+
import '../../chunk-VSNDSL6W.mjs';
|
|
4
|
+
import '../../chunk-KXJV37FS.mjs';
|
|
5
|
+
import '../../chunk-BB6IP63P.mjs';
|
|
6
|
+
import '../../chunk-DOMJCSI6.mjs';
|
|
7
|
+
import '../../chunk-QEXWZWJL.mjs';
|
|
8
|
+
import '../../chunk-VQNV2DHJ.mjs';
|
|
9
|
+
import '../../chunk-6LRNF2VU.mjs';
|
|
10
|
+
import '../../chunk-E5BOIXYO.mjs';
|
|
11
|
+
import '../../chunk-E2YBQYWM.mjs';
|
|
12
|
+
import '../../chunk-4HK6C362.mjs';
|
|
13
|
+
import '../../chunk-BS6RR2DJ.mjs';
|
|
14
|
+
import '../../chunk-RSONJDLO.mjs';
|
|
15
|
+
import '../../chunk-V6QYUEJR.mjs';
|
|
16
|
+
import '../../chunk-KR7MH7XO.mjs';
|
|
17
|
+
import '../../chunk-N7KB3Z57.mjs';
|
|
18
|
+
import '../../chunk-6LAC5RA2.mjs';
|
|
19
|
+
import '../../chunk-BIPCPNHG.mjs';
|
|
20
|
+
import '../../chunk-TVTG3V4F.mjs';
|
|
21
|
+
import '../../chunk-MRXNTQOX.mjs';
|
|
22
|
+
//# sourceMappingURL=out.js.map
|
|
23
|
+
//# sourceMappingURL=copilot-sidebar.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface CopilotSidebarContextType {
|
|
4
|
+
isSidebarOpen: boolean;
|
|
5
|
+
toggleSidebar: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const CopilotSidebarContext: React.Context<CopilotSidebarContextType>;
|
|
8
|
+
|
|
9
|
+
export { CopilotSidebarContext, CopilotSidebarContextType };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface useCopyToClipboardProps {
|
|
2
|
+
timeout?: number;
|
|
3
|
+
}
|
|
4
|
+
declare function useCopyToClipboard({ timeout, }: useCopyToClipboardProps): {
|
|
5
|
+
isCopied: Boolean;
|
|
6
|
+
copyToClipboard: (value: string) => void;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { useCopyToClipboard, useCopyToClipboardProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|