livevegas-ui-kit 1.0.99 → 1.0.100
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.
|
@@ -6567,7 +6567,7 @@ const Xo = ({ tournamentData: e }) => {
|
|
|
6567
6567
|
/* @__PURE__ */ n.jsx("p", { className: "time", children: c.time })
|
|
6568
6568
|
] }),
|
|
6569
6569
|
/* @__PURE__ */ n.jsx("p", { className: "masssage", children: c.message })
|
|
6570
|
-
] }, `${c.messageDateTime}`)) })
|
|
6570
|
+
] }, `${c.messageDateTime}`)) }, t.length)
|
|
6571
6571
|
] });
|
|
6572
6572
|
}, f2 = f.div`
|
|
6573
6573
|
display: flex;
|
|
@@ -1185,7 +1185,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Tt]+=1);const Sr=f.div`
|
|
|
1185
1185
|
opacity: 0;
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
|
-
`,Fo=({onSendMessage:e,messages:t,isMobile:a=!1})=>{const[i,r]=v.useState(""),{t:s}=G(),o=c=>{const d=c.target.value;(d.trim().length||i.length===1)&&r(d)},l=()=>{e(i),r("")};return n.jsxs(Oo,{$isMobile:a,children:[n.jsxs(Do,{$isMobile:a,children:[n.jsx($o,{$isMobile:a,value:i,onChange:o,placeholder:s("Click to chat"),type:"text",onKeyPress:c=>{c.key==="Enter"&&l()}}),n.jsx("div",{className:"send-massage",children:n.jsx(ka,{onClick:l})})]}),n.jsx(Mo,{$isMobile:a,children:t.map(c=>n.jsxs("div",{className:"message-item",children:[n.jsxs("div",{className:"sender-nick",children:[n.jsx("p",{className:"nickname",children:c.senderNickname}),n.jsx("p",{className:"time",children:c.time})]}),n.jsx("p",{className:"masssage",children:c.message})]},`${c.messageDateTime}`))})]})},Ho=f.div`
|
|
1188
|
+
`,Fo=({onSendMessage:e,messages:t,isMobile:a=!1})=>{const[i,r]=v.useState(""),{t:s}=G(),o=c=>{const d=c.target.value;(d.trim().length||i.length===1)&&r(d)},l=()=>{e(i),r("")};return n.jsxs(Oo,{$isMobile:a,children:[n.jsxs(Do,{$isMobile:a,children:[n.jsx($o,{$isMobile:a,value:i,onChange:o,placeholder:s("Click to chat"),type:"text",onKeyPress:c=>{c.key==="Enter"&&l()}}),n.jsx("div",{className:"send-massage",children:n.jsx(ka,{onClick:l})})]}),n.jsx(Mo,{$isMobile:a,children:t.map(c=>n.jsxs("div",{className:"message-item",children:[n.jsxs("div",{className:"sender-nick",children:[n.jsx("p",{className:"nickname",children:c.senderNickname}),n.jsx("p",{className:"time",children:c.time})]}),n.jsx("p",{className:"masssage",children:c.message})]},`${c.messageDateTime}`))},t.length)]})},Ho=f.div`
|
|
1189
1189
|
display: flex;
|
|
1190
1190
|
flex-direction: column;
|
|
1191
1191
|
gap: 4px;
|