valtech-components 4.0.560 → 4.0.562

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.
@@ -6,7 +6,7 @@ export declare class PhoneDisplayComponent {
6
6
  props: PhoneDisplayMetadata;
7
7
  onClick: EventEmitter<string>;
8
8
  protected rawPhone: import("@angular/core").Signal<string>;
9
- protected mode: import("@angular/core").Signal<"button" | "link" | "text">;
9
+ protected mode: import("@angular/core").Signal<"button" | "text" | "link">;
10
10
  protected formatted: import("@angular/core").Signal<string>;
11
11
  protected href: import("@angular/core").Signal<string>;
12
12
  protected ariaLabel: import("@angular/core").Signal<string>;
@@ -114,7 +114,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
114
114
  readonly botProfiles: ChessimalsBotProfile[];
115
115
  readonly challengeLadder: ChessimalsChallengeBot[];
116
116
  readonly animals: ChessimalsAnimalView[];
117
- readonly valtechComponentsVersion = "4.0.560";
117
+ readonly valtechComponentsVersion = "4.0.562";
118
118
  readonly screen: import("@angular/core").WritableSignal<"home" | "challenge" | "path" | "game">;
119
119
  readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
120
120
  readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
@@ -21,10 +21,11 @@ export interface ChristianityCardRenderModel {
21
21
  editionIcon?: string;
22
22
  year?: string;
23
23
  author?: string;
24
- rarity?: 'normal' | 'uncommon' | 'rare' | 'legendary';
24
+ rarity?: 'normal' | 'good' | 'very-good' | 'uncommon' | 'rare' | 'legendary';
25
25
  imageUrl?: string;
26
26
  frontTemplate?: string;
27
27
  statusText?: string;
28
+ bibleCredit?: string;
28
29
  }
29
30
  export declare class ChristianityCardComponent {
30
31
  readonly card: import("@angular/core").InputSignal<ChristianityCardRenderModel>;
@@ -99,6 +99,7 @@ export declare class ChristianityGameComponent {
99
99
  protected readonly previewTilt: import("@angular/core").WritableSignal<ChristianityPreviewTilt>;
100
100
  protected readonly selectedPreviewAbilityIndex: import("@angular/core").WritableSignal<number>;
101
101
  protected readonly previewSlideDirection: import("@angular/core").WritableSignal<0 | 1 | -1>;
102
+ private previewSwipeStart;
102
103
  protected readonly hoveredHandIndex: import("@angular/core").WritableSignal<number>;
103
104
  protected readonly draggingCardId: import("@angular/core").WritableSignal<string>;
104
105
  protected readonly draggingAttackerInstanceId: import("@angular/core").WritableSignal<string>;
@@ -211,6 +212,7 @@ export declare class ChristianityGameComponent {
211
212
  protected definitionToRenderCard(card: ChristianityCardDefinition, overrides?: Partial<ChristianityCardRenderModel>): ChristianityCardRenderModel;
212
213
  protected placeBackdropImage(card: ChristianityCardDefinition): string;
213
214
  protected hiddenCardRenderCard(): ChristianityCardRenderModel;
215
+ private bibleCreditForCard;
214
216
  private defaultCardBody;
215
217
  protected characterRenderCard(card: ChristianityCharacterInstance): ChristianityCardRenderModel;
216
218
  protected leaderRenderCard(player: ChristianityPlayerState): ChristianityCardRenderModel;
@@ -318,6 +320,9 @@ export declare class ChristianityGameComponent {
318
320
  protected closeOfferings(): void;
319
321
  protected openGallery(): void;
320
322
  protected closeGallery(): void;
323
+ protected startPreviewSwipe(event: PointerEvent): void;
324
+ protected finishPreviewSwipe(event: PointerEvent): void;
325
+ protected cancelPreviewSwipe(event: PointerEvent): void;
321
326
  protected navigatePreview(direction: -1 | 1): void;
322
327
  private currentPreviewCarouselItems;
323
328
  private currentPreviewCarouselIndex;
@@ -259,7 +259,7 @@ export type ChristianitySeat = 'P1' | 'P2';
259
259
  export type ChristianityGameStatus = 'in_progress' | 'finished';
260
260
  export type ChristianityGameMode = 'solo_bot' | 'two_player' | 'local_pass';
261
261
  export type ChristianityCardType = 'action' | 'character' | 'event' | 'leader' | 'offering' | 'place' | 'tool' | 'wisdom';
262
- export type ChristianityCardRarity = 'normal' | 'uncommon' | 'rare' | 'legendary';
262
+ export type ChristianityCardRarity = 'normal' | 'good' | 'very-good' | 'uncommon' | 'rare' | 'legendary';
263
263
  export interface ChristianityCardAbility {
264
264
  name?: string;
265
265
  text?: string;
@@ -333,6 +333,7 @@ export interface ChristianityCardDefinition {
333
333
  i18n?: Record<string, ChristianityCardTranslation>;
334
334
  status?: string;
335
335
  sourceNotes?: string;
336
+ bibleCredit?: string;
336
337
  }
337
338
  export interface ChristianityCharacterInstance {
338
339
  instanceId: string;
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.560";
5
+ export declare const VERSION = "4.0.562";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.560",
3
+ "version": "4.0.562",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"