@enigma-lake/dice-play-controller-sdk 1.3.6 → 2.0.0

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.
@@ -0,0 +1,2 @@
1
+ declare const FreeRoundsFooter: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default FreeRoundsFooter;
@@ -0,0 +1,2 @@
1
+ import FreeRoundsFooter from "./FreeRoundsFooter";
2
+ export default FreeRoundsFooter;
@@ -1,13 +1,14 @@
1
1
  export interface FreeRoundsIntroModalProps {
2
2
  open: boolean;
3
3
  roundsRemaining: number;
4
- totalRounds?: number;
4
+ totalRounds: number;
5
5
  stakeCents: number;
6
6
  coinType?: number;
7
7
  currency?: string;
8
8
  decimals?: number;
9
+ expiresAt?: string | number | Date;
9
10
  onPlayNow?: () => void;
10
11
  onPlayLater?: () => void;
11
12
  }
12
- declare const FreeRoundsIntroModal: ({ open, roundsRemaining, stakeCents, coinType, currency, decimals, onPlayNow, onPlayLater, }: FreeRoundsIntroModalProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const FreeRoundsIntroModal: ({ open, roundsRemaining, totalRounds, stakeCents, coinType, currency, decimals, expiresAt, onPlayNow, onPlayLater, }: FreeRoundsIntroModalProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default FreeRoundsIntroModal;
@@ -0,0 +1,9 @@
1
+ export interface FreeRoundsSummaryModalProps {
2
+ totalWinAmount: number;
3
+ coin: string;
4
+ roundsPlayed: number;
5
+ decimals?: number;
6
+ onClose: () => void;
7
+ }
8
+ declare const FreeRoundsSummaryModal: ({ totalWinAmount, coin, roundsPlayed, decimals, onClose, }: FreeRoundsSummaryModalProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default FreeRoundsSummaryModal;
@@ -0,0 +1,3 @@
1
+ import FreeRoundsSummaryModal from "./FreeRoundsSummaryModal";
2
+ export type { FreeRoundsSummaryModalProps } from "./FreeRoundsSummaryModal";
3
+ export default FreeRoundsSummaryModal;
@@ -1,6 +1,7 @@
1
1
  import { ComponentProps } from "react";
2
2
  export type Props = ComponentProps<"div"> & {
3
3
  label?: string;
4
+ isClassicGame?: boolean;
4
5
  };
5
- declare const GroupRow: ({ children, label, className, ...restProps }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ declare const GroupRow: ({ children, label, className, isClassicGame, ...restProps }: Props) => import("react/jsx-runtime").JSX.Element;
6
7
  export default GroupRow;
@@ -1,3 +1,5 @@
1
1
  import React from "react";
2
- declare const Input: ({ onChange, disabled, className, max, ...restProps }: React.ComponentProps<"input">) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Input: ({ onChange, disabled, className, max, isClassicGame, ...restProps }: React.ComponentProps<"input"> & {
3
+ isClassicGame?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
3
5
  export default Input;
@@ -3,6 +3,7 @@ export type Props = PropsWithChildren<ComponentProps<"div">> & {
3
3
  disabled: boolean;
4
4
  onClick: () => void;
5
5
  value: string;
6
+ isClassicGame?: boolean;
6
7
  };
7
- declare const PlayValueInput: ({ disabled, children, className, value, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ declare const PlayValueInput: ({ disabled, children, className, value, onClick, isClassicGame, }: Props) => import("react/jsx-runtime").JSX.Element;
8
9
  export default PlayValueInput;
@@ -28,13 +28,11 @@ export declare const usePlayController: () => {
28
28
  override_playButtonBackgroundPressed: string | undefined;
29
29
  };
30
30
  freeRounds: {
31
- isAvailable: boolean;
32
31
  isEngaged: boolean;
33
32
  roundsRemaining: number;
34
33
  totalRounds: number;
35
34
  stakeCents: number | undefined;
36
35
  coinType: number | undefined;
37
36
  currency: string | undefined;
38
- onUseFreeRounds: (() => void) | undefined;
39
37
  };
40
38
  };
@@ -3,4 +3,15 @@ export declare const hexToRgb: (hex: string) => string | null;
3
3
  export declare const selectButton: (gameMode: GAME_MODE) => HTMLButtonElement;
4
4
  export declare const addPressedClass: (gameMode: GAME_MODE, activeClassName: string) => void;
5
5
  export declare const removePressedClass: (gameMode: GAME_MODE, activeClassName: string) => void;
6
+ export declare const COIN_TYPE_SWEEPS = 0;
7
+ export declare const COIN_TYPE_GOLD = 1;
8
+ export declare const resolveCoinLabel: ({ coinType, currency, }: {
9
+ coinType?: number;
10
+ currency?: string;
11
+ }) => string;
12
+ export declare const resolveCoinDecimals: ({ coinType, currency, fallback, }: {
13
+ coinType?: number;
14
+ currency?: string;
15
+ fallback: number;
16
+ }) => number;
6
17
  export declare const format: (value: number | string, decimals: number) => string | number;
package/dist/index.d.ts CHANGED
@@ -53,18 +53,24 @@ type BonusBuyOptionsProps = {
53
53
  override_playButtonBackgroundPressed?: string;
54
54
  };
55
55
  type FreeRoundsOptionsProps = {
56
- available: boolean;
57
56
  engaged: boolean;
58
57
  roundsRemaining: number;
59
58
  totalRounds: number;
60
59
  stakeCents: number;
61
60
  coinType?: number;
62
61
  currency?: string;
63
- onUseFreeRounds?: () => void;
62
+ expiresAt?: string | number | Date;
64
63
  showIntroModal?: boolean;
65
64
  onPlayNow?: () => void;
66
65
  onPlayLater?: () => void;
67
66
  };
67
+ type ClassicGameProps = {
68
+ /** Force desktop left-rail layout. */
69
+ forceLeftStyle?: boolean;
70
+ dropdown?: {
71
+ bgColorHex: string;
72
+ };
73
+ };
68
74
  type PlayControllerProps = StylingProps & ActionsProps & {
69
75
  currencyOptions: CurrencyProps;
70
76
  playOptions: PlaySettingsProps;
@@ -73,6 +79,8 @@ type PlayControllerProps = StylingProps & ActionsProps & {
73
79
  centerWidgets: Widget[];
74
80
  bonusBuyOptions?: BonusBuyOptionsProps;
75
81
  freeRoundsOptions?: FreeRoundsOptionsProps;
82
+ isClassicGame?: boolean;
83
+ classicGame?: ClassicGameProps;
76
84
  };
77
85
 
78
86
  interface ManualPlayStateContextType {
@@ -94,14 +102,24 @@ declare const ManualPlayProvider: React.FC<ManualPlayStateProviderProps>;
94
102
  interface FreeRoundsIntroModalProps {
95
103
  open: boolean;
96
104
  roundsRemaining: number;
97
- totalRounds?: number;
105
+ totalRounds: number;
98
106
  stakeCents: number;
99
107
  coinType?: number;
100
108
  currency?: string;
101
109
  decimals?: number;
110
+ expiresAt?: string | number | Date;
102
111
  onPlayNow?: () => void;
103
112
  onPlayLater?: () => void;
104
113
  }
105
- declare const FreeRoundsIntroModal: ({ open, roundsRemaining, stakeCents, coinType, currency, decimals, onPlayNow, onPlayLater, }: FreeRoundsIntroModalProps) => react_jsx_runtime.JSX.Element;
114
+ declare const FreeRoundsIntroModal: ({ open, roundsRemaining, totalRounds, stakeCents, coinType, currency, decimals, expiresAt, onPlayNow, onPlayLater, }: FreeRoundsIntroModalProps) => react_jsx_runtime.JSX.Element;
115
+
116
+ interface FreeRoundsSummaryModalProps {
117
+ totalWinAmount: number;
118
+ coin: string;
119
+ roundsPlayed: number;
120
+ decimals?: number;
121
+ onClose: () => void;
122
+ }
123
+ declare const FreeRoundsSummaryModal: ({ totalWinAmount, coin, roundsPlayed, decimals, onClose, }: FreeRoundsSummaryModalProps) => react_jsx_runtime.JSX.Element;
106
124
 
107
- export { type ActionsProps, type BonusBuyOptionsProps, FreeRoundsIntroModal, type FreeRoundsIntroModalProps, type FreeRoundsOptionsProps, GAME_MODE, ManualPlayProvider, type PlayControllerProps, type PlaySettingsProps, type StylingProps, WIDGET, type Widget, format };
125
+ export { type ActionsProps, type BonusBuyOptionsProps, type ClassicGameProps, FreeRoundsIntroModal, type FreeRoundsIntroModalProps, type FreeRoundsOptionsProps, FreeRoundsSummaryModal, type FreeRoundsSummaryModalProps, GAME_MODE, ManualPlayProvider, type PlayControllerProps, type PlaySettingsProps, type StylingProps, WIDGET, type Widget, format };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
- import { createContext, useContext, useMemo, useCallback, useEffect, useState } from 'react';
2
+ import { createContext, useContext, useEffect, useMemo, useCallback, useState } from 'react';
3
3
  import { Currency, sendSetUserCurrencyEvent, sendSetUserCurrencyEventV2, setToggleGameWidgetsVisibility, setToggleGameWidgetsExpansion, sendOpenHighPlayModalEvent, setTogglePlayAmountView } from '@enigma-lake/zoot-platform-sdk';
4
4
  import cx$1 from 'classnames';
5
5
  import { Menu, MenuButton, MenuItems, MenuItem, Dialog, DialogPanel, DialogTitle } from '@headlessui/react';
@@ -35,6 +35,38 @@ const removePressedClass = (gameMode, activeClassName) => {
35
35
  button.classList.remove(activeClassName);
36
36
  }
37
37
  };
38
+ const COIN_TYPE_SWEEPS = 0;
39
+ const COIN_TYPE_GOLD = 1;
40
+ // B2C coin decimals (platform convention): Sweeps shows 2 dp, Gold 0 dp.
41
+ const COIN_DECIMALS = {
42
+ [COIN_TYPE_SWEEPS]: 2,
43
+ [COIN_TYPE_GOLD]: 0,
44
+ };
45
+ // A B2C grant passes `coinType` (SWEEPS=0/GOLD=1); a B2B grant passes
46
+ // `currency` (e.g. "USD").
47
+ const resolveCoinLabel = ({ coinType, currency, }) => {
48
+ if (currency) {
49
+ return currency;
50
+ }
51
+ if (coinType === COIN_TYPE_SWEEPS) {
52
+ return "SC";
53
+ }
54
+ if (coinType === COIN_TYPE_GOLD) {
55
+ return "GC";
56
+ }
57
+ return "";
58
+ };
59
+ // The per-round value belongs to the GRANT's coin, which can differ from the
60
+ // player's active currency (e.g. a Sweeps grant surfaced while the player is
61
+ // on Gold). Use the grant coin's decimals so a 0.20 SC value doesn't render as
62
+ // "0" under Gold's 0-dp formatting. B2B grants (operator `currency`) fall back
63
+ // to the operator currency decimals passed in via `fallback`.
64
+ const resolveCoinDecimals = ({ coinType, currency, fallback, }) => {
65
+ if (!currency && coinType !== undefined && coinType in COIN_DECIMALS) {
66
+ return COIN_DECIMALS[coinType];
67
+ }
68
+ return fallback;
69
+ };
38
70
  const format = (value, decimals) => {
39
71
  const num = Number(value);
40
72
  if (isNaN(num)) {
@@ -73,11 +105,11 @@ const usePlayController = () => {
73
105
  const { current } = config.currencyOptions;
74
106
  const { disabledController, playHook } = config.playOptions;
75
107
  const { playAmount: rawPlayAmount, playLimits, setPlayAmount: rawSetPlayAmount, } = playHook?.() ?? {};
76
- // Free rounds (opt-in): only when the player has ENGAGED free-round mode are
77
- // the stake/coin locked to the grant. `available` (pending grants exist) does
78
- // not lock anything on its own it surfaces a "Use Free Rounds" affordance.
108
+ // Free rounds (binary engagement): only when the player has ENGAGED
109
+ // free-round mode (PLAY NOW on the intro modal) are the per-round value and
110
+ // coin locked to the grant. When not engaged the controller renders exactly
111
+ // as if the player had no free rounds.
79
112
  const freeRoundsOptions = config.freeRoundsOptions;
80
- const isFreeRoundsAvailable = Boolean(freeRoundsOptions?.available && freeRoundsOptions.roundsRemaining > 0);
81
113
  const isFreeRoundsEngaged = Boolean(freeRoundsOptions?.engaged && freeRoundsOptions.roundsRemaining > 0);
82
114
  // playAmount is in display units everywhere in this SDK (e.g. 1.00),
83
115
  // while the grant stake is in cents, so convert.
@@ -159,14 +191,12 @@ const usePlayController = () => {
159
191
  override_playButtonBackgroundPressed: config.bonusBuyOptions?.override_playButtonBackgroundPressed,
160
192
  },
161
193
  freeRounds: {
162
- isAvailable: isFreeRoundsAvailable,
163
194
  isEngaged: isFreeRoundsEngaged,
164
195
  roundsRemaining: freeRoundsOptions?.roundsRemaining ?? 0,
165
196
  totalRounds: freeRoundsOptions?.totalRounds ?? 0,
166
197
  stakeCents: freeRoundsOptions?.stakeCents,
167
198
  coinType: freeRoundsOptions?.coinType,
168
199
  currency: freeRoundsOptions?.currency,
169
- onUseFreeRounds: freeRoundsOptions?.onUseFreeRounds,
170
200
  },
171
201
  };
172
202
  };
@@ -185,10 +215,12 @@ const Button = ({ disabled, roleType, className = "", theme = "primary", ...prop
185
215
  };
186
216
  Button.themes = themes;
187
217
 
188
- var styles_group = {"base":"GroupRow-module__base___b241-","label":"GroupRow-module__label___Du57P","group":"GroupRow-module__group___V7xa6","groupItem":"GroupRow-module__groupItem___yNSX8","x2":"GroupRow-module__x2___9bLae","last":"GroupRow-module__last___ArsSn"};
218
+ var styles_group = {"base":"GroupRow-module__base___b241-","label":"GroupRow-module__label___Du57P","group":"GroupRow-module__group___V7xa6","groupItem":"GroupRow-module__groupItem___yNSX8","x2":"GroupRow-module__x2___9bLae","last":"GroupRow-module__last___ArsSn","isClassicGame":"GroupRow-module__isClassicGame___m9r03"};
189
219
 
190
- const GroupRow = ({ children, label, className, ...restProps }) => {
191
- return (jsxs("div", { ...restProps, className: cx$1(styles_group.base, className), children: [label && jsx("div", { className: styles_group.label, children: label }), jsx("div", { className: styles_group.group, children: children })] }));
220
+ const GroupRow = ({ children, label, className, isClassicGame = false, ...restProps }) => {
221
+ return (jsxs("div", { ...restProps, className: cx$1(styles_group.base, className, {
222
+ [styles_group.isClassicGame]: isClassicGame,
223
+ }), children: [label && jsx("div", { className: styles_group.label, children: label }), jsx("div", { className: styles_group.group, children: children })] }));
192
224
  };
193
225
 
194
226
  var style_select = {"button":"SelectMenu-module__button___N-HeB","menu":"SelectMenu-module__menu___c5jvZ","menuItems":"SelectMenu-module__menuItems___BX1YQ","menuItem":"SelectMenu-module__menuItem___eXbi3","selected":"SelectMenu-module__selected___XyADw","disabled":"SelectMenu-module__disabled___jiTPl"};
@@ -220,6 +252,16 @@ const getIcon = (option) => {
220
252
  const SelectMenu = ({ disabled = false }) => {
221
253
  const { config } = useManualPlayState();
222
254
  const { current, available } = config.currencyOptions;
255
+ // MenuItems portals outside .betForm, so push --play-dropdown-bg onto :root.
256
+ useEffect(() => {
257
+ const hex = config?.classicGame?.dropdown?.bgColorHex ??
258
+ config?.dropdown?.bgColorHex ??
259
+ "#01243A";
260
+ const v = hexToRgb(hex);
261
+ if (v) {
262
+ document.documentElement.style.setProperty("--play-dropdown-bg", v);
263
+ }
264
+ }, [config?.classicGame?.dropdown?.bgColorHex, config?.dropdown?.bgColorHex]);
223
265
  const handleClick = (e) => {
224
266
  if (disabled) {
225
267
  return;
@@ -249,51 +291,52 @@ const SelectMenu = ({ disabled = false }) => {
249
291
  }) })] })) }));
250
292
  };
251
293
 
252
- var styles$2 = {"base":"PlayValueInput-module__base___sTNW2","icon":"PlayValueInput-module__icon___jZj7O","playValueInput":"PlayValueInput-module__playValueInput___7pJtn","playValueInputWithLabel":"PlayValueInput-module__playValueInputWithLabel___S55Cr","label":"PlayValueInput-module__label___1ZSAV","inputContainer":"PlayValueInput-module__inputContainer___RKr1l"};
294
+ var styles$4 = {"base":"PlayValueInput-module__base___sTNW2","icon":"PlayValueInput-module__icon___jZj7O","playValueInput":"PlayValueInput-module__playValueInput___7pJtn","playValueInputWithLabel":"PlayValueInput-module__playValueInputWithLabel___S55Cr","label":"PlayValueInput-module__label___1ZSAV","inputContainer":"PlayValueInput-module__inputContainer___RKr1l","isClassicGame":"PlayValueInput-module__isClassicGame___lQzVE"};
253
295
 
254
- const PlayValueInput = ({ disabled, children, className, value, onClick, }) => {
296
+ const PlayValueInput = ({ disabled, children, className, value, onClick, isClassicGame = false, }) => {
255
297
  const handleOnClick = () => {
256
298
  if (disabled) {
257
299
  return;
258
300
  }
259
301
  onClick();
260
302
  };
261
- return (jsxs("div", { className: cx$1(styles$2.base, className, {
262
- [styles$2.disabled]: disabled,
263
- }), children: [children && jsx("div", { className: cx$1(styles$2.icon), children: children }), jsxs("div", { className: cx$1(styles$2.inputContainer), onClick: (e) => {
303
+ return (jsxs("div", { className: cx$1(styles$4.base, className, {
304
+ [styles$4.disabled]: disabled,
305
+ [styles$4.isClassicGame]: isClassicGame,
306
+ }), children: [children && jsx("div", { className: cx$1(styles$4.icon), children: children }), jsxs("div", { className: cx$1(styles$4.inputContainer), onClick: (e) => {
264
307
  e.preventDefault();
265
308
  handleOnClick();
266
- }, children: [jsx("span", { className: styles$2.label, children: "Play amount" }), jsx("div", { className: cx$1(styles$2.playValueInput, {
267
- [styles$2.playValueInputWithLabel]: true,
309
+ }, children: [jsx("span", { className: styles$4.label, children: "Play amount" }), jsx("div", { className: cx$1(styles$4.playValueInput, {
310
+ [styles$4.playValueInputWithLabel]: true,
268
311
  }), children: value })] })] }));
269
312
  };
270
313
 
271
314
  const PlayAmountControl = ({ isDisabled, lockCurrency = false, }) => {
272
315
  const { config } = useManualPlayState();
273
- const { playAmount, adjustPlayAmount, playValues: { togglePlayAmountView }, } = usePlayController();
316
+ const { playAmount, adjustPlayAmount, playValues: { togglePlayAmountView }, freeRounds, } = usePlayController();
317
+ const isClassicGame = Boolean(config?.isClassicGame || config?.classicGame?.forceLeftStyle);
274
318
  const handleTogglePlayAmount = () => {
275
319
  setToggleGameWidgetsVisibility();
276
320
  togglePlayAmountView();
277
321
  setToggleGameWidgetsExpansion();
278
322
  };
279
- return (jsxs(GroupRow, { children: [jsx(PlayValueInput, { className: styles_group.groupItem, value: `${format(playAmount, config.currencyOptions.current.decimals)} ${config.currencyOptions.current.abbr}`, disabled: isDisabled() || config.playOptions.disabledController || lockCurrency, onClick: handleTogglePlayAmount, children: jsx(SelectMenu, { disabled: isDisabled() || lockCurrency }) }), jsx(Button, { className: styles_group.groupItem, onClick: () => adjustPlayAmount({ direction: -1 }), theme: "ghost", disabled: isDisabled(), children: jsx("span", { className: styles_group.x2, children: "-" }) }), jsx(Button, { className: styles_group.groupItem, onClick: () => adjustPlayAmount({ direction: 1 }), theme: "ghost", disabled: isDisabled(), children: jsx("span", { className: cx$1(styles_group.x2, styles_group.last), children: "+" }) })] }));
280
- };
281
-
282
- var freeRoundsStyles = {"row":"FreeRoundsAffordance-module__row___KwByQ","playSlot":"FreeRoundsAffordance-module__playSlot___hCXTv","freeSlot":"FreeRoundsAffordance-module__freeSlot___-mQ8T","chip":"FreeRoundsAffordance-module__chip___OajJb"};
283
-
284
- // The "Use Free Rounds (N)" chip.
285
- // - available && !engaged renders the chip (engages via onUseFreeRounds).
286
- // It is laid out beside the Play Now button (35/65 row) by
287
- // ManualPlayController; this component only renders the chip itself.
288
- // - engaged renders nothing. There is intentionally NO "exit free rounds"
289
- // affordance: once engaged the player cannot leave free-round mode from the
290
- // controller. The engaged play button label is owned by ManualPlayController.
291
- // Purely renders + fires the callback; the game owns the engaged state.
292
- const FreeRoundsAffordance = ({ isAvailable, isEngaged, roundsRemaining, onUseFreeRounds, }) => {
293
- if (isEngaged || !isAvailable || !onUseFreeRounds) {
294
- return null;
295
- }
296
- return (jsxs("button", { type: "button", className: freeRoundsStyles.chip, onClick: onUseFreeRounds, children: ["USE FREE ROUNDS (", roundsRemaining, ")"] }));
323
+ // While free-round mode is engaged the input is locked to the GRANT's
324
+ // per-round value and coin (which can differ from the active currency).
325
+ const grantCoinLabel = resolveCoinLabel({
326
+ coinType: freeRounds.coinType,
327
+ currency: freeRounds.currency,
328
+ });
329
+ const amountCoinLabel = freeRounds.isEngaged && grantCoinLabel
330
+ ? grantCoinLabel
331
+ : config.currencyOptions.current.abbr;
332
+ const amountDecimals = freeRounds.isEngaged
333
+ ? resolveCoinDecimals({
334
+ coinType: freeRounds.coinType,
335
+ currency: freeRounds.currency,
336
+ fallback: config.currencyOptions.current.decimals,
337
+ })
338
+ : config.currencyOptions.current.decimals;
339
+ return (jsxs(GroupRow, { isClassicGame: isClassicGame, children: [jsx(PlayValueInput, { className: styles_group.groupItem, value: `${format(playAmount, amountDecimals)} ${amountCoinLabel}`, disabled: isDisabled() || config.playOptions.disabledController || lockCurrency, onClick: handleTogglePlayAmount, isClassicGame: isClassicGame, children: jsx(SelectMenu, { disabled: isDisabled() || lockCurrency }) }), jsx(Button, { className: styles_group.groupItem, onClick: () => adjustPlayAmount({ direction: -1 }), theme: "ghost", disabled: isDisabled() || lockCurrency, children: jsx("span", { className: styles_group.x2, children: "-" }) }), jsx(Button, { className: styles_group.groupItem, onClick: () => adjustPlayAmount({ direction: 1 }), theme: "ghost", disabled: isDisabled() || lockCurrency, children: jsx("span", { className: cx$1(styles_group.x2, styles_group.last), children: "+" }) })] }));
297
340
  };
298
341
 
299
342
  const ManualPlayController = () => {
@@ -335,31 +378,65 @@ const ManualPlayController = () => {
335
378
  override_playButtonBackgroundPressed,
336
379
  override_playNowTextColor,
337
380
  ]);
381
+ // While the free-rounds intro modal is open, Space belongs to the modal's
382
+ // PLAY NOW / PLAY LATER buttons. The window listeners below are
383
+ // capture-phase, so they fire before the modal can stopPropagation — bail
384
+ // so Space can't trigger an underlying paid play behind the modal.
385
+ const isIntroModalOpen = Boolean(config.freeRoundsOptions?.showIntroModal);
338
386
  const handleKeyPress = useCallback((event) => {
339
387
  if (event.code !== "Space") {
340
388
  return;
341
389
  }
390
+ if (isIntroModalOpen) {
391
+ return;
392
+ }
342
393
  const button = selectButton(roleButton);
343
394
  if (!button || isDisabled()) {
344
395
  return;
345
396
  }
397
+ // This is a global Space shortcut. If the user has keyboard focus on a
398
+ // different interactive control (the intro/summary modal buttons, etc.),
399
+ // let Space activate THAT control natively instead of hijacking it to
400
+ // click the play button.
401
+ const active = document.activeElement;
402
+ if (active &&
403
+ active !== button &&
404
+ typeof active.matches === "function" &&
405
+ active.matches("button, a, input, select, textarea")) {
406
+ return;
407
+ }
346
408
  event.preventDefault();
347
409
  event.stopPropagation();
348
410
  addPressedClass(roleButton, activeClassName);
349
411
  button.click();
350
- }, [roleButton, isDisabled, activeClassName]);
412
+ }, [roleButton, isDisabled, activeClassName, isIntroModalOpen]);
351
413
  const handleKeyUp = useCallback((event) => {
352
414
  if (event.code !== "Space") {
353
415
  return;
354
416
  }
417
+ // Mirror the keydown exemptions: don't preventDefault/stopPropagation the
418
+ // keyup when the free-rounds intro modal is open or another interactive
419
+ // control (the intro/summary modal buttons) is focused — Space activates
420
+ // buttons on keyup, so swallowing it here would block the focused
421
+ // control's native activation (onPlayNow / onPlayLater / onClose / etc.).
422
+ if (isIntroModalOpen) {
423
+ return;
424
+ }
355
425
  const button = selectButton(roleButton);
356
426
  if (!button) {
357
427
  return;
358
428
  }
429
+ const active = document.activeElement;
430
+ if (active &&
431
+ active !== button &&
432
+ typeof active.matches === "function" &&
433
+ active.matches("button, a, input, select, textarea")) {
434
+ return;
435
+ }
359
436
  event.preventDefault();
360
437
  event.stopPropagation();
361
438
  removePressedClass(roleButton, activeClassName);
362
- }, [roleButton, activeClassName]);
439
+ }, [roleButton, activeClassName, isIntroModalOpen]);
363
440
  useEffect(() => {
364
441
  window.addEventListener("keydown", handleKeyPress, true);
365
442
  window.addEventListener("keyup", handleKeyUp, true);
@@ -376,16 +453,12 @@ const ManualPlayController = () => {
376
453
  }, [togglePlayAmountView]);
377
454
  // Free rounds reuse the same button-text override mechanism as bonusBuy.
378
455
  // The free-round label only applies while free-round mode is ENGAGED, where
379
- // the play button becomes a full-width "PLAY FREE ROUND (N)" — denominator
380
- // removed in 1.3.4 to simplify ("7/10" "7").
456
+ // the play button becomes a full-width "PLAY FREE ROUND" — no count on the
457
+ // button; the remaining count lives only in the footer status line.
381
458
  const freeRoundsPlayText = freeRounds.isEngaged
382
- ? `PLAY FREE ROUND (${freeRounds.roundsRemaining})`
459
+ ? "PLAY FREE ROUND"
383
460
  : undefined;
384
461
  const playNowText = freeRoundsPlayText ?? override_playNowText ?? "PLAY NOW";
385
- // Grants exist but the player hasn't engaged → show the side-by-side row
386
- // (Play Now at 35%, "Use Free Rounds" chip at 65%) instead of a full-width
387
- // play button.
388
- const showFreeRoundsRow = !displayPlayAmountView && freeRounds.isAvailable && !freeRounds.isEngaged;
389
462
  const renderButton = useMemo(() => {
390
463
  if (displayPlayAmountView) {
391
464
  return (jsx(Button, { className: styles_button.buttonPlayAmount, onClick: handleTogglePlayAmount, roleType: roleButton, children: "SELECT PLAY AMOUNT" }));
@@ -403,10 +476,10 @@ const ManualPlayController = () => {
403
476
  playNowButtonStyle,
404
477
  roleButton,
405
478
  ]);
406
- return (jsxs(Fragment, { children: [!config.playOptions.hideMenu && (jsx(PlayAmountControl, { isDisabled: isDisabled || displayPlayAmountView, lockCurrency: freeRounds.isEngaged })), showFreeRoundsRow ? (jsxs("div", { className: freeRoundsStyles.row, children: [jsx("div", { className: freeRoundsStyles.playSlot, children: renderButton }), jsx("div", { className: freeRoundsStyles.freeSlot, children: jsx(FreeRoundsAffordance, { isAvailable: freeRounds.isAvailable, isEngaged: freeRounds.isEngaged, roundsRemaining: freeRounds.roundsRemaining, totalRounds: freeRounds.totalRounds, onUseFreeRounds: freeRounds.onUseFreeRounds }) })] })) : (renderButton)] }));
479
+ return (jsxs(Fragment, { children: [!config.playOptions.hideMenu && (jsx(PlayAmountControl, { isDisabled: isDisabled || displayPlayAmountView, lockCurrency: freeRounds.isEngaged })), renderButton] }));
407
480
  };
408
481
 
409
- var styles_ui = {"base":"UI-module__base___6q08N","container":"UI-module__container___S3Gpa","betForm":"UI-module__betForm___pu-7D","hideMenu":"UI-module__hideMenu___RCMex","disabled":"UI-module__disabled___E2zhE","auto":"UI-module__auto___SVz6b","controllerWidgets":"UI-module__controllerWidgets___rFquu","sideWidget":"UI-module__sideWidget___mTaGO","centerWidget":"UI-module__centerWidget___zWhMN","left":"UI-module__left___VsEJc","center":"UI-module__center___hZwDn","right":"UI-module__right___JJ0-R"};
482
+ var styles_ui = {"base":"UI-module__base___6q08N","container":"UI-module__container___S3Gpa","betForm":"UI-module__betForm___pu-7D","hideMenu":"UI-module__hideMenu___RCMex","isClassicGame":"UI-module__isClassicGame___C-dT4","baseForceLeft":"UI-module__baseForceLeft___2WEa0","containerSpread":"UI-module__containerSpread___Uc7N-","controllerWidgets":"UI-module__controllerWidgets___rFquu","auto":"UI-module__auto___SVz6b","disabled":"UI-module__disabled___E2zhE","sideWidget":"UI-module__sideWidget___mTaGO","centerWidget":"UI-module__centerWidget___zWhMN","left":"UI-module__left___VsEJc","center":"UI-module__center___hZwDn","right":"UI-module__right___JJ0-R"};
410
483
 
411
484
  function getDefaultExportFromCjs (x) {
412
485
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -509,12 +582,13 @@ const WidgetContainer = ({ widgets, displayPlayAmountView, }) => {
509
582
  return (jsxs("div", { className: cx("controllerWidgets"), children: [renderZone(left, "left"), renderZone(center, "center"), renderZone(right, "right")] }));
510
583
  };
511
584
 
512
- var styles$1 = {"base":"PlayValueList-module__base___5duc6","playValuesWrapper":"PlayValueList-module__playValuesWrapper___-zfj2","playValue":"PlayValueList-module__playValue___TJQhI","selectedPlayValue":"PlayValueList-module__selectedPlayValue___3DhDC","disabledPlayValue":"PlayValueList-module__disabledPlayValue___U9Bkj"};
585
+ var styles$3 = {"base":"PlayValueList-module__base___5duc6","playValuesWrapper":"PlayValueList-module__playValuesWrapper___-zfj2","playValue":"PlayValueList-module__playValue___TJQhI","isClassicGame":"PlayValueList-module__isClassicGame___AjnGE","selectedPlayValue":"PlayValueList-module__selectedPlayValue___3DhDC","disabledPlayValue":"PlayValueList-module__disabledPlayValue___U9Bkj"};
513
586
 
514
587
  const PlayValueList = () => {
515
588
  const { config } = useManualPlayState();
516
589
  const { onChangeAmount, playAmount, totalBalance, playValues: { displayPlayAmountView, togglePlayAmountView }, } = usePlayController();
517
590
  const { playLimits } = config.playOptions.playHook();
591
+ const isClassicGame = Boolean(config?.isClassicGame || config?.classicGame?.forceLeftStyle);
518
592
  if (!displayPlayAmountView) {
519
593
  return null;
520
594
  }
@@ -546,40 +620,70 @@ const PlayValueList = () => {
546
620
  applyValue(value);
547
621
  }
548
622
  };
549
- return (jsx("div", { className: cx$1(styles$1.base), children: jsx("div", { className: cx$1(styles$1.playValuesWrapper), onClick: handleClick, role: "listbox", "aria-label": "Select play amount", "data-testid": "play-value-list", children: playLimits?.[config.currencyOptions.current.code].defaultBetOptions.map((playValue) => (jsx("div", { className: cx$1(styles$1.playValue, {
550
- [styles$1.selectedPlayValue]: playValue === playAmount,
551
- [styles$1.disabledPlayValue]: playValue > totalBalance,
623
+ return (jsx("div", { className: cx$1(styles$3.base, { [styles$3.isClassicGame]: isClassicGame }), children: jsx("div", { className: cx$1(styles$3.playValuesWrapper), onClick: handleClick, role: "listbox", "aria-label": "Select play amount", "data-testid": "play-value-list", children: playLimits?.[config.currencyOptions.current.code].defaultBetOptions.map((playValue) => (jsx("div", { className: cx$1(styles$3.playValue, {
624
+ [styles$3.selectedPlayValue]: playValue === playAmount,
625
+ [styles$3.disabledPlayValue]: playValue > totalBalance,
552
626
  }), "data-value": playValue, role: "option", tabIndex: 0, "aria-selected": false, children: format(playValue, config.currencyOptions.current.decimals) }, `${config.currencyOptions.current.code}-${playValue}`))) }) }));
553
627
  };
554
628
 
555
- var styles = {"backdrop":"FreeRoundsIntroModal-module__backdrop___qIgNx","panel":"FreeRoundsIntroModal-module__panel___-zQpe","title":"FreeRoundsIntroModal-module__title___1csj0","details":"FreeRoundsIntroModal-module__details___qXMR-","count":"FreeRoundsIntroModal-module__count___lVep8","stake":"FreeRoundsIntroModal-module__stake___vCcPI","actions":"FreeRoundsIntroModal-module__actions___toCBq","button":"FreeRoundsIntroModal-module__button___bSTmX","playNow":"FreeRoundsIntroModal-module__playNow___iVhdt","playLater":"FreeRoundsIntroModal-module__playLater___l9031"};
629
+ var styles$2 = {"backdrop":"FreeRoundsIntroModal-module__backdrop___qIgNx","content":"FreeRoundsIntroModal-module__content___A3aRs","panel":"FreeRoundsIntroModal-module__panel___-zQpe","title":"FreeRoundsIntroModal-module__title___1csj0","titleLine":"FreeRoundsIntroModal-module__titleLine___rKdpd","accent":"FreeRoundsIntroModal-module__accent___m-2s6","details":"FreeRoundsIntroModal-module__details___qXMR-","actions":"FreeRoundsIntroModal-module__actions___toCBq","button":"FreeRoundsIntroModal-module__button___bSTmX","playNow":"FreeRoundsIntroModal-module__playNow___iVhdt","playLater":"FreeRoundsIntroModal-module__playLater___l9031","expiry":"FreeRoundsIntroModal-module__expiry___n-fve"};
556
630
 
557
- const COIN_TYPE_SWEEPS = 0;
558
- const COIN_TYPE_GOLD = 1;
559
- const resolveCurrencyLabel = ({ coinType, currency, }) => {
560
- if (currency) {
561
- return currency;
631
+ const MS_PER_DAY = 86_400_000;
632
+ const computeExpiresInDays = (expiresAt) => {
633
+ if (expiresAt === undefined || expiresAt === null) {
634
+ return undefined;
562
635
  }
563
- if (coinType === COIN_TYPE_SWEEPS) {
564
- return "SC";
636
+ const timestamp = new Date(expiresAt).getTime();
637
+ if (Number.isNaN(timestamp)) {
638
+ return undefined;
565
639
  }
566
- if (coinType === COIN_TYPE_GOLD) {
567
- return "GC";
640
+ const diff = timestamp - Date.now();
641
+ // Already expired → the expiry line is hidden entirely (never "0 days").
642
+ if (diff <= 0) {
643
+ return undefined;
568
644
  }
569
- return "";
645
+ return Math.ceil(diff / MS_PER_DAY);
570
646
  };
571
- // Centered "Play Now / Play Later" intro modal. Renders + fires callbacks only;
572
- // the SDK does no fetching. `onPlayNow` should engage free-round mode + close,
573
- // `onPlayLater` should close and stay on paid play.
574
- const FreeRoundsIntroModal = ({ open, roundsRemaining, stakeCents, coinType, currency, decimals = 2, onPlayNow, onPlayLater, }) => {
647
+ // Centered "Play Now / Play Later" intro modal the ONLY free-rounds entry
648
+ // point. Renders + fires callbacks only; the SDK does no fetching. `onPlayNow`
649
+ // should engage free-round mode + close, `onPlayLater` should close and hide
650
+ // all free-rounds UI for the rest of the session.
651
+ const FreeRoundsIntroModal = ({ open, roundsRemaining, totalRounds, stakeCents, coinType, currency, decimals = 2, expiresAt, onPlayNow, onPlayLater, }) => {
575
652
  const handleClose = () => onPlayLater?.();
576
- const currencyLabel = resolveCurrencyLabel({ coinType, currency });
577
- const stakeDisplay = format(stakeCents / 100, decimals);
578
- return (jsx(Dialog, { open: open, onClose: handleClose, className: styles.backdrop, children: jsxs(DialogPanel, { className: styles.panel, children: [jsx(DialogTitle, { className: styles.title, children: "You have free rounds!" }), jsx("div", { className: styles.count, children: roundsRemaining }), jsxs("div", { className: styles.details, children: [roundsRemaining === 1 ? "free round" : "free rounds", " ready to play"] }), jsxs("div", { className: styles.stake, children: [stakeDisplay, currencyLabel ? ` ${currencyLabel}` : "", " per round"] }), jsxs("div", { className: styles.actions, children: [jsx("button", { type: "button", className: `${styles.button} ${styles.playNow}`, onClick: onPlayNow, children: "PLAY NOW" }), jsx("button", { type: "button", className: `${styles.button} ${styles.playLater}`, onClick: onPlayLater, children: "PLAY LATER" })] })] }) }));
653
+ const coinLabel = resolveCoinLabel({ coinType, currency });
654
+ const valueDecimals = resolveCoinDecimals({
655
+ coinType,
656
+ currency,
657
+ fallback: decimals,
658
+ });
659
+ const valueDisplay = format(stakeCents / 100, valueDecimals);
660
+ const perRound = coinLabel
661
+ ? `${valueDisplay} ${coinLabel} per round`
662
+ : `${valueDisplay} per round`;
663
+ const expiresInDays = computeExpiresInDays(expiresAt);
664
+ return (jsx(Dialog, { open: open, onClose: handleClose, className: styles$2.backdrop, children: jsxs("div", { className: styles$2.content, children: [jsxs(DialogPanel, { className: styles$2.panel, children: [jsxs(DialogTitle, { className: styles$2.title, children: [jsxs("span", { className: styles$2.titleLine, children: ["YOU HAVE ", jsx("span", { className: styles$2.accent, children: roundsRemaining })] }), jsx("span", { className: styles$2.titleLine, children: roundsRemaining === 1
665
+ ? "FREE ROUND READY TO PLAY"
666
+ : "FREE ROUNDS READY TO PLAY" })] }), jsxs("div", { className: styles$2.details, children: ["(", perRound, ". ", roundsRemaining, "/", totalRounds, " rounds remaining.)"] }), jsxs("div", { className: styles$2.actions, children: [jsx("button", { type: "button", className: `${styles$2.button} ${styles$2.playNow}`, onClick: onPlayNow, children: "PLAY NOW" }), jsx("button", { type: "button", className: `${styles$2.button} ${styles$2.playLater}`, onClick: onPlayLater, children: "PLAY LATER" })] })] }), expiresInDays !== undefined && (jsxs("div", { className: styles$2.expiry, children: ["*Expires in ", expiresInDays, " ", expiresInDays === 1 ? "day" : "days"] }))] }) }));
667
+ };
668
+
669
+ var styles$1 = {"footer":"FreeRoundsFooter-module__footer___Lveik","count":"FreeRoundsFooter-module__count___hTxq-"};
670
+
671
+ // "{N} FREE ROUNDS LEFT" status line — the ONLY place the remaining count
672
+ // appears while free-round mode is engaged. Rendered between the action
673
+ // buttons and the balance/widgets line by ManualPlayProvider.
674
+ const FreeRoundsFooter = () => {
675
+ const { freeRounds } = usePlayController();
676
+ if (!freeRounds.isEngaged) {
677
+ return null;
678
+ }
679
+ const label = freeRounds.roundsRemaining === 1 ? "FREE ROUND LEFT" : "FREE ROUNDS LEFT";
680
+ return (jsxs("div", { className: styles$1.footer, children: [jsx("span", { className: styles$1.count, children: freeRounds.roundsRemaining }), "\u00A0", label] }));
579
681
  };
580
682
 
581
683
  const ManualPlayProvider = ({ children, config, }) => {
582
684
  const [displayPlayAmountView, setDisplayPlayAmountView] = useState(false);
685
+ // Left-rail layout spreads content vertically in the 100dvh rail.
686
+ const isClassicGame = Boolean(config?.isClassicGame || config?.classicGame?.forceLeftStyle);
583
687
  const togglePlayAmountView = useCallback(() => {
584
688
  setDisplayPlayAmountView((v) => !v);
585
689
  }, []);
@@ -598,19 +702,44 @@ const ManualPlayProvider = ({ children, config, }) => {
598
702
  const freeRoundsOptions = config.freeRoundsOptions;
599
703
  return (jsxs(ManualPlayStateContext.Provider, { value: contextValue, children: [typeof children === "function" ? children(contextValue) : children, freeRoundsOptions?.showIntroModal && (jsx("div", { style: {
600
704
  "--play-panel-bg": hexToRgb(config.panel.bgColorHex ?? "#01243A"),
601
- }, children: jsx(FreeRoundsIntroModal, { open: freeRoundsOptions.showIntroModal, roundsRemaining: freeRoundsOptions.roundsRemaining, totalRounds: freeRoundsOptions.totalRounds, stakeCents: freeRoundsOptions.stakeCents, coinType: freeRoundsOptions.coinType, currency: freeRoundsOptions.currency, decimals: config.currencyOptions.current.decimals, onPlayNow: freeRoundsOptions.onPlayNow, onPlayLater: freeRoundsOptions.onPlayLater }) })), config.playOptions.displayController && (jsx("div", { className: cx$1(styles_ui.base, styles_ui.betForm, {
705
+ }, children: jsx(FreeRoundsIntroModal, { open: freeRoundsOptions.showIntroModal, roundsRemaining: freeRoundsOptions.roundsRemaining, totalRounds: freeRoundsOptions.totalRounds, stakeCents: freeRoundsOptions.stakeCents, coinType: freeRoundsOptions.coinType, currency: freeRoundsOptions.currency, decimals: config.currencyOptions.current.decimals, expiresAt: freeRoundsOptions.expiresAt, onPlayNow: freeRoundsOptions.onPlayNow, onPlayLater: freeRoundsOptions.onPlayLater }) })), config.playOptions.displayController && (jsx("div", { className: cx$1(styles_ui.base, styles_ui.betForm, {
602
706
  [styles_ui.hideMenu]: config.playOptions.hideMenu,
707
+ // Raw isClassicGame: forceLeftStyle uses .baseForceLeft on its own.
708
+ [styles_ui.isClassicGame]: config.isClassicGame,
709
+ [styles_ui.baseForceLeft]: config.classicGame?.forceLeftStyle,
603
710
  }), style: {
604
711
  "--play-bottom": config.panel.bottom ?? 0,
605
712
  "--play-panel-bg": hexToRgb(config.panel.bgColorHex ?? "#01243A"),
606
713
  "--play-dropdown-bg": hexToRgb(config.dropdown.bgColorHex ?? "#01243A"),
607
714
  "--play-panel-bg-opacity": config.panel.bgColorOpacity ?? 0.5,
608
- }, children: jsxs("div", { className: cx$1(styles_ui.container), children: [jsx(PlayValueList, {}), jsx(ManualPlayController, {}), jsx(WidgetContainer, { widgets: {
715
+ }, children: jsxs("div", { className: cx$1(styles_ui.container, {
716
+ [styles_ui.containerSpread]: isClassicGame,
717
+ }), children: [jsx(PlayValueList, {}), jsx(ManualPlayController, {}), jsx(FreeRoundsFooter, {}), jsx(WidgetContainer, { widgets: {
609
718
  left: config.leftWidgets,
610
719
  center: config.centerWidgets,
611
720
  right: config.rightWidgets,
612
721
  }, displayPlayAmountView: displayPlayAmountView })] }) }))] }));
613
722
  };
614
723
 
615
- export { FreeRoundsIntroModal, GAME_MODE, ManualPlayProvider, WIDGET, format };
724
+ var styles = {"backdrop":"FreeRoundsSummaryModal-module__backdrop___tNi3I","panel":"FreeRoundsSummaryModal-module__panel___2MIEp","title":"FreeRoundsSummaryModal-module__title___lxbPh","accent":"FreeRoundsSummaryModal-module__accent___z9aBF","hint":"FreeRoundsSummaryModal-module__hint___CYWqA","closeButton":"FreeRoundsSummaryModal-module__closeButton___aRosq"};
725
+
726
+ // SC/SWEEPS = 2 dp, GC/GOLD = 0 dp, B2B currency string = 2 dp.
727
+ const resolveSummaryDecimals = (coin) => {
728
+ const normalized = coin.toUpperCase();
729
+ if (normalized === "GC" || normalized === "GOLD") {
730
+ return 0;
731
+ }
732
+ return 2;
733
+ };
734
+ // END pop-up shown by the game after the last free round settles:
735
+ // "YOU WON {X} {coin} IN {N} FREE ROUNDS" + bonus-balance hint + CLOSE.
736
+ // Mount it conditionally — it renders open and fires `onClose` to dismiss.
737
+ const FreeRoundsSummaryModal = ({ totalWinAmount, coin, roundsPlayed, decimals, onClose, }) => {
738
+ // Shared monetary formatter — truncates (never rounds up) so the summary
739
+ // can't display more winnings than were actually credited.
740
+ const winDisplay = format(totalWinAmount, decimals ?? resolveSummaryDecimals(coin));
741
+ return (jsx(Dialog, { open: true, onClose: onClose, className: styles.backdrop, children: jsxs(DialogPanel, { className: styles.panel, children: [jsxs(DialogTitle, { className: styles.title, children: ["YOU WON", " ", jsxs("span", { className: styles.accent, children: [winDisplay, " ", coin] }), " ", "IN ", roundsPlayed, " ", roundsPlayed === 1 ? "FREE ROUND" : "FREE ROUNDS"] }), jsx("div", { className: styles.hint, children: "Winnings have been credited to your bonus balance." }), jsx("button", { type: "button", className: styles.closeButton, onClick: onClose, children: "CLOSE" })] }) }));
742
+ };
743
+
744
+ export { FreeRoundsIntroModal, FreeRoundsSummaryModal, GAME_MODE, ManualPlayProvider, WIDGET, format };
616
745
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/components/utils.ts","../src/types/gameMode.ts","../src/types/widgets.ts","../src/components/ManualPlayStateProvider/ManualPlayStateContext.tsx","../src/components/hooks/usePlayController.ts","../src/components/base/Button/Button.tsx","../src/components/base/GroupRow/GroupRow.tsx","../src/components/base/ChevronIcon/ChevronIcon.tsx","../src/components/base/SelectMenu/GoldIcon.tsx","../src/components/base/SelectMenu/SweepsIcon.tsx","../src/components/base/SelectMenu/config.tsx","../src/components/base/SelectMenu/SelectMenu.tsx","../src/components/base/PlayValueInput/PlayValueInput.tsx","../src/components/base/PlayController/PlayController.tsx","../src/components/base/FreeRoundsAffordance/FreeRoundsAffordance.tsx","../src/components/base/ManualPlayController/ManualPlayController.tsx","../node_modules/classnames/bind.js","../src/components/Widgets/WidgetContainer.tsx","../src/components/base/PlayValueList/PlayValueList.tsx","../src/components/base/FreeRoundsIntroModal/FreeRoundsIntroModal.tsx","../src/components/ManualPlayStateProvider/ManualPlayProvider.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue.call(this, arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn this && this[arg] || arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(this, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, this && this[key] || key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n",null,null,null,null],"names":["_jsx","cx","styles","_jsxs","PlayValue"],"mappings":";;;;;;AAEO,MAAM,QAAQ,GAAG,CAAC,GAAW,KAAI;IACtC,MAAM,cAAc,GAAG,kCAAkC;AACzD,IAAA,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxE,MAAM,MAAM,GAAG,2CAA2C,CAAC,IAAI,CAAC,GAAG,CAAC;AACpE,IAAA,OAAO;AACL,UAAE,CAAA,EAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,EAAA,EAAK,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,QAAQ,CACjE,MAAM,CAAC,CAAC,CAAC,EACT,EAAE,CACH,CAAA;UACD,IAAI;AACV,CAAC;AAEM,MAAM,YAAY,GAAG,CAAC,QAAmB,KAAI;AAClD,IAAA,MAAM,IAAI,GAAG,CAAA,KAAA,EAAQ,QAAQ,SAAS;IACtC,MAAM,OAAO,GAAG,QAAQ,CAAC,gBAAgB,CACvC,CAAA,YAAA,EAAe,IAAI,CAAA,EAAA,CAAI,CACxB;AACD,IAAA,OAAO,OAAO,CAAC,CAAC,CAAC;AACnB,CAAC;AAEM,MAAM,eAAe,GAAG,CAC7B,QAAmB,EACnB,eAAuB,KACrB;AACF,IAAA,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC;IAErC,IAAI,CAAC,MAAM,EAAE;QACX;IACF;IACA,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC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M,IAAI,CAAC;oBACzC,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,CAAC;oBACjE,oBAAoB,EAAE,QAAQ,CAC5B,MAAM,CAAC,QAAQ,CAAC,UAAU,IAAI,SAAS,CACxC;AACD,oBAAA,yBAAyB,EAAE,MAAM,CAAC,KAAK,CAAC,cAAc,IAAI,GAAG;iBACvC,EAAA,QAAA,EAG1BE,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEF,IAAE,CAAC,SAAS,CAAC,SAAS,CAAC,EAAA,QAAA,EAAA,CACrCD,GAAA,CAAC,aAAa,EAAA,EAAA,CAAG,EACjBA,IAAC,oBAAoB,EAAA,EAAA,CAAG,EACxBA,GAAA,CAAC,eAAe,EAAA,EACd,OAAO,EAAE;gCACP,IAAI,EAAE,MAAM,CAAC,WAAW;gCACxB,MAAM,EAAE,MAAM,CAAC,aAAa;gCAC5B,KAAK,EAAE,MAAM,CAAC,YAAY;6BAC3B,EACD,qBAAqB,EAAE,qBAAqB,EAAA,CAC5C,IACE,EAAA,CACF,CACP,CAAA,EAAA,CAC+B;AAEtC;;;;","x_google_ignoreList":[16]}
1
+ {"version":3,"file":"index.mjs","sources":["../src/components/utils.ts","../src/types/gameMode.ts","../src/types/widgets.ts","../src/components/ManualPlayStateProvider/ManualPlayStateContext.tsx","../src/components/hooks/usePlayController.ts","../src/components/base/Button/Button.tsx","../src/components/base/GroupRow/GroupRow.tsx","../src/components/base/ChevronIcon/ChevronIcon.tsx","../src/components/base/SelectMenu/GoldIcon.tsx","../src/components/base/SelectMenu/SweepsIcon.tsx","../src/components/base/SelectMenu/config.tsx","../src/components/base/SelectMenu/SelectMenu.tsx","../src/components/base/PlayValueInput/PlayValueInput.tsx","../src/components/base/PlayController/PlayController.tsx","../src/components/base/ManualPlayController/ManualPlayController.tsx","../node_modules/classnames/bind.js","../src/components/Widgets/WidgetContainer.tsx","../src/components/base/PlayValueList/PlayValueList.tsx","../src/components/base/FreeRoundsIntroModal/FreeRoundsIntroModal.tsx","../src/components/base/FreeRoundsFooter/FreeRoundsFooter.tsx","../src/components/ManualPlayStateProvider/ManualPlayProvider.tsx","../src/components/base/FreeRoundsSummaryModal/FreeRoundsSummaryModal.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue.call(this, arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn this && this[arg] || arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(this, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, this && this[key] || key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n",null,null,null,null,null,null],"names":["_jsx","cx","styles","_jsxs","PlayValue","_Fragment"],"mappings":";;;;;;AAEO,MAAM,QAAQ,GAAG,CAAC,GAAW,KAAI;IACtC,MAAM,cAAc,GAAG,kCAAkC;AACzD,IAAA,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACxE,MAAM,MAAM,GAAG,2CAA2C,CAAC,IAAI,CAAC,GAAG,CAAC;AACpE,IAAA,OAAO;AACL,UAAE,CAAA,EAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,EAAA,EAAK,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,QAAQ,CACjE,MAAM,CAAC,CAAC,CAAC,EACT,EAAE,CACH,CAAA;UACD,IAAI;AACV,CAAC;AAEM,MAAM,YAAY,GAAG,CAAC,QAAmB,KAAI;AAClD,IAAA,MAAM,IAAI,GAAG,CAAA,KAAA,EAAQ,QAAQ,SAAS;IACtC,MAAM,OAAO,GAAG,QAAQ,CAAC,gBAAgB,CACvC,CAAA,YAAA,EAAe,IAAI,CAAA,EAAA,CAAI,CACxB;AACD,IAAA,OAAO,OAAO,CAAC,CAAC,CAAC;AACnB,CAAC;AAEM,MAAM,eAAe,GAAG,CAC7B,QAAmB,EACnB,eAAuB,KACrB;AACF,IAAA,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC;IAErC,IAAI,CAAC,MAAM,EAAE;QACX;IACF;IACA,IAAI,CAAC,MAAM,CAAC,SA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AI,EAAC,QAAQ,EAAC,SAAS,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,sBAE5D,CAAA,EAAA,CACG,EAAA,CACP;AAEb;;;;","x_google_ignoreList":[15]}
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .Button-module__base___muNxk{background:transparent;border:0;cursor:pointer;font-weight:700;margin:0;outline:none;text-transform:uppercase;user-select:none}.Button-module__base__theme-ghost___I5-LJ{align-items:center;backdrop-filter:blur(10px);border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;height:100%;width:45px}.Button-module__base__theme-ghost___I5-LJ:active,.Button-module__base__theme-ghost___I5-LJ:focus,.Button-module__base__theme-ghost___I5-LJ:hover{background:rgba(var(--bg-color-rgb),.05)}.Button-module__base__theme-primary___Zuswb{align-items:center;border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;height:39px;justify-content:center;letter-spacing:.8px;line-height:125%;margin-top:7px;width:100%}.Button-module__base__state-disabled___EU5tH{color:rgba(var(--text-color-hex),.5)!important;pointer-events:none}.Button-module__buttonCashout___LG-Yr,.Button-module__buttonPlayAmount___GMy3F{background:linear-gradient(357deg,#7f44c3 22.01%,#9f5eeb 97.97%)}.Button-module__buttonCashout___LG-Yr:active,.Button-module__buttonCashout__active___qnE3h,.Button-module__buttonPlayAmount___GMy3F:active,.Button-module__buttonPlayAmount__active___e0nGe{background:#592f9d}.Button-module__buttonSweeps___0snDQ{background:var(--play-button-bg,linear-gradient(357deg,#10be68 23.9%,#29cf7d 97.97%));color:var(--play-button-text-color,rgba(var(--text-color-hex),1))}.Button-module__buttonSweeps___0snDQ:active,.Button-module__buttonSweeps__active___PXIFH{background:var(--play-button-bg-pressed,#008c47)}.Button-module__buttonGold___DAj-d{background:var(--play-button-bg,linear-gradient(357deg,#bf9e21 22.01%,#f0c72c 97.97%));color:var(--play-button-text-color,rgba(var(--text-color-hex),1))}.Button-module__buttonGold___DAj-d:active,.Button-module__buttonGold__active___vsi7m{background:var(--play-button-bg-pressed,#9a7c04)}.Button-module__buttonDefault___QENXy{background:var(--play-button-bg,linear-gradient(357deg,#10be68 23.9%,#29cf7d 97.97%));color:var(--play-button-text-color,rgba(var(--text-color-hex),1))}.Button-module__buttonDefault___QENXy:active,.Button-module__buttonDefault__active___oS6gd{background:var(--play-button-bg-pressed,#008c47)}.GroupRow-module__base___b241-{display:flex;width:100%}.GroupRow-module__label___Du57P{color:hsla(0,6%,41%,.6);font-size:12px;font-style:Inter;font-weight:700;letter-spacing:.02em;line-height:18px;margin-bottom:6px}.GroupRow-module__group___V7xa6{display:flex;gap:4px;margin-top:8px;width:100%}.GroupRow-module__group___V7xa6 .GroupRow-module__groupItem___yNSX8{border-radius:0;box-sizing:border-box}.GroupRow-module__group___V7xa6 .GroupRow-module__groupItem___yNSX8:last-child{border-bottom-right-radius:10px;border-top-right-radius:10px}.GroupRow-module__group___V7xa6 .GroupRow-module__groupItem___yNSX8:first-child{align-items:center;border-bottom-left-radius:10px;border-top-left-radius:10px;display:flex;gap:8px;justify-content:flex-start;padding-left:12px;width:calc(100% - 98px)}.GroupRow-module__x2___9bLae{align-items:center;background:hsla(0,0%,100%,.15);cursor:pointer;display:block;display:flex;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;height:35px;justify-content:center;width:45px}.GroupRow-module__x2___9bLae.GroupRow-module__last___ArsSn{border-bottom-right-radius:10px;border-top-right-radius:10px}.SelectMenu-module__button___N-HeB{align-items:center;display:flex;height:31px;justify-content:space-between;transition:all .7s;width:31px}.SelectMenu-module__menu___c5jvZ{cursor:pointer;width:auto}.SelectMenu-module__menuItems___BX1YQ{background-color:rgba(var(--play-dropdown-bg),1);border-radius:6px;cursor:pointer;overflow-y:auto;padding:4px 0;width:100%;width:110px}.SelectMenu-module__menuItem___eXbi3{align-items:center;background-color:rgba(var(--play-dropdown-bg),1);color:rgba(var(--text-color-hex),1);display:flex;font-size:12px;font-weight:600;gap:6px;padding:2px 12px}.SelectMenu-module__menuItem___eXbi3:hover{background:rgba(var(--bg-color-rgb),.16);color:rgba(var(--text-color-hex),1)}.SelectMenu-module__selected___XyADw{position:relative}.SelectMenu-module__selected___XyADw:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' d='M20.53 6.47a.75.75 0 0 1 0 1.06l-10 10a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 1 1 1.06-1.06L10 15.94l9.47-9.47a.75.75 0 0 1 1.06 0Z' clip-rule='evenodd' fill='%23FFF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:"";height:16px;position:absolute;right:10px;top:50%;transform:translateY(-50%);width:16px}.SelectMenu-module__disabledSVG___OdVFW,.SelectMenu-module__disabled___jiTPl{cursor:not-allowed}.SelectMenu-module__disabled___jiTPl svg{opacity:.1}.ChevronIcon-module__chevron___lif8s{stroke:rgba(var(--text-color-hex),1);height:14px;transform-origin:center;transition:transform .3s ease;width:14px}.ChevronIcon-module__open___niD1n{transform:rotate(-180deg)}.ChevronIcon-module__disable___8n-xg{stroke:rgba(var(--text-color-hex),.1)}.PlayValueInput-module__base___sTNW2{background:hsla(0,0%,100%,.15);border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;height:35px;padding:4px 0;position:relative;width:100%;z-index:1}.PlayValueInput-module__icon___jZj7O{display:block;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;left:11px}.PlayValueInput-module__label___1ZSAV,.PlayValueInput-module__playValueInputWithLabel___S55Cr,.PlayValueInput-module__playValueInput___7pJtn{background:transparent;color:rgba(var(--text-color-hex),1);cursor:pointer;font-family:Inter;font-size:10px;letter-spacing:.6px;padding:0;text-align:left;width:100%}.PlayValueInput-module__inputContainer___RKr1l{cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;width:100%}.PlayValueInput-module__label___1ZSAV{font-size:10px;letter-spacing:.5px;line-height:125%}.PlayValueInput-module__playValueWithLabel___K4-pr{padding-top:15px;user-select:none;z-index:1}.FreeRoundsAffordance-module__affordance___wBGcv{align-items:center;display:flex;justify-content:center;margin-top:8px;width:100%}.FreeRoundsAffordance-module__row___KwByQ{align-items:stretch;display:flex;gap:8px;margin-top:7px;width:100%}.FreeRoundsAffordance-module__playSlot___hCXTv{display:flex;flex:0 0 35%;width:35%}.FreeRoundsAffordance-module__playSlot___hCXTv>*{margin-top:0;width:100%}.FreeRoundsAffordance-module__freeSlot___-mQ8T{display:flex;flex:1 1 65%;width:65%}.FreeRoundsAffordance-module__chip___OajJb{align-items:center;background:linear-gradient(357deg,#7f44c3 22.01%,#9f5eeb 97.97%);border:none;border-radius:10px;color:#fff;cursor:pointer;display:inline-flex;font-family:Inter,sans-serif;font-size:13px;font-weight:700;gap:6px;height:39px;justify-content:center;padding:8px 14px;transition:background .15s ease-in-out;width:100%}.FreeRoundsAffordance-module__chip___OajJb:hover{background:linear-gradient(357deg,#8b4ed1 22.01%,#ab6bf5 97.97%)}.FreeRoundsAffordance-module__chip___OajJb:active{background:#592f9d}.UI-module__base___6q08N{align-items:center;border-radius:15px;display:flex;flex-direction:column;justify-content:center;position:relative}.UI-module__container___S3Gpa{max-width:342px;width:100%}.UI-module__betForm___pu-7D{background-color:rgba(var(--play-panel-bg),var(--play-panel-bg-opacity));border-radius:0;bottom:var(--play-bottom);display:flex;flex-direction:column;height:auto;left:50%;padding:12px 16px;position:absolute;transform:translateX(-50%);width:100%}.UI-module__hideMenu___RCMex{padding-bottom:5px;padding-top:6px}@media (min-width:700px){.UI-module__betForm___pu-7D{border-radius:15px;max-width:374px;width:100%}}.UI-module__disabled___E2zhE{opacity:.1}.UI-module__auto___SVz6b{align-items:center;background:hsla(0,0%,100%,.15);border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;font-family:Inter;font-size:15px;font-weight:700;height:35px;justify-content:center;padding:0 12px;position:relative;width:100%}.UI-module__controllerWidgets___rFquu{align-items:center;display:flex;height:38px;justify-content:space-between;margin-top:5px;width:100%}.UI-module__controllerWidgets___rFquu .UI-module__centerWidget___zWhMN,.UI-module__controllerWidgets___rFquu .UI-module__sideWidget___mTaGO{color:#fff;display:flex;font-family:Inter,sans-serif;font-size:10px!important;font-style:normal;font-weight:700;gap:8px;line-height:125%;text-align:center;width:20%}.UI-module__controllerWidgets___rFquu .UI-module__centerWidget___zWhMN{width:60%}.UI-module__controllerWidgets___rFquu .UI-module__left___VsEJc{justify-content:flex-start}.UI-module__controllerWidgets___rFquu .UI-module__center___hZwDn{justify-content:center}.UI-module__controllerWidgets___rFquu .UI-module__right___JJ0-R{justify-content:flex-end}.Input-module__base___IifiA{border:none;color:rgba(var(--text-color-hex),1);outline:none;padding:10px 12px;text-align:right;user-select:none!important;width:100%}.Input-module__disabled___WqyKa{color:rgba(var(--text-color-hex),.1)!important;cursor:pointer;pointer-events:none}.PlayValueList-module__base___5duc6{align-items:center;backdrop-filter:blur(10px);background:hsla(0,0%,100%,.15);border-radius:10px;display:flex;flex-shrink:0;height:385px;justify-content:center;margin-bottom:5px;max-width:342px;width:100%}.PlayValueList-module__playValuesWrapper___-zfj2{align-content:flex-start;align-items:flex-start;display:flex;flex-shrink:0;flex-wrap:wrap;gap:7px;height:351px;max-width:326px;transition:all .2s;width:100%}.PlayValueList-module__playValue___TJQhI{align-items:center;backdrop-filter:blur(10px);background:hsla(0,0%,100%,.15);border-radius:50px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-family:Inter;font-size:16px;font-style:normal;gap:10px;height:45px;justify-content:center;letter-spacing:.8px;line-height:125%;padding:12px 21px;text-align:center;text-transform:uppercase;width:104px}@media (max-width:375px){.PlayValueList-module__playValuesWrapper___-zfj2{padding-left:7px}.PlayValueList-module__playValue___TJQhI{width:calc(33.33% - 7px)}}.PlayValueList-module__selectedPlayValue___3DhDC{background:#07172d;transition:all .2s}.PlayValueList-module__disabledPlayValue___U9Bkj{background:#07172d;opacity:.25;transition:all .2s}*,html{--bet-bottom:0px;--bet-panel-bg:8,30,100;--play-dropdown-bg:16,36,63;--bg-color-rgb:255,255,255;--text-color-hex:255,255,255;cursor:default;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FreeRoundsIntroModal-module__backdrop___qIgNx{align-items:center;background:#0c0833;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1000}.FreeRoundsIntroModal-module__panel___-zQpe{align-items:center;background-color:rgba(var(--play-panel-bg,var(--bet-panel-bg)),.98);border-radius:15px;color:#fff;display:flex;flex-direction:column;font-family:Inter,sans-serif;gap:12px;max-width:342px;padding:20px;text-align:center;width:100%}@media (min-width:700px){.FreeRoundsIntroModal-module__panel___-zQpe{max-width:374px}}.FreeRoundsIntroModal-module__title___1csj0{font-size:18px;font-weight:700;line-height:125%}.FreeRoundsIntroModal-module__details___qXMR-{font-size:14px;font-weight:600;line-height:150%;opacity:.9}.FreeRoundsIntroModal-module__count___lVep8{font-size:28px;font-weight:800;line-height:110%}.FreeRoundsIntroModal-module__stake___vCcPI{font-size:13px;font-weight:600;opacity:.85}.FreeRoundsIntroModal-module__actions___toCBq{display:flex;flex-direction:column;gap:8px;margin-top:8px;width:100%}.FreeRoundsIntroModal-module__button___bSTmX{border:none;border-radius:10px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:15px;font-weight:700;height:40px;width:100%}.FreeRoundsIntroModal-module__playNow___iVhdt{background:linear-gradient(357deg,#7f44c3 22.01%,#9f5eeb 97.97%)}.FreeRoundsIntroModal-module__playNow___iVhdt:hover{background:linear-gradient(357deg,#8b4ed1 22.01%,#ab6bf5 97.97%)}.FreeRoundsIntroModal-module__playNow___iVhdt:active{background:#592f9d}.FreeRoundsIntroModal-module__playLater___l9031{background:hsla(0,0%,100%,.15)}.FreeRoundsIntroModal-module__playLater___l9031:hover{background:hsla(0,0%,100%,.25)}
1
+ .Button-module__base___muNxk{background:transparent;border:0;cursor:pointer;font-weight:700;margin:0;outline:none;text-transform:uppercase;user-select:none}.Button-module__base__theme-ghost___I5-LJ{align-items:center;backdrop-filter:blur(10px);border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;height:100%;width:45px}.Button-module__base__theme-ghost___I5-LJ:active,.Button-module__base__theme-ghost___I5-LJ:focus,.Button-module__base__theme-ghost___I5-LJ:hover{background:rgba(var(--bg-color-rgb),.05)}.Button-module__base__theme-primary___Zuswb{align-items:center;border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;height:39px;justify-content:center;letter-spacing:.8px;line-height:125%;margin-top:7px;width:100%}.Button-module__base__state-disabled___EU5tH{color:rgba(var(--text-color-hex),.5)!important;pointer-events:none}.Button-module__buttonCashout___LG-Yr,.Button-module__buttonPlayAmount___GMy3F{background:linear-gradient(357deg,#7f44c3 22.01%,#9f5eeb 97.97%)}.Button-module__buttonCashout___LG-Yr:active,.Button-module__buttonCashout__active___qnE3h,.Button-module__buttonPlayAmount___GMy3F:active,.Button-module__buttonPlayAmount__active___e0nGe{background:#592f9d}.Button-module__buttonSweeps___0snDQ{background:var(--play-button-bg,linear-gradient(357deg,#10be68 23.9%,#29cf7d 97.97%));color:var(--play-button-text-color,rgba(var(--text-color-hex),1))}.Button-module__buttonSweeps___0snDQ:active,.Button-module__buttonSweeps__active___PXIFH{background:var(--play-button-bg-pressed,#008c47)}.Button-module__buttonGold___DAj-d{background:var(--play-button-bg,linear-gradient(357deg,#bf9e21 22.01%,#f0c72c 97.97%));color:var(--play-button-text-color,rgba(var(--text-color-hex),1))}.Button-module__buttonGold___DAj-d:active,.Button-module__buttonGold__active___vsi7m{background:var(--play-button-bg-pressed,#9a7c04)}.Button-module__buttonDefault___QENXy{background:var(--play-button-bg,linear-gradient(357deg,#10be68 23.9%,#29cf7d 97.97%));color:var(--play-button-text-color,rgba(var(--text-color-hex),1))}.Button-module__buttonDefault___QENXy:active,.Button-module__buttonDefault__active___oS6gd{background:var(--play-button-bg-pressed,#008c47)}.GroupRow-module__base___b241-{display:flex;width:100%}.GroupRow-module__label___Du57P{color:hsla(0,6%,41%,.6);font-size:12px;font-style:Inter;font-weight:700;letter-spacing:.02em;line-height:18px;margin-bottom:6px}.GroupRow-module__group___V7xa6{display:flex;gap:4px;margin-top:8px;width:100%}.GroupRow-module__group___V7xa6 .GroupRow-module__groupItem___yNSX8{border-radius:0;box-sizing:border-box}.GroupRow-module__group___V7xa6 .GroupRow-module__groupItem___yNSX8:last-child{border-bottom-right-radius:10px;border-top-right-radius:10px}.GroupRow-module__group___V7xa6 .GroupRow-module__groupItem___yNSX8:first-child{align-items:center;border-bottom-left-radius:10px;border-top-left-radius:10px;display:flex;gap:8px;justify-content:flex-start;padding-left:12px;width:calc(100% - 98px)}.GroupRow-module__x2___9bLae{align-items:center;background:hsla(0,0%,100%,.15);cursor:pointer;display:block;display:flex;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;height:35px;justify-content:center;width:45px}.GroupRow-module__x2___9bLae.GroupRow-module__last___ArsSn{border-bottom-right-radius:10px;border-top-right-radius:10px}.GroupRow-module__isClassicGame___m9r03 .GroupRow-module__x2___9bLae{background:#361791}.SelectMenu-module__button___N-HeB{align-items:center;display:flex;height:31px;justify-content:space-between;transition:all .7s;width:31px}.SelectMenu-module__menu___c5jvZ{cursor:pointer;width:auto}.SelectMenu-module__menuItems___BX1YQ{background-color:rgba(var(--play-dropdown-bg),1);border-radius:6px;cursor:pointer;overflow-y:auto;padding:4px 0;width:100%;width:110px}.SelectMenu-module__menuItem___eXbi3{align-items:center;background-color:rgba(var(--play-dropdown-bg),1);color:rgba(var(--text-color-hex),1);display:flex;font-size:12px;font-weight:600;gap:6px;padding:2px 12px}.SelectMenu-module__menuItem___eXbi3:hover{background:rgba(var(--bg-color-rgb),.16);color:rgba(var(--text-color-hex),1)}.SelectMenu-module__selected___XyADw{position:relative}.SelectMenu-module__selected___XyADw:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' d='M20.53 6.47a.75.75 0 0 1 0 1.06l-10 10a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 1 1 1.06-1.06L10 15.94l9.47-9.47a.75.75 0 0 1 1.06 0Z' clip-rule='evenodd' fill='%23FFF'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:"";height:16px;position:absolute;right:10px;top:50%;transform:translateY(-50%);width:16px}.SelectMenu-module__disabledSVG___OdVFW,.SelectMenu-module__disabled___jiTPl{cursor:not-allowed}.SelectMenu-module__disabled___jiTPl svg{opacity:.1}.ChevronIcon-module__chevron___lif8s{stroke:rgba(var(--text-color-hex),1);height:14px;transform-origin:center;transition:transform .3s ease;width:14px}.ChevronIcon-module__open___niD1n{transform:rotate(-180deg)}.ChevronIcon-module__disable___8n-xg{stroke:rgba(var(--text-color-hex),.1)}.PlayValueInput-module__base___sTNW2{background:hsla(0,0%,100%,.15);border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;height:35px;padding:4px 0;position:relative;width:100%;z-index:1}.PlayValueInput-module__icon___jZj7O{display:block;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;left:11px}.PlayValueInput-module__label___1ZSAV,.PlayValueInput-module__playValueInputWithLabel___S55Cr,.PlayValueInput-module__playValueInput___7pJtn{background:transparent;color:rgba(var(--text-color-hex),1);cursor:pointer;font-family:Inter;font-size:10px;letter-spacing:.6px;padding:0;text-align:left;width:100%}.PlayValueInput-module__inputContainer___RKr1l{cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;width:100%}.PlayValueInput-module__label___1ZSAV{font-size:10px;letter-spacing:.5px;line-height:125%}.PlayValueInput-module__playValueWithLabel___K4-pr{padding-top:15px;user-select:none;z-index:1}.PlayValueInput-module__base___sTNW2.PlayValueInput-module__isClassicGame___lQzVE{background:#361791}.UI-module__base___6q08N{align-items:center;border-radius:15px;display:flex;flex-direction:column;justify-content:center;position:relative}.UI-module__container___S3Gpa{max-width:342px;width:100%}.UI-module__betForm___pu-7D{background-color:rgba(var(--play-panel-bg),var(--play-panel-bg-opacity));border-radius:0;bottom:var(--play-bottom);display:flex;flex-direction:column;height:auto;left:50%;padding:12px 16px;position:absolute;transform:translateX(-50%);width:100%}.UI-module__hideMenu___RCMex{padding-bottom:5px;padding-top:6px}@media (min-width:700px){.UI-module__betForm___pu-7D:not(.UI-module__isClassicGame___C-dT4):not(.UI-module__baseForceLeft___2WEa0){border-radius:15px;max-width:374px;width:100%}}@media (max-width:1073px){.UI-module__betForm___pu-7D.UI-module__isClassicGame___C-dT4{border-radius:0;bottom:var(--play-bottom);height:auto;left:50%;max-width:100%;transform:translateX(-50%);width:100%}.UI-module__containerSpread___Uc7N-{display:block;height:auto}}@media (min-width:1074px){.UI-module__betForm___pu-7D.UI-module__isClassicGame___C-dT4{border-radius:0;bottom:0;height:100dvh;left:0;max-width:374px;transform:none;width:374px}.UI-module__containerSpread___Uc7N-{display:flex;flex-direction:column;height:100%;justify-content:flex-end}.UI-module__containerSpread___Uc7N->.UI-module__controllerWidgets___rFquu{margin-bottom:auto;order:-1}}.UI-module__baseForceLeft___2WEa0{border-radius:0;bottom:0;height:100dvh;left:0;transform:none}.UI-module__betForm___pu-7D.UI-module__baseForceLeft___2WEa0,.UI-module__betForm___pu-7D.UI-module__isClassicGame___C-dT4{--play-panel-bg:34,16,98;--play-dropdown-bg:21,12,71;background:rgba(var(--play-panel-bg),1)}.UI-module__betForm___pu-7D.UI-module__baseForceLeft___2WEa0 .UI-module__auto___SVz6b,.UI-module__betForm___pu-7D.UI-module__isClassicGame___C-dT4 .UI-module__auto___SVz6b{background:#361791}.UI-module__disabled___E2zhE{opacity:.1}.UI-module__auto___SVz6b{align-items:center;background:hsla(0,0%,100%,.15);border-radius:10px;color:rgba(var(--text-color-hex),1);display:flex;font-family:Inter;font-size:15px;font-weight:700;height:35px;justify-content:center;padding:0 12px;position:relative;width:100%}.UI-module__controllerWidgets___rFquu{align-items:center;display:flex;height:38px;justify-content:space-between;margin-top:5px;width:100%}.UI-module__controllerWidgets___rFquu .UI-module__centerWidget___zWhMN,.UI-module__controllerWidgets___rFquu .UI-module__sideWidget___mTaGO{color:#fff;display:flex;font-family:Inter,sans-serif;font-size:10px!important;font-style:normal;font-weight:700;gap:8px;line-height:125%;text-align:center;width:20%}.UI-module__controllerWidgets___rFquu .UI-module__centerWidget___zWhMN{width:60%}.UI-module__controllerWidgets___rFquu .UI-module__left___VsEJc{justify-content:flex-start}.UI-module__controllerWidgets___rFquu .UI-module__center___hZwDn{justify-content:center}.UI-module__controllerWidgets___rFquu .UI-module__right___JJ0-R{justify-content:flex-end}.Input-module__base___IifiA{border:none;color:rgba(var(--text-color-hex),1);outline:none;padding:10px 12px;text-align:right;user-select:none!important;width:100%}.Input-module__disabled___WqyKa{color:rgba(var(--text-color-hex),.1)!important;cursor:pointer;pointer-events:none}.Input-module__disabledClassic___hzsCt{-webkit-text-fill-color:rgba(var(--text-color-hex),1)!important;color:rgba(var(--text-color-hex),1)!important;cursor:pointer;opacity:1!important;pointer-events:none}.PlayValueList-module__base___5duc6{align-items:center;backdrop-filter:blur(10px);background:hsla(0,0%,100%,.15);border-radius:10px;display:flex;flex-shrink:0;height:385px;justify-content:center;margin-bottom:5px;max-width:342px;width:100%}.PlayValueList-module__playValuesWrapper___-zfj2{align-content:flex-start;align-items:flex-start;display:flex;flex-shrink:0;flex-wrap:wrap;gap:7px;height:351px;max-width:326px;transition:all .2s;width:100%}.PlayValueList-module__playValue___TJQhI{align-items:center;backdrop-filter:blur(10px);background:hsla(0,0%,100%,.15);border-radius:50px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-family:Inter;font-size:16px;font-style:normal;gap:10px;height:45px;justify-content:center;letter-spacing:.8px;line-height:125%;padding:12px 21px;text-align:center;text-transform:uppercase;width:104px}@media (max-width:375px){.PlayValueList-module__playValuesWrapper___-zfj2{padding-left:7px}.PlayValueList-module__playValue___TJQhI{width:calc(33.33% - 7px)}}.PlayValueList-module__isClassicGame___AjnGE{background:#361791}.PlayValueList-module__isClassicGame___AjnGE .PlayValueList-module__selectedPlayValue___3DhDC{background:#150c47}.PlayValueList-module__selectedPlayValue___3DhDC{background:#07172d;transition:all .2s}.PlayValueList-module__disabledPlayValue___U9Bkj{background:#07172d;opacity:.25;transition:all .2s}.FreeRoundsIntroModal-module__backdrop___qIgNx{align-items:center;background:rgba(12,8,51,.85);display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1000}.FreeRoundsIntroModal-module__content___A3aRs{align-items:center;display:flex;flex-direction:column;gap:10px;max-width:342px;width:100%}@media (min-width:700px){.FreeRoundsIntroModal-module__content___A3aRs{max-width:374px}}.FreeRoundsIntroModal-module__panel___-zQpe{align-items:center;background-color:rgba(var(--play-panel-bg,var(--bet-panel-bg,1,36,58)),.98);border-radius:15px;color:#fff;display:flex;flex-direction:column;font-family:Inter,sans-serif;gap:12px;padding:20px;text-align:center;width:100%}.FreeRoundsIntroModal-module__title___1csj0{display:flex;flex-direction:column;font-size:18px;font-weight:800;line-height:130%}.FreeRoundsIntroModal-module__titleLine___rKdpd{display:block}.FreeRoundsIntroModal-module__accent___m-2s6{color:#29cf7d}.FreeRoundsIntroModal-module__details___qXMR-{font-size:13px;font-weight:600;line-height:150%;opacity:.9}.FreeRoundsIntroModal-module__actions___toCBq{display:flex;flex-direction:column;gap:8px;margin-top:8px;width:100%}.FreeRoundsIntroModal-module__button___bSTmX{border:none;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:15px;font-weight:700;height:40px;width:100%}.FreeRoundsIntroModal-module__playNow___iVhdt{background:linear-gradient(357deg,#10be68 23.9%,#29cf7d 97.97%);border-radius:10px}.FreeRoundsIntroModal-module__playNow___iVhdt:hover{background:linear-gradient(357deg,#14d176 23.9%,#35dd8a 97.97%)}.FreeRoundsIntroModal-module__playNow___iVhdt:active{background:#0ea65b}.FreeRoundsIntroModal-module__playLater___l9031{background:hsla(0,0%,100%,.15);border-radius:999px}.FreeRoundsIntroModal-module__playLater___l9031:hover{background:hsla(0,0%,100%,.25)}.FreeRoundsIntroModal-module__expiry___n-fve{color:#fff;font-family:Inter,sans-serif;font-size:12px;font-weight:600;opacity:.8}.FreeRoundsFooter-module__footer___Lveik{align-items:center;color:#fff;display:flex;font-family:Inter,sans-serif;font-size:12px;font-weight:700;justify-content:center;line-height:125%;margin-top:7px;width:100%}.FreeRoundsFooter-module__count___hTxq-{color:#29cf7d}*,html{--bet-bottom:0px;--bet-panel-bg:8,30,100;--play-dropdown-bg:16,36,63;--bg-color-rgb:255,255,255;--text-color-hex:255,255,255;cursor:default;font-family:Inter;font-size:15px;font-style:normal;font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FreeRoundsSummaryModal-module__backdrop___tNi3I{align-items:center;background:rgba(12,8,51,.85);display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1000}.FreeRoundsSummaryModal-module__panel___2MIEp{align-items:center;background-color:rgba(var(--play-panel-bg,var(--bet-panel-bg,1,36,58)),.98);border-radius:15px;color:#fff;display:flex;flex-direction:column;font-family:Inter,sans-serif;gap:12px;max-width:342px;padding:20px;text-align:center;width:100%}@media (min-width:700px){.FreeRoundsSummaryModal-module__panel___2MIEp{max-width:374px}}.FreeRoundsSummaryModal-module__title___lxbPh{font-size:18px;font-weight:800;line-height:130%}.FreeRoundsSummaryModal-module__accent___z9aBF{color:#29cf7d}.FreeRoundsSummaryModal-module__hint___CYWqA{font-size:13px;font-weight:600;opacity:.8}.FreeRoundsSummaryModal-module__closeButton___aRosq{background:hsla(0,0%,100%,.15);border:none;border-radius:999px;color:#fff;cursor:pointer;font-family:Inter,sans-serif;font-size:15px;font-weight:700;height:40px;margin-top:8px;width:100%}.FreeRoundsSummaryModal-module__closeButton___aRosq:hover{background:hsla(0,0%,100%,.25)}
@@ -34,18 +34,24 @@ export type BonusBuyOptionsProps = {
34
34
  override_playButtonBackgroundPressed?: string;
35
35
  };
36
36
  export type FreeRoundsOptionsProps = {
37
- available: boolean;
38
37
  engaged: boolean;
39
38
  roundsRemaining: number;
40
39
  totalRounds: number;
41
40
  stakeCents: number;
42
41
  coinType?: number;
43
42
  currency?: string;
44
- onUseFreeRounds?: () => void;
43
+ expiresAt?: string | number | Date;
45
44
  showIntroModal?: boolean;
46
45
  onPlayNow?: () => void;
47
46
  onPlayLater?: () => void;
48
47
  };
48
+ export type ClassicGameProps = {
49
+ /** Force desktop left-rail layout. */
50
+ forceLeftStyle?: boolean;
51
+ dropdown?: {
52
+ bgColorHex: string;
53
+ };
54
+ };
49
55
  export type PlayControllerProps = StylingProps & ActionsProps & {
50
56
  currencyOptions: CurrencyProps;
51
57
  playOptions: PlaySettingsProps;
@@ -54,4 +60,6 @@ export type PlayControllerProps = StylingProps & ActionsProps & {
54
60
  centerWidgets: Widget[];
55
61
  bonusBuyOptions?: BonusBuyOptionsProps;
56
62
  freeRoundsOptions?: FreeRoundsOptionsProps;
63
+ isClassicGame?: boolean;
64
+ classicGame?: ClassicGameProps;
57
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enigma-lake/dice-play-controller-sdk",
3
- "version": "1.3.6",
3
+ "version": "2.0.0",
4
4
  "description": "A React component library for building gameplay interfaces",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,9 +0,0 @@
1
- interface FreeRoundsAffordanceProps {
2
- isAvailable: boolean;
3
- isEngaged: boolean;
4
- roundsRemaining: number;
5
- totalRounds?: number;
6
- onUseFreeRounds?: () => void;
7
- }
8
- declare const FreeRoundsAffordance: ({ isAvailable, isEngaged, roundsRemaining, onUseFreeRounds, }: FreeRoundsAffordanceProps) => import("react/jsx-runtime").JSX.Element | null;
9
- export default FreeRoundsAffordance;
@@ -1,2 +0,0 @@
1
- import FreeRoundsAffordance from "./FreeRoundsAffordance";
2
- export default FreeRoundsAffordance;