@hadoku/game-ui 0.1.229 → 0.1.231

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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * `RadioCards`: the format tabs' look (`.lobby__format-tabs button`) for a row
3
- * of native radios. Two classes per selector, so the create form's generic
4
- * `.rooms__create label` / `.rooms__create input` rules never reach a card.
3
+ * of native radios. Two classes per selector, so a form's own one-class
4
+ * `label` / `input` rules never reach a card.
5
5
  */
6
6
  .radio-cards {
7
7
  display: flex;
@@ -1,15 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /*
3
- * L3a, shared: the spectator row — every member who holds no seat, drawn the way the seats are
4
- * (`pod-seats`), beside or under them. Lifted from
5
- * `games/magic/ui/src/screens/RoomSpectators.tsx` (wave 119 §U). Platform: the caller still
6
- * decides WHO is a spectator (a member not found among the room's seats — today three separate,
7
- * not-yet-unified derivations across Magic's own files; see this lane's closing note) and hands
8
- * this component the finished list.
3
+ * The spectator row: every member who holds no seat, drawn the way the seats are (`pod-seats`),
4
+ * beside or under them. Everyone in the room is on one side or the other, and moving is a click on
5
+ * the side you want: an open seat sits you, the open slot here gives your seat back. The caller
6
+ * decides WHO is a spectator (a member not found among the room's seats) and hands this component
7
+ * the finished list.
9
8
  *
10
- * Every class name and `data-testid` this draws is unchanged from `RoomSpectators.tsx`'s own —
11
- * `table-side`, `pod-seats`, `room-spectators`, `room-spectator`, `seat-stand` — so cardtable's
12
- * existing CSS and its callers' own tests key off the identical DOM this always drew.
9
+ * Its class names and `data-testid`s — `table-side`, `pod-seats`, `room-spectators`,
10
+ * `room-spectator`, `seat-stand` — are the ones cardtable's CSS and its callers' tests key off.
13
11
  */
14
12
  import { ActionButton } from "../components/ActionButton.js";
15
13
  import { Avatar, faceOf } from "../components/Avatar.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/game-ui",
3
- "version": "0.1.229",
4
- "gitHead": "eb3903629df79714ccc9ebd71736519172ff73ec",
3
+ "version": "0.1.231",
4
+ "gitHead": "20346b0c6ec2961dfe288dc39f6c3f615c615215",
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.233",
57
- "@wolffm/ui-shell": "npm:@hadoku/ui-shell@0.1.233",
56
+ "@wolffm/platform-wire": "npm:@hadoku/platform-wire@0.1.235",
57
+ "@wolffm/ui-shell": "npm:@hadoku/ui-shell@0.1.235",
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",