livevegas-ui-kit 1.0.1 → 1.0.2

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,4 +1,4 @@
1
- interface IButton {
1
+ export interface IButton {
2
2
  icon?: React.ReactNode;
3
3
  buttonInfo?: string;
4
4
  onClick?: () => void;
@@ -11,4 +11,3 @@ interface IButton {
11
11
  isActiveBlue?: boolean;
12
12
  }
13
13
  export declare const Button: ({ icon, onClick, buttonInfo, isActive, isValueButton, width, height, text, textStyle, isActiveBlue, }: IButton) => import("react/jsx-runtime").JSX.Element;
14
- 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 {};
@@ -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,4 +1,11 @@
1
1
  declare const _default: {
2
2
  BalanceAndBet: ({ balance, bet, currencyId }: import('./BalanceAndBet').IBalanceAndBet) => import("react/jsx-runtime").JSX.Element;
3
+ TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, }: import('./TopIcons').IIcon) => import("react/jsx-runtime").JSX.Element;
4
+ Button: ({ icon, onClick, buttonInfo, isActive, isValueButton, width, height, text, textStyle, isActiveBlue, }: import('./Button').IButton) => import("react/jsx-runtime").JSX.Element;
5
+ Chip: ({ chipAmounts, amount, width, height, onClick, }: import('./Chip').IChip) => import("react/jsx-runtime").JSX.Element;
6
+ MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, }: import('./MobileMenu').IToLobby) => import("react/jsx-runtime").JSX.Element;
7
+ PopupWrapper: ({ header, close, width, height, children, }: import('react').PropsWithChildren<import('./Popup').IPopupWrapper>) => import("react/jsx-runtime").JSX.Element;
8
+ ToLobby: ({ name, round, limit, partnerId, socket, urlParam, }: import('./ToLobby').IToLobby) => import("react/jsx-runtime").JSX.Element;
9
+ TournamentNotification: ({ title, description, timeLeft, }: import('./TournamentNotification').ITournamentNotification) => import("react/jsx-runtime").JSX.Element;
3
10
  };
4
11
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,11 @@
1
1
  declare const _default: {
2
- components: {
3
- BalanceAndBet: ({ balance, bet, currencyId }: import('./components/BalanceAndBet').IBalanceAndBet) => import("react/jsx-runtime").JSX.Element;
4
- };
2
+ BalanceAndBet: ({ balance, bet, currencyId }: import('./components/BalanceAndBet').IBalanceAndBet) => import("react/jsx-runtime").JSX.Element;
3
+ TopIcons: ({ messages, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, historyData, }: import('./components/TopIcons').IIcon) => import("react/jsx-runtime").JSX.Element;
4
+ Button: ({ icon, onClick, buttonInfo, isActive, isValueButton, width, height, text, textStyle, isActiveBlue, }: import('./components/Button').IButton) => import("react/jsx-runtime").JSX.Element;
5
+ Chip: ({ chipAmounts, amount, width, height, onClick, }: import('./components/Chip').IChip) => import("react/jsx-runtime").JSX.Element;
6
+ MobileMenu: ({ name, round, partnerId, socket, urlParam, messages, historyData, onSendMessage, isTournamentActive, chipAmounts, messagesSupport, onSendMessageSupport, isLandscape, }: import('./components/MobileMenu').IToLobby) => import("react/jsx-runtime").JSX.Element;
7
+ PopupWrapper: ({ header, close, width, height, children, }: import('react').PropsWithChildren<import('./components/Popup').IPopupWrapper>) => import("react/jsx-runtime").JSX.Element;
8
+ ToLobby: ({ name, round, limit, partnerId, socket, urlParam, }: import('./components/ToLobby').IToLobby) => import("react/jsx-runtime").JSX.Element;
9
+ TournamentNotification: ({ title, description, timeLeft, }: import('./components/TournamentNotification').ITournamentNotification) => import("react/jsx-runtime").JSX.Element;
5
10
  };
6
11
  export default _default;