point-click-components 0.3.3-0 → 0.3.4
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 +1 -14
- package/dist/point-click-components.js +3838 -3863
- package/package.json +1 -1
|
@@ -241,16 +241,6 @@ export declare const makeReducer: (gameDesign: GameDesign, options?: GameRunnerO
|
|
|
241
241
|
|
|
242
242
|
export declare const makeUiReducer: () => Reducer<UiState, UiAction>;
|
|
243
243
|
|
|
244
|
-
export declare const Pin: ({ x, y, label, pinHeight, pinTilt }: PinProps) => JSX.Element;
|
|
245
|
-
|
|
246
|
-
declare interface PinProps {
|
|
247
|
-
x?: number;
|
|
248
|
-
y?: number;
|
|
249
|
-
label: string;
|
|
250
|
-
pinHeight?: number;
|
|
251
|
-
pinTilt?: number;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
244
|
declare interface Props {
|
|
255
245
|
data: ActorData;
|
|
256
246
|
clickHandler?: HandleClickFunction<ActorData>;
|
|
@@ -306,7 +296,6 @@ declare interface Props_5 {
|
|
|
306
296
|
contextClickHandler?: HandleClickFunction<HotspotZone>;
|
|
307
297
|
handleHover?: HandleHoverFunction;
|
|
308
298
|
highlight?: boolean;
|
|
309
|
-
markVertices?: boolean;
|
|
310
299
|
stopPropogation?: boolean;
|
|
311
300
|
customInteractableStyling?: CustomInteractableStyling;
|
|
312
301
|
}
|
|
@@ -317,7 +306,6 @@ declare interface Props_6 {
|
|
|
317
306
|
|
|
318
307
|
declare interface Props_7 {
|
|
319
308
|
zone: Zone;
|
|
320
|
-
markVertices?: boolean;
|
|
321
309
|
shapeSerialisedStyle?: SerializedStyles | SerializedStyles[];
|
|
322
310
|
className?: string;
|
|
323
311
|
processClick?: MouseEventHandler<SVGElement>;
|
|
@@ -362,7 +350,6 @@ export declare interface RoomProps {
|
|
|
362
350
|
highlightHotspots?: boolean;
|
|
363
351
|
highlightActors?: boolean;
|
|
364
352
|
obstacleCells?: CellMatrix;
|
|
365
|
-
hotspotIndexToMark?: number;
|
|
366
353
|
showCaption?: boolean;
|
|
367
354
|
isPaused?: boolean;
|
|
368
355
|
orderedActors?: ActorWithOrdersAndClickHandlers[];
|
|
@@ -567,6 +554,6 @@ export declare type XY = {
|
|
|
567
554
|
y: number;
|
|
568
555
|
};
|
|
569
556
|
|
|
570
|
-
export declare const ZoneShape: ({ zone,
|
|
557
|
+
export declare const ZoneShape: ({ zone, shapeSerialisedStyle, className, processClick, processContextClick, }: Props_7) => JSX.Element;
|
|
571
558
|
|
|
572
559
|
export { }
|