point-click-components 0.3.2-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.
- package/dist/point-click-components.d.ts +12 -30
- package/dist/point-click-components.js +3265 -3383
- package/package.json +1 -1
|
@@ -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,13 +316,6 @@ 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[];
|
|
@@ -339,10 +324,18 @@ declare interface Props_8 {
|
|
|
339
324
|
processContextClick?: MouseEventHandler<SVGElement>;
|
|
340
325
|
}
|
|
341
326
|
|
|
342
|
-
declare interface
|
|
327
|
+
declare interface Props_8 {
|
|
343
328
|
storyBoard: StoryBoard;
|
|
344
329
|
}
|
|
345
330
|
|
|
331
|
+
declare type Props_9 = {
|
|
332
|
+
page: StoryBoardPage;
|
|
333
|
+
font?: BoardFont;
|
|
334
|
+
getImageAsset: {
|
|
335
|
+
(id: string): ImageAsset | undefined;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
|
|
346
339
|
export declare const putActorsInDisplayOrder: (a: ActorData, b: ActorData) => number;
|
|
347
340
|
|
|
348
341
|
export declare const Room: FunctionComponent<RoomProps>;
|
|
@@ -366,13 +359,10 @@ export declare interface RoomProps {
|
|
|
366
359
|
(zone: HotspotZone, event: PointerEvent): void;
|
|
367
360
|
};
|
|
368
361
|
handleHover?: HandleHoverFunction;
|
|
369
|
-
renderAllZones?: boolean;
|
|
370
362
|
highlightHotspots?: boolean;
|
|
371
363
|
highlightActors?: boolean;
|
|
372
364
|
obstacleCells?: CellMatrix;
|
|
373
365
|
hotspotIndexToMark?: number;
|
|
374
|
-
obstacleIndexToMark?: number;
|
|
375
|
-
walkableIndexToMark?: number;
|
|
376
366
|
showCaption?: boolean;
|
|
377
367
|
isPaused?: boolean;
|
|
378
368
|
orderedActors?: ActorWithOrdersAndClickHandlers[];
|
|
@@ -420,9 +410,9 @@ export declare type SpeechBubbleProps = {
|
|
|
420
410
|
atRightEdge: boolean;
|
|
421
411
|
};
|
|
422
412
|
|
|
423
|
-
export declare const StoryBoardPlayer: React.FunctionComponent<
|
|
413
|
+
export declare const StoryBoardPlayer: React.FunctionComponent<Props_8>;
|
|
424
414
|
|
|
425
|
-
export declare const StoryPageDisplay: FunctionComponent<
|
|
415
|
+
export declare const StoryPageDisplay: FunctionComponent<Props_9>;
|
|
426
416
|
|
|
427
417
|
export declare const SurfaceFrame: ({ children }: Props_6) => JSX.Element;
|
|
428
418
|
|
|
@@ -572,19 +562,11 @@ export declare const useRoomRender: () => {
|
|
|
572
562
|
|
|
573
563
|
export declare const VerbRadioButton: () => JSX.Element;
|
|
574
564
|
|
|
575
|
-
export declare const WalkableOrObstacle: ({ zone, markVertices, zoneType, zoneOptions }: Props_7) => JSX.Element;
|
|
576
|
-
|
|
577
565
|
export declare type XY = {
|
|
578
566
|
x: number;
|
|
579
567
|
y: number;
|
|
580
568
|
};
|
|
581
569
|
|
|
582
|
-
export declare
|
|
583
|
-
disabled?: boolean;
|
|
584
|
-
flash?: boolean;
|
|
585
|
-
blink?: boolean;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
export declare const ZoneShape: ({ zone, markVertices, shapeSerialisedStyle, className, processClick, processContextClick, }: Props_8) => JSX.Element;
|
|
570
|
+
export declare const ZoneShape: ({ zone, markVertices, shapeSerialisedStyle, className, processClick, processContextClick, }: Props_7) => JSX.Element;
|
|
589
571
|
|
|
590
572
|
export { }
|