@cossistant/next 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.
@@ -7,7 +7,7 @@ import * as React$1 from "react";
7
7
  * clipboard uploads and auto-resizing while remaining composable via
8
8
  * `asChild`.
9
9
  */
10
- declare const MultimodalInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value"> & {
10
+ declare const MultimodalInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange"> & {
11
11
  value: string;
12
12
  onChange: (value: string) => void;
13
13
  onSubmit?: () => void;
@@ -25,7 +25,7 @@ declare const FileInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttr
25
25
  onFileSelect?: (files: File[]) => void;
26
26
  asChild?: boolean;
27
27
  } & React$1.RefAttributes<HTMLInputElement>>;
28
- declare const SupportInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value"> & {
28
+ declare const SupportInput: React$1.ForwardRefExoticComponent<Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange"> & {
29
29
  value: string;
30
30
  onChange: (value: string) => void;
31
31
  onSubmit?: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"multimodal-input.d.ts","names":[],"sources":["../../react/src/primitives/multimodal-input.tsx"],"sourcesContent":[],"mappings":";;;;;;;AA2IA;;AAAsB,cArHT,eAqHS,EArHM,OAAA,CAAA,yBAqHN,CArHM,IAqHN,CArHM,OAAA,CAAA,sBAqHN,CArHM,mBAqHN,CAAA,EAAA,UAAA,GAAA,OAAA,CAAA,GAAA;OAAA,EAAA,MAAA;UARE,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;;yBAzHA;SAiIF,CAAA,EAAA,OAAA;EAAA,SAAA,CAAA,EAAA,MAAA;EAqCT,KAAA,CAAA,EAnKJ,KAmKI,GAA8B,IAAA;EAAA,QAAA,CAAA,EAAA,OAAA;yBAAlB,oBAAA,CAAA,CAAA;;;;;cArCZ,WAAS,OAAA,CAAA,0BAAA,OAAA,CAAA,oBAAA;yBARE;;;cA6CX,cAAY,OAAA,CAAA,0BAAA,KAAA,OAAA,CAAA,uBAAA;;;;yBAtKD;;;UAGf"}
1
+ {"version":3,"file":"multimodal-input.d.ts","names":[],"sources":["../../react/src/primitives/multimodal-input.tsx"],"sourcesContent":[],"mappings":";;;;;;;AA2IA;;AAAsB,cArHT,eAqHS,EArHM,OAAA,CAAA,yBAqHN,CArHM,IAqHN,CArHM,OAAA,CAAA,sBAqHN,CArHM,mBAqHN,CAAA,EAAA,OAAA,GAAA,UAAA,CAAA,GAAA;OAAA,EAAA,MAAA;UARE,EAAA,CAAA,KAAA,EAAA,MAAA,EAAA,GAAA,IAAA;;yBAzHA;SAiIF,CAAA,EAAA,OAAA;EAAA,SAAA,CAAA,EAAA,MAAA;EAqCT,KAAA,CAAA,EAnKJ,KAmKI,GAA8B,IAAA;EAAA,QAAA,CAAA,EAAA,OAAA;yBAAlB,oBAAA,CAAA,CAAA;;;;;cArCZ,WAAS,OAAA,CAAA,0BAAA,OAAA,CAAA,oBAAA;yBARE;;;cA6CX,cAAY,OAAA,CAAA,0BAAA,KAAA,OAAA,CAAA,uBAAA;;;;yBAtKD;;;UAGf"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cossistant/next",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "private": false,
5
5
  "author": "Cossistant team",
6
6
  "description": "Next.js-ready SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.",
package/provider3.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
 
4
4
  //#region ../react/src/realtime/provider.d.ts
5
5
  type SubscribeHandler = (event: AnyRealtimeEvent) => void;
@@ -49,7 +49,7 @@ declare function RealtimeProvider({
49
49
  onConnect,
50
50
  onDisconnect,
51
51
  onError
52
- }: RealtimeProviderProps): react_jsx_runtime2.JSX.Element;
52
+ }: RealtimeProviderProps): react_jsx_runtime1.JSX.Element;
53
53
  declare function useRealtimeConnection(): RealtimeContextValue;
54
54
  //#endregion
55
55
  export { type RealtimeAuthConfig, type RealtimeContextValue, RealtimeProvider, type RealtimeProviderProps, useRealtimeConnection };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region ../react/src/realtime/support-provider.d.ts
5
5
  type SupportRealtimeProviderProps = {
@@ -11,7 +11,7 @@ type SupportRealtimeProviderProps = {
11
11
  */
12
12
  declare function SupportRealtimeProvider({
13
13
  children
14
- }: SupportRealtimeProviderProps): react_jsx_runtime1.JSX.Element;
14
+ }: SupportRealtimeProviderProps): react_jsx_runtime2.JSX.Element;
15
15
  //#endregion
16
16
  export { SupportRealtimeProvider };
17
17
  //# sourceMappingURL=support-provider.d.ts.map