@dxos/react-ui-gameboard 0.9.1-main.c7dcc2e112 → 0.9.1-staging.ee54ba693a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-gameboard",
3
- "version": "0.9.1-main.c7dcc2e112",
3
+ "version": "0.9.1-staging.ee54ba693a",
4
4
  "description": "Game board.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -31,30 +31,30 @@
31
31
  "@radix-ui/react-context": "1.1.1",
32
32
  "chess.js": "^1.0.0",
33
33
  "react-resize-detector": "^11.0.1",
34
- "@dxos/debug": "0.9.1-main.c7dcc2e112",
35
- "@dxos/invariant": "0.9.1-main.c7dcc2e112",
36
- "@dxos/node-std": "0.9.1-main.c7dcc2e112",
37
- "@dxos/log": "0.9.1-main.c7dcc2e112",
38
- "@dxos/util": "0.9.1-main.c7dcc2e112"
34
+ "@dxos/debug": "0.9.1-staging.ee54ba693a",
35
+ "@dxos/node-std": "0.9.1-staging.ee54ba693a",
36
+ "@dxos/invariant": "0.9.1-staging.ee54ba693a",
37
+ "@dxos/log": "0.9.1-staging.ee54ba693a",
38
+ "@dxos/util": "0.9.1-staging.ee54ba693a"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@svgr/cli": "^8.1.0",
42
42
  "@types/lodash.defaultsdeep": "^4.6.6",
43
- "@types/react": "~19.2.7",
43
+ "@types/react": "~19.2.17",
44
44
  "@types/react-dom": "~19.2.3",
45
45
  "lodash.defaultsdeep": "^4.6.1",
46
- "react": "~19.2.3",
47
- "react-dom": "~19.2.3",
46
+ "react": "~19.2.7",
47
+ "react-dom": "~19.2.7",
48
48
  "vite": "^8.0.16",
49
- "@dxos/react-ui": "0.9.1-main.c7dcc2e112",
50
- "@dxos/storybook-utils": "0.9.1-main.c7dcc2e112",
51
- "@dxos/ui-theme": "0.9.1-main.c7dcc2e112"
49
+ "@dxos/react-ui": "0.9.1-staging.ee54ba693a",
50
+ "@dxos/ui-theme": "0.9.1-staging.ee54ba693a",
51
+ "@dxos/storybook-utils": "0.9.1-staging.ee54ba693a"
52
52
  },
53
53
  "peerDependencies": {
54
- "react": "~19.2.3",
55
- "react-dom": "~19.2.3",
56
- "@dxos/react-ui": "0.9.1-main.c7dcc2e112",
57
- "@dxos/ui-theme": "0.9.1-main.c7dcc2e112"
54
+ "react": "~19.2.7",
55
+ "react-dom": "~19.2.7",
56
+ "@dxos/ui-theme": "0.9.1-staging.ee54ba693a",
57
+ "@dxos/react-ui": "0.9.1-staging.ee54ba693a"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
@@ -14,11 +14,11 @@ import { Gameboard, type GameboardRootProps, type Move, type Player } from '../G
14
14
  import { ChessModel } from './chess';
15
15
  import { Chessboard, type ChessboardProps } from './Chessboard';
16
16
 
17
- type DefaultStoryProps = Pick<ChessboardProps, 'orientation' | 'showLabels' | 'debug'> & {
17
+ type StoryArgs = Pick<ChessboardProps, 'orientation' | 'showLabels' | 'debug'> & {
18
18
  pgn?: string;
19
19
  };
20
20
 
21
- const DefaultStory = ({ orientation: _orientation, pgn, ...props }: DefaultStoryProps) => {
21
+ const DefaultStory = ({ orientation: _orientation, pgn, ...props }: StoryArgs) => {
22
22
  const registry = useContext(RegistryContext);
23
23
  const model = useMemo(() => new ChessModel(registry, pgn), [registry, pgn]);
24
24
  const [orientation, setOrientation] = useState<Player | undefined>(_orientation);
@@ -131,8 +131,8 @@ export const Gameboard = {
131
131
  export { useGameboardContext };
132
132
 
133
133
  export type {
134
- GameboardRootProps,
135
134
  GameboardContentProps,
136
135
  PieceProps as GameboardPieceProps,
136
+ GameboardRootProps,
137
137
  SquareProps as GameboardSquareProps,
138
138
  };