@dxos/react-ui-gameboard 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae

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 (132) hide show
  1. package/README.md +2 -0
  2. package/dist/lib/browser/index.mjs +736 -788
  3. package/dist/lib/browser/index.mjs.map +4 -4
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/node-esm/index.mjs +736 -788
  6. package/dist/lib/node-esm/index.mjs.map +4 -4
  7. package/dist/lib/node-esm/meta.json +1 -1
  8. package/dist/types/src/components/Chessboard/Chessboard.d.ts +20 -0
  9. package/dist/types/src/components/Chessboard/Chessboard.d.ts.map +1 -0
  10. package/dist/types/src/components/Chessboard/Chessboard.stories.d.ts +30 -0
  11. package/dist/types/src/components/Chessboard/Chessboard.stories.d.ts.map +1 -0
  12. package/dist/types/src/components/Chessboard/chess.d.ts +60 -0
  13. package/dist/types/src/components/Chessboard/chess.d.ts.map +1 -0
  14. package/dist/types/src/components/Chessboard/chess.test.d.ts +2 -0
  15. package/dist/types/src/components/Chessboard/chess.test.d.ts.map +1 -0
  16. package/dist/types/src/components/Chessboard/index.d.ts.map +1 -0
  17. package/dist/types/src/components/Gameboard/Gameboard.d.ts +37 -0
  18. package/dist/types/src/components/Gameboard/Gameboard.d.ts.map +1 -0
  19. package/dist/types/src/{Gameboard → components/Gameboard}/Piece.d.ts +3 -2
  20. package/dist/types/src/components/Gameboard/Piece.d.ts.map +1 -0
  21. package/dist/types/src/components/Gameboard/Square.d.ts.map +1 -0
  22. package/dist/types/src/components/Gameboard/index.d.ts +4 -0
  23. package/dist/types/src/components/Gameboard/index.d.ts.map +1 -0
  24. package/dist/types/src/{Gameboard → components/Gameboard}/types.d.ts +3 -2
  25. package/dist/types/src/components/Gameboard/types.d.ts.map +1 -0
  26. package/dist/types/src/components/Gameboard/util.d.ts.map +1 -0
  27. package/dist/types/src/components/index.d.ts +3 -0
  28. package/dist/types/src/components/index.d.ts.map +1 -0
  29. package/dist/types/src/gen/pieces/chess/alpha/bB.d.ts +2 -2
  30. package/dist/types/src/gen/pieces/chess/alpha/bB.d.ts.map +1 -1
  31. package/dist/types/src/gen/pieces/chess/alpha/bK.d.ts +2 -2
  32. package/dist/types/src/gen/pieces/chess/alpha/bN.d.ts +2 -2
  33. package/dist/types/src/gen/pieces/chess/alpha/bP.d.ts +2 -2
  34. package/dist/types/src/gen/pieces/chess/alpha/bQ.d.ts +2 -2
  35. package/dist/types/src/gen/pieces/chess/alpha/bQ.d.ts.map +1 -1
  36. package/dist/types/src/gen/pieces/chess/alpha/bR.d.ts +2 -2
  37. package/dist/types/src/gen/pieces/chess/alpha/index.d.ts +12 -12
  38. package/dist/types/src/gen/pieces/chess/alpha/wB.d.ts +2 -2
  39. package/dist/types/src/gen/pieces/chess/alpha/wK.d.ts +2 -2
  40. package/dist/types/src/gen/pieces/chess/alpha/wN.d.ts +2 -2
  41. package/dist/types/src/gen/pieces/chess/alpha/wP.d.ts +2 -2
  42. package/dist/types/src/gen/pieces/chess/alpha/wQ.d.ts +2 -2
  43. package/dist/types/src/gen/pieces/chess/alpha/wR.d.ts +2 -2
  44. package/dist/types/src/gen/pieces/chess/cburnett/bB.d.ts +2 -2
  45. package/dist/types/src/gen/pieces/chess/cburnett/bB.d.ts.map +1 -1
  46. package/dist/types/src/gen/pieces/chess/cburnett/bK.d.ts +2 -2
  47. package/dist/types/src/gen/pieces/chess/cburnett/bK.d.ts.map +1 -1
  48. package/dist/types/src/gen/pieces/chess/cburnett/bN.d.ts +2 -2
  49. package/dist/types/src/gen/pieces/chess/cburnett/bN.d.ts.map +1 -1
  50. package/dist/types/src/gen/pieces/chess/cburnett/bP.d.ts +2 -2
  51. package/dist/types/src/gen/pieces/chess/cburnett/bQ.d.ts +2 -2
  52. package/dist/types/src/gen/pieces/chess/cburnett/bQ.d.ts.map +1 -1
  53. package/dist/types/src/gen/pieces/chess/cburnett/bR.d.ts +2 -2
  54. package/dist/types/src/gen/pieces/chess/cburnett/bR.d.ts.map +1 -1
  55. package/dist/types/src/gen/pieces/chess/cburnett/index.d.ts +12 -12
  56. package/dist/types/src/gen/pieces/chess/cburnett/wB.d.ts +2 -2
  57. package/dist/types/src/gen/pieces/chess/cburnett/wB.d.ts.map +1 -1
  58. package/dist/types/src/gen/pieces/chess/cburnett/wK.d.ts +2 -2
  59. package/dist/types/src/gen/pieces/chess/cburnett/wK.d.ts.map +1 -1
  60. package/dist/types/src/gen/pieces/chess/cburnett/wN.d.ts +2 -2
  61. package/dist/types/src/gen/pieces/chess/cburnett/wN.d.ts.map +1 -1
  62. package/dist/types/src/gen/pieces/chess/cburnett/wP.d.ts +2 -2
  63. package/dist/types/src/gen/pieces/chess/cburnett/wQ.d.ts +2 -2
  64. package/dist/types/src/gen/pieces/chess/cburnett/wQ.d.ts.map +1 -1
  65. package/dist/types/src/gen/pieces/chess/cburnett/wR.d.ts +2 -2
  66. package/dist/types/src/gen/pieces/chess/cburnett/wR.d.ts.map +1 -1
  67. package/dist/types/src/index.d.ts +1 -2
  68. package/dist/types/src/index.d.ts.map +1 -1
  69. package/dist/types/tsconfig.tsbuildinfo +1 -1
  70. package/package.json +27 -22
  71. package/src/{Chessboard → components/Chessboard}/Chessboard.stories.tsx +32 -29
  72. package/src/{Chessboard → components/Chessboard}/Chessboard.tsx +72 -60
  73. package/src/components/Chessboard/chess.test.ts +19 -0
  74. package/src/components/Chessboard/chess.ts +325 -0
  75. package/src/components/Gameboard/Gameboard.tsx +139 -0
  76. package/src/{Gameboard → components/Gameboard}/Piece.tsx +27 -23
  77. package/src/{Gameboard → components/Gameboard}/Square.tsx +8 -6
  78. package/src/{Gameboard → components/Gameboard}/index.ts +0 -3
  79. package/src/{Gameboard → components/Gameboard}/types.ts +4 -2
  80. package/src/components/index.ts +6 -0
  81. package/src/gen/pieces/chess/alpha/bB.tsx +9 -6
  82. package/src/gen/pieces/chess/alpha/bK.tsx +7 -7
  83. package/src/gen/pieces/chess/alpha/bN.tsx +7 -7
  84. package/src/gen/pieces/chess/alpha/bP.tsx +5 -5
  85. package/src/gen/pieces/chess/alpha/bQ.tsx +9 -6
  86. package/src/gen/pieces/chess/alpha/bR.tsx +6 -6
  87. package/src/gen/pieces/chess/alpha/index.ts +12 -12
  88. package/src/gen/pieces/chess/alpha/wB.tsx +7 -7
  89. package/src/gen/pieces/chess/alpha/wK.tsx +7 -7
  90. package/src/gen/pieces/chess/alpha/wN.tsx +7 -7
  91. package/src/gen/pieces/chess/alpha/wP.tsx +7 -7
  92. package/src/gen/pieces/chess/alpha/wQ.tsx +7 -7
  93. package/src/gen/pieces/chess/alpha/wR.tsx +7 -7
  94. package/src/gen/pieces/chess/cburnett/bB.tsx +20 -9
  95. package/src/gen/pieces/chess/cburnett/bK.tsx +25 -15
  96. package/src/gen/pieces/chess/cburnett/bN.tsx +20 -13
  97. package/src/gen/pieces/chess/cburnett/bP.tsx +6 -6
  98. package/src/gen/pieces/chess/cburnett/bQ.tsx +19 -13
  99. package/src/gen/pieces/chess/cburnett/bR.tsx +27 -11
  100. package/src/gen/pieces/chess/cburnett/index.ts +12 -12
  101. package/src/gen/pieces/chess/cburnett/wB.tsx +19 -9
  102. package/src/gen/pieces/chess/cburnett/wK.tsx +19 -12
  103. package/src/gen/pieces/chess/cburnett/wN.tsx +16 -9
  104. package/src/gen/pieces/chess/cburnett/wP.tsx +7 -7
  105. package/src/gen/pieces/chess/cburnett/wQ.tsx +19 -9
  106. package/src/gen/pieces/chess/cburnett/wR.tsx +19 -9
  107. package/src/index.ts +1 -2
  108. package/dist/types/src/Chessboard/Chessboard.d.ts +0 -15
  109. package/dist/types/src/Chessboard/Chessboard.d.ts.map +0 -1
  110. package/dist/types/src/Chessboard/Chessboard.stories.d.ts +0 -16
  111. package/dist/types/src/Chessboard/Chessboard.stories.d.ts.map +0 -1
  112. package/dist/types/src/Chessboard/chess.d.ts +0 -40
  113. package/dist/types/src/Chessboard/chess.d.ts.map +0 -1
  114. package/dist/types/src/Chessboard/index.d.ts.map +0 -1
  115. package/dist/types/src/Gameboard/Gameboard.d.ts +0 -23
  116. package/dist/types/src/Gameboard/Gameboard.d.ts.map +0 -1
  117. package/dist/types/src/Gameboard/Piece.d.ts.map +0 -1
  118. package/dist/types/src/Gameboard/Square.d.ts.map +0 -1
  119. package/dist/types/src/Gameboard/context.d.ts +0 -10
  120. package/dist/types/src/Gameboard/context.d.ts.map +0 -1
  121. package/dist/types/src/Gameboard/index.d.ts +0 -7
  122. package/dist/types/src/Gameboard/index.d.ts.map +0 -1
  123. package/dist/types/src/Gameboard/types.d.ts.map +0 -1
  124. package/dist/types/src/Gameboard/util.d.ts.map +0 -1
  125. package/src/Chessboard/chess.ts +0 -213
  126. package/src/Gameboard/Gameboard.tsx +0 -103
  127. package/src/Gameboard/context.ts +0 -22
  128. /package/dist/types/src/{Chessboard → components/Chessboard}/index.d.ts +0 -0
  129. /package/dist/types/src/{Gameboard → components/Gameboard}/Square.d.ts +0 -0
  130. /package/dist/types/src/{Gameboard → components/Gameboard}/util.d.ts +0 -0
  131. /package/src/{Chessboard → components/Chessboard}/index.ts +0 -0
  132. /package/src/{Gameboard → components/Gameboard}/util.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chess.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chessboard/chess.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAM/C,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,IAAI,EACT,KAAK,QAAQ,EAEb,KAAK,MAAM,EAEZ,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3G,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAS,CAAC;AAElF,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,KAAG,QAI3C,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,YAAY,QAAQ,KAAG,MAEpD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,WAEpC,CAAC;AAyBF,eAAO,MAAM,WAAW;;;;CAAkB,CAAC;AAE3C,eAAO,MAAM,cAAc,GAAI,YAAY,QAAQ,WAElD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,OAW1C,CAAC;AAEF;;GAEG;AACH,qBAAa,UAAW,YAAW,cAAc,CAAC,UAAU,CAAC;IAMzD,OAAO,CAAC,QAAQ,CAAC,SAAS;IAL5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IACxC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAC/D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;gBAGxB,SAAS,EAAE,QAAQ,CAAC,QAAQ,EAC7C,GAAG,CAAC,EAAE,MAAM;IAKd,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,IAAI,OAAO,CAElB;IAED,IAAI,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAE5C;IAED,IAAI,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAEjC;IAED,IAAI,GAAG,WAEN;IAED;;;;;;;;;;OAUG;IAEH,IAAI,GAAG,IAAI,MAAM,CAEhB;IAED,YAAY,CAAC,KAAK,EAAE,MAAM;IAS1B,MAAM,CAAC,GAAG,SAAK,GAAG,IAAI;IAuBtB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIhC,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAM/B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAU7B,cAAc,IAAI,OAAO;IAazB;;OAEG;IACH,OAAO,CAAC,YAAY;CAIrB;AA+BD;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,KAAG,QAAQ,CAAC,UAAU,CAgBlE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chess.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chess.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chessboard/chess.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chessboard/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AAExB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,37 @@
1
+ import React, { type PropsWithChildren } from 'react';
2
+ import { type ThemedClassName } from '@dxos/react-ui';
3
+ import { type PieceProps } from './Piece';
4
+ import { type SquareProps } from './Square';
5
+ import { type GameboardModel, type Move, type PieceRecord } from './types';
6
+ export type GameboardContextValue<M extends GameboardModel<any>> = {
7
+ model: M;
8
+ dragging?: boolean;
9
+ promoting?: PieceRecord;
10
+ onPromotion: (move: Move) => void;
11
+ };
12
+ declare const useGameboardContext: <M extends GameboardModel<any>>(consumerName: string) => GameboardContextValue<M>;
13
+ type GameboardRootProps<M extends GameboardModel<any>> = PropsWithChildren<{
14
+ model?: M;
15
+ onDrop?: (move: Move) => boolean;
16
+ }>;
17
+ type GameboardContentProps = ThemedClassName<PropsWithChildren<{
18
+ grow?: boolean;
19
+ contain?: boolean;
20
+ }>>;
21
+ export declare const Gameboard: {
22
+ Root: {
23
+ <M extends GameboardModel<any>>({ children, model, onDrop }: GameboardRootProps<M>): React.JSX.Element;
24
+ displayName: string;
25
+ };
26
+ Content: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<{
27
+ grow?: boolean;
28
+ contain?: boolean;
29
+ }>, "className"> & {
30
+ classNames?: import("@dxos/ui-types").ClassNameValue;
31
+ } & React.RefAttributes<HTMLDivElement>>;
32
+ Piece: React.MemoExoticComponent<({ classNames, Component, piece, bounds, label, onClick }: PieceProps) => React.JSX.Element>;
33
+ Square: React.MemoExoticComponent<({ location, bounds, label, classNames }: SquareProps) => React.JSX.Element>;
34
+ };
35
+ export { useGameboardContext };
36
+ export type { GameboardRootProps, GameboardContentProps, PieceProps as GameboardPieceProps, SquareProps as GameboardSquareProps, };
37
+ //# sourceMappingURL=Gameboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gameboard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gameboard/Gameboard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAgD,MAAM,OAAO,CAAC;AAGpG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,KAAK,WAAW,EAAuB,MAAM,SAAS,CAAC;AAEhG,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,IAAI;IACjE,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACnC,CAAC;AAIF,QAAA,MAAM,mBAAmB,GAAI,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,EAAE,cAAc,MAAM,KAAG,qBAAqB,CAAC,CAAC,CAEzG,CAAC;AAMF,KAAK,kBAAkB,CAAC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,IAAI,iBAAiB,CAAC;IACzE,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;CAClC,CAAC,CAAC;AAkEH,KAAK,qBAAqB,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC,CAAC;AAsBvG,eAAO,MAAM,SAAS;;SAnFC,CAAC,SAAS,cAAc,CAAC,GAAG,CAAC,+BAA+B,kBAAkB,CAAC,CAAC,CAAC;;;;eA6DhC,OAAO;kBAAY,OAAO;;;;;;CA2BjG,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,IAAI,mBAAmB,EACjC,WAAW,IAAI,oBAAoB,GACpC,CAAC"}
@@ -3,11 +3,12 @@ import { type ThemedClassName } from '@dxos/react-ui';
3
3
  import { type PieceRecord, type Player } from './types';
4
4
  import { type DOMRectBounds } from './util';
5
5
  export type PieceProps = ThemedClassName<{
6
+ Component: FC<SVGProps<SVGSVGElement>>;
6
7
  piece: PieceRecord;
7
8
  bounds: DOMRectBounds;
8
9
  label?: string;
9
10
  orientation?: Player;
10
- Component: FC<SVGProps<SVGSVGElement>>;
11
+ onClick?: () => void;
11
12
  }>;
12
- export declare const Piece: React.MemoExoticComponent<({ classNames, piece, orientation, bounds, label, Component }: PieceProps) => React.JSX.Element>;
13
+ export declare const Piece: React.MemoExoticComponent<({ classNames, Component, piece, bounds, label, onClick }: PieceProps) => React.JSX.Element>;
13
14
  //# sourceMappingURL=Piece.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Piece.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gameboard/Piece.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,QAAQ,EAAqC,MAAM,OAAO,CAAC;AAKzF,OAAO,EAAE,KAAK,eAAe,EAAiB,MAAM,gBAAgB,CAAC;AAIrE,OAAO,EAAiB,KAAK,WAAW,EAAE,KAAK,MAAM,EAA+B,MAAM,SAAS,CAAC;AACpG,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC;IACvC,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IACvC,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC,CAAC;AAIH,eAAO,MAAM,KAAK,uFAAmE,UAAU,uBA0G7F,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Square.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gameboard/Square.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAIjE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,OAAO,EAAE,KAAK,QAAQ,EAAW,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;IACxC,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAIH,eAAO,MAAM,MAAM,sEAAkD,WAAW,uBA+C9E,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './types';
2
+ export * from './util';
3
+ export * from './Gameboard';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gameboard/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AAEvB,cAAc,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type ReadonlySignal } from '@preact/signals-core';
1
+ import { type Atom } from '@effect-atom/atom-react';
2
2
  export type Player = 'black' | 'white';
3
3
  export type Location = [number, number];
4
4
  export type PieceType = string;
@@ -27,8 +27,9 @@ export declare const isEqualLocation: (l1: Location, l2: Location) => boolean;
27
27
  * Generic board model.
28
28
  */
29
29
  export interface GameboardModel<T extends PieceType = PieceType> {
30
+ readonly: boolean;
30
31
  turn: Player;
31
- pieces: ReadonlySignal<PieceMap<T>>;
32
+ pieces: Atom.Atom<PieceMap<T>>;
32
33
  isValidMove: (move: Move) => boolean;
33
34
  canPromote?: (move: Move) => boolean;
34
35
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gameboard/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAExC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC;IACR,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AAEvF,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,EAAE,QAAQ,CAAC;IACf,EAAE,EAAE,QAAQ,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,UAAU,QAAQ,KAAG,MAA4B,CAAC;AACnF,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,KAAG,QAAkD,CAAC;AAGlG,eAAO,MAAM,OAAO,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,WAMtB,CAAC;AAG7B,eAAO,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,QACwC,CAAC;AAE9F,eAAO,MAAM,eAAe,GAAI,IAAI,QAAQ,EAAE,IAAI,QAAQ,KAAG,OAA6C,CAAC;AAE3G;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAC7D,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/B,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACrC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;CACtC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/Gameboard/util.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC;AAE/E,eAAO,MAAM,iBAAiB,GAAI,WAAW,WAAW,EAAE,SAAS,WAAW,KAAG,aAShF,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Gameboard';
2
+ export * from './Chessboard';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBB: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBB;
5
5
  //# sourceMappingURL=bB.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bB.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/alpha/bB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAQ5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bB.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/alpha/bB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAW5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBK: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBK;
5
5
  //# sourceMappingURL=bK.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBN: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBN;
5
5
  //# sourceMappingURL=bN.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBP: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBP;
5
5
  //# sourceMappingURL=bP.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBQ: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBQ;
5
5
  //# sourceMappingURL=bQ.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/alpha/bQ.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAQ5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/alpha/bQ.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAW5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBR: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBR;
5
5
  //# sourceMappingURL=bR.d.ts.map
@@ -1,13 +1,13 @@
1
- export { default as BB } from './bB';
2
- export { default as BK } from './bK';
3
- export { default as BN } from './bN';
4
- export { default as BP } from './bP';
5
- export { default as BQ } from './bQ';
6
- export { default as BR } from './bR';
7
- export { default as WB } from './wB';
8
- export { default as WK } from './wK';
9
- export { default as WN } from './wN';
10
- export { default as WP } from './wP';
11
- export { default as WQ } from './wQ';
12
- export { default as WR } from './wR';
1
+ export { default as BB } from "./bB";
2
+ export { default as BK } from "./bK";
3
+ export { default as BN } from "./bN";
4
+ export { default as BP } from "./bP";
5
+ export { default as BQ } from "./bQ";
6
+ export { default as BR } from "./bR";
7
+ export { default as WB } from "./wB";
8
+ export { default as WK } from "./wK";
9
+ export { default as WN } from "./wN";
10
+ export { default as WP } from "./wP";
11
+ export { default as WQ } from "./wQ";
12
+ export { default as WR } from "./wR";
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWB: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWB;
5
5
  //# sourceMappingURL=wB.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWK: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWK;
5
5
  //# sourceMappingURL=wK.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWN: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWN;
5
5
  //# sourceMappingURL=wN.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWP: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWP;
5
5
  //# sourceMappingURL=wP.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWQ: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWQ;
5
5
  //# sourceMappingURL=wQ.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWR: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWR;
5
5
  //# sourceMappingURL=wR.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBB: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBB;
5
5
  //# sourceMappingURL=bB.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bB.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAW5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bB.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAsB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBK: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBK;
5
5
  //# sourceMappingURL=bK.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bK.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bK.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAsB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bK.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bK.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAgC5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBN: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBN;
5
5
  //# sourceMappingURL=bN.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bN.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bN.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAoB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bN.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bN.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBA2B5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBP: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBP;
5
5
  //# sourceMappingURL=bP.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBQ: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBQ;
5
5
  //# sourceMappingURL=bQ.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bQ.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBA0B5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bQ.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAgC5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgBR: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgBR;
5
5
  //# sourceMappingURL=bR.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bR.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bR.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAe5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"bR.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/bR.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBA+B5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,13 +1,13 @@
1
- export { default as BB } from './bB';
2
- export { default as BK } from './bK';
3
- export { default as BN } from './bN';
4
- export { default as BP } from './bP';
5
- export { default as BQ } from './bQ';
6
- export { default as BR } from './bR';
7
- export { default as WB } from './wB';
8
- export { default as WK } from './wK';
9
- export { default as WN } from './wN';
10
- export { default as WP } from './wP';
11
- export { default as WQ } from './wQ';
12
- export { default as WR } from './wR';
1
+ export { default as BB } from "./bB";
2
+ export { default as BK } from "./bK";
3
+ export { default as BN } from "./bN";
4
+ export { default as BP } from "./bP";
5
+ export { default as BQ } from "./bQ";
6
+ export { default as BR } from "./bR";
7
+ export { default as WB } from "./wB";
8
+ export { default as WK } from "./wK";
9
+ export { default as WN } from "./wN";
10
+ export { default as WP } from "./wP";
11
+ export { default as WQ } from "./wQ";
12
+ export { default as WR } from "./wR";
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWB: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWB;
5
5
  //# sourceMappingURL=wB.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wB.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAW5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"wB.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAqB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWK: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWK;
5
5
  //# sourceMappingURL=wK.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wK.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wK.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAiB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"wK.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wK.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAwB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWN: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWN;
5
5
  //# sourceMappingURL=wN.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wN.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wN.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAc5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"wN.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wN.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAqB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWP: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWP;
5
5
  //# sourceMappingURL=wP.d.ts.map
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWQ: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWQ;
5
5
  //# sourceMappingURL=wQ.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wQ.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAY5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"wQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wQ.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAsB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import type { SVGProps } from 'react';
1
+ import * as React from "react";
2
+ import type { SVGProps } from "react";
3
3
  declare const SvgWR: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
4
  export default SvgWR;
5
5
  //# sourceMappingURL=wR.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wR.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wR.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAU5C,CAAC;AACF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"wR.d.ts","sourceRoot":"","sources":["../../../../../../../src/gen/pieces/chess/cburnett/wR.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,QAAA,MAAM,KAAK,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,sBAoB5C,CAAC;AACF,eAAe,KAAK,CAAC"}
@@ -1,3 +1,2 @@
1
- export * from './Gameboard';
2
- export * from './Chessboard';
1
+ export * from './components';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}