point-click-components 0.3.1-0 → 0.3.3-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.
@@ -269,14 +269,6 @@ declare interface Props {
269
269
  customInteractableStyling?: CustomInteractableStyling;
270
270
  }
271
271
 
272
- declare type Props_10 = {
273
- page: StoryBoardPage;
274
- font?: BoardFont;
275
- getImageAsset: {
276
- (id: string): ImageAsset | undefined;
277
- };
278
- };
279
-
280
272
  declare type Props_2 = {
281
273
  gameState: GameData;
282
274
  handleTargetClick: HandleClickFunction<CommandTarget>;
@@ -324,24 +316,26 @@ declare interface Props_6 {
324
316
  }
325
317
 
326
318
  declare interface Props_7 {
327
- zone: Zone;
328
- markVertices: boolean;
329
- zoneType: 'walkable' | 'obstacle';
330
- zoneOptions: ZoneOptions;
331
- }
332
-
333
- declare interface Props_8 {
334
319
  zone: Zone;
335
320
  markVertices?: boolean;
336
321
  shapeSerialisedStyle?: SerializedStyles | SerializedStyles[];
322
+ className?: string;
337
323
  processClick?: MouseEventHandler<SVGElement>;
338
324
  processContextClick?: MouseEventHandler<SVGElement>;
339
325
  }
340
326
 
341
- declare interface Props_9 {
327
+ declare interface Props_8 {
342
328
  storyBoard: StoryBoard;
343
329
  }
344
330
 
331
+ declare type Props_9 = {
332
+ page: StoryBoardPage;
333
+ font?: BoardFont;
334
+ getImageAsset: {
335
+ (id: string): ImageAsset | undefined;
336
+ };
337
+ };
338
+
345
339
  export declare const putActorsInDisplayOrder: (a: ActorData, b: ActorData) => number;
346
340
 
347
341
  export declare const Room: FunctionComponent<RoomProps>;
@@ -365,13 +359,10 @@ export declare interface RoomProps {
365
359
  (zone: HotspotZone, event: PointerEvent): void;
366
360
  };
367
361
  handleHover?: HandleHoverFunction;
368
- renderAllZones?: boolean;
369
362
  highlightHotspots?: boolean;
370
363
  highlightActors?: boolean;
371
364
  obstacleCells?: CellMatrix;
372
365
  hotspotIndexToMark?: number;
373
- obstacleIndexToMark?: number;
374
- walkableIndexToMark?: number;
375
366
  showCaption?: boolean;
376
367
  isPaused?: boolean;
377
368
  orderedActors?: ActorWithOrdersAndClickHandlers[];
@@ -419,9 +410,9 @@ export declare type SpeechBubbleProps = {
419
410
  atRightEdge: boolean;
420
411
  };
421
412
 
422
- export declare const StoryBoardPlayer: React.FunctionComponent<Props_9>;
413
+ export declare const StoryBoardPlayer: React.FunctionComponent<Props_8>;
423
414
 
424
- export declare const StoryPageDisplay: FunctionComponent<Props_10>;
415
+ export declare const StoryPageDisplay: FunctionComponent<Props_9>;
425
416
 
426
417
  export declare const SurfaceFrame: ({ children }: Props_6) => JSX.Element;
427
418
 
@@ -571,19 +562,11 @@ export declare const useRoomRender: () => {
571
562
 
572
563
  export declare const VerbRadioButton: () => JSX.Element;
573
564
 
574
- export declare const WalkableOrObstacle: ({ zone, markVertices, zoneType, zoneOptions }: Props_7) => JSX.Element;
575
-
576
565
  export declare type XY = {
577
566
  x: number;
578
567
  y: number;
579
568
  };
580
569
 
581
- export declare interface ZoneOptions {
582
- disabled?: boolean;
583
- flash?: boolean;
584
- blink?: boolean;
585
- }
586
-
587
- export declare const ZoneShape: ({ zone, markVertices, shapeSerialisedStyle, processClick, processContextClick, }: Props_8) => JSX.Element;
570
+ export declare const ZoneShape: ({ zone, markVertices, shapeSerialisedStyle, className, processClick, processContextClick, }: Props_7) => JSX.Element;
588
571
 
589
572
  export { }