livevegas-ui-kit 1.0.136 → 1.0.137
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.
- package/dist/livevegas-ui-kit.es.js +178 -178
- package/dist/livevegas-ui-kit.umd.js +3 -3
- package/package.json +1 -1
|
@@ -2566,11 +2566,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Nt]+=1);const S1=p.div`
|
|
|
2566
2566
|
background: ${({type:e="error"})=>al[e]};
|
|
2567
2567
|
position: absolute;
|
|
2568
2568
|
top: -25px;
|
|
2569
|
-
`,sl=({code:e,type:t="error"})=>{const{t:n}=V(),i=G1[e]||n("Unknown error");return a.jsxs(nl,{type:t,children:[a.jsx(rl,{type:t}),a.jsx(il,{children:n(i)})]})},Oi=({size:e=17})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M0.949219 1.15565C0.949219 0.988752 1.01552 0.828692 1.13353 0.710679C1.25154 0.592666 1.4116 0.526367 1.5785 0.526367H15.426C15.5429 0.526367 15.6574 0.55891 15.7568 0.62035C15.8563 0.681789 15.9366 0.769698 15.9889 0.874225C16.0411 0.978752 16.0632 1.09577 16.0528 1.21216C16.0423 1.32855 15.9996 1.43972 15.9294 1.53322L12.4357 6.19073L15.9294 10.8491C15.9996 10.9426 16.0423 11.0537 16.0528 11.1701C16.0632 11.2865 16.0411 11.4035 15.9889 11.5081C15.9366 11.6126 15.8563 11.7005 15.7568 11.7619C15.6574 11.8234 15.5429 11.8559 15.426 11.8559H2.20778V15.8405C2.20777 15.9926 2.1527 16.1395 2.05275 16.2541C1.9528 16.3687 1.81473 16.4433 1.66408 16.4639L1.5785 16.4706C1.42643 16.4706 1.27951 16.4156 1.16491 16.3156C1.05031 16.2157 0.975773 16.0776 0.955092 15.9269L0.949219 15.8405V1.15565Z",fill:"white"})}),Hi=({size:e})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M12.3933 3.79838L12.5 3.79199C12.7234 3.79202 12.939 3.87403 13.1059 4.02247C13.2728 4.1709 13.3795 4.37544 13.4056 4.59729L13.412 4.70399V11.088H19.796C20.0194 11.088 20.235 11.17 20.4019 11.3185C20.5688 11.4669 20.6755 11.6714 20.7016 11.8933L20.708 12C20.708 12.2234 20.626 12.439 20.4775 12.6059C20.3291 12.7728 20.1245 12.8795 19.9027 12.9056L19.796 12.912H13.412V19.296C13.412 19.5194 13.33 19.735 13.1815 19.9019C13.0331 20.0688 12.8285 20.1755 12.6067 20.2016L12.5 20.208C12.2766 20.208 12.061 20.126 11.8941 19.9775C11.7272 19.8291 11.6205 19.6245 11.5944 19.4027L11.588 19.296V12.912H5.20399C4.98061 12.912 4.76501 12.83 4.59808 12.6815C4.43116 12.5331 4.32451 12.3285 4.29838 12.1067L4.29199 12C4.29202 11.7766 4.37403 11.561 4.52247 11.3941C4.6709 11.2272 4.87544 11.1205 5.09729 11.0944L5.20399 11.088H11.588V4.70399C11.588 4.48061 11.67 4.26501 11.8185 4.09808C11.9669 3.93116 12.1714 3.82451 12.3933 3.79838Z",fill:"white"})}),Pi=({size:e=20})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M4.7641 2.93193C4.7641 2.69006 4.66802 2.45808 4.49698 2.28705C4.32595 2.11602 4.09398 2.01993 3.8521 2.01993C3.61022 2.01993 3.37825 2.11602 3.20722 2.28705C3.03619 2.45808 2.9401 2.69006 2.9401 2.93193V9.08611C2.9401 9.20705 2.89206 9.32303 2.80654 9.40855C2.72103 9.49407 2.60504 9.54211 2.4841 9.54211C2.36316 9.54211 2.24718 9.49407 2.16166 9.40855C2.07614 9.32303 2.0281 9.20705 2.0281 9.08611V4.52611C2.0281 4.28423 1.93202 4.05226 1.76098 3.88123C1.58995 3.71019 1.35798 3.61411 1.1161 3.61411C0.874224 3.61411 0.642254 3.71019 0.47122 3.88123C0.300187 4.05226 0.204102 4.28423 0.204102 4.52611V12.5116C0.204102 14.4997 1.26932 16.6247 1.94967 17.7911C2.45674 18.6612 3.39063 19.1218 4.34185 19.1218H6.31906C6.86957 19.1217 7.4092 18.9684 7.87746 18.6789C8.34573 18.3895 8.72413 17.9753 8.97025 17.4829L9.09154 17.2394C9.47458 16.4715 9.95338 15.7547 10.5161 15.1062L12.5334 12.7788L14.5325 11.2238C14.6147 11.1598 14.6811 11.0779 14.7268 10.9844C14.7724 10.8908 14.7962 10.7881 14.7961 10.6839C14.7961 10.2416 14.559 9.91329 14.2562 9.71721C13.9862 9.54393 13.6634 9.46915 13.3789 9.43449C12.7988 9.36609 12.0929 9.43632 11.4737 9.5567C11.0399 9.64509 10.6224 9.80014 10.2361 10.0163V2.93193C10.2361 2.69006 10.14 2.45808 9.96898 2.28705C9.79795 2.11602 9.56598 2.01993 9.3241 2.01993C9.08222 2.01993 8.85025 2.11602 8.67922 2.28705C8.50819 2.45808 8.4121 2.69006 8.4121 2.93193V8.63193C8.4121 8.75287 8.36406 8.86886 8.27854 8.95437C8.19303 9.03989 8.07704 9.08793 7.9561 9.08793C7.83516 9.08793 7.71918 9.03989 7.63366 8.95437C7.54814 8.86886 7.5001 8.75287 7.5001 8.63193V1.7892C7.5001 1.54732 7.40402 1.31535 7.23298 1.14432C7.06195 0.973283 6.82998 0.877197 6.5881 0.877197C6.34622 0.877197 6.11425 0.973283 5.94322 1.14432C5.77219 1.31535 5.6761 1.54732 5.6761 1.7892V8.63193C5.6761 8.75287 5.62806 8.86886 5.54254 8.95437C5.45703 9.03989 5.34104 9.08793 5.2201 9.08793C5.09916 9.08793 4.98318 9.03989 4.89766 8.95437C4.81214 8.86886 4.7641 8.75287 4.7641 8.63193V2.93193Z",fill:"white"})}),ol={[X.Double]:"#eb6200",[X.Hit]:"#33A54C",[X.Stand]:"#E34747",[X.Split]:"#C344FA",[X.Surrender]:"#11111199"};var ta=(e=>(e[e.Small=0]="Small",e[e.Big=1]="Big",e))(ta||{});const ll={[X.Double]:{buttonSize:
|
|
2569
|
+
`,sl=({code:e,type:t="error"})=>{const{t:n}=V(),i=G1[e]||n("Unknown error");return a.jsxs(nl,{type:t,children:[a.jsx(rl,{type:t}),a.jsx(il,{children:n(i)})]})},Oi=({size:e=17})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M0.949219 1.15565C0.949219 0.988752 1.01552 0.828692 1.13353 0.710679C1.25154 0.592666 1.4116 0.526367 1.5785 0.526367H15.426C15.5429 0.526367 15.6574 0.55891 15.7568 0.62035C15.8563 0.681789 15.9366 0.769698 15.9889 0.874225C16.0411 0.978752 16.0632 1.09577 16.0528 1.21216C16.0423 1.32855 15.9996 1.43972 15.9294 1.53322L12.4357 6.19073L15.9294 10.8491C15.9996 10.9426 16.0423 11.0537 16.0528 11.1701C16.0632 11.2865 16.0411 11.4035 15.9889 11.5081C15.9366 11.6126 15.8563 11.7005 15.7568 11.7619C15.6574 11.8234 15.5429 11.8559 15.426 11.8559H2.20778V15.8405C2.20777 15.9926 2.1527 16.1395 2.05275 16.2541C1.9528 16.3687 1.81473 16.4433 1.66408 16.4639L1.5785 16.4706C1.42643 16.4706 1.27951 16.4156 1.16491 16.3156C1.05031 16.2157 0.975773 16.0776 0.955092 15.9269L0.949219 15.8405V1.15565Z",fill:"white"})}),Hi=({size:e})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M12.3933 3.79838L12.5 3.79199C12.7234 3.79202 12.939 3.87403 13.1059 4.02247C13.2728 4.1709 13.3795 4.37544 13.4056 4.59729L13.412 4.70399V11.088H19.796C20.0194 11.088 20.235 11.17 20.4019 11.3185C20.5688 11.4669 20.6755 11.6714 20.7016 11.8933L20.708 12C20.708 12.2234 20.626 12.439 20.4775 12.6059C20.3291 12.7728 20.1245 12.8795 19.9027 12.9056L19.796 12.912H13.412V19.296C13.412 19.5194 13.33 19.735 13.1815 19.9019C13.0331 20.0688 12.8285 20.1755 12.6067 20.2016L12.5 20.208C12.2766 20.208 12.061 20.126 11.8941 19.9775C11.7272 19.8291 11.6205 19.6245 11.5944 19.4027L11.588 19.296V12.912H5.20399C4.98061 12.912 4.76501 12.83 4.59808 12.6815C4.43116 12.5331 4.32451 12.3285 4.29838 12.1067L4.29199 12C4.29202 11.7766 4.37403 11.561 4.52247 11.3941C4.6709 11.2272 4.87544 11.1205 5.09729 11.0944L5.20399 11.088H11.588V4.70399C11.588 4.48061 11.67 4.26501 11.8185 4.09808C11.9669 3.93116 12.1714 3.82451 12.3933 3.79838Z",fill:"white"})}),Pi=({size:e=20})=>a.jsx("svg",{width:e,height:e,viewBox:"0 0 15 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M4.7641 2.93193C4.7641 2.69006 4.66802 2.45808 4.49698 2.28705C4.32595 2.11602 4.09398 2.01993 3.8521 2.01993C3.61022 2.01993 3.37825 2.11602 3.20722 2.28705C3.03619 2.45808 2.9401 2.69006 2.9401 2.93193V9.08611C2.9401 9.20705 2.89206 9.32303 2.80654 9.40855C2.72103 9.49407 2.60504 9.54211 2.4841 9.54211C2.36316 9.54211 2.24718 9.49407 2.16166 9.40855C2.07614 9.32303 2.0281 9.20705 2.0281 9.08611V4.52611C2.0281 4.28423 1.93202 4.05226 1.76098 3.88123C1.58995 3.71019 1.35798 3.61411 1.1161 3.61411C0.874224 3.61411 0.642254 3.71019 0.47122 3.88123C0.300187 4.05226 0.204102 4.28423 0.204102 4.52611V12.5116C0.204102 14.4997 1.26932 16.6247 1.94967 17.7911C2.45674 18.6612 3.39063 19.1218 4.34185 19.1218H6.31906C6.86957 19.1217 7.4092 18.9684 7.87746 18.6789C8.34573 18.3895 8.72413 17.9753 8.97025 17.4829L9.09154 17.2394C9.47458 16.4715 9.95338 15.7547 10.5161 15.1062L12.5334 12.7788L14.5325 11.2238C14.6147 11.1598 14.6811 11.0779 14.7268 10.9844C14.7724 10.8908 14.7962 10.7881 14.7961 10.6839C14.7961 10.2416 14.559 9.91329 14.2562 9.71721C13.9862 9.54393 13.6634 9.46915 13.3789 9.43449C12.7988 9.36609 12.0929 9.43632 11.4737 9.5567C11.0399 9.64509 10.6224 9.80014 10.2361 10.0163V2.93193C10.2361 2.69006 10.14 2.45808 9.96898 2.28705C9.79795 2.11602 9.56598 2.01993 9.3241 2.01993C9.08222 2.01993 8.85025 2.11602 8.67922 2.28705C8.50819 2.45808 8.4121 2.69006 8.4121 2.93193V8.63193C8.4121 8.75287 8.36406 8.86886 8.27854 8.95437C8.19303 9.03989 8.07704 9.08793 7.9561 9.08793C7.83516 9.08793 7.71918 9.03989 7.63366 8.95437C7.54814 8.86886 7.5001 8.75287 7.5001 8.63193V1.7892C7.5001 1.54732 7.40402 1.31535 7.23298 1.14432C7.06195 0.973283 6.82998 0.877197 6.5881 0.877197C6.34622 0.877197 6.11425 0.973283 5.94322 1.14432C5.77219 1.31535 5.6761 1.54732 5.6761 1.7892V8.63193C5.6761 8.75287 5.62806 8.86886 5.54254 8.95437C5.45703 9.03989 5.34104 9.08793 5.2201 9.08793C5.09916 9.08793 4.98318 9.03989 4.89766 8.95437C4.81214 8.86886 4.7641 8.75287 4.7641 8.63193V2.93193Z",fill:"white"})}),ol={[X.Double]:"#eb6200",[X.Hit]:"#33A54C",[X.Stand]:"#E34747",[X.Split]:"#C344FA",[X.Surrender]:"#11111199"};var ta=(e=>(e[e.Small=0]="Small",e[e.Big=1]="Big",e))(ta||{});const ll={[X.Double]:{buttonSize:60,iconSize:32,radius:12},[X.Hit]:{buttonSize:80,iconSize:40,radius:12},[X.Stand]:{buttonSize:80,iconSize:40,radius:12},[X.Split]:{buttonSize:60,iconSize:32,radius:12}},Ri=(e,t)=>({0:{buttonSize:18,iconSize:12,radius:4},1:ll[t]||{buttonSize:44,iconSize:24,radius:12}})[e],cl=[{betType:X.Double,name:"Double",icon:_t},{betType:X.Hit,name:"hit",icon:Hi},{betType:X.Stand,name:"Stand",icon:Pi},{betType:X.Split,name:"Split",icon:Pa}],dl=[[{betType:X.Double,name:"Double",icon:_t},{betType:X.Hit,name:"Hit",icon:Hi},{betType:X.Stand,name:"Stand",icon:Pi},{betType:X.Split,name:"Split",icon:Pa},{betType:X.Surrender,name:"Surrender",icon:Oi}],cl],hl=p.button`
|
|
2570
2570
|
width: ${({$size:e})=>e.buttonSize}px;
|
|
2571
2571
|
height: ${({$size:e})=>e.buttonSize}px;
|
|
2572
2572
|
border-radius: ${({$size:e})=>e.radius}px;
|
|
2573
|
-
padding:
|
|
2573
|
+
padding: 12px;
|
|
2574
2574
|
border: 1px solid #ffffff14;
|
|
2575
2575
|
background: ${({$color:e})=>e};
|
|
2576
2576
|
display: flex;
|
|
@@ -2604,7 +2604,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Nt]+=1);const S1=p.div`
|
|
|
2604
2604
|
display: flex;
|
|
2605
2605
|
justify-content: center;
|
|
2606
2606
|
align-items: center;
|
|
2607
|
-
gap: ${({$isBig:e,$isMobile:t})=>t?24:e?
|
|
2607
|
+
gap: ${({$isBig:e,$isMobile:t})=>t?24:e?12:4}px;
|
|
2608
2608
|
}
|
|
2609
2609
|
|
|
2610
2610
|
.button {
|