livevegas-ui-kit 1.0.33 → 1.0.35
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/Chat/styled.d.ts +1 -1
- package/dist/components/ChipBoard/index.d.ts +3 -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/TopIcons/Elements.d.ts +3 -1
- package/dist/components/TopIcons/helper.d.ts +1 -1
- package/dist/icons/Repeat.d.ts +1 -0
- package/dist/livevegas-ui-kit.es.js +1697 -1451
- package/dist/livevegas-ui-kit.umd.js +215 -199
- package/package.json +1 -1
|
@@ -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,9 +6,11 @@ export interface IChipBoard {
|
|
|
6
6
|
onUndo: () => void;
|
|
7
7
|
onDouble: () => void;
|
|
8
8
|
onDeal: () => void;
|
|
9
|
+
onRepeat: () => void;
|
|
9
10
|
balance: number;
|
|
10
11
|
isUndo: boolean;
|
|
11
12
|
isDouble: boolean;
|
|
12
13
|
isDeal: boolean;
|
|
14
|
+
isRepeat: boolean;
|
|
13
15
|
}
|
|
14
|
-
export declare const ChipBoard: ({ time, chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onDeal, balance, isUndo, isDouble, isDeal, }: 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,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;
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Repeat: () => import("react/jsx-runtime").JSX.Element;
|