livevegas-ui-kit 1.0.117 → 1.0.119
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/History/RoundHistory/index.d.ts +2 -1
- package/dist/components/History/RoundHistory/styled.d.ts +1 -0
- package/dist/components/History/index.d.ts +2 -1
- package/dist/components/MobileMenu/index.d.ts +3 -1
- package/dist/components/Settings/index.d.ts +4 -1
- package/dist/components/TopIcons/Elements.d.ts +3 -1
- package/dist/components/TopIcons/index.d.ts +3 -1
- package/dist/livevegas-ui-kit.es.js +1974 -1865
- package/dist/livevegas-ui-kit.umd.js +260 -166
- package/dist/services/i18n/translations/en.json.d.ts +1 -1
- package/dist/services/i18n/translations/hy.json.d.ts +1 -1
- package/dist/services/i18n/translations/ru.json.d.ts +1 -1
- package/dist/services/i18n/translations/tr.json.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ interface IRoundHistory {
|
|
|
4
4
|
roundData: IRound;
|
|
5
5
|
handleClickRound: (index: number) => void;
|
|
6
6
|
indexHistory: number | null;
|
|
7
|
+
isMobile?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const RoundHistory: ({ roundData, handleClickRound, indexHistory, }: IRoundHistory) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const RoundHistory: ({ roundData, handleClickRound, indexHistory, isMobile, }: IRoundHistory) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -2,6 +2,7 @@ export declare const RoundHistoryWrapper: import('styled-components/dist/types')
|
|
|
2
2
|
export declare const AmountWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
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
|
+
export declare const BaseLine: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
6
|
interface ISeats {
|
|
6
7
|
$isActive: boolean;
|
|
7
8
|
$index: number;
|
|
@@ -5,6 +5,7 @@ interface IHistory {
|
|
|
5
5
|
getHistory: (active: number) => void;
|
|
6
6
|
setOpenRoundHistory: (el: number) => void;
|
|
7
7
|
openRoundHistory?: number;
|
|
8
|
+
isMobile?: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare const History: ({ historyData, getHistory, setOpenRoundHistory, openRoundHistory, }: IHistory) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const History: ({ historyData, getHistory, setOpenRoundHistory, openRoundHistory, isMobile, }: IHistory) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -4,6 +4,7 @@ import { Quality } from '../TopIcons/helper';
|
|
|
4
4
|
import { IMessage } from '../../api/types';
|
|
5
5
|
import { IHistoryData } from '../History/helpers';
|
|
6
6
|
import { ILimitInfo } from '../LimitInfo';
|
|
7
|
+
import { ERRORS_TYPES } from '../../api/constants/errorsTypes';
|
|
7
8
|
|
|
8
9
|
export interface IToLobby {
|
|
9
10
|
name: string;
|
|
@@ -34,5 +35,6 @@ export interface IToLobby {
|
|
|
34
35
|
nickNameChange: (name: string) => void;
|
|
35
36
|
nickName: string;
|
|
36
37
|
dealerName: string;
|
|
38
|
+
errorCode?: ERRORS_TYPES;
|
|
37
39
|
}
|
|
38
|
-
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, handleStreamQualityChange, streamQuality, nickNameChange, nickName, dealerName, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
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, handleStreamQualityChange, streamQuality, nickNameChange, nickName, dealerName, errorCode, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ERRORS_TYPES } from '../../api/constants/errorsTypes';
|
|
2
|
+
|
|
1
3
|
declare const quality: readonly ["Min", "Low", "Med", "High", "Auto"];
|
|
2
4
|
type Quality = (typeof quality)[number];
|
|
3
5
|
interface ISettings {
|
|
@@ -9,6 +11,7 @@ interface ISettings {
|
|
|
9
11
|
streamQuality: Quality;
|
|
10
12
|
nickNameChange: (name: string) => void;
|
|
11
13
|
nickName: string;
|
|
14
|
+
errorCode?: ERRORS_TYPES;
|
|
12
15
|
}
|
|
13
|
-
export declare const Settings: ({ streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, handleStreamQualityChange, streamQuality, nickNameChange, nickName, }: ISettings) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const Settings: ({ streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, handleStreamQualityChange, streamQuality, nickNameChange, nickName, errorCode, }: ISettings) => import("react/jsx-runtime").JSX.Element;
|
|
14
17
|
export {};
|
|
@@ -3,6 +3,7 @@ import { TournamentData } from '../Tournament';
|
|
|
3
3
|
import { IMessage } from '../../api/types';
|
|
4
4
|
import { ILimitInfo } from '../LimitInfo';
|
|
5
5
|
import { IHistoryData } from '../History/helpers';
|
|
6
|
+
import { ERRORS_TYPES } from '../../api/constants/errorsTypes';
|
|
6
7
|
|
|
7
8
|
export interface IElements {
|
|
8
9
|
messages: IMessage[];
|
|
@@ -30,5 +31,6 @@ export interface IElements {
|
|
|
30
31
|
streamQuality: Quality;
|
|
31
32
|
nickNameChange: (name: string) => void;
|
|
32
33
|
nickName: string;
|
|
34
|
+
errorCode?: ERRORS_TYPES;
|
|
33
35
|
}
|
|
34
|
-
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, handleStreamQualityChange, streamQuality, nickNameChange, nickName, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
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, handleStreamQualityChange, streamQuality, nickNameChange, nickName, errorCode, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,6 +2,7 @@ import { Quality } from './helper';
|
|
|
2
2
|
import { IMessage } from '../../api/types';
|
|
3
3
|
import { IHistoryData } from '../History/helpers';
|
|
4
4
|
import { TournamentData } from '../Tournament';
|
|
5
|
+
import { ERRORS_TYPES } from '../../api/constants/errorsTypes';
|
|
5
6
|
|
|
6
7
|
export interface ITopIcons {
|
|
7
8
|
messages: IMessage[];
|
|
@@ -28,5 +29,6 @@ export interface ITopIcons {
|
|
|
28
29
|
nickNameChange: (name: string) => void;
|
|
29
30
|
nickName: string;
|
|
30
31
|
dealerName: string;
|
|
32
|
+
errorCode?: ERRORS_TYPES;
|
|
31
33
|
}
|
|
32
|
-
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, getHistory, sendTip, currencyId, handleStreamQualityChange, streamQuality, nickNameChange, nickName, dealerName, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, getHistory, sendTip, currencyId, handleStreamQualityChange, streamQuality, nickNameChange, nickName, dealerName, errorCode, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|