@gamepark/react-game 7.3.0 → 7.4.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/GameProvider/GameProvider.js +1 -3
- package/dist/components/GameProvider/GameProvider.js.map +1 -1
- package/dist/components/Header/HeaderText.d.ts +6 -1
- package/dist/components/Header/HeaderText.js +14 -5
- package/dist/components/Header/HeaderText.js.map +1 -1
- package/dist/components/JournalTabs/JournalTabs.js +1 -1
- package/dist/components/JournalTabs/JournalTabs.js.map +1 -1
- package/dist/components/LoadingScreen/LoadingScreen.js +5 -0
- package/dist/components/LoadingScreen/LoadingScreen.js.map +1 -1
- package/dist/components/material/DraggableMaterial.d.ts +12 -2
- package/dist/components/material/DraggableMaterial.js +50 -57
- package/dist/components/material/DraggableMaterial.js.map +1 -1
- package/dist/components/material/GameTable/DynamicItemsDisplay.js +52 -8
- package/dist/components/material/GameTable/DynamicItemsDisplay.js.map +1 -1
- package/dist/components/material/GameTable/GameMaterialDisplay.js +5 -2
- package/dist/components/material/GameTable/GameMaterialDisplay.js.map +1 -1
- package/dist/components/material/GameTable/GameTable.d.ts +1 -0
- package/dist/components/material/GameTable/GameTable.js +49 -18
- package/dist/components/material/GameTable/GameTable.js.map +1 -1
- package/dist/components/material/GameTable/GameTableNavigation.js +7 -0
- package/dist/components/material/GameTable/GameTableNavigation.js.map +1 -1
- package/dist/components/material/GameTable/ItemDisplay.js +4 -4
- package/dist/components/material/GameTable/ItemDisplay.js.map +1 -1
- package/dist/components/material/GameTable/StaticItemsDisplay.js +21 -6
- package/dist/components/material/GameTable/StaticItemsDisplay.js.map +1 -1
- package/dist/components/material/GameTable/focus/FocusProvider.js +11 -5
- package/dist/components/material/GameTable/focus/FocusProvider.js.map +1 -1
- package/dist/components/material/GameTable/focus/NoZoomFocusProvider.js +2 -2
- package/dist/components/material/GameTable/focus/NoZoomFocusProvider.js.map +1 -1
- package/dist/components/material/GameTable/focus/index.d.ts +1 -0
- package/dist/components/material/GameTable/focus/index.js +1 -0
- package/dist/components/material/GameTable/focus/index.js.map +1 -1
- package/dist/components/material/GameTable/index.d.ts +2 -0
- package/dist/components/material/GameTable/index.js +2 -0
- package/dist/components/material/GameTable/index.js.map +1 -1
- package/dist/components/material/MaterialDescription.d.ts +9 -1
- package/dist/components/material/MaterialDescription.js +20 -13
- package/dist/components/material/MaterialDescription.js.map +1 -1
- package/dist/components/material/animations/AnimationBuilder.d.ts +160 -0
- package/dist/components/material/animations/AnimationBuilder.js +287 -0
- package/dist/components/material/animations/AnimationBuilder.js.map +1 -0
- package/dist/components/material/animations/CreateItemAnimations.d.ts +4 -2
- package/dist/components/material/animations/CreateItemAnimations.js +80 -10
- package/dist/components/material/animations/CreateItemAnimations.js.map +1 -1
- package/dist/components/material/animations/DeleteItemAnimations.d.ts +3 -1
- package/dist/components/material/animations/DeleteItemAnimations.js +16 -4
- package/dist/components/material/animations/DeleteItemAnimations.js.map +1 -1
- package/dist/components/material/animations/DeleteItemAtOnceAnimations.d.ts +3 -1
- package/dist/components/material/animations/DeleteItemAtOnceAnimations.js +16 -4
- package/dist/components/material/animations/DeleteItemAtOnceAnimations.js.map +1 -1
- package/dist/components/material/animations/ItemAnimations.d.ts +35 -1
- package/dist/components/material/animations/ItemAnimations.js +143 -1
- package/dist/components/material/animations/ItemAnimations.js.map +1 -1
- package/dist/components/material/animations/MaterialAnimations.d.ts +2 -1
- package/dist/components/material/animations/MaterialAnimations.js +6 -6
- package/dist/components/material/animations/MaterialAnimations.js.map +1 -1
- package/dist/components/material/animations/MaterialGameAnimations.d.ts +94 -1
- package/dist/components/material/animations/MaterialGameAnimations.js +150 -2
- package/dist/components/material/animations/MaterialGameAnimations.js.map +1 -1
- package/dist/components/material/animations/MoveItemAnimations.d.ts +3 -1
- package/dist/components/material/animations/MoveItemAnimations.js +29 -5
- package/dist/components/material/animations/MoveItemAnimations.js.map +1 -1
- package/dist/components/material/animations/MoveItemAtOnceAnimations.d.ts +5 -2
- package/dist/components/material/animations/MoveItemAtOnceAnimations.js +45 -3
- package/dist/components/material/animations/MoveItemAtOnceAnimations.js.map +1 -1
- package/dist/components/material/animations/Trajectory.d.ts +132 -0
- package/dist/components/material/animations/Trajectory.js +87 -0
- package/dist/components/material/animations/Trajectory.js.map +1 -0
- package/dist/components/material/animations/index.d.ts +3 -0
- package/dist/components/material/animations/index.js +3 -0
- package/dist/components/material/animations/index.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useLegalMoves.js +2 -1
- package/dist/hooks/useLegalMoves.js.map +1 -1
- package/dist/hooks/useMaterialContextRef.d.ts +10 -0
- package/dist/hooks/useMaterialContextRef.js +12 -0
- package/dist/hooks/useMaterialContextRef.js.map +1 -0
- package/dist/hooks/usePlayerName.js +1 -1
- package/dist/hooks/usePlayerName.js.map +1 -1
- package/dist/hooks/useUndo.js +12 -3
- package/dist/hooks/useUndo.js.map +1 -1
- package/dist/locators/DeckLocator.d.ts +3 -1
- package/dist/locators/DeckLocator.js +6 -0
- package/dist/locators/DeckLocator.js.map +1 -1
- package/dist/locators/HandLocator.d.ts +1 -0
- package/dist/locators/HandLocator.js +3 -0
- package/dist/locators/HandLocator.js.map +1 -1
- package/dist/locators/ListLocator.d.ts +1 -0
- package/dist/locators/ListLocator.js +3 -0
- package/dist/locators/ListLocator.js.map +1 -1
- package/dist/locators/Locator.d.ts +39 -0
- package/dist/locators/Locator.js +74 -1
- package/dist/locators/Locator.js.map +1 -1
- package/dist/locators/PileLocator.d.ts +1 -0
- package/dist/locators/PileLocator.js +3 -0
- package/dist/locators/PileLocator.js.map +1 -1
- package/dist/utilities/translation.util.js +1 -1
- package/dist/utilities/translation.util.js.map +1 -1
- package/package.json +79 -77
package/package.json
CHANGED
|
@@ -1,77 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gamepark/react-game",
|
|
3
|
-
"version": "7.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "React components & tools to create a Board Game user interface for Game Park",
|
|
6
|
-
"author": "Romain Fromi <romain@game-park.com> (https://game-park.com/)",
|
|
7
|
-
"license": "ISC",
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"types": "dist/index.d.ts",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"prepack": "yarn build",
|
|
19
|
-
"linkgp": "yarn link ../rules-api ../react-client -r",
|
|
20
|
-
"unlinkgp": "yarn unlink ../react-client ../rules-api"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@gamepark/
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"react-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@fortawesome/
|
|
47
|
-
"@fortawesome/
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@types/
|
|
52
|
-
"@types/
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"react
|
|
58
|
-
"react-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@fortawesome/
|
|
67
|
-
"@fortawesome/
|
|
68
|
-
"@
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"react
|
|
74
|
-
"react-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@gamepark/react-game",
|
|
3
|
+
"version": "7.4.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "React components & tools to create a Board Game user interface for Game Park",
|
|
6
|
+
"author": "Romain Fromi <romain@game-park.com> (https://game-park.com/)",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"prepack": "yarn build",
|
|
19
|
+
"linkgp": "yarn link ../rules-api ../react-client -r && git update-index --skip-worktree package.json yarn.lock",
|
|
20
|
+
"unlinkgp": "git update-index --no-skip-worktree package.json yarn.lock && yarn unlink ../react-client ../rules-api",
|
|
21
|
+
"publish": "npm version ${0:-patch} && yarn npm publish && git push && git push --tags"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@datadog/browser-logs": "^6.28.1",
|
|
25
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
26
|
+
"@gamepark/api-types": "^1.0.0",
|
|
27
|
+
"@gamepark/avataaars": "^3.0.0",
|
|
28
|
+
"@gamepark/react-client": "^7.4.0",
|
|
29
|
+
"dayjs": "^1.11.19",
|
|
30
|
+
"fscreen": "^1.2.0",
|
|
31
|
+
"i18next-http-backend": "^3.0.2",
|
|
32
|
+
"i18next-icu": "^2.4.3",
|
|
33
|
+
"immer": "^11.1.4",
|
|
34
|
+
"intl-messageformat": "^11.1.2",
|
|
35
|
+
"nosleep.js": "^0.12.0",
|
|
36
|
+
"o9n": "^2.1.1",
|
|
37
|
+
"react-infinite-scroll-component": "^6.1.1",
|
|
38
|
+
"react-merge-refs": "^3.0.2",
|
|
39
|
+
"react-zoom-pan-pinch": "^3.7.0",
|
|
40
|
+
"rxjs": "^7.8.2",
|
|
41
|
+
"use-long-press": "^3.3.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@dnd-kit/core": "^6.3.1",
|
|
45
|
+
"@emotion/react": "^11.14.0",
|
|
46
|
+
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
47
|
+
"@fortawesome/free-regular-svg-icons": "^7.2.0",
|
|
48
|
+
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
49
|
+
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
50
|
+
"@gamepark/rules-api": "^7.4.0",
|
|
51
|
+
"@types/fscreen": "^1.0.4",
|
|
52
|
+
"@types/node": "^25.3.1",
|
|
53
|
+
"@types/react": "^19.2.14",
|
|
54
|
+
"@types/react-dom": "^19.2.3",
|
|
55
|
+
"es-toolkit": "^1.44.0",
|
|
56
|
+
"i18next": "^25.8.13",
|
|
57
|
+
"react": "^19.2.4",
|
|
58
|
+
"react-dom": "^19.2.4",
|
|
59
|
+
"react-i18next": "^16.5.4",
|
|
60
|
+
"react-redux": "^9.2.0",
|
|
61
|
+
"typescript": "^5.9.3"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@dnd-kit/core": "6.x",
|
|
65
|
+
"@emotion/react": "11.x",
|
|
66
|
+
"@fortawesome/fontawesome-svg-core": "7.x",
|
|
67
|
+
"@fortawesome/free-regular-svg-icons": "7.x",
|
|
68
|
+
"@fortawesome/free-solid-svg-icons": "7.x",
|
|
69
|
+
"@fortawesome/react-fontawesome": "3.x",
|
|
70
|
+
"@gamepark/rules-api": "7.x",
|
|
71
|
+
"es-toolkit": "1.x",
|
|
72
|
+
"i18next": "25.x",
|
|
73
|
+
"react": "19.x",
|
|
74
|
+
"react-dom": "19.x",
|
|
75
|
+
"react-i18next": "16.x",
|
|
76
|
+
"react-redux": "9.x"
|
|
77
|
+
},
|
|
78
|
+
"packageManager": "yarn@4.9.4"
|
|
79
|
+
}
|