point-click-components 0.0.11 → 0.1.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.
@@ -1,4 +1,5 @@
1
1
  import { ActorData } from 'point-click-lib';
2
+ import { BoardFont } from 'point-click-lib';
2
3
  import { CellMatrix } from 'point-click-lib';
3
4
  import { Command } from 'point-click-lib';
4
5
  import { CommandTarget } from 'point-click-lib';
@@ -21,6 +22,8 @@ import { Reducer } from 'react';
21
22
  import { RoomData } from 'point-click-lib';
22
23
  import { SoundValue } from 'point-click-lib';
23
24
  import { SpriteData } from 'point-click-lib';
25
+ import { StoryBoard } from 'point-click-lib';
26
+ import { StoryBoardPage } from 'point-click-lib';
24
27
  import { Zone } from 'point-click-lib';
25
28
 
26
29
  export declare const ActorFigure: ({ data, isPaused, clickHandler, handleHover, contextClickHandler, orders, overrideSpriteData, noSound, getImageAsset, getSoundAsset, sprites, SoundHandler, }: Props) => JSX.Element;
@@ -56,6 +59,8 @@ cameraPoint?: XY;
56
59
 
57
60
  export declare const ContextualGameRoom: () => JSX.Element;
58
61
 
62
+ export declare const DefaultLayout: () => JSX.Element;
63
+
59
64
  declare type FileAsset = {
60
65
  id: string;
61
66
  href: string;
@@ -206,7 +211,7 @@ declare type Props_2 = {
206
211
 
207
212
  declare interface Props_3 {
208
213
  gameDesign: GameDesign;
209
- Layout: FunctionComponent;
214
+ Layout?: FunctionComponent;
210
215
  getImageAsset: GetImageAsset;
211
216
  getSoundAsset: GetSoundAsset;
212
217
  SoundHandler?: SoundPlayerComponent;
@@ -245,6 +250,18 @@ declare interface Props_7 {
245
250
  zoneOptions: ZoneOptions;
246
251
  }
247
252
 
253
+ declare interface Props_8 {
254
+ storyBoard: StoryBoard;
255
+ }
256
+
257
+ declare type Props_9 = {
258
+ page: StoryBoardPage;
259
+ font?: BoardFont;
260
+ getImageAsset: {
261
+ (id: string): ImageAsset | undefined;
262
+ };
263
+ };
264
+
248
265
  export declare const putActorsInDisplayOrder: (a: ActorData, b: ActorData) => number;
249
266
 
250
267
  export declare const Room: FunctionComponent<RoomProps>;
@@ -310,8 +327,19 @@ declare type SoundPlayerComponent = FunctionComponent<{
310
327
  getSoundAsset: GetSoundAsset;
311
328
  }>;
312
329
 
330
+ export declare const StoryBoardPlayer: React.FunctionComponent<Props_8>;
331
+
332
+ export declare const StoryPageDisplay: FunctionComponent<Props_9>;
333
+
313
334
  export declare const SurfaceFrame: ({ children }: Props_6) => JSX.Element;
314
335
 
336
+ export declare const TemplateLayout: ({ className, MainControlsComponent, ConversationMenuComponent, MetaComponent }: {
337
+ className?: string;
338
+ MainControlsComponent?: FunctionComponent;
339
+ ConversationMenuComponent?: FunctionComponent;
340
+ MetaComponent?: FunctionComponent;
341
+ }) => JSX.Element;
342
+
315
343
  export declare type UiAction = {
316
344
  type: 'SET_VERB';
317
345
  verbId: string;