react-chessboard-ui 2.14.0 → 3.0.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/ChessBoard/Arrow.d.ts +8 -8
- package/dist/ChessBoard/ArrowLayout.d.ts +15 -15
- package/dist/ChessBoard/ChessBoard.d.ts +22 -22
- package/dist/ChessBoard/ChessBoardCellsLayout.d.ts +11 -11
- package/dist/ChessBoard/ChessBoardControlLayout.d.ts +17 -17
- package/dist/ChessBoard/ChessBoardFiguresLayout.d.ts +12 -12
- package/dist/ChessBoard/ChessBoardInteractiveLayout.d.ts +15 -15
- package/dist/ChessBoard/FigurePicker.d.ts +11 -11
- package/dist/ChessBoard/HoldedFigure.d.ts +10 -10
- package/dist/ChessBoard/chessPieciesMap.d.ts +2 -2
- package/dist/ChessBoard/constants.d.ts +26 -26
- package/dist/ChessBoard/index.d.ts +1 -1
- package/dist/ChessBoard/models.d.ts +39 -0
- package/dist/ChessBoard/useChessBoardInteractive.d.ts +63 -64
- package/dist/ChessBoard/utils.d.ts +75 -75
- package/dist/JSChessEngine/FEN.utils.d.ts +52 -52
- package/dist/JSChessEngine/JSChessEngine.d.ts +388 -388
- package/dist/JSChessEngine/__tests__/FEN.utils.test.d.ts +1 -1
- package/dist/JSChessEngine/__tests__/chessState.mock.d.ts +3 -3
- package/dist/JSChessEngine/chess.consts.d.ts +49 -49
- package/dist/JSChessEngine/index.d.ts +3 -3
- package/dist/index.cjs +1 -0
- package/dist/index.css +1 -205
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1867 -3092
- package/dist/injectStyles.d.ts +1 -0
- package/package.json +32 -10
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -3220
- package/dist/index.modern.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,21 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-chessboard-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "All-in-one React chessboard UI with a built-in chess engine, FEN state control, move validation, drag-and-drop pieces, game-end callbacks, and customizable styles.",
|
|
5
5
|
"author": "skilldill",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "skilldill/react-chessboard-ui",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./style.css": "./dist/index.css",
|
|
19
|
+
"./dist/index.css": "./dist/index.css"
|
|
20
|
+
},
|
|
10
21
|
"homepage": "https://react-chessboard-ui.dev/",
|
|
11
|
-
"
|
|
12
|
-
|
|
22
|
+
"keywords": [
|
|
23
|
+
"react",
|
|
24
|
+
"react-chess",
|
|
25
|
+
"react-chessboard",
|
|
26
|
+
"react-chessboard-ui",
|
|
27
|
+
"js-chess",
|
|
28
|
+
"chess",
|
|
29
|
+
"chessboard",
|
|
30
|
+
"chessboard component",
|
|
31
|
+
"chess engine"
|
|
32
|
+
],
|
|
13
33
|
"engines": {
|
|
14
|
-
"node": ">=
|
|
34
|
+
"node": ">=20.19.0"
|
|
15
35
|
},
|
|
16
36
|
"scripts": {
|
|
17
|
-
"build": "
|
|
18
|
-
"start": "
|
|
37
|
+
"build": "vite build",
|
|
38
|
+
"start": "vite build --watch",
|
|
19
39
|
"prepare": "run-s build",
|
|
20
40
|
"test": "run-s test:unit test:lint test:build",
|
|
21
41
|
"test:build": "run-s build",
|
|
@@ -37,6 +57,7 @@
|
|
|
37
57
|
"@types/react-dom": "^19.1.0",
|
|
38
58
|
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
|
39
59
|
"@typescript-eslint/parser": "^2.26.0",
|
|
60
|
+
"ajv": "^8.20.0",
|
|
40
61
|
"babel-eslint": "^10.0.3",
|
|
41
62
|
"cross-env": "^7.0.2",
|
|
42
63
|
"eslint": "^6.8.0",
|
|
@@ -50,13 +71,14 @@
|
|
|
50
71
|
"eslint-plugin-react": "^7.17.0",
|
|
51
72
|
"eslint-plugin-standard": "^4.0.1",
|
|
52
73
|
"gh-pages": "^2.2.0",
|
|
53
|
-
"microbundle-crl": "^0.13.10",
|
|
54
74
|
"npm-run-all": "^4.1.5",
|
|
55
75
|
"prettier": "^2.0.4",
|
|
56
76
|
"react": "^19.1.0",
|
|
57
77
|
"react-dom": "^19.1.0",
|
|
58
78
|
"react-scripts": "^3.4.1",
|
|
59
|
-
"typescript": "^
|
|
79
|
+
"typescript": "^5.9.3",
|
|
80
|
+
"vite": "^7.1.7",
|
|
81
|
+
"vite-plugin-dts": "^4.5.4"
|
|
60
82
|
},
|
|
61
83
|
"files": [
|
|
62
84
|
"dist"
|