livevegas-ui-kit 1.0.97 → 1.0.99

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.
@@ -4,4 +4,5 @@ export interface IMessage {
4
4
  senderNickname: string;
5
5
  tableId: number;
6
6
  time: string;
7
+ messageDateTime: string | number | Date;
7
8
  }
@@ -6487,7 +6487,7 @@ const Xo = ({ tournamentData: e }) => {
6487
6487
  flex-direction: column;
6488
6488
  justify-content: end;
6489
6489
  align-items: end;
6490
- animation-duration: 8s;
6490
+ animation-duration: 15s;
6491
6491
  animation-name: slidein;
6492
6492
  }
6493
6493
 
@@ -6561,13 +6561,13 @@ const Xo = ({ tournamentData: e }) => {
6561
6561
  ),
6562
6562
  /* @__PURE__ */ n.jsx("div", { className: "send-massage", children: /* @__PURE__ */ n.jsx(Ya, { onClick: l }) })
6563
6563
  ] }),
6564
- /* @__PURE__ */ n.jsx(u2, { $isMobile: a, children: t.map((c, d) => /* @__PURE__ */ n.jsxs("div", { className: "message-item", children: [
6564
+ /* @__PURE__ */ n.jsx(u2, { $isMobile: a, children: t.map((c) => /* @__PURE__ */ n.jsxs("div", { className: "message-item", children: [
6565
6565
  /* @__PURE__ */ n.jsxs("div", { className: "sender-nick", children: [
6566
6566
  /* @__PURE__ */ n.jsx("p", { className: "nickname", children: c.senderNickname }),
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
- ] }, d)) })
6570
+ ] }, `${c.messageDateTime}`)) })
6571
6571
  ] });
6572
6572
  }, f2 = f.div`
6573
6573
  display: flex;
@@ -1135,7 +1135,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Tt]+=1);const Sr=f.div`
1135
1135
  flex-direction: column;
1136
1136
  justify-content: end;
1137
1137
  align-items: end;
1138
- animation-duration: 8s;
1138
+ animation-duration: 15s;
1139
1139
  animation-name: slidein;
1140
1140
  }
1141
1141
 
@@ -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,d)=>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})]},d))})]})},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}`))})]})},Ho=f.div`
1189
1189
  display: flex;
1190
1190
  flex-direction: column;
1191
1191
  gap: 4px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livevegas-ui-kit",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"