livevegas-ui-kit 1.0.163 → 1.0.164

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
+ ```
@@ -6,6 +6,8 @@ export declare const buttonStyled: {
6
6
  13: string;
7
7
  12: string;
8
8
  14: string;
9
+ 2: string;
10
+ 3: string;
9
11
  };
10
12
  export declare enum BUTTON_SIZE {
11
13
  Small = 0,
@@ -1,4 +1,4 @@
1
- import { BET_TYPE } from '../History/helpers';
1
+ import { BET_TYPE, BET_TYPE_TEXAS } from '../History/helpers';
2
2
 
3
3
  export declare const actionsBig: {
4
4
  betType: BET_TYPE;
@@ -15,6 +15,11 @@ export declare const actions: {
15
15
  name: string;
16
16
  icon: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
17
17
  }[][];
18
+ export declare const texas_actions: {
19
+ betType: BET_TYPE_TEXAS;
20
+ name: string;
21
+ icon: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
22
+ }[];
18
23
  export interface ISizeIcon {
19
24
  size?: number;
20
25
  }
@@ -1,4 +1,4 @@
1
- import { BET_TYPE } from '../History/helpers';
1
+ import { BET_TYPE, BET_TYPE_TEXAS } from '../History/helpers';
2
2
 
3
3
  interface IDoingAction {
4
4
  isDisabled: boolean;
@@ -10,6 +10,8 @@ interface IActions {
10
10
  [BET_TYPE.Split]: IDoingAction;
11
11
  [BET_TYPE.Stand]: IDoingAction;
12
12
  [BET_TYPE.Surrender]: IDoingAction;
13
+ [BET_TYPE_TEXAS.Call]: IDoingAction;
14
+ [BET_TYPE_TEXAS.Fold]: IDoingAction;
13
15
  }
14
16
  export interface IBlackJackAction {
15
17
  time: number;
@@ -17,6 +19,7 @@ export interface IBlackJackAction {
17
19
  size: number;
18
20
  isMobile: boolean;
19
21
  bettingTimeId: string;
22
+ gameType?: number;
20
23
  }
21
- export declare const BlackJackAction: ({ time, actionsHandler, size, isMobile, bettingTimeId }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const BlackJackAction: ({ time, actionsHandler, size, isMobile, bettingTimeId, gameType }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
22
25
  export {};
@@ -120,6 +120,16 @@ export declare enum BET_TYPE {
120
120
  DoubleBets = 27,
121
121
  StandAll = 49
122
122
  }
123
+ export declare enum BET_TYPE_TEXAS {
124
+ Ante = 0,
125
+ Bonus = 1,
126
+ Call = 2,
127
+ Fold = 3,
128
+ Undo = 4,
129
+ Repeat = 5,
130
+ DoubleBets = 6,
131
+ Tip = 7
132
+ }
123
133
  export declare enum GAME_STATE {
124
134
  WaitingForInit = 0,// no game
125
135
  WaitingRoundStart = 1,
@@ -162,6 +172,10 @@ export declare const betsType: {
162
172
  27: string;
163
173
  49: string;
164
174
  };
175
+ export declare enum GAME_TYPE {
176
+ TEXAS = 3,
177
+ BLACKJACK = 8
178
+ }
165
179
  export declare const historyData: IHistoryData;
166
180
  export declare const formatted: (date: string) => string;
167
181
  export declare const seatsPosition: string[];
@@ -0,0 +1 @@
1
+ export declare const Fold: () => import("react/jsx-runtime").JSX.Element;