@dreamboard-games/sdk 0.4.0-alpha.2 → 0.4.0-alpha.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/REFERENCE.md +33 -22
- package/dist/HandView-x8MhbhFl.d.ts +79 -0
- package/dist/{ResourceCounter-BuiNstXs.d.ts → ResourceCounter-BFxJknqp.d.ts} +1 -9
- package/dist/{ThemeProvider-B1sIoBlX.d.ts → ThemeProvider-DRalAWzY.d.ts} +1 -1
- package/dist/authoring/index.js +1 -1
- package/dist/{chunk-45FI6XII.js → chunk-E3X552YM.js} +3 -11
- package/dist/chunk-E3X552YM.js.map +1 -0
- package/dist/{chunk-HWJS3VOJ.js → chunk-LKJLAGND.js} +2 -2
- package/dist/{chunk-WOWFONLZ.js → chunk-QOFFRHZR.js} +6 -6
- package/dist/chunk-QOFFRHZR.js.map +1 -0
- package/dist/{chunk-ZAS2SENW.js → chunk-SUMZ5OEH.js} +2 -2
- package/dist/{chunk-ZAS2SENW.js.map → chunk-SUMZ5OEH.js.map} +1 -1
- package/dist/{chunk-6JQFGSLD.js → chunk-TTISZQNI.js} +13 -15
- package/dist/{chunk-6JQFGSLD.js.map → chunk-TTISZQNI.js.map} +1 -1
- package/dist/{chunk-FWVV2X74.js → chunk-XZ667T4K.js} +2 -2
- package/dist/{components-BbWPnZCF.d.ts → components-B7hFaEn_.d.ts} +3 -3
- package/dist/{hex-board-view-Kz9Q_zsv.d.ts → hex-board-view-BFlWDb9k.d.ts} +116 -1
- package/dist/index-gjxQichK.d.ts +192 -0
- package/dist/index.js +2 -2
- package/dist/package-set.d.ts +2 -2
- package/dist/package-set.js +2 -2
- package/dist/runtime/primitives.d.ts +20 -23
- package/dist/runtime/primitives.js +3 -3
- package/dist/runtime/workspace-contract.d.ts +16 -173
- package/dist/runtime/workspace-contract.js +4 -4
- package/dist/runtime.d.ts +6 -6
- package/dist/runtime.js +4 -4
- package/dist/ui/components.d.ts +4 -4
- package/dist/ui/components.js +1 -3
- package/dist/ui/plugin-styles.css +1 -1
- package/dist/{ui-contract-CY7cxsCC.d.ts → ui-contract-B4NjRlvC.d.ts} +2 -2
- package/dist/ui.d.ts +7 -7
- package/dist/ui.js +2 -4
- package/package.json +1 -1
- package/dist/HandView-PYDmehVD.d.ts +0 -193
- package/dist/chunk-45FI6XII.js.map +0 -1
- package/dist/chunk-WOWFONLZ.js.map +0 -1
- /package/dist/{chunk-HWJS3VOJ.js.map → chunk-LKJLAGND.js.map} +0 -0
- /package/dist/{chunk-FWVV2X74.js.map → chunk-XZ667T4K.js.map} +0 -0
|
@@ -1,184 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export { C as ClientParamSchemaMap, D as DefineGameUIConfig, W as WorkspaceBoardSurface, a as WorkspaceBoardSurfaceDescriptor, b as WorkspaceBoardTargetInputSlot, c as WorkspaceCardCollectionSurface, d as WorkspaceCardCollectionSurfaceDescriptor, e as WorkspaceCardInputSlot, f as WorkspaceFormInputSlot, g as WorkspaceHandSurface, h as WorkspaceHandSurfaceDescriptor, i as WorkspaceInteractionFormDescriptor, j as WorkspaceInteractionFormsDescriptor, k as WorkspaceInteractionSlotComponent, l as WorkspacePileSurface, m as WorkspacePileSurfaceDescriptor, n as WorkspacePilesSurfaceDescriptor, o as WorkspaceSurfaceSpec, p as createWorkspaceUIContract } from '../index-gjxQichK.js';
|
|
2
|
+
import { Z as InteractionDialogProps } from '../ui-contract-B4NjRlvC.js';
|
|
3
|
+
export { f as BoardHexGridProps, h as BoardHexViewProps, l as BoardSpaceTargetProps, A as DreamboardUI, I as GameMeState, M as GamePlayersState, N as GameRenderState, Q as GameTurnState, a$ as TypedGame, b1 as UIContract, b3 as UIRootProps, bd as ZoneCardRenderItem, bh as ZoneListProps } from '../ui-contract-B4NjRlvC.js';
|
|
4
|
+
export { b as ResourceCounterComponents } from '../ResourceCounter-BFxJknqp.js';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
import '../hex-board-view-BFlWDb9k.js';
|
|
6
7
|
import 'react/jsx-runtime';
|
|
7
|
-
import '../hex-board-view-Kz9Q_zsv.js';
|
|
8
8
|
import '../player-state-Cqpyeql0.js';
|
|
9
9
|
import '../types.js';
|
|
10
|
-
import '../ThemeProvider-
|
|
10
|
+
import '../ThemeProvider-DRalAWzY.js';
|
|
11
11
|
import '../runtime-api-BJharVaj.js';
|
|
12
12
|
import '../runtime-api-C6aWo9c0.js';
|
|
13
13
|
import '../primitive-props-BNHDkgd7.js';
|
|
14
14
|
import '../attributes-DbvyMbXw.js';
|
|
15
15
|
import '../types-DJj5MJkl.js';
|
|
16
16
|
|
|
17
|
-
interface
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
path: readonly PropertyKey[];
|
|
26
|
-
message: string;
|
|
27
|
-
}>;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
17
|
+
interface WorkspaceInteractionFormDialogProps extends Omit<InteractionDialogProps, "children"> {
|
|
18
|
+
title: ReactNode;
|
|
19
|
+
description?: ReactNode;
|
|
20
|
+
trigger?: ReactNode;
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
contentClassName?: string;
|
|
23
|
+
overlayClassName?: string;
|
|
24
|
+
showCloseButton?: boolean;
|
|
30
25
|
}
|
|
31
|
-
type ClientParamSchemaMap = Readonly<Record<string, Readonly<Record<string, ClientParamSchema>>>>;
|
|
32
26
|
|
|
33
|
-
type
|
|
34
|
-
children: unknown;
|
|
35
|
-
} ? Props : Props & {
|
|
36
|
-
children?: ReactNode;
|
|
37
|
-
}) => ReactElement | null;
|
|
38
|
-
interface WorkspaceFormInputSlot<Input extends string = string> {
|
|
39
|
-
readonly Field: WorkspaceInteractionSlotComponent;
|
|
40
|
-
readonly Options: WorkspaceInteractionSlotComponent<{
|
|
41
|
-
children?: (option: {
|
|
42
|
-
value: unknown;
|
|
43
|
-
label: string;
|
|
44
|
-
}) => ReactNode;
|
|
45
|
-
}>;
|
|
46
|
-
readonly Value: WorkspaceInteractionSlotComponent<{
|
|
47
|
-
children: (value: unknown | undefined) => ReactNode;
|
|
48
|
-
}>;
|
|
49
|
-
readonly Default: WorkspaceInteractionSlotComponent;
|
|
50
|
-
readonly __input?: Input;
|
|
51
|
-
}
|
|
52
|
-
interface WorkspaceCardInputSlot<Card extends string = string> {
|
|
53
|
-
readonly Card: WorkspaceInteractionSlotComponent<{
|
|
54
|
-
value: Card;
|
|
55
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "disabled" | "aria-disabled" | "aria-pressed" | "onClick" | "type" | "value">>;
|
|
56
|
-
readonly Cards: WorkspaceInteractionSlotComponent<{
|
|
57
|
-
children: (card: {
|
|
58
|
-
id: Card;
|
|
59
|
-
}) => ReactNode;
|
|
60
|
-
}>;
|
|
61
|
-
readonly Value: WorkspaceInteractionSlotComponent<{
|
|
62
|
-
children: (value: unknown | undefined) => ReactNode;
|
|
63
|
-
}>;
|
|
64
|
-
readonly Default: WorkspaceInteractionSlotComponent;
|
|
65
|
-
}
|
|
66
|
-
interface WorkspaceBoardTargetInputSlot<Kind extends "space" | "edge" | "vertex" | "tile", Target extends string = string> {
|
|
67
|
-
readonly Target: WorkspaceInteractionSlotComponent<{
|
|
68
|
-
value: Target;
|
|
69
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "disabled" | "aria-disabled" | "aria-pressed" | "onClick" | "type" | "value">>;
|
|
70
|
-
readonly Value: WorkspaceInteractionSlotComponent<{
|
|
71
|
-
children: (value: unknown | undefined) => ReactNode;
|
|
72
|
-
}>;
|
|
73
|
-
readonly Default: WorkspaceInteractionSlotComponent;
|
|
74
|
-
readonly __kind?: Kind;
|
|
75
|
-
}
|
|
76
|
-
interface WorkspaceBoardSurface<Space extends string = string, Edge extends string = string, Vertex extends string = string, Tile extends string = string> {
|
|
77
|
-
readonly Root: WorkspaceInteractionSlotComponent;
|
|
78
|
-
readonly Space: <Target extends Space>(props: BoardSpaceTargetProps<Target>) => ReactElement | null;
|
|
79
|
-
readonly slot: {
|
|
80
|
-
readonly space: WorkspaceBoardTargetInputSlot<"space", Space>;
|
|
81
|
-
readonly playerSpace: WorkspaceBoardTargetInputSlot<"space", Space>;
|
|
82
|
-
readonly edge: WorkspaceBoardTargetInputSlot<"edge", Edge>;
|
|
83
|
-
readonly vertex: WorkspaceBoardTargetInputSlot<"vertex", Vertex>;
|
|
84
|
-
readonly tile: WorkspaceBoardTargetInputSlot<"tile", Tile>;
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
type WorkspaceZoneCardsComponent<Card> = WorkspaceInteractionSlotComponent<Omit<ZoneListProps, "children" | "empty"> & {
|
|
88
|
-
empty?: ReactNode;
|
|
89
|
-
children: (card: Card) => ReactNode;
|
|
90
|
-
}>;
|
|
91
|
-
type WorkspaceZoneCardComponent<Card> = WorkspaceInteractionSlotComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type" | "value"> & {
|
|
92
|
-
card: Card;
|
|
93
|
-
}>;
|
|
94
|
-
type WorkspaceZoneStagingComponent<Card> = WorkspaceInteractionSlotComponent<{
|
|
95
|
-
children: (card: Card) => ReactNode;
|
|
96
|
-
label?: ReactNode;
|
|
97
|
-
renderEmptySlot?: (index: number) => ReactNode;
|
|
98
|
-
cardSize?: "sm" | "md" | "lg";
|
|
99
|
-
ariaLabel?: string;
|
|
100
|
-
className?: string;
|
|
101
|
-
}>;
|
|
102
|
-
type WorkspaceHandCardsComponent<Card> = WorkspaceInteractionSlotComponent<{
|
|
103
|
-
children: (card: Card, state: unknown) => ReactNode;
|
|
104
|
-
}>;
|
|
105
|
-
type WorkspaceHandSummaryComponent = WorkspaceInteractionSlotComponent<{
|
|
106
|
-
children?: ReactNode | ((summary: unknown) => ReactNode);
|
|
107
|
-
}>;
|
|
108
|
-
interface WorkspaceHandSurface<Zone extends string, Card> {
|
|
109
|
-
readonly Hand: WorkspaceInteractionSlotComponent<{
|
|
110
|
-
children: ReactNode;
|
|
111
|
-
}>;
|
|
112
|
-
readonly Cards: WorkspaceHandCardsComponent<Card>;
|
|
113
|
-
readonly Summary: WorkspaceHandSummaryComponent;
|
|
114
|
-
readonly Actions: WorkspaceHandSummaryComponent;
|
|
115
|
-
readonly Card: WorkspaceZoneCardComponent<Card>;
|
|
116
|
-
readonly Staging: WorkspaceZoneStagingComponent<Card>;
|
|
117
|
-
readonly slot: {
|
|
118
|
-
readonly card: WorkspaceCardInputSlot<Zone>;
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
interface WorkspacePileSurface<Card> {
|
|
122
|
-
readonly Pile: WorkspaceZoneCardsComponent<Card>;
|
|
123
|
-
readonly Card: WorkspaceZoneCardComponent<Card>;
|
|
124
|
-
}
|
|
125
|
-
interface WorkspaceCardCollectionSurface<Zone extends string, Card> {
|
|
126
|
-
readonly Collection: WorkspaceZoneCardsComponent<Card>;
|
|
127
|
-
readonly Card: WorkspaceZoneCardComponent<Card>;
|
|
128
|
-
readonly slot: {
|
|
129
|
-
readonly card: WorkspaceCardInputSlot<Zone>;
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
interface WorkspaceBoardSurfaceDescriptor<Board extends string = string> {
|
|
133
|
-
readonly kind: "board";
|
|
134
|
-
readonly board: Board;
|
|
135
|
-
}
|
|
136
|
-
interface WorkspaceHandSurfaceDescriptor<Zone extends string = string> {
|
|
137
|
-
readonly kind: "hand";
|
|
138
|
-
readonly zone: Zone;
|
|
139
|
-
readonly role: HandRole;
|
|
140
|
-
readonly label: string;
|
|
141
|
-
readonly order?: number;
|
|
142
|
-
}
|
|
143
|
-
interface WorkspacePileSurfaceDescriptor<Zone extends string = string> {
|
|
144
|
-
readonly kind: "pile";
|
|
145
|
-
readonly zone: Zone;
|
|
146
|
-
}
|
|
147
|
-
interface WorkspacePilesSurfaceDescriptor<Zones extends readonly string[] = readonly string[]> {
|
|
148
|
-
readonly kind: "piles";
|
|
149
|
-
readonly zones: Zones;
|
|
150
|
-
}
|
|
151
|
-
interface WorkspaceCardCollectionSurfaceDescriptor<Zones extends readonly string[] = readonly string[]> {
|
|
152
|
-
readonly kind: "cardCollection";
|
|
153
|
-
readonly zones: Zones;
|
|
154
|
-
readonly mode?: "all" | "top-card";
|
|
155
|
-
}
|
|
156
|
-
interface WorkspaceInteractionFormsDescriptor<Interactions extends Readonly<Record<string, string>> = Readonly<Record<string, string>>> {
|
|
157
|
-
readonly kind: "forms";
|
|
158
|
-
readonly interactions: Interactions;
|
|
159
|
-
}
|
|
160
|
-
interface WorkspaceInteractionFormDescriptor<Interaction extends string = string> {
|
|
161
|
-
readonly kind: "form";
|
|
162
|
-
readonly interaction: Interaction;
|
|
163
|
-
}
|
|
164
|
-
type WorkspaceSurfaceDescriptor = WorkspaceBoardSurfaceDescriptor | WorkspaceHandSurfaceDescriptor | WorkspacePileSurfaceDescriptor | WorkspacePilesSurfaceDescriptor | WorkspaceCardCollectionSurfaceDescriptor | WorkspaceInteractionFormDescriptor | WorkspaceInteractionFormsDescriptor;
|
|
165
|
-
interface WorkspaceSurfaceSpec {
|
|
166
|
-
readonly [key: string]: WorkspaceSurfaceDescriptor | WorkspaceSurfaceSpec;
|
|
167
|
-
}
|
|
168
|
-
interface WorkspaceContractOptions<Contract extends UIContract, Resource extends string, Card, HexBoards extends Record<string, unknown>> {
|
|
169
|
-
readonly uiContract: Contract;
|
|
170
|
-
readonly clientParamSchemasByPhase?: ClientParamSchemaMap;
|
|
171
|
-
readonly formInputKeysForInteraction: (interaction: string) => ReadonlySet<string>;
|
|
172
|
-
readonly resourceIds: readonly Resource[];
|
|
173
|
-
readonly resourcePresentationById?: Partial<Record<string, {
|
|
174
|
-
label?: string;
|
|
175
|
-
icon?: string;
|
|
176
|
-
}>>;
|
|
177
|
-
readonly hexStaticBoards: HexBoards;
|
|
178
|
-
readonly cardIdFromZoneCard: (card: Card) => string;
|
|
179
|
-
readonly zoneIdFromZoneCard: (card: Card) => string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
declare function createWorkspaceUIContract<WorkspaceUI, Contract extends UIContract, Resource extends string, Card, HexBoards extends Record<string, unknown>>(options: WorkspaceContractOptions<Contract, Resource, Card, HexBoards>): WorkspaceUI;
|
|
183
|
-
|
|
184
|
-
export { BoardSpaceTargetProps, type ClientParamSchemaMap, UIContract, type WorkspaceBoardSurface, type WorkspaceBoardSurfaceDescriptor, type WorkspaceBoardTargetInputSlot, type WorkspaceCardCollectionSurface, type WorkspaceCardCollectionSurfaceDescriptor, type WorkspaceCardInputSlot, type WorkspaceFormInputSlot, type WorkspaceHandSurface, type WorkspaceHandSurfaceDescriptor, type WorkspaceInteractionFormDescriptor, type WorkspaceInteractionFormsDescriptor, type WorkspaceInteractionSlotComponent, type WorkspacePileSurface, type WorkspacePileSurfaceDescriptor, type WorkspacePilesSurfaceDescriptor, type WorkspaceSurfaceSpec, ZoneListProps, createWorkspaceUIContract };
|
|
27
|
+
export type { WorkspaceInteractionFormDialogProps };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkspaceUIContract
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-TTISZQNI.js";
|
|
4
|
+
import "../chunk-QOFFRHZR.js";
|
|
5
|
+
import "../chunk-XZ667T4K.js";
|
|
6
6
|
import "../chunk-T3ZKNUZ7.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-E3X552YM.js";
|
|
8
8
|
import "../chunk-VDXOF4FW.js";
|
|
9
9
|
import "../chunk-O6M6PN4E.js";
|
|
10
10
|
import "../chunk-WUIVY2KE.js";
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b1 as UIContract$1, A as DreamboardUI$1, a$ as TypedGame$1 } from './ui-contract-
|
|
2
|
-
export { f as BoardHexGridProps, h as BoardHexViewProps, l as BoardSpaceTargetProps, I as GameMeState, M as GamePlayersState, N as GameRenderState, Q as GameTurnState, b3 as UIRootProps, bd as ZoneCardRenderItem, bh as ZoneListProps } from './ui-contract-
|
|
3
|
-
export { ClientParamSchemaMap, WorkspaceBoardSurface, WorkspaceBoardSurfaceDescriptor, WorkspaceBoardTargetInputSlot, WorkspaceCardCollectionSurface, WorkspaceCardCollectionSurfaceDescriptor, WorkspaceCardInputSlot, WorkspaceFormInputSlot, WorkspaceHandSurface, WorkspaceHandSurfaceDescriptor, WorkspaceInteractionFormDescriptor, WorkspaceInteractionFormsDescriptor, WorkspaceInteractionSlotComponent, WorkspacePileSurface, WorkspacePileSurfaceDescriptor, WorkspacePilesSurfaceDescriptor, WorkspaceSurfaceSpec, createWorkspaceUIContract } from './
|
|
1
|
+
import { b1 as UIContract$1, A as DreamboardUI$1, a$ as TypedGame$1 } from './ui-contract-B4NjRlvC.js';
|
|
2
|
+
export { f as BoardHexGridProps, h as BoardHexViewProps, l as BoardSpaceTargetProps, I as GameMeState, M as GamePlayersState, N as GameRenderState, Q as GameTurnState, b3 as UIRootProps, bd as ZoneCardRenderItem, bh as ZoneListProps } from './ui-contract-B4NjRlvC.js';
|
|
3
|
+
export { C as ClientParamSchemaMap, W as WorkspaceBoardSurface, a as WorkspaceBoardSurfaceDescriptor, b as WorkspaceBoardTargetInputSlot, c as WorkspaceCardCollectionSurface, d as WorkspaceCardCollectionSurfaceDescriptor, e as WorkspaceCardInputSlot, f as WorkspaceFormInputSlot, g as WorkspaceHandSurface, h as WorkspaceHandSurfaceDescriptor, i as WorkspaceInteractionFormDescriptor, j as WorkspaceInteractionFormsDescriptor, k as WorkspaceInteractionSlotComponent, l as WorkspacePileSurface, m as WorkspacePileSurfaceDescriptor, n as WorkspacePilesSurfaceDescriptor, o as WorkspaceSurfaceSpec, p as createWorkspaceUIContract } from './index-gjxQichK.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import react__default from 'react';
|
|
6
6
|
import { c as RuntimeDiagnosticHandler } from './runtime-api-C6aWo9c0.js';
|
|
7
7
|
import { P as PluginRuntimeClient, a as PluginRuntimeClientOptions, b as PluginTransport } from './types-CYeN0wLK.js';
|
|
8
8
|
export { R as RuntimeClock, c as RuntimeIdFactory } from './types-CYeN0wLK.js';
|
|
9
9
|
export { a as InteractionDescriptor } from './runtime-api-BJharVaj.js';
|
|
10
|
-
export { b as ResourceCounterComponents } from './ResourceCounter-
|
|
11
|
-
import './hex-board-view-
|
|
10
|
+
export { b as ResourceCounterComponents } from './ResourceCounter-BFxJknqp.js';
|
|
11
|
+
import './hex-board-view-BFlWDb9k.js';
|
|
12
12
|
import './player-state-Cqpyeql0.js';
|
|
13
13
|
import './types.js';
|
|
14
|
-
import './ThemeProvider-
|
|
14
|
+
import './ThemeProvider-DRalAWzY.js';
|
|
15
15
|
import './primitive-props-BNHDkgd7.js';
|
|
16
16
|
import './attributes-DbvyMbXw.js';
|
|
17
17
|
import './types-DJj5MJkl.js';
|
package/dist/runtime.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkspaceUIContract
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-TTISZQNI.js";
|
|
4
|
+
import "./chunk-QOFFRHZR.js";
|
|
5
|
+
import "./chunk-XZ667T4K.js";
|
|
6
6
|
import "./chunk-T3ZKNUZ7.js";
|
|
7
7
|
import {
|
|
8
8
|
GameSkeleton
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E3X552YM.js";
|
|
10
10
|
import "./chunk-VDXOF4FW.js";
|
|
11
11
|
import {
|
|
12
12
|
PluginRuntimeBoundary,
|
package/dist/ui/components.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as ActionButton, a as ActionButtonProps, b as ActionGroup, c as ActionGroupProps, d as ActionPanel, e as ActionPanelProps, C as CardDragSurface, g as CardDragSurfaceContextValue, h as CardDragSurfaceController, i as CardDragSurfaceProps, j as CardDropTargetView, k as CardDropTargetViewProps, l as CardFace, m as CardFaceProps, p as ChromeSuppressionProvider, q as CostDisplay, r as CostDisplayProps, D as DefaultChessPiece, s as DefaultChessPieceProps, t as DefaultEmptySlot, u as DefaultEmptySlotProps, v as DefaultGridCell, w as DefaultGridCellProps, x as DefaultGridPiece, y as DefaultGridPieceProps, z as DefaultNetworkEdge, E as DefaultNetworkEdgeProps, F as DefaultNetworkNode, G as DefaultNetworkNodeProps, H as DefaultNetworkPiece, I as DefaultNetworkPieceProps, J as DefaultSlotItem, K as DefaultSlotItemProps, L as DefaultSlotOccupant, M as DefaultSlotOccupantProps, N as DefaultTrackConnection, O as DefaultTrackConnectionProps, P as DefaultTrackJump, Q as DefaultTrackJumpProps, R as DefaultTrackPiece, S as DefaultTrackPieceProps, T as DefaultTrackSpace, U as DefaultTrackSpaceProps, V as DefaultZone, W as DefaultZonePiece, X as DefaultZonePieceProps, Y as DefaultZonePieces, Z as DefaultZonePiecesProps, _ as DefaultZoneProps, $ as Dialog, a0 as DialogClose, a1 as DialogContent, a2 as DialogDescription, a3 as DialogFooter, a4 as DialogHeader, a5 as DialogOverlay, a6 as DialogPortal, a7 as DialogTitle, a8 as DialogTrigger, a9 as DiceRoller, aa as DiceRollerProps, ab as DragPhase, ac as Drawer, ad as DrawerClose, ae as DrawerContent, af as DrawerDescription, ag as DrawerFooter, ah as DrawerHeader, ai as DrawerOverlay, aj as DrawerPortal, ak as DrawerTitle, al as DrawerTrigger, am as ErrorBoundary, an as ErrorBoundaryProps, ao as GameEndDisplay, ap as GameEndDisplayProps, aq as GameSkeleton, ar as GameSkeletonProps, as as Hand, at as HandDock, au as HandDockMode, av as HandDockPlacement, aw as HandDockPresentation, ax as HandDockProps, ay as HandDockToggleContext, aA as HandProps, aB as Input, aC as InteractiveSquareEdge, aD as InteractiveSquareVertex, aE as Label, aF as MoreActions, aG as MoreActionsProps, aH as NetworkEdge, aI as NetworkGraph, aJ as NetworkGraphProps, aK as NetworkNode, aL as NetworkPiece, aM as Panel, aN as PanelActions, aO as PanelBody, aP as PanelDescription, aQ as PanelDescriptionProps, aR as PanelHeader, aS as PanelPartProps, aT as PanelRoot, aU as PanelRootProps, aV as PanelTitle, aW as PanelTitleProps, aX as PanelTone, aY as PhaseIndicator, aZ as PhaseIndicatorProps, a_ as PlayArea, a$ as PlayAreaProps, b0 as PlayerScore, b1 as PrimaryActionAttention, b2 as PrimaryActionButton, b3 as PrimaryActionButtonProps, b4 as PrimaryButton, b5 as PrimaryButtonProps, b6 as ResourceDefinition, b7 as Select, b8 as SelectContent, b9 as SelectItem, ba as SelectTrigger, bb as SlotDefinition, bc as SlotOccupant, bd as SlotSystem, be as SlotSystemProps, bf as SquareEdgePosition, bg as SquareGrid, bh as SquareGridBoardProps, bi as SquareGridProps, bj as SquareVertexPosition, bk as StagingZone, bl as StagingZoneProps, bm as ThemedButton, bn as ThemedButtonProps, bo as Toast, bp as ToastActions, bq as ToastActionsProps, br as ToastActionsValue, bs as ToastNotification, bt as ToastProvider, bu as ToastType, bv as TrackBoard, bw as TrackBoardProps, bx as TrackPiece, by as TrackSpace, bB as ZoneDefinition, bC as ZoneHighlightType, bD as ZoneMap, bE as ZoneMapProps, bF as ZonePiece, bG as ZoneShape, bN as toAlgebraic, bO as toNumeric, bP as useCardDragSurface, bQ as useChromeSuppression } from '../components-
|
|
2
|
-
export { H as HandInteractionPolicy,
|
|
3
|
-
export { B as BoundResourceCounterRootProps, H as HandRole, M as MobileHandRegistration, a as MobileHandTrayProvider, R as ResourceCounter, b as ResourceCounterComponents, c as ResourceCounterCount, d as ResourceCounterIcon, e as ResourceCounterItem, f as ResourceCounterItemState, g as ResourceCounterLabel, h as ResourceCounterPartProps, i as ResourceCounterProps, j as ResourceCounterRoot, k as ResourceCounterRootProps, l as ResourceDisplayConfig, m as ResourceIconProps, n as createResourceCounter, u as
|
|
4
|
-
export { D as DefaultHexEdge,
|
|
1
|
+
export { A as ActionButton, a as ActionButtonProps, b as ActionGroup, c as ActionGroupProps, d as ActionPanel, e as ActionPanelProps, C as CardDragSurface, g as CardDragSurfaceContextValue, h as CardDragSurfaceController, i as CardDragSurfaceProps, j as CardDropTargetView, k as CardDropTargetViewProps, l as CardFace, m as CardFaceProps, p as ChromeSuppressionProvider, q as CostDisplay, r as CostDisplayProps, D as DefaultChessPiece, s as DefaultChessPieceProps, t as DefaultEmptySlot, u as DefaultEmptySlotProps, v as DefaultGridCell, w as DefaultGridCellProps, x as DefaultGridPiece, y as DefaultGridPieceProps, z as DefaultNetworkEdge, E as DefaultNetworkEdgeProps, F as DefaultNetworkNode, G as DefaultNetworkNodeProps, H as DefaultNetworkPiece, I as DefaultNetworkPieceProps, J as DefaultSlotItem, K as DefaultSlotItemProps, L as DefaultSlotOccupant, M as DefaultSlotOccupantProps, N as DefaultTrackConnection, O as DefaultTrackConnectionProps, P as DefaultTrackJump, Q as DefaultTrackJumpProps, R as DefaultTrackPiece, S as DefaultTrackPieceProps, T as DefaultTrackSpace, U as DefaultTrackSpaceProps, V as DefaultZone, W as DefaultZonePiece, X as DefaultZonePieceProps, Y as DefaultZonePieces, Z as DefaultZonePiecesProps, _ as DefaultZoneProps, $ as Dialog, a0 as DialogClose, a1 as DialogContent, a2 as DialogDescription, a3 as DialogFooter, a4 as DialogHeader, a5 as DialogOverlay, a6 as DialogPortal, a7 as DialogTitle, a8 as DialogTrigger, a9 as DiceRoller, aa as DiceRollerProps, ab as DragPhase, ac as Drawer, ad as DrawerClose, ae as DrawerContent, af as DrawerDescription, ag as DrawerFooter, ah as DrawerHeader, ai as DrawerOverlay, aj as DrawerPortal, ak as DrawerTitle, al as DrawerTrigger, am as ErrorBoundary, an as ErrorBoundaryProps, ao as GameEndDisplay, ap as GameEndDisplayProps, aq as GameSkeleton, ar as GameSkeletonProps, as as Hand, at as HandDock, au as HandDockMode, av as HandDockPlacement, aw as HandDockPresentation, ax as HandDockProps, ay as HandDockToggleContext, aA as HandProps, aB as Input, aC as InteractiveSquareEdge, aD as InteractiveSquareVertex, aE as Label, aF as MoreActions, aG as MoreActionsProps, aH as NetworkEdge, aI as NetworkGraph, aJ as NetworkGraphProps, aK as NetworkNode, aL as NetworkPiece, aM as Panel, aN as PanelActions, aO as PanelBody, aP as PanelDescription, aQ as PanelDescriptionProps, aR as PanelHeader, aS as PanelPartProps, aT as PanelRoot, aU as PanelRootProps, aV as PanelTitle, aW as PanelTitleProps, aX as PanelTone, aY as PhaseIndicator, aZ as PhaseIndicatorProps, a_ as PlayArea, a$ as PlayAreaProps, b0 as PlayerScore, b1 as PrimaryActionAttention, b2 as PrimaryActionButton, b3 as PrimaryActionButtonProps, b4 as PrimaryButton, b5 as PrimaryButtonProps, b6 as ResourceDefinition, b7 as Select, b8 as SelectContent, b9 as SelectItem, ba as SelectTrigger, bb as SlotDefinition, bc as SlotOccupant, bd as SlotSystem, be as SlotSystemProps, bf as SquareEdgePosition, bg as SquareGrid, bh as SquareGridBoardProps, bi as SquareGridProps, bj as SquareVertexPosition, bk as StagingZone, bl as StagingZoneProps, bm as ThemedButton, bn as ThemedButtonProps, bo as Toast, bp as ToastActions, bq as ToastActionsProps, br as ToastActionsValue, bs as ToastNotification, bt as ToastProvider, bu as ToastType, bv as TrackBoard, bw as TrackBoardProps, bx as TrackPiece, by as TrackSpace, bB as ZoneDefinition, bC as ZoneHighlightType, bD as ZoneMap, bE as ZoneMapProps, bF as ZonePiece, bG as ZoneShape, bN as toAlgebraic, bO as toNumeric, bP as useCardDragSurface, bQ as useChromeSuppression } from '../components-B7hFaEn_.js';
|
|
2
|
+
export { H as HandInteractionPolicy, a as HandLayoutKind, b as HandLayoutPolicy, c as HandView, d as HandViewProps } from '../HandView-x8MhbhFl.js';
|
|
3
|
+
export { B as BoundResourceCounterRootProps, H as HandRole, M as MobileHandRegistration, a as MobileHandTrayProvider, R as ResourceCounter, b as ResourceCounterComponents, c as ResourceCounterCount, d as ResourceCounterIcon, e as ResourceCounterItem, f as ResourceCounterItemState, g as ResourceCounterLabel, h as ResourceCounterPartProps, i as ResourceCounterProps, j as ResourceCounterRoot, k as ResourceCounterRootProps, l as ResourceDisplayConfig, m as ResourceIconProps, n as createResourceCounter, u as useOverlayInsets, o as useRegisterBottomOverlayInset, p as useRegisterMobileHand } from '../ResourceCounter-BFxJknqp.js';
|
|
4
|
+
export { D as DefaultHexEdge, i as DefaultHexEdgeProps, j as DefaultHexTile, k as DefaultHexTileProps, l as DefaultHexVertex, m as DefaultHexVertexProps, E as EdgePosition, t as HexBoardView, u as HexBoardViewTile, v as HexGrid, w as HexGridBoardProps, x as HexGridProps, y as HexOrientation, z as HexTileGeometry, K as InteractiveHexEdge, L as InteractiveHexVertex, M as InteractiveTargetLayer, N as InteractiveTargetRenderState, a7 as createHexBoardView, a9 as hexUtils } from '../hex-board-view-BFlWDb9k.js';
|
|
5
5
|
export { k as HexEdgeState, l as HexTileState, m as HexVertexState, y as SquareCellState, z as SquareEdgeState, A as SquarePieceState, F as SquareVertexState } from '../player-state-Cqpyeql0.js';
|
|
6
6
|
export { CardCollection, ViewCard, ViewSlotOccupant } from '../types.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
package/dist/ui/components.js
CHANGED
|
@@ -97,11 +97,10 @@ import {
|
|
|
97
97
|
toNumeric,
|
|
98
98
|
useCardDragSurface,
|
|
99
99
|
useChromeSuppression,
|
|
100
|
-
useMobileHandTrayActive,
|
|
101
100
|
useOverlayInsets,
|
|
102
101
|
useRegisterBottomOverlayInset,
|
|
103
102
|
useRegisterMobileHand
|
|
104
|
-
} from "../chunk-
|
|
103
|
+
} from "../chunk-E3X552YM.js";
|
|
105
104
|
import "../chunk-VDXOF4FW.js";
|
|
106
105
|
import "../chunk-PZ5AY32C.js";
|
|
107
106
|
export {
|
|
@@ -202,7 +201,6 @@ export {
|
|
|
202
201
|
toNumeric,
|
|
203
202
|
useCardDragSurface,
|
|
204
203
|
useChromeSuppression,
|
|
205
|
-
useMobileHandTrayActive,
|
|
206
204
|
useOverlayInsets,
|
|
207
205
|
useRegisterBottomOverlayInset,
|
|
208
206
|
useRegisterMobileHand
|