livevegas-ui-kit 1.0.152 → 1.0.154

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.
@@ -16,6 +16,7 @@ export interface IBlackJackAction {
16
16
  actionsHandler: IActions;
17
17
  size: number;
18
18
  isMobile: boolean;
19
+ bettingTimeId: string;
19
20
  }
20
- export declare const BlackJackAction: ({ time, actionsHandler, size, isMobile, }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const BlackJackAction: ({ time, actionsHandler, size, isMobile, bettingTimeId }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
21
22
  export {};
@@ -9595,7 +9595,7 @@ const D2 = {
9595
9595
  }
9596
9596
 
9597
9597
  &.animated-active {
9598
- animation: buttonActive 1s ease forwards;
9598
+ animation: buttonActive 1.5s ease forwards;
9599
9599
  }
9600
9600
 
9601
9601
  &.animated-unactive {
@@ -9674,52 +9674,53 @@ const D2 = {
9674
9674
  time: e,
9675
9675
  actionsHandler: t,
9676
9676
  size: n,
9677
- isMobile: r
9677
+ isMobile: r,
9678
+ bettingTimeId: i
9678
9679
  }) => {
9679
- const [i, s] = E(
9680
+ const [s, o] = E(
9680
9681
  null
9681
- ), o = n === Xt.Big, { t: l } = U();
9682
+ ), l = n === Xt.Big, { t: c } = U();
9682
9683
  return /* @__PURE__ */ a.jsxs(P2, { children: [
9683
- o && !r && /* @__PURE__ */ a.jsx(M2, { $isBig: o, $isMobile: r, children: /* @__PURE__ */ a.jsx(Ya, { time: e, timerType: Re.WaitingForUserAction }) }),
9684
- /* @__PURE__ */ a.jsxs(F2, { $isBig: o, $isMobile: r, children: [
9685
- /* @__PURE__ */ a.jsx("div", { className: "aciton", children: H2[n].map((c, d) => {
9686
- const { isDisabled: u, onHandle: f } = t[c.betType];
9684
+ l && !r && /* @__PURE__ */ a.jsx(M2, { $isBig: l, $isMobile: r, children: /* @__PURE__ */ a.jsx(Ya, { time: e, timerType: Re.WaitingForUserAction }) }, i),
9685
+ /* @__PURE__ */ a.jsxs(F2, { $isBig: l, $isMobile: r, children: [
9686
+ /* @__PURE__ */ a.jsx("div", { className: "aciton", children: H2[n].map((d, u) => {
9687
+ const { isDisabled: f, onHandle: p } = t[d.betType];
9687
9688
  return /* @__PURE__ */ a.jsxs(
9688
9689
  "div",
9689
9690
  {
9690
- className: `button ${!!i && (i === c.betType ? "animated-active" : "animated-unactive")}`,
9691
+ className: `button ${!!s && (s === d.betType ? "animated-active" : "animated-unactive")}`,
9691
9692
  children: [
9692
9693
  /* @__PURE__ */ a.jsx(
9693
9694
  si,
9694
9695
  {
9695
- buttonType: c.betType,
9696
- icon: c.icon,
9696
+ buttonType: d.betType,
9697
+ icon: d.icon,
9697
9698
  onClick: () => {
9698
- f(), s(c.betType);
9699
+ p(), o(d.betType);
9699
9700
  },
9700
- isDisabled: u,
9701
+ isDisabled: f,
9701
9702
  size: n
9702
9703
  }
9703
9704
  ),
9704
- o && /* @__PURE__ */ a.jsx("p", { className: "name", children: l(c.name) })
9705
+ l && /* @__PURE__ */ a.jsx("p", { className: "name", children: c(d.name) })
9705
9706
  ]
9706
9707
  },
9707
- d
9708
+ u
9708
9709
  );
9709
9710
  }) }),
9710
- /* @__PURE__ */ a.jsx("div", { className: "last-boton", children: o && /* @__PURE__ */ a.jsxs(
9711
+ /* @__PURE__ */ a.jsx("div", { className: "last-boton", children: l && /* @__PURE__ */ a.jsxs(
9711
9712
  R2,
9712
9713
  {
9713
- className: `${!!i && (i === Z.Surrender ? "animated-active" : "animated-unactive")}`,
9714
+ className: `${!!s && (s === Z.Surrender ? "animated-active" : "animated-unactive")}`,
9714
9715
  onClick: () => {
9715
- t[Z.Surrender].onHandle(), s(Z.Surrender);
9716
+ t[Z.Surrender].onHandle(), o(Z.Surrender);
9716
9717
  },
9717
9718
  $surrender: !0,
9718
9719
  $isDisabled: t[Z.Surrender].isDisabled,
9719
9720
  disabled: t[Z.Surrender].isDisabled,
9720
9721
  children: [
9721
9722
  /* @__PURE__ */ a.jsx("div", { className: "icon", children: /* @__PURE__ */ a.jsx(ni, { size: n === Xt.Big ? 20 : 12 }) }),
9722
- /* @__PURE__ */ a.jsx("p", { className: "name", children: l("Surrender") })
9723
+ /* @__PURE__ */ a.jsx("p", { className: "name", children: c("Surrender") })
9723
9724
  ]
9724
9725
  }
9725
9726
  ) })
@@ -2664,7 +2664,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Nt]+=1);const Is=m.div`
2664
2664
  }
2665
2665
 
2666
2666
  &.animated-active {
2667
- animation: buttonActive 1s ease forwards;
2667
+ animation: buttonActive 1.5s ease forwards;
2668
2668
  }
2669
2669
 
2670
2670
  &.animated-unactive {
@@ -2739,7 +2739,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Nt]+=1);const Is=m.div`
2739
2739
  transform: scale(1.3);
2740
2740
  }
2741
2741
  }
2742
- `,y2=({time:e,actionsHandler:t,size:n,isMobile:r})=>{const[i,s]=C.useState(null),o=n===ea.Big,{t:l}=E();return a.jsxs(p2,{children:[o&&!r&&a.jsx(m2,{$isBig:o,$isMobile:r,children:a.jsx(_t,{time:e,timerType:We.WaitingForUserAction})}),a.jsxs(g2,{$isBig:o,$isMobile:r,children:[a.jsx("div",{className:"aciton",children:u2[n].map((c,d)=>{const{isDisabled:u,onHandle:f}=t[c.betType];return a.jsxs("div",{className:`button ${!!i&&(i===c.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(Wr,{buttonType:c.betType,icon:c.icon,onClick:()=>{f(),s(c.betType)},isDisabled:u,size:n}),o&&a.jsx("p",{className:"name",children:l(c.name)})]},d)})}),a.jsx("div",{className:"last-boton",children:o&&a.jsxs(b2,{className:`${!!i&&(i===Y.Surrender?"animated-active":"animated-unactive")}`,onClick:()=>{t[Y.Surrender].onHandle(),s(Y.Surrender)},$surrender:!0,$isDisabled:t[Y.Surrender].isDisabled,disabled:t[Y.Surrender].isDisabled,children:[a.jsx("div",{className:"icon",children:a.jsx(Or,{size:n===ea.Big?20:12})}),a.jsx("p",{className:"name",children:l("Surrender")})]})})]})]})},x2=m.div`
2742
+ `,y2=({time:e,actionsHandler:t,size:n,isMobile:r,bettingTimeId:i})=>{const[s,o]=C.useState(null),l=n===ea.Big,{t:c}=E();return a.jsxs(p2,{children:[l&&!r&&a.jsx(m2,{$isBig:l,$isMobile:r,children:a.jsx(_t,{time:e,timerType:We.WaitingForUserAction})},i),a.jsxs(g2,{$isBig:l,$isMobile:r,children:[a.jsx("div",{className:"aciton",children:u2[n].map((d,u)=>{const{isDisabled:f,onHandle:p}=t[d.betType];return a.jsxs("div",{className:`button ${!!s&&(s===d.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(Wr,{buttonType:d.betType,icon:d.icon,onClick:()=>{p(),o(d.betType)},isDisabled:f,size:n}),l&&a.jsx("p",{className:"name",children:c(d.name)})]},u)})}),a.jsx("div",{className:"last-boton",children:l&&a.jsxs(b2,{className:`${!!s&&(s===Y.Surrender?"animated-active":"animated-unactive")}`,onClick:()=>{t[Y.Surrender].onHandle(),o(Y.Surrender)},$surrender:!0,$isDisabled:t[Y.Surrender].isDisabled,disabled:t[Y.Surrender].isDisabled,children:[a.jsx("div",{className:"icon",children:a.jsx(Or,{size:n===ea.Big?20:12})}),a.jsx("p",{className:"name",children:c("Surrender")})]})})]})]})},x2=m.div`
2743
2743
  width: 135px;
2744
2744
  height: 69px;
2745
2745
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livevegas-ui-kit",
3
- "version": "1.0.152",
3
+ "version": "1.0.154",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"