livevegas-ui-kit 1.0.51 → 1.0.53

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.
@@ -2,10 +2,11 @@ import { BET_TYPE } from 'src/components/History/helpers';
2
2
  import { ISizeIcon } from '../helper';
3
3
 
4
4
  export interface IActionButton {
5
- buttonType: BET_TYPE;
5
+ buttonType?: BET_TYPE;
6
6
  icon: (size: ISizeIcon) => JSX.Element;
7
7
  onClick: () => void;
8
8
  isDisabled: boolean;
9
9
  size?: number;
10
+ customColor?: string;
10
11
  }
11
- export declare const ActionButton: ({ buttonType, icon, onClick, isDisabled, size, }: IActionButton) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const ActionButton: ({ buttonType, icon, onClick, isDisabled, size, customColor, }: IActionButton) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
1
  import { ISize } from '../helper';
2
- import { BET_TYPE } from 'src/components/History/helpers';
3
2
 
4
3
  interface IButtonWrapper {
5
- $color: BET_TYPE;
4
+ $color: string;
6
5
  $size: ISize;
7
6
  $isDisabled: boolean;
8
7
  }
@@ -0,0 +1,19 @@
1
+ export declare enum INSURANCE_ACTION {
2
+ Yes = "yes",
3
+ No = "no"
4
+ }
5
+ interface IDoingInsurance {
6
+ isDisabled: boolean;
7
+ onHandle: () => void;
8
+ }
9
+ export interface IInsurance {
10
+ [INSURANCE_ACTION.Yes]: IDoingInsurance;
11
+ [INSURANCE_ACTION.No]: IDoingInsurance;
12
+ }
13
+ export declare const insuranceActions: {
14
+ betType: INSURANCE_ACTION;
15
+ name: string;
16
+ icon: () => import("react/jsx-runtime").JSX.Element;
17
+ color: string;
18
+ }[];
19
+ export {};
@@ -0,0 +1,7 @@
1
+ import { IInsurance } from './helper';
2
+
3
+ export interface IBlackJackInsurance {
4
+ time: number;
5
+ actionsHandler: IInsurance;
6
+ }
7
+ export declare const BlackjeckInsurance: ({ time, actionsHandler, }: IBlackJackInsurance) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { BlackjeckInsurance } from '.';
3
+
4
+ declare const meta: Meta<typeof BlackjeckInsurance>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof BlackjeckInsurance>;
7
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export declare const InsuranceWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -16,5 +16,6 @@ import { ToastMessages } from './ToastMessages';
16
16
  import { BlackJackAction } from './BlackJackAction';
17
17
  import { Wager } from './WagerAndFreeSpins';
18
18
  import { BonusModalContent } from './BonusModal';
19
+ import { BlackjeckInsurance } from './BlackJeckInsurance';
19
20
 
20
- export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, Wager, BonusModalContent };
21
+ export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, BlackjeckInsurance, Wager, BonusModalContent, };
@@ -0,0 +1 @@
1
+ export declare const InsuranceNo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const InsuranceYes: () => import("react/jsx-runtime").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ import { NotPlaying } from './components/NotPlaying';
14
14
  import { BlackJackeWinPopup } from './components/BlackJackeWinPopup';
15
15
  import { ToastMessages } from './components/ToastMessages';
16
16
  import { BlackJackAction } from './components/BlackJackAction';
17
+ import { BlackjeckInsurance } from './components/BlackJeckInsurance';
17
18
  import { Wager, BonusModalContent } from './components';
18
19
 
19
- export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, Wager, BonusModalContent };
20
+ export { BlackJackeWinPopup, BalanceAndBet, TopIcons, Button, Chip, MobileMenu, PopupWrapper, ToLobby, TournamentNotification, ChipBoard, Timer, MobileBottomInfo, Reconnect, NotPlaying, ToastMessages, BlackJackAction, BlackjeckInsurance, Wager, BonusModalContent };