livevegas-ui-kit 1.0.32 → 1.0.34
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/BlackJackeWinPopup/index.d.ts +5 -0
- package/dist/components/BlackJackeWinPopup/index.stories.d.ts +7 -0
- package/dist/components/BlackJackeWinPopup/styled.d.ts +1 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Button/styled.d.ts +6 -5
- package/dist/components/Card/styled.d.ts +2 -2
- package/dist/components/Chat/styled.d.ts +1 -1
- package/dist/components/ChipBoard/index.d.ts +6 -1
- package/dist/components/ChipBoard/styled.d.ts +5 -1
- package/dist/components/History/PaginationGroup/styled.d.ts +1 -1
- package/dist/components/History/RoundHistory/RoundGroup/index.d.ts +6 -0
- package/dist/components/History/RoundHistory/RoundGroup/styled.d.ts +2 -0
- package/dist/components/History/RoundHistory/index.d.ts +1 -2
- package/dist/components/History/RoundHistory/styled.d.ts +6 -2
- package/dist/components/History/helpers.d.ts +49 -1
- package/dist/components/History/index.d.ts +3 -1
- package/dist/components/Info/styled.d.ts +2 -2
- package/dist/components/Info/text/blackJeck.d.ts +26 -0
- package/dist/components/MobileMenu/ItemMenu/styled.d.ts +3 -3
- package/dist/components/MobileMenu/index.d.ts +2 -1
- package/dist/components/MobileMenu/styled.d.ts +3 -3
- package/dist/components/Popup/index.d.ts +2 -1
- package/dist/components/ToastMessages/index.d.ts +4 -0
- package/dist/components/ToastMessages/index.stories.d.ts +7 -0
- package/dist/components/ToastMessages/styled.d.ts +2 -0
- package/dist/components/TopIcons/Elements.d.ts +3 -1
- package/dist/components/TopIcons/helper.d.ts +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/icons/Repeat.d.ts +1 -0
- package/dist/icons/StarsForWin.d.ts +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/livevegas-ui-kit.es.js +2344 -1682
- package/dist/livevegas-ui-kit.umd.js +461 -287
- package/dist/utils/helpers.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WinPopupWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -10,6 +10,7 @@ export interface IButton {
|
|
|
10
10
|
textStyle?: string;
|
|
11
11
|
isActiveBlue?: boolean;
|
|
12
12
|
streamVolume?: number;
|
|
13
|
+
isHoverActive?: boolean;
|
|
13
14
|
setStreamVolume?: (volume: number) => void;
|
|
14
15
|
}
|
|
15
|
-
export declare const Button: ({ icon, onClick, buttonInfo, isActive, isValueButton, width, height, text, textStyle, isActiveBlue, streamVolume, setStreamVolume, }: IButton) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const Button: ({ icon, onClick, buttonInfo, isActive, isValueButton, width, height, text, textStyle, isActiveBlue, streamVolume, setStreamVolume, isHoverActive, }: IButton) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
interface IButton {
|
|
2
|
-
isActive?: boolean;
|
|
3
|
-
isValueButton?: boolean;
|
|
2
|
+
$isActive?: boolean;
|
|
3
|
+
$isValueButton?: boolean;
|
|
4
|
+
$isActiveBlue?: boolean;
|
|
5
|
+
$isHoverActive?: boolean;
|
|
4
6
|
$isTournament?: boolean;
|
|
5
|
-
width
|
|
6
|
-
height
|
|
7
|
-
isActiveBlue?: boolean;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
8
9
|
}
|
|
9
10
|
export declare const IconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IButton>> & string;
|
|
10
11
|
export declare const ButtonInfo: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface ICardWrapper {
|
|
2
|
-
cardWidth: number;
|
|
3
|
-
cardHeight: number;
|
|
2
|
+
$cardWidth: number;
|
|
3
|
+
$cardHeight: number;
|
|
4
4
|
}
|
|
5
5
|
export declare const CardWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ICardWrapper>> & string;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface IForMobile {
|
|
2
|
-
isMobile: boolean;
|
|
2
|
+
$isMobile: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare const ChatContener: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IForMobile>> & string;
|
|
5
5
|
export declare const SendMessageContener: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IForMobile>> & string;
|
|
@@ -6,6 +6,11 @@ export interface IChipBoard {
|
|
|
6
6
|
onUndo: () => void;
|
|
7
7
|
onDouble: () => void;
|
|
8
8
|
onDeal: () => void;
|
|
9
|
+
onRepeat: () => void;
|
|
9
10
|
balance: number;
|
|
11
|
+
isUndo: boolean;
|
|
12
|
+
isDouble: boolean;
|
|
13
|
+
isDeal: boolean;
|
|
14
|
+
isRepeat: boolean;
|
|
10
15
|
}
|
|
11
|
-
export declare const ChipBoard: ({ time, chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onDeal, balance, }: IChipBoard) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const ChipBoard: ({ time, chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onDeal, onRepeat, balance, isUndo, isDouble, isDeal, isRepeat, }: IChipBoard) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,6 +3,10 @@ export declare const WrapperChips: import('styled-components/dist/types').IStyle
|
|
|
3
3
|
interface IChipWrapper {
|
|
4
4
|
chipSize: number;
|
|
5
5
|
}
|
|
6
|
+
interface IButton {
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
}
|
|
6
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;
|
|
7
|
-
export declare const Deal: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').
|
|
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;
|
|
11
|
+
export declare const Button: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IButton>> & string;
|
|
8
12
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const ButtonGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
interface IButtonWrapper {
|
|
3
|
-
isActive: boolean;
|
|
3
|
+
$isActive: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const ButtonWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IButtonWrapper>> & string;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const ButtonWrapper: 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 Button: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -2,9 +2,8 @@ import { IRound } from '../helpers';
|
|
|
2
2
|
|
|
3
3
|
interface IRoundHistory {
|
|
4
4
|
roundData: IRound;
|
|
5
|
-
setRoundData: (data: IRound | null) => void;
|
|
6
5
|
handleClickRound: (index: number) => void;
|
|
7
6
|
indexHistory: number | null;
|
|
8
7
|
}
|
|
9
|
-
export declare const RoundHistory: ({ roundData,
|
|
8
|
+
export declare const RoundHistory: ({ roundData, handleClickRound, indexHistory, }: IRoundHistory) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -3,8 +3,8 @@ export declare const AmountWrapper: import('styled-components/dist/types').IStyl
|
|
|
3
3
|
export declare const DealerInfo: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
4
|
export declare const Line: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
5
|
interface ISeats {
|
|
6
|
-
isActive: boolean;
|
|
7
|
-
index: number;
|
|
6
|
+
$isActive: boolean;
|
|
7
|
+
$index: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const Seats: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ISeats>> & string;
|
|
10
10
|
export declare const BoxComponents: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -12,4 +12,8 @@ interface IHistoryCardWrapper {
|
|
|
12
12
|
color: string;
|
|
13
13
|
}
|
|
14
14
|
export declare const HistoryCardWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IHistoryCardWrapper>> & string;
|
|
15
|
+
interface IWinAmount {
|
|
16
|
+
$isWin: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const WinAmount: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, IWinAmount>> & string;
|
|
15
19
|
export {};
|
|
@@ -82,10 +82,58 @@ export interface ISplittedHands {
|
|
|
82
82
|
}
|
|
83
83
|
export interface IBets {
|
|
84
84
|
amount: number;
|
|
85
|
-
betType:
|
|
85
|
+
betType: BET_TYPE;
|
|
86
86
|
boxIndex: number;
|
|
87
87
|
winAmount: number;
|
|
88
88
|
}
|
|
89
|
+
export declare enum BET_TYPE {
|
|
90
|
+
Ante = 0,
|
|
91
|
+
Insurance = 3,
|
|
92
|
+
Tip = 9,
|
|
93
|
+
Hit = 10,
|
|
94
|
+
Double = 11,
|
|
95
|
+
Split = 12,
|
|
96
|
+
Stand = 13,
|
|
97
|
+
Surrender = 14,
|
|
98
|
+
TwentyOnePlusThree = 15,
|
|
99
|
+
PerfectPairs = 16,
|
|
100
|
+
DraftAnte = 17,
|
|
101
|
+
DraftTwentyOnePlusThree = 18,
|
|
102
|
+
DraftPerfectPairs = 19,
|
|
103
|
+
Occupy = 20,
|
|
104
|
+
Leave = 21,
|
|
105
|
+
DraftBetBehind = 22,
|
|
106
|
+
BetBehind = 23,
|
|
107
|
+
Undo = 24,
|
|
108
|
+
Repeat = 25,
|
|
109
|
+
Deal = 26,
|
|
110
|
+
DoubleBets = 27,
|
|
111
|
+
StandAll = 49
|
|
112
|
+
}
|
|
113
|
+
export declare const betsType: {
|
|
114
|
+
0: string;
|
|
115
|
+
3: string;
|
|
116
|
+
9: string;
|
|
117
|
+
10: string;
|
|
118
|
+
11: string;
|
|
119
|
+
12: string;
|
|
120
|
+
13: string;
|
|
121
|
+
14: string;
|
|
122
|
+
15: string;
|
|
123
|
+
16: string;
|
|
124
|
+
17: string;
|
|
125
|
+
18: string;
|
|
126
|
+
19: string;
|
|
127
|
+
20: string;
|
|
128
|
+
21: string;
|
|
129
|
+
22: string;
|
|
130
|
+
23: string;
|
|
131
|
+
24: string;
|
|
132
|
+
25: string;
|
|
133
|
+
26: string;
|
|
134
|
+
27: string;
|
|
135
|
+
49: string;
|
|
136
|
+
};
|
|
89
137
|
export declare const historyData: IHistoryData;
|
|
90
138
|
export declare const formatted: (date: string) => string;
|
|
91
139
|
export declare const seatsPosition: string[];
|
|
@@ -3,6 +3,8 @@ import { IHistoryData } from './helpers';
|
|
|
3
3
|
interface IHistory {
|
|
4
4
|
historyData: IHistoryData | null;
|
|
5
5
|
getHistory: (active: number) => void;
|
|
6
|
+
setOpenRoundHistory: (el: number) => void;
|
|
7
|
+
openRoundHistory?: number;
|
|
6
8
|
}
|
|
7
|
-
export declare const History: ({ historyData, getHistory }: IHistory) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const History: ({ historyData, getHistory, setOpenRoundHistory, openRoundHistory, }: IHistory) => import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const InfoWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
interface IItemWrapper {
|
|
3
|
-
itemsCount: number;
|
|
4
|
-
isActive: boolean;
|
|
3
|
+
$itemsCount: number;
|
|
4
|
+
$isActive: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const NameWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
7
|
export declare const ContentWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface TextInterface {
|
|
2
|
+
"The goal of the game": string[];
|
|
3
|
+
"Game Rules": (string | {
|
|
4
|
+
[key: string]: string | string[];
|
|
5
|
+
})[];
|
|
6
|
+
Results: string[];
|
|
7
|
+
"Side Bets": (string | {
|
|
8
|
+
"21+3": (string | string[])[];
|
|
9
|
+
} | {
|
|
10
|
+
[key: string]: (string | string[])[];
|
|
11
|
+
})[];
|
|
12
|
+
Payments: string[];
|
|
13
|
+
"Return to the player": string[];
|
|
14
|
+
"Take a seat": string[];
|
|
15
|
+
"Place bets": string[];
|
|
16
|
+
"Make a decision": string[];
|
|
17
|
+
"Total bet": string[];
|
|
18
|
+
Chat: string[];
|
|
19
|
+
"Game number": string[];
|
|
20
|
+
Sound: string[];
|
|
21
|
+
"Game history": string[];
|
|
22
|
+
Settings: string[];
|
|
23
|
+
"Error Control": string[];
|
|
24
|
+
Shuffling: string[];
|
|
25
|
+
}
|
|
26
|
+
export declare const text: TextInterface;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface IWrapper {
|
|
2
|
-
width: number;
|
|
3
|
-
height: number;
|
|
4
|
-
isLandscape: boolean;
|
|
2
|
+
$width: number;
|
|
3
|
+
$height: number;
|
|
4
|
+
$isLandscape: boolean;
|
|
5
5
|
}
|
|
6
6
|
export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IWrapper>> & string;
|
|
7
7
|
export declare const ContentWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -24,5 +24,6 @@ export interface IToLobby {
|
|
|
24
24
|
setStreamVolume: (volume: number) => void;
|
|
25
25
|
balance: number;
|
|
26
26
|
getHistory: (active: number) => void;
|
|
27
|
+
setOpenRoundHistory: () => void;
|
|
27
28
|
}
|
|
28
|
-
export declare const MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, streamVolume, balance, effectsVolume, setEffectsVolume, setStreamVolume, getHistory, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, streamVolume, balance, effectsVolume, setEffectsVolume, setStreamVolume, getHistory, setOpenRoundHistory, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
interface IWrapper {
|
|
2
|
-
isLandscape: boolean;
|
|
2
|
+
$isLandscape: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IWrapper>> & string;
|
|
5
5
|
export declare const WrapperHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
6
|
export declare const TextContener: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
7
|
interface IBackToLobby {
|
|
8
|
-
tournament?: boolean;
|
|
9
|
-
isLandscape: boolean;
|
|
8
|
+
$tournament?: boolean;
|
|
9
|
+
$isLandscape: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare const BackToLobby: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IBackToLobby>> & string;
|
|
12
12
|
export declare const ButtonsWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -5,5 +5,6 @@ export interface IPopupWrapper {
|
|
|
5
5
|
close: () => void;
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
8
|
+
headerClick?: () => void;
|
|
8
9
|
}
|
|
9
|
-
export declare const PopupWrapper: ({ header, close, width, height, children, }: PropsWithChildren<IPopupWrapper>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const PopupWrapper: ({ header, close, width, height, children, headerClick, }: PropsWithChildren<IPopupWrapper>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Toast: 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 ToastMessage: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -12,6 +12,7 @@ export interface IElements {
|
|
|
12
12
|
activeAction: BUTTONS_TYPE | null;
|
|
13
13
|
isMobile?: boolean;
|
|
14
14
|
historyData: IHistoryData | null;
|
|
15
|
+
setOpenRoundHistory: (el: number) => void;
|
|
15
16
|
isLandscape?: boolean;
|
|
16
17
|
streamVolume: number;
|
|
17
18
|
effectsVolume: number;
|
|
@@ -20,5 +21,6 @@ export interface IElements {
|
|
|
20
21
|
tournamentData?: TournamentData;
|
|
21
22
|
balance: number;
|
|
22
23
|
getHistory: (active: number) => void;
|
|
24
|
+
openRoundHistory?: number;
|
|
23
25
|
}
|
|
24
|
-
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, balance, getHistory, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, setOpenRoundHistory, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, openRoundHistory, balance, getHistory, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,7 +25,7 @@ export declare const buttons: ({
|
|
|
25
25
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
name?: undefined;
|
|
27
27
|
})[];
|
|
28
|
-
export declare const getDesktopSize: (activeAction: BUTTONS_TYPE | null) => {
|
|
28
|
+
export declare const getDesktopSize: (activeAction: BUTTONS_TYPE | null, historyOpen: boolean) => {
|
|
29
29
|
header: string;
|
|
30
30
|
height: number;
|
|
31
31
|
width: number;
|
|
@@ -11,5 +11,7 @@ import { MobileBottomInfo } from './MobileBottomInfo';
|
|
|
11
11
|
import { Timer } from './Timer';
|
|
12
12
|
import { Reconnect } from './Reconnect';
|
|
13
13
|
import { NotPlaying } from './NotPlaying';
|
|
14
|
+
import { BlackJackeWinPopup } from './BlackJackeWinPopup';
|
|
15
|
+
import { ToastMessages } from './ToastMessages';
|
|
14
16
|
|
|
15
|
-
export { BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying };
|
|
17
|
+
export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Repeat: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StarsForWin: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ import { MobileBottomInfo } from './components/MobileBottomInfo';
|
|
|
11
11
|
import { Timer } from './components/Timer';
|
|
12
12
|
import { Reconnect } from './components/Reconnect';
|
|
13
13
|
import { NotPlaying } from './components/NotPlaying';
|
|
14
|
+
import { BlackJackeWinPopup } from './components/BlackJackeWinPopup';
|
|
15
|
+
import { ToastMessages } from './components/ToastMessages';
|
|
14
16
|
|
|
15
|
-
export { BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying };
|
|
17
|
+
export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages };
|