livevegas-ui-kit 1.0.69 → 1.0.71
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/MoibleChipBoard/index.d.ts +15 -0
- package/dist/components/MoibleChipBoard/index.stories.d.ts +7 -0
- package/dist/components/MoibleChipBoard/styled.d.ts +22 -0
- package/dist/icons/ChipBoardBackgraound.d.ts +7 -0
- package/dist/livevegas-ui-kit.es.js +11 -4
- package/dist/livevegas-ui-kit.umd.js +50 -43
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IMoibleChipBoard {
|
|
2
|
+
chipAmounts: number[];
|
|
3
|
+
selectedChipIndex: number;
|
|
4
|
+
selectChipIndex: (index: number) => void;
|
|
5
|
+
onUndo: () => void;
|
|
6
|
+
onDouble: () => void;
|
|
7
|
+
onRepeat: () => void;
|
|
8
|
+
balance: number;
|
|
9
|
+
isUndo: boolean;
|
|
10
|
+
isDouble: boolean;
|
|
11
|
+
isDeal: boolean;
|
|
12
|
+
isRepeat: boolean;
|
|
13
|
+
isLandscape: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const MoibleChipBoard: ({ chipAmounts, selectedChipIndex, selectChipIndex, onUndo, onDouble, onRepeat, balance, isUndo, isDouble, isDeal, isRepeat, isLandscape, }: IMoibleChipBoard) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface IWrapper {
|
|
2
|
+
$isLandscape: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IWrapper>> & string;
|
|
5
|
+
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;
|
|
6
|
+
interface IChipWrapper {
|
|
7
|
+
$index: number;
|
|
8
|
+
$isActiveChips: boolean;
|
|
9
|
+
$isLandscape: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface IButton {
|
|
12
|
+
$isLandscape: boolean;
|
|
13
|
+
$isDisabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
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;
|
|
16
|
+
export declare const Button: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IButton>> & string;
|
|
17
|
+
interface IChips {
|
|
18
|
+
$isChipsSelector: boolean;
|
|
19
|
+
$isLandscape: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Chips: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IChips>> & string;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface IChipBoardBackgraound {
|
|
2
|
+
index: number;
|
|
3
|
+
isActive: boolean;
|
|
4
|
+
isChipsSelector: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const ChipBoardBackgraound: ({ index, isActive, isChipsSelector, }: IChipBoardBackgraound) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -5144,7 +5144,7 @@ const E5 = d.div`
|
|
|
5144
5144
|
v9,
|
|
5145
5145
|
{
|
|
5146
5146
|
placeholder: "Enter new nickname",
|
|
5147
|
-
error: "
|
|
5147
|
+
error: ""
|
|
5148
5148
|
}
|
|
5149
5149
|
),
|
|
5150
5150
|
/* @__PURE__ */ t.jsx("button", { children: "Change" })
|
|
@@ -6351,6 +6351,7 @@ const E5 = d.div`
|
|
|
6351
6351
|
|
|
6352
6352
|
.icon {
|
|
6353
6353
|
transform: scale(1);
|
|
6354
|
+
transition-duration: 200ms;
|
|
6354
6355
|
width: fit-content;
|
|
6355
6356
|
height: fit-content;
|
|
6356
6357
|
display: flex;
|
|
@@ -6384,8 +6385,9 @@ const E5 = d.div`
|
|
|
6384
6385
|
display: flex;
|
|
6385
6386
|
justify-content: center;
|
|
6386
6387
|
align-items: center;
|
|
6388
|
+
transition-duration: 200ms;
|
|
6387
6389
|
}
|
|
6388
|
-
|
|
6390
|
+
|
|
6389
6391
|
&:hover {
|
|
6390
6392
|
border: 1px solid var(--white-60, #ffffff99);
|
|
6391
6393
|
.icon {
|
|
@@ -7173,7 +7175,7 @@ const E5 = d.div`
|
|
|
7173
7175
|
warning: "radial-gradient(50% 50% at 50% 50%, rgba(233, 136, 38, 0.4) 0%, rgba(233, 136, 38, 0) 100%)",
|
|
7174
7176
|
success: "radial-gradient(50% 50% at 50% 50%, rgba(51, 165, 76, 0.4) 0%, rgba(51, 165, 76, 0) 100%)"
|
|
7175
7177
|
}, M6 = d.div`
|
|
7176
|
-
width:
|
|
7178
|
+
max-width: 250px;
|
|
7177
7179
|
height: 34px;
|
|
7178
7180
|
border-bottom-right-radius: 12px;
|
|
7179
7181
|
border-bottom-left-radius: 12px;
|
|
@@ -7321,6 +7323,7 @@ const se = {
|
|
|
7321
7323
|
${({ $isDisabled: e }) => e && "opacity: 0.4;"}
|
|
7322
7324
|
|
|
7323
7325
|
.icon {
|
|
7326
|
+
transition-duration: 200ms;
|
|
7324
7327
|
width: ${({ $size: e }) => e.iconSize}px;
|
|
7325
7328
|
height: ${({ $size: e }) => e.iconSize}px;
|
|
7326
7329
|
}
|
|
@@ -7356,7 +7359,6 @@ const se = {
|
|
|
7356
7359
|
gap: 16px;
|
|
7357
7360
|
width: ${({ $isBig: e }) => e ? "450px" : "fit-content"};
|
|
7358
7361
|
|
|
7359
|
-
|
|
7360
7362
|
.aciton {
|
|
7361
7363
|
display: flex;
|
|
7362
7364
|
gap: ${({ $isBig: e }) => e ? 16 : 4}px;
|
|
@@ -7402,6 +7404,11 @@ const se = {
|
|
|
7402
7404
|
color: #ffffff;
|
|
7403
7405
|
}
|
|
7404
7406
|
|
|
7407
|
+
.icon {
|
|
7408
|
+
transform: scale(1);
|
|
7409
|
+
transition-duration: 200ms;
|
|
7410
|
+
}
|
|
7411
|
+
|
|
7405
7412
|
&:hover {
|
|
7406
7413
|
border: 1px solid var(--white-60, #ffffff99);
|
|
7407
7414
|
.icon {
|