livevegas-ui-kit 1.0.6 → 1.0.7

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 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
+ ```
@@ -1712,6 +1712,9 @@ const o3 = f.div`
1712
1712
  width: 248px;
1713
1713
  height: 46px;
1714
1714
  gap: 8px;
1715
+ position: absolute;
1716
+ left: 12px;
1717
+ bottom: 12px;
1715
1718
  `, R2 = f.div`
1716
1719
  max-width: 120px;
1717
1720
  min-width: 120px;
@@ -1719,8 +1722,6 @@ const o3 = f.div`
1719
1722
  gap: 2px;
1720
1723
  border-radius: 8px;
1721
1724
  border-width: 1px;
1722
- margin-left: 12px;
1723
- margin-bottom: 12px;
1724
1725
  padding: 8px;
1725
1726
  display: flex;
1726
1727
  flex-direction: column;
@@ -2911,7 +2912,7 @@ const j3 = [
2911
2912
  case 4:
2912
2913
  return {
2913
2914
  header: "History",
2914
- height: 515,
2915
+ height: 520,
2915
2916
  width: 500
2916
2917
  };
2917
2918
  case 3:
@@ -3245,7 +3246,7 @@ const j3 = [
3245
3246
  opacity: 1;
3246
3247
  border: 0px;
3247
3248
 
3248
- &:nth-child(-n + 19) {
3249
+ &:nth-child(-n + 10) {
3249
3250
  border-bottom: 1px solid transparent;
3250
3251
  border-image: linear-gradient(
3251
3252
  256deg,
@@ -4032,8 +4033,14 @@ const X3 = f.div`
4032
4033
  .send-massage {
4033
4034
  cursor: pointer;
4034
4035
  position: absolute;
4035
- right: 10px;
4036
- top: 10px;
4036
+ z-index: 2;
4037
+ width: 30px;
4038
+ height: 100%;
4039
+ display: flex;
4040
+ justify-content: center;
4041
+ align-items: center;
4042
+ top: 0px;
4043
+ right:0px;
4037
4044
  }
4038
4045
  `, wn = f.input`
4039
4046
  padding-left: 8px;
@@ -5144,10 +5151,25 @@ const X3 = f.div`
5144
5151
  justify-content: center;
5145
5152
  align-items: center;
5146
5153
  gap: 10px;
5154
+ z-index: 2;
5147
5155
  flex-wrap: nowrap;
5148
5156
  position: absolute;
5149
5157
  }
5150
5158
 
5159
+ .line-time {
5160
+ height: 100%;
5161
+ width: 450px;
5162
+ position: absolute;
5163
+ z-index: 0;
5164
+ background: linear-gradient(
5165
+ 90deg,
5166
+ rgba(17, 17, 17, 0) 0%,
5167
+ rgba(17, 17, 17, 0.8) 20%,
5168
+ rgba(17, 17, 17, 0.8) 80.14%,
5169
+ rgba(17, 17, 17, 0) 100%
5170
+ );
5171
+ }
5172
+
5151
5173
  .p {
5152
5174
  min-width: 10px;
5153
5175
  display: flex;
@@ -5177,7 +5199,9 @@ const X3 = f.div`
5177
5199
  .timer-line {
5178
5200
  animation-name: timer;
5179
5201
  animation-duration: ${({ time: e }) => e}s;
5202
+ animation-iteration-count: 1;
5180
5203
  flex-wrap: nowrap;
5204
+ z-index: 1;
5181
5205
  display: flex;
5182
5206
  width: 100%;
5183
5207
  height: 24px;
@@ -5215,7 +5239,7 @@ const X3 = f.div`
5215
5239
 
5216
5240
  width: 50%;
5217
5241
  }
5218
- 65% {
5242
+ 100% {
5219
5243
  background: linear-gradient(
5220
5244
  90deg,
5221
5245
  rgba(227, 71, 71, 0) 0%,
@@ -5316,8 +5340,9 @@ const X3 = f.div`
5316
5340
  c(d - 1);
5317
5341
  }, 1e3) : e > 0 && d === null ? c((e + 1e3) / 1e3) : c(null);
5318
5342
  }, [e, d]), /* @__PURE__ */ t.jsxs(nr, { children: [
5319
- /* @__PURE__ */ t.jsxs(rr, { time: h, children: [
5343
+ e > 0 && /* @__PURE__ */ t.jsxs(rr, { time: h, children: [
5320
5344
  /* @__PURE__ */ t.jsx("div", { className: "timer-line" }),
5345
+ /* @__PURE__ */ t.jsx("div", { className: "line-time" }),
5321
5346
  /* @__PURE__ */ t.jsxs("div", { className: "text-wrapper", children: [
5322
5347
  /* @__PURE__ */ t.jsx("p", { className: "p", children: "Please, Place Your Bets" }),
5323
5348
  /* @__PURE__ */ t.jsx("div", { className: "line" }),