valtech-components 4.0.554 → 4.0.556

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.
@@ -30,7 +30,7 @@ export declare class MediaObjectComponent {
30
30
  /** Emitted when the inline link is clicked */
31
31
  onLinkClick: EventEmitter<string>;
32
32
  /** Merged configuration with defaults */
33
- config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "circle" | "rounded" | "mediaWidth" | "reversed" | "align">>>;
33
+ config: import("@angular/core").Signal<MediaObjectMetadata & Required<Pick<MediaObjectMetadata, "rounded" | "circle" | "mediaWidth" | "reversed" | "align">>>;
34
34
  getColor(): string;
35
35
  handleLinkClick(event: MouseEvent): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MediaObjectComponent, never>;
@@ -3,6 +3,7 @@ import { FormControl } from '@angular/forms';
3
3
  import { MiniGameCalloutMetadata } from './mini-game-callout.component';
4
4
  import { MiniGameScorePopMetadata } from './mini-game-score-pop.component';
5
5
  import { ChessimalsAnimalType, ChessimalsBotDifficulty, ChessimalsBotProfile, ChessimalsBotProfileId, ChessimalsBoardSize, ChessimalsChallengeBot, ChessimalsChallengeRoundStats, ChessimalsChallengeRun, ChessimalsChallengeStats, ChessimalsGameState, ChessimalsHistoryEntry, ChessimalsLocalMode, ChessimalsMove, ChessimalsPiece, ChessimalsPlayerColor, ChessimalsPosition, ChessimalsStatsMode } from './types';
6
+ import { ModalLayoutActionEvent } from '../../molecules/modal-layout/types';
6
7
  import { RangeInputMetadata, RangeValue } from '../../molecules/range-input/types';
7
8
  import { ToggleInputMetadata } from '../../molecules/toggle-input/types';
8
9
  import { UserAvatarMetadata } from '../../atoms/user-avatar/types';
@@ -114,7 +115,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
114
115
  readonly botProfiles: ChessimalsBotProfile[];
115
116
  readonly challengeLadder: ChessimalsChallengeBot[];
116
117
  readonly animals: ChessimalsAnimalView[];
117
- readonly valtechComponentsVersion = "4.0.554";
118
+ readonly valtechComponentsVersion = "4.0.556";
118
119
  readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
119
120
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
120
121
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -249,9 +250,6 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
249
250
  readonly confirmTitle: import("@angular/core").Signal<string>;
250
251
  readonly confirmBody: import("@angular/core").Signal<string>;
251
252
  readonly confirmActions: import("@angular/core").Signal<ButtonMetadata[]>;
252
- readonly playOptionsActions: import("@angular/core").Signal<ButtonMetadata[]>;
253
- readonly playAgainButton: import("@angular/core").Signal<Partial<ButtonMetadata>>;
254
- readonly rematchButton: import("@angular/core").Signal<Partial<ButtonMetadata>>;
255
253
  readonly rulesActions: import("@angular/core").Signal<ButtonMetadata[]>;
256
254
  readonly aboutActions: import("@angular/core").Signal<ButtonMetadata[]>;
257
255
  readonly actionHint: import("@angular/core").Signal<string>;
@@ -278,6 +276,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
278
276
  private abandonChallengeIfNeeded;
279
277
  private abandonChallengeRun;
280
278
  startTutorial(): void;
279
+ startTutorialFromRules(): void;
280
+ handleRulesAction(event: ModalLayoutActionEvent): void;
281
281
  createOnlineGame(): Promise<void>;
282
282
  joinOnlineGameByCode(): Promise<void>;
283
283
  openOnlineGame(gameId: string): Promise<void>;
@@ -298,9 +298,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
298
298
  openPlayOptionsModal(): void;
299
299
  closePlayOptionsModal(): void;
300
300
  handlePlayOptionsModalDismissed(): void;
301
- handlePlayOptionsAction(event: {
302
- action?: ButtonMetadata;
303
- }): void;
301
+ startSoloGameFromOptions(): void;
304
302
  openRulesModal(): void;
305
303
  closeRulesModal(): void;
306
304
  openSettingsModal(): void;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.554";
5
+ export declare const VERSION = "4.0.556";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.554",
3
+ "version": "4.0.556",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"