@react-chess-tools/react-chess-clock 1.0.1 → 1.0.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @react-chess-tools/react-chess-clock
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 1c4f876: docs: update README files
8
+ - e678d58: chore: update dependencies
9
+
3
10
  ## 1.0.1
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -261,15 +261,11 @@ Supports **ref forwarding**, **asChild pattern**, and all standard **HTML button
261
261
  #### Example
262
262
 
263
263
  ```tsx
264
- {
265
- /* Reset with same time control */
266
- }
267
- <ChessClock.Reset>Reset</ChessClock.Reset>;
264
+ // Reset with same time control
265
+ <ChessClock.Reset>Reset</ChessClock.Reset>
268
266
 
269
- {
270
- /* Reset with new time control */
271
- }
272
- <ChessClock.Reset timeControl="10+5">Change to 10+5</ChessClock.Reset>;
267
+ // Reset with new time control
268
+ <ChessClock.Reset timeControl="10+5">Change to 10+5</ChessClock.Reset>
273
269
  ```
274
270
 
275
271
  #### Using asChild Pattern
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-chess-tools/react-chess-clock",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A standalone chess clock component for React with support for multiple timing methods (Fischer, delay, Bronstein) and seamless integration with react-chess-game.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,4 +1,4 @@
1
- import type { Meta } from "@storybook/react";
1
+ import type { Meta } from "@storybook/react-vite";
2
2
  import React from "react";
3
3
  import { ChessClock } from "./index";
4
4
  import { useChessClockContext } from "../../hooks/useChessClockContext";