@sendbird/ai-agent-messenger-react 1.2.1 → 1.2.3
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/cjs/B0k-GApQ.cjs +1 -0
- package/dist/cjs/B3amOKMy.cjs +1 -0
- package/dist/cjs/B9NJk4MI.cjs +1 -0
- package/dist/cjs/BCFOnu0u.cjs +1 -0
- package/dist/cjs/BKtl4FE5.cjs +1 -0
- package/dist/cjs/BN09c8-A.cjs +1 -0
- package/dist/cjs/Bb0r6Nhu.cjs +1 -0
- package/dist/cjs/BfJ7Izyu.cjs +207 -0
- package/dist/cjs/BmdfYY9c.cjs +1 -0
- package/dist/cjs/BsgzT_SF.cjs +1 -0
- package/dist/cjs/C-xAG8K6.cjs +1 -0
- package/dist/cjs/C7tppvZu.cjs +1 -0
- package/dist/cjs/CEjis_lK.cjs +1 -0
- package/dist/cjs/CKPzhVy2.cjs +1 -0
- package/dist/cjs/CXa-CGHE.cjs +1 -0
- package/dist/cjs/Ce1MzjFq.cjs +1 -0
- package/dist/cjs/Cf3-irI8.cjs +1 -0
- package/dist/cjs/CmWLVNPR.cjs +1 -0
- package/dist/cjs/CtHfgPDp.cjs +1 -0
- package/dist/cjs/D00MOxhE.cjs +1 -0
- package/dist/cjs/D1kINslt.cjs +1 -0
- package/dist/cjs/D3l33ZWe.cjs +1 -0
- package/dist/cjs/D97ZpKUC.cjs +1 -0
- package/dist/cjs/DFIibgIj.cjs +1 -0
- package/dist/cjs/DKjB_ZFo.cjs +1 -0
- package/dist/cjs/DNmdC4-j.cjs +1 -0
- package/dist/cjs/DcDTXo8_.cjs +1 -0
- package/dist/cjs/DlvEEpWX.cjs +1 -0
- package/dist/cjs/DqpDy_26.cjs +1 -0
- package/dist/cjs/Dr0IKtV9.cjs +1 -0
- package/dist/cjs/JA0x62Fd.cjs +1 -0
- package/dist/cjs/_YfLwFkX.cjs +1 -0
- package/dist/cjs/c6TZaE94.cjs +1 -0
- package/dist/cjs/eJXfXI1_.cjs +1 -0
- package/dist/cjs/kp5wcW4s.cjs +1 -0
- package/dist/cjs/nmePqxlD.cjs +1 -0
- package/dist/cjs/ohTjxqcW.cjs +1 -0
- package/dist/cjs/wf-LdaaN.cjs +1 -0
- package/dist/cjs/ygZY2D-5.cjs +1 -0
- package/dist/cjs/zbLY6xl_.cjs +1 -0
- package/dist/es/{BXYgriG3.js → C5iCey_D.js} +790 -798
- package/dist/es/CDvzufwm.js +32 -0
- package/dist/es/{C58hkclZ.js → CSENM0Ja.js} +1 -1
- package/dist/es/Ch_6OPTz.js +298 -0
- package/dist/es/{Do6SFGnr.js → Cj-eLEq_.js} +1 -1
- package/dist/es/{BLb52EXE.js → DnQv_mT2.js} +1 -1
- package/dist/es/{BLgWjiCI.js → O53SSRM8.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/dist/cjs/7sOpksia.cjs +0 -1
- package/dist/cjs/8n-lNFQi.cjs +0 -1
- package/dist/cjs/B3UTkiZj.cjs +0 -1
- package/dist/cjs/BA7eP_0y.cjs +0 -1
- package/dist/cjs/BAVQt3SD.cjs +0 -1
- package/dist/cjs/BCgKHuFY.cjs +0 -1
- package/dist/cjs/BE_UkM2D.cjs +0 -1
- package/dist/cjs/BIQTp46D.cjs +0 -1
- package/dist/cjs/BdOKSPN6.cjs +0 -1
- package/dist/cjs/Bgi113yh.cjs +0 -1
- package/dist/cjs/Bj4NR2YK.cjs +0 -1
- package/dist/cjs/BlL9mJ1G.cjs +0 -1
- package/dist/cjs/BqEtwmXd.cjs +0 -1
- package/dist/cjs/Bt7i9B_X.cjs +0 -1
- package/dist/cjs/CCMVMvEA.cjs +0 -1
- package/dist/cjs/CCeC8Z_c.cjs +0 -1
- package/dist/cjs/CI0UG_vg.cjs +0 -1
- package/dist/cjs/CYWHwsSv.cjs +0 -1
- package/dist/cjs/CYokBh9g.cjs +0 -1
- package/dist/cjs/CbUzmxPM.cjs +0 -1
- package/dist/cjs/Ck7-iOpx.cjs +0 -1
- package/dist/cjs/CsHNpYuX.cjs +0 -1
- package/dist/cjs/CtPGsbRN.cjs +0 -1
- package/dist/cjs/D-9eFzYR.cjs +0 -1
- package/dist/cjs/D2OIGiV4.cjs +0 -1
- package/dist/cjs/D4zXKBh-.cjs +0 -1
- package/dist/cjs/D6IK2BmB.cjs +0 -1
- package/dist/cjs/DDP53huc.cjs +0 -1
- package/dist/cjs/DRna04x8.cjs +0 -1
- package/dist/cjs/DkhICmYA.cjs +0 -1
- package/dist/cjs/DxL6Qc1e.cjs +0 -1
- package/dist/cjs/Sq3g8f6p.cjs +0 -207
- package/dist/cjs/VJQajGKm.cjs +0 -1
- package/dist/cjs/VvpIczL4.cjs +0 -1
- package/dist/cjs/WCwJJYUZ.cjs +0 -1
- package/dist/cjs/dDuc9YHc.cjs +0 -1
- package/dist/cjs/dtQmhQL-.cjs +0 -1
- package/dist/cjs/na-hjKnS.cjs +0 -1
- package/dist/cjs/o1iiHxMe.cjs +0 -1
- package/dist/cjs/u4HvlMWl.cjs +0 -1
- package/dist/es/CSmSKViW.js +0 -22
- package/dist/es/DH2PekOm.js +0 -18
package/dist/cjs/dtQmhQL-.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react");function r(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(l,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return l.default=e,Object.freeze(l)}const c=r(n),o=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",...e},c.createElement("path",{className:"fill",d:"M37.333 2.667c4.26 0 7.743 3.33 7.987 7.53l.013.47v2.666H56a2.667 2.667 0 0 1 .311 5.316l-.311.018h-2.668l.001 34.666c0 4.26-3.33 7.743-7.53 7.987l-.47.013H18.667a8.001 8.001 0 0 1-7.987-7.53l-.013-.47V18.667H8a2.667 2.667 0 0 1-.311-5.316L8 13.333h10.666v-2.666a8.002 8.002 0 0 1 7.53-7.987l.47-.013h10.667zm10.666 16H16v34.666a2.67 2.67 0 0 0 2.356 2.65l.31.017h26.667a2.67 2.67 0 0 0 2.65-2.356l.017-.31V18.666zm-21.332 8a2.667 2.667 0 0 1 2.648 2.355l.018.311v16a2.667 2.667 0 0 1-5.316.311l-.017-.31v-16a2.667 2.667 0 0 1 2.667-2.667zm10.666 0a2.67 2.67 0 0 1 2.65 2.355l.017.311v16a2.667 2.667 0 0 1-5.315.311l-.018-.31v-16a2.667 2.667 0 0 1 2.666-2.667zm0-18.667H26.667a2.67 2.67 0 0 0-2.65 2.356l-.017.31v2.667h16v-2.666a2.67 2.67 0 0 0-2.356-2.65L37.334 8z",fill:"#000",fillRule:"evenodd"}));exports.default=o;
|
package/dist/cjs/na-hjKnS.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react");function o(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const t=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,t.get?t:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const c=o(n),r=e=>c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",...e},c.createElement("path",{className:"fill",d:"M56 42.667a2.667 2.667 0 0 1 2.649 2.355l.018.311v8c0 4.26-3.33 7.743-7.53 7.987l-.47.013H13.333a8 8 0 0 1-7.986-7.53l-.014-.47v-8a2.667 2.667 0 0 1 5.316-.311l.018.311v8a2.67 2.67 0 0 0 2.355 2.65l.311.017h37.334a2.667 2.667 0 0 0 2.648-2.356l.018-.31v-8A2.667 2.667 0 0 1 56 42.667zm-36.552-8.781a2.666 2.666 0 0 1 3.52-3.993l.251.221 6.114 6.114V5.333a2.667 2.667 0 0 1 5.316-.311l.018.311v30.894l6.114-6.113a2.668 2.668 0 0 1 3.52-.221l.251.221a2.666 2.666 0 0 1 .222 3.52l-.222.252-10.658 10.657a2.341 2.341 0 0 1-.135.128l.127-.119a2.67 2.67 0 0 1-.195.176l-.056.045a1.74 1.74 0 0 1-.086.064l-.056.04-.086.056-.06.036-.081.046-.079.04a2.528 2.528 0 0 1-.14.065l-.09.036c-.023.01-.045.017-.067.025l-.09.03-.063.019c-.043.012-.086.024-.13.034l-.013.003a3.06 3.06 0 0 1-.144.028l-.064.01c-.03.005-.061.009-.092.012l-.084.008a1.727 1.727 0 0 1-.103.006l-.069.002h-.095c-.028 0-.055-.002-.082-.003l.139.003c-.084 0-.167-.004-.249-.011l-.061-.007a1.359 1.359 0 0 1-.092-.012l-.09-.015a2.242 2.242 0 0 1-.118-.025l-.04-.01a2.644 2.644 0 0 1-.34-.11l-.015-.006c-.05-.02-.097-.04-.145-.063l-.042-.02L30.71 45a1.16 1.16 0 0 1-.067-.039c-.03-.018-.059-.035-.087-.054l-.062-.041c-.03-.02-.06-.042-.088-.063l-.04-.03-.008-.007a2.796 2.796 0 0 1-.251-.223L19.448 33.886z",fill:"#000",fillRule:"evenodd"}));exports.default=r;
|
package/dist/cjs/o1iiHxMe.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),c=require("./Sq3g8f6p.cjs");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=a(o),i=({iconSize:e=48,className:t})=>u.createElement(c.Loader,{size:e,className:t});exports.default=i;
|
package/dist/cjs/u4HvlMWl.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),u=require("react-syntax-highlighter"),p=require("react-syntax-highlighter/dist/esm/styles/prism"),c=require("styled-components");function d(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const r=d(i),y=({code:e,language:o})=>{const[t,n]=i.useState(!1),a=async()=>{try{await navigator.clipboard.writeText(e),n(!0),setTimeout(()=>n(!1),2e3)}catch(l){console.error("Failed to copy!",l)}};return r.createElement(f,null,r.createElement(s,{onClick:()=>a()},t?"✅":"📋"),r.createElement(u.Prism,{language:o,style:p.vscDarkPlus},e))},s=c.button`display:none;position:absolute;top:calc(4px + 0.5em);inset-inline-end:4px;justify-content:center;align-items:center;background:#000;border-radius:4px;font-size:12px;height:26px;width:26px;`,f=c.div`position:relative;&:hover ${s}{display:flex;}`;exports.CodeBlock=y;
|
package/dist/es/CSmSKViW.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as r from "react";
|
|
2
|
-
import a from "dompurify";
|
|
3
|
-
import l, { RuleType as p } from "markdown-to-jsx";
|
|
4
|
-
import s from "styled-components";
|
|
5
|
-
import { A as h, c as t } from "./BXYgriG3.js";
|
|
6
|
-
const x = (d, e, o, i) => e.type === p.textStrikethroughed ? /* @__PURE__ */ r.createElement("span", { key: i.key }, `~~${o(e.children, i)}~~`) : d(), f = ({ className: d, children: e, style: o }) => /* @__PURE__ */ r.createElement(g, { className: d, style: o }, /* @__PURE__ */ r.createElement(
|
|
7
|
-
l,
|
|
8
|
-
{
|
|
9
|
-
options: {
|
|
10
|
-
renderRule: x,
|
|
11
|
-
overrides: {
|
|
12
|
-
a: {
|
|
13
|
-
component: ({ children: i, ...n }) => /* @__PURE__ */ r.createElement("a", { ...n, target: "_blank", rel: h }, i)
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
a.sanitize(e)
|
|
19
|
-
)), g = s.div`*{&:first-child{margin-top:0;}&:last-child{margin-bottom:0;}}hr{border-top:1px solid ${t.themedColor.textDisabled};margin:21px 0;}h1{margin-top:0;margin-bottom:12.4px;padding:0;font-size:22.4px;line-height:27.6px;font-weight:700;letter-spacing:-0.6px;}h2{font-weight:600;margin:24px 0 12px;font-size:18.2px;line-height:22.3px;}& :where(h3 + *){margin-top:0;}h3,h4,h5,h6{font-weight:600;margin:16px 0 8px;font-size:15.4px;line-height:22.4px;}p{font-size:14px;line-height:20px;margin-bottom:8px;margin-top:0;&:not(:first-child){margin-top:8px;}}a{color:inherit;font-weight:700;text-decoration:underline;}code{white-space:pre-wrap;border-radius:0.25rem;font-size:0.875em;font-weight:500;padding:2.4px 4.8px;background-color:${t.themedColor.textDisabled};}menu{list-style:none;}ul{list-style-type:disc;}ol{list-style-type:decimal;}ul,ol{padding-inline-start:16px;margin:8px 0;& > li{padding-inline-start:0;margin:8px 0;& > ul,& > ol{margin-top:8px;& > li{margin:4px 0;}}}}p + ul,p + ol{margin-top:0;}blockquote{line-height:20px;margin:0;padding:4.8px 0;margin-inline-start:8px;padding-inline-start:16px;box-sizing:border-box;position:relative;font-style:normal;font-weight:500;border-inline-start-width:4px;&::before{border-radius:100px;content:'';position:absolute;top:0;left:0;height:100%;width:4px;background-color:${t.themedColor.textDisabled};}}input[type='checkbox']{vertical-align:middle;margin:0;}table{unicode-bidi:isolate;overflow-wrap:break-word;white-space:normal;display:block;overflow-x:scroll;max-width:100%;text-indent:0;border-collapse:separate;border-spacing:0;margin:4px 0;text-align:start;font-size:12.3px;table-layout:auto;width:100%;*,&:after,&:before{border:0 solid;box-sizing:border-box;}}th:first-child{border-start-start-radius:6px;padding-inline-start:10.5px;}th:last-child{border-inline-end-width:1px;border-start-end-radius:6px;padding-inline-end:10.5px;}th{border-inline-start-width:1px;background-color:rgba(0,0,0,0.1);border-bottom-width:1px;border-color:${t.themedColor.textDisabled};border-top-width:1px;padding:4px 10.5px;text-align:start;}& :where(thead th:first-child){padding-inline-start:0;}& :where(thead th:last-child){padding-inline-end:0;}& :where(thead th){padding-bottom:8px;padding-inline:8px;vertical-align:bottom;}& :where(tbody tr){border-bottom-width:1px;}& :where(tbody tr:last-child){border-bottom-width:0;}td:first-child{padding-inline-start:10.5px;}td:last-child{border-inline-end-width:1px;padding-inline-end:10.5px;}& :where(tbody td:first-child,tfoot td:first-child){padding-inline-start:0;}& :where(tbody td:last-child,tfoot td:last-child){padding-inline-end:0;}td{border-inline-start-width:1px;border-bottom-width:1px;border-color:${t.themedColor.textDisabled};padding:4px 10.5px;text-align:start;}& :where(tbody td,tfoot td){padding:8px;}& :where(tbody td){vertical-align:baseline;}tbody tr:last-child td:first-child{border-end-start-radius:6px;}tbody tr:last-child td:last-child{border-end-end-radius:6px;}`;
|
|
20
|
-
export {
|
|
21
|
-
f as MarkdownText
|
|
22
|
-
};
|
package/dist/es/DH2PekOm.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
import { useState as c } from "react";
|
|
3
|
-
import { Prism as p } from "react-syntax-highlighter";
|
|
4
|
-
import { vscDarkPlus as m } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
5
|
-
import r from "styled-components";
|
|
6
|
-
const C = ({ code: t, language: n }) => {
|
|
7
|
-
const [s, o] = c(!1), a = async () => {
|
|
8
|
-
try {
|
|
9
|
-
await navigator.clipboard.writeText(t), o(!0), setTimeout(() => o(!1), 2e3);
|
|
10
|
-
} catch (l) {
|
|
11
|
-
console.error("Failed to copy!", l);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
return /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(i, { onClick: () => a() }, s ? "✅" : "📋"), /* @__PURE__ */ e.createElement(p, { language: n, style: m }, t));
|
|
15
|
-
}, i = r.button`display:none;position:absolute;top:calc(4px + 0.5em);inset-inline-end:4px;justify-content:center;align-items:center;background:#000;border-radius:4px;font-size:12px;height:26px;width:26px;`, d = r.div`position:relative;&:hover ${i}{display:flex;}`;
|
|
16
|
-
export {
|
|
17
|
-
C as CodeBlock
|
|
18
|
-
};
|