@betorigami/games 3.4.0 → 3.4.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.
- package/dist/components/blackjack/blackjack.utils.d.ts +3 -2
- package/dist/index.mjs +12259 -12261
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlackjackOutcome, Rank } from '@betorigami/game-calculations';
|
|
2
|
-
type
|
|
2
|
+
type HandClassParams = {
|
|
3
3
|
outcome: BlackjackOutcome | null;
|
|
4
4
|
isPlayerTurn: boolean;
|
|
5
5
|
handIndex: number;
|
|
@@ -14,5 +14,6 @@ export declare const handDisplayValue: (cards: ReadonlyArray<{
|
|
|
14
14
|
}>) => string;
|
|
15
15
|
export declare const getCardClassFromOutcome: (outcome: BlackjackOutcome | null) => string;
|
|
16
16
|
export declare const getOutcomePillClass: (outcome: BlackjackOutcome | null) => string;
|
|
17
|
-
export declare const getPillClass: (
|
|
17
|
+
export declare const getPillClass: (params: HandClassParams) => string;
|
|
18
|
+
export declare const getHandCardClass: (params: HandClassParams) => string;
|
|
18
19
|
export {};
|