@sendbird/ai-agent-messenger-react 1.1.3 → 1.2.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/dist/cjs/{Dglv1NCD.cjs → BAVQt3SD.cjs} +1 -1
- package/dist/cjs/{jZaK4QJl.cjs → D6IK2BmB.cjs} +1 -1
- package/dist/cjs/{Bt3lecGZ.cjs → DDP53huc.cjs} +1 -1
- package/dist/cjs/Sq3g8f6p.cjs +207 -0
- package/dist/cjs/{GKu9FYkI.cjs → dDuc9YHc.cjs} +1 -1
- package/dist/cjs/{CKx6wVaW.cjs → o1iiHxMe.cjs} +1 -1
- package/dist/es/{yjU33qf_.js → BLb52EXE.js} +1 -1
- package/dist/es/{CNYupg9n.js → BLgWjiCI.js} +1 -1
- package/dist/es/{DQVTDao9.js → BXYgriG3.js} +1501 -1462
- package/dist/es/{BiDHCPQ4.js → C58hkclZ.js} +1 -1
- package/dist/es/{CKiHeXpb.js → CSmSKViW.js} +1 -1
- package/dist/es/{DuIMnVIa.js → Do6SFGnr.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/DWvpgvvZ.cjs +0 -207
|
@@ -2,7 +2,7 @@ import * as r from "react";
|
|
|
2
2
|
import a from "dompurify";
|
|
3
3
|
import l, { RuleType as p } from "markdown-to-jsx";
|
|
4
4
|
import s from "styled-components";
|
|
5
|
-
import { A as h, c as t } from "./
|
|
5
|
+
import { A as h, c as t } from "./BXYgriG3.js";
|
|
6
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
7
|
l,
|
|
8
8
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
2
|
import n from "styled-components";
|
|
3
|
-
import { P as a, I as l, a as c, c as s } from "./
|
|
3
|
+
import { P as a, I as l, a as c, c as s } from "./BXYgriG3.js";
|
|
4
4
|
const d = ({ label: r = "Something went wrong", action: e, ...o }) => /* @__PURE__ */ t.createElement(a, { icon: "error", label: r, ...o }, e && /* @__PURE__ */ t.createElement(i, { onClick: e.onClick, label: e.label ?? "Retry" })), i = ({ label: r, onClick: e }) => /* @__PURE__ */ t.createElement(m, { tabIndex: 0, onClick: e }, /* @__PURE__ */ t.createElement(l, { type: "refresh", size: 20 }), /* @__PURE__ */ t.createElement(c, { variant: "button", color: s.color.primary.main }, r)), m = n.button`all:unset;display:flex;cursor:pointer;gap:4px;align-items:center;justify-content:center;`;
|
|
5
5
|
export {
|
|
6
6
|
d as default
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/Sq3g8f6p.cjs");require("react");exports.AgentProviderContainer=e.AgentProviderContainer;exports.AgentUIProviderContainer=e.AgentUIProviderContainer;exports.CSATType=e.CSATType;exports.Commands=e.Commands;exports.Conversation=e.Conversation;exports.ConversationLayout=e.ConversationLayout;exports.ConversationList=e.ConversationList;exports.ConversationListItemLayout=e.ConversationListItemLayout;exports.ConversationListLayout=e.ConversationListLayout;exports.DefaultMessenger=e.DefaultMessenger;exports.FixedMessenger=e.FixedMessenger;exports.IncomingMessageLayout=e.IncomingMessageLayout;exports.LauncherBase=e.LauncherBase;exports.LogLevel=e.LogLevel;exports.MessageLogs=e.MessageLogs;exports.OutgoingMessageLayout=e.OutgoingMessageLayout;exports.SystemMessageLayout=e.SystemMessageLayout;exports.messengerDispatcher=e.messengerDispatcher;exports.useLocalizationContext=e.useLocalizationContext;exports.useMessengerContext=e.useMessengerContext;exports.useMessengerSessionContext=e.useMessengerSessionContext;
|
package/dist/index.d.ts
CHANGED
|
@@ -510,7 +510,8 @@ declare type CSATSubmitParams = {
|
|
|
510
510
|
|
|
511
511
|
export declare enum CSATType {
|
|
512
512
|
AI_AGENT_CSAT_5 = "AI_AGENT_CSAT_5",
|
|
513
|
-
AI_AGENT_CSAT_5_WITH_CRE = "AI_AGENT_CSAT_5_WITH_CRE"
|
|
513
|
+
AI_AGENT_CSAT_5_WITH_CRE = "AI_AGENT_CSAT_5_WITH_CRE",
|
|
514
|
+
HELPDESK_CSAT_5 = "HELPDESK_CSAT_5"
|
|
514
515
|
}
|
|
515
516
|
|
|
516
517
|
declare const _default: {
|
|
@@ -863,6 +864,8 @@ declare function IncomingTypingIndicator({ customStyle }: TypingIndicatorProps):
|
|
|
863
864
|
declare interface InternalMessageTemplateVariables {
|
|
864
865
|
carousel_padding_left?: number;
|
|
865
866
|
carousel_padding_right?: number;
|
|
867
|
+
cascade_padding_left?: number;
|
|
868
|
+
cascade_padding_right?: number;
|
|
866
869
|
}
|
|
867
870
|
|
|
868
871
|
declare interface LanguageSet {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as o, d as n, i as t, C as i, k as r, l as g, n as L, j as u, o as C, D as m, F as M, h as v, g as y, p as d, M as p, O as x, S as c, m as l, f as S, u as f, e as h } from "./es/
|
|
1
|
+
import { b as o, d as n, i as t, C as i, k as r, l as g, n as L, j as u, o as C, D as m, F as M, h as v, g as y, p as d, M as p, O as x, S as c, m as l, f as S, u as f, e as h } from "./es/BXYgriG3.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
o as AgentProviderContainer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendbird/ai-agent-messenger-react",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Sendbird AI Agent Messenger for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-dom": "^19.0.0",
|
|
46
46
|
"strip-json-comments": "^5.0.1",
|
|
47
47
|
"styled-components": "^6.1.15",
|
|
48
|
-
"@sendbird/ai-agent-core": "1.1
|
|
48
|
+
"@sendbird/ai-agent-core": "1.2.1",
|
|
49
49
|
"@sendbird/vite-tools": "0.0.1"
|
|
50
50
|
},
|
|
51
51
|
"msw": {
|