livevegas-ui-kit 1.0.48 → 1.0.49
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/components/BlackJackAction/ActionButton/index.d.ts +3 -3
- package/dist/components/BlackJackAction/ActionButton/styled.d.ts +2 -1
- package/dist/components/BlackJackAction/helper.d.ts +23 -3
- package/dist/components/BlackJackAction/index.d.ts +2 -1
- package/dist/components/BlackJackAction/styled.d.ts +5 -1
- package/dist/icons/Double.d.ts +3 -1
- package/dist/icons/Hit.d.ts +3 -1
- package/dist/icons/Split.d.ts +3 -1
- package/dist/icons/Stand.d.ts +3 -1
- package/dist/icons/Surrender.d.ts +3 -1
- package/dist/livevegas-ui-kit.es.js +843 -824
- package/dist/livevegas-ui-kit.umd.js +136 -134
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BET_TYPE } from 'src/components/History/helpers';
|
|
2
|
-
import {
|
|
2
|
+
import { ISizeIcon } from '../helper';
|
|
3
3
|
|
|
4
4
|
export interface IActionButton {
|
|
5
5
|
buttonType: BET_TYPE;
|
|
6
|
-
icon: JSX.Element;
|
|
6
|
+
icon: (size: ISizeIcon) => JSX.Element;
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
isDisabled: boolean;
|
|
9
|
-
size?:
|
|
9
|
+
size?: number;
|
|
10
10
|
}
|
|
11
11
|
export declare const ActionButton: ({ buttonType, icon, onClick, isDisabled, size, }: IActionButton) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ISize } from '../helper';
|
|
1
2
|
import { BET_TYPE } from 'src/components/History/helpers';
|
|
2
3
|
|
|
3
4
|
interface IButtonWrapper {
|
|
4
5
|
$color: BET_TYPE;
|
|
5
|
-
$size:
|
|
6
|
+
$size: ISize;
|
|
6
7
|
$isDisabled: boolean;
|
|
7
8
|
}
|
|
8
9
|
export declare const ButtonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IButtonWrapper>> & string;
|
|
@@ -8,12 +8,32 @@ export declare const buttonStyled: {
|
|
|
8
8
|
12: string;
|
|
9
9
|
14: string;
|
|
10
10
|
};
|
|
11
|
+
export declare enum BUTTON_SIZE {
|
|
12
|
+
Small = 0,
|
|
13
|
+
Big = 1
|
|
14
|
+
}
|
|
15
|
+
export interface ISize {
|
|
16
|
+
buttonSize: number;
|
|
17
|
+
iconSize: number;
|
|
18
|
+
radius: number;
|
|
19
|
+
}
|
|
11
20
|
export declare const buttonSize: {
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
0: {
|
|
22
|
+
buttonSize: number;
|
|
23
|
+
iconSize: number;
|
|
24
|
+
radius: number;
|
|
25
|
+
};
|
|
26
|
+
1: {
|
|
27
|
+
buttonSize: number;
|
|
28
|
+
iconSize: number;
|
|
29
|
+
radius: number;
|
|
30
|
+
};
|
|
14
31
|
};
|
|
15
32
|
export declare const actions: {
|
|
16
33
|
betType: BET_TYPE;
|
|
17
34
|
name: string;
|
|
18
|
-
icon: import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
icon: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
|
|
19
36
|
}[];
|
|
37
|
+
export interface ISizeIcon {
|
|
38
|
+
size?: number;
|
|
39
|
+
}
|
|
@@ -15,6 +15,7 @@ export interface IBlackJackAction {
|
|
|
15
15
|
time: number;
|
|
16
16
|
actionsHandler: IActions;
|
|
17
17
|
onStandAll: () => void;
|
|
18
|
+
size: number;
|
|
18
19
|
}
|
|
19
|
-
export declare const BlackJackAction: ({ time, actionsHandler, onStandAll, }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const BlackJackAction: ({ time, actionsHandler, onStandAll, size, }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export {};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
interface IActionWrapper {
|
|
2
|
+
$isBig: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const ActionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IActionWrapper>> & string;
|
|
2
5
|
export declare const StandAllButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
|
+
export {};
|
package/dist/icons/Double.d.ts
CHANGED
package/dist/icons/Hit.d.ts
CHANGED
package/dist/icons/Split.d.ts
CHANGED
package/dist/icons/Stand.d.ts
CHANGED