livevegas-ui-kit 1.0.101 → 1.0.102

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.
@@ -6529,24 +6529,20 @@ const Xo = ({ tournamentData: e }) => {
6529
6529
  }
6530
6530
 
6531
6531
  @keyframes slidein {
6532
- from {
6532
+ 0% {
6533
6533
  opacity: 1;
6534
6534
  }
6535
-
6536
- to {
6535
+ 100% {
6537
6536
  opacity: 0;
6538
6537
  }
6539
6538
  }
6540
6539
  `, p2 = ({ onSendMessage: e, messages: t, isMobile: a = !1 }) => {
6541
- const [i, r] = K(""), { t: s } = G(), o = (u) => {
6542
- const p = u.target.value;
6543
- (p.trim().length || i.length === 1) && r(p);
6540
+ const [i, r] = K(""), { t: s } = G(), o = (c) => {
6541
+ const d = c.target.value;
6542
+ (d.trim().length || i.length === 1) && r(d);
6544
6543
  }, l = () => {
6545
6544
  e(i), r("");
6546
- }, c = /* @__PURE__ */ new Date(), d = t.filter((u) => {
6547
- const p = new Date(u.messageDateTime);
6548
- return (c.getTime() - p.getTime()) / 1e3 < 10;
6549
- });
6545
+ };
6550
6546
  return /* @__PURE__ */ n.jsxs(c2, { $isMobile: a, children: [
6551
6547
  /* @__PURE__ */ n.jsxs(d2, { $isMobile: a, children: [
6552
6548
  /* @__PURE__ */ n.jsx(
@@ -6557,20 +6553,20 @@ const Xo = ({ tournamentData: e }) => {
6557
6553
  onChange: o,
6558
6554
  placeholder: s("Click to chat"),
6559
6555
  type: "text",
6560
- onKeyPress: (u) => {
6561
- u.key === "Enter" && l();
6556
+ onKeyPress: (c) => {
6557
+ c.key === "Enter" && l();
6562
6558
  }
6563
6559
  }
6564
6560
  ),
6565
6561
  /* @__PURE__ */ n.jsx("div", { className: "send-massage", children: /* @__PURE__ */ n.jsx(Ya, { onClick: l }) })
6566
6562
  ] }),
6567
- /* @__PURE__ */ n.jsx(u2, { $isMobile: a, children: d.map((u) => /* @__PURE__ */ n.jsxs("div", { className: "message-item", children: [
6563
+ /* @__PURE__ */ n.jsx(u2, { $isMobile: a, children: t.map((c) => /* @__PURE__ */ n.jsxs("div", { className: "message-item", children: [
6568
6564
  /* @__PURE__ */ n.jsxs("div", { className: "sender-nick", children: [
6569
- /* @__PURE__ */ n.jsx("p", { className: "nickname", children: u.senderNickname }),
6570
- /* @__PURE__ */ n.jsx("p", { className: "time", children: u.time })
6565
+ /* @__PURE__ */ n.jsx("p", { className: "nickname", children: c.senderNickname }),
6566
+ /* @__PURE__ */ n.jsx("p", { className: "time", children: c.time })
6571
6567
  ] }),
6572
- /* @__PURE__ */ n.jsx("p", { className: "masssage", children: u.message })
6573
- ] }, `${u.messageDateTime}`)) }, d.length)
6568
+ /* @__PURE__ */ n.jsx("p", { className: "masssage", children: c.message })
6569
+ ] }, `${c.messageDateTime}`)) })
6574
6570
  ] });
6575
6571
  }, f2 = f.div`
6576
6572
  display: flex;
@@ -1177,15 +1177,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Tt]+=1);const Sr=f.div`
1177
1177
  }
1178
1178
 
1179
1179
  @keyframes slidein {
1180
- from {
1180
+ 0% {
1181
1181
  opacity: 1;
1182
1182
  }
1183
-
1184
- to {
1183
+ 100% {
1185
1184
  opacity: 0;
1186
1185
  }
1187
1186
  }
1188
- `,Fo=({onSendMessage:e,messages:t,isMobile:a=!1})=>{const[i,r]=v.useState(""),{t:s}=G(),o=u=>{const p=u.target.value;(p.trim().length||i.length===1)&&r(p)},l=()=>{e(i),r("")},c=new Date,d=t.filter(u=>{const p=new Date(u.messageDateTime);return(c.getTime()-p.getTime())/1e3<10});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:u=>{u.key==="Enter"&&l()}}),n.jsx("div",{className:"send-massage",children:n.jsx(ka,{onClick:l})})]}),n.jsx(Mo,{$isMobile:a,children:d.map(u=>n.jsxs("div",{className:"message-item",children:[n.jsxs("div",{className:"sender-nick",children:[n.jsx("p",{className:"nickname",children:u.senderNickname}),n.jsx("p",{className:"time",children:u.time})]}),n.jsx("p",{className:"masssage",children:u.message})]},`${u.messageDateTime}`))},d.length)]})},Ho=f.div`
1187
+ `,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
1188
  display: flex;
1190
1189
  flex-direction: column;
1191
1190
  gap: 4px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livevegas-ui-kit",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"