cm-chessboard 4.5.3 → 4.5.4

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.
Files changed (2) hide show
  1. package/README.md +9 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ aspects of chess games.
14
14
  - [Can handle moves input via click or drag](https://shaack.com/projekte/cm-chessboard/examples/validate-moves.html)
15
15
  - [Styleable via css](https://shaack.com/projekte/cm-chessboard/examples/different-styles.html)
16
16
  - [Supports multiple piece sets](https://shaack.com/projekte/cm-chessboard/examples/different-styles.html)
17
- - [Supports an optimized usage for visually impaired people](https://shaack.com/projekte/cm-chessboard/examples/accessible-chessboard.html)
17
+ - [Supports an optimized usage for visually impaired people](https://shaack.com/projekte/cm-chessboard/examples/extensions/chessboard-accessibility-extension.html)
18
18
  🆕
19
19
  - Uses SVG for rendering
20
20
  - Vanilla JavaScript modules in ECMAScript 6 syntax
@@ -372,13 +372,13 @@ const chessboard = new Chessboard(document.getElementById("board"), {
372
372
  })
373
373
  ```
374
374
 
375
- ### Extension `Accessibility`
375
+ ### `Accessibility` extension
376
376
 
377
377
  This extension ensures that visual impaired people can better use the chessboard. It displays the braille notation
378
378
  of the current position in the alt tag of the board image and enables a form to move the pieces via text input. It
379
379
  can also display the board as HTML table and the pieces as list.
380
380
 
381
- See example [Accessibility extension](https://shaack.com/projekte/cm-chessboard/examples/accessible-chessboard.html)
381
+ See example [Accessibility extension](https://shaack.com/projekte/cm-chessboard/examples/extensions/chessboard-accessibility-extension.html)
382
382
 
383
383
  #### Usage
384
384
 
@@ -405,6 +405,12 @@ const chessboard = new Chessboard(document.getElementById("board"), {
405
405
  })
406
406
  ```
407
407
 
408
+ ### `Arrows` extension
409
+
410
+ To draw arrows on the board.
411
+
412
+ See example [Arrows extension](https://shaack.com/projekte/cm-chessboard/examples/extensions/chessboard-arrows-extension.html)
413
+
408
414
  ## Usage with React
409
415
 
410
416
  There exists a ticket from someone who is using cm-chessboard with react:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "4.5.3",
3
+ "version": "4.5.4",
4
4
  "description": "A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.",
5
5
  "keywords": [
6
6
  "chess",