@cogentic-co/ds 0.4.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/LICENSE +21 -0
- package/README.md +139 -0
- package/dist/animations/animation-ai-analysis.d.ts +7 -0
- package/dist/animations/animation-ai-analysis.js +7 -0
- package/dist/animations/animation-ai-analysis.js.map +1 -0
- package/dist/animations/animation-audit-trail.d.ts +7 -0
- package/dist/animations/animation-audit-trail.js +5 -0
- package/dist/animations/animation-audit-trail.js.map +1 -0
- package/dist/animations/animation-compliance-reports.d.ts +7 -0
- package/dist/animations/animation-compliance-reports.js +7 -0
- package/dist/animations/animation-compliance-reports.js.map +1 -0
- package/dist/animations/animation-custom-rules.d.ts +7 -0
- package/dist/animations/animation-custom-rules.js +7 -0
- package/dist/animations/animation-custom-rules.js.map +1 -0
- package/dist/animations/animation-jira-ticket.d.ts +7 -0
- package/dist/animations/animation-jira-ticket.js +6 -0
- package/dist/animations/animation-jira-ticket.js.map +1 -0
- package/dist/animations/animation-jurisdiction-detection.d.ts +7 -0
- package/dist/animations/animation-jurisdiction-detection.js +7 -0
- package/dist/animations/animation-jurisdiction-detection.js.map +1 -0
- package/dist/animations/animation-multi-protocol.d.ts +7 -0
- package/dist/animations/animation-multi-protocol.js +5 -0
- package/dist/animations/animation-multi-protocol.js.map +1 -0
- package/dist/animations/animation-pricing-preview.d.ts +16 -0
- package/dist/animations/animation-pricing-preview.js +7 -0
- package/dist/animations/animation-pricing-preview.js.map +1 -0
- package/dist/animations/animation-realtime-updates.d.ts +7 -0
- package/dist/animations/animation-realtime-updates.js +8 -0
- package/dist/animations/animation-realtime-updates.js.map +1 -0
- package/dist/animations/animation-rest-api.d.ts +7 -0
- package/dist/animations/animation-rest-api.js +5 -0
- package/dist/animations/animation-rest-api.js.map +1 -0
- package/dist/animations/animation-risk-scoring.d.ts +7 -0
- package/dist/animations/animation-risk-scoring.js +8 -0
- package/dist/animations/animation-risk-scoring.js.map +1 -0
- package/dist/animations/animation-sandbox.d.ts +7 -0
- package/dist/animations/animation-sandbox.js +5 -0
- package/dist/animations/animation-sandbox.js.map +1 -0
- package/dist/animations/animation-scheduled-reports.d.ts +7 -0
- package/dist/animations/animation-scheduled-reports.js +7 -0
- package/dist/animations/animation-scheduled-reports.js.map +1 -0
- package/dist/animations/animation-secure-messaging.d.ts +7 -0
- package/dist/animations/animation-secure-messaging.js +6 -0
- package/dist/animations/animation-secure-messaging.js.map +1 -0
- package/dist/animations/animation-slack-notification.d.ts +7 -0
- package/dist/animations/animation-slack-notification.js +6 -0
- package/dist/animations/animation-slack-notification.js.map +1 -0
- package/dist/animations/animation-sop-mapping.d.ts +7 -0
- package/dist/animations/animation-sop-mapping.js +5 -0
- package/dist/animations/animation-sop-mapping.js.map +1 -0
- package/dist/animations/animation-team-routing.d.ts +7 -0
- package/dist/animations/animation-team-routing.js +7 -0
- package/dist/animations/animation-team-routing.js.map +1 -0
- package/dist/animations/animation-teams-notification.d.ts +7 -0
- package/dist/animations/animation-teams-notification.js +6 -0
- package/dist/animations/animation-teams-notification.js.map +1 -0
- package/dist/animations/animation-vasp-identification.d.ts +7 -0
- package/dist/animations/animation-vasp-identification.js +7 -0
- package/dist/animations/animation-vasp-identification.js.map +1 -0
- package/dist/animations/animation-webhooks.d.ts +7 -0
- package/dist/animations/animation-webhooks.js +6 -0
- package/dist/animations/animation-webhooks.js.map +1 -0
- package/dist/blocks/auth-form.d.ts +18 -0
- package/dist/blocks/auth-form.js +7 -0
- package/dist/blocks/auth-form.js.map +1 -0
- package/dist/blocks/feature-section.d.ts +17 -0
- package/dist/blocks/feature-section.js +5 -0
- package/dist/blocks/feature-section.js.map +1 -0
- package/dist/blocks/hero-section.d.ts +19 -0
- package/dist/blocks/hero-section.js +5 -0
- package/dist/blocks/hero-section.js.map +1 -0
- package/dist/blocks/pricing-table.d.ts +24 -0
- package/dist/blocks/pricing-table.js +6 -0
- package/dist/blocks/pricing-table.js.map +1 -0
- package/dist/blocks/stat-card.d.ts +15 -0
- package/dist/blocks/stat-card.js +6 -0
- package/dist/blocks/stat-card.js.map +1 -0
- package/dist/card-Cumdyf_G.d.ts +15 -0
- package/dist/charts.d.ts +4 -0
- package/dist/charts.js +5 -0
- package/dist/charts.js.map +1 -0
- package/dist/chatbot.d.ts +280 -0
- package/dist/chatbot.js +2202 -0
- package/dist/chatbot.js.map +1 -0
- package/dist/chunk-4NEQV6H2.js +39 -0
- package/dist/chunk-4NEQV6H2.js.map +1 -0
- package/dist/chunk-4YD3YS4B.js +110 -0
- package/dist/chunk-4YD3YS4B.js.map +1 -0
- package/dist/chunk-5JLZ42JT.js +125 -0
- package/dist/chunk-5JLZ42JT.js.map +1 -0
- package/dist/chunk-5OOO6TRA.js +111 -0
- package/dist/chunk-5OOO6TRA.js.map +1 -0
- package/dist/chunk-65Z2VEKG.js +161 -0
- package/dist/chunk-65Z2VEKG.js.map +1 -0
- package/dist/chunk-6RWCZUAD.js +12 -0
- package/dist/chunk-6RWCZUAD.js.map +1 -0
- package/dist/chunk-7HRPF2N2.js +56 -0
- package/dist/chunk-7HRPF2N2.js.map +1 -0
- package/dist/chunk-BNFSXNP2.js +71 -0
- package/dist/chunk-BNFSXNP2.js.map +1 -0
- package/dist/chunk-BTFYV3TI.js +102 -0
- package/dist/chunk-BTFYV3TI.js.map +1 -0
- package/dist/chunk-BTZB4JRC.js +117 -0
- package/dist/chunk-BTZB4JRC.js.map +1 -0
- package/dist/chunk-BZSA47MS.js +121 -0
- package/dist/chunk-BZSA47MS.js.map +1 -0
- package/dist/chunk-CG5JA7FM.js +107 -0
- package/dist/chunk-CG5JA7FM.js.map +1 -0
- package/dist/chunk-EFLWU2JP.js +145 -0
- package/dist/chunk-EFLWU2JP.js.map +1 -0
- package/dist/chunk-F7REPQOA.js +93 -0
- package/dist/chunk-F7REPQOA.js.map +1 -0
- package/dist/chunk-FKPK3CB7.js +143 -0
- package/dist/chunk-FKPK3CB7.js.map +1 -0
- package/dist/chunk-GZNLQE3I.js +55 -0
- package/dist/chunk-GZNLQE3I.js.map +1 -0
- package/dist/chunk-H7VUIMEL.js +172 -0
- package/dist/chunk-H7VUIMEL.js.map +1 -0
- package/dist/chunk-HTYR73ON.js +161 -0
- package/dist/chunk-HTYR73ON.js.map +1 -0
- package/dist/chunk-I26ZXVSY.js +124 -0
- package/dist/chunk-I26ZXVSY.js.map +1 -0
- package/dist/chunk-IKATDPHG.js +92 -0
- package/dist/chunk-IKATDPHG.js.map +1 -0
- package/dist/chunk-KUOF3XRZ.js +108 -0
- package/dist/chunk-KUOF3XRZ.js.map +1 -0
- package/dist/chunk-LW6GAWZM.js +148 -0
- package/dist/chunk-LW6GAWZM.js.map +1 -0
- package/dist/chunk-N7PBUY7G.js +110 -0
- package/dist/chunk-N7PBUY7G.js.map +1 -0
- package/dist/chunk-NAPDFVBI.js +102 -0
- package/dist/chunk-NAPDFVBI.js.map +1 -0
- package/dist/chunk-RTK7R4KZ.js +66 -0
- package/dist/chunk-RTK7R4KZ.js.map +1 -0
- package/dist/chunk-RXV2XUDZ.js +31 -0
- package/dist/chunk-RXV2XUDZ.js.map +1 -0
- package/dist/chunk-RZZTDJHG.js +110 -0
- package/dist/chunk-RZZTDJHG.js.map +1 -0
- package/dist/chunk-SNOJLZP4.js +197 -0
- package/dist/chunk-SNOJLZP4.js.map +1 -0
- package/dist/chunk-TAPJEVUA.js +24 -0
- package/dist/chunk-TAPJEVUA.js.map +1 -0
- package/dist/chunk-U4EPKN7G.js +518 -0
- package/dist/chunk-U4EPKN7G.js.map +1 -0
- package/dist/chunk-VWSX75RB.js +202 -0
- package/dist/chunk-VWSX75RB.js.map +1 -0
- package/dist/chunk-XFWKI45G.js +800 -0
- package/dist/chunk-XFWKI45G.js.map +1 -0
- package/dist/chunk-XQYFQ6PU.js +77 -0
- package/dist/chunk-XQYFQ6PU.js.map +1 -0
- package/dist/index-CcPuHWa-.d.ts +118 -0
- package/dist/index.d.ts +1385 -0
- package/dist/index.js +8673 -0
- package/dist/index.js.map +1 -0
- package/dist/workflow.d.ts +165 -0
- package/dist/workflow.js +5 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +157 -0
- package/src/styles/globals.css +211 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"feature-section.js"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
|
|
6
|
+
declare const heroVariants: (props?: ({
|
|
7
|
+
variant?: "split" | "default" | "centered" | null | undefined;
|
|
8
|
+
size?: "sm" | "lg" | "md" | "full" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
type HeroSectionProps = React.ComponentProps<"section"> & VariantProps<typeof heroVariants> & {
|
|
11
|
+
title: React.ReactNode;
|
|
12
|
+
subtitle?: React.ReactNode;
|
|
13
|
+
actions?: React.ReactNode;
|
|
14
|
+
media?: React.ReactNode;
|
|
15
|
+
badge?: React.ReactNode;
|
|
16
|
+
};
|
|
17
|
+
declare function HeroSection({ title, subtitle, actions, media, badge, variant, size, className, ...props }: HeroSectionProps): react_jsx_runtime.JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { HeroSection, type HeroSectionProps, heroVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"hero-section.js"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
type Plan = {
|
|
4
|
+
name: string;
|
|
5
|
+
monthlyPrice?: string;
|
|
6
|
+
annualPrice?: string;
|
|
7
|
+
perUnitMonthly?: string;
|
|
8
|
+
perUnitAnnual?: string;
|
|
9
|
+
features: string[];
|
|
10
|
+
ctaLabel: string;
|
|
11
|
+
ctaHref?: string;
|
|
12
|
+
highlight?: boolean;
|
|
13
|
+
badge?: string;
|
|
14
|
+
blurb?: string;
|
|
15
|
+
};
|
|
16
|
+
interface PricingTableProps {
|
|
17
|
+
headline?: string;
|
|
18
|
+
subheadline?: string;
|
|
19
|
+
plans?: Plan[];
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
declare function PricingTable({ headline, subheadline, plans, className }: PricingTableProps): react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
export { type Plan, PricingTable, type PricingTableProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"pricing-table.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { C as Card } from '../card-Cumdyf_G.js';
|
|
4
|
+
|
|
5
|
+
type StatCardProps = React.ComponentProps<typeof Card> & {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string | number;
|
|
8
|
+
description?: string;
|
|
9
|
+
trend?: string;
|
|
10
|
+
trendDirection?: "up" | "down" | "neutral";
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
declare function StatCard({ label, value, description, trend, trendDirection, icon, className, ...props }: StatCardProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { StatCard, type StatCardProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"stat-card.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
declare function Card({ className, size, padding, ...props }: React.ComponentProps<"div"> & {
|
|
5
|
+
size?: "default" | "sm";
|
|
6
|
+
padding?: "none" | "xs" | "sm" | "default" | "lg";
|
|
7
|
+
}): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
9
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
10
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
11
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
12
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { Card as C, CardAction as a, CardContent as b, CardDescription as c, CardFooter as d, CardHeader as e, CardTitle as f };
|
package/dist/charts.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { A as AreaChart, a as AreaChartProps, B as BarChart, b as BarChartProps, L as LineChart, i as LineChartProps, P as PieChart, j as PieChartProps, R as RadialChart, k as RadialChartProps } from './index-CcPuHWa-.js';
|
|
2
|
+
import 'react/jsx-runtime';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'recharts';
|
package/dist/charts.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"charts.js"}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps, ReactNode, ElementType } from 'react';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
declare function Attachments({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
7
|
+
type AttachmentType = "image" | "video" | "audio" | "file";
|
|
8
|
+
declare function Attachment({ name, type, url, onRemove, className, ...props }: ComponentProps<"div"> & {
|
|
9
|
+
name: string;
|
|
10
|
+
type?: AttachmentType;
|
|
11
|
+
url?: string;
|
|
12
|
+
onRemove?: () => void;
|
|
13
|
+
}): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
15
|
+
declare function ChainOfThought({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
16
|
+
defaultOpen?: boolean;
|
|
17
|
+
}): react_jsx_runtime.JSX.Element;
|
|
18
|
+
declare function ChainOfThoughtHeader({ className, children, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
19
|
+
declare function ChainOfThoughtContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
20
|
+
declare function ChainOfThoughtStep({ step, status, className, children, ...props }: ComponentProps<"div"> & {
|
|
21
|
+
step: number;
|
|
22
|
+
status?: "pending" | "active" | "complete";
|
|
23
|
+
}): react_jsx_runtime.JSX.Element;
|
|
24
|
+
declare function ChainOfThoughtSearchResults({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
25
|
+
declare function ChainOfThoughtSearchResult({ title, url, className, ...props }: ComponentProps<"a"> & {
|
|
26
|
+
title: string;
|
|
27
|
+
url: string;
|
|
28
|
+
}): react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
declare function Checkpoint({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare function CheckpointIcon({ icon, className, ...props }: ComponentProps<"span"> & {
|
|
32
|
+
icon?: ReactNode;
|
|
33
|
+
}): react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare function CheckpointTrigger({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
declare const confirmationVariants: (props?: ({
|
|
37
|
+
status?: "pending" | "accepted" | "rejected" | null | undefined;
|
|
38
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
39
|
+
declare function Confirmation({ status, className, children, ...props }: ComponentProps<"div"> & VariantProps<typeof confirmationVariants>): react_jsx_runtime.JSX.Element;
|
|
40
|
+
declare function ConfirmationRequest({ icon, title, description, className, ...props }: ComponentProps<"div"> & {
|
|
41
|
+
icon?: ReactNode;
|
|
42
|
+
title: string;
|
|
43
|
+
description?: string;
|
|
44
|
+
}): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare function ConfirmationAccepted({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
46
|
+
declare function ConfirmationRejected({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare function ConfirmationActions({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
48
|
+
declare function ConfirmationAction({ variant, className, ...props }: ComponentProps<"button"> & {
|
|
49
|
+
variant?: "default" | "destructive";
|
|
50
|
+
}): react_jsx_runtime.JSX.Element;
|
|
51
|
+
|
|
52
|
+
declare function Context({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare function ContextHeader({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare function ContextBody({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
55
|
+
declare function ContextUsage({ label, used, total, className, ...props }: ComponentProps<"div"> & {
|
|
56
|
+
label: string;
|
|
57
|
+
used: number;
|
|
58
|
+
total: number;
|
|
59
|
+
}): react_jsx_runtime.JSX.Element;
|
|
60
|
+
|
|
61
|
+
declare function Conversation({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function ConversationContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function ConversationEmptyState({ title, description, icon, className, children, ...props }: ComponentProps<"div"> & {
|
|
64
|
+
title?: string;
|
|
65
|
+
description?: string;
|
|
66
|
+
icon?: ReactNode;
|
|
67
|
+
}): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function ConversationScrollButton({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function ConversationDownload({ messages, filename, formatMessage, className, ...props }: Omit<ComponentProps<"button">, "onClick"> & {
|
|
70
|
+
messages: Array<{
|
|
71
|
+
role: string;
|
|
72
|
+
content: string;
|
|
73
|
+
}>;
|
|
74
|
+
filename?: string;
|
|
75
|
+
formatMessage?: (msg: {
|
|
76
|
+
role: string;
|
|
77
|
+
content: string;
|
|
78
|
+
}, index: number) => string;
|
|
79
|
+
}): react_jsx_runtime.JSX.Element;
|
|
80
|
+
|
|
81
|
+
declare function InlineCitation({ index, href, title, description, children, className, ...props }: ComponentProps<"span"> & {
|
|
82
|
+
index: number;
|
|
83
|
+
href: string;
|
|
84
|
+
title: string;
|
|
85
|
+
description?: string;
|
|
86
|
+
}): react_jsx_runtime.JSX.Element;
|
|
87
|
+
declare function InlineCitationCard({ href, title, description, className, ...props }: ComponentProps<"a"> & {
|
|
88
|
+
title: string;
|
|
89
|
+
description?: string;
|
|
90
|
+
}): react_jsx_runtime.JSX.Element;
|
|
91
|
+
|
|
92
|
+
type MessageRole = "user" | "assistant" | "system";
|
|
93
|
+
declare const messageVariants: (props?: ({
|
|
94
|
+
from?: "user" | "assistant" | "system" | null | undefined;
|
|
95
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
96
|
+
declare function Message({ from, className, children, ...props }: ComponentProps<"div"> & {
|
|
97
|
+
from?: MessageRole;
|
|
98
|
+
}): react_jsx_runtime.JSX.Element;
|
|
99
|
+
declare function MessageAvatar({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
100
|
+
declare function MessageContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
101
|
+
declare const responseBubbleVariants: (props?: ({
|
|
102
|
+
from?: "user" | "assistant" | "system" | null | undefined;
|
|
103
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
+
declare function MessageResponse({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
105
|
+
declare function MessageActions({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
106
|
+
declare function MessageAction({ tooltip, className, ...props }: ComponentProps<"button"> & {
|
|
107
|
+
tooltip?: string;
|
|
108
|
+
}): react_jsx_runtime.JSX.Element;
|
|
109
|
+
declare function MessageCopyAction({ content, className, ...props }: ComponentProps<"button"> & {
|
|
110
|
+
content: string;
|
|
111
|
+
}): react_jsx_runtime.JSX.Element;
|
|
112
|
+
declare function MessageRegenerateAction(props: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
113
|
+
declare function MessageFeedbackActions({ onThumbsUp, onThumbsDown, }: {
|
|
114
|
+
onThumbsUp?: () => void;
|
|
115
|
+
onThumbsDown?: () => void;
|
|
116
|
+
}): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function MessageBranch({ total, defaultBranch, onBranchChange, children, }: {
|
|
118
|
+
total: number;
|
|
119
|
+
defaultBranch?: number;
|
|
120
|
+
onBranchChange?: (index: number) => void;
|
|
121
|
+
children: React.ReactNode;
|
|
122
|
+
}): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function MessageBranchSelector({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
124
|
+
declare function MessageAttachments({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
type ModelSelectorContextValue = {
|
|
127
|
+
open: boolean;
|
|
128
|
+
setOpen: (open: boolean) => void;
|
|
129
|
+
search: string;
|
|
130
|
+
setSearch: (search: string) => void;
|
|
131
|
+
selected: string | null;
|
|
132
|
+
onSelect: (modelId: string) => void;
|
|
133
|
+
};
|
|
134
|
+
declare function useModelSelector(): ModelSelectorContextValue;
|
|
135
|
+
declare function ModelSelector({ value, onValueChange, children, }: {
|
|
136
|
+
value?: string;
|
|
137
|
+
onValueChange?: (modelId: string) => void;
|
|
138
|
+
children: ReactNode;
|
|
139
|
+
}): react_jsx_runtime.JSX.Element;
|
|
140
|
+
declare function ModelSelectorTrigger({ className, children, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare function ModelSelectorContent({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
142
|
+
declare function ModelSelectorInput({ className, ...props }: ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
143
|
+
declare function ModelSelectorList({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
144
|
+
declare function ModelSelectorGroup({ label, className, children, ...props }: ComponentProps<"div"> & {
|
|
145
|
+
label?: string;
|
|
146
|
+
}): react_jsx_runtime.JSX.Element;
|
|
147
|
+
declare function ModelSelectorItem({ value, logo, name, description, className, ...props }: ComponentProps<"button"> & {
|
|
148
|
+
value: string;
|
|
149
|
+
logo?: ReactNode;
|
|
150
|
+
name: string;
|
|
151
|
+
description?: string;
|
|
152
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
153
|
+
declare function ModelSelectorEmpty({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
154
|
+
declare function ModelSelectorSeparator({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
155
|
+
|
|
156
|
+
declare function Plan({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
157
|
+
defaultOpen?: boolean;
|
|
158
|
+
}): react_jsx_runtime.JSX.Element;
|
|
159
|
+
declare function PlanHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
160
|
+
declare function PlanTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
161
|
+
declare function PlanDescription({ className, ...props }: ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
162
|
+
declare function PlanTrigger({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
163
|
+
declare function PlanContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
164
|
+
declare function PlanFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
165
|
+
declare function PlanAction({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
166
|
+
|
|
167
|
+
type PromptInputContextValue = {
|
|
168
|
+
value: string;
|
|
169
|
+
setValue: (value: string) => void;
|
|
170
|
+
files: File[];
|
|
171
|
+
addFiles: (files: File[]) => void;
|
|
172
|
+
removeFile: (index: number) => void;
|
|
173
|
+
clearFiles: () => void;
|
|
174
|
+
submit: () => void;
|
|
175
|
+
isLoading: boolean;
|
|
176
|
+
};
|
|
177
|
+
declare function usePromptInput(): PromptInputContextValue;
|
|
178
|
+
declare function PromptInput({ onSubmit, isLoading, className, children, ...props }: Omit<ComponentProps<"form">, "onSubmit"> & {
|
|
179
|
+
onSubmit?: (message: string, files: File[]) => void;
|
|
180
|
+
isLoading?: boolean;
|
|
181
|
+
}): react_jsx_runtime.JSX.Element;
|
|
182
|
+
declare function PromptInputHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
183
|
+
declare function PromptInputBody({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
184
|
+
declare function PromptInputFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
185
|
+
declare function PromptInputTextarea({ className, onKeyDown, ...props }: ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
186
|
+
declare function PromptInputTools({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
187
|
+
declare function PromptInputAttachButton({ accept, multiple, className, ...props }: Omit<ComponentProps<"button">, "onClick"> & {
|
|
188
|
+
accept?: string;
|
|
189
|
+
multiple?: boolean;
|
|
190
|
+
}): react_jsx_runtime.JSX.Element;
|
|
191
|
+
declare function PromptInputSubmit({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
192
|
+
declare function PromptInputFiles({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
193
|
+
|
|
194
|
+
declare function QueueSection({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
195
|
+
defaultOpen?: boolean;
|
|
196
|
+
}): react_jsx_runtime.JSX.Element;
|
|
197
|
+
declare function QueueSectionTrigger({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
198
|
+
declare function QueueSectionLabel({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare function QueueList({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
200
|
+
type QueueItemStatus = "pending" | "active" | "complete" | "error";
|
|
201
|
+
declare const queueItemIndicatorVariants: (props?: ({
|
|
202
|
+
status?: "pending" | "active" | "complete" | "error" | null | undefined;
|
|
203
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
204
|
+
declare function QueueItem({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
205
|
+
declare function QueueItemIndicator({ status, className, ...props }: ComponentProps<"span"> & {
|
|
206
|
+
status?: QueueItemStatus;
|
|
207
|
+
}): react_jsx_runtime.JSX.Element;
|
|
208
|
+
declare function QueueItemContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
209
|
+
declare function QueueItemDescription({ className, ...props }: ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
210
|
+
declare function QueueItemActions({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
211
|
+
|
|
212
|
+
type ReasoningContextValue = {
|
|
213
|
+
open: boolean;
|
|
214
|
+
toggle: () => void;
|
|
215
|
+
contentId: string;
|
|
216
|
+
};
|
|
217
|
+
declare function useReasoning(): ReasoningContextValue;
|
|
218
|
+
declare function Reasoning({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
219
|
+
defaultOpen?: boolean;
|
|
220
|
+
}): react_jsx_runtime.JSX.Element;
|
|
221
|
+
declare function ReasoningTrigger({ className, children, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
222
|
+
declare function ReasoningContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
223
|
+
|
|
224
|
+
type ShimmerProps<T extends ElementType = "p"> = Omit<ComponentProps<"p">, "as"> & {
|
|
225
|
+
/** The HTML element to render as */
|
|
226
|
+
as?: T;
|
|
227
|
+
/** Animation duration in seconds */
|
|
228
|
+
duration?: number;
|
|
229
|
+
/** Size of the shimmer gradient spread (0-1) */
|
|
230
|
+
spread?: number;
|
|
231
|
+
};
|
|
232
|
+
declare function Shimmer<T extends ElementType = "p">({ as, className, duration, spread, style, ...props }: ShimmerProps<T>): react_jsx_runtime.JSX.Element;
|
|
233
|
+
|
|
234
|
+
declare function Sources({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
235
|
+
defaultOpen?: boolean;
|
|
236
|
+
}): react_jsx_runtime.JSX.Element;
|
|
237
|
+
declare function SourcesTrigger({ className, children, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
238
|
+
declare function SourcesContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
239
|
+
declare function Source({ href, title, description, favicon, className, ...props }: ComponentProps<"a"> & {
|
|
240
|
+
title: string;
|
|
241
|
+
description?: string;
|
|
242
|
+
favicon?: string;
|
|
243
|
+
}): react_jsx_runtime.JSX.Element;
|
|
244
|
+
|
|
245
|
+
declare function Suggestions({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
246
|
+
declare function Suggestion({ className, ...props }: ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
247
|
+
|
|
248
|
+
type TaskStatus = "pending" | "running" | "complete" | "error";
|
|
249
|
+
declare function Task({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
250
|
+
defaultOpen?: boolean;
|
|
251
|
+
}): react_jsx_runtime.JSX.Element;
|
|
252
|
+
declare function TaskTrigger({ status, className, children, ...props }: ComponentProps<"button"> & {
|
|
253
|
+
status?: TaskStatus;
|
|
254
|
+
}): react_jsx_runtime.JSX.Element;
|
|
255
|
+
declare function TaskContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
256
|
+
declare function TaskItem({ status, className, ...props }: ComponentProps<"div"> & {
|
|
257
|
+
status?: TaskStatus;
|
|
258
|
+
}): react_jsx_runtime.JSX.Element;
|
|
259
|
+
declare function TaskItemFile({ filename, className, ...props }: ComponentProps<"span"> & {
|
|
260
|
+
filename: string;
|
|
261
|
+
}): react_jsx_runtime.JSX.Element;
|
|
262
|
+
|
|
263
|
+
type ToolStatus = "pending" | "running" | "success" | "error";
|
|
264
|
+
declare const statusBadgeVariants: (props?: ({
|
|
265
|
+
status?: "pending" | "error" | "running" | "success" | null | undefined;
|
|
266
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
267
|
+
declare function getStatusLabel(status: ToolStatus): string;
|
|
268
|
+
declare function Tool({ defaultOpen, className, children, ...props }: ComponentProps<"div"> & {
|
|
269
|
+
defaultOpen?: boolean;
|
|
270
|
+
}): react_jsx_runtime.JSX.Element;
|
|
271
|
+
declare function ToolHeader({ name, status, icon, className, ...props }: ComponentProps<"button"> & {
|
|
272
|
+
name: string;
|
|
273
|
+
status?: ToolStatus;
|
|
274
|
+
icon?: React.ReactNode;
|
|
275
|
+
}): react_jsx_runtime.JSX.Element;
|
|
276
|
+
declare function ToolContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
|
|
277
|
+
declare function ToolInput({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
278
|
+
declare function ToolOutput({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
279
|
+
|
|
280
|
+
export { Attachment, type AttachmentType, Attachments, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, Checkpoint, CheckpointIcon, CheckpointTrigger, Confirmation, ConfirmationAccepted, ConfirmationAction, ConfirmationActions, ConfirmationRejected, ConfirmationRequest, Context, ContextBody, ContextHeader, ContextUsage, Conversation, ConversationContent, ConversationDownload, ConversationEmptyState, ConversationScrollButton, InlineCitation, InlineCitationCard, Message, MessageAction, MessageActions, MessageAttachments, MessageAvatar, MessageBranch, MessageBranchSelector, MessageContent, MessageCopyAction, MessageFeedbackActions, MessageRegenerateAction, MessageResponse, type MessageRole, ModelSelector, ModelSelectorContent, ModelSelectorEmpty, ModelSelectorGroup, ModelSelectorInput, ModelSelectorItem, ModelSelectorList, ModelSelectorSeparator, ModelSelectorTrigger, Plan, PlanAction, PlanContent, PlanDescription, PlanFooter, PlanHeader, PlanTitle, PlanTrigger, PromptInput, PromptInputAttachButton, PromptInputBody, PromptInputFiles, PromptInputFooter, PromptInputHeader, PromptInputSubmit, PromptInputTextarea, PromptInputTools, QueueItem, QueueItemActions, QueueItemContent, QueueItemDescription, QueueItemIndicator, type QueueItemStatus, QueueList, QueueSection, QueueSectionLabel, QueueSectionTrigger, Reasoning, ReasoningContent, ReasoningTrigger, Shimmer, type ShimmerProps, Source, Sources, SourcesContent, SourcesTrigger, Suggestion, Suggestions, Task, TaskContent, TaskItem, TaskItemFile, type TaskStatus, TaskTrigger, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, type ToolStatus, confirmationVariants, getStatusLabel, messageVariants, queueItemIndicatorVariants, responseBubbleVariants, statusBadgeVariants, useModelSelector, usePromptInput, useReasoning };
|