livevegas-ui-kit 1.0.45 → 1.0.47
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 +11 -0
- package/dist/components/BlackJackAction/ActionButton/styled.d.ts +9 -0
- package/dist/components/BlackJackAction/helper.d.ts +19 -0
- package/dist/components/BlackJackAction/index.d.ts +19 -0
- package/dist/components/BlackJackAction/index.stories.d.ts +7 -0
- package/dist/components/BlackJackAction/styled.d.ts +2 -0
- package/dist/components/ChipBoard/styled.d.ts +2 -2
- package/dist/components/index.d.ts +2 -1
- package/dist/icons/Hit.d.ts +1 -0
- package/dist/icons/Split.d.ts +1 -0
- package/dist/icons/Stand.d.ts +1 -0
- package/dist/icons/Surrender.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/livevegas-ui-kit.es.js +1037 -828
- package/dist/livevegas-ui-kit.umd.js +210 -128
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BET_TYPE } from 'src/components/History/helpers';
|
|
2
|
+
import { ButtonSizeKeys } from '../helper';
|
|
3
|
+
|
|
4
|
+
export interface IActionButton {
|
|
5
|
+
buttonType: BET_TYPE;
|
|
6
|
+
icon: JSX.Element;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
size?: ButtonSizeKeys;
|
|
10
|
+
}
|
|
11
|
+
export declare const ActionButton: ({ buttonType, icon, onClick, isDisabled, size, }: IActionButton) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BET_TYPE } from 'src/components/History/helpers';
|
|
2
|
+
|
|
3
|
+
interface IButtonWrapper {
|
|
4
|
+
$color: BET_TYPE;
|
|
5
|
+
$size: number;
|
|
6
|
+
$isDisabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
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;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BET_TYPE } from '../History/helpers';
|
|
2
|
+
|
|
3
|
+
export type ButtonSizeKeys = keyof typeof buttonSize;
|
|
4
|
+
export declare const buttonStyled: {
|
|
5
|
+
11: string;
|
|
6
|
+
10: string;
|
|
7
|
+
13: string;
|
|
8
|
+
12: string;
|
|
9
|
+
14: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const buttonSize: {
|
|
12
|
+
small: number;
|
|
13
|
+
big: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const actions: {
|
|
16
|
+
betType: BET_TYPE;
|
|
17
|
+
name: string;
|
|
18
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
}[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BET_TYPE } from '../History/helpers';
|
|
2
|
+
|
|
3
|
+
interface IDoingAction {
|
|
4
|
+
isDisabled: boolean;
|
|
5
|
+
onHandle: () => void;
|
|
6
|
+
}
|
|
7
|
+
interface IActions {
|
|
8
|
+
[BET_TYPE.Double]: IDoingAction;
|
|
9
|
+
[BET_TYPE.Hit]: IDoingAction;
|
|
10
|
+
[BET_TYPE.Split]: IDoingAction;
|
|
11
|
+
[BET_TYPE.Stand]: IDoingAction;
|
|
12
|
+
[BET_TYPE.Surrender]: IDoingAction;
|
|
13
|
+
}
|
|
14
|
+
export interface IBlackJackAction {
|
|
15
|
+
time: number;
|
|
16
|
+
actionsHandler: IActions;
|
|
17
|
+
}
|
|
18
|
+
export declare const BlackJackAction: ({ time, actionsHandler }: IBlackJackAction) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
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;
|
|
2
|
+
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;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export declare const WrapperChips: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
interface IChipWrapper {
|
|
4
|
-
chipSize: number;
|
|
4
|
+
$chipSize: number;
|
|
5
5
|
}
|
|
6
6
|
interface IButton {
|
|
7
|
-
isDisabled?: boolean;
|
|
7
|
+
$isDisabled?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const ChipWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IChipWrapper>> & string;
|
|
10
10
|
export declare const Deal: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IButton>> & string;
|
|
@@ -13,5 +13,6 @@ import { Reconnect } from './Reconnect';
|
|
|
13
13
|
import { NotPlaying } from './NotPlaying';
|
|
14
14
|
import { BlackJackeWinPopup } from './BlackJackeWinPopup';
|
|
15
15
|
import { ToastMessages } from './ToastMessages';
|
|
16
|
+
import { BlackJackAction } from './BlackJackAction';
|
|
16
17
|
|
|
17
|
-
export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages };
|
|
18
|
+
export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Hit: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Split: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Stand: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Surrender: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -13,5 +13,6 @@ import { Reconnect } from './components/Reconnect';
|
|
|
13
13
|
import { NotPlaying } from './components/NotPlaying';
|
|
14
14
|
import { BlackJackeWinPopup } from './components/BlackJackeWinPopup';
|
|
15
15
|
import { ToastMessages } from './components/ToastMessages';
|
|
16
|
+
import { BlackJackAction } from './components/BlackJackAction';
|
|
16
17
|
|
|
17
|
-
export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages };
|
|
18
|
+
export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, };
|