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.
@@ -1,11 +1,11 @@
1
1
  import { BET_TYPE } from 'src/components/History/helpers';
2
- import { ButtonSizeKeys } from '../helper';
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?: ButtonSizeKeys;
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: number;
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
- small: number;
13
- big: number;
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
- export declare const ActionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
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 {};
@@ -1 +1,3 @@
1
- export declare const Double: () => import("react/jsx-runtime").JSX.Element;
1
+ import { ISizeIcon } from '../components/BlackJackAction/helper';
2
+
3
+ export declare const Double: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Hit: () => import("react/jsx-runtime").JSX.Element;
1
+ import { ISizeIcon } from '../components/BlackJackAction/helper';
2
+
3
+ export declare const Hit: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Split: () => import("react/jsx-runtime").JSX.Element;
1
+ import { ISizeIcon } from '../components/BlackJackAction/helper';
2
+
3
+ export declare const Split: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Stand: () => import("react/jsx-runtime").JSX.Element;
1
+ import { ISizeIcon } from '../components/BlackJackAction/helper';
2
+
3
+ export declare const Stand: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Surrender: () => import("react/jsx-runtime").JSX.Element;
1
+ import { ISizeIcon } from '../components/BlackJackAction/helper';
2
+
3
+ export declare const Surrender: ({ size }: ISizeIcon) => import("react/jsx-runtime").JSX.Element;