@dxos/react-ui-gameboard 0.8.4-main.e098934 → 0.8.4-main.ead640a
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/dist/lib/browser/index.mjs +7 -20
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +7 -20
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/Chessboard/Chessboard.d.ts +2 -2
- package/dist/types/src/components/Chessboard/Chessboard.d.ts.map +1 -1
- package/dist/types/src/components/Chessboard/Chessboard.stories.d.ts +2 -3
- package/dist/types/src/components/Chessboard/Chessboard.stories.d.ts.map +1 -1
- package/dist/types/src/components/Gameboard/Gameboard.d.ts +1 -1
- package/dist/types/src/components/Gameboard/Piece.d.ts +1 -1
- package/dist/types/src/components/Gameboard/Piece.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -19
- package/src/components/Chessboard/Chessboard.stories.tsx +2 -4
- package/src/components/Chessboard/Chessboard.tsx +3 -4
- package/src/components/Gameboard/Piece.tsx +2 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chessboard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chessboard/Chessboard.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"Chessboard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chessboard/Chessboard.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAoD,MAAM,OAAO,CAAC;AAKzE,OAAO,EAAiD,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAG1F,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,aAAa,GAAG,YAAY,GAAG,OAAO,CAAC,GAAG;IACvF,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AA6DF,QAAA,MAAM,IAAI;;;;;;;;;;;2DA3D0D,iBAAiB;;CAgElD,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC;AAEF,eAAO,MAAM,IAAI;;CAEhB,CAAC"}
|
|
@@ -30,7 +30,7 @@ export declare const Gameboard: {
|
|
|
30
30
|
}>, "className"> & {
|
|
31
31
|
classNames?: import("@dxos/react-ui-types").ClassNameValue;
|
|
32
32
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
Piece: React.MemoExoticComponent<({ classNames, Component, piece,
|
|
33
|
+
Piece: React.MemoExoticComponent<({ classNames, Component, piece, bounds, label, onClick }: PieceProps) => React.JSX.Element>;
|
|
34
34
|
Square: React.MemoExoticComponent<({ location, bounds, label, classNames }: SquareProps) => React.JSX.Element>;
|
|
35
35
|
};
|
|
36
36
|
export { useGameboardContext };
|
|
@@ -10,5 +10,5 @@ export type PieceProps = ThemedClassName<{
|
|
|
10
10
|
orientation?: Player;
|
|
11
11
|
onClick?: () => void;
|
|
12
12
|
}>;
|
|
13
|
-
export declare const Piece: React.MemoExoticComponent<({ classNames, Component, piece,
|
|
13
|
+
export declare const Piece: React.MemoExoticComponent<({ classNames, Component, piece, bounds, label, onClick }: PieceProps) => React.JSX.Element>;
|
|
14
14
|
//# sourceMappingURL=Piece.d.ts.map
|
|
@@ -1 +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,
|
|
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;AAEH,eAAO,MAAM,KAAK,uFAAmE,UAAU,uBA0G7F,CAAC"}
|