minerva-plexus-csd 1.1.29 → 1.1.30
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.
|
@@ -36279,6 +36279,7 @@ const Av = M.div`
|
|
|
36279
36279
|
{
|
|
36280
36280
|
onClick: y,
|
|
36281
36281
|
"aria-label": E(f ? "formLabels.collapse_chat" : "formLabels.expand_chat"),
|
|
36282
|
+
title: E(f ? "formLabels.collapse_chat" : "formLabels.expand_chat"),
|
|
36282
36283
|
children: f ? /* @__PURE__ */ g.jsx(tE, { color: "white" }) : /* @__PURE__ */ g.jsx(nE, { color: "white" })
|
|
36283
36284
|
}
|
|
36284
36285
|
) })
|
|
@@ -1227,7 +1227,7 @@ Valid keys: `+JSON.stringify(Object.keys(N),null," "));var V=Te(te,re,K,Z,ee+".
|
|
|
1227
1227
|
font-weight: 600;
|
|
1228
1228
|
line-height: 24px;
|
|
1229
1229
|
margin: 0;
|
|
1230
|
-
`,rL=({themeDisplayName:e,customLogo:t,showHeader:n,showDate:r,showCreateConversation:a,showLogoutButton:i,showControlButtons:o,className:s="",showPlexo:l,showFeedbackButtons:u,showConversationTitle:c,showeditIcon:d})=>{const[f,p]=I.useState(()=>localStorage.getItem("minerva_chat_expanded")==="true"),{t:E}=at.useTranslation("minerva"),[S,A]=I.useState(!1),T=I.useRef(null);I.useEffect(()=>{const x=()=>{T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{A(!0)},36e5)};return x(),window.addEventListener("mousemove",x),window.addEventListener("keydown",x),()=>{T.current&&clearTimeout(T.current),window.removeEventListener("mousemove",x),window.removeEventListener("keydown",x)}},[]);const y=()=>{p(x=>{const h=!x;return localStorage.setItem("minerva_chat_expanded",String(h)),h})},m=()=>typeof t=="string"?g.jsx("img",{src:t,alt:"Custom Logo",style:{height:"40px"}}):t??g.jsx(gv,{});return g.jsxs(J4,{$isExpanded:f,className:s,children:[g.jsxs(Q4,{children:[g.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[m(),g.jsx(nL,{children:E("titles.chatTtitle")})]}),g.jsx(tL,{children:g.jsx(eL,{onClick:y,"aria-label":E(f?"formLabels.collapse_chat":"formLabels.expand_chat"),children:f?g.jsx(Vc,{color:"white"}):g.jsx(Wc,{color:"white"})})})]}),S&&g.jsx(pL,{}),f&&g.jsxs(g.Fragment,{children:[g.jsx(mv,{children:g.jsx(FE,{showeditIcon:d,showPlexo:l,showFeedbackButtons:u,showDate:r,showConversationTitle:c,showControlButtons:o})}),g.jsx(hv,{children:g.jsx(Xc,{})})]})]})},aL=L.header`
|
|
1230
|
+
`,rL=({themeDisplayName:e,customLogo:t,showHeader:n,showDate:r,showCreateConversation:a,showLogoutButton:i,showControlButtons:o,className:s="",showPlexo:l,showFeedbackButtons:u,showConversationTitle:c,showeditIcon:d})=>{const[f,p]=I.useState(()=>localStorage.getItem("minerva_chat_expanded")==="true"),{t:E}=at.useTranslation("minerva"),[S,A]=I.useState(!1),T=I.useRef(null);I.useEffect(()=>{const x=()=>{T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{A(!0)},36e5)};return x(),window.addEventListener("mousemove",x),window.addEventListener("keydown",x),()=>{T.current&&clearTimeout(T.current),window.removeEventListener("mousemove",x),window.removeEventListener("keydown",x)}},[]);const y=()=>{p(x=>{const h=!x;return localStorage.setItem("minerva_chat_expanded",String(h)),h})},m=()=>typeof t=="string"?g.jsx("img",{src:t,alt:"Custom Logo",style:{height:"40px"}}):t??g.jsx(gv,{});return g.jsxs(J4,{$isExpanded:f,className:s,children:[g.jsxs(Q4,{children:[g.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[m(),g.jsx(nL,{children:E("titles.chatTtitle")})]}),g.jsx(tL,{children:g.jsx(eL,{onClick:y,"aria-label":E(f?"formLabels.collapse_chat":"formLabels.expand_chat"),title:E(f?"formLabels.collapse_chat":"formLabels.expand_chat"),children:f?g.jsx(Vc,{color:"white"}):g.jsx(Wc,{color:"white"})})})]}),S&&g.jsx(pL,{}),f&&g.jsxs(g.Fragment,{children:[g.jsx(mv,{children:g.jsx(FE,{showeditIcon:d,showPlexo:l,showFeedbackButtons:u,showDate:r,showConversationTitle:c,showControlButtons:o})}),g.jsx(hv,{children:g.jsx(Xc,{})})]})]})},aL=L.header`
|
|
1231
1231
|
background-color: transparent;
|
|
1232
1232
|
color: white;
|
|
1233
1233
|
padding: 10px 20px;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "minerva-plexus-csd",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "A reusable chat logic library for React applications",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.30",
|
|
6
6
|
"main": "dist/minerva-plexus-csd.umd.js",
|
|
7
7
|
"module": "dist/minerva-plexus-csd.es.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|