Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- improve storybook with deep controls - independent rows and column config - custom notation styling - simplified context typing - simplified board generation
- read in and display fen position - use square chess notation for ids instead of row column indexes
- animate between positions - add chessjs stories
- fix cells from aa and 10 upwards notation - allow position objects to be passed in for position as well as fen, supporting larger boards - add new DraggingPieceDataType, to keep position PieceDataType simpler
- rolldown packaging - cell renamed to square - click, hover, and drag handlers - chess.js example improvements to be safer from closures - remove isWaitingForAnimation as not currently needed - onPieceDrop returns if successful to set animations correctly - castling animated
- separate build and development tsconfigs so storybook docs can be excluded from build requirements - move docs to own folder - start on full docs - fix styles overriding - remove onPieceDragEnd - fix dropping off board animation resets - fix onPieceDragStart square value - fix onSquare click with PointerSensor override requiring drag of 5px before registering drag - add allowDragging - fix onMouseOutSquare by using onMouseLeave instead of onMouseOut - fix alpha and numeric styles being swapped
- rename core docs to ensure ordering and GetStarted opening by default - finish how to use docs - start contributing docs - add custom pieces features - decrease activationConstraint distance to 2 pixels - export default pieces - optimise piece and square to reduce re-renders
- eslint - prettier - semantic release - templates for issues and PRs - CI
|
🎉 This PR is included in version 4.7.4-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Clariity
added a commit
that referenced
this pull request
Jul 2, 2025
* BREAKING CHANGE: v5 pre-release (#194) * feat: v5 init * feat: board robustness - improve storybook with deep controls - independent rows and column config - custom notation styling - simplified context typing - simplified board generation * feat: position updates - read in and display fen position - use square chess notation for ids instead of row column indexes * feat: animation updates - animate between positions - add chessjs stories * feat: board orientation * feat: position improvements - fix cells from aa and 10 upwards notation - allow position objects to be passed in for position as well as fen, supporting larger boards - add new DraggingPieceDataType, to keep position PieceDataType simpler * feat: styling and handling improvements * feat: many features - rolldown packaging - cell renamed to square - click, hover, and drag handlers - chess.js example improvements to be safer from closures - remove isWaitingForAnimation as not currently needed - onPieceDrop returns if successful to set animations correctly - castling animated * feat: many features - separate build and development tsconfigs so storybook docs can be excluded from build requirements - move docs to own folder - start on full docs - fix styles overriding - remove onPieceDragEnd - fix dropping off board animation resets - fix onPieceDragStart square value - fix onSquare click with PointerSensor override requiring drag of 5px before registering drag - add allowDragging - fix onMouseOutSquare by using onMouseLeave instead of onMouseOut - fix alpha and numeric styles being swapped * feat: many features - rename core docs to ensure ordering and GetStarted opening by default - finish how to use docs - start contributing docs - add custom pieces features - decrease activationConstraint distance to 2 pixels - export default pieces - optimise piece and square to reduce re-renders * feat: many features - eslint - prettier - semantic release - templates for issues and PRs - CI * feat: readme * fix: ci * fix: semantic release * fix: semantic release * fix!: packaging * fix: release notes preset * build: commit lint * docs: finish contributing and start on upgrade guide * docs: fix docs * feat: more features and docs - docs on premoves - add canDragPiece and squareStyles props - prevent text highlighting on notation by default - export all utils for consumers to use (docs coming later) * feat: more features and docs - docs only mode for storybook - export spare piece from package - split piece into Draggable and Piece - add dragActivationDistance prop - add draggingPieceGhostStyle prop - add draggingPieceStyle prop - fix square styles and can drag piece story names * fix: try exporting types * fix: try supporting cjs and esm * fix: try to package correctly * fix: use rollup instead of rolldown * feat: arrows and ids * docs: improvements - split docs - improve wording - add next and prev links - add message component to docs - rename arrowSettings to arrowOptions * feat: docs improvements and export missing utility function - add stockfish advanced example - add piece promotion example - update readme with contribution options - improve existing docs - export chessColumnToColumnIndex * fix: prettier * feat: accurate piece animation square detection and mini puzzle example added * feat: more features and docs - add bundlesize to docs - add discord link - update contributing to include install command - use better examples of chessGame management - split square into Square and Droppable - fix keyboard ability to drop with custom collision detection - use boxShadow for default drop square style instead of border * feat: more features and docs - add click to move example doc - add multiplayer example doc - add 4 player example doc - remove pieceType enum and restriction - add fill and svgStyle optional props to default pieces for customisation * fix: spare pieces story * feat: more features and docs - add square renderer to render custom squares - rename onPieceDragStart to onPieceDrag - update default dragActivationDistance from 2 to 1 to increase perceived snappiness - minor docs discrepancy fixes and use of improved chess.js handling - add 3d board example * docs: finish upgrade guide * feat: add allowDragOffBoard prop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.