livevegas-ui-kit 1.0.50 → 1.0.51
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/README.md +69 -69
- package/dist/livevegas-ui-kit.es.js +31 -11
- package/dist/livevegas-ui-kit.umd.js +30 -10
- package/package.json +55 -55
package/README.md
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
# React + TypeScript + Vite
|
|
2
|
-
|
|
3
|
-
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
-
|
|
5
|
-
Currently, two official plugins are available:
|
|
6
|
-
|
|
7
|
-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
-
|
|
10
|
-
## Expanding the ESLint configuration
|
|
11
|
-
|
|
12
|
-
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
export default tseslint.config([
|
|
16
|
-
globalIgnores(['dist']),
|
|
17
|
-
{
|
|
18
|
-
files: ['**/*.{ts,tsx}'],
|
|
19
|
-
extends: [
|
|
20
|
-
// Other configs...
|
|
21
|
-
|
|
22
|
-
// Remove tseslint.configs.recommended and replace with this
|
|
23
|
-
...tseslint.configs.recommendedTypeChecked,
|
|
24
|
-
// Alternatively, use this for stricter rules
|
|
25
|
-
...tseslint.configs.strictTypeChecked,
|
|
26
|
-
// Optionally, add this for stylistic rules
|
|
27
|
-
...tseslint.configs.stylisticTypeChecked,
|
|
28
|
-
|
|
29
|
-
// Other configs...
|
|
30
|
-
],
|
|
31
|
-
languageOptions: {
|
|
32
|
-
parserOptions: {
|
|
33
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
34
|
-
tsconfigRootDir: import.meta.dirname,
|
|
35
|
-
},
|
|
36
|
-
// other options...
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
])
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
// eslint.config.js
|
|
46
|
-
import reactX from 'eslint-plugin-react-x'
|
|
47
|
-
import reactDom from 'eslint-plugin-react-dom'
|
|
48
|
-
|
|
49
|
-
export default tseslint.config([
|
|
50
|
-
globalIgnores(['dist']),
|
|
51
|
-
{
|
|
52
|
-
files: ['**/*.{ts,tsx}'],
|
|
53
|
-
extends: [
|
|
54
|
-
// Other configs...
|
|
55
|
-
// Enable lint rules for React
|
|
56
|
-
reactX.configs['recommended-typescript'],
|
|
57
|
-
// Enable lint rules for React DOM
|
|
58
|
-
reactDom.configs.recommended,
|
|
59
|
-
],
|
|
60
|
-
languageOptions: {
|
|
61
|
-
parserOptions: {
|
|
62
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
63
|
-
tsconfigRootDir: import.meta.dirname,
|
|
64
|
-
},
|
|
65
|
-
// other options...
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
])
|
|
69
|
-
```
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## Expanding the ESLint configuration
|
|
11
|
+
|
|
12
|
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
export default tseslint.config([
|
|
16
|
+
globalIgnores(['dist']),
|
|
17
|
+
{
|
|
18
|
+
files: ['**/*.{ts,tsx}'],
|
|
19
|
+
extends: [
|
|
20
|
+
// Other configs...
|
|
21
|
+
|
|
22
|
+
// Remove tseslint.configs.recommended and replace with this
|
|
23
|
+
...tseslint.configs.recommendedTypeChecked,
|
|
24
|
+
// Alternatively, use this for stricter rules
|
|
25
|
+
...tseslint.configs.strictTypeChecked,
|
|
26
|
+
// Optionally, add this for stylistic rules
|
|
27
|
+
...tseslint.configs.stylisticTypeChecked,
|
|
28
|
+
|
|
29
|
+
// Other configs...
|
|
30
|
+
],
|
|
31
|
+
languageOptions: {
|
|
32
|
+
parserOptions: {
|
|
33
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
34
|
+
tsconfigRootDir: import.meta.dirname,
|
|
35
|
+
},
|
|
36
|
+
// other options...
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
])
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
43
|
+
|
|
44
|
+
```js
|
|
45
|
+
// eslint.config.js
|
|
46
|
+
import reactX from 'eslint-plugin-react-x'
|
|
47
|
+
import reactDom from 'eslint-plugin-react-dom'
|
|
48
|
+
|
|
49
|
+
export default tseslint.config([
|
|
50
|
+
globalIgnores(['dist']),
|
|
51
|
+
{
|
|
52
|
+
files: ['**/*.{ts,tsx}'],
|
|
53
|
+
extends: [
|
|
54
|
+
// Other configs...
|
|
55
|
+
// Enable lint rules for React
|
|
56
|
+
reactX.configs['recommended-typescript'],
|
|
57
|
+
// Enable lint rules for React DOM
|
|
58
|
+
reactDom.configs.recommended,
|
|
59
|
+
],
|
|
60
|
+
languageOptions: {
|
|
61
|
+
parserOptions: {
|
|
62
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
63
|
+
tsconfigRootDir: import.meta.dirname,
|
|
64
|
+
},
|
|
65
|
+
// other options...
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
])
|
|
69
|
+
```
|
|
@@ -5597,18 +5597,20 @@ const W3 = d.div`
|
|
|
5597
5597
|
position: relative;
|
|
5598
5598
|
|
|
5599
5599
|
.company-logo {
|
|
5600
|
-
transition: opacity 0.8s ease;
|
|
5601
|
-
}
|
|
5602
|
-
|
|
5603
|
-
.lobby-content {
|
|
5604
5600
|
position: absolute;
|
|
5605
5601
|
display: flex;
|
|
5606
5602
|
align-items: center;
|
|
5607
|
-
gap: 6px;
|
|
5608
5603
|
opacity: 0;
|
|
5609
5604
|
transition: opacity 0.8s ease, transform 0.8s ease;
|
|
5610
5605
|
transform: translateX(30px);
|
|
5606
|
+
}
|
|
5611
5607
|
|
|
5608
|
+
.lobby-content {
|
|
5609
|
+
position: absolute;
|
|
5610
|
+
display: flex;
|
|
5611
|
+
align-items: center;
|
|
5612
|
+
gap: 6px;
|
|
5613
|
+
transition: opacity 0.8s ease;
|
|
5612
5614
|
.arrow {
|
|
5613
5615
|
color: white;
|
|
5614
5616
|
font-size: 12px;
|
|
@@ -5623,11 +5625,11 @@ const W3 = d.div`
|
|
|
5623
5625
|
}
|
|
5624
5626
|
|
|
5625
5627
|
&:hover {
|
|
5626
|
-
.
|
|
5628
|
+
.lobby-content {
|
|
5627
5629
|
opacity: 0;
|
|
5628
5630
|
}
|
|
5629
5631
|
|
|
5630
|
-
.
|
|
5632
|
+
.company-logo {
|
|
5631
5633
|
opacity: 1;
|
|
5632
5634
|
transform: translateX(0);
|
|
5633
5635
|
}
|
|
@@ -5722,8 +5724,8 @@ const W3 = d.div`
|
|
|
5722
5724
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
5723
5725
|
/* @__PURE__ */ t.jsxs(Bn, { children: [
|
|
5724
5726
|
/* @__PURE__ */ t.jsxs(Fn, { onClick: () => l2(i, o, a), children: [
|
|
5725
|
-
/* @__PURE__ */ t.jsx("div", { className: "
|
|
5726
|
-
/* @__PURE__ */ t.jsx("div", { className: "
|
|
5727
|
+
/* @__PURE__ */ t.jsx("div", { className: "lobby-content", children: /* @__PURE__ */ t.jsx(u1, { height: 7, width: 12 }) }),
|
|
5728
|
+
/* @__PURE__ */ t.jsx("div", { className: "company-logo", children: /* @__PURE__ */ t.jsx(Mn, {}) })
|
|
5727
5729
|
] }),
|
|
5728
5730
|
/* @__PURE__ */ t.jsx(Rn, {}),
|
|
5729
5731
|
/* @__PURE__ */ t.jsxs(Dn, { children: [
|
|
@@ -6050,7 +6052,6 @@ const W3 = d.div`
|
|
|
6050
6052
|
position: relative;
|
|
6051
6053
|
height: 150px;
|
|
6052
6054
|
|
|
6053
|
-
|
|
6054
6055
|
&::-webkit-scrollbar {
|
|
6055
6056
|
width: 6px;
|
|
6056
6057
|
height: 6px;
|
|
@@ -6103,6 +6104,23 @@ const W3 = d.div`
|
|
|
6103
6104
|
vertical-align: middle;
|
|
6104
6105
|
color: #ffffff;
|
|
6105
6106
|
}
|
|
6107
|
+
|
|
6108
|
+
.icon {
|
|
6109
|
+
transform: scale(1);
|
|
6110
|
+
width: fit-content;
|
|
6111
|
+
height: fit-content;
|
|
6112
|
+
display: flex;
|
|
6113
|
+
justify-content: center;
|
|
6114
|
+
align-items: center;
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
&:hover {
|
|
6118
|
+
border: 1px solid var(--white-60, #ffffff99);
|
|
6119
|
+
backdrop-filter: blur(4px);
|
|
6120
|
+
.icon {
|
|
6121
|
+
transform: scale(1.3);
|
|
6122
|
+
}
|
|
6123
|
+
}
|
|
6106
6124
|
`, J2 = d.button`
|
|
6107
6125
|
cursor: pointer;
|
|
6108
6126
|
width: 44px;
|
|
@@ -6381,7 +6399,7 @@ const W3 = d.div`
|
|
|
6381
6399
|
)
|
|
6382
6400
|
] }),
|
|
6383
6401
|
/* @__PURE__ */ t.jsxs(qn, { $isDisabled: x, onClick: l, children: [
|
|
6384
|
-
/* @__PURE__ */ t.jsx(Yn, {}),
|
|
6402
|
+
/* @__PURE__ */ t.jsx("div", { className: "icon", children: /* @__PURE__ */ t.jsx(Yn, {}) }),
|
|
6385
6403
|
/* @__PURE__ */ t.jsx("p", { className: "text-button", children: "Deal Now" })
|
|
6386
6404
|
] })
|
|
6387
6405
|
] }), $n = () => /* @__PURE__ */ t.jsx(
|
|
@@ -7092,6 +7110,7 @@ const _2 = {
|
|
|
7092
7110
|
gap: 16px;
|
|
7093
7111
|
width: ${({ $isBig: e }) => e ? "450px" : "fit-content"};
|
|
7094
7112
|
|
|
7113
|
+
|
|
7095
7114
|
.aciton {
|
|
7096
7115
|
display: flex;
|
|
7097
7116
|
gap: ${({ $isBig: e }) => e ? 16 : 4}px;
|
|
@@ -7103,6 +7122,7 @@ const _2 = {
|
|
|
7103
7122
|
align-items: center;
|
|
7104
7123
|
flex-direction: column;
|
|
7105
7124
|
gap: 6px;
|
|
7125
|
+
height: ${({ $isBig: e }) => e ? "66px" : "fit-content"};
|
|
7106
7126
|
.name {
|
|
7107
7127
|
font-family: Inter;
|
|
7108
7128
|
font-weight: 700;
|
|
@@ -1533,18 +1533,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
1533
1533
|
position: relative;
|
|
1534
1534
|
|
|
1535
1535
|
.company-logo {
|
|
1536
|
-
transition: opacity 0.8s ease;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
.lobby-content {
|
|
1540
1536
|
position: absolute;
|
|
1541
1537
|
display: flex;
|
|
1542
1538
|
align-items: center;
|
|
1543
|
-
gap: 6px;
|
|
1544
1539
|
opacity: 0;
|
|
1545
1540
|
transition: opacity 0.8s ease, transform 0.8s ease;
|
|
1546
1541
|
transform: translateX(30px);
|
|
1542
|
+
}
|
|
1547
1543
|
|
|
1544
|
+
.lobby-content {
|
|
1545
|
+
position: absolute;
|
|
1546
|
+
display: flex;
|
|
1547
|
+
align-items: center;
|
|
1548
|
+
gap: 6px;
|
|
1549
|
+
transition: opacity 0.8s ease;
|
|
1548
1550
|
.arrow {
|
|
1549
1551
|
color: white;
|
|
1550
1552
|
font-size: 12px;
|
|
@@ -1559,11 +1561,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
1559
1561
|
}
|
|
1560
1562
|
|
|
1561
1563
|
&:hover {
|
|
1562
|
-
.
|
|
1564
|
+
.lobby-content {
|
|
1563
1565
|
opacity: 0;
|
|
1564
1566
|
}
|
|
1565
1567
|
|
|
1566
|
-
.
|
|
1568
|
+
.company-logo {
|
|
1567
1569
|
opacity: 1;
|
|
1568
1570
|
transform: translateX(0);
|
|
1569
1571
|
}
|
|
@@ -1646,7 +1648,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
1646
1648
|
rgba(255, 255, 255, 0.4) 50%,
|
|
1647
1649
|
rgba(255, 255, 255, 0) 100%
|
|
1648
1650
|
);
|
|
1649
|
-
`,ln=({name:e,round:n,limit:r,partnerId:i,socket:o,urlParam:a})=>{const[l,p]=y.useState(!1);return t.jsxs(t.Fragment,{children:[t.jsxs(rn,{children:[t.jsxs(on,{onClick:()=>$e(i,o,a),children:[t.jsx("div",{className:"
|
|
1651
|
+
`,ln=({name:e,round:n,limit:r,partnerId:i,socket:o,urlParam:a})=>{const[l,p]=y.useState(!1);return t.jsxs(t.Fragment,{children:[t.jsxs(rn,{children:[t.jsxs(on,{onClick:()=>$e(i,o,a),children:[t.jsx("div",{className:"lobby-content",children:t.jsx(c1,{height:7,width:12})}),t.jsx("div",{className:"company-logo",children:t.jsx(tn,{})})]}),t.jsx(an,{}),t.jsxs(sn,{children:[t.jsxs("div",{className:"name-contener",children:[t.jsx("p",{className:"name","data-testid":"game-name",children:e}),t.jsx("p",{className:"limit","data-testid":"game-limit",children:r}),t.jsx("div",{className:"button",onClick:()=>p(!l),children:t.jsx(c1,{height:7,width:12,position:l?"top":"bottom"})})]}),t.jsxs("div",{className:"round-contener",children:[t.jsx("p",{className:"round-text",children:"round:"}),t.jsx("p",{className:"round","data-testid":"game-round",children:n})]})]})]}),l&&t.jsx(nn,{children:t.jsx(i2,{close:()=>p(!1),header:"Limits & Payouts",height:370,width:300,children:t.jsx(yt,{})})})]})},cn=d.div`
|
|
1650
1652
|
display: flex;
|
|
1651
1653
|
align-items: center;
|
|
1652
1654
|
gap: 4px;
|
|
@@ -1785,7 +1787,6 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
1785
1787
|
position: relative;
|
|
1786
1788
|
height: 150px;
|
|
1787
1789
|
|
|
1788
|
-
|
|
1789
1790
|
&::-webkit-scrollbar {
|
|
1790
1791
|
width: 6px;
|
|
1791
1792
|
height: 6px;
|
|
@@ -1838,6 +1839,23 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
1838
1839
|
vertical-align: middle;
|
|
1839
1840
|
color: #ffffff;
|
|
1840
1841
|
}
|
|
1842
|
+
|
|
1843
|
+
.icon {
|
|
1844
|
+
transform: scale(1);
|
|
1845
|
+
width: fit-content;
|
|
1846
|
+
height: fit-content;
|
|
1847
|
+
display: flex;
|
|
1848
|
+
justify-content: center;
|
|
1849
|
+
align-items: center;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
&:hover {
|
|
1853
|
+
border: 1px solid var(--white-60, #ffffff99);
|
|
1854
|
+
backdrop-filter: blur(4px);
|
|
1855
|
+
.icon {
|
|
1856
|
+
transform: scale(1.3);
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1841
1859
|
`,Lt=d.button`
|
|
1842
1860
|
cursor: pointer;
|
|
1843
1861
|
width: 44px;
|
|
@@ -1992,7 +2010,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
1992
2010
|
width: 0%;
|
|
1993
2011
|
}
|
|
1994
2012
|
}
|
|
1995
|
-
`,o2=({time:e,isMobile:n})=>{const[r,i]=y.useState(null),o=e/1e3;if(y.useEffect(()=>{e>0&&r?setTimeout(()=>{i(r-1)},1e3):e>0&&r===null?i((e+1e3)/1e3):i(null)},[e,r]),e>0)return t.jsxs(An,{time:o,isMobile:n,children:[t.jsx("div",{className:"timer-line"}),t.jsx("div",{className:"line-time"}),t.jsxs("div",{className:"text-wrapper",children:[t.jsx("p",{className:"p",children:"Please, Place Your Bets"}),t.jsx("div",{className:"line"}),t.jsx("p",{className:"p",children:r})]})]})},Nn=()=>t.jsx("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M11.9732 1.14331L11.8939 1.07217C11.7185 0.933693 11.4983 0.864436 11.2752 0.877549C11.0521 0.890662 10.8416 0.985234 10.6837 1.14331L10.6125 1.22265C10.4741 1.39791 10.4049 1.6179 10.418 1.84085C10.4311 2.06379 10.5256 2.27415 10.6837 2.43197L11.8683 3.61483H6.76297L6.54409 3.61848C4.89068 3.67475 3.32375 4.37095 2.17375 5.56025C1.02375 6.74955 0.380581 8.33899 0.379883 9.99336C0.379883 11.3112 0.779339 12.536 1.46425 13.5492C1.6049 13.7459 1.81791 13.8786 2.05642 13.9182C2.29492 13.9578 2.53939 13.901 2.73603 13.7604C2.93268 13.6197 3.0654 13.4067 3.10499 13.1682C3.14459 12.9297 3.08781 12.6852 2.94716 12.4886L2.82404 12.2898C2.42037 11.5971 2.20658 10.8102 2.20425 10.0084C2.20192 9.20669 2.41113 8.41853 2.81078 7.72351C3.21042 7.02848 3.78634 6.45118 4.48042 6.04989C5.17449 5.64859 5.96215 5.4375 6.76388 5.43792H11.8665L10.6837 6.62078L10.6125 6.70013C10.4644 6.88224 10.3923 7.11448 10.4113 7.34844C10.4302 7.5824 10.5387 7.80002 10.7142 7.95595C10.8896 8.11188 11.1185 8.19408 11.353 8.18541C11.5876 8.17675 11.8098 8.07789 11.9732 7.90944L14.7147 5.1707L14.7849 5.09136C14.9233 4.9161 14.9926 4.69611 14.9795 4.47317C14.9663 4.25023 14.8718 4.03987 14.7138 3.88205L11.9732 1.14331ZM17.5136 6.40646C17.3968 6.25658 17.2361 6.14696 17.0539 6.09296C16.8717 6.03895 16.6772 6.04326 16.4976 6.10527C16.318 6.16729 16.1623 6.28391 16.0522 6.43881C15.9422 6.59372 15.8833 6.77915 15.8839 6.96917C15.8839 7.15977 15.9423 7.33579 16.0407 7.4808C16.4942 8.16771 16.7532 8.96462 16.7901 9.78688C16.8271 10.6091 16.6407 11.4261 16.2507 12.1509C15.8607 12.8757 15.2816 13.4814 14.5751 13.9036C13.8685 14.3258 13.0608 14.5488 12.2377 14.5488H7.14145L8.32158 13.3723L8.39727 13.2848C8.52148 13.1239 8.5884 12.9262 8.58741 12.7229C8.58641 12.5197 8.51757 12.3226 8.3918 12.163L8.32158 12.0828L8.23494 12.0061C8.07386 11.8816 7.87579 11.8146 7.67221 11.8155C7.46862 11.8165 7.27121 11.8856 7.11135 12.0116L7.0311 12.0828L4.29054 14.8215L4.21484 14.9081C4.09041 15.0691 4.02337 15.267 4.02436 15.4704C4.02535 15.6738 4.09432 15.8711 4.22031 16.0308L4.29054 16.1101L7.0311 18.8489L7.11774 18.9255C7.29382 19.0615 7.51354 19.1284 7.73554 19.1137C7.95754 19.099 8.1665 19.0037 8.32309 18.8456C8.47968 18.6876 8.5731 18.4777 8.58576 18.2556C8.59841 18.0335 8.52943 17.8144 8.3918 17.6396L8.32158 17.5602L7.13233 16.3719H12.2359L12.4548 16.3692C13.5954 16.33 14.7047 15.9856 15.667 15.3718C16.6293 14.7581 17.4094 13.8975 17.9259 12.8798C18.4425 11.862 18.6767 10.7243 18.604 9.58529C18.5313 8.44626 18.1544 7.34757 17.5127 6.40373V6.40646H17.5136Z",fill:"white"})}),Mn=({time:e,chipAmounts:n,selectedChipIndex:r,selectChipIndex:i,onUndo:o,onDouble:a,onDeal:l,onRepeat:p,balance:c,isUndo:f,isDouble:u,isDeal:x,isRepeat:C})=>t.jsxs(wn,{children:[t.jsx(o2,{time:e}),t.jsxs(vn,{children:[t.jsx(Lt,{$isDisabled:f,onClick:o,children:t.jsx("div",{className:"icon",children:t.jsx(Sn,{})})}),n.map((m,b)=>{const R=b===r?64:48;return t.jsx(jn,{$chipSize:R,children:t.jsx(_e,{amount:m,chipAmounts:n,height:R,width:R,onClick:()=>i(b),isDisabled:m>c})},m)}),t.jsx(Lt,{$isDisabled:x?u:C,onClick:x?a:p,children:t.jsx("div",{className:"icon",children:x?t.jsx(St,{}):t.jsx(Nn,{})})})]}),t.jsxs(Ln,{$isDisabled:x,onClick:l,children:[t.jsx(kn,{}),t.jsx("p",{className:"text-button",children:"Deal Now"})]})]}),In=()=>t.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M3.99263 8.90917C4.17783 8.72188 4.46426 8.69908 4.69319 8.82816C4.81878 8.89899 4.9419 8.95617 5.07501 8.99988C5.35041 9.09024 5.58042 9.32093 5.5806 9.61304V10.1248C5.58046 10.3441 5.42921 10.5262 5.23223 10.5604H5.09795C5.09316 10.5596 5.08794 10.5595 5.08313 10.5585C4.79859 10.5001 4.5187 10.4135 4.24781 10.3004C4.24331 10.2985 4.23879 10.2973 4.23443 10.2951C4.18982 10.2726 3.92135 10.1364 3.65334 9.98171C3.41305 9.84299 3.38637 9.52284 3.58166 9.3249L3.99263 8.90917ZM7.30572 8.82816C7.53466 8.69911 7.8211 8.72185 8.00628 8.90917L8.41725 9.3249C8.61254 9.52283 8.58584 9.84298 8.34557 9.98171C8.07759 10.1363 7.80917 10.2726 7.76448 10.2951C7.76013 10.2973 7.75558 10.2986 7.7511 10.3004C7.48021 10.4135 7.20031 10.5001 6.91577 10.5585C6.91096 10.5595 6.90576 10.5596 6.90096 10.5604H6.76668C6.56965 10.5262 6.41845 10.3441 6.41831 10.1248V9.61304C6.41849 9.321 6.64811 9.09028 6.92342 8.99988C7.05659 8.95616 7.18008 8.89902 7.30572 8.82816ZM2.58099 6.70345C2.83702 6.7035 3.05462 6.88468 3.14727 7.12548C3.212 7.29364 3.29141 7.45595 3.3843 7.61057C3.53342 7.85883 3.52672 8.18597 3.32361 8.39157L2.93844 8.78062C2.75298 8.96826 2.44733 8.96202 2.29236 8.74812C2.254 8.69511 2.2167 8.64088 2.18053 8.5861C1.90486 8.16835 1.69961 7.71022 1.57029 7.23074C1.49661 6.95746 1.71299 6.70361 1.99369 6.70345H2.58099ZM10.0052 6.70345C10.2859 6.70361 10.5023 6.95746 10.4286 7.23074C10.2993 7.71023 10.0941 8.16835 9.81837 8.5861C9.78221 8.64088 9.7449 8.69511 9.70655 8.74812C9.55159 8.96202 9.24593 8.96825 9.06047 8.78062L8.6753 8.39157C8.47223 8.18602 8.46511 7.85881 8.61413 7.61057C8.70703 7.45594 8.7869 7.29365 8.85164 7.12548C8.9443 6.88465 9.16185 6.70345 9.41792 6.70345H10.0052ZM6.00113 3.89087C6.05017 3.89094 6.09923 3.89269 6.14783 3.89621C6.15038 3.8964 6.15293 3.8965 6.15548 3.89669C6.25561 3.90433 6.35458 3.91946 6.45176 3.94132C6.45383 3.94179 6.4559 3.9423 6.45797 3.94278C6.55539 3.96501 6.65076 3.99464 6.74374 4.03058C6.74675 4.03175 6.74981 4.03279 6.75282 4.03398C7.02133 4.13921 7.26833 4.29984 7.47584 4.50985C7.86696 4.90588 8.08683 5.44342 8.08752 6.00346C8.08747 6.42123 7.96504 6.8305 7.7358 7.17787C7.51681 7.50945 7.20902 7.76964 6.84983 7.93171C6.84683 7.93307 6.84375 7.93424 6.84075 7.93559C6.82694 7.94174 6.81361 7.94913 6.79965 7.95499C6.7739 7.96579 6.74737 7.97437 6.72128 7.9841C6.71093 7.98798 6.70064 7.99202 6.69022 7.99574C6.65432 8.00846 6.61817 8.01997 6.58174 8.03066C6.56853 8.03457 6.55538 8.03866 6.54208 8.04231C6.50896 8.05132 6.47567 8.05922 6.4422 8.06656C6.42987 8.06929 6.4178 8.07328 6.40541 8.07578C6.39835 8.0772 6.39097 8.07783 6.3839 8.07917C6.3563 8.0844 6.32852 8.08818 6.30075 8.09227C6.27718 8.09577 6.25367 8.0993 6.23003 8.10197C6.2022 8.10509 6.17433 8.10726 6.1464 8.10925C6.12392 8.11087 6.10151 8.11274 6.07902 8.11362C6.05243 8.11463 6.02585 8.1146 5.99921 8.11459C5.97258 8.11459 5.946 8.11464 5.91941 8.11362C5.89692 8.11273 5.87451 8.11087 5.85203 8.10925C5.82394 8.10725 5.79591 8.10512 5.76792 8.10197C5.74509 8.09938 5.72236 8.09612 5.69959 8.09276C5.67052 8.0885 5.6415 8.08419 5.61262 8.07869C5.60632 8.07748 5.59979 8.07704 5.5935 8.07578C5.58209 8.07348 5.57093 8.07002 5.55957 8.06753C5.52403 8.05979 5.48864 8.05144 5.45348 8.04182C5.44307 8.03895 5.43279 8.03564 5.42242 8.03261C5.38321 8.02121 5.34442 8.00851 5.30582 7.99477C5.29736 7.99174 5.28891 7.98869 5.28049 7.98555C5.25339 7.9755 5.22599 7.9662 5.19926 7.95499C5.18519 7.94909 5.1716 7.94179 5.15768 7.93559C5.15462 7.93421 5.15166 7.93261 5.1486 7.93122C4.78956 7.76911 4.48153 7.50938 4.26263 7.17787C4.03339 6.8305 3.91143 6.42123 3.91139 6.00346C3.91208 5.44342 4.13194 4.90588 4.52307 4.50985C4.73048 4.29995 4.97725 4.1392 5.24561 4.03398C5.24862 4.03279 5.25168 4.03175 5.25469 4.03058C5.34766 3.99463 5.44305 3.96503 5.54046 3.94278C5.54253 3.9423 5.54459 3.94179 5.54667 3.94132C5.64385 3.91944 5.74282 3.90435 5.84295 3.89669C5.8455 3.8965 5.84805 3.8964 5.8506 3.89621C5.89927 3.89267 5.94819 3.89094 5.9973 3.89087H6.00113ZM2.05629 3.62601C2.19843 3.38476 2.52601 3.3628 2.72244 3.56149L3.14488 3.98983C3.31958 4.16671 3.34251 4.44156 3.23616 4.66702C3.13575 4.87987 3.06032 5.1037 3.01012 5.33354C2.94687 5.62317 2.70958 5.85824 2.41565 5.85841H1.82739C1.59938 5.85832 1.41445 5.66762 1.44222 5.43929C1.52049 4.79622 1.73057 4.17893 2.05629 3.62601ZM9.27646 3.56149C9.47286 3.36289 9.79996 3.38492 9.94214 3.62601C10.2679 4.17894 10.4784 4.79621 10.5567 5.43929C10.5845 5.66759 10.3995 5.85827 10.1715 5.85841H9.58326C9.28931 5.85824 9.05154 5.62319 8.98831 5.33354C8.93811 5.10371 8.86267 4.87986 8.76227 4.66702C8.656 4.44159 8.67936 4.16667 8.85403 3.98983L9.27646 3.56149ZM5.08313 1.44891C5.34753 1.39446 5.58059 1.61025 5.5806 1.88258V2.45014C5.58036 2.72733 5.37481 2.95673 5.11181 3.03711C5.0154 3.06658 4.9201 3.1012 4.82652 3.14043C4.68276 3.20074 4.54409 3.27229 4.4122 3.35339C4.16531 3.50508 3.83974 3.49784 3.63566 3.2913L3.25384 2.90516C3.06945 2.71833 3.07544 2.41149 3.28585 2.25514C3.82088 1.85801 4.43486 1.58316 5.08313 1.44891ZM6.41831 1.88258C6.41831 1.61022 6.65134 1.39439 6.91577 1.44891C7.56404 1.58316 8.17803 1.85801 8.71305 2.25514C8.92338 2.41149 8.92939 2.71834 8.74507 2.90516L8.36325 3.2913C8.15917 3.49784 7.83359 3.50507 7.58671 3.35339C7.45481 3.27228 7.31616 3.20075 7.17239 3.14043C7.07881 3.1012 6.98351 3.06659 6.8871 3.03711C6.62409 2.95673 6.41855 2.72733 6.41831 2.45014V1.88258Z",fill:"white",fillOpacity:"0.8"})}),Bn=()=>t.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M9.31625 3.285V3.15048C9.31625 2.8179 9.18413 2.49894 8.94896 2.26377C8.71379 2.0286 8.39483 1.89648 8.06225 1.89648H2.93225C2.79142 1.89651 2.6521 1.92552 2.52297 1.98173C2.39384 2.03793 2.27767 2.12011 2.18167 2.22316C2.08568 2.32621 2.01194 2.44791 1.96502 2.5807C1.91811 2.71349 1.89903 2.85451 1.90899 2.99499C1.90724 3.00875 1.90633 3.02261 1.90625 3.03648V8.62248C1.90625 9.01554 2.06239 9.39249 2.34032 9.67042C2.61825 9.94835 2.9952 10.1045 3.38825 10.1045H9.08825C9.42083 10.1045 9.73979 9.97237 9.97496 9.7372C10.2101 9.50203 10.3423 9.18307 10.3423 8.85048V4.51848C10.3423 4.22539 10.2398 3.94152 10.0523 3.71619C9.8649 3.49086 9.60446 3.33829 9.31625 3.285ZM2.93225 2.58048H8.06225C8.37689 2.58048 8.63225 2.83584 8.63225 3.15048V3.26448H2.93225C2.84155 3.26448 2.75456 3.22845 2.69042 3.16431C2.62628 3.10018 2.59025 3.01319 2.59025 2.92248C2.59025 2.83178 2.62628 2.74479 2.69042 2.68065C2.75456 2.61652 2.84155 2.58048 2.93225 2.58048ZM7.94825 6.45648H8.86025C8.95095 6.45648 9.03794 6.49252 9.10208 6.55665C9.16622 6.62079 9.20225 6.70778 9.20225 6.79848C9.20225 6.88919 9.16622 6.97618 9.10208 7.04031C9.03794 7.10445 8.95095 7.14048 8.86025 7.14048H7.94825C7.85755 7.14048 7.77056 7.10445 7.70642 7.04031C7.64228 6.97618 7.60625 6.88919 7.60625 6.79848C7.60625 6.70778 7.64228 6.62079 7.70642 6.55665C7.77056 6.49252 7.85755 6.45648 7.94825 6.45648Z",fill:"white",fillOpacity:"0.8"})}),Fn=d.div`
|
|
2013
|
+
`,o2=({time:e,isMobile:n})=>{const[r,i]=y.useState(null),o=e/1e3;if(y.useEffect(()=>{e>0&&r?setTimeout(()=>{i(r-1)},1e3):e>0&&r===null?i((e+1e3)/1e3):i(null)},[e,r]),e>0)return t.jsxs(An,{time:o,isMobile:n,children:[t.jsx("div",{className:"timer-line"}),t.jsx("div",{className:"line-time"}),t.jsxs("div",{className:"text-wrapper",children:[t.jsx("p",{className:"p",children:"Please, Place Your Bets"}),t.jsx("div",{className:"line"}),t.jsx("p",{className:"p",children:r})]})]})},Nn=()=>t.jsx("svg",{width:"19",height:"20",viewBox:"0 0 19 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M11.9732 1.14331L11.8939 1.07217C11.7185 0.933693 11.4983 0.864436 11.2752 0.877549C11.0521 0.890662 10.8416 0.985234 10.6837 1.14331L10.6125 1.22265C10.4741 1.39791 10.4049 1.6179 10.418 1.84085C10.4311 2.06379 10.5256 2.27415 10.6837 2.43197L11.8683 3.61483H6.76297L6.54409 3.61848C4.89068 3.67475 3.32375 4.37095 2.17375 5.56025C1.02375 6.74955 0.380581 8.33899 0.379883 9.99336C0.379883 11.3112 0.779339 12.536 1.46425 13.5492C1.6049 13.7459 1.81791 13.8786 2.05642 13.9182C2.29492 13.9578 2.53939 13.901 2.73603 13.7604C2.93268 13.6197 3.0654 13.4067 3.10499 13.1682C3.14459 12.9297 3.08781 12.6852 2.94716 12.4886L2.82404 12.2898C2.42037 11.5971 2.20658 10.8102 2.20425 10.0084C2.20192 9.20669 2.41113 8.41853 2.81078 7.72351C3.21042 7.02848 3.78634 6.45118 4.48042 6.04989C5.17449 5.64859 5.96215 5.4375 6.76388 5.43792H11.8665L10.6837 6.62078L10.6125 6.70013C10.4644 6.88224 10.3923 7.11448 10.4113 7.34844C10.4302 7.5824 10.5387 7.80002 10.7142 7.95595C10.8896 8.11188 11.1185 8.19408 11.353 8.18541C11.5876 8.17675 11.8098 8.07789 11.9732 7.90944L14.7147 5.1707L14.7849 5.09136C14.9233 4.9161 14.9926 4.69611 14.9795 4.47317C14.9663 4.25023 14.8718 4.03987 14.7138 3.88205L11.9732 1.14331ZM17.5136 6.40646C17.3968 6.25658 17.2361 6.14696 17.0539 6.09296C16.8717 6.03895 16.6772 6.04326 16.4976 6.10527C16.318 6.16729 16.1623 6.28391 16.0522 6.43881C15.9422 6.59372 15.8833 6.77915 15.8839 6.96917C15.8839 7.15977 15.9423 7.33579 16.0407 7.4808C16.4942 8.16771 16.7532 8.96462 16.7901 9.78688C16.8271 10.6091 16.6407 11.4261 16.2507 12.1509C15.8607 12.8757 15.2816 13.4814 14.5751 13.9036C13.8685 14.3258 13.0608 14.5488 12.2377 14.5488H7.14145L8.32158 13.3723L8.39727 13.2848C8.52148 13.1239 8.5884 12.9262 8.58741 12.7229C8.58641 12.5197 8.51757 12.3226 8.3918 12.163L8.32158 12.0828L8.23494 12.0061C8.07386 11.8816 7.87579 11.8146 7.67221 11.8155C7.46862 11.8165 7.27121 11.8856 7.11135 12.0116L7.0311 12.0828L4.29054 14.8215L4.21484 14.9081C4.09041 15.0691 4.02337 15.267 4.02436 15.4704C4.02535 15.6738 4.09432 15.8711 4.22031 16.0308L4.29054 16.1101L7.0311 18.8489L7.11774 18.9255C7.29382 19.0615 7.51354 19.1284 7.73554 19.1137C7.95754 19.099 8.1665 19.0037 8.32309 18.8456C8.47968 18.6876 8.5731 18.4777 8.58576 18.2556C8.59841 18.0335 8.52943 17.8144 8.3918 17.6396L8.32158 17.5602L7.13233 16.3719H12.2359L12.4548 16.3692C13.5954 16.33 14.7047 15.9856 15.667 15.3718C16.6293 14.7581 17.4094 13.8975 17.9259 12.8798C18.4425 11.862 18.6767 10.7243 18.604 9.58529C18.5313 8.44626 18.1544 7.34757 17.5127 6.40373V6.40646H17.5136Z",fill:"white"})}),Mn=({time:e,chipAmounts:n,selectedChipIndex:r,selectChipIndex:i,onUndo:o,onDouble:a,onDeal:l,onRepeat:p,balance:c,isUndo:f,isDouble:u,isDeal:x,isRepeat:C})=>t.jsxs(wn,{children:[t.jsx(o2,{time:e}),t.jsxs(vn,{children:[t.jsx(Lt,{$isDisabled:f,onClick:o,children:t.jsx("div",{className:"icon",children:t.jsx(Sn,{})})}),n.map((m,b)=>{const R=b===r?64:48;return t.jsx(jn,{$chipSize:R,children:t.jsx(_e,{amount:m,chipAmounts:n,height:R,width:R,onClick:()=>i(b),isDisabled:m>c})},m)}),t.jsx(Lt,{$isDisabled:x?u:C,onClick:x?a:p,children:t.jsx("div",{className:"icon",children:x?t.jsx(St,{}):t.jsx(Nn,{})})})]}),t.jsxs(Ln,{$isDisabled:x,onClick:l,children:[t.jsx("div",{className:"icon",children:t.jsx(kn,{})}),t.jsx("p",{className:"text-button",children:"Deal Now"})]})]}),In=()=>t.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M3.99263 8.90917C4.17783 8.72188 4.46426 8.69908 4.69319 8.82816C4.81878 8.89899 4.9419 8.95617 5.07501 8.99988C5.35041 9.09024 5.58042 9.32093 5.5806 9.61304V10.1248C5.58046 10.3441 5.42921 10.5262 5.23223 10.5604H5.09795C5.09316 10.5596 5.08794 10.5595 5.08313 10.5585C4.79859 10.5001 4.5187 10.4135 4.24781 10.3004C4.24331 10.2985 4.23879 10.2973 4.23443 10.2951C4.18982 10.2726 3.92135 10.1364 3.65334 9.98171C3.41305 9.84299 3.38637 9.52284 3.58166 9.3249L3.99263 8.90917ZM7.30572 8.82816C7.53466 8.69911 7.8211 8.72185 8.00628 8.90917L8.41725 9.3249C8.61254 9.52283 8.58584 9.84298 8.34557 9.98171C8.07759 10.1363 7.80917 10.2726 7.76448 10.2951C7.76013 10.2973 7.75558 10.2986 7.7511 10.3004C7.48021 10.4135 7.20031 10.5001 6.91577 10.5585C6.91096 10.5595 6.90576 10.5596 6.90096 10.5604H6.76668C6.56965 10.5262 6.41845 10.3441 6.41831 10.1248V9.61304C6.41849 9.321 6.64811 9.09028 6.92342 8.99988C7.05659 8.95616 7.18008 8.89902 7.30572 8.82816ZM2.58099 6.70345C2.83702 6.7035 3.05462 6.88468 3.14727 7.12548C3.212 7.29364 3.29141 7.45595 3.3843 7.61057C3.53342 7.85883 3.52672 8.18597 3.32361 8.39157L2.93844 8.78062C2.75298 8.96826 2.44733 8.96202 2.29236 8.74812C2.254 8.69511 2.2167 8.64088 2.18053 8.5861C1.90486 8.16835 1.69961 7.71022 1.57029 7.23074C1.49661 6.95746 1.71299 6.70361 1.99369 6.70345H2.58099ZM10.0052 6.70345C10.2859 6.70361 10.5023 6.95746 10.4286 7.23074C10.2993 7.71023 10.0941 8.16835 9.81837 8.5861C9.78221 8.64088 9.7449 8.69511 9.70655 8.74812C9.55159 8.96202 9.24593 8.96825 9.06047 8.78062L8.6753 8.39157C8.47223 8.18602 8.46511 7.85881 8.61413 7.61057C8.70703 7.45594 8.7869 7.29365 8.85164 7.12548C8.9443 6.88465 9.16185 6.70345 9.41792 6.70345H10.0052ZM6.00113 3.89087C6.05017 3.89094 6.09923 3.89269 6.14783 3.89621C6.15038 3.8964 6.15293 3.8965 6.15548 3.89669C6.25561 3.90433 6.35458 3.91946 6.45176 3.94132C6.45383 3.94179 6.4559 3.9423 6.45797 3.94278C6.55539 3.96501 6.65076 3.99464 6.74374 4.03058C6.74675 4.03175 6.74981 4.03279 6.75282 4.03398C7.02133 4.13921 7.26833 4.29984 7.47584 4.50985C7.86696 4.90588 8.08683 5.44342 8.08752 6.00346C8.08747 6.42123 7.96504 6.8305 7.7358 7.17787C7.51681 7.50945 7.20902 7.76964 6.84983 7.93171C6.84683 7.93307 6.84375 7.93424 6.84075 7.93559C6.82694 7.94174 6.81361 7.94913 6.79965 7.95499C6.7739 7.96579 6.74737 7.97437 6.72128 7.9841C6.71093 7.98798 6.70064 7.99202 6.69022 7.99574C6.65432 8.00846 6.61817 8.01997 6.58174 8.03066C6.56853 8.03457 6.55538 8.03866 6.54208 8.04231C6.50896 8.05132 6.47567 8.05922 6.4422 8.06656C6.42987 8.06929 6.4178 8.07328 6.40541 8.07578C6.39835 8.0772 6.39097 8.07783 6.3839 8.07917C6.3563 8.0844 6.32852 8.08818 6.30075 8.09227C6.27718 8.09577 6.25367 8.0993 6.23003 8.10197C6.2022 8.10509 6.17433 8.10726 6.1464 8.10925C6.12392 8.11087 6.10151 8.11274 6.07902 8.11362C6.05243 8.11463 6.02585 8.1146 5.99921 8.11459C5.97258 8.11459 5.946 8.11464 5.91941 8.11362C5.89692 8.11273 5.87451 8.11087 5.85203 8.10925C5.82394 8.10725 5.79591 8.10512 5.76792 8.10197C5.74509 8.09938 5.72236 8.09612 5.69959 8.09276C5.67052 8.0885 5.6415 8.08419 5.61262 8.07869C5.60632 8.07748 5.59979 8.07704 5.5935 8.07578C5.58209 8.07348 5.57093 8.07002 5.55957 8.06753C5.52403 8.05979 5.48864 8.05144 5.45348 8.04182C5.44307 8.03895 5.43279 8.03564 5.42242 8.03261C5.38321 8.02121 5.34442 8.00851 5.30582 7.99477C5.29736 7.99174 5.28891 7.98869 5.28049 7.98555C5.25339 7.9755 5.22599 7.9662 5.19926 7.95499C5.18519 7.94909 5.1716 7.94179 5.15768 7.93559C5.15462 7.93421 5.15166 7.93261 5.1486 7.93122C4.78956 7.76911 4.48153 7.50938 4.26263 7.17787C4.03339 6.8305 3.91143 6.42123 3.91139 6.00346C3.91208 5.44342 4.13194 4.90588 4.52307 4.50985C4.73048 4.29995 4.97725 4.1392 5.24561 4.03398C5.24862 4.03279 5.25168 4.03175 5.25469 4.03058C5.34766 3.99463 5.44305 3.96503 5.54046 3.94278C5.54253 3.9423 5.54459 3.94179 5.54667 3.94132C5.64385 3.91944 5.74282 3.90435 5.84295 3.89669C5.8455 3.8965 5.84805 3.8964 5.8506 3.89621C5.89927 3.89267 5.94819 3.89094 5.9973 3.89087H6.00113ZM2.05629 3.62601C2.19843 3.38476 2.52601 3.3628 2.72244 3.56149L3.14488 3.98983C3.31958 4.16671 3.34251 4.44156 3.23616 4.66702C3.13575 4.87987 3.06032 5.1037 3.01012 5.33354C2.94687 5.62317 2.70958 5.85824 2.41565 5.85841H1.82739C1.59938 5.85832 1.41445 5.66762 1.44222 5.43929C1.52049 4.79622 1.73057 4.17893 2.05629 3.62601ZM9.27646 3.56149C9.47286 3.36289 9.79996 3.38492 9.94214 3.62601C10.2679 4.17894 10.4784 4.79621 10.5567 5.43929C10.5845 5.66759 10.3995 5.85827 10.1715 5.85841H9.58326C9.28931 5.85824 9.05154 5.62319 8.98831 5.33354C8.93811 5.10371 8.86267 4.87986 8.76227 4.66702C8.656 4.44159 8.67936 4.16667 8.85403 3.98983L9.27646 3.56149ZM5.08313 1.44891C5.34753 1.39446 5.58059 1.61025 5.5806 1.88258V2.45014C5.58036 2.72733 5.37481 2.95673 5.11181 3.03711C5.0154 3.06658 4.9201 3.1012 4.82652 3.14043C4.68276 3.20074 4.54409 3.27229 4.4122 3.35339C4.16531 3.50508 3.83974 3.49784 3.63566 3.2913L3.25384 2.90516C3.06945 2.71833 3.07544 2.41149 3.28585 2.25514C3.82088 1.85801 4.43486 1.58316 5.08313 1.44891ZM6.41831 1.88258C6.41831 1.61022 6.65134 1.39439 6.91577 1.44891C7.56404 1.58316 8.17803 1.85801 8.71305 2.25514C8.92338 2.41149 8.92939 2.71834 8.74507 2.90516L8.36325 3.2913C8.15917 3.49784 7.83359 3.50507 7.58671 3.35339C7.45481 3.27228 7.31616 3.20075 7.17239 3.14043C7.07881 3.1012 6.98351 3.06659 6.8871 3.03711C6.62409 2.95673 6.41855 2.72733 6.41831 2.45014V1.88258Z",fill:"white",fillOpacity:"0.8"})}),Bn=()=>t.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M9.31625 3.285V3.15048C9.31625 2.8179 9.18413 2.49894 8.94896 2.26377C8.71379 2.0286 8.39483 1.89648 8.06225 1.89648H2.93225C2.79142 1.89651 2.6521 1.92552 2.52297 1.98173C2.39384 2.03793 2.27767 2.12011 2.18167 2.22316C2.08568 2.32621 2.01194 2.44791 1.96502 2.5807C1.91811 2.71349 1.89903 2.85451 1.90899 2.99499C1.90724 3.00875 1.90633 3.02261 1.90625 3.03648V8.62248C1.90625 9.01554 2.06239 9.39249 2.34032 9.67042C2.61825 9.94835 2.9952 10.1045 3.38825 10.1045H9.08825C9.42083 10.1045 9.73979 9.97237 9.97496 9.7372C10.2101 9.50203 10.3423 9.18307 10.3423 8.85048V4.51848C10.3423 4.22539 10.2398 3.94152 10.0523 3.71619C9.8649 3.49086 9.60446 3.33829 9.31625 3.285ZM2.93225 2.58048H8.06225C8.37689 2.58048 8.63225 2.83584 8.63225 3.15048V3.26448H2.93225C2.84155 3.26448 2.75456 3.22845 2.69042 3.16431C2.62628 3.10018 2.59025 3.01319 2.59025 2.92248C2.59025 2.83178 2.62628 2.74479 2.69042 2.68065C2.75456 2.61652 2.84155 2.58048 2.93225 2.58048ZM7.94825 6.45648H8.86025C8.95095 6.45648 9.03794 6.49252 9.10208 6.55665C9.16622 6.62079 9.20225 6.70778 9.20225 6.79848C9.20225 6.88919 9.16622 6.97618 9.10208 7.04031C9.03794 7.10445 8.95095 7.14048 8.86025 7.14048H7.94825C7.85755 7.14048 7.77056 7.10445 7.70642 7.04031C7.64228 6.97618 7.60625 6.88919 7.60625 6.79848C7.60625 6.70778 7.64228 6.62079 7.70642 6.55665C7.77056 6.49252 7.85755 6.45648 7.94825 6.45648Z",fill:"white",fillOpacity:"0.8"})}),Fn=d.div`
|
|
1996
2014
|
display: flex;
|
|
1997
2015
|
justify-content: space-between;
|
|
1998
2016
|
position: absolute;
|
|
@@ -2289,6 +2307,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
2289
2307
|
gap: 16px;
|
|
2290
2308
|
width: ${({$isBig:e})=>e?"450px":"fit-content"};
|
|
2291
2309
|
|
|
2310
|
+
|
|
2292
2311
|
.aciton {
|
|
2293
2312
|
display: flex;
|
|
2294
2313
|
gap: ${({$isBig:e})=>e?16:4}px;
|
|
@@ -2300,6 +2319,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[xe]+=1);const Y0=d.div`
|
|
|
2300
2319
|
align-items: center;
|
|
2301
2320
|
flex-direction: column;
|
|
2302
2321
|
gap: 6px;
|
|
2322
|
+
height: ${({$isBig:e})=>e?"66px":"fit-content"};
|
|
2303
2323
|
.name {
|
|
2304
2324
|
font-family: Inter;
|
|
2305
2325
|
font-weight: 700;
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "livevegas-ui-kit",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"main": "./dist/livevegas-ui-kit.umd.js",
|
|
9
|
-
"module": "./dist/livevegas-ui-kit.es.js",
|
|
10
|
-
"exports": {
|
|
11
|
-
"./package.json": "./package.json",
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/livevegas-ui-kit.es.d.ts",
|
|
14
|
-
"import": "./dist/livevegas-ui-kit.es.js"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"dev": "vite",
|
|
19
|
-
"build": "tsc && vite build",
|
|
20
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
21
|
-
"preview": "vite preview",
|
|
22
|
-
"storybook": "storybook dev -p 6006",
|
|
23
|
-
"build-storybook": "storybook build"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@microsoft/signalr": "^8.0.0",
|
|
27
|
-
"react": "^18.2.0",
|
|
28
|
-
"react-dom": "^18.2.0"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@chromatic-com/storybook": "^1.5.0",
|
|
32
|
-
"@storybook/addon-essentials": "^8.1.4",
|
|
33
|
-
"@storybook/addon-interactions": "^8.1.4",
|
|
34
|
-
"@storybook/addon-links": "^8.1.4",
|
|
35
|
-
"@storybook/addon-onboarding": "^8.1.4",
|
|
36
|
-
"@storybook/blocks": "^8.1.4",
|
|
37
|
-
"@storybook/react": "^8.1.4",
|
|
38
|
-
"@storybook/react-vite": "^8.1.4",
|
|
39
|
-
"@storybook/test": "^8.1.4",
|
|
40
|
-
"@types/react": "^18.2.66",
|
|
41
|
-
"@types/react-dom": "^18.2.22",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
43
|
-
"@typescript-eslint/parser": "^7.2.0",
|
|
44
|
-
"@vitejs/plugin-react": "^4.2.1",
|
|
45
|
-
"eslint": "^8.57.0",
|
|
46
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
47
|
-
"eslint-plugin-react-refresh": "^0.4.6",
|
|
48
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
49
|
-
"storybook": "^8.1.4",
|
|
50
|
-
"styled-components": "^6.1.11",
|
|
51
|
-
"typescript": "^5.2.2",
|
|
52
|
-
"vite": "^5.2.0",
|
|
53
|
-
"vite-plugin-dts": "^3.9.1"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "livevegas-ui-kit",
|
|
3
|
+
"version": "1.0.51",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/livevegas-ui-kit.umd.js",
|
|
9
|
+
"module": "./dist/livevegas-ui-kit.es.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
"./package.json": "./package.json",
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/livevegas-ui-kit.es.d.ts",
|
|
14
|
+
"import": "./dist/livevegas-ui-kit.es.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"dev": "vite",
|
|
19
|
+
"build": "tsc && vite build",
|
|
20
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
21
|
+
"preview": "vite preview",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@microsoft/signalr": "^8.0.0",
|
|
27
|
+
"react": "^18.2.0",
|
|
28
|
+
"react-dom": "^18.2.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@chromatic-com/storybook": "^1.5.0",
|
|
32
|
+
"@storybook/addon-essentials": "^8.1.4",
|
|
33
|
+
"@storybook/addon-interactions": "^8.1.4",
|
|
34
|
+
"@storybook/addon-links": "^8.1.4",
|
|
35
|
+
"@storybook/addon-onboarding": "^8.1.4",
|
|
36
|
+
"@storybook/blocks": "^8.1.4",
|
|
37
|
+
"@storybook/react": "^8.1.4",
|
|
38
|
+
"@storybook/react-vite": "^8.1.4",
|
|
39
|
+
"@storybook/test": "^8.1.4",
|
|
40
|
+
"@types/react": "^18.2.66",
|
|
41
|
+
"@types/react-dom": "^18.2.22",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
43
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
44
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
45
|
+
"eslint": "^8.57.0",
|
|
46
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
47
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
48
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
49
|
+
"storybook": "^8.1.4",
|
|
50
|
+
"styled-components": "^6.1.11",
|
|
51
|
+
"typescript": "^5.2.2",
|
|
52
|
+
"vite": "^5.2.0",
|
|
53
|
+
"vite-plugin-dts": "^3.9.1"
|
|
54
|
+
}
|
|
55
|
+
}
|