@opencx/widget-react 5.11.0 → 5.12.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/dist/{Chart.impl-BiHsmCGG.js → Chart.impl-CnD2gz8Y.js} +2 -2
- package/dist/{Chart.impl-BiHsmCGG.js.map → Chart.impl-CnD2gz8Y.js.map} +1 -1
- package/dist/{Chart.impl-CNaZah97.cjs → Chart.impl-CvDWFidt.cjs} +2 -2
- package/dist/{Chart.impl-CNaZah97.cjs.map → Chart.impl-CvDWFidt.cjs.map} +1 -1
- package/dist/{index-CcE7410P.cjs → index-Cq6ml-Tf.cjs} +23 -23
- package/dist/index-Cq6ml-Tf.cjs.map +1 -0
- package/dist/{index-BdjYf3YD.js → index-OfNVb8Ka.js} +997 -979
- package/dist/index-OfNVb8Ka.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/src/screens/chat/ChatInput.d.ts +9 -2
- package/dist/src/screens/chat/ChatInput.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/index-BdjYf3YD.js.map +0 -1
- package/dist/index-CcE7410P.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("@radix-ui/react-popover");require("framer-motion");require("react");require("@opencx/widget-react-headless");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("@radix-ui/react-popover");require("framer-motion");require("react");require("@opencx/widget-react-headless");const e=require("./index-Cq6ml-Tf.cjs");exports.HostedSpecRenderer=e.HostedSpecRenderer;exports.Widget=e.Widget;exports.segmentContent=e.segmentContent;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@radix-ui/react-popover";
|
|
|
3
3
|
import "framer-motion";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@opencx/widget-react-headless";
|
|
6
|
-
import { H as s, W as n, s as a } from "./index-
|
|
6
|
+
import { H as s, W as n, s as a } from "./index-OfNVb8Ka.js";
|
|
7
7
|
export {
|
|
8
8
|
s as HostedSpecRenderer,
|
|
9
9
|
n as Widget,
|
package/dist/package.json.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { default as React } from 'react';
|
|
|
4
4
|
* Exported so companion's quick-ask state renders the exact same composer
|
|
5
5
|
* (not a bespoke bar), inheriting every customization automatically.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
type ChatInputProps = {
|
|
8
8
|
/** Keep the composer visible while a required starter must be chosen. */
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
/**
|
|
@@ -25,5 +25,12 @@ export declare function ChatInput({ trailingActions, placeholder, hideAttachTool
|
|
|
25
25
|
* the full tool row lives in the expanded chat panel.
|
|
26
26
|
*/
|
|
27
27
|
hideAttachTools?: boolean;
|
|
28
|
-
}
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The composer, or, once a host-supplied user token expired with no
|
|
31
|
+
* replacement, a notice in its place: the transcript stays readable and
|
|
32
|
+
* nothing can be sent until the host sets a new `user.token`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function ChatInput(props?: ChatInputProps): React.JSX.Element;
|
|
35
|
+
export {};
|
|
29
36
|
//# sourceMappingURL=ChatInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../src/screens/chat/ChatInput.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAoD5E;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,GAAE,cAAmB,qBAGnD"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencx/widget-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.12.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"tailwind-merge": "^2.4.0",
|
|
37
37
|
"tinycolor2": "^1.6.0",
|
|
38
38
|
"zod": "^4.6.7",
|
|
39
|
-
"@opencx/widget-core": "5.
|
|
40
|
-
"@opencx/widget-react-headless": "5.
|
|
39
|
+
"@opencx/widget-core": "5.12.0",
|
|
40
|
+
"@opencx/widget-react-headless": "5.12.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@types/react": ">=18 <20",
|