livevegas-ui-kit 1.0.184 → 1.0.186

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.
@@ -10962,17 +10962,17 @@ const fc = {
10962
10962
  f
10963
10963
  );
10964
10964
  }) }) : /* @__PURE__ */ a.jsx("div", { className: "aciton", children: wc.map((h, f) => {
10965
- const { onHandle: b } = t[h.betType];
10966
- return /* @__PURE__ */ a.jsxs("div", { className: "button", children: [
10965
+ const { isDisabled: b, onHandle: p } = t[h.betType];
10966
+ return /* @__PURE__ */ a.jsxs("div", { className: `button ${!!o && (o === h.betType ? "animated-active" : "animated-unactive")}`, children: [
10967
10967
  /* @__PURE__ */ a.jsx(
10968
10968
  Ra,
10969
10969
  {
10970
10970
  buttonType: h.betType,
10971
10971
  icon: h.icon,
10972
10972
  onClick: () => {
10973
- b();
10973
+ l(h.betType), p();
10974
10974
  },
10975
- isDisabled: !1,
10975
+ isDisabled: b || !!o,
10976
10976
  size: n,
10977
10977
  gameType: s
10978
10978
  }
@@ -3320,7 +3320,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Rt]+=1);const Vs=m.div`
3320
3320
  transform: scale(1.3);
3321
3321
  }
3322
3322
  }
3323
- `,nc=({time:e,actionsHandler:t,size:n,isMobile:i,bettingTimeId:r,gameType:s})=>{const[o,l]=k.useState(null),d=n===wt.Big,{t:c}=G();return a.jsxs(_2,{children:[d&&!i&&a.jsx(ec,{$isBig:d,$isMobile:i,children:a.jsx(na,{time:e,timerType:Ue.WaitingForUserAction})},r),a.jsxs(tc,{$isBig:d,$isMobile:i,children:[s!==ge.TEXAS?a.jsx("div",{className:"aciton",children:J2[n].map((h,f)=>{const{isDisabled:b,onHandle:p}=t[h.betType];return a.jsxs("div",{className:`button ${!!o&&(o===h.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(qa,{buttonType:h.betType,icon:h.icon,onClick:()=>{p(),l(h.betType)},isDisabled:b||!!o,size:n}),d&&a.jsx("p",{className:"name",children:c(h.name)})]},f)})}):a.jsx("div",{className:"aciton",children:$2.map((h,f)=>{const{onHandle:b}=t[h.betType];return a.jsxs("div",{className:"button",children:[a.jsx(qa,{buttonType:h.betType,icon:h.icon,onClick:()=>{b()},isDisabled:!1,size:n,gameType:s}),d&&a.jsx("p",{className:"name",children:c(h.name)})]},f)})}),s!==ge.TEXAS&&a.jsx("div",{className:"last-boton",children:d&&a.jsxs(ac,{className:`${!!o&&(o===z.Surrender?"animated-active":"animated-unactive")}`,onClick:()=>{t[z.Surrender].onHandle(),l(z.Surrender)},$surrender:!0,$isDisabled:t[z.Surrender].isDisabled,disabled:t[z.Surrender].isDisabled,children:[a.jsx("div",{className:"icon",children:a.jsx(Xi,{size:n===wt.Big?20:12})}),a.jsx("p",{className:"name",children:c("Surrender")})]})})]})]})},ic=m.div`
3323
+ `,nc=({time:e,actionsHandler:t,size:n,isMobile:i,bettingTimeId:r,gameType:s})=>{const[o,l]=k.useState(null),d=n===wt.Big,{t:c}=G();return a.jsxs(_2,{children:[d&&!i&&a.jsx(ec,{$isBig:d,$isMobile:i,children:a.jsx(na,{time:e,timerType:Ue.WaitingForUserAction})},r),a.jsxs(tc,{$isBig:d,$isMobile:i,children:[s!==ge.TEXAS?a.jsx("div",{className:"aciton",children:J2[n].map((h,f)=>{const{isDisabled:b,onHandle:p}=t[h.betType];return a.jsxs("div",{className:`button ${!!o&&(o===h.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(qa,{buttonType:h.betType,icon:h.icon,onClick:()=>{p(),l(h.betType)},isDisabled:b||!!o,size:n}),d&&a.jsx("p",{className:"name",children:c(h.name)})]},f)})}):a.jsx("div",{className:"aciton",children:$2.map((h,f)=>{const{isDisabled:b,onHandle:p}=t[h.betType];return a.jsxs("div",{className:`button ${!!o&&(o===h.betType?"animated-active":"animated-unactive")}`,children:[a.jsx(qa,{buttonType:h.betType,icon:h.icon,onClick:()=>{l(h.betType),p()},isDisabled:b||!!o,size:n,gameType:s}),d&&a.jsx("p",{className:"name",children:c(h.name)})]},f)})}),s!==ge.TEXAS&&a.jsx("div",{className:"last-boton",children:d&&a.jsxs(ac,{className:`${!!o&&(o===z.Surrender?"animated-active":"animated-unactive")}`,onClick:()=>{t[z.Surrender].onHandle(),l(z.Surrender)},$surrender:!0,$isDisabled:t[z.Surrender].isDisabled,disabled:t[z.Surrender].isDisabled,children:[a.jsx("div",{className:"icon",children:a.jsx(Xi,{size:n===wt.Big?20:12})}),a.jsx("p",{className:"name",children:c("Surrender")})]})})]})]})},ic=m.div`
3324
3324
  width: 135px;
3325
3325
  height: 69px;
3326
3326
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livevegas-ui-kit",
3
- "version": "1.0.184",
3
+ "version": "1.0.186",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"