livevegas-ui-kit 1.0.13 → 1.0.15
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/Chip/index.d.ts +3 -1
- package/dist/components/ChipBoard/index.d.ts +2 -1
- package/dist/components/ChipBoard/styled.d.ts +5 -1
- package/dist/components/MobileMenu/index.d.ts +2 -1
- package/dist/components/Tip/index.d.ts +2 -1
- package/dist/components/TopIcons/Elements.d.ts +2 -1
- package/dist/components/TopIcons/index.d.ts +2 -1
- package/dist/livevegas-ui-kit.es.js +918 -908
- package/dist/livevegas-ui-kit.umd.js +89 -90
- package/dist/style.css +1 -0
- package/package.json +1 -1
- package/dist/components/Chip/styled.d.ts +0 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
|
|
1
2
|
export interface IChip {
|
|
2
3
|
chipAmounts: number[];
|
|
3
4
|
amount: number;
|
|
4
5
|
width?: number;
|
|
5
6
|
height?: number;
|
|
6
7
|
onClick?: (amount: number) => void;
|
|
8
|
+
isDisabled?: boolean;
|
|
7
9
|
}
|
|
8
|
-
export declare const Chip: ({ chipAmounts, amount, width, height, onClick, }: IChip) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Chip: ({ chipAmounts, amount, width, height, isDisabled, onClick, }: IChip) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,5 +6,6 @@ export interface IChipBoard {
|
|
|
6
6
|
onUndo: () => void;
|
|
7
7
|
onDouble: () => void;
|
|
8
8
|
onDeal: () => void;
|
|
9
|
+
balance: number;
|
|
9
10
|
}
|
|
10
|
-
export declare const ChipBoard: ({ time, chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onDeal, }: IChipBoard) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const ChipBoard: ({ time, chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onDeal, balance, }: IChipBoard) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,6 +3,10 @@ interface IWrapperLoading {
|
|
|
3
3
|
time: number;
|
|
4
4
|
}
|
|
5
5
|
export declare const WrapperLoading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IWrapperLoading>> & string;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const WrapperChips: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
interface IChipWrapper {
|
|
8
|
+
chipSize: number;
|
|
9
|
+
}
|
|
10
|
+
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
11
|
export declare const Deal: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
8
12
|
export {};
|
|
@@ -22,5 +22,6 @@ export interface IToLobby {
|
|
|
22
22
|
effectsVolume: number;
|
|
23
23
|
setEffectsVolume: (volume: number) => void;
|
|
24
24
|
setStreamVolume: (volume: number) => void;
|
|
25
|
+
balance: number;
|
|
25
26
|
}
|
|
26
|
-
export declare const MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, streamVolume, balance, effectsVolume, setEffectsVolume, setStreamVolume, }: IToLobby) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface ITip {
|
|
2
2
|
chipAmounts: number[];
|
|
3
3
|
isLandscape?: boolean;
|
|
4
|
+
balance: number;
|
|
4
5
|
}
|
|
5
|
-
export declare const Tip: ({ chipAmounts, isLandscape }: ITip) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Tip: ({ chipAmounts, isLandscape, balance }: ITip) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -18,5 +18,6 @@ export interface IElements {
|
|
|
18
18
|
setEffectsVolume: (volume: number) => void;
|
|
19
19
|
setStreamVolume: (volume: number) => void;
|
|
20
20
|
tournamentData?: TournamentData;
|
|
21
|
+
balance: number;
|
|
21
22
|
}
|
|
22
|
-
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const Elements: ({ activeAction, messages, onSendMessage, chipAmounts, messagesSupport, onSendMessageSupport, isMobile, historyData, isLandscape, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, balance, }: IElements) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,5 +18,6 @@ export interface ITopIcons {
|
|
|
18
18
|
setStreamVolume: (volume: number) => void;
|
|
19
19
|
tournamentData: TournamentData;
|
|
20
20
|
isTournamentDetailsVisible: boolean;
|
|
21
|
+
balance: number;
|
|
21
22
|
}
|
|
22
|
-
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, balance, isFullscreen, toggleFullscreen, streamVolume, effectsVolume, setEffectsVolume, setStreamVolume, tournamentData, isTournamentDetailsVisible, }: ITopIcons) => import("react/jsx-runtime").JSX.Element;
|