@cossistant/react 0.0.1 → 0.0.2
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/package.json +1 -1
- package/primitives/avatar/image.d.ts +1 -1
- package/primitives/multimodal-input.d.ts +2 -2
- package/primitives/multimodal-input.d.ts.map +1 -1
- package/provider.d.ts +2 -2
- package/realtime/provider.d.ts +2 -2
- package/realtime/provider.d.ts.map +1 -1
- package/support/components/avatar.d.ts +2 -2
- package/support/components/avatar.d.ts.map +1 -1
- package/support/components/button.d.ts +2 -2
- package/support/components/button.d.ts.map +1 -1
- package/support/components/cossistant-branding.d.ts +2 -2
- package/support/components/cossistant-branding.d.ts.map +1 -1
- package/support/components/navigation-tab.d.ts +2 -2
- package/support/components/text-effect.d.ts +2 -2
- package/support/components/timeline-message-item.d.ts +2 -2
- package/support/components/typing-indicator.d.ts +2 -2
- package/support/index.d.ts +2 -2
- package/support/index.d.ts.map +1 -1
- package/support/pages/conversation.d.ts +2 -2
- package/support/pages/conversation.d.ts.map +1 -1
- package/support/text/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cossistant/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Cossistant team",
|
|
6
6
|
"description": "Headless React SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.",
|
|
@@ -15,7 +15,7 @@ type AvatarImageProps = Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "src"
|
|
|
15
15
|
* Controlled `<img>` that syncs its loading status back to the avatar context
|
|
16
16
|
* so fallbacks know when to display.
|
|
17
17
|
*/
|
|
18
|
-
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "
|
|
18
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "src" | "alt"> & {
|
|
19
19
|
src: string;
|
|
20
20
|
alt?: string;
|
|
21
21
|
asChild?: boolean;
|
|
@@ -16,7 +16,7 @@ type MultimodalInputProps = Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElem
|
|
|
16
16
|
* clipboard uploads and auto-resizing while remaining composable via
|
|
17
17
|
* `asChild`.
|
|
18
18
|
*/
|
|
19
|
-
declare const MultimodalInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
19
|
+
declare const MultimodalInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value"> & {
|
|
20
20
|
value: string;
|
|
21
21
|
onChange: (value: string) => void;
|
|
22
22
|
onSubmit?: () => void;
|
|
@@ -38,7 +38,7 @@ declare const FileInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttr
|
|
|
38
38
|
onFileSelect?: (files: File[]) => void;
|
|
39
39
|
asChild?: boolean;
|
|
40
40
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
41
|
-
declare const SupportInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
|
41
|
+
declare const SupportInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value"> & {
|
|
42
42
|
value: string;
|
|
43
43
|
onChange: (value: string) => void;
|
|
44
44
|
onSubmit?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multimodal-input.d.ts","names":[],"sources":["../../src/primitives/multimodal-input.tsx"],"sourcesContent":[],"mappings":";;;KAGY,oBAAA,GAAuB,KAClC,OAAA,CAAM,uBAAuB;;EADlB,QAAA,EAAA,CAAA,KAAA,EAAA,MAAoB,EAAA,GAAA,IAAA;EAAA,QAAA,CAAA,EAAA,GAAA,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AA,CAAA,KAAA,EAAJ,IAAI,EAAA,EAAA,GAAA,IAAA;EAQf,OAAA,CAAA,EAAA,OAkCT;CAAA;;;;;cAlCS,WAAS,OAAA,CAAA,0BAAA,OAAA,CAAA,oBAAA;cAAA,CAAA,EAAA,CAAA,KAAA,EARE,IAQF,EAAA,EAAA,GAAA,IAAA;EAAA,OAAA,CAAA,EAAA,OAAA;AAqCtB,CAAA,wBAA2C,iBAAA,CAAA,CAAA;AAAA,cAA9B,YAA8B,EAAlB,OAAA,CAAA,yBAAkB,CAAlB,IAAkB,CAAlB,OAAA,CAAA,sBAAkB,CAAlB,mBAAkB,CAAA,EAAA,UAAA,GAAA,OAAA,CAAA,GAAA;OAAlB,EAAA,MAAA;UAAA,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;UAAA,CAAA,EAAA,GAAA,GAAA,IAAA;cAtKD,CAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,EAAA,GAAA,IAAA;SAGf,CAAA,EAAA,OAAA;;UAAA;UAmKgB,CAAA,EAAA,OAAA;CAAA,wBAAA,oBAAA,CAAA,CAAA"}
|
package/provider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { CossistantClient } from "@cossistant/core";
|
|
3
3
|
import { DefaultMessage, PublicWebsiteResponse } from "@cossistant/types";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
import { QueryClient } from "@tanstack/react-query";
|
|
6
6
|
|
|
7
7
|
//#region src/provider.d.ts
|
|
@@ -50,7 +50,7 @@ declare function SupportProvider({
|
|
|
50
50
|
onWsDisconnect,
|
|
51
51
|
onWsError,
|
|
52
52
|
queryClient
|
|
53
|
-
}: SupportProviderProps):
|
|
53
|
+
}: SupportProviderProps): react_jsx_runtime0.JSX.Element;
|
|
54
54
|
/**
|
|
55
55
|
* Convenience hook that exposes the aggregated support context. Throws when it
|
|
56
56
|
* is consumed outside of `SupportProvider` to catch integration mistakes.
|
package/realtime/provider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnyRealtimeEvent, RealtimeEvent } from "../realtime-events.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/realtime/provider.d.ts
|
|
6
6
|
type SubscribeHandler = (event: AnyRealtimeEvent) => void;
|
|
@@ -50,7 +50,7 @@ declare function RealtimeProvider({
|
|
|
50
50
|
onConnect,
|
|
51
51
|
onDisconnect,
|
|
52
52
|
onError
|
|
53
|
-
}: RealtimeProviderProps):
|
|
53
|
+
}: RealtimeProviderProps): react_jsx_runtime11.JSX.Element;
|
|
54
54
|
declare function useRealtimeConnection(): RealtimeContextValue;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { type RealtimeAuthConfig, type RealtimeContextValue, type RealtimeEvent, RealtimeProvider, type RealtimeProviderProps, useRealtimeConnection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","names":[],"sources":["../../src/realtime/provider.tsx"],"sourcesContent":[],"mappings":";;;;;KAuBK,gBAAA,WAA2B;KA+B3B,iBAAA;;EA/BA,SAAA,EAAA,MAAA,GAAgB,IAAA;EA+BhB,SAAA,CAAA,EAAA,MAAA,GAAiB,IAAA;EAOjB,SAAA,CAAA,EAAA,MAAA,GAAiB,IAAA;AAAA,CAAA;KAAjB,iBAAA,GAOkB;MAAG,EAAA,SAAA;cAAoB,EAAA,MAAA,GAAA,IAAA;EAAiB,SAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAW1D,MAAA,CAAA,EAAA,MAAA,GAAA,IAAA;CAAqB;KAXrB,kBAAA,GAAqB,iBAYT,GAZ6B,iBAY7B;KADZ,qBAAA,GAGE;UAIY,EANR,KAAA,CAAM,SAME;EAAK,KAAA,CAAA,EAAA,MAAA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6B,iBAY7B;KADZ,qBAAA,GAGE;UAIY,EANR,KAAA,CAAM,SAME;EAAK,KAAA,CAAA,EAAA,MAAA;EAGnB,IAAA,EAPE,kBAOF,GAAuB,IAAA;EAAA,WAAA,CAAA,EAAA,OAAA;WAGpB,CAAA,EAAA,GAAA,GAAA,IAAA;cACO,CAAA,EAAA,GAAA,GAAA,IAAA;SAEO,CAAA,EAAA,CAAA,KAAA,EATH,KASG,EAAA,GAAA,IAAA;;KANjB,uBAAA,GAOuB;EAKvB,WAAA,EAAA,OAAA;EA2QW,YAAA,EAAA,OAAgB;EAAA,KAAA,EApRxB,KAoRwB,GAAA,IAAA;MAC/B,EAAA,CAAA,KAAA,EApRc,gBAoRd,EAAA,GAAA,IAAA;SACA,EAAA,CAAA,IAAA,EAAA,MAAA,EAAA,GAAA,IAAA;WACA,EAAA,CAAA,OAAA,EApRqB,gBAoRrB,EAAA,GAAA,GAAA,GAAA,IAAA;WACA,EApRW,gBAoRX,GAAA,IAAA;cACA,EAAA,MAAA,GAAA,IAAA;WACA,EAAA,GAAA,GAAA,IAAA;;KAjRI,oBAAA,GAAuB,uBAmRzB,GAAA;WAAqB,EAAA,MAAA,GAAA,IAAA;EAAA,SAAA,EAAA,MAAA,GAAA,IAAA;EAmPR,MAAA,EAAA,MAAA,GAAA,IAAA;;iBA3PA,gBAAA;;;;;;;;GAQb,wBAAqB,mBAAA,CAAA,GAAA,CAAA;iBAmPR,qBAAA,CAAA,GAAyB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/support/components/avatar.d.ts
|
|
4
4
|
declare function Avatar({
|
|
@@ -9,7 +9,7 @@ declare function Avatar({
|
|
|
9
9
|
className?: string;
|
|
10
10
|
image?: string | null;
|
|
11
11
|
name: string;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Avatar };
|
|
15
15
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","names":[],"sources":["../../../src/support/components/avatar.tsx"],"sourcesContent":[],"mappings":";;;iBAOgB,MAAA;;;;;;;EAAA,IAAA,EAAA,MAAM;CAAA,CAAA,EAQrB,
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","names":[],"sources":["../../../src/support/components/avatar.tsx"],"sourcesContent":[],"mappings":";;;iBAOgB,MAAA;;;;;;;EAAA,IAAA,EAAA,MAAM;CAAA,CAAA,EAQrB,kBAAA,CAAA,GAAA,CAAA,OARqB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
@@ -14,7 +14,7 @@ declare function Button({
|
|
|
14
14
|
variant,
|
|
15
15
|
size,
|
|
16
16
|
...props
|
|
17
|
-
}: CossistantButtonProps):
|
|
17
|
+
}: CossistantButtonProps): react_jsx_runtime9.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Button, CossistantButtonProps, coButtonVariants };
|
|
20
20
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/support/components/button.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKa;;;IA4BZ,+BAAA,CAAA;AA5BY,KA8BD,qBAAA,GAAwB,OAAA,CAAM,cAFzC,CAAA,QAAA,CAAA,GAGA,YAHA,CAAA,OAGoB,gBAHpB,CAAA;AAEW,iBAGI,MAAA,CAHiB;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAQ9B,qBAR8B,CAAA,EAQT,
|
|
1
|
+
{"version":3,"file":"button.d.ts","names":[],"sources":["../../../src/support/components/button.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKa;;;IA4BZ,+BAAA,CAAA;AA5BY,KA8BD,qBAAA,GAAwB,OAAA,CAAM,cAFzC,CAAA,QAAA,CAAA,GAGA,YAHA,CAAA,OAGoB,gBAHpB,CAAA;AAEW,iBAGI,MAAA,CAHiB;EAAA,SAAA;EAAA,OAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAQ9B,qBAR8B,CAAA,EAQT,kBAAA,CAAA,GAAA,CAAA,OARS"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/support/components/cossistant-branding.d.ts
|
|
4
4
|
type CossistantLogoProps = {
|
|
@@ -6,7 +6,7 @@ type CossistantLogoProps = {
|
|
|
6
6
|
};
|
|
7
7
|
declare function CossistantLogo({
|
|
8
8
|
className
|
|
9
|
-
}: CossistantLogoProps):
|
|
9
|
+
}: CossistantLogoProps): react_jsx_runtime12.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { CossistantLogo };
|
|
12
12
|
//# sourceMappingURL=cossistant-branding.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cossistant-branding.d.ts","names":[],"sources":["../../../src/support/components/cossistant-branding.tsx"],"sourcesContent":[],"mappings":";;;KAEK,mBAAA;;;AAAA,iBAIW,cAAA,CAJQ;EAAA;AAAA,CAAA,EAIsB,mBAJtB,CAAA,EAIyC,
|
|
1
|
+
{"version":3,"file":"cossistant-branding.d.ts","names":[],"sources":["../../../src/support/components/cossistant-branding.tsx"],"sourcesContent":[],"mappings":";;;KAEK,mBAAA;;;AAAA,iBAIW,cAAA,CAJQ;EAAA;AAAA,CAAA,EAIsB,mBAJtB,CAAA,EAIyC,mBAAA,CAAA,GAAA,CAAA,OAJzC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/support/components/navigation-tab.d.ts
|
|
4
|
-
declare function NavigationTab():
|
|
4
|
+
declare function NavigationTab(): react_jsx_runtime8.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { NavigationTab };
|
|
7
7
|
//# sourceMappingURL=navigation-tab.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
import { Transition, Variants } from "motion/react";
|
|
4
4
|
|
|
5
5
|
//#region src/support/components/text-effect.d.ts
|
|
@@ -43,7 +43,7 @@ declare function TextEffect({
|
|
|
43
43
|
containerTransition,
|
|
44
44
|
segmentTransition,
|
|
45
45
|
style
|
|
46
|
-
}: TextEffectProps):
|
|
46
|
+
}: TextEffectProps): react_jsx_runtime4.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { PerType, PresetType, TextEffect, TextEffectProps };
|
|
49
49
|
//# sourceMappingURL=text-effect.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TimelineItem } from "../../timeline-item.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/support/components/timeline-message-item.d.ts
|
|
5
5
|
type TimelineMessageItemProps = {
|
|
@@ -11,7 +11,7 @@ declare function TimelineMessageItem({
|
|
|
11
11
|
item,
|
|
12
12
|
isLast,
|
|
13
13
|
isSentByViewer
|
|
14
|
-
}: TimelineMessageItemProps):
|
|
14
|
+
}: TimelineMessageItemProps): react_jsx_runtime2.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { TimelineMessageItem, TimelineMessageItemProps };
|
|
17
17
|
//# sourceMappingURL=timeline-message-item.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { AvailableAIAgent, AvailableHumanAgent } from "@cossistant/types";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/support/components/typing-indicator.d.ts
|
|
6
6
|
type TypingParticipantType = "visitor" | "team_member" | "ai";
|
|
@@ -14,7 +14,7 @@ type TypingIndicatorProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
14
14
|
availableHumanAgents?: AvailableHumanAgent[];
|
|
15
15
|
withAvatars?: boolean;
|
|
16
16
|
};
|
|
17
|
-
declare const BouncingDots: () =>
|
|
17
|
+
declare const BouncingDots: () => react_jsx_runtime7.JSX.Element;
|
|
18
18
|
declare const TypingIndicator: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
19
19
|
participants: TypingParticipant[];
|
|
20
20
|
availableAIAgents?: AvailableAIAgent[];
|
package/support/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { useSupportConfig } from "./context/config.js";
|
|
|
4
4
|
import { WebSocketContextValue, WebSocketProvider, useWebSocket } from "./context/websocket.js";
|
|
5
5
|
import { useSupportStore } from "./store/support-store.js";
|
|
6
6
|
import { DefaultMessage } from "@cossistant/types";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/support/index.d.ts
|
|
10
10
|
type SupportProps<Locale extends string = SupportLocale> = {
|
|
@@ -33,7 +33,7 @@ declare function Support<Locale extends string = SupportLocale>({
|
|
|
33
33
|
defaultOpen,
|
|
34
34
|
locale,
|
|
35
35
|
content
|
|
36
|
-
}: SupportProps<Locale>):
|
|
36
|
+
}: SupportProps<Locale>): react_jsx_runtime3.JSX.Element | null;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Support, Support as default, type SupportLocale, SupportProps, type SupportTextContentOverrides, Text, type WebSocketContextValue, WebSocketProvider, useSupportConfig, useSupportStore, useSupportText, useWebSocket };
|
|
39
39
|
//# sourceMappingURL=index.d.ts.map
|
package/support/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/support/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;KAWY,qCAAqC;;;;;;EAArC,eAAY,CAAA,EAOL,cAPK,EAAA;EAAA,WAAA,CAAA,EAAA,OAAA;QAAyB,CAAA,EASvC,MATuC;SAO9B,CAAA,EAGR,2BAHQ,CAGoB,MAHpB,CAAA;;;;;AAYnB;;AAAgD,iBAAhC,OAAgC,CAAA,eAAA,MAAA,GAAA,aAAA,CAAA,CAAA;EAAA,SAAA;EAAA,QAAA;EAAA,KAAA;EAAA,IAAA;EAAA,YAAA;EAAA,eAAA;EAAA,WAAA;EAAA,MAAA;EAAA;AAAA,CAAA,EAU7C,YAV6C,CAUhC,MAVgC,CAAA,CAAA,EAUzB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/support/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;KAWY,qCAAqC;;;;;;EAArC,eAAY,CAAA,EAOL,cAPK,EAAA;EAAA,WAAA,CAAA,EAAA,OAAA;QAAyB,CAAA,EASvC,MATuC;SAO9B,CAAA,EAGR,2BAHQ,CAGoB,MAHpB,CAAA;;;;;AAYnB;;AAAgD,iBAAhC,OAAgC,CAAA,eAAA,MAAA,GAAA,aAAA,CAAA,CAAA;EAAA,SAAA;EAAA,QAAA;EAAA,KAAA;EAAA,IAAA;EAAA,YAAA;EAAA,eAAA;EAAA,WAAA;EAAA,MAAA;EAAA;AAAA,CAAA,EAU7C,YAV6C,CAUhC,MAVgC,CAAA,CAAA,EAUzB,kBAAA,CAAA,GAAA,CAAA,OAAA,GAVyB,IAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TimelineItem } from "../../timeline-item.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/support/pages/conversation.d.ts
|
|
5
5
|
type ConversationPageProps = {
|
|
@@ -26,7 +26,7 @@ declare const ConversationPage: ({
|
|
|
26
26
|
conversationId: initialConversationId,
|
|
27
27
|
initialMessage,
|
|
28
28
|
items: passedItems
|
|
29
|
-
}: ConversationPageProps) =>
|
|
29
|
+
}: ConversationPageProps) => react_jsx_runtime10.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { ConversationPage };
|
|
32
32
|
//# sourceMappingURL=conversation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../../src/support/pages/conversation.tsx"],"sourcesContent":[],"mappings":";;;;KAUK,qBAAA;;;AAVmE;EAiC3D,cAAA,EAAA,MA+EZ;EAAA;;;gBA/EgC,CAAA,EAAA,MAAA;;;;UATxB;;;;;;;;cASI;kBAAoB;;SAAA;GAI9B,0BAAqB,
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../../src/support/pages/conversation.tsx"],"sourcesContent":[],"mappings":";;;;KAUK,qBAAA;;;AAVmE;EAiC3D,cAAA,EAAA,MA+EZ;EAAA;;;gBA/EgC,CAAA,EAAA,MAAA;;;;UATxB;;;;;;;;cASI;kBAAoB;;SAAA;GAI9B,0BAAqB,mBAAA,CAAA,GAAA,CAAA"}
|
package/support/text/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SupportLocale, SupportTextContentOverrides, SupportTextDefinitions, SupportTextKey, SupportTextResolvedFormatter, SupportTextVariables } from "./locales/keys.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/support/text/index.d.ts
|
|
6
6
|
type SupportTextProviderProps<Locale extends string = SupportLocale> = {
|
|
@@ -12,7 +12,7 @@ declare function SupportTextProvider<Locale extends string = SupportLocale>({
|
|
|
12
12
|
children,
|
|
13
13
|
locale,
|
|
14
14
|
content
|
|
15
|
-
}: SupportTextProviderProps<Locale>):
|
|
15
|
+
}: SupportTextProviderProps<Locale>): react_jsx_runtime6.JSX.Element;
|
|
16
16
|
declare function useSupportText(): SupportTextResolvedFormatter;
|
|
17
17
|
type OptionalVariablesProp<K extends SupportTextKey> = SupportTextDefinitions[K]["variables"] extends undefined ? {
|
|
18
18
|
variables?: undefined;
|