livevegas-ui-kit 1.0.91 → 1.0.93
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/MobileMenu/ItemMenu/index.d.ts +2 -1
- package/dist/components/MobileMenu/helper.d.ts +1 -1
- package/dist/components/MobileMenu/index.d.ts +3 -1
- package/dist/components/Tip/index.d.ts +3 -1
- package/dist/components/TopIcons/Elements.d.ts +3 -1
- package/dist/components/TopIcons/helper.d.ts +2 -10
- package/dist/components/TopIcons/index.d.ts +3 -1
- package/dist/icons/VolumeOn.d.ts +1 -1
- package/dist/livevegas-ui-kit.es.js +1656 -1584
- package/dist/livevegas-ui-kit.umd.js +159 -148
- package/dist/services/i18n/translations/en.json.d.ts +6 -5
- package/dist/services/i18n/translations/hy.json.d.ts +8 -7
- package/dist/services/i18n/translations/ru.json.d.ts +9 -8
- package/dist/services/i18n/translations/tr.json.d.ts +6 -5
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ interface IItemMenu {
|
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
8
8
|
isLandscape: boolean;
|
|
9
|
+
headerClick?: () => void;
|
|
9
10
|
}
|
|
10
|
-
export declare const ItemMenu: ({ header, close, width, height, children, isLandscape, }: PropsWithChildren<IItemMenu>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const ItemMenu: ({ header, close, width, height, children, isLandscape, headerClick, }: PropsWithChildren<IItemMenu>) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -19,7 +19,7 @@ export declare const menuButtonBottom: {
|
|
|
19
19
|
buttonType: BUTTONS_TYPE;
|
|
20
20
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
}[];
|
|
22
|
-
export declare const getMobileSize: (activeAction: BUTTONS_TYPE | null, isLandscape: boolean) => {
|
|
22
|
+
export declare const getMobileSize: (activeAction: BUTTONS_TYPE | null, isLandscape: boolean, isOpenRound: boolean) => {
|
|
23
23
|
header: string;
|
|
24
24
|
height: number;
|
|
25
25
|
width: number;
|
|
@@ -13,6 +13,7 @@ export interface IToLobby {
|
|
|
13
13
|
urlParam: IUrlParam;
|
|
14
14
|
messages: IMessage[];
|
|
15
15
|
onSendMessage: (message: string) => void;
|
|
16
|
+
currencyId: string;
|
|
16
17
|
isTournamentActive?: boolean;
|
|
17
18
|
chipAmounts: number[];
|
|
18
19
|
onSendMessageSupport: (message: string) => void;
|
|
@@ -26,5 +27,6 @@ export interface IToLobby {
|
|
|
26
27
|
balance: number;
|
|
27
28
|
getHistory: (active: number) => void;
|
|
28
29
|
limits: ILimitInfo;
|
|
30
|
+
sendTip: (amount: number) => void;
|
|
29
31
|
}
|
|
30
|
-
export declare const MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, streamVolume, balance, effectsVolume, setEffectsVolume, setStreamVolume, getHistory, limits, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare const MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, streamVolume, balance, currencyId, effectsVolume, setEffectsVolume, setStreamVolume, getHistory, limits, sendTip, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
interface ITip {
|
|
2
2
|
chipAmounts: number[];
|
|
3
3
|
isLandscape?: boolean;
|
|
4
|
+
sendTip: (amount: number) => void;
|
|
4
5
|
balance: number;
|
|
6
|
+
currencyId: string;
|
|
5
7
|
}
|
|
6
|
-
export declare const Tip: ({ chipAmounts, isLandscape, balance }: ITip) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Tip: ({ chipAmounts, isLandscape, balance, sendTip, currencyId, }: ITip) => import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
export {};
|
|
@@ -24,5 +24,7 @@ export interface IElements {
|
|
|
24
24
|
getHistory: (active: number) => void;
|
|
25
25
|
openRoundHistory?: number;
|
|
26
26
|
limits?: ILimitInfo;
|
|
27
|
+
sendTip?: (amount: number) => void;
|
|
28
|
+
currencyId: string;
|
|
27
29
|
}
|
|
28
|
-
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, setOpenRoundHistory, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, openRoundHistory, balance, getHistory, limits, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, setOpenRoundHistory, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, openRoundHistory, balance, getHistory, sendTip, limits, currencyId, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,7 @@ export declare enum BUTTONS_TYPE {
|
|
|
5
5
|
History = 4,
|
|
6
6
|
Info = 5,
|
|
7
7
|
Settings = 6,
|
|
8
|
-
|
|
8
|
+
VolumeOn = 7,
|
|
9
9
|
FullScreen = 8,
|
|
10
10
|
Tournament = 9,
|
|
11
11
|
closeMenu = 10,
|
|
@@ -16,15 +16,7 @@ export interface Ibuttons {
|
|
|
16
16
|
buttonType: BUTTONS_TYPE;
|
|
17
17
|
icon: JSX.Element;
|
|
18
18
|
}
|
|
19
|
-
export declare const buttons:
|
|
20
|
-
name: string;
|
|
21
|
-
buttonType: BUTTONS_TYPE;
|
|
22
|
-
icon: import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
} | {
|
|
24
|
-
buttonType: BUTTONS_TYPE;
|
|
25
|
-
icon: import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
name?: undefined;
|
|
27
|
-
})[];
|
|
19
|
+
export declare const buttons: Ibuttons[];
|
|
28
20
|
export declare const getDesktopSize: (activeAction: BUTTONS_TYPE | null, historyOpen: boolean) => {
|
|
29
21
|
header: string;
|
|
30
22
|
height: number;
|
|
@@ -20,5 +20,7 @@ export interface ITopIcons {
|
|
|
20
20
|
isTournamentDetailsVisible: boolean;
|
|
21
21
|
balance: number;
|
|
22
22
|
getHistory: (active: number) => void;
|
|
23
|
+
sendTip: (amount: number) => void;
|
|
24
|
+
currencyId: string;
|
|
23
25
|
}
|
|
24
|
-
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, getHistory, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, getHistory, sendTip, currencyId, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|
package/dist/icons/VolumeOn.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const VolumeOnIcon: () => import("react/jsx-runtime").JSX.Element;
|