kokopu-react 3.3.1 → 3.3.2
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 +4 -0
- package/dist/lib/chessboard/BoardProperties.d.ts +1 -1
- package/dist/lib/chessboard/BoardProperties.js +1 -1
- package/dist/lib/chessboard/Chessboard.css +1 -1
- package/dist/lib/chessboard/Chessboard.d.ts +3 -3
- package/dist/lib/chessboard/Chessboard.js +1 -1
- package/dist/lib/chessboard/ChessboardImpl.d.ts +1 -1
- package/dist/lib/chessboard/ChessboardImpl.js +1 -1
- package/dist/lib/chessboard/Draggable.d.ts +1 -1
- package/dist/lib/chessboard/Draggable.js +1 -1
- package/dist/lib/chessboard/Draggable.js.map +1 -1
- package/dist/lib/chessboard/Motion.d.ts +1 -1
- package/dist/lib/chessboard/Motion.js +1 -1
- package/dist/lib/chessboard/colorsets.d.ts +1 -1
- package/dist/lib/chessboard/colorsets.js +1 -1
- package/dist/lib/chessboard/piecesets.d.ts +1 -1
- package/dist/lib/chessboard/piecesets.js +1 -1
- package/dist/lib/errorbox/ErrorBox.css +1 -1
- package/dist/lib/errorbox/ErrorBox.d.ts +1 -1
- package/dist/lib/errorbox/ErrorBox.js +1 -1
- package/dist/lib/errorbox/parsing.d.ts +5 -4
- package/dist/lib/errorbox/parsing.js +1 -1
- package/dist/lib/exception.d.ts +1 -1
- package/dist/lib/exception.js +1 -1
- package/dist/lib/i18n.d.ts +1 -1
- package/dist/lib/i18n.js +1 -1
- package/dist/lib/icons/AnnotationSymbolShape.css +1 -1
- package/dist/lib/icons/AnnotationSymbolShape.d.ts +1 -1
- package/dist/lib/icons/AnnotationSymbolShape.js +1 -1
- package/dist/lib/icons/ArrowMarkerIcon.d.ts +1 -1
- package/dist/lib/icons/ArrowMarkerIcon.js +1 -1
- package/dist/lib/icons/ArrowTip.d.ts +1 -1
- package/dist/lib/icons/ArrowTip.js +1 -1
- package/dist/lib/icons/ChessPieceIcon.d.ts +1 -1
- package/dist/lib/icons/ChessPieceIcon.js +1 -1
- package/dist/lib/icons/SquareMarkerIcon.d.ts +1 -1
- package/dist/lib/icons/SquareMarkerIcon.js +1 -1
- package/dist/lib/icons/TextMarkerIcon.d.ts +1 -1
- package/dist/lib/icons/TextMarkerIcon.js +1 -1
- package/dist/lib/icons/arrow.css +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/lib/movetext/Movetext.css +1 -1
- package/dist/lib/movetext/Movetext.d.ts +1 -1
- package/dist/lib/movetext/Movetext.js +1 -1
- package/dist/lib/movetext/Movetext.js.map +1 -1
- package/dist/lib/movetext/MovetextImpl.d.ts +1 -1
- package/dist/lib/movetext/MovetextImpl.js +1 -1
- package/dist/lib/movetext/MovetextImpl.js.map +1 -1
- package/dist/lib/movetext/fonts.css +1 -1
- package/dist/lib/movetext/htmlFilter.d.ts +1 -1
- package/dist/lib/movetext/htmlFilter.js +1 -1
- package/dist/lib/movetext/moveFormatter.d.ts +1 -1
- package/dist/lib/movetext/moveFormatter.js +1 -1
- package/dist/lib/navigationboard/NavigationBoard.d.ts +1 -1
- package/dist/lib/navigationboard/NavigationBoard.js +1 -1
- package/dist/lib/navigationboard/NavigationBoard.js.map +1 -1
- package/dist/lib/navigationboard/NavigationButton.d.ts +1 -1
- package/dist/lib/navigationboard/NavigationButton.js +1 -1
- package/dist/lib/navigationboard/NavigationField.css +1 -1
- package/dist/lib/navigationboard/NavigationField.d.ts +1 -1
- package/dist/lib/navigationboard/NavigationField.js +1 -1
- package/dist/lib/navigationboard/NavigationField.js.map +1 -1
- package/dist/lib/navigationboard/NavigationToolbar.css +1 -1
- package/dist/lib/navigationboard/NavigationToolbar.d.ts +1 -1
- package/dist/lib/navigationboard/NavigationToolbar.js +1 -1
- package/dist/lib/navigationboard/iconPaths.d.ts +1 -1
- package/dist/lib/navigationboard/iconPaths.js +1 -1
- package/dist/lib/sanitization.d.ts +1 -1
- package/dist/lib/sanitization.js +1 -1
- package/dist/lib/types.d.ts +1 -1
- package/dist/lib/types.js +1 -1
- package/dist/lib/util.d.ts +1 -1
- package/dist/lib/util.js +1 -1
- package/doc_src/demo/NavigationBoardWithMoveText.txt +19 -0
- package/doc_src/demo/PageChessboardBase.tsx +1 -1
- package/doc_src/demo/PageChessboardInteraction.tsx +1 -1
- package/doc_src/demo/PageChessboardMove.tsx +1 -1
- package/doc_src/demo/PageChessboardSmallScreens.tsx +1 -1
- package/doc_src/demo/PageMovetextBase.tsx +1 -1
- package/doc_src/demo/PageMovetextInteraction.tsx +7 -9
- package/doc_src/demo/PageNavigationBoardBase.tsx +2 -2
- package/doc_src/demo/PageNavigationBoardUncontrolledVsControlled.tsx +2 -2
- package/doc_src/demo/PageSynchroNavigationBoardMovetext.tsx +115 -0
- package/doc_src/demo/decs.d.ts +6 -1
- package/doc_src/demo/demo.css +1 -1
- package/doc_src/demo/util.ts +1 -1
- package/doc_src/theming/LogoRenderer.js +1 -1
- package/doc_src/theming/theming.css +1 -1
- package/package.json +22 -22
- package/scripts/doc.styleguide.config.js +3 -2
- package/scripts/test-graphic.webpack.config.js +1 -1
- package/scripts/test-headless.webpack.config.js +1 -1
- package/src/chessboard/BoardProperties.ts +1 -1
- package/src/chessboard/Chessboard.css +1 -1
- package/src/chessboard/Chessboard.tsx +3 -3
- package/src/chessboard/ChessboardImpl.tsx +1 -1
- package/src/chessboard/Draggable.tsx +2 -2
- package/src/chessboard/Motion.tsx +1 -1
- package/src/chessboard/colorsets.ts +1 -1
- package/src/chessboard/piecesets.ts +1 -1
- package/src/decs.d.ts +1 -1
- package/src/errorbox/ErrorBox.css +1 -1
- package/src/errorbox/ErrorBox.tsx +1 -1
- package/src/errorbox/parsing.tsx +4 -4
- package/src/exception.ts +1 -1
- package/src/i18n.ts +1 -1
- package/src/icons/AnnotationSymbolShape.css +1 -1
- package/src/icons/AnnotationSymbolShape.tsx +1 -1
- package/src/icons/ArrowMarkerIcon.tsx +1 -1
- package/src/icons/ArrowTip.tsx +1 -1
- package/src/icons/ChessPieceIcon.tsx +1 -1
- package/src/icons/SquareMarkerIcon.tsx +1 -1
- package/src/icons/TextMarkerIcon.tsx +1 -1
- package/src/icons/arrow.css +1 -1
- package/src/index.ts +1 -1
- package/src/movetext/Movetext.css +1 -1
- package/src/movetext/Movetext.tsx +2 -2
- package/src/movetext/MovetextImpl.tsx +2 -2
- package/src/movetext/fonts.css +1 -1
- package/src/movetext/htmlFilter.tsx +1 -1
- package/src/movetext/moveFormatter.tsx +1 -1
- package/src/navigationboard/NavigationBoard.tsx +2 -2
- package/src/navigationboard/NavigationButton.ts +1 -1
- package/src/navigationboard/NavigationField.css +1 -1
- package/src/navigationboard/NavigationField.tsx +2 -2
- package/src/navigationboard/NavigationToolbar.css +1 -1
- package/src/navigationboard/NavigationToolbar.tsx +1 -1
- package/src/navigationboard/iconPaths.ts +1 -1
- package/src/sanitization.ts +1 -1
- package/src/types.ts +1 -1
- package/src/util.ts +1 -1
- package/test/01_types.js +1 -1
- package/test/02_chessboard_util.js +1 -1
- package/test/03_error_box_graphic.js +1 -1
- package/test/04_icons_graphic.js +1 -1
- package/test/05_chessboard_graphic.js +1 -1
- package/test/06_chessboard_animation.js +1 -1
- package/test/07_chessboard_interaction.js +1 -1
- package/test/08_chessboard_play_moves.js +1 -1
- package/test/09_chessboard_small_screens.js +1 -1
- package/test/10_movetext_graphic.js +1 -1
- package/test/11_movetext_interaction.js +1 -1
- package/test/12_navigation_board_base.js +1 -1
- package/test/13_navigation_board_graphic.js +1 -1
- package/test/14_navigation_board_autoplay.js +1 -1
- package/test/common/graphic.js +1 -1
- package/test/graphic_test_app/03_error_box_graphic/base.tsx +1 -1
- package/test/graphic_test_app/03_error_box_graphic/localization.tsx +1 -1
- package/test/graphic_test_app/04_icons_graphic/chess_piece.tsx +1 -1
- package/test/graphic_test_app/04_icons_graphic/marker.tsx +1 -1
- package/test/graphic_test_app/05_chessboard_graphic/annotations.tsx +1 -1
- package/test/graphic_test_app/05_chessboard_graphic/base.tsx +1 -1
- package/test/graphic_test_app/05_chessboard_graphic/chess_variants.tsx +1 -1
- package/test/graphic_test_app/05_chessboard_graphic/flipped.tsx +1 -1
- package/test/graphic_test_app/05_chessboard_graphic/move.tsx +1 -1
- package/test/graphic_test_app/05_chessboard_graphic/theme.tsx +1 -1
- package/test/graphic_test_app/06_chessboard_animation/base_1.tsx +1 -1
- package/test/graphic_test_app/06_chessboard_animation/base_2.tsx +1 -1
- package/test/graphic_test_app/06_chessboard_animation/base_3.tsx +1 -1
- package/test/graphic_test_app/06_chessboard_animation/on_redraw.tsx +1 -1
- package/test/graphic_test_app/07_chessboard_interaction/click_squares.tsx +1 -1
- package/test/graphic_test_app/07_chessboard_interaction/edit_arrows.tsx +1 -1
- package/test/graphic_test_app/07_chessboard_interaction/error.tsx +1 -1
- package/test/graphic_test_app/07_chessboard_interaction/move_pieces.tsx +1 -1
- package/test/graphic_test_app/08_chessboard_play_moves/base.tsx +1 -1
- package/test/graphic_test_app/08_chessboard_play_moves/promotions.tsx +1 -1
- package/test/graphic_test_app/09_chessboard_small_screens/base.tsx +1 -1
- package/test/graphic_test_app/09_chessboard_small_screens/top_bottom_components.tsx +1 -1
- package/test/graphic_test_app/10_movetext_graphic/base.tsx +1 -1
- package/test/graphic_test_app/10_movetext_graphic/error.tsx +1 -1
- package/test/graphic_test_app/10_movetext_graphic/format_move.tsx +1 -1
- package/test/graphic_test_app/10_movetext_graphic/html.tsx +1 -1
- package/test/graphic_test_app/10_movetext_graphic/options.tsx +1 -1
- package/test/graphic_test_app/11_movetext_interaction/error.tsx +1 -1
- package/test/graphic_test_app/11_movetext_interaction/select_moves.tsx +1 -1
- package/test/graphic_test_app/12_navigation_board_base/controlled.tsx +1 -1
- package/test/graphic_test_app/12_navigation_board_base/uncontrolled.tsx +1 -1
- package/test/graphic_test_app/13_navigation_board_graphic/additional_buttons.tsx +1 -1
- package/test/graphic_test_app/13_navigation_board_graphic/error.tsx +1 -1
- package/test/graphic_test_app/13_navigation_board_graphic/theme.tsx +1 -1
- package/test/graphic_test_app/14_navigation_board_autoplay/controlled.tsx +1 -1
- package/test/graphic_test_app/14_navigation_board_autoplay/uncontrolled.tsx +1 -1
- package/test/graphic_test_app/common/decs.d.ts +1 -1
- package/test/graphic_test_app/common/test_app.css +1 -1
- package/test/graphic_test_app/common/test_app.tsx +1 -1
- /package/doc_src/demo/{game-3.pgn → game-short.pgn} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -62,7 +62,7 @@ interface MovetextImplProps {
|
|
|
62
62
|
*/
|
|
63
63
|
export class MovetextImpl extends React.Component<MovetextImplProps> {
|
|
64
64
|
|
|
65
|
-
private navigationFieldRef
|
|
65
|
+
private navigationFieldRef = React.createRef<NavigationField>();
|
|
66
66
|
|
|
67
67
|
render() {
|
|
68
68
|
return (
|
package/src/movetext/fonts.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -186,7 +186,7 @@ export class NavigationBoard extends React.Component<NavigationBoardProps, Navig
|
|
|
186
186
|
additionalButtons: [],
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
-
private navigationFieldRef
|
|
189
|
+
private navigationFieldRef = React.createRef<NavigationField>();
|
|
190
190
|
private timeoutId?: number;
|
|
191
191
|
|
|
192
192
|
constructor(props: NavigationBoardProps) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -43,7 +43,7 @@ interface NavigationFieldProps {
|
|
|
43
43
|
*/
|
|
44
44
|
export class NavigationField extends React.Component<NavigationFieldProps> {
|
|
45
45
|
|
|
46
|
-
private focusFieldRef
|
|
46
|
+
private focusFieldRef = React.createRef<HTMLAnchorElement>();
|
|
47
47
|
|
|
48
48
|
render() {
|
|
49
49
|
return (
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
package/src/sanitization.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
package/src/types.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
package/src/util.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
package/test/01_types.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
package/test/04_icons_graphic.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
package/test/common/graphic.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* *
|
|
4
4
|
* Kokopu-React - A React-based library of chess-related components. *
|
|
5
5
|
* <https://www.npmjs.com/package/kokopu-react> *
|
|
6
|
-
* Copyright (C) 2021-
|
|
6
|
+
* Copyright (C) 2021-2025 Yoann Le Montagner <yo35 -at- melix.net> *
|
|
7
7
|
* *
|
|
8
8
|
* Kokopu-React is free software: you can redistribute it and/or *
|
|
9
9
|
* modify it under the terms of the GNU Lesser General Public License *
|