@gamepark/react-game 6.4.0 → 6.6.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/dist/components/Avatar/Avatar.js +1 -8
- package/dist/components/Avatar/Avatar.js.map +1 -1
- package/dist/components/buttons/PlayMoveButton/PlayMoveButton.d.ts +1 -0
- package/dist/components/buttons/PlayMoveButton/PlayMoveButton.js +15 -3
- package/dist/components/buttons/PlayMoveButton/PlayMoveButton.js.map +1 -1
- package/dist/components/buttons/UndoMovesButton/UndoMovesButton.d.ts +7 -0
- package/dist/components/buttons/UndoMovesButton/UndoMovesButton.js +58 -0
- package/dist/components/buttons/UndoMovesButton/UndoMovesButton.js.map +1 -0
- package/dist/components/buttons/UndoMovesButton/index.d.ts +1 -0
- package/dist/components/buttons/UndoMovesButton/index.js +18 -0
- package/dist/components/buttons/UndoMovesButton/index.js.map +1 -0
- package/dist/components/buttons/index.d.ts +1 -0
- package/dist/components/buttons/index.js +1 -0
- package/dist/components/buttons/index.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/LocationRulesDialogContent.js +2 -2
- package/dist/components/dialogs/RulesDialog/LocationRulesDialogContent.js.map +1 -1
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialogContent.js +1 -1
- package/dist/components/dialogs/RulesDialog/MaterialRulesDialogContent.js.map +1 -1
- package/dist/components/material/DraggableMaterial.js +3 -4
- package/dist/components/material/DraggableMaterial.js.map +1 -1
- package/dist/components/material/GameTable/GameMaterialDisplay.js +29 -11
- package/dist/components/material/GameTable/GameMaterialDisplay.js.map +1 -1
- package/dist/components/material/GameTable/GameTable.d.ts +4 -2
- package/dist/components/material/GameTable/GameTable.js +29 -11
- package/dist/components/material/GameTable/GameTable.js.map +1 -1
- package/dist/components/material/animations/ItemAnimations.js +1 -1
- package/dist/components/material/animations/ItemAnimations.js.map +1 -1
- package/dist/components/material/animations/MoveItemAnimations.js +5 -5
- package/dist/components/material/animations/MoveItemAnimations.js.map +1 -1
- package/dist/components/material/locations/LocationDescription.d.ts +6 -2
- package/dist/components/material/locations/LocationDescription.js +8 -0
- package/dist/components/material/locations/LocationDescription.js.map +1 -1
- package/dist/components/material/locations/SimpleDropArea.d.ts +2 -0
- package/dist/components/material/locations/SimpleDropArea.js +4 -13
- package/dist/components/material/locations/SimpleDropArea.js.map +1 -1
- package/dist/components/menus/menuCss.js +2 -2
- package/dist/components/menus/menuCss.js.map +1 -1
- package/dist/components/tutorial/MaterialTutorial.d.ts +5 -6
- package/dist/components/tutorial/MaterialTutorial.js +10 -4
- package/dist/components/tutorial/MaterialTutorial.js.map +1 -1
- package/dist/components/tutorial/TutorialRulesWrapper.js +10 -0
- package/dist/components/tutorial/TutorialRulesWrapper.js.map +1 -1
- package/dist/hooks/useRules.js +3 -1
- package/dist/hooks/useRules.js.map +1 -1
- package/dist/hooks/useUndo.d.ts +1 -1
- package/dist/hooks/useUndo.js +24 -7
- package/dist/hooks/useUndo.js.map +1 -1
- package/dist/locators/ItemLocator.js +1 -1
- package/dist/locators/ItemLocator.js.map +1 -1
- package/dist/locators/PileLocator.d.ts +3 -2
- package/dist/locators/PileLocator.js +9 -5
- package/dist/locators/PileLocator.js.map +1 -1
- package/package.json +7 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PileLocator.js","sourceRoot":"","sources":["../../src/locators/PileLocator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6CAAwD;AAGxD;IAA2H,+BAAoB;IAA/I;QAAA,
|
|
1
|
+
{"version":3,"file":"PileLocator.js","sourceRoot":"","sources":["../../src/locators/PileLocator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6CAAwD;AAGxD;IAA2H,+BAAoB;IAA/I;QAAA,qEA4DC;QA3DC,WAAK,GAAG,EAAE,CAAA;QACF,eAAS,GAAG,IAAI,GAAG,EAAoC,CAAA;QACvD,eAAS,GAAG,IAAI,GAAG,EAA+B,CAAA;QAkC1D,iBAA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AyB,EAAE,QAA8B;QACnE,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IAED,+BAAS,GAAT,UAAU,IAAwB,EAAE,OAA6B;QAC/D,IAAI,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,QAAQ;YAAE,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAA;QACjE,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,SAAS;YAAE,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAA;QACnE,OAAO,OAAO,CAAC,IAAI,CAAA;IACrB,CAAC;IACH,kBAAC;AAAD,CAAC,AA5DD,CAA2H,yBAAW,GA4DrI;AA5DqB,kCAAW"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamepark/react-game",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "React components & tools to create a Board Game user interface for Game Park",
|
|
5
5
|
"author": "Romain Fromi <romain@game-park.com> (https://game-park.com/)",
|
|
6
6
|
"license": "ISC",
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
-
"linkall": "yarn link @gamepark/react-client @gamepark/rules-api",
|
|
14
|
-
"unlinkall": "yarn unlink @gamepark/react-client @gamepark/rules-api",
|
|
13
|
+
"linkall": "yarn link react react-dom react-redux @apollo/client @types/react @gamepark/react-client @gamepark/rules-api",
|
|
14
|
+
"unlinkall": "yarn unlink react react-dom react-redux @apollo/client @types/react @gamepark/react-client @gamepark/rules-api",
|
|
15
|
+
"linkgp": "yarn link @gamepark/react-client @gamepark/rules-api",
|
|
16
|
+
"unlinkgp": "yarn unlink @gamepark/react-client @gamepark/rules-api",
|
|
15
17
|
"test": "yarn test",
|
|
16
18
|
"build": "tsc -p tsconfig.build.json",
|
|
17
19
|
"prepublishOnly": "tsc -p tsconfig.build.json"
|
|
@@ -25,8 +27,8 @@
|
|
|
25
27
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
26
28
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
27
29
|
"@gamepark/avataaars": "^2.2.0",
|
|
28
|
-
"@gamepark/react-client": "^6.
|
|
29
|
-
"@gamepark/rules-api": "^6.
|
|
30
|
+
"@gamepark/react-client": "^6.6.0",
|
|
31
|
+
"@gamepark/rules-api": "^6.6.0",
|
|
30
32
|
"dayjs": "^1.11.7",
|
|
31
33
|
"emotion-normalize": "^11.0.1",
|
|
32
34
|
"fscreen": "^1.2.0",
|