livevegas-ui-kit 1.0.4 → 1.0.6
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/Button/index.d.ts +1 -2
- package/dist/components/Chip/index.d.ts +1 -2
- package/dist/components/ChipBoard/index.d.ts +10 -0
- package/dist/components/ChipBoard/index.stories.d.ts +7 -0
- package/dist/components/ChipBoard/style.d.ts +8 -0
- package/dist/components/Popup/index.d.ts +1 -2
- package/dist/components/index.d.ts +11 -5
- package/dist/icons/Double.d.ts +1 -0
- package/dist/icons/IconDeal.d.ts +1 -0
- package/dist/icons/Undo.d.ts +1 -0
- package/dist/index.d.ts +11 -7
- package/dist/livevegas-ui-kit.es.d.ts +0 -2
- package/dist/livevegas-ui-kit.es.js +3503 -2473
- package/dist/livevegas-ui-kit.umd.js +639 -74
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface IButton {
|
|
1
|
+
export interface IButton {
|
|
2
2
|
icon?: React.ReactNode;
|
|
3
3
|
buttonInfo?: string;
|
|
4
4
|
onClick?: () => void;
|
|
@@ -13,4 +13,3 @@ interface IButton {
|
|
|
13
13
|
setStreamVolume?: (volume: number) => void;
|
|
14
14
|
}
|
|
15
15
|
export declare const Button: ({ icon, onClick, buttonInfo, isActive, isValueButton, width, height, text, textStyle, isActiveBlue, streamVolume, setStreamVolume, }: IButton) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
interface IChip {
|
|
2
|
+
export interface IChip {
|
|
3
3
|
chipAmounts: number[];
|
|
4
4
|
amount: number;
|
|
5
5
|
width?: number;
|
|
@@ -7,4 +7,3 @@ interface IChip {
|
|
|
7
7
|
onClick?: (amount: number) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const Chip: ({ chipAmounts, amount, width, height, onClick, }: IChip) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IChipBoard {
|
|
2
|
+
time: number;
|
|
3
|
+
chipAmounts: number[];
|
|
4
|
+
selectedChipIndex: number;
|
|
5
|
+
selectChipIndex: (index: number) => void;
|
|
6
|
+
onUndo: () => void;
|
|
7
|
+
onDouble: () => void;
|
|
8
|
+
onDeal: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const ChipBoard: ({ time, chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onDeal, }: IChipBoard) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
interface IWrapperLoading {
|
|
3
|
+
time: number;
|
|
4
|
+
}
|
|
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 WrapperChip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
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
|
+
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
|
|
3
|
-
interface IPopupWrapper {
|
|
3
|
+
export interface IPopupWrapper {
|
|
4
4
|
header: string;
|
|
5
5
|
close: () => void;
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const PopupWrapper: ({ header, close, width, height, children, }: PropsWithChildren<IPopupWrapper>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
1
|
+
import { BalanceAndBet } from './BalanceAndBet';
|
|
2
|
+
import { Button } from './Button';
|
|
3
|
+
import { Chip } from './Chip';
|
|
4
|
+
import { MobileMenu } from './MobileMenu';
|
|
5
|
+
import { PopupWrapper } from './Popup';
|
|
6
|
+
import { ToLobby } from './ToLobby';
|
|
7
|
+
import { TopIcons } from './TopIcons';
|
|
8
|
+
import { TournamentNotification } from './TournamentNotification';
|
|
9
|
+
import { ChipBoard } from './ChipBoard';
|
|
10
|
+
|
|
11
|
+
export { BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Double: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IconDeal: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Undo: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
1
|
+
import { BalanceAndBet } from './components/BalanceAndBet';
|
|
2
|
+
import { Button } from './components/Button';
|
|
3
|
+
import { Chip } from './components/Chip';
|
|
4
|
+
import { MobileMenu } from './components/MobileMenu';
|
|
5
|
+
import { PopupWrapper } from './components/Popup';
|
|
6
|
+
import { ToLobby } from './components/ToLobby';
|
|
7
|
+
import { TopIcons } from './components/TopIcons';
|
|
8
|
+
import { TournamentNotification } from './components/TournamentNotification';
|
|
9
|
+
import { ChipBoard } from './components/ChipBoard';
|
|
10
|
+
|
|
11
|
+
export { BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, };
|