@gamepark/react-game 6.24.3 → 6.26.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/dialogs/ResultDialog/ResultDialog.js +19 -18
- package/dist/components/dialogs/ResultDialog/ResultDialog.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/Dices/CubicDiceDescription.d.ts +1 -1
- package/dist/components/material/Dices/CubicDiceDescription.js +1 -1
- package/dist/components/material/Dices/CubicDiceDescription.js.map +1 -1
- package/dist/components/material/DraggableMaterial.js +10 -3
- package/dist/components/material/DraggableMaterial.js.map +1 -1
- package/dist/components/material/FlatMaterial/FlatMaterial.d.ts +1 -1
- package/dist/components/material/FlatMaterial/FlatMaterial.js +7 -4
- package/dist/components/material/FlatMaterial/FlatMaterial.js.map +1 -1
- package/dist/components/material/FlatMaterial/PolyhexDescription.d.ts +9 -0
- package/dist/components/material/FlatMaterial/PolyhexDescription.js +35 -0
- package/dist/components/material/FlatMaterial/PolyhexDescription.js.map +1 -0
- package/dist/components/material/FlatMaterial/index.d.ts +1 -0
- package/dist/components/material/FlatMaterial/index.js +1 -0
- package/dist/components/material/FlatMaterial/index.js.map +1 -1
- package/dist/components/material/GameTable/DropPreview.d.ts +2 -0
- package/dist/components/material/GameTable/DropPreview.js +60 -0
- package/dist/components/material/GameTable/DropPreview.js.map +1 -0
- package/dist/components/material/GameTable/GameMaterialDisplay.js +2 -1
- package/dist/components/material/GameTable/GameMaterialDisplay.js.map +1 -1
- package/dist/components/material/GameTable/GameTable.js +7 -15
- package/dist/components/material/GameTable/GameTable.js.map +1 -1
- package/dist/components/material/GameTable/ItemDisplay.d.ts +2 -0
- package/dist/components/material/GameTable/ItemDisplay.js +1 -1
- package/dist/components/material/GameTable/ItemDisplay.js.map +1 -1
- package/dist/components/material/MaterialComponent.d.ts +4 -0
- package/dist/components/material/MaterialComponent.js +2 -2
- package/dist/components/material/MaterialComponent.js.map +1 -1
- package/dist/components/material/MaterialDescription.d.ts +14 -4
- package/dist/components/material/MaterialDescription.js +35 -9
- package/dist/components/material/MaterialDescription.js.map +1 -1
- package/dist/components/material/MobileMaterialDescription.d.ts +1 -1
- package/dist/components/material/MobileMaterialDescription.js +4 -5
- package/dist/components/material/MobileMaterialDescription.js.map +1 -1
- package/dist/components/material/Wheel/WheelContent.d.ts +14 -0
- package/dist/components/material/Wheel/WheelContent.js +52 -0
- package/dist/components/material/Wheel/WheelContent.js.map +1 -0
- package/dist/components/material/Wheel/WheelDescription.d.ts +19 -0
- package/dist/components/material/Wheel/WheelDescription.js +91 -0
- package/dist/components/material/Wheel/WheelDescription.js.map +1 -0
- package/dist/components/material/Wheel/WheelItem.d.ts +15 -0
- package/dist/components/material/Wheel/WheelItem.js +54 -0
- package/dist/components/material/Wheel/WheelItem.js.map +1 -0
- package/dist/components/material/Wheel/index.d.ts +1 -0
- package/dist/components/material/Wheel/index.js +18 -0
- package/dist/components/material/Wheel/index.js.map +1 -0
- package/dist/components/material/animations/CreateItemAnimations.d.ts +1 -1
- package/dist/components/material/animations/CreateItemAnimations.js +6 -6
- package/dist/components/material/animations/CreateItemAnimations.js.map +1 -1
- package/dist/components/material/animations/DeleteItemAnimations.js +3 -3
- package/dist/components/material/animations/DeleteItemAnimations.js.map +1 -1
- package/dist/components/material/animations/MoveItemAnimations.js +3 -3
- package/dist/components/material/animations/MoveItemAnimations.js.map +1 -1
- package/dist/components/material/animations/getFirstStockItemTransforms.util.js +3 -3
- package/dist/components/material/animations/getFirstStockItemTransforms.util.js.map +1 -1
- package/dist/components/material/animations/transformItem.util.js +6 -5
- package/dist/components/material/animations/transformItem.util.js.map +1 -1
- package/dist/components/material/index.d.ts +1 -0
- package/dist/components/material/index.js +1 -0
- package/dist/components/material/index.js.map +1 -1
- package/dist/components/material/locations/DropAreaDescription.d.ts +2 -1
- package/dist/components/material/locations/DropAreaDescription.js +1 -1
- package/dist/components/material/locations/DropAreaDescription.js.map +1 -1
- package/dist/components/material/locations/HexGridDropArea.d.ts +11 -0
- package/dist/components/material/locations/HexGridDropArea.js +74 -0
- package/dist/components/material/locations/HexGridDropArea.js.map +1 -0
- package/dist/components/material/locations/HexGridDropAreaDescription.d.ts +10 -0
- package/dist/components/material/locations/HexGridDropAreaDescription.js +87 -0
- package/dist/components/material/locations/HexGridDropAreaDescription.js.map +1 -0
- package/dist/components/material/locations/LocationDescription.d.ts +1 -0
- package/dist/components/material/locations/LocationDescription.js +3 -2
- package/dist/components/material/locations/LocationDescription.js.map +1 -1
- package/dist/components/material/locations/index.d.ts +1 -0
- package/dist/components/material/locations/index.js +1 -0
- package/dist/components/material/locations/index.js.map +1 -1
- package/dist/components/material/utils/getBestDropMove.d.ts +4 -0
- package/dist/components/material/utils/getBestDropMove.js +34 -0
- package/dist/components/material/utils/getBestDropMove.js.map +1 -0
- package/dist/components/material/utils/isDroppedItem.js +2 -1
- package/dist/components/material/utils/isDroppedItem.js.map +1 -1
- package/dist/components/tutorial/MaterialTutorial.js +1 -2
- package/dist/components/tutorial/MaterialTutorial.js.map +1 -1
- package/dist/hooks/useItemLocations.js +5 -19
- package/dist/hooks/useItemLocations.js.map +1 -1
- package/dist/locators/HandLocator.js +1 -1
- package/dist/locators/HandLocator.js.map +1 -1
- package/dist/locators/HexagonalGridLocator.d.ts +81 -0
- package/dist/locators/HexagonalGridLocator.js +221 -0
- package/dist/locators/HexagonalGridLocator.js.map +1 -0
- package/dist/locators/ListLocator.js +4 -4
- package/dist/locators/ListLocator.js.map +1 -1
- package/dist/locators/Locator.d.ts +25 -0
- package/dist/locators/Locator.js +33 -1
- package/dist/locators/Locator.js.map +1 -1
- package/dist/locators/PileLocator.js +2 -3
- package/dist/locators/PileLocator.js.map +1 -1
- package/dist/locators/index.d.ts +1 -0
- package/dist/locators/index.js +1 -0
- package/dist/locators/index.js.map +1 -1
- package/dist/locators/utils/grid.hex.util.d.ts +43 -0
- package/dist/locators/utils/grid.hex.util.js +92 -0
- package/dist/locators/utils/grid.hex.util.js.map +1 -0
- package/package.json +3 -3
package/dist/locators/index.d.ts
CHANGED
package/dist/locators/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./utils"), exports);
|
|
|
18
18
|
__exportStar(require("./DeckLocator"), exports);
|
|
19
19
|
__exportStar(require("./FlexLocator"), exports);
|
|
20
20
|
__exportStar(require("./HandLocator"), exports);
|
|
21
|
+
__exportStar(require("./HexagonalGridLocator"), exports);
|
|
21
22
|
__exportStar(require("./Locator"), exports);
|
|
22
23
|
__exportStar(require("./ListLocator"), exports);
|
|
23
24
|
__exportStar(require("./PileLocator"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/locators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,gDAA6B;AAC7B,gDAA6B;AAC7B,gDAA6B;AAC7B,4CAAyB;AACzB,gDAA6B;AAC7B,gDAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/locators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,gDAA6B;AAC7B,gDAA6B;AAC7B,gDAA6B;AAC7B,yDAAsC;AACtC,4CAAyB;AACzB,gDAA6B;AAC7B,gDAA6B"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { XYCoordinates } from '@gamepark/rules-api';
|
|
2
|
+
export declare enum HexagonalGridCoordinatesSystem {
|
|
3
|
+
Axial = 0,
|
|
4
|
+
OddQ = 1,
|
|
5
|
+
EvenQ = 2,
|
|
6
|
+
OddR = 3,
|
|
7
|
+
EvenR = 4
|
|
8
|
+
}
|
|
9
|
+
export declare const oddQToAxial: ({ x, y }: XYCoordinates) => {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const axialToOddQ: ({ x, y }: XYCoordinates) => {
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
};
|
|
17
|
+
export declare const evenQToAxial: ({ x, y }: XYCoordinates) => {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
};
|
|
21
|
+
export declare const axialToEvenQ: ({ x, y }: XYCoordinates) => {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
};
|
|
25
|
+
export declare const oddRToAxial: ({ x, y }: XYCoordinates) => {
|
|
26
|
+
y: number;
|
|
27
|
+
x: number;
|
|
28
|
+
};
|
|
29
|
+
export declare const axialToOddR: ({ x, y }: XYCoordinates) => {
|
|
30
|
+
y: number;
|
|
31
|
+
x: number;
|
|
32
|
+
};
|
|
33
|
+
export declare const evenRToAxial: ({ x, y }: XYCoordinates) => {
|
|
34
|
+
y: number;
|
|
35
|
+
x: number;
|
|
36
|
+
};
|
|
37
|
+
export declare const axialToEvenR: ({ x, y }: XYCoordinates) => {
|
|
38
|
+
y: number;
|
|
39
|
+
x: number;
|
|
40
|
+
};
|
|
41
|
+
export declare function hexToAxial(hex: XYCoordinates, system: HexagonalGridCoordinatesSystem): XYCoordinates;
|
|
42
|
+
export declare function hexFromAxial(hex: XYCoordinates, system: HexagonalGridCoordinatesSystem): XYCoordinates;
|
|
43
|
+
export declare function hexRotate(vector: XYCoordinates, rotation?: number): XYCoordinates;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hexRotate = exports.hexFromAxial = exports.hexToAxial = exports.axialToEvenR = exports.evenRToAxial = exports.axialToOddR = exports.oddRToAxial = exports.axialToEvenQ = exports.evenQToAxial = exports.axialToOddQ = exports.oddQToAxial = exports.HexagonalGridCoordinatesSystem = void 0;
|
|
4
|
+
var HexagonalGridCoordinatesSystem;
|
|
5
|
+
(function (HexagonalGridCoordinatesSystem) {
|
|
6
|
+
HexagonalGridCoordinatesSystem[HexagonalGridCoordinatesSystem["Axial"] = 0] = "Axial";
|
|
7
|
+
HexagonalGridCoordinatesSystem[HexagonalGridCoordinatesSystem["OddQ"] = 1] = "OddQ";
|
|
8
|
+
HexagonalGridCoordinatesSystem[HexagonalGridCoordinatesSystem["EvenQ"] = 2] = "EvenQ";
|
|
9
|
+
HexagonalGridCoordinatesSystem[HexagonalGridCoordinatesSystem["OddR"] = 3] = "OddR";
|
|
10
|
+
HexagonalGridCoordinatesSystem[HexagonalGridCoordinatesSystem["EvenR"] = 4] = "EvenR";
|
|
11
|
+
})(HexagonalGridCoordinatesSystem = exports.HexagonalGridCoordinatesSystem || (exports.HexagonalGridCoordinatesSystem = {}));
|
|
12
|
+
var oddQToAxial = function (_a) {
|
|
13
|
+
var x = _a.x, y = _a.y;
|
|
14
|
+
return ({ x: x, y: y - (x - (x & 1) / 2) });
|
|
15
|
+
};
|
|
16
|
+
exports.oddQToAxial = oddQToAxial;
|
|
17
|
+
var axialToOddQ = function (_a) {
|
|
18
|
+
var x = _a.x, y = _a.y;
|
|
19
|
+
return ({ x: x, y: y + (x - (x & 1)) / 2 });
|
|
20
|
+
};
|
|
21
|
+
exports.axialToOddQ = axialToOddQ;
|
|
22
|
+
var evenQToAxial = function (_a) {
|
|
23
|
+
var x = _a.x, y = _a.y;
|
|
24
|
+
return ({ x: x, y: y - (x + (x & 1) / 2) });
|
|
25
|
+
};
|
|
26
|
+
exports.evenQToAxial = evenQToAxial;
|
|
27
|
+
var axialToEvenQ = function (_a) {
|
|
28
|
+
var x = _a.x, y = _a.y;
|
|
29
|
+
return ({ x: x, y: y + (x + (x & 1)) / 2 });
|
|
30
|
+
};
|
|
31
|
+
exports.axialToEvenQ = axialToEvenQ;
|
|
32
|
+
var oddRToAxial = function (_a) {
|
|
33
|
+
var x = _a.x, y = _a.y;
|
|
34
|
+
return ({ y: y, x: x - (y - (y & 1) / 2) });
|
|
35
|
+
};
|
|
36
|
+
exports.oddRToAxial = oddRToAxial;
|
|
37
|
+
var axialToOddR = function (_a) {
|
|
38
|
+
var x = _a.x, y = _a.y;
|
|
39
|
+
return ({ y: y, x: x + (y - (y & 1)) / 2 });
|
|
40
|
+
};
|
|
41
|
+
exports.axialToOddR = axialToOddR;
|
|
42
|
+
var evenRToAxial = function (_a) {
|
|
43
|
+
var x = _a.x, y = _a.y;
|
|
44
|
+
return ({ y: y, x: x - (y + (y & 1) / 2) });
|
|
45
|
+
};
|
|
46
|
+
exports.evenRToAxial = evenRToAxial;
|
|
47
|
+
var axialToEvenR = function (_a) {
|
|
48
|
+
var x = _a.x, y = _a.y;
|
|
49
|
+
return ({ y: y, x: x + (y + (y & 1)) / 2 });
|
|
50
|
+
};
|
|
51
|
+
exports.axialToEvenR = axialToEvenR;
|
|
52
|
+
function hexToAxial(hex, system) {
|
|
53
|
+
switch (system) {
|
|
54
|
+
case HexagonalGridCoordinatesSystem.OddQ:
|
|
55
|
+
return (0, exports.oddQToAxial)(hex);
|
|
56
|
+
case HexagonalGridCoordinatesSystem.EvenQ:
|
|
57
|
+
return (0, exports.evenQToAxial)(hex);
|
|
58
|
+
case HexagonalGridCoordinatesSystem.OddR:
|
|
59
|
+
return (0, exports.oddRToAxial)(hex);
|
|
60
|
+
case HexagonalGridCoordinatesSystem.EvenR:
|
|
61
|
+
return (0, exports.evenRToAxial)(hex);
|
|
62
|
+
default:
|
|
63
|
+
return hex;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.hexToAxial = hexToAxial;
|
|
67
|
+
function hexFromAxial(hex, system) {
|
|
68
|
+
switch (system) {
|
|
69
|
+
case HexagonalGridCoordinatesSystem.OddQ:
|
|
70
|
+
return (0, exports.axialToOddQ)(hex);
|
|
71
|
+
case HexagonalGridCoordinatesSystem.EvenQ:
|
|
72
|
+
return (0, exports.axialToEvenQ)(hex);
|
|
73
|
+
case HexagonalGridCoordinatesSystem.OddR:
|
|
74
|
+
return (0, exports.axialToOddR)(hex);
|
|
75
|
+
case HexagonalGridCoordinatesSystem.EvenR:
|
|
76
|
+
return (0, exports.axialToEvenR)(hex);
|
|
77
|
+
default:
|
|
78
|
+
return hex;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.hexFromAxial = hexFromAxial;
|
|
82
|
+
function hexRotate(vector, rotation) {
|
|
83
|
+
if (rotation === void 0) { rotation = 0; }
|
|
84
|
+
if (rotation % 6 === 0)
|
|
85
|
+
return vector;
|
|
86
|
+
if (rotation < 0)
|
|
87
|
+
return hexRotate(vector, 6 - rotation % 6);
|
|
88
|
+
var y = vector.y, z = -(vector.x + vector.y);
|
|
89
|
+
return hexRotate({ x: -y, y: -z }, rotation - 1);
|
|
90
|
+
}
|
|
91
|
+
exports.hexRotate = hexRotate;
|
|
92
|
+
//# sourceMappingURL=grid.hex.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.hex.util.js","sourceRoot":"","sources":["../../../src/locators/utils/grid.hex.util.ts"],"names":[],"mappings":";;;AAEA,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,qFAAK,CAAA;IAAE,mFAAI,CAAA;IAAE,qFAAK,CAAA;IAAE,mFAAI,CAAA;IAAE,qFAAK,CAAA;AACjC,CAAC,EAFW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAEzC;AAEM,IAAM,WAAW,GAAG,UAAC,EAAuB;QAArB,CAAC,OAAA,EAAE,CAAC,OAAA;IAAsB,OAAA,CAAC,EAAE,CAAC,GAAA,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;AAAjC,CAAiC,CAAA;AAA5E,QAAA,WAAW,eAAiE;AAClF,IAAM,WAAW,GAAG,UAAC,EAAuB;QAArB,CAAC,OAAA,EAAE,CAAC,OAAA;IAAsB,OAAA,CAAC,EAAE,CAAC,GAAA,EAAE,CAAC,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AAI;YACtC,OAAO,IAAA,mBAAW,EAAC,GAAG,CAAC,CAAA;QACzB,KAAK,8BAA8B,CAAC,KAAK;YACvC,OAAO,IAAA,oBAAY,EAAC,GAAG,CAAC,CAAA;QAC1B;YACE,OAAO,GAAG,CAAA;KACb;AACH,CAAC;AAbD,oCAaC;AAED,SAAgB,SAAS,CAAC,MAAqB,EAAE,QAAoB;IAApB,yBAAA,EAAA,YAAoB;IACnE,IAAI,QAAQ,GAAG,CAAC,KAAK,CAAC;QAAE,OAAO,MAAM,CAAA;IACrC,IAAI,QAAQ,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,GAAG,CAAC,CAAC,CAAA;IAC5D,IAAM,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;IAC9C,OAAO,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,QAAQ,GAAG,CAAC,CAAC,CAAA;AAClD,CAAC;AALD,8BAKC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gamepark/react-game",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.26.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",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
28
28
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
29
29
|
"@gamepark/avataaars": "^2.2.0",
|
|
30
|
-
"@gamepark/react-client": "~6.
|
|
31
|
-
"@gamepark/rules-api": "~6.
|
|
30
|
+
"@gamepark/react-client": "~6.26.0",
|
|
31
|
+
"@gamepark/rules-api": "~6.26.0",
|
|
32
32
|
"dayjs": "^1.11.7",
|
|
33
33
|
"emotion-normalize": "^11.0.1",
|
|
34
34
|
"fscreen": "^1.2.0",
|