@hadoku/game-ui 0.1.224 → 0.1.226

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.
@@ -19,6 +19,7 @@
19
19
  /* The phase, as a colour. Never the only signal — the label says it in words. */
20
20
  .conn--connecting,
21
21
  .conn--reconnecting,
22
+ .conn--updating,
22
23
  .conn--resyncing {
23
24
  border-left-color: var(--color-primary);
24
25
  }
@@ -45,6 +46,7 @@
45
46
  who asked the browser not to animate. */
46
47
  .conn--connecting .conn__dot,
47
48
  .conn--reconnecting .conn__dot,
49
+ .conn--updating .conn__dot,
48
50
  .conn--resyncing .conn__dot {
49
51
  animation: conn-pulse 1.4s ease-in-out infinite;
50
52
  }
@@ -7,6 +7,8 @@ export type ConnectionPhase =
7
7
  | 'resyncing'
8
8
  /** We were connected and are not now. The seat is held for the TTL. */
9
9
  | 'offline'
10
+ /** Not connected because the server said it is restarting; it is coming back on its own. The seat is held. */
11
+ | 'updating'
10
12
  /** Connected again; nothing has arrived since the re-join. */
11
13
  | 'reconnecting'
12
14
  /** Connected again and the first payload has landed. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/game-ui",
3
- "version": "0.1.224",
4
- "gitHead": "0d83fa4f5d897ba58c10d0b097268c90cef33c57",
3
+ "version": "0.1.226",
4
+ "gitHead": "eff3ab2cbc75ee1d70fa3a3c7ad603d9e5fcfe5d",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "The browser parts any hosted game shares, above ui-shell: the room shell and session, seats and looks, the room route, the front page's generic pieces (gate, polls, gallery, patch notes), the bundle slot and relay channel a game's client mounts in, settings and trim screens, the HTTP and socket helpers, and the generic components (modal, popover, avatar, action button, radio cards). Knows no game; Magic's UI (games/magic/ui) plugs in, composed by the site (apps/ui). MIT; imports only react, react-dom, socket.io-client, @wolffm/* and the platform packages.",
@@ -53,8 +53,8 @@
53
53
  "react-dom": "^19.2.8"
54
54
  },
55
55
  "dependencies": {
56
- "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.228",
57
- "@wolffm/ui-shell": "npm:@hadoku/ui-shell@0.1.228",
56
+ "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.230",
57
+ "@wolffm/ui-shell": "npm:@hadoku/ui-shell@0.1.230",
58
58
  "@wolffm/prefs-client": "npm:@hadoku/prefs-client@^1.2.3",
59
59
  "@wolffm/rooms-client": "npm:@hadoku/rooms-client@^0.45.152",
60
60
  "@wolffm/rooms-protocol": "npm:@hadoku/rooms-protocol@^0.45.152",