@ankhorage/zora 21.0.23 → 21.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -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 +3 -1
- 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-cscmtcn8.js → Accordion-0txegc16.js} +1 -1
- package/web-dist/chunks/{Accordion-06588rzn.js → Accordion-10xw59gm.js} +1 -1
- package/web-dist/chunks/{Accordion-8kgtg62g.js → Accordion-2zh15wt9.js} +6 -6
- package/web-dist/chunks/{Accordion-pkqj4g3r.js → Accordion-481bknsd.js} +5 -5
- package/web-dist/chunks/{Accordion-grfbz6f2.js → Accordion-4fkjn6r5.js} +1 -1
- package/web-dist/chunks/{Accordion-ftjkdjqs.js → Accordion-4gx45mn0.js} +3 -3
- package/web-dist/chunks/{Accordion-fjnck2tg.js → Accordion-4s69xvqy.js} +6 -6
- package/web-dist/chunks/{Accordion-jh7nxehr.js → Accordion-50jz5nhg.js} +1 -1
- package/web-dist/chunks/{Accordion-t6sdgmbz.js → Accordion-52xke54s.js} +1 -1
- package/web-dist/chunks/{Accordion-far6szrp.js → Accordion-6npzmbgk.js} +5 -5
- package/web-dist/chunks/{Accordion-q7c1ryf2.js → Accordion-6z4npcgf.js} +4 -4
- package/web-dist/chunks/{Accordion-gbba10rg.js → Accordion-8gw5tkfw.js} +6 -6
- package/web-dist/chunks/{Accordion-fmxygyb6.js → Accordion-8qteyww0.js} +4 -4
- package/web-dist/chunks/{Accordion-1pp37dtg.js → Accordion-9h5dx3ck.js} +4 -4
- package/web-dist/chunks/{Accordion-paha5aje.js → Accordion-9mmqf3wr.js} +2 -2
- package/web-dist/chunks/{Accordion-f5swy5bs.js → Accordion-b21zrnzj.js} +1 -1
- package/web-dist/chunks/{Accordion-ars389m1.js → Accordion-b8qd23hr.js} +3 -3
- package/web-dist/chunks/{Accordion-hxfa71g9.js → Accordion-c79y8g44.js} +7 -7
- package/web-dist/chunks/Accordion-ca2csh5r.js +321 -0
- package/web-dist/chunks/{Accordion-49gf1zb8.js → Accordion-cjht9dyv.js} +1 -1
- package/web-dist/chunks/{Accordion-sz21xsf4.js → Accordion-cq6hn45r.js} +1 -1
- package/web-dist/chunks/{Accordion-33rd76r7.js → Accordion-d90g9wcb.js} +8 -8
- package/web-dist/chunks/{Accordion-crx58d5n.js → Accordion-f5jb299b.js} +2 -2
- package/web-dist/chunks/{Accordion-h95wvyn5.js → Accordion-fe6vmbpf.js} +2 -2
- package/web-dist/chunks/{Accordion-jzbq36ec.js → Accordion-fqm027n3.js} +8 -8
- package/web-dist/chunks/{Accordion-0jkm3y3w.js → Accordion-gpccarct.js} +1 -1
- package/web-dist/chunks/{Accordion-v6ykq9hv.js → Accordion-h95h3xdb.js} +10 -10
- package/web-dist/chunks/{Accordion-t3p4ykg7.js → Accordion-j8ab9k8k.js} +8 -8
- package/web-dist/chunks/{Accordion-qpwhmqzd.js → Accordion-k5z591wx.js} +13 -13
- package/web-dist/chunks/{Accordion-rrpej6sv.js → Accordion-kdncjvc7.js} +7 -7
- package/web-dist/chunks/{Accordion-f05a7r28.js → Accordion-ks4a1c6w.js} +5 -5
- package/web-dist/chunks/{Accordion-x0j8b2by.js → Accordion-ma1sfe5z.js} +5 -5
- package/web-dist/chunks/{Accordion-2dws3778.js → Accordion-mhtyce1k.js} +4 -4
- package/web-dist/chunks/{Accordion-1vewf8aa.js → Accordion-n7gtb5ec.js} +2 -2
- package/web-dist/chunks/{Accordion-0psdn97s.js → Accordion-p42mm8rr.js} +1 -1
- package/web-dist/chunks/{Accordion-3404tth9.js → Accordion-panw5f0q.js} +7 -7
- package/web-dist/chunks/{Accordion-4a6wj3ez.js → Accordion-pxq8gfgg.js} +9 -9
- package/web-dist/chunks/{Accordion-xshn7k8f.js → Accordion-qwbshc4s.js} +4 -4
- package/web-dist/chunks/{Accordion-395r3wra.js → Accordion-r51wsmvy.js} +2 -2
- package/web-dist/chunks/Accordion-rt13cqr7.js +830 -0
- package/web-dist/chunks/{Accordion-hz4xaqjf.js → Accordion-s1f9hb5a.js} +9 -9
- package/web-dist/chunks/{Accordion-7ja4mtbz.js → Accordion-sv87mbqa.js} +1 -1
- package/web-dist/chunks/{Accordion-r4c9k9y7.js → Accordion-t4k9egq6.js} +2 -2
- package/web-dist/chunks/{Accordion-96cqeekv.js → Accordion-t64m1kca.js} +5 -5
- package/web-dist/chunks/Accordion-wg31jkvp.js +1559 -0
- package/web-dist/chunks/{Accordion-ch67q4t0.js → Accordion-y9zr4x2x.js} +4 -4
- package/web-dist/chunks/{Accordion-31aeqxak.js → Accordion-ye3k55r7.js} +3 -3
- package/web-dist/chunks/{Accordion-s42wwh6m.js → Accordion-z29agann.js} +6 -6
- package/web-dist/chunks/{Accordion-f1h2f05v.js → Accordion-ze26effy.js} +5 -5
- package/web-dist/chunks/{Accordion-tx78txec.js → Accordion-zqzcagxz.js} +5 -5
- 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 +1650 -1379
- package/web-dist/runtime/ZoraProvider.js +8 -8
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
require_cjs
|
|
4
|
+
} from "./Accordion-cjht9dyv.js";
|
|
5
|
+
import {
|
|
6
|
+
withZoraThemeScope
|
|
7
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
8
|
+
import {
|
|
9
|
+
useZoraTheme2
|
|
10
|
+
} from "./Accordion-sv87mbqa.js";
|
|
11
|
+
import {
|
|
12
|
+
__toESM
|
|
13
|
+
} from "./Accordion-9qvmwkxe.js";
|
|
14
|
+
|
|
15
|
+
// src/features/chess/adapters/inbound/ChessBoard.tsx
|
|
16
|
+
var import_react_native = __toESM(require_cjs(), 1);
|
|
17
|
+
|
|
18
|
+
// src/features/chess/utils/createBoardSquares.ts
|
|
19
|
+
var files = ["a", "b", "c", "d", "e", "f", "g", "h"];
|
|
20
|
+
var ranks = ["1", "2", "3", "4", "5", "6", "7", "8"];
|
|
21
|
+
function createBoardSquares(orientation) {
|
|
22
|
+
const displayedRanks = orientation === "white" ? [...ranks].reverse() : [...ranks];
|
|
23
|
+
const displayedFiles = orientation === "white" ? [...files] : [...files].reverse();
|
|
24
|
+
return displayedRanks.flatMap((rank) => displayedFiles.map((file) => `${file}${rank}`));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// src/features/chess/utils/createChessBoardColorScheme.ts
|
|
28
|
+
function createChessBoardColorScheme(theme, overrides) {
|
|
29
|
+
return {
|
|
30
|
+
border: theme.semantics.neutral.divider,
|
|
31
|
+
coordinateText: theme.semantics.content.muted,
|
|
32
|
+
darkPiece: theme.semantics.content.default,
|
|
33
|
+
darkSquare: theme.semantics.neutral.surfaceHover,
|
|
34
|
+
darkSquareText: theme.semantics.content.muted,
|
|
35
|
+
lastMoveFrom: theme.semantics.warning.softBg,
|
|
36
|
+
lastMoveTo: theme.semantics.warning.softBg,
|
|
37
|
+
legalTarget: theme.semantics.success.softBg,
|
|
38
|
+
lightPiece: theme.semantics.content.default,
|
|
39
|
+
lightSquare: theme.semantics.neutral.surface,
|
|
40
|
+
lightSquareText: theme.semantics.content.muted,
|
|
41
|
+
selectedSquare: theme.semantics.action.primary.softBg,
|
|
42
|
+
...overrides
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// src/features/chess/utils/isLightSquare.ts
|
|
47
|
+
var files2 = "abcdefgh";
|
|
48
|
+
function isLightSquare(square) {
|
|
49
|
+
return (files2.indexOf(square[0] ?? "") + Number(square[1]) - 1) % 2 === 1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// src/features/chess/adapters/inbound/ChessBoard.tsx
|
|
53
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
54
|
+
var symbols = new Map([
|
|
55
|
+
["white:p", "♙"],
|
|
56
|
+
["white:n", "♘"],
|
|
57
|
+
["white:b", "♗"],
|
|
58
|
+
["white:r", "♖"],
|
|
59
|
+
["white:q", "♕"],
|
|
60
|
+
["white:k", "♔"],
|
|
61
|
+
["black:p", "♟"],
|
|
62
|
+
["black:n", "♞"],
|
|
63
|
+
["black:b", "♝"],
|
|
64
|
+
["black:r", "♜"],
|
|
65
|
+
["black:q", "♛"],
|
|
66
|
+
["black:k", "♚"]
|
|
67
|
+
]);
|
|
68
|
+
var ChessBoard2 = withZoraThemeScope(ChessBoardInner);
|
|
69
|
+
function ChessBoardInner({
|
|
70
|
+
pieces = [],
|
|
71
|
+
orientation = "white",
|
|
72
|
+
selectedSquare = null,
|
|
73
|
+
legalTargets = [],
|
|
74
|
+
lastMove = null,
|
|
75
|
+
disabled = false,
|
|
76
|
+
showCoordinates = false,
|
|
77
|
+
colorScheme,
|
|
78
|
+
onSquarePress,
|
|
79
|
+
onMoveAttempt,
|
|
80
|
+
renderPiece,
|
|
81
|
+
interactionPolicy,
|
|
82
|
+
testID
|
|
83
|
+
}) {
|
|
84
|
+
const { theme } = useZoraTheme2();
|
|
85
|
+
const colors = createChessBoardColorScheme(theme, colorScheme);
|
|
86
|
+
const squares = createBoardSquares(orientation);
|
|
87
|
+
const piecesBySquare = new Map(pieces.map((piece) => [piece.square, piece]));
|
|
88
|
+
const legalTargetSet = new Set(legalTargets);
|
|
89
|
+
const pressSquare = (square) => {
|
|
90
|
+
if (disabled || interactionPolicy === "passive")
|
|
91
|
+
return;
|
|
92
|
+
onSquarePress?.(square);
|
|
93
|
+
if (selectedSquare !== null && selectedSquare !== square)
|
|
94
|
+
onMoveAttempt?.({ from: selectedSquare, to: square });
|
|
95
|
+
};
|
|
96
|
+
return /* @__PURE__ */ jsx(import_react_native.View, {
|
|
97
|
+
accessibilityLabel: "Chess board",
|
|
98
|
+
style: [styles.board, { borderColor: colors.border, opacity: disabled ? 0.56 : 1 }],
|
|
99
|
+
testID,
|
|
100
|
+
children: squares.map((square) => {
|
|
101
|
+
const piece = piecesBySquare.get(square);
|
|
102
|
+
const light = isLightSquare(square);
|
|
103
|
+
const isTarget = legalTargetSet.has(square);
|
|
104
|
+
const backgroundColor = selectedSquare === square ? colors.selectedSquare : isTarget ? colors.legalTarget : lastMove?.from === square ? colors.lastMoveFrom : lastMove?.to === square ? colors.lastMoveTo : light ? colors.lightSquare : colors.darkSquare;
|
|
105
|
+
const pieceContent = piece === undefined ? null : renderPiece ? renderPiece({
|
|
106
|
+
color: piece.color === "white" ? colors.lightPiece : colors.darkPiece,
|
|
107
|
+
piece: piece.piece,
|
|
108
|
+
square
|
|
109
|
+
}) : symbols.get(`${piece.color}:${piece.piece.toLowerCase()}`) ?? piece.piece;
|
|
110
|
+
return /* @__PURE__ */ jsxs(import_react_native.Pressable, {
|
|
111
|
+
accessibilityLabel: square,
|
|
112
|
+
accessibilityRole: "button",
|
|
113
|
+
disabled: disabled || interactionPolicy === "passive",
|
|
114
|
+
onPress: () => pressSquare(square),
|
|
115
|
+
style: [styles.square, { backgroundColor }],
|
|
116
|
+
testID: testID ? `${testID}-square-${square}` : undefined,
|
|
117
|
+
children: [
|
|
118
|
+
showCoordinates ? /* @__PURE__ */ jsx(import_react_native.Text, {
|
|
119
|
+
style: [
|
|
120
|
+
styles.coordinate,
|
|
121
|
+
{ color: light ? colors.lightSquareText : colors.darkSquareText }
|
|
122
|
+
],
|
|
123
|
+
children: square
|
|
124
|
+
}) : null,
|
|
125
|
+
piece === undefined ? null : /* @__PURE__ */ jsx(import_react_native.View, {
|
|
126
|
+
pointerEvents: "none",
|
|
127
|
+
style: styles.pieceContainer,
|
|
128
|
+
children: renderPiece ? pieceContent : /* @__PURE__ */ jsx(import_react_native.Text, {
|
|
129
|
+
style: [
|
|
130
|
+
styles.piece,
|
|
131
|
+
{ color: piece.color === "white" ? colors.lightPiece : colors.darkPiece }
|
|
132
|
+
],
|
|
133
|
+
children: pieceContent
|
|
134
|
+
})
|
|
135
|
+
})
|
|
136
|
+
]
|
|
137
|
+
}, square);
|
|
138
|
+
})
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
var styles = import_react_native.StyleSheet.create({
|
|
142
|
+
board: {
|
|
143
|
+
aspectRatio: 1,
|
|
144
|
+
borderRadius: 12,
|
|
145
|
+
borderWidth: import_react_native.StyleSheet.hairlineWidth,
|
|
146
|
+
flexDirection: "row",
|
|
147
|
+
flexWrap: "wrap",
|
|
148
|
+
overflow: "hidden",
|
|
149
|
+
width: "100%"
|
|
150
|
+
},
|
|
151
|
+
coordinate: {
|
|
152
|
+
fontSize: 9,
|
|
153
|
+
fontWeight: "600",
|
|
154
|
+
left: 3,
|
|
155
|
+
opacity: 0.72,
|
|
156
|
+
position: "absolute",
|
|
157
|
+
top: 2,
|
|
158
|
+
zIndex: 2
|
|
159
|
+
},
|
|
160
|
+
piece: { fontSize: 32, fontWeight: "600", lineHeight: 38 },
|
|
161
|
+
pieceContainer: {
|
|
162
|
+
alignItems: "center",
|
|
163
|
+
bottom: 0,
|
|
164
|
+
justifyContent: "center",
|
|
165
|
+
left: 0,
|
|
166
|
+
position: "absolute",
|
|
167
|
+
right: 0,
|
|
168
|
+
top: 0
|
|
169
|
+
},
|
|
170
|
+
square: {
|
|
171
|
+
alignItems: "center",
|
|
172
|
+
aspectRatio: 1,
|
|
173
|
+
width: "12.5%",
|
|
174
|
+
justifyContent: "center",
|
|
175
|
+
position: "relative"
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
// src/features/chess/adapters/inbound/OpeningBook.tsx
|
|
180
|
+
var import_react_native2 = __toESM(require_cjs(), 1);
|
|
181
|
+
|
|
182
|
+
// src/features/chess/utils/createOpeningBookColorScheme.ts
|
|
183
|
+
function createOpeningBookColorScheme(theme, overrides) {
|
|
184
|
+
return {
|
|
185
|
+
border: theme.semantics.neutral.divider,
|
|
186
|
+
metricSurface: theme.semantics.neutral.surface,
|
|
187
|
+
primaryText: theme.semantics.content.default,
|
|
188
|
+
secondaryText: theme.semantics.content.muted,
|
|
189
|
+
selectedSurface: theme.semantics.action.primary.softBg,
|
|
190
|
+
surface: theme.semantics.neutral.surface,
|
|
191
|
+
surfaceHover: theme.semantics.neutral.surfaceHover,
|
|
192
|
+
titleText: theme.semantics.content.default,
|
|
193
|
+
...overrides
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// src/features/chess/adapters/inbound/OpeningBook.tsx
|
|
198
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
199
|
+
var OpeningBook2 = withZoraThemeScope(OpeningBookInner);
|
|
200
|
+
function rate(label, value) {
|
|
201
|
+
if (value === undefined || !Number.isFinite(value))
|
|
202
|
+
return;
|
|
203
|
+
return `${label} ${Math.round(value <= 1 ? value * 100 : value)}%`;
|
|
204
|
+
}
|
|
205
|
+
function moveKey(move) {
|
|
206
|
+
return move.uci ?? move.fen ?? move.san;
|
|
207
|
+
}
|
|
208
|
+
function OpeningBookInner({
|
|
209
|
+
moves = [],
|
|
210
|
+
title = "Opening book",
|
|
211
|
+
loading = false,
|
|
212
|
+
errorText,
|
|
213
|
+
emptyText = "No book moves for this position.",
|
|
214
|
+
selectedMove = null,
|
|
215
|
+
colorScheme,
|
|
216
|
+
onMovePress,
|
|
217
|
+
interactionPolicy,
|
|
218
|
+
testID
|
|
219
|
+
}) {
|
|
220
|
+
const { theme } = useZoraTheme2();
|
|
221
|
+
const colors = createOpeningBookColorScheme(theme, colorScheme);
|
|
222
|
+
const stateText = loading ? "Loading opening moves…" : errorText ?? emptyText;
|
|
223
|
+
const showState = loading || errorText !== undefined || moves.length === 0;
|
|
224
|
+
return /* @__PURE__ */ jsxs2(import_react_native2.View, {
|
|
225
|
+
accessibilityLabel: title,
|
|
226
|
+
style: [
|
|
227
|
+
styles2.root,
|
|
228
|
+
{
|
|
229
|
+
borderColor: colors.border,
|
|
230
|
+
backgroundColor: colors.surface
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
testID,
|
|
234
|
+
children: [
|
|
235
|
+
/* @__PURE__ */ jsx2(import_react_native2.Text, {
|
|
236
|
+
style: [styles2.title, { color: colors.titleText }],
|
|
237
|
+
children: title
|
|
238
|
+
}),
|
|
239
|
+
!showState ? /* @__PURE__ */ jsx2(import_react_native2.View, {
|
|
240
|
+
style: styles2.moves,
|
|
241
|
+
children: moves.map((move) => {
|
|
242
|
+
const selected = selectedMove !== null && (selectedMove === move.san || selectedMove === move.uci || selectedMove === move.fen);
|
|
243
|
+
const details = [
|
|
244
|
+
move.eco,
|
|
245
|
+
move.name,
|
|
246
|
+
move.games === undefined ? undefined : `${move.games} games`
|
|
247
|
+
].filter((part) => typeof part === "string" && part.length > 0);
|
|
248
|
+
const stats = [
|
|
249
|
+
rate("W", move.whiteWinRate),
|
|
250
|
+
rate("D", move.drawRate),
|
|
251
|
+
rate("B", move.blackWinRate)
|
|
252
|
+
].filter((part) => part !== undefined);
|
|
253
|
+
return /* @__PURE__ */ jsxs2(import_react_native2.Pressable, {
|
|
254
|
+
accessibilityRole: "button",
|
|
255
|
+
disabled: onMovePress === undefined || interactionPolicy === "passive",
|
|
256
|
+
onPress: () => {
|
|
257
|
+
if (interactionPolicy === "passive")
|
|
258
|
+
return;
|
|
259
|
+
onMovePress?.(move);
|
|
260
|
+
},
|
|
261
|
+
style: [
|
|
262
|
+
styles2.move,
|
|
263
|
+
{
|
|
264
|
+
backgroundColor: selected ? colors.selectedSurface : colors.surfaceHover,
|
|
265
|
+
borderColor: colors.border
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
testID: testID ? `${testID}-move-${move.san}` : undefined,
|
|
269
|
+
children: [
|
|
270
|
+
/* @__PURE__ */ jsxs2(import_react_native2.View, {
|
|
271
|
+
style: styles2.moveMain,
|
|
272
|
+
children: [
|
|
273
|
+
/* @__PURE__ */ jsx2(import_react_native2.Text, {
|
|
274
|
+
style: [styles2.san, { color: colors.primaryText }],
|
|
275
|
+
children: move.san
|
|
276
|
+
}),
|
|
277
|
+
/* @__PURE__ */ jsx2(import_react_native2.Text, {
|
|
278
|
+
style: [styles2.meta, { color: colors.secondaryText }],
|
|
279
|
+
children: details.length > 0 ? details.join(" · ") : "Book move"
|
|
280
|
+
})
|
|
281
|
+
]
|
|
282
|
+
}),
|
|
283
|
+
stats.length > 0 ? /* @__PURE__ */ jsx2(import_react_native2.View, {
|
|
284
|
+
style: [styles2.metric, { backgroundColor: colors.metricSurface }],
|
|
285
|
+
children: /* @__PURE__ */ jsx2(import_react_native2.Text, {
|
|
286
|
+
style: [styles2.metricText, { color: colors.secondaryText }],
|
|
287
|
+
children: stats.join(" ")
|
|
288
|
+
})
|
|
289
|
+
}) : null
|
|
290
|
+
]
|
|
291
|
+
}, moveKey(move));
|
|
292
|
+
})
|
|
293
|
+
}) : /* @__PURE__ */ jsx2(import_react_native2.Text, {
|
|
294
|
+
style: [styles2.stateText, { color: colors.secondaryText }],
|
|
295
|
+
children: stateText
|
|
296
|
+
})
|
|
297
|
+
]
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
var styles2 = import_react_native2.StyleSheet.create({
|
|
301
|
+
root: { borderRadius: 12, borderWidth: import_react_native2.StyleSheet.hairlineWidth, gap: 10, padding: 12 },
|
|
302
|
+
title: { fontSize: 15, fontWeight: "700", lineHeight: 20 },
|
|
303
|
+
stateText: { fontSize: 13, lineHeight: 18 },
|
|
304
|
+
moves: { gap: 8 },
|
|
305
|
+
move: {
|
|
306
|
+
alignItems: "center",
|
|
307
|
+
borderRadius: 10,
|
|
308
|
+
borderWidth: import_react_native2.StyleSheet.hairlineWidth,
|
|
309
|
+
flexDirection: "row",
|
|
310
|
+
gap: 10,
|
|
311
|
+
justifyContent: "space-between",
|
|
312
|
+
paddingHorizontal: 10,
|
|
313
|
+
paddingVertical: 8
|
|
314
|
+
},
|
|
315
|
+
moveMain: { flex: 1, gap: 2 },
|
|
316
|
+
san: { fontSize: 16, fontWeight: "700", lineHeight: 20 },
|
|
317
|
+
meta: { fontSize: 12, lineHeight: 16 },
|
|
318
|
+
metric: { borderRadius: 999, paddingHorizontal: 8, paddingVertical: 4 },
|
|
319
|
+
metricText: { fontSize: 11, fontWeight: "600" }
|
|
320
|
+
});
|
|
321
|
+
export { ChessBoard2, OpeningBook2 };
|
|
@@ -23037,4 +23037,4 @@ function useTheme() {
|
|
|
23037
23037
|
return use(ThemeRuntimeContext);
|
|
23038
23038
|
}
|
|
23039
23039
|
|
|
23040
|
-
export { require_cjs, parseHexColorOrThrow, createTheme, ThemeRuntimeContext, useTheme };
|
|
23040
|
+
export { require_cjs, parseHexColor, parseHexColorOrThrow, getReadableForeground, createTheme, ThemeRuntimeContext, useTheme };
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-cjht9dyv.js";
|
|
6
6
|
import {
|
|
7
7
|
Icon3
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-52xke54s.js";
|
|
9
9
|
import {
|
|
10
10
|
View3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-b8qd23hr.js";
|
|
12
12
|
import {
|
|
13
13
|
Pressable
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-4gx45mn0.js";
|
|
15
15
|
import {
|
|
16
16
|
Text3
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-gpccarct.js";
|
|
18
18
|
import {
|
|
19
19
|
withZoraThemeScope
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
21
21
|
import {
|
|
22
22
|
useZoraThemeRecipe
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-cq6hn45r.js";
|
|
24
24
|
import {
|
|
25
25
|
View2
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-t64m1kca.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveControlSize,
|
|
29
29
|
resolveIconSize2,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
withZoraThemeScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
5
5
|
import {
|
|
6
6
|
View2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-t64m1kca.js";
|
|
8
8
|
|
|
9
9
|
// src/features/gradient/adapters/inbound/GradientRendererContext.tsx
|
|
10
10
|
import { createContext, use } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Surface3
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-t4k9egq6.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
8
8
|
|
|
9
9
|
// src/features/surface/adapters/inbound/Surface.tsx
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
import {
|
|
3
3
|
View3,
|
|
4
4
|
Divider3
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-b8qd23hr.js";
|
|
6
6
|
import {
|
|
7
7
|
require_cjs,
|
|
8
8
|
useTheme
|
|
9
|
-
} from "./Accordion-
|
|
9
|
+
} from "./Accordion-cjht9dyv.js";
|
|
10
10
|
import {
|
|
11
11
|
IconButton2
|
|
12
|
-
} from "./Accordion-
|
|
12
|
+
} from "./Accordion-d90g9wcb.js";
|
|
13
13
|
import {
|
|
14
14
|
withZoraThemeScope
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
16
16
|
import {
|
|
17
17
|
View2
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-t64m1kca.js";
|
|
19
19
|
import {
|
|
20
20
|
PopoverMenu2
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-h95h3xdb.js";
|
|
22
22
|
import {
|
|
23
23
|
Heading2,
|
|
24
24
|
Text2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-ks4a1c6w.js";
|
|
26
26
|
import {
|
|
27
27
|
useZoraTheme2
|
|
28
|
-
} from "./Accordion-
|
|
28
|
+
} from "./Accordion-sv87mbqa.js";
|
|
29
29
|
import {
|
|
30
30
|
__toESM
|
|
31
31
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
} from "./Accordion-6zb9d92y.js";
|
|
5
5
|
import {
|
|
6
6
|
FocusScope
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-p42mm8rr.js";
|
|
8
8
|
import {
|
|
9
9
|
View3
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-b8qd23hr.js";
|
|
11
11
|
import {
|
|
12
12
|
require_cjs,
|
|
13
13
|
useTheme
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-cjht9dyv.js";
|
|
15
15
|
import {
|
|
16
16
|
Popover
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-0txegc16.js";
|
|
18
18
|
import {
|
|
19
19
|
Surface3
|
|
20
|
-
} from "./Accordion-
|
|
20
|
+
} from "./Accordion-t4k9egq6.js";
|
|
21
21
|
import {
|
|
22
22
|
Text3
|
|
23
|
-
} from "./Accordion-
|
|
23
|
+
} from "./Accordion-gpccarct.js";
|
|
24
24
|
import {
|
|
25
25
|
withZoraThemeScope
|
|
26
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
27
27
|
import {
|
|
28
28
|
Icon2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-9mmqf3wr.js";
|
|
30
30
|
import {
|
|
31
31
|
View2
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-t64m1kca.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveIconSize
|
|
35
35
|
} from "./Accordion-961ncx4e.js";
|
|
36
36
|
import {
|
|
37
37
|
useZoraTheme2
|
|
38
|
-
} from "./Accordion-
|
|
38
|
+
} from "./Accordion-sv87mbqa.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
41
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
require_cjs
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-cjht9dyv.js";
|
|
5
5
|
import {
|
|
6
6
|
Button2
|
|
7
|
-
} from "./Accordion-
|
|
7
|
+
} from "./Accordion-d90g9wcb.js";
|
|
8
8
|
import {
|
|
9
9
|
withZoraThemeScope
|
|
10
|
-
} from "./Accordion-
|
|
10
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
11
11
|
import {
|
|
12
12
|
View2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-t64m1kca.js";
|
|
14
14
|
import {
|
|
15
15
|
Card2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-k5z591wx.js";
|
|
17
17
|
import {
|
|
18
18
|
Text2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-ks4a1c6w.js";
|
|
20
20
|
import {
|
|
21
21
|
Badge2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-9h5dx3ck.js";
|
|
23
23
|
import {
|
|
24
24
|
useZoraTheme2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-sv87mbqa.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
28
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -2,49 +2,49 @@
|
|
|
2
2
|
import {
|
|
3
3
|
require_cjs,
|
|
4
4
|
useTheme
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-cjht9dyv.js";
|
|
6
6
|
import {
|
|
7
7
|
Pressable
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-4gx45mn0.js";
|
|
9
9
|
import {
|
|
10
10
|
Surface3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-t4k9egq6.js";
|
|
12
12
|
import {
|
|
13
13
|
withZoraThemeScope
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
15
15
|
import {
|
|
16
16
|
View2,
|
|
17
17
|
Divider2
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-t64m1kca.js";
|
|
19
19
|
import {
|
|
20
20
|
useZoraThemeRecipe
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-cq6hn45r.js";
|
|
22
22
|
import {
|
|
23
23
|
Heading2,
|
|
24
24
|
Text2
|
|
25
|
-
} from "./Accordion-
|
|
25
|
+
} from "./Accordion-ks4a1c6w.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveBadgeRecipe,
|
|
28
28
|
Badge2
|
|
29
|
-
} from "./Accordion-
|
|
29
|
+
} from "./Accordion-9h5dx3ck.js";
|
|
30
30
|
import {
|
|
31
31
|
Icon2
|
|
32
|
-
} from "./Accordion-
|
|
32
|
+
} from "./Accordion-9mmqf3wr.js";
|
|
33
33
|
import {
|
|
34
34
|
Avatar2
|
|
35
|
-
} from "./Accordion-
|
|
35
|
+
} from "./Accordion-8gw5tkfw.js";
|
|
36
36
|
import {
|
|
37
37
|
Button2
|
|
38
|
-
} from "./Accordion-
|
|
38
|
+
} from "./Accordion-d90g9wcb.js";
|
|
39
39
|
import {
|
|
40
40
|
Image2
|
|
41
|
-
} from "./Accordion-
|
|
41
|
+
} from "./Accordion-ma1sfe5z.js";
|
|
42
42
|
import {
|
|
43
43
|
resolveIconSize
|
|
44
44
|
} from "./Accordion-961ncx4e.js";
|
|
45
45
|
import {
|
|
46
46
|
useZoraTheme2
|
|
47
|
-
} from "./Accordion-
|
|
47
|
+
} from "./Accordion-sv87mbqa.js";
|
|
48
48
|
import {
|
|
49
49
|
__toESM
|
|
50
50
|
} from "./Accordion-9qvmwkxe.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
FocusScope
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-p42mm8rr.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
7
|
} from "./Accordion-99cj85ez.js";
|
|
8
8
|
import {
|
|
9
9
|
resolvePointerEvents,
|
|
10
10
|
View3
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-b8qd23hr.js";
|
|
12
12
|
import {
|
|
13
13
|
require_cjs,
|
|
14
14
|
useTheme
|
|
15
|
-
} from "./Accordion-
|
|
15
|
+
} from "./Accordion-cjht9dyv.js";
|
|
16
16
|
import {
|
|
17
17
|
Surface3
|
|
18
|
-
} from "./Accordion-
|
|
18
|
+
} from "./Accordion-t4k9egq6.js";
|
|
19
19
|
import {
|
|
20
20
|
withZoraThemeScope
|
|
21
|
-
} from "./Accordion-
|
|
21
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
22
22
|
import {
|
|
23
23
|
View2
|
|
24
|
-
} from "./Accordion-
|
|
24
|
+
} from "./Accordion-t64m1kca.js";
|
|
25
25
|
import {
|
|
26
26
|
Heading2,
|
|
27
27
|
Text2
|
|
28
|
-
} from "./Accordion-
|
|
28
|
+
} from "./Accordion-ks4a1c6w.js";
|
|
29
29
|
import {
|
|
30
30
|
resolveOverlayAnimation
|
|
31
31
|
} from "./Accordion-2d8xn32m.js";
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolveResponsive,
|
|
4
4
|
useResponsiveRuntime
|
|
5
|
-
} from "./Accordion-
|
|
5
|
+
} from "./Accordion-50jz5nhg.js";
|
|
6
6
|
import {
|
|
7
7
|
require_cjs
|
|
8
|
-
} from "./Accordion-
|
|
8
|
+
} from "./Accordion-cjht9dyv.js";
|
|
9
9
|
import {
|
|
10
10
|
withZoraThemeScope
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-4fkjn6r5.js";
|
|
12
12
|
import {
|
|
13
13
|
useZoraThemeRecipe
|
|
14
|
-
} from "./Accordion-
|
|
14
|
+
} from "./Accordion-cq6hn45r.js";
|
|
15
15
|
import {
|
|
16
16
|
useZoraTheme2
|
|
17
|
-
} from "./Accordion-
|
|
17
|
+
} from "./Accordion-sv87mbqa.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
20
|
} from "./Accordion-9qvmwkxe.js";
|