@react-chess-tools/react-chess-game 1.0.2 → 1.0.3
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
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @react-chess-tools/react-chess-game
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1c4f876: docs: update README files
|
|
8
|
+
- e678d58: chore: update dependencies
|
|
9
|
+
- Updated dependencies [1c4f876]
|
|
10
|
+
- Updated dependencies [e678d58]
|
|
11
|
+
- @react-chess-tools/react-chess-clock@1.0.2
|
|
12
|
+
|
|
3
13
|
## 1.0.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -313,14 +313,13 @@ A button to start, pause, and resume the clock.
|
|
|
313
313
|
A button that resets the clock.
|
|
314
314
|
|
|
315
315
|
```tsx
|
|
316
|
-
|
|
316
|
+
// Reset with same time control
|
|
317
|
+
<ChessGame.Clock.Reset>Reset</ChessGame.Clock.Reset>
|
|
317
318
|
|
|
318
|
-
|
|
319
|
-
/* Reset with new time control */
|
|
320
|
-
}
|
|
319
|
+
// Reset with new time control
|
|
321
320
|
<ChessGame.Clock.Reset timeControl="10+5">
|
|
322
321
|
Change to 10+5
|
|
323
|
-
</ChessGame.Clock.Reset
|
|
322
|
+
</ChessGame.Clock.Reset>
|
|
324
323
|
```
|
|
325
324
|
|
|
326
325
|
**Props:**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-chess-tools/react-chess-game",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "react-chess-game is a React component bridging chess.js with react-chessboard to offer a full-featured, ready-to-integrate chess board experience.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@radix-ui/react-slot": "^1.2.4",
|
|
43
|
-
"@react-chess-tools/react-chess-clock": "^1.0.
|
|
43
|
+
"@react-chess-tools/react-chess-clock": "^1.0.2",
|
|
44
44
|
"chess.js": "^1.4.0",
|
|
45
45
|
"lodash": "^4.17.21",
|
|
46
46
|
"react-chessboard": "^5.8.6"
|
package/src/docs/Theming.mdx
CHANGED