@mirasen/chessboard 1.3.1 → 1.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @mirasen/chessboard
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 41c2799: dependabot: directory '/', update @sveltejs/kit
8
+ - 41c2799: dependabot: directory '/', update es-toolkit
9
+ - 41c2799: dependabot: directory '/', update eslint-plugin-svelte
10
+ - 41c2799: dependabot: directory '/', update svelte
11
+ - 41c2799: dependabot: directory '/', update typescript-eslint
12
+ - 00b1e4f: dependabot: directory '/', update vite
13
+ - 857a1b5: dependabot: directory '/examples/sveltekit', update prettier-plugin-svelte from 3.5.2 to 4.0.1
14
+ - 1226db9: Fix mobile lifted-piece drag clipping near board edges.
15
+
16
+ Scaled mobile drag visuals can intentionally extend outside the board viewport so the dragged piece stays visible under the user's finger. The root SVG and SvelteKit example container now allow those board-local overlay visuals to remain visible without changing layout geometry, pointer mapping, or drag behavior.
17
+
3
18
  ## 1.3.1
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  # @mirasen/chessboard
8
8
 
9
- A framework-agnostic TypeScript chessboard platform with real chess interaction built in and an extension-driven architecture.
9
+ A production-grade, framework-agnostic TypeScript chessboard platform with real chess interaction built in and an extension-driven architecture.
10
10
 
11
11
  ## Try it live (including annotations)
12
12
 
@@ -7,6 +7,9 @@ export function createSvgRoots(options) {
7
7
  svgRoot.style.setProperty('touch-action', 'pinch-zoom');
8
8
  svgRoot.style.setProperty('-webkit-touch-callout', 'none');
9
9
  svgRoot.style.setProperty('-webkit-tap-highlight-color', 'transparent');
10
+ // Don't clip board-local overlay visuals (e.g. mobile lifted drag piece
11
+ // scaled above the top rank) at the SVG viewport.
12
+ svgRoot.style.setProperty('overflow', 'visible');
10
13
  // Create children in the correct order
11
14
  const board = createSvgElement(svgRoot, 'g', { 'data-chessboard-id': 'board-root' });
12
15
  const coordinates = createSvgElement(svgRoot, 'g', {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirasen/chessboard",
3
- "description": "Framework-agnostic TypeScript chessboard platform with real chess interaction built in.",
4
- "version": "1.3.1",
3
+ "description": "Production-grade framework-agnostic TypeScript chessboard platform with real chess interaction built in.",
4
+ "version": "1.3.2",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Mirasen"
@@ -97,7 +97,7 @@
97
97
  "rimraf": "^6.0.1",
98
98
  "serve": "^14.2.6",
99
99
  "typescript": "^6.0.3",
100
- "typescript-eslint": "^8.57.0",
100
+ "typescript-eslint": "^8.60.0",
101
101
  "vitest": "^4.0.18"
102
102
  },
103
103
  "engines": {
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "dependencies": {
107
107
  "@ktarmyshov/assert": "^0.1.9",
108
- "es-toolkit": "^1.45.1",
108
+ "es-toolkit": "^1.47.0",
109
109
  "type-fest": "^5.5.0"
110
110
  },
111
111
  "peerDependencies": {