livevegas-ui-kit 1.0.310 → 1.0.311
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.
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
|
|
3
|
-
declare const HistoryDemo: ({ totalCount,
|
|
3
|
+
declare const HistoryDemo: ({ totalCount, apiPageSize, }: {
|
|
4
4
|
totalCount: number;
|
|
5
|
-
|
|
5
|
+
/** How many rounds the mock "backend" returns per fetch (stands in for `take`). */
|
|
6
|
+
apiPageSize?: number;
|
|
6
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
declare const meta: Meta<typeof HistoryDemo>;
|
|
8
9
|
export default meta;
|
|
@@ -25,6 +25,7 @@ export interface IElements {
|
|
|
25
25
|
balance: number;
|
|
26
26
|
getHistory: (active: number) => void;
|
|
27
27
|
openRoundHistory?: number;
|
|
28
|
+
pageSize?: number;
|
|
28
29
|
limits?: ILimitInfo | IStake[] | string;
|
|
29
30
|
sendTip?: (amount: number) => void;
|
|
30
31
|
currencyId: string;
|
|
@@ -45,4 +46,4 @@ export interface IElements {
|
|
|
45
46
|
musicVolume?: number;
|
|
46
47
|
onTournamentClick?: () => void;
|
|
47
48
|
}
|
|
48
|
-
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, handleDealerLangChange, streamQuality, nickNameChange, nickName, errorCode, playerId, gameType, maxPayOut, selectedGame, limit, dealerLang, dealerName, setMusicVolume, musicVolume, onTournamentClick, }: IElements) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
49
|
+
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, setOpenRoundHistory, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, openRoundHistory, balance, getHistory, pageSize, sendTip, limits, currencyId, handleStreamQualityChange, handleDealerLangChange, streamQuality, nickNameChange, nickName, errorCode, playerId, gameType, maxPayOut, selectedGame, limit, dealerLang, dealerName, setMusicVolume, musicVolume, onTournamentClick, }: IElements) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -22,6 +22,7 @@ export interface ITopIcons {
|
|
|
22
22
|
isTournamentDetailsVisible: boolean;
|
|
23
23
|
balance: number;
|
|
24
24
|
getHistory: (active: number) => void;
|
|
25
|
+
pageSize?: number;
|
|
25
26
|
sendTip: (amount: number) => void;
|
|
26
27
|
currencyId: string;
|
|
27
28
|
handleStreamQualityChange?: (value: Quality) => void;
|
|
@@ -42,4 +43,4 @@ export interface ITopIcons {
|
|
|
42
43
|
musicVolume?: number;
|
|
43
44
|
onTournamentClick: () => void;
|
|
44
45
|
}
|
|
45
|
-
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, getHistory, sendTip, currencyId, handleStreamQualityChange, handleDealerLangChange, streamQuality, nickNameChange, nickName, dealerName, errorCode, playerId, partnerId, isActiveModal, setActivation, gameType, selectedGame, dealerLang, setMusicVolume, musicVolume, onTournamentClick, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, getHistory, pageSize, sendTip, currencyId, handleStreamQualityChange, handleDealerLangChange, streamQuality, nickNameChange, nickName, dealerName, errorCode, playerId, partnerId, isActiveModal, setActivation, gameType, selectedGame, dealerLang, setMusicVolume, musicVolume, onTournamentClick, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|