@connectorvol/chess-widgets 1.0.0

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 (35) hide show
  1. package/dist/button-variants.d.ts +73 -0
  2. package/dist/button-variants.js +31 -0
  3. package/dist/constants/editable-board-settings.d.ts +26 -0
  4. package/dist/constants/editable-board-settings.js +27 -0
  5. package/dist/index.d.ts +12 -0
  6. package/dist/index.js +8 -0
  7. package/dist/position-editor/EditFen.svelte +164 -0
  8. package/dist/position-editor/EditFen.svelte.d.ts +16 -0
  9. package/dist/position-editor/EditMove.svelte +180 -0
  10. package/dist/position-editor/EditMove.svelte.d.ts +9 -0
  11. package/dist/position-editor/EditPanel.svelte +164 -0
  12. package/dist/position-editor/EditPanel.svelte.d.ts +8 -0
  13. package/dist/position-editor/fen.svelte.d.ts +26 -0
  14. package/dist/position-editor/fen.svelte.js +177 -0
  15. package/dist/puzzle/puzzleCreatedPayload.d.ts +17 -0
  16. package/dist/puzzle/puzzleCreatedPayload.js +24 -0
  17. package/dist/puzzle/puzzleData.d.ts +32 -0
  18. package/dist/puzzle/puzzleData.js +51 -0
  19. package/dist/puzzle/puzzleSolverForkAnnotations.d.ts +14 -0
  20. package/dist/puzzle/puzzleSolverForkAnnotations.js +94 -0
  21. package/dist/puzzle/puzzleStepPreviewSolver.d.ts +39 -0
  22. package/dist/puzzle/puzzleStepPreviewSolver.js +87 -0
  23. package/dist/puzzle-creation/PuzzleCreationWizard.svelte +247 -0
  24. package/dist/puzzle-creation/PuzzleCreationWizard.svelte.d.ts +5 -0
  25. package/dist/puzzle-creation/StepMoves.svelte +225 -0
  26. package/dist/puzzle-creation/StepMoves.svelte.d.ts +15 -0
  27. package/dist/puzzle-creation/StepPosition.svelte +210 -0
  28. package/dist/puzzle-creation/StepPosition.svelte.d.ts +11 -0
  29. package/dist/puzzle-creation/StepPreview.svelte +589 -0
  30. package/dist/puzzle-creation/StepPreview.svelte.d.ts +23 -0
  31. package/dist/puzzle-creation/types.d.ts +27 -0
  32. package/dist/puzzle-creation/types.js +1 -0
  33. package/dist/utils.d.ts +15 -0
  34. package/dist/utils.js +8 -0
  35. package/package.json +76 -0
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@connectorvol/chess-widgets",
3
+ "version": "1.0.0",
4
+ "private": false,
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "files": [
9
+ "dist",
10
+ "!dist/**/*.test.*",
11
+ "!dist/**/*.spec.*"
12
+ ],
13
+ "type": "module",
14
+ "sideEffects": [
15
+ "**/*.css"
16
+ ],
17
+ "main": "./dist/index.js",
18
+ "types": "./dist/index.d.ts",
19
+ "svelte": "./dist/index.js",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "svelte": "./dist/index.js",
24
+ "import": "./dist/index.js",
25
+ "require": "./dist/index.js"
26
+ }
27
+ },
28
+ "scripts": {
29
+ "start": "vite",
30
+ "dev": "vite",
31
+ "build": "vite build",
32
+ "preview": "vite preview",
33
+ "package": "svelte-kit sync && svelte-package && bun pm pack",
34
+ "publish": "bun publish --access public",
35
+ "prepublishOnly": "bun pm pack",
36
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
37
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
38
+ "format": "oxfmt --write . && prettier --write \"**/*.svelte\"",
39
+ "prettier": "prettier --write \"**/*.svelte\"",
40
+ "test": ""
41
+ },
42
+ "dependencies": {
43
+ "@connectorvol/chessboard": "2.2.0",
44
+ "@connectorvol/chessops": "2.0.3",
45
+ "@connectorvol/shared": "2.1.2",
46
+ "@connectorvol/tree": "3.0.0",
47
+ "clsx": "^2.1.1",
48
+ "tailwind-merge": "3.3.1",
49
+ "tailwind-variants": "3.1.1"
50
+ },
51
+ "devDependencies": {
52
+ "@ianvs/prettier-plugin-sort-imports": "4.5.1",
53
+ "@lucide/svelte": "^0.553.0",
54
+ "@sveltejs/adapter-static": "3.0.10",
55
+ "@sveltejs/kit": "2.48.0",
56
+ "@sveltejs/package": "2.4.0",
57
+ "@sveltejs/vite-plugin-svelte": "7.0.0",
58
+ "@tailwindcss/forms": "0.5.10",
59
+ "@tailwindcss/postcss": "4.1.11",
60
+ "@tailwindcss/typography": "0.5.16",
61
+ "@tailwindcss/vite": "4.1.11",
62
+ "autoprefixer": "10.4.21",
63
+ "svelte-check": "4.3.2",
64
+ "tailwindcss": "4.1.11",
65
+ "tw-animate-css": "1.4.0",
66
+ "typescript": "6.0.2",
67
+ "vite": "8.0.7",
68
+ "vite-plugin-checker": "0.12.0",
69
+ "vite-plugin-svelte-checker": "0.1.2"
70
+ },
71
+ "peerDependencies": {
72
+ "@lucide/svelte": "^0.553.0",
73
+ "bits-ui": "2.16.4",
74
+ "svelte": "^5.53.12"
75
+ }
76
+ }