@ankhorage/zora 21.0.23 → 21.1.1
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/CHANGELOG.md +17 -0
- package/README.md +6 -2
- package/dist/features/authoring/allowedChildren.d.ts +5 -2
- package/dist/features/authoring/allowedChildren.d.ts.map +1 -1
- package/dist/features/authoring/allowedChildren.js +13 -2
- package/dist/features/authoring/allowedChildren.js.map +1 -1
- package/dist/features/authoring/componentMeta.d.ts.map +1 -1
- package/dist/features/authoring/componentMeta.js +21 -0
- package/dist/features/authoring/componentMeta.js.map +1 -1
- package/dist/features/authoring/constants.d.ts +3 -0
- package/dist/features/authoring/constants.d.ts.map +1 -1
- package/dist/features/authoring/constants.js +3 -0
- package/dist/features/authoring/constants.js.map +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/cardMeta.d.ts.map +1 -1
- package/dist/features/card/cardMeta.js +7 -2
- package/dist/features/card/cardMeta.js.map +1 -1
- package/dist/features/chess/adapters/inbound/ChessBoard.d.ts +5 -0
- package/dist/features/chess/adapters/inbound/ChessBoard.d.ts.map +1 -0
- package/dist/features/chess/adapters/inbound/ChessBoard.js +119 -0
- package/dist/features/chess/adapters/inbound/ChessBoard.js.map +1 -0
- package/dist/features/chess/adapters/inbound/OpeningBook.d.ts +5 -0
- package/dist/features/chess/adapters/inbound/OpeningBook.d.ts.map +1 -0
- package/dist/features/chess/adapters/inbound/OpeningBook.js +94 -0
- package/dist/features/chess/adapters/inbound/OpeningBook.js.map +1 -0
- package/dist/features/chess/meta.d.ts +219 -0
- package/dist/features/chess/meta.d.ts.map +1 -0
- package/dist/features/chess/meta.js +165 -0
- package/dist/features/chess/meta.js.map +1 -0
- package/dist/features/chess/public.d.ts +12 -0
- package/dist/features/chess/public.d.ts.map +1 -0
- package/dist/features/chess/public.js +10 -0
- package/dist/features/chess/public.js.map +1 -0
- package/dist/features/chess/utils/chessSquares.d.ts +4 -0
- package/dist/features/chess/utils/chessSquares.d.ts.map +1 -0
- package/dist/features/chess/utils/chessSquares.js +3 -0
- package/dist/features/chess/utils/chessSquares.js.map +1 -0
- package/dist/features/chess/utils/createBoardSquares.d.ts +4 -0
- package/dist/features/chess/utils/createBoardSquares.d.ts.map +1 -0
- package/dist/features/chess/utils/createBoardSquares.js +9 -0
- package/dist/features/chess/utils/createBoardSquares.js.map +1 -0
- package/dist/features/chess/utils/createChessBoardColorScheme.d.ts +35 -0
- package/dist/features/chess/utils/createChessBoardColorScheme.d.ts.map +1 -0
- package/dist/features/chess/utils/createChessBoardColorScheme.js +26 -0
- package/dist/features/chess/utils/createChessBoardColorScheme.js.map +1 -0
- package/dist/features/chess/utils/createOpeningBookColorScheme.d.ts +11 -0
- package/dist/features/chess/utils/createOpeningBookColorScheme.d.ts.map +1 -0
- package/dist/features/chess/utils/createOpeningBookColorScheme.js +21 -0
- package/dist/features/chess/utils/createOpeningBookColorScheme.js.map +1 -0
- package/dist/features/chess/utils/getSquareFile.d.ts +4 -0
- package/dist/features/chess/utils/getSquareFile.d.ts.map +1 -0
- package/dist/features/chess/utils/getSquareFile.js +5 -0
- package/dist/features/chess/utils/getSquareFile.js.map +1 -0
- package/dist/features/chess/utils/getSquareRank.d.ts +4 -0
- package/dist/features/chess/utils/getSquareRank.d.ts.map +1 -0
- package/dist/features/chess/utils/getSquareRank.js +5 -0
- package/dist/features/chess/utils/getSquareRank.js.map +1 -0
- package/dist/features/chess/utils/isLightSquare.d.ts +4 -0
- package/dist/features/chess/utils/isLightSquare.d.ts.map +1 -0
- package/dist/features/chess/utils/isLightSquare.js +6 -0
- package/dist/features/chess/utils/isLightSquare.js.map +1 -0
- package/dist/features/game/adapters/inbound/Game.d.ts +5 -0
- package/dist/features/game/adapters/inbound/Game.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/Game.js +24 -0
- package/dist/features/game/adapters/inbound/Game.js.map +1 -0
- package/dist/features/game/adapters/inbound/GameEntity.d.ts +5 -0
- package/dist/features/game/adapters/inbound/GameEntity.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/GameEntity.js +29 -0
- package/dist/features/game/adapters/inbound/GameEntity.js.map +1 -0
- package/dist/features/game/adapters/inbound/GameField.d.ts +4 -0
- package/dist/features/game/adapters/inbound/GameField.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/GameField.js +32 -0
- package/dist/features/game/adapters/inbound/GameField.js.map +1 -0
- package/dist/features/game/adapters/inbound/GameInputZone.d.ts +4 -0
- package/dist/features/game/adapters/inbound/GameInputZone.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/GameInputZone.js +50 -0
- package/dist/features/game/adapters/inbound/GameInputZone.js.map +1 -0
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts +4 -0
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.js +54 -0
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.js.map +1 -0
- package/dist/features/game/adapters/inbound/GameOverlay.d.ts +4 -0
- package/dist/features/game/adapters/inbound/GameOverlay.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/GameOverlay.js +39 -0
- package/dist/features/game/adapters/inbound/GameOverlay.js.map +1 -0
- package/dist/features/game/adapters/inbound/createGameKeyboardEvent.d.ts +16 -0
- package/dist/features/game/adapters/inbound/createGameKeyboardEvent.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/createGameKeyboardEvent.js +16 -0
- package/dist/features/game/adapters/inbound/createGameKeyboardEvent.js.map +1 -0
- package/dist/features/game/adapters/inbound/createGameMeasurementEvent.d.ts +14 -0
- package/dist/features/game/adapters/inbound/createGameMeasurementEvent.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/createGameMeasurementEvent.js +25 -0
- package/dist/features/game/adapters/inbound/createGameMeasurementEvent.js.map +1 -0
- package/dist/features/game/adapters/inbound/createGamePointerEvent.d.ts +17 -0
- package/dist/features/game/adapters/inbound/createGamePointerEvent.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/createGamePointerEvent.js +20 -0
- package/dist/features/game/adapters/inbound/createGamePointerEvent.js.map +1 -0
- package/dist/features/game/adapters/inbound/measureGameEntity.d.ts +5 -0
- package/dist/features/game/adapters/inbound/measureGameEntity.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/measureGameEntity.js +22 -0
- package/dist/features/game/adapters/inbound/measureGameEntity.js.map +1 -0
- package/dist/features/game/adapters/inbound/useGameInputZoneResponder.d.ts +15 -0
- package/dist/features/game/adapters/inbound/useGameInputZoneResponder.d.ts.map +1 -0
- package/dist/features/game/adapters/inbound/useGameInputZoneResponder.js +67 -0
- package/dist/features/game/adapters/inbound/useGameInputZoneResponder.js.map +1 -0
- package/dist/features/game/composition/GameRuntimeContext.d.ts +5 -0
- package/dist/features/game/composition/GameRuntimeContext.d.ts.map +1 -0
- package/dist/features/game/composition/GameRuntimeContext.js +4 -0
- package/dist/features/game/composition/GameRuntimeContext.js.map +1 -0
- package/dist/features/game/composition/createGameBindingContext.d.ts +4 -0
- package/dist/features/game/composition/createGameBindingContext.d.ts.map +1 -0
- package/dist/features/game/composition/createGameBindingContext.js +10 -0
- package/dist/features/game/composition/createGameBindingContext.js.map +1 -0
- package/dist/features/game/composition/createGameMeasurementRegistry.d.ts +4 -0
- package/dist/features/game/composition/createGameMeasurementRegistry.d.ts.map +1 -0
- package/dist/features/game/composition/createGameMeasurementRegistry.js +15 -0
- package/dist/features/game/composition/createGameMeasurementRegistry.js.map +1 -0
- package/dist/features/game/composition/useGameRuntime.d.ts +5 -0
- package/dist/features/game/composition/useGameRuntime.d.ts.map +1 -0
- package/dist/features/game/composition/useGameRuntime.js +117 -0
- package/dist/features/game/composition/useGameRuntime.js.map +1 -0
- package/dist/features/game/composition/useGameScheduledEffects.d.ts +17 -0
- package/dist/features/game/composition/useGameScheduledEffects.d.ts.map +1 -0
- package/dist/features/game/composition/useGameScheduledEffects.js +40 -0
- package/dist/features/game/composition/useGameScheduledEffects.js.map +1 -0
- package/dist/features/game/meta/gameEntityMeta.d.ts +403 -0
- package/dist/features/game/meta/gameEntityMeta.d.ts.map +1 -0
- package/dist/features/game/meta/gameEntityMeta.js +224 -0
- package/dist/features/game/meta/gameEntityMeta.js.map +1 -0
- package/dist/features/game/meta/gameFieldMeta.d.ts +61 -0
- package/dist/features/game/meta/gameFieldMeta.d.ts.map +1 -0
- package/dist/features/game/meta/gameFieldMeta.js +48 -0
- package/dist/features/game/meta/gameFieldMeta.js.map +1 -0
- package/dist/features/game/meta/gameInputZoneMeta.d.ts +163 -0
- package/dist/features/game/meta/gameInputZoneMeta.d.ts.map +1 -0
- package/dist/features/game/meta/gameInputZoneMeta.js +138 -0
- package/dist/features/game/meta/gameInputZoneMeta.js.map +1 -0
- package/dist/features/game/meta/gameMeasurementProbeMeta.d.ts +112 -0
- package/dist/features/game/meta/gameMeasurementProbeMeta.d.ts.map +1 -0
- package/dist/features/game/meta/gameMeasurementProbeMeta.js +70 -0
- package/dist/features/game/meta/gameMeasurementProbeMeta.js.map +1 -0
- package/dist/features/game/meta/gameMeta.d.ts +130 -0
- package/dist/features/game/meta/gameMeta.d.ts.map +1 -0
- package/dist/features/game/meta/gameMeta.js +113 -0
- package/dist/features/game/meta/gameMeta.js.map +1 -0
- package/dist/features/game/meta/gameOverlayMeta.d.ts +55 -0
- package/dist/features/game/meta/gameOverlayMeta.d.ts.map +1 -0
- package/dist/features/game/meta/gameOverlayMeta.js +65 -0
- package/dist/features/game/meta/gameOverlayMeta.js.map +1 -0
- package/dist/features/game/public.d.ts +8 -0
- package/dist/features/game/public.d.ts.map +1 -0
- package/dist/features/game/public.js +7 -0
- package/dist/features/game/public.js.map +1 -0
- package/dist/features/game/utils/clampGamePercentage.d.ts +3 -0
- package/dist/features/game/utils/clampGamePercentage.d.ts.map +1 -0
- package/dist/features/game/utils/clampGamePercentage.js +5 -0
- package/dist/features/game/utils/clampGamePercentage.js.map +1 -0
- package/dist/features/game/utils/resolveGameEntityMotionPlan.d.ts +15 -0
- package/dist/features/game/utils/resolveGameEntityMotionPlan.d.ts.map +1 -0
- package/dist/features/game/utils/resolveGameEntityMotionPlan.js +31 -0
- package/dist/features/game/utils/resolveGameEntityMotionPlan.js.map +1 -0
- package/dist/features/game/utils/toGamePercentage.d.ts +3 -0
- package/dist/features/game/utils/toGamePercentage.d.ts.map +1 -0
- package/dist/features/game/utils/toGamePercentage.js +6 -0
- package/dist/features/game/utils/toGamePercentage.js.map +1 -0
- package/dist/features/game/utils/useAnimatedGameEntityValue.d.ts +5 -0
- package/dist/features/game/utils/useAnimatedGameEntityValue.d.ts.map +1 -0
- package/dist/features/game/utils/useAnimatedGameEntityValue.js +33 -0
- package/dist/features/game/utils/useAnimatedGameEntityValue.js.map +1 -0
- package/dist/features/game/utils/useGameEntityAnimatedStyle.d.ts +16 -0
- package/dist/features/game/utils/useGameEntityAnimatedStyle.d.ts.map +1 -0
- package/dist/features/game/utils/useGameEntityAnimatedStyle.js +52 -0
- package/dist/features/game/utils/useGameEntityAnimatedStyle.js.map +1 -0
- package/dist/features/game/utils/useGameEntityMeasurement.d.ts +5 -0
- package/dist/features/game/utils/useGameEntityMeasurement.d.ts.map +1 -0
- package/dist/features/game/utils/useGameEntityMeasurement.js +14 -0
- package/dist/features/game/utils/useGameEntityMeasurement.js.map +1 -0
- package/dist/features/game/utils/useGameEntityMotionProgress.d.ts +5 -0
- package/dist/features/game/utils/useGameEntityMotionProgress.d.ts.map +1 -0
- package/dist/features/game/utils/useGameEntityMotionProgress.js +87 -0
- package/dist/features/game/utils/useGameEntityMotionProgress.js.map +1 -0
- package/dist/features/game/utils/useGameReducedMotion.d.ts +3 -0
- package/dist/features/game/utils/useGameReducedMotion.d.ts.map +1 -0
- package/dist/features/game/utils/useGameReducedMotion.js +13 -0
- package/dist/features/game/utils/useGameReducedMotion.js.map +1 -0
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/gridMeta.d.ts.map +1 -1
- package/dist/features/layout/gridMeta.js +7 -2
- package/dist/features/layout/gridMeta.js.map +1 -1
- package/dist/features/layout/screenMeta.d.ts +1 -1
- package/dist/features/layout/viewMeta.d.ts +1 -1
- package/dist/features/layout/viewMeta.d.ts.map +1 -1
- package/dist/features/layout/viewMeta.js +6 -2
- package/dist/features/layout/viewMeta.js.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +16 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/section/screenSectionMeta.d.ts +1 -1
- package/dist/features/tabletop/adapters/inbound/CardBack.d.ts +5 -0
- package/dist/features/tabletop/adapters/inbound/CardBack.d.ts.map +1 -0
- package/dist/features/tabletop/adapters/inbound/CardBack.js +47 -0
- package/dist/features/tabletop/adapters/inbound/CardBack.js.map +1 -0
- package/dist/features/tabletop/adapters/inbound/CardHand.d.ts +5 -0
- package/dist/features/tabletop/adapters/inbound/CardHand.d.ts.map +1 -0
- package/dist/features/tabletop/adapters/inbound/CardHand.js +28 -0
- package/dist/features/tabletop/adapters/inbound/CardHand.js.map +1 -0
- package/dist/features/tabletop/adapters/inbound/PlayingCard.d.ts +5 -0
- package/dist/features/tabletop/adapters/inbound/PlayingCard.d.ts.map +1 -0
- package/dist/features/tabletop/adapters/inbound/PlayingCard.js +64 -0
- package/dist/features/tabletop/adapters/inbound/PlayingCard.js.map +1 -0
- package/dist/features/tabletop/adapters/inbound/PokerTrainingTable.d.ts +5 -0
- package/dist/features/tabletop/adapters/inbound/PokerTrainingTable.d.ts.map +1 -0
- package/dist/features/tabletop/adapters/inbound/PokerTrainingTable.js +12 -0
- package/dist/features/tabletop/adapters/inbound/PokerTrainingTable.js.map +1 -0
- package/dist/features/tabletop/adapters/inbound/TabletopTable.d.ts +5 -0
- package/dist/features/tabletop/adapters/inbound/TabletopTable.d.ts.map +1 -0
- package/dist/features/tabletop/adapters/inbound/TabletopTable.js +206 -0
- package/dist/features/tabletop/adapters/inbound/TabletopTable.js.map +1 -0
- package/dist/features/tabletop/meta.d.ts +353 -0
- package/dist/features/tabletop/meta.d.ts.map +1 -0
- package/dist/features/tabletop/meta.js +252 -0
- package/dist/features/tabletop/meta.js.map +1 -0
- package/dist/features/tabletop/public.d.ts +10 -0
- package/dist/features/tabletop/public.d.ts.map +1 -0
- package/dist/features/tabletop/public.js +9 -0
- package/dist/features/tabletop/public.js.map +1 -0
- package/dist/features/tabletop/utils/createPokerTrainingTableState.d.ts +13 -0
- package/dist/features/tabletop/utils/createPokerTrainingTableState.d.ts.map +1 -0
- package/dist/features/tabletop/utils/createPokerTrainingTableState.js +112 -0
- package/dist/features/tabletop/utils/createPokerTrainingTableState.js.map +1 -0
- package/dist/features/tabletop/utils/createTabletopColorScheme.d.ts +36 -0
- package/dist/features/tabletop/utils/createTabletopColorScheme.d.ts.map +1 -0
- package/dist/features/tabletop/utils/createTabletopColorScheme.js +144 -0
- package/dist/features/tabletop/utils/createTabletopColorScheme.js.map +1 -0
- package/dist/features/tabletop/utils/createTabletopGameSeats.d.ts +13 -0
- package/dist/features/tabletop/utils/createTabletopGameSeats.d.ts.map +1 -0
- package/dist/features/tabletop/utils/createTabletopGameSeats.js +22 -0
- package/dist/features/tabletop/utils/createTabletopGameSeats.js.map +1 -0
- package/dist/features/tabletop/utils/getPlayingCardLabel.d.ts +4 -0
- package/dist/features/tabletop/utils/getPlayingCardLabel.d.ts.map +1 -0
- package/dist/features/tabletop/utils/getPlayingCardLabel.js +6 -0
- package/dist/features/tabletop/utils/getPlayingCardLabel.js.map +1 -0
- package/dist/features/tabletop/utils/getTabletopCardDimensions.d.ts +12 -0
- package/dist/features/tabletop/utils/getTabletopCardDimensions.d.ts.map +1 -0
- package/dist/features/tabletop/utils/getTabletopCardDimensions.js +35 -0
- package/dist/features/tabletop/utils/getTabletopCardDimensions.js.map +1 -0
- package/dist/features/tabletop/utils/getTabletopSeatPosition.d.ts +9 -0
- package/dist/features/tabletop/utils/getTabletopSeatPosition.d.ts.map +1 -0
- package/dist/features/tabletop/utils/getTabletopSeatPosition.js +88 -0
- package/dist/features/tabletop/utils/getTabletopSeatPosition.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/types/chess.d.ts +83 -0
- package/dist/types/chess.d.ts.map +1 -0
- package/dist/types/chess.js +2 -0
- package/dist/types/chess.js.map +1 -0
- package/dist/types/gamePresentation.d.ts +94 -0
- package/dist/types/gamePresentation.d.ts.map +1 -0
- package/dist/types/gamePresentation.js +2 -0
- package/dist/types/gamePresentation.js.map +1 -0
- package/dist/types/gameRuntime.d.ts +29 -0
- package/dist/types/gameRuntime.d.ts.map +1 -0
- package/dist/types/gameRuntime.js +2 -0
- package/dist/types/gameRuntime.js.map +1 -0
- package/dist/types/tabletop.d.ts +129 -0
- package/dist/types/tabletop.d.ts.map +1 -0
- package/dist/types/tabletop.js +2 -0
- package/dist/types/tabletop.js.map +1 -0
- package/package.json +13 -11
- package/src/features/authoring/allowedChildren.ts +15 -2
- package/src/features/authoring/componentMeta.test.ts +93 -0
- package/src/features/authoring/componentMeta.ts +27 -0
- package/src/features/authoring/constants.ts +3 -0
- package/src/features/card/cardMeta.ts +12 -2
- package/src/features/chess/adapters/inbound/ChessBoard.tsx +169 -0
- package/src/features/chess/adapters/inbound/OpeningBook.tsx +131 -0
- package/src/features/chess/meta.ts +168 -0
- package/src/features/chess/public.test.tsx +165 -0
- package/src/features/chess/public.ts +27 -0
- package/src/features/chess/utils/chessSquares.ts +6 -0
- package/src/features/chess/utils/createBoardSquares.ts +13 -0
- package/src/features/chess/utils/createChessBoardColorScheme.ts +55 -0
- package/src/features/chess/utils/createOpeningBookColorScheme.ts +26 -0
- package/src/features/chess/utils/getSquareFile.ts +6 -0
- package/src/features/chess/utils/getSquareRank.ts +6 -0
- package/src/features/chess/utils/isLightSquare.ts +8 -0
- package/src/features/chessTabletopOwnership.test.ts +71 -0
- package/src/features/game/adapters/inbound/Game.tsx +43 -0
- package/src/features/game/adapters/inbound/GameEntity.tsx +44 -0
- package/src/features/game/adapters/inbound/GameField.tsx +52 -0
- package/src/features/game/adapters/inbound/GameInputZone.tsx +99 -0
- package/src/features/game/adapters/inbound/GameMeasurementProbe.tsx +83 -0
- package/src/features/game/adapters/inbound/GameOverlay.tsx +58 -0
- package/src/features/game/adapters/inbound/createGameKeyboardEvent.test.ts +51 -0
- package/src/features/game/adapters/inbound/createGameKeyboardEvent.ts +33 -0
- package/src/features/game/adapters/inbound/createGameMeasurementEvent.test.ts +56 -0
- package/src/features/game/adapters/inbound/createGameMeasurementEvent.ts +38 -0
- package/src/features/game/adapters/inbound/createGamePointerEvent.test.ts +56 -0
- package/src/features/game/adapters/inbound/createGamePointerEvent.ts +39 -0
- package/src/features/game/adapters/inbound/measureGameEntity.ts +28 -0
- package/src/features/game/adapters/inbound/useGameInputZoneResponder.ts +85 -0
- package/src/features/game/composition/GameRuntimeContext.ts +6 -0
- package/src/features/game/composition/createGameBindingContext.test.ts +66 -0
- package/src/features/game/composition/createGameBindingContext.ts +11 -0
- package/src/features/game/composition/createGameMeasurementRegistry.test.ts +35 -0
- package/src/features/game/composition/createGameMeasurementRegistry.ts +16 -0
- package/src/features/game/composition/useGameRuntime.test.tsx +173 -0
- package/src/features/game/composition/useGameRuntime.ts +200 -0
- package/src/features/game/composition/useGameScheduledEffects.ts +85 -0
- package/src/features/game/meta/gameEntityMeta.ts +226 -0
- package/src/features/game/meta/gameFieldMeta.ts +49 -0
- package/src/features/game/meta/gameInputZoneMeta.ts +140 -0
- package/src/features/game/meta/gameMeasurementProbeMeta.ts +72 -0
- package/src/features/game/meta/gameMeta.ts +115 -0
- package/src/features/game/meta/gameOverlayMeta.ts +66 -0
- package/src/features/game/public.test.tsx +64 -0
- package/src/features/game/public.ts +19 -0
- package/src/features/game/utils/clampGamePercentage.ts +4 -0
- package/src/features/game/utils/resolveGameEntityMotionPlan.test.ts +63 -0
- package/src/features/game/utils/resolveGameEntityMotionPlan.ts +53 -0
- package/src/features/game/utils/toGamePercentage.ts +6 -0
- package/src/features/game/utils/useAnimatedGameEntityValue.ts +41 -0
- package/src/features/game/utils/useGameEntityAnimatedStyle.ts +87 -0
- package/src/features/game/utils/useGameEntityMeasurement.ts +19 -0
- package/src/features/game/utils/useGameEntityMotionProgress.ts +114 -0
- package/src/features/game/utils/useGameReducedMotion.ts +15 -0
- package/src/features/layout/gridMeta.ts +12 -2
- package/src/features/layout/viewMeta.ts +10 -2
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +29 -0
- package/src/features/tabletop/adapters/inbound/CardBack.tsx +70 -0
- package/src/features/tabletop/adapters/inbound/CardHand.tsx +61 -0
- package/src/features/tabletop/adapters/inbound/PlayingCard.tsx +95 -0
- package/src/features/tabletop/adapters/inbound/PokerTrainingTable.tsx +34 -0
- package/src/features/tabletop/adapters/inbound/TabletopTable.tsx +264 -0
- package/src/features/tabletop/meta.ts +254 -0
- package/src/features/tabletop/public.test.tsx +127 -0
- package/src/features/tabletop/public.ts +32 -0
- package/src/features/tabletop/utils/createPokerTrainingTableState.ts +152 -0
- package/src/features/tabletop/utils/createTabletopColorScheme.ts +232 -0
- package/src/features/tabletop/utils/createTabletopGameSeats.ts +31 -0
- package/src/features/tabletop/utils/getPlayingCardLabel.ts +8 -0
- package/src/features/tabletop/utils/getTabletopCardDimensions.ts +45 -0
- package/src/features/tabletop/utils/getTabletopSeatPosition.ts +100 -0
- package/src/index.ts +83 -0
- package/src/types/chess.ts +95 -0
- package/src/types/gamePresentation.ts +103 -0
- package/src/types/gameRuntime.ts +34 -0
- package/src/types/tabletop.ts +131 -0
- package/web-dist/chunks/{Accordion-paha5aje.js → Accordion-1cgz6f8t.js} +2 -2
- package/web-dist/chunks/{Accordion-fjnck2tg.js → Accordion-46jsv73s.js} +6 -6
- package/web-dist/chunks/{Accordion-q7c1ryf2.js → Accordion-4aeg9thd.js} +4 -4
- package/web-dist/chunks/{Accordion-xshn7k8f.js → Accordion-4p710d7k.js} +4 -4
- package/web-dist/chunks/{Accordion-06588rzn.js → Accordion-57akecv2.js} +1 -1
- package/web-dist/chunks/Accordion-57mn1j9e.js +830 -0
- package/web-dist/chunks/{Accordion-qpwhmqzd.js → Accordion-6aa1argz.js} +13 -13
- package/web-dist/chunks/{Accordion-v6ykq9hv.js → Accordion-77j966qb.js} +10 -10
- package/web-dist/chunks/{Accordion-49gf1zb8.js → Accordion-7hn324r1.js} +90 -60
- package/web-dist/chunks/{Accordion-7ja4mtbz.js → Accordion-7zfskq1s.js} +1 -1
- package/web-dist/chunks/Accordion-86z2tvvz.js +321 -0
- package/web-dist/chunks/Accordion-8pke1r50.js +1559 -0
- package/web-dist/chunks/{Accordion-395r3wra.js → Accordion-8t3hyjre.js} +2 -2
- package/web-dist/chunks/{Accordion-s42wwh6m.js → Accordion-94y2x5br.js} +6 -6
- package/web-dist/chunks/{Accordion-jzbq36ec.js → Accordion-axewg096.js} +8 -8
- package/web-dist/chunks/{Accordion-fmxygyb6.js → Accordion-be000xf6.js} +4 -4
- package/web-dist/chunks/{Accordion-0jkm3y3w.js → Accordion-bsy1jrak.js} +1 -1
- package/web-dist/chunks/{Accordion-pkqj4g3r.js → Accordion-ctd0h4r8.js} +5 -5
- package/web-dist/chunks/{Accordion-ftjkdjqs.js → Accordion-dm99cvz1.js} +3 -3
- package/web-dist/chunks/{Accordion-h95wvyn5.js → Accordion-egkpe4d2.js} +2 -2
- package/web-dist/chunks/{Accordion-1pp37dtg.js → Accordion-ej3ggc77.js} +4 -4
- package/web-dist/chunks/{Accordion-31aeqxak.js → Accordion-eknpf4ac.js} +3 -3
- package/web-dist/chunks/{Accordion-f5swy5bs.js → Accordion-epgj2djr.js} +1 -1
- package/web-dist/chunks/{Accordion-crx58d5n.js → Accordion-er294z8s.js} +2 -2
- package/web-dist/chunks/{Accordion-8kgtg62g.js → Accordion-et2acvzj.js} +6 -6
- package/web-dist/chunks/{Accordion-cscmtcn8.js → Accordion-ew71mmkm.js} +1 -1
- package/web-dist/chunks/{Accordion-hz4xaqjf.js → Accordion-f77vravp.js} +9 -9
- package/web-dist/chunks/{Accordion-ars389m1.js → Accordion-gdxed3b8.js} +3 -3
- package/web-dist/chunks/{Accordion-f1h2f05v.js → Accordion-j3fs0yak.js} +5 -5
- package/web-dist/chunks/{Accordion-rrpej6sv.js → Accordion-ja4p3a9f.js} +7 -7
- package/web-dist/chunks/{Accordion-grfbz6f2.js → Accordion-k3bc4kad.js} +1 -1
- package/web-dist/chunks/{Accordion-4a6wj3ez.js → Accordion-kw4dssbm.js} +9 -9
- package/web-dist/chunks/{Accordion-x0j8b2by.js → Accordion-m267wpc1.js} +5 -5
- package/web-dist/chunks/{Accordion-gbba10rg.js → Accordion-mt5a3fhc.js} +6 -6
- package/web-dist/chunks/{Accordion-far6szrp.js → Accordion-nc8fk7hn.js} +5 -5
- package/web-dist/chunks/{Accordion-ch67q4t0.js → Accordion-nzqx7f8a.js} +4 -4
- package/web-dist/chunks/{Accordion-33rd76r7.js → Accordion-ppv52ctr.js} +8 -8
- package/web-dist/chunks/{Accordion-f05a7r28.js → Accordion-pssgp0pq.js} +5 -5
- package/web-dist/chunks/{Accordion-1vewf8aa.js → Accordion-st01gxy2.js} +2 -2
- package/web-dist/chunks/{Accordion-t3p4ykg7.js → Accordion-szeexyec.js} +8 -8
- package/web-dist/chunks/{Accordion-t6sdgmbz.js → Accordion-vq462y0x.js} +1 -1
- package/web-dist/chunks/{Accordion-2dws3778.js → Accordion-vr8des0w.js} +4 -4
- package/web-dist/chunks/{Accordion-tx78txec.js → Accordion-w3c6g1jx.js} +5 -5
- package/web-dist/chunks/{Accordion-0psdn97s.js → Accordion-w6n8e1ff.js} +1 -1
- package/web-dist/chunks/{Accordion-sz21xsf4.js → Accordion-wvphg9x4.js} +1 -1
- package/web-dist/chunks/{Accordion-3404tth9.js → Accordion-x30jrtfk.js} +7 -7
- package/web-dist/chunks/{Accordion-jh7nxehr.js → Accordion-x5ny2aax.js} +1 -1
- package/web-dist/chunks/{Accordion-96cqeekv.js → Accordion-ye97yam9.js} +5 -5
- package/web-dist/chunks/{Accordion-hxfa71g9.js → Accordion-yjrr96tn.js} +7 -7
- package/web-dist/chunks/{Accordion-r4c9k9y7.js → Accordion-z3s5pqdw.js} +2 -2
- package/web-dist/components/accordion/Accordion.js +12 -12
- package/web-dist/components/accordion-item/AccordionItem.js +12 -12
- package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -3
- package/web-dist/components/app-bar/AppBar.js +19 -19
- package/web-dist/components/app-shell/AppShell.js +6 -6
- package/web-dist/components/avatar/Avatar.js +12 -12
- package/web-dist/components/avatar-group/AvatarGroup.js +12 -12
- package/web-dist/components/badge/Badge.js +7 -7
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +20 -20
- package/web-dist/components/bottom-sheet/BottomSheet.js +8 -8
- package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +8 -8
- package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +8 -8
- package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +8 -8
- package/web-dist/components/bottom-sheet-view/BottomSheetView.js +8 -8
- package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +8 -8
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +15 -15
- package/web-dist/components/button/Button.js +12 -12
- package/web-dist/components/button-group/ButtonGroup.js +12 -12
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +20 -20
- package/web-dist/components/card/Card.js +19 -19
- package/web-dist/components/card-back/CardBack.d.ts +7 -0
- package/web-dist/components/card-back/CardBack.js +19 -0
- package/web-dist/components/card-back/index.d.ts +1 -0
- package/web-dist/components/card-back/index.js +2 -0
- package/web-dist/components/card-hand/CardHand.d.ts +7 -0
- package/web-dist/components/card-hand/CardHand.js +19 -0
- package/web-dist/components/card-hand/index.d.ts +1 -0
- package/web-dist/components/card-hand/index.js +2 -0
- package/web-dist/components/chat-list-item/ChatListItem.js +16 -16
- package/web-dist/components/checkbox/Checkbox.js +12 -12
- package/web-dist/components/checkbox-group/CheckboxGroup.js +12 -12
- package/web-dist/components/chess-board/ChessBoard.d.ts +4 -0
- package/web-dist/components/chess-board/ChessBoard.js +13 -0
- package/web-dist/components/chess-board/index.d.ts +1 -0
- package/web-dist/components/chess-board/index.js +2 -0
- package/web-dist/components/chip/Chip.js +13 -13
- package/web-dist/components/chip-group/ChipGroup.js +13 -13
- package/web-dist/components/collection-editor/CollectionEditor.js +19 -19
- package/web-dist/components/content-rail/ContentRail.js +13 -13
- package/web-dist/components/data-table/DataTable.js +26 -26
- package/web-dist/components/date-picker/DatePicker.js +17 -17
- package/web-dist/components/dialog/Dialog.js +12 -12
- package/web-dist/components/divider/Divider.js +6 -6
- package/web-dist/components/empty-state/EmptyState.js +20 -20
- package/web-dist/components/field/Field.js +12 -12
- package/web-dist/components/flat-list/FlatList.js +13 -13
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +18 -18
- package/web-dist/components/form/Form.js +16 -16
- package/web-dist/components/form-actions/FormActions.js +16 -16
- package/web-dist/components/form-error/FormError.js +16 -16
- package/web-dist/components/game/Game.d.ts +8 -0
- package/web-dist/components/game/Game.js +25 -0
- package/web-dist/components/game/index.d.ts +1 -0
- package/web-dist/components/game/index.js +2 -0
- package/web-dist/components/game-entity/GameEntity.d.ts +8 -0
- package/web-dist/components/game-entity/GameEntity.js +25 -0
- package/web-dist/components/game-entity/index.d.ts +1 -0
- package/web-dist/components/game-entity/index.js +2 -0
- package/web-dist/components/game-field/GameField.d.ts +8 -0
- package/web-dist/components/game-field/GameField.js +25 -0
- package/web-dist/components/game-field/index.d.ts +1 -0
- package/web-dist/components/game-field/index.js +2 -0
- package/web-dist/components/game-input-zone/GameInputZone.d.ts +8 -0
- package/web-dist/components/game-input-zone/GameInputZone.js +25 -0
- package/web-dist/components/game-input-zone/index.d.ts +1 -0
- package/web-dist/components/game-input-zone/index.js +2 -0
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.d.ts +8 -0
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +25 -0
- package/web-dist/components/game-measurement-probe/index.d.ts +1 -0
- package/web-dist/components/game-measurement-probe/index.js +2 -0
- package/web-dist/components/game-overlay/GameOverlay.d.ts +8 -0
- package/web-dist/components/game-overlay/GameOverlay.js +25 -0
- package/web-dist/components/game-overlay/index.d.ts +1 -0
- package/web-dist/components/game-overlay/index.js +2 -0
- package/web-dist/components/gradient/Gradient.js +7 -7
- package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +7 -7
- package/web-dist/components/grid/Grid.js +6 -6
- package/web-dist/components/heading/Heading.js +6 -6
- package/web-dist/components/hero/Hero.js +19 -19
- package/web-dist/components/icon/Icon.js +4 -4
- package/web-dist/components/icon-button/IconButton.js +12 -12
- package/web-dist/components/image/Image.js +10 -10
- package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +2 -2
- package/web-dist/components/list/List.js +13 -13
- package/web-dist/components/list-item/ListItem.js +13 -13
- package/web-dist/components/list-section/ListSection.js +13 -13
- package/web-dist/components/media-card/MediaCard.js +19 -19
- package/web-dist/components/message-bubble/MessageBubble.js +16 -16
- package/web-dist/components/metric-card/MetricCard.js +19 -19
- package/web-dist/components/missing-element/MissingElement.js +11 -11
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +18 -18
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +18 -18
- package/web-dist/components/opening-book/OpeningBook.d.ts +4 -0
- package/web-dist/components/opening-book/OpeningBook.js +13 -0
- package/web-dist/components/opening-book/index.d.ts +1 -0
- package/web-dist/components/opening-book/index.js +2 -0
- package/web-dist/components/otp-form/OtpForm.js +18 -18
- package/web-dist/components/pagination/Pagination.js +13 -13
- package/web-dist/components/palette-item/PaletteItem.js +19 -19
- package/web-dist/components/playing-card/PlayingCard.d.ts +7 -0
- package/web-dist/components/playing-card/PlayingCard.js +19 -0
- package/web-dist/components/playing-card/index.d.ts +1 -0
- package/web-dist/components/playing-card/index.js +2 -0
- package/web-dist/components/poker-training-table/PokerTrainingTable.d.ts +7 -0
- package/web-dist/components/poker-training-table/PokerTrainingTable.js +19 -0
- package/web-dist/components/poker-training-table/index.d.ts +1 -0
- package/web-dist/components/poker-training-table/index.js +2 -0
- package/web-dist/components/popover-menu/PopoverMenu.js +14 -14
- package/web-dist/components/post-card/PostCard.js +19 -19
- package/web-dist/components/product-card/ProductCard.js +19 -19
- package/web-dist/components/progress/Progress.js +10 -10
- package/web-dist/components/progress-ring/ProgressRing.js +10 -10
- package/web-dist/components/radio/Radio.js +14 -14
- package/web-dist/components/radio-group/RadioGroup.js +14 -14
- package/web-dist/components/rating/Rating.js +9 -9
- package/web-dist/components/reader-surface/ReaderSurface.js +21 -21
- package/web-dist/components/scan-overlay/ScanOverlay.js +20 -20
- package/web-dist/components/screen/Screen.js +6 -6
- package/web-dist/components/screen-section/ScreenSection.js +10 -10
- package/web-dist/components/scroll-view/ScrollView.js +6 -6
- package/web-dist/components/search-input/SearchInput.js +13 -13
- package/web-dist/components/section-header/SectionHeader.js +10 -10
- package/web-dist/components/section-list/SectionList.js +13 -13
- package/web-dist/components/select/Select.js +16 -16
- package/web-dist/components/selectable-item/SelectableItem.js +5 -5
- package/web-dist/components/selection-provider/SelectionProvider.js +5 -5
- package/web-dist/components/sign-in-form/SignInForm.js +18 -18
- package/web-dist/components/sign-up-form/SignUpForm.js +18 -18
- package/web-dist/components/skeleton/Skeleton.js +22 -22
- package/web-dist/components/skeleton-card/SkeletonCard.js +22 -22
- package/web-dist/components/skeleton-list/SkeletonList.js +22 -22
- package/web-dist/components/skeleton-text/SkeletonText.js +22 -22
- package/web-dist/components/surface/Surface.js +7 -7
- package/web-dist/components/switch/Switch.js +7 -7
- package/web-dist/components/tab/Tab.js +7 -7
- package/web-dist/components/tab-list/TabList.js +7 -7
- package/web-dist/components/tab-panel/TabPanel.js +7 -7
- package/web-dist/components/tabletop-table/TabletopTable.d.ts +7 -0
- package/web-dist/components/tabletop-table/TabletopTable.js +19 -0
- package/web-dist/components/tabletop-table/index.d.ts +1 -0
- package/web-dist/components/tabletop-table/index.js +2 -0
- package/web-dist/components/tabs/Tabs.js +7 -7
- package/web-dist/components/text/Text.js +6 -6
- package/web-dist/components/text-input/TextInput.js +13 -13
- package/web-dist/components/time-picker/TimePicker.js +17 -17
- package/web-dist/components/timeline/Timeline.js +11 -11
- package/web-dist/components/toast/Toast.js +9 -9
- package/web-dist/components/toast-provider/ToastProvider.js +9 -9
- package/web-dist/components/toolbar/Toolbar.js +19 -19
- package/web-dist/components/tree-item/TreeItem.js +16 -16
- package/web-dist/components/uploader/Uploader.js +22 -22
- package/web-dist/components/view/View.js +6 -6
- package/web-dist/manifest.json +1648 -1377
- package/web-dist/runtime/ZoraProvider.js +8 -8
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
export declare const cardBackMeta: {
|
|
2
|
+
readonly name: "CardBack";
|
|
3
|
+
readonly category: "component";
|
|
4
|
+
readonly description: "Renders one face-down playing card.";
|
|
5
|
+
readonly directManifestNode: false;
|
|
6
|
+
readonly allowedChildren: readonly [];
|
|
7
|
+
readonly note: "Public card primitive composed by code-facing tabletop components, not a direct manifest node.";
|
|
8
|
+
readonly blueprint: {
|
|
9
|
+
readonly label: "Card back";
|
|
10
|
+
readonly defaultProps: {
|
|
11
|
+
readonly size: "medium";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
readonly props: {
|
|
15
|
+
readonly size: {
|
|
16
|
+
readonly type: "enum";
|
|
17
|
+
readonly category: "Style";
|
|
18
|
+
readonly label: "Size";
|
|
19
|
+
readonly enum: readonly ["small", "medium", "large"];
|
|
20
|
+
readonly default: "medium";
|
|
21
|
+
readonly authoring: {
|
|
22
|
+
readonly authority: "instance";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
readonly muted: {
|
|
26
|
+
readonly type: "boolean";
|
|
27
|
+
readonly category: "State";
|
|
28
|
+
readonly label: "Muted";
|
|
29
|
+
readonly default: false;
|
|
30
|
+
readonly authoring: {
|
|
31
|
+
readonly authority: "instance";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export declare const cardHandMeta: {
|
|
37
|
+
readonly name: "CardHand";
|
|
38
|
+
readonly category: "component";
|
|
39
|
+
readonly description: "Renders a compact caller-owned card hand.";
|
|
40
|
+
readonly directManifestNode: false;
|
|
41
|
+
readonly allowedChildren: readonly [];
|
|
42
|
+
readonly note: "Public hand primitive composed by code-facing tabletop components, not a direct manifest node.";
|
|
43
|
+
readonly blueprint: {
|
|
44
|
+
readonly label: "Card hand";
|
|
45
|
+
readonly defaultProps: {
|
|
46
|
+
readonly cards: readonly [];
|
|
47
|
+
readonly faceDownCards: 0;
|
|
48
|
+
readonly size: "medium";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly props: {
|
|
52
|
+
readonly cards: {
|
|
53
|
+
readonly type: "array";
|
|
54
|
+
readonly category: "Cards";
|
|
55
|
+
readonly label: "Cards";
|
|
56
|
+
readonly default: readonly [];
|
|
57
|
+
readonly authoring: {
|
|
58
|
+
readonly authority: "instance";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly faceDownCards: {
|
|
62
|
+
readonly type: "number";
|
|
63
|
+
readonly category: "Cards";
|
|
64
|
+
readonly label: "Face-down cards";
|
|
65
|
+
readonly default: 0;
|
|
66
|
+
readonly authoring: {
|
|
67
|
+
readonly authority: "instance";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
readonly size: {
|
|
71
|
+
readonly type: "enum";
|
|
72
|
+
readonly category: "Style";
|
|
73
|
+
readonly label: "Size";
|
|
74
|
+
readonly enum: readonly ["small", "medium", "large"];
|
|
75
|
+
readonly default: "medium";
|
|
76
|
+
readonly authoring: {
|
|
77
|
+
readonly authority: "instance";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const playingCardMeta: {
|
|
83
|
+
readonly name: "PlayingCard";
|
|
84
|
+
readonly category: "component";
|
|
85
|
+
readonly description: "Renders one face-up caller-owned playing card.";
|
|
86
|
+
readonly directManifestNode: false;
|
|
87
|
+
readonly allowedChildren: readonly [];
|
|
88
|
+
readonly note: "Public card primitive composed by code-facing tabletop components, not a direct manifest node.";
|
|
89
|
+
readonly blueprint: {
|
|
90
|
+
readonly label: "Playing card";
|
|
91
|
+
readonly defaultProps: {
|
|
92
|
+
readonly card: {
|
|
93
|
+
readonly rank: "A";
|
|
94
|
+
readonly suit: "spades";
|
|
95
|
+
};
|
|
96
|
+
readonly size: "medium";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
readonly bindings: {
|
|
100
|
+
readonly props: {
|
|
101
|
+
readonly card: {
|
|
102
|
+
readonly label: "Card";
|
|
103
|
+
readonly value: {
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
};
|
|
106
|
+
readonly acceptsFallback: true;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly props: {
|
|
111
|
+
readonly size: {
|
|
112
|
+
readonly type: "enum";
|
|
113
|
+
readonly category: "Style";
|
|
114
|
+
readonly label: "Size";
|
|
115
|
+
readonly enum: readonly ["small", "medium", "large"];
|
|
116
|
+
readonly default: "medium";
|
|
117
|
+
readonly authoring: {
|
|
118
|
+
readonly authority: "instance";
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
readonly selected: {
|
|
122
|
+
readonly type: "boolean";
|
|
123
|
+
readonly category: "State";
|
|
124
|
+
readonly label: "Selected";
|
|
125
|
+
readonly default: false;
|
|
126
|
+
readonly authoring: {
|
|
127
|
+
readonly authority: "instance";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export declare const tabletopTableMeta: {
|
|
133
|
+
readonly name: "TabletopTable";
|
|
134
|
+
readonly category: "component";
|
|
135
|
+
readonly description: "Arranges caller-owned player seats and shared cards around a responsive tabletop surface.";
|
|
136
|
+
readonly directManifestNode: true;
|
|
137
|
+
readonly allowedChildren: readonly [];
|
|
138
|
+
readonly blueprint: {
|
|
139
|
+
readonly label: "Tabletop table";
|
|
140
|
+
readonly defaultProps: {
|
|
141
|
+
readonly seats: readonly [];
|
|
142
|
+
readonly centerCards: readonly [];
|
|
143
|
+
readonly shape: "oval";
|
|
144
|
+
readonly cardSize: "small";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly bindings: {
|
|
148
|
+
readonly props: {
|
|
149
|
+
readonly seats: {
|
|
150
|
+
readonly label: "Seats";
|
|
151
|
+
readonly value: {
|
|
152
|
+
readonly type: "array";
|
|
153
|
+
readonly itemType: "object";
|
|
154
|
+
};
|
|
155
|
+
readonly acceptsFallback: true;
|
|
156
|
+
readonly acceptsTransforms: true;
|
|
157
|
+
};
|
|
158
|
+
readonly centerCards: {
|
|
159
|
+
readonly label: "Center cards";
|
|
160
|
+
readonly value: {
|
|
161
|
+
readonly type: "array";
|
|
162
|
+
readonly itemType: "object";
|
|
163
|
+
};
|
|
164
|
+
readonly acceptsFallback: true;
|
|
165
|
+
readonly acceptsTransforms: true;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
readonly props: {
|
|
170
|
+
readonly seats: {
|
|
171
|
+
readonly type: "array";
|
|
172
|
+
readonly category: "Players";
|
|
173
|
+
readonly label: "Seats";
|
|
174
|
+
readonly default: readonly [];
|
|
175
|
+
readonly authoring: {
|
|
176
|
+
readonly authority: "instance";
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
readonly centerCards: {
|
|
180
|
+
readonly type: "array";
|
|
181
|
+
readonly category: "Table";
|
|
182
|
+
readonly label: "Center cards";
|
|
183
|
+
readonly default: readonly [];
|
|
184
|
+
readonly authoring: {
|
|
185
|
+
readonly authority: "instance";
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
readonly centerLabel: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly category: "Table";
|
|
191
|
+
readonly label: "Center label";
|
|
192
|
+
readonly authoring: {
|
|
193
|
+
readonly authority: "instance";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
readonly centerSublabel: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
readonly category: "Table";
|
|
199
|
+
readonly label: "Center sublabel";
|
|
200
|
+
readonly authoring: {
|
|
201
|
+
readonly authority: "instance";
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
readonly shape: {
|
|
205
|
+
readonly type: "enum";
|
|
206
|
+
readonly category: "Table";
|
|
207
|
+
readonly label: "Shape";
|
|
208
|
+
readonly enum: readonly ["circle", "oval", "rounded"];
|
|
209
|
+
readonly default: "oval";
|
|
210
|
+
readonly authoring: {
|
|
211
|
+
readonly authority: "instance";
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
readonly seatCount: {
|
|
215
|
+
readonly type: "enum";
|
|
216
|
+
readonly category: "Players";
|
|
217
|
+
readonly label: "Seat count";
|
|
218
|
+
readonly enum: readonly [2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
219
|
+
readonly authoring: {
|
|
220
|
+
readonly authority: "instance";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
readonly cardSize: {
|
|
224
|
+
readonly type: "enum";
|
|
225
|
+
readonly category: "Cards";
|
|
226
|
+
readonly label: "Card size";
|
|
227
|
+
readonly enum: readonly ["small", "medium", "large"];
|
|
228
|
+
readonly default: "small";
|
|
229
|
+
readonly authoring: {
|
|
230
|
+
readonly authority: "instance";
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
readonly disabled: {
|
|
234
|
+
readonly type: "boolean";
|
|
235
|
+
readonly category: "State";
|
|
236
|
+
readonly label: "Disabled";
|
|
237
|
+
readonly default: false;
|
|
238
|
+
readonly authoring: {
|
|
239
|
+
readonly authority: "instance";
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
readonly accessibilityLabel: {
|
|
243
|
+
readonly type: "string";
|
|
244
|
+
readonly category: "Accessibility";
|
|
245
|
+
readonly label: "Accessibility label";
|
|
246
|
+
readonly authoring: {
|
|
247
|
+
readonly authority: "instance";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
export declare const pokerTrainingTableMeta: {
|
|
253
|
+
readonly name: "PokerTrainingTable";
|
|
254
|
+
readonly category: "pattern";
|
|
255
|
+
readonly description: "Maps serializable poker table data into the reusable tabletop presentation.";
|
|
256
|
+
readonly directManifestNode: true;
|
|
257
|
+
readonly allowedChildren: readonly [];
|
|
258
|
+
readonly blueprint: {
|
|
259
|
+
readonly label: "Poker training table";
|
|
260
|
+
readonly defaultProps: {
|
|
261
|
+
readonly task: {};
|
|
262
|
+
readonly defaultStackBigBlinds: 100;
|
|
263
|
+
readonly shape: "oval";
|
|
264
|
+
readonly cardSize: "small";
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
readonly bindings: {
|
|
268
|
+
readonly props: {
|
|
269
|
+
readonly task: {
|
|
270
|
+
readonly label: "Poker training task";
|
|
271
|
+
readonly description: "Table-relevant fields from a poker training task.";
|
|
272
|
+
readonly value: {
|
|
273
|
+
readonly type: "object";
|
|
274
|
+
readonly fields: readonly [{
|
|
275
|
+
readonly path: "blinds";
|
|
276
|
+
readonly type: "object";
|
|
277
|
+
readonly label: "Blinds";
|
|
278
|
+
}, {
|
|
279
|
+
readonly path: "heroPosition";
|
|
280
|
+
readonly type: "string";
|
|
281
|
+
readonly label: "Hero position";
|
|
282
|
+
}, {
|
|
283
|
+
readonly path: "heroCards";
|
|
284
|
+
readonly type: "array";
|
|
285
|
+
readonly label: "Hero cards";
|
|
286
|
+
}, {
|
|
287
|
+
readonly path: "communityCards";
|
|
288
|
+
readonly type: "array";
|
|
289
|
+
readonly label: "Community cards";
|
|
290
|
+
}, {
|
|
291
|
+
readonly path: "pot";
|
|
292
|
+
readonly type: "number";
|
|
293
|
+
readonly label: "Pot";
|
|
294
|
+
}, {
|
|
295
|
+
readonly path: "players";
|
|
296
|
+
readonly type: "array";
|
|
297
|
+
readonly label: "Players";
|
|
298
|
+
}];
|
|
299
|
+
};
|
|
300
|
+
readonly acceptsFallback: true;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
readonly props: {
|
|
305
|
+
readonly defaultStackBigBlinds: {
|
|
306
|
+
readonly type: "number";
|
|
307
|
+
readonly category: "Players";
|
|
308
|
+
readonly label: "Default stack in big blinds";
|
|
309
|
+
readonly default: 100;
|
|
310
|
+
readonly authoring: {
|
|
311
|
+
readonly authority: "instance";
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
readonly shape: {
|
|
315
|
+
readonly type: "enum";
|
|
316
|
+
readonly category: "Table";
|
|
317
|
+
readonly label: "Shape";
|
|
318
|
+
readonly enum: readonly ["circle", "oval", "rounded"];
|
|
319
|
+
readonly default: "oval";
|
|
320
|
+
readonly authoring: {
|
|
321
|
+
readonly authority: "instance";
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
readonly cardSize: {
|
|
325
|
+
readonly type: "enum";
|
|
326
|
+
readonly category: "Cards";
|
|
327
|
+
readonly label: "Card size";
|
|
328
|
+
readonly enum: readonly ["small", "medium", "large"];
|
|
329
|
+
readonly default: "small";
|
|
330
|
+
readonly authoring: {
|
|
331
|
+
readonly authority: "instance";
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly disabled: {
|
|
335
|
+
readonly type: "boolean";
|
|
336
|
+
readonly category: "State";
|
|
337
|
+
readonly label: "Disabled";
|
|
338
|
+
readonly default: false;
|
|
339
|
+
readonly authoring: {
|
|
340
|
+
readonly authority: "instance";
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly accessibilityLabel: {
|
|
344
|
+
readonly type: "string";
|
|
345
|
+
readonly category: "Accessibility";
|
|
346
|
+
readonly label: "Accessibility label";
|
|
347
|
+
readonly authoring: {
|
|
348
|
+
readonly authority: "instance";
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/features/tabletop/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBa,CAAC;AACvC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCa,CAAC;AACvC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BU,CAAC;AACvC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FQ,CAAC;AACvC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEG,CAAC"}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
export const cardBackMeta = {
|
|
2
|
+
name: 'CardBack',
|
|
3
|
+
category: 'component',
|
|
4
|
+
description: 'Renders one face-down playing card.',
|
|
5
|
+
directManifestNode: false,
|
|
6
|
+
allowedChildren: [],
|
|
7
|
+
note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',
|
|
8
|
+
blueprint: { label: 'Card back', defaultProps: { size: 'medium' } },
|
|
9
|
+
props: {
|
|
10
|
+
size: {
|
|
11
|
+
type: 'enum',
|
|
12
|
+
category: 'Style',
|
|
13
|
+
label: 'Size',
|
|
14
|
+
enum: ['small', 'medium', 'large'],
|
|
15
|
+
default: 'medium',
|
|
16
|
+
authoring: { authority: 'instance' },
|
|
17
|
+
},
|
|
18
|
+
muted: {
|
|
19
|
+
type: 'boolean',
|
|
20
|
+
category: 'State',
|
|
21
|
+
label: 'Muted',
|
|
22
|
+
default: false,
|
|
23
|
+
authoring: { authority: 'instance' },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
export const cardHandMeta = {
|
|
28
|
+
name: 'CardHand',
|
|
29
|
+
category: 'component',
|
|
30
|
+
description: 'Renders a compact caller-owned card hand.',
|
|
31
|
+
directManifestNode: false,
|
|
32
|
+
allowedChildren: [],
|
|
33
|
+
note: 'Public hand primitive composed by code-facing tabletop components, not a direct manifest node.',
|
|
34
|
+
blueprint: { label: 'Card hand', defaultProps: { cards: [], faceDownCards: 0, size: 'medium' } },
|
|
35
|
+
props: {
|
|
36
|
+
cards: {
|
|
37
|
+
type: 'array',
|
|
38
|
+
category: 'Cards',
|
|
39
|
+
label: 'Cards',
|
|
40
|
+
default: [],
|
|
41
|
+
authoring: { authority: 'instance' },
|
|
42
|
+
},
|
|
43
|
+
faceDownCards: {
|
|
44
|
+
type: 'number',
|
|
45
|
+
category: 'Cards',
|
|
46
|
+
label: 'Face-down cards',
|
|
47
|
+
default: 0,
|
|
48
|
+
authoring: { authority: 'instance' },
|
|
49
|
+
},
|
|
50
|
+
size: {
|
|
51
|
+
type: 'enum',
|
|
52
|
+
category: 'Style',
|
|
53
|
+
label: 'Size',
|
|
54
|
+
enum: ['small', 'medium', 'large'],
|
|
55
|
+
default: 'medium',
|
|
56
|
+
authoring: { authority: 'instance' },
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
export const playingCardMeta = {
|
|
61
|
+
name: 'PlayingCard',
|
|
62
|
+
category: 'component',
|
|
63
|
+
description: 'Renders one face-up caller-owned playing card.',
|
|
64
|
+
directManifestNode: false,
|
|
65
|
+
allowedChildren: [],
|
|
66
|
+
note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',
|
|
67
|
+
blueprint: {
|
|
68
|
+
label: 'Playing card',
|
|
69
|
+
defaultProps: { card: { rank: 'A', suit: 'spades' }, size: 'medium' },
|
|
70
|
+
},
|
|
71
|
+
bindings: {
|
|
72
|
+
props: { card: { label: 'Card', value: { type: 'object' }, acceptsFallback: true } },
|
|
73
|
+
},
|
|
74
|
+
props: {
|
|
75
|
+
size: {
|
|
76
|
+
type: 'enum',
|
|
77
|
+
category: 'Style',
|
|
78
|
+
label: 'Size',
|
|
79
|
+
enum: ['small', 'medium', 'large'],
|
|
80
|
+
default: 'medium',
|
|
81
|
+
authoring: { authority: 'instance' },
|
|
82
|
+
},
|
|
83
|
+
selected: {
|
|
84
|
+
type: 'boolean',
|
|
85
|
+
category: 'State',
|
|
86
|
+
label: 'Selected',
|
|
87
|
+
default: false,
|
|
88
|
+
authoring: { authority: 'instance' },
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
export const tabletopTableMeta = {
|
|
93
|
+
name: 'TabletopTable',
|
|
94
|
+
category: 'component',
|
|
95
|
+
description: 'Arranges caller-owned player seats and shared cards around a responsive tabletop surface.',
|
|
96
|
+
directManifestNode: true,
|
|
97
|
+
allowedChildren: [],
|
|
98
|
+
blueprint: {
|
|
99
|
+
label: 'Tabletop table',
|
|
100
|
+
defaultProps: { seats: [], centerCards: [], shape: 'oval', cardSize: 'small' },
|
|
101
|
+
},
|
|
102
|
+
bindings: {
|
|
103
|
+
props: {
|
|
104
|
+
seats: {
|
|
105
|
+
label: 'Seats',
|
|
106
|
+
value: { type: 'array', itemType: 'object' },
|
|
107
|
+
acceptsFallback: true,
|
|
108
|
+
acceptsTransforms: true,
|
|
109
|
+
},
|
|
110
|
+
centerCards: {
|
|
111
|
+
label: 'Center cards',
|
|
112
|
+
value: { type: 'array', itemType: 'object' },
|
|
113
|
+
acceptsFallback: true,
|
|
114
|
+
acceptsTransforms: true,
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
props: {
|
|
119
|
+
seats: {
|
|
120
|
+
type: 'array',
|
|
121
|
+
category: 'Players',
|
|
122
|
+
label: 'Seats',
|
|
123
|
+
default: [],
|
|
124
|
+
authoring: { authority: 'instance' },
|
|
125
|
+
},
|
|
126
|
+
centerCards: {
|
|
127
|
+
type: 'array',
|
|
128
|
+
category: 'Table',
|
|
129
|
+
label: 'Center cards',
|
|
130
|
+
default: [],
|
|
131
|
+
authoring: { authority: 'instance' },
|
|
132
|
+
},
|
|
133
|
+
centerLabel: {
|
|
134
|
+
type: 'string',
|
|
135
|
+
category: 'Table',
|
|
136
|
+
label: 'Center label',
|
|
137
|
+
authoring: { authority: 'instance' },
|
|
138
|
+
},
|
|
139
|
+
centerSublabel: {
|
|
140
|
+
type: 'string',
|
|
141
|
+
category: 'Table',
|
|
142
|
+
label: 'Center sublabel',
|
|
143
|
+
authoring: { authority: 'instance' },
|
|
144
|
+
},
|
|
145
|
+
shape: {
|
|
146
|
+
type: 'enum',
|
|
147
|
+
category: 'Table',
|
|
148
|
+
label: 'Shape',
|
|
149
|
+
enum: ['circle', 'oval', 'rounded'],
|
|
150
|
+
default: 'oval',
|
|
151
|
+
authoring: { authority: 'instance' },
|
|
152
|
+
},
|
|
153
|
+
seatCount: {
|
|
154
|
+
type: 'enum',
|
|
155
|
+
category: 'Players',
|
|
156
|
+
label: 'Seat count',
|
|
157
|
+
enum: [2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
158
|
+
authoring: { authority: 'instance' },
|
|
159
|
+
},
|
|
160
|
+
cardSize: {
|
|
161
|
+
type: 'enum',
|
|
162
|
+
category: 'Cards',
|
|
163
|
+
label: 'Card size',
|
|
164
|
+
enum: ['small', 'medium', 'large'],
|
|
165
|
+
default: 'small',
|
|
166
|
+
authoring: { authority: 'instance' },
|
|
167
|
+
},
|
|
168
|
+
disabled: {
|
|
169
|
+
type: 'boolean',
|
|
170
|
+
category: 'State',
|
|
171
|
+
label: 'Disabled',
|
|
172
|
+
default: false,
|
|
173
|
+
authoring: { authority: 'instance' },
|
|
174
|
+
},
|
|
175
|
+
accessibilityLabel: {
|
|
176
|
+
type: 'string',
|
|
177
|
+
category: 'Accessibility',
|
|
178
|
+
label: 'Accessibility label',
|
|
179
|
+
authoring: { authority: 'instance' },
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
export const pokerTrainingTableMeta = {
|
|
184
|
+
name: 'PokerTrainingTable',
|
|
185
|
+
category: 'pattern',
|
|
186
|
+
description: 'Maps serializable poker table data into the reusable tabletop presentation.',
|
|
187
|
+
directManifestNode: true,
|
|
188
|
+
allowedChildren: [],
|
|
189
|
+
blueprint: {
|
|
190
|
+
label: 'Poker training table',
|
|
191
|
+
defaultProps: { task: {}, defaultStackBigBlinds: 100, shape: 'oval', cardSize: 'small' },
|
|
192
|
+
},
|
|
193
|
+
bindings: {
|
|
194
|
+
props: {
|
|
195
|
+
task: {
|
|
196
|
+
label: 'Poker training task',
|
|
197
|
+
description: 'Table-relevant fields from a poker training task.',
|
|
198
|
+
value: {
|
|
199
|
+
type: 'object',
|
|
200
|
+
fields: [
|
|
201
|
+
{ path: 'blinds', type: 'object', label: 'Blinds' },
|
|
202
|
+
{ path: 'heroPosition', type: 'string', label: 'Hero position' },
|
|
203
|
+
{ path: 'heroCards', type: 'array', label: 'Hero cards' },
|
|
204
|
+
{ path: 'communityCards', type: 'array', label: 'Community cards' },
|
|
205
|
+
{ path: 'pot', type: 'number', label: 'Pot' },
|
|
206
|
+
{ path: 'players', type: 'array', label: 'Players' },
|
|
207
|
+
],
|
|
208
|
+
},
|
|
209
|
+
acceptsFallback: true,
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
props: {
|
|
214
|
+
defaultStackBigBlinds: {
|
|
215
|
+
type: 'number',
|
|
216
|
+
category: 'Players',
|
|
217
|
+
label: 'Default stack in big blinds',
|
|
218
|
+
default: 100,
|
|
219
|
+
authoring: { authority: 'instance' },
|
|
220
|
+
},
|
|
221
|
+
shape: {
|
|
222
|
+
type: 'enum',
|
|
223
|
+
category: 'Table',
|
|
224
|
+
label: 'Shape',
|
|
225
|
+
enum: ['circle', 'oval', 'rounded'],
|
|
226
|
+
default: 'oval',
|
|
227
|
+
authoring: { authority: 'instance' },
|
|
228
|
+
},
|
|
229
|
+
cardSize: {
|
|
230
|
+
type: 'enum',
|
|
231
|
+
category: 'Cards',
|
|
232
|
+
label: 'Card size',
|
|
233
|
+
enum: ['small', 'medium', 'large'],
|
|
234
|
+
default: 'small',
|
|
235
|
+
authoring: { authority: 'instance' },
|
|
236
|
+
},
|
|
237
|
+
disabled: {
|
|
238
|
+
type: 'boolean',
|
|
239
|
+
category: 'State',
|
|
240
|
+
label: 'Disabled',
|
|
241
|
+
default: false,
|
|
242
|
+
authoring: { authority: 'instance' },
|
|
243
|
+
},
|
|
244
|
+
accessibilityLabel: {
|
|
245
|
+
type: 'string',
|
|
246
|
+
category: 'Accessibility',
|
|
247
|
+
label: 'Accessibility label',
|
|
248
|
+
authoring: { authority: 'instance' },
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
};
|
|
252
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/features/tabletop/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,qCAAqC;IAClD,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,gGAAgG;IACtG,SAAS,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE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,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC;YACnC,OAAO,EAAE,MAAM;YACf,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;YAClC,OAAO,EAAE,OAAO;YAChB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,eAAe;YACzB,KAAK,EAAE,qBAAqB;YAC5B,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const cardBackMeta = {\n name: 'CardBack',\n category: 'component',\n description: 'Renders one face-down playing card.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: { label: 'Card back', defaultProps: { size: 'medium' } },\n props: {\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n muted: {\n type: 'boolean',\n category: 'State',\n label: 'Muted',\n default: false,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const cardHandMeta = {\n name: 'CardHand',\n category: 'component',\n description: 'Renders a compact caller-owned card hand.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public hand primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: { label: 'Card hand', defaultProps: { cards: [], faceDownCards: 0, size: 'medium' } },\n props: {\n cards: {\n type: 'array',\n category: 'Cards',\n label: 'Cards',\n default: [],\n authoring: { authority: 'instance' },\n },\n faceDownCards: {\n type: 'number',\n category: 'Cards',\n label: 'Face-down cards',\n default: 0,\n authoring: { authority: 'instance' },\n },\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const playingCardMeta = {\n name: 'PlayingCard',\n category: 'component',\n description: 'Renders one face-up caller-owned playing card.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: {\n label: 'Playing card',\n defaultProps: { card: { rank: 'A', suit: 'spades' }, size: 'medium' },\n },\n bindings: {\n props: { card: { label: 'Card', value: { type: 'object' }, acceptsFallback: true } },\n },\n props: {\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n selected: {\n type: 'boolean',\n category: 'State',\n label: 'Selected',\n default: false,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const tabletopTableMeta = {\n name: 'TabletopTable',\n category: 'component',\n description:\n 'Arranges caller-owned player seats and shared cards around a responsive tabletop surface.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Tabletop table',\n defaultProps: { seats: [], centerCards: [], shape: 'oval', cardSize: 'small' },\n },\n bindings: {\n props: {\n seats: {\n label: 'Seats',\n value: { type: 'array', itemType: 'object' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n centerCards: {\n label: 'Center cards',\n value: { type: 'array', itemType: 'object' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n seats: {\n type: 'array',\n category: 'Players',\n label: 'Seats',\n default: [],\n authoring: { authority: 'instance' },\n },\n centerCards: {\n type: 'array',\n category: 'Table',\n label: 'Center cards',\n default: [],\n authoring: { authority: 'instance' },\n },\n centerLabel: {\n type: 'string',\n category: 'Table',\n label: 'Center label',\n authoring: { authority: 'instance' },\n },\n centerSublabel: {\n type: 'string',\n category: 'Table',\n label: 'Center sublabel',\n authoring: { authority: 'instance' },\n },\n shape: {\n type: 'enum',\n category: 'Table',\n label: 'Shape',\n enum: ['circle', 'oval', 'rounded'],\n default: 'oval',\n authoring: { authority: 'instance' },\n },\n seatCount: {\n type: 'enum',\n category: 'Players',\n label: 'Seat count',\n enum: [2, 3, 4, 5, 6, 7, 8, 9, 10],\n authoring: { authority: 'instance' },\n },\n cardSize: {\n type: 'enum',\n category: 'Cards',\n label: 'Card size',\n enum: ['small', 'medium', 'large'],\n default: 'small',\n authoring: { authority: 'instance' },\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n authoring: { authority: 'instance' },\n },\n accessibilityLabel: {\n type: 'string',\n category: 'Accessibility',\n label: 'Accessibility label',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const pokerTrainingTableMeta = {\n name: 'PokerTrainingTable',\n category: 'pattern',\n description: 'Maps serializable poker table data into the reusable tabletop presentation.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Poker training table',\n defaultProps: { task: {}, defaultStackBigBlinds: 100, shape: 'oval', cardSize: 'small' },\n },\n bindings: {\n props: {\n task: {\n label: 'Poker training task',\n description: 'Table-relevant fields from a poker training task.',\n value: {\n type: 'object',\n fields: [\n { path: 'blinds', type: 'object', label: 'Blinds' },\n { path: 'heroPosition', type: 'string', label: 'Hero position' },\n { path: 'heroCards', type: 'array', label: 'Hero cards' },\n { path: 'communityCards', type: 'array', label: 'Community cards' },\n { path: 'pot', type: 'number', label: 'Pot' },\n { path: 'players', type: 'array', label: 'Players' },\n ],\n },\n acceptsFallback: true,\n },\n },\n },\n props: {\n defaultStackBigBlinds: {\n type: 'number',\n category: 'Players',\n label: 'Default stack in big blinds',\n default: 100,\n authoring: { authority: 'instance' },\n },\n shape: {\n type: 'enum',\n category: 'Table',\n label: 'Shape',\n enum: ['circle', 'oval', 'rounded'],\n default: 'oval',\n authoring: { authority: 'instance' },\n },\n cardSize: {\n type: 'enum',\n category: 'Cards',\n label: 'Card size',\n enum: ['small', 'medium', 'large'],\n default: 'small',\n authoring: { authority: 'instance' },\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n authoring: { authority: 'instance' },\n },\n accessibilityLabel: {\n type: 'string',\n category: 'Accessibility',\n label: 'Accessibility label',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type { CardBackProps, CardHandProps, CreatePokerTrainingTableStateOptions, CreateTabletopGameSeatsInput, PlayingCardProps, PlayingCardSuit, PlayingCardValue, PokerTrainingPlayer, PokerTrainingTableProps, PokerTrainingTableSize, PokerTrainingTableState, PokerTrainingTaskTableData, TabletopCardSize, TabletopColorOverrides, TabletopColorScheme, TabletopGameParticipantState, TabletopGameSeatDefinition, TabletopGameSeatPresentation, TabletopSeatCount, TabletopSeatState, TabletopShape, TabletopTableProps, } from '../../types/tabletop';
|
|
2
|
+
export { CardBack } from './adapters/inbound/CardBack';
|
|
3
|
+
export { CardHand } from './adapters/inbound/CardHand';
|
|
4
|
+
export { PlayingCard } from './adapters/inbound/PlayingCard';
|
|
5
|
+
export { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';
|
|
6
|
+
export { TabletopTable } from './adapters/inbound/TabletopTable';
|
|
7
|
+
export { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';
|
|
8
|
+
export { createTabletopColorScheme } from './utils/createTabletopColorScheme';
|
|
9
|
+
export { createTabletopGameSeats } from './utils/createTabletopGameSeats';
|
|
10
|
+
//# sourceMappingURL=public.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/tabletop/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,aAAa,EACb,oCAAoC,EACpC,4BAA4B,EAC5B,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { CardBack } from './adapters/inbound/CardBack';
|
|
2
|
+
export { CardHand } from './adapters/inbound/CardHand';
|
|
3
|
+
export { PlayingCard } from './adapters/inbound/PlayingCard';
|
|
4
|
+
export { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';
|
|
5
|
+
export { TabletopTable } from './adapters/inbound/TabletopTable';
|
|
6
|
+
export { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';
|
|
7
|
+
export { createTabletopColorScheme } from './utils/createTabletopColorScheme';
|
|
8
|
+
export { createTabletopGameSeats } from './utils/createTabletopGameSeats';
|
|
9
|
+
//# sourceMappingURL=public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/tabletop/public.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC","sourcesContent":["export type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from '../../types/tabletop';\nexport { CardBack } from './adapters/inbound/CardBack';\nexport { CardHand } from './adapters/inbound/CardHand';\nexport { PlayingCard } from './adapters/inbound/PlayingCard';\nexport { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';\nexport { TabletopTable } from './adapters/inbound/TabletopTable';\nexport { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';\nexport { createTabletopColorScheme } from './utils/createTabletopColorScheme';\nexport { createTabletopGameSeats } from './utils/createTabletopGameSeats';\n"]}
|