@johnmorrisdotca/kyogijo-stadiums 0.48.1 → 0.49.0

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/CHANGELOG.md CHANGED
@@ -7,6 +7,31 @@ All notable changes to this project are written here. The format follows
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.49.0] - 2026-10-30
11
+
12
+ ### Added
13
+
14
+ - **The controls of every 3D demo are on the view (SPX-651).** The stadiums, the halls, the judging, the boards, the district and the fly-through pages, and the home page's playground, have the bar the venues page and the featured arena already had, over the view: the walls, the roof and its opening, the boards, the lights, the names, the area round, the gates, the Kodokan's building and floor, the seat names and side judges, where the board goes, the roof and map of the fly-through, flat or 3D and light or dark, each only on the page where it means something. The view's own buttons (viewpoints, turn, tilt, zoom, Auto-turn, Reverse) are under it, and the bar, the view and the buttons are all in the first screen on a desk (1280 by 900) and on a phone (390 by 844), every control 44 pixels or more; the rest of the options stay in the panel (at the side of the view on a desk, under it on a phone, where the text of the page and the district's presets also go). The home page's playground has Flat, 3D, Crowd, Roof and Dark over its view, pressing the panel's own buttons. The choices were already in the address and still are. On a phone the bar is one row that scrolls along.
15
+ - **A press on the bar never stops or sends back the turn.** The stadiums' walls, roof and opening, the halls' roof, the district's walls, roofs, area round, gates, building and floor, and the playground's roof now change the scene in place (`update(options, { venue })`) where they mounted the view again; the scene is the same one afterwards, with the same DOM as a fresh page with that choice (checked for each). The fly-through goes on from the same moment, playing if it played.
16
+ - Demo only: `demo/view-bar.js` (`moveToBar` puts the labels of a page's existing controls in the bar, `fitView` gives the view the shape that leaves room for the bar and the buttons in the screen, never taller than the package's own shape (16:10, 5:4 on a phone), so that no layer is bigger than it was: the stage's `--rv-ratio` over the package's own `--ky-turn-ratio`, or a narrower box for the boards, whose pictures are made for the package's shape) is shared by every page and by `real-view.js`.
17
+ - Tests: `e2e/viewbar.demo.mjs` (the bar, the view and the buttons in the first screen, 44 pixels or more, nothing wider than the screen, on each page; each toggle and list pressed while the view turns, 6 degrees a second, leaves it turning without a jump, and leaves the same scene; the flight's time and play; the home page's two bars), in the three browsers' projects.
18
+
19
+ ### Changed
20
+
21
+ - The home page's featured arena has its box sized in the stylesheet to leave its buttons in the first screen of a desk (1280 by 900), and the playground's bar is in the page before the script fills it, so that nothing moves when the script runs.
22
+
23
+ ### Cost
24
+
25
+ - The package is unchanged (no change to `src/` but its version): `dist/` and the device and quality budgets are as in 0.48.2. The demo pages grow by `view-bar.js` and their own lines: 8.2 KB of script on each page (3.2 KB gzipped): the venues page 3,074.7 KB against 3,066.5, the districts 2,435.8 against 2,427.6 (alone), the stadiums 3,062.5 against 3,054.2, the halls 3,158.8 against 3,150.5, the boards 3,170.3 against 3,162.0, the judging 3,063.3 against 3,055.1, the fly-through 3,488.3 against 3,480.0, the home page 5,277.3 against 5,267.3; every page stays inside its budget, none is raised.
26
+ - Japanese: one new string, the name of the home page's bar (`stageBar`, `表示の切り替え:平面と3D、観客、屋根、ダークモード`, "Switching the display: flat and 3D, crowd, roof, dark mode"), checked by the Japanese reviewer.
27
+ - Known gap: on a phone the home page's header (the family's navigation and the name) fills the first screen, so there the featured arena's bar and the top of its view are in the first screen and its buttons under the view are one scroll down. The senshu and dougu turn demos are not part of this release.
28
+
29
+ ## [0.48.2] - 2026-10-30
30
+
31
+ ### Fixed
32
+
33
+ - **An arena's hockey seats are the present figure of its article, not the first its infobox gives.** Twelve arenas drew an old figure: Scotiabank Saddledome 16,605 is now 19,289 (1995 to present; 16,605 was 1983 to 1988), Rogers Arena 18,422 is 18,871 (2018 to present), SAP Center 17,562 is 17,435 (2023 to present), Bell Centre 21,273 is 20,962 (2025 to present), Canadian Tire Centre 18,500 is 17,010 (2026 to present), Grand Casino Arena 18,064 is 17,954 (2012 to present), KeyBank Center 18,595 is 19,070 (2013 to present), Lenovo Center 18,730 is 18,547 (2026 to present), PPG Paints Arena 18,087 is 18,187 (2023 to present), Prudential Center 17,625 is 16,514 (2015 to present), State Farm Arena 18,545 is 17,624 (its last ice-hockey figure in the article, 2010 to 2011), and Bridgestone Arena 17,159 is 17,510 (Wikidata's figure for ice hockey). Each arena's `note` keeps the figure it had before. The arena data and the venues now give the same hockey seats. Basketball seats are unchanged.
34
+
10
35
  ## [0.48.1] - 2026-10-30
11
36
 
12
37
  ### Changed
@@ -22,6 +22,7 @@ export const ARENA = {
22
22
  "lon": -73.56944,
23
23
  "status": "current",
24
24
  "from": 1996,
25
- "capacity": { "hockey": 21273 },
25
+ "capacity": { "hockey": 20962 },
26
+ "note": "Ice hockey: 20,962 is the article's figure for 2025–present; 21,273 was its figure for 1996–2014.",
26
27
  "en": { "title": "Bell Centre", "revision": 1380110375 },
27
28
  };
@@ -21,6 +21,7 @@ export const ARENA = {
21
21
  "lon": -86.77861,
22
22
  "status": "current",
23
23
  "from": 1996,
24
- "capacity": { "hockey": 17159 },
24
+ "capacity": { "hockey": 17510 },
25
+ "note": "Ice hockey: 17,510 is Wikidata's figure for ice hockey (P1083 with P641 ice hockey); the article's infobox gives 17,159 undated.",
25
26
  "en": { "title": "Bridgestone Arena", "revision": 1373721363 },
26
27
  };
@@ -23,6 +23,7 @@ export const ARENA = {
23
23
  "lon": -75.92722,
24
24
  "status": "current",
25
25
  "from": 1996,
26
- "capacity": { "hockey": 18500 },
26
+ "capacity": { "hockey": 17010 },
27
+ "note": "Ice hockey: 17,010 is the article's figure for 2026–present; 18,500 was its figure for 1996–2005.",
27
28
  "en": { "title": "Canadian Tire Centre", "revision": 1378044395 },
28
29
  };
@@ -18,6 +18,7 @@ export const ARENA = {
18
18
  "lon": -93.10111,
19
19
  "status": "current",
20
20
  "from": 2000,
21
- "capacity": { "hockey": 18064 },
21
+ "capacity": { "hockey": 17954 },
22
+ "note": "Ice hockey: 17,954 is the article's figure for 2012–present; 18,064 was its figure for 2000–2012.",
22
23
  "en": { "title": "Grand Casino Arena", "revision": 1379407082 },
23
24
  };
@@ -23,6 +23,7 @@ export const ARENA = {
23
23
  "lon": -78.87639,
24
24
  "status": "current",
25
25
  "from": 1996,
26
- "capacity": { "hockey": 18595 },
26
+ "capacity": { "hockey": 19070 },
27
+ "note": "Ice hockey: 19,070 is the article's figure for 2013–present; 18,595 was its figure for 1996–1999.",
27
28
  "en": { "title": "KeyBank Center", "revision": 1375699062 },
28
29
  };
@@ -23,6 +23,7 @@ export const ARENA = {
23
23
  "lon": -78.72194,
24
24
  "status": "current",
25
25
  "from": 1999,
26
- "capacity": { "hockey": 18730 },
26
+ "capacity": { "hockey": 18547 },
27
+ "note": "Ice hockey: 18,547 is the article's figure for 2026–present; 18,730 was its figure for 1999–2006.",
27
28
  "en": { "title": "Lenovo Center", "revision": 1380055594 },
28
29
  };
@@ -19,6 +19,7 @@ export const ARENA = {
19
19
  "lon": -79.9892,
20
20
  "status": "current",
21
21
  "from": 2010,
22
- "capacity": { "hockey": 18087 },
22
+ "capacity": { "hockey": 18187 },
23
+ "note": "Ice hockey: 18,187 is the article's figure for 2023–present; 18,087 was its figure for 2010–2011.",
23
24
  "en": { "title": "PPG Paints Arena", "revision": 1378458359 },
24
25
  };
@@ -13,6 +13,7 @@ export const ARENA = {
13
13
  "lon": -74.17111,
14
14
  "status": "current",
15
15
  "from": 2007,
16
- "capacity": { "hockey": 17625, "basketball": 18711 },
16
+ "capacity": { "hockey": 16514, "basketball": 18711 },
17
+ "note": "Ice hockey: 16,514 is the article's figure for 2015–present; 17,625 was its figure for 2007–2013.",
17
18
  "en": { "title": "Prudential Center", "revision": 1380112777 },
18
19
  };
@@ -15,6 +15,7 @@ export const ARENA = {
15
15
  "lon": -123.10889,
16
16
  "status": "current",
17
17
  "from": 1995,
18
- "capacity": { "hockey": 18422, "basketball": 19193 },
18
+ "capacity": { "hockey": 18871, "basketball": 19193 },
19
+ "note": "Ice hockey: 18,871 is the article's figure for 2018–present; 18,422 was its figure for 1995–2002.",
19
20
  "en": { "title": "Rogers Arena", "revision": 1379918849 },
20
21
  };
@@ -25,6 +25,7 @@ export const ARENA = {
25
25
  "lon": -121.90111,
26
26
  "status": "current",
27
27
  "from": 1993,
28
- "capacity": { "hockey": 17562, "basketball": 18543 },
28
+ "capacity": { "hockey": 17435, "basketball": 18543 },
29
+ "note": "Ice hockey: 17,435 is the article's figure for 2023–present; 17,562 was its figure for 2001–2023.",
29
30
  "en": { "title": "SAP Center", "revision": 1376082812 },
30
31
  };
@@ -22,6 +22,7 @@ export const ARENA = {
22
22
  "lon": -114.05194,
23
23
  "status": "current",
24
24
  "from": 1983,
25
- "capacity": { "hockey": 16605 },
25
+ "capacity": { "hockey": 19289 },
26
+ "note": "Ice hockey: 19,289 is the article's figure for 1995–present; 16,605 was its figure for 1983–1988.",
26
27
  "en": { "title": "Scotiabank Saddledome", "revision": 1377341466 },
27
28
  };
@@ -19,6 +19,7 @@ export const ARENA = {
19
19
  "lon": -84.39639,
20
20
  "status": "current",
21
21
  "from": 1999,
22
- "capacity": { "hockey": 18545, "basketball": 20233 },
22
+ "capacity": { "hockey": 17624, "basketball": 20233 },
23
+ "note": "Ice hockey: 17,624 is the article's last ice-hockey figure (2010–2011); the article gives none after 2011. 18,545 was its figure for 1999–2010.",
23
24
  "en": { "title": "State Farm Arena", "revision": 1379287335 },
24
25
  };
@@ -22,7 +22,11 @@ export interface ArenaSize {
22
22
  /** Where it was read: the article and its revision, and in a few words what it says (not a copied passage). */
23
23
  source: string;
24
24
  }
25
- /** The seats an arena holds for each sport, as the infobox of its article gives them (the first number it gives for the sport). */
25
+ /**
26
+ * The seats an arena holds for each sport, as the infobox of its article gives them. For hockey it is the figure of the article's
27
+ * current configuration: the latest dated ice-hockey figure, or the only one (Wikidata's P1083 carries no sport qualifier, so it is not
28
+ * used). An earlier figure is kept in the arena's `note`. Basketball is still the first figure the infobox gives.
29
+ */
26
30
  export interface ArenaCapacity {
27
31
  hockey?: number;
28
32
  basketball?: number;
@@ -91,7 +91,8 @@ export const ARENA_DATA = [
91
91
  "lon": -73.56944,
92
92
  "status": "current",
93
93
  "from": 1996,
94
- "capacity": { "hockey": 21273 },
94
+ "capacity": { "hockey": 20962 },
95
+ "note": "Ice hockey: 20,962 is the article's figure for 2025–present; 21,273 was its figure for 1996–2014.",
95
96
  "en": { "title": "Bell Centre", "revision": 1380110375 },
96
97
  },
97
98
  {
@@ -136,7 +137,8 @@ export const ARENA_DATA = [
136
137
  "lon": -86.77861,
137
138
  "status": "current",
138
139
  "from": 1996,
139
- "capacity": { "hockey": 17159 },
140
+ "capacity": { "hockey": 17510 },
141
+ "note": "Ice hockey: 17,510 is Wikidata's figure for ice hockey (P1083 with P641 ice hockey); the article's infobox gives 17,159 undated.",
140
142
  "en": { "title": "Bridgestone Arena", "revision": 1373721363 },
141
143
  },
142
144
  {
@@ -190,7 +192,8 @@ export const ARENA_DATA = [
190
192
  "lon": -75.92722,
191
193
  "status": "current",
192
194
  "from": 1996,
193
- "capacity": { "hockey": 18500 },
195
+ "capacity": { "hockey": 17010 },
196
+ "note": "Ice hockey: 17,010 is the article's figure for 2026–present; 18,500 was its figure for 1996–2005.",
194
197
  "en": { "title": "Canadian Tire Centre", "revision": 1378044395 },
195
198
  },
196
199
  {
@@ -349,7 +352,8 @@ export const ARENA_DATA = [
349
352
  "lon": -93.10111,
350
353
  "status": "current",
351
354
  "from": 2000,
352
- "capacity": { "hockey": 18064 },
355
+ "capacity": { "hockey": 17954 },
356
+ "note": "Ice hockey: 17,954 is the article's figure for 2012–present; 18,064 was its figure for 2000–2012.",
353
357
  "en": { "title": "Grand Casino Arena", "revision": 1379407082 },
354
358
  },
355
359
  {
@@ -402,7 +406,8 @@ export const ARENA_DATA = [
402
406
  "lon": -78.87639,
403
407
  "status": "current",
404
408
  "from": 1996,
405
- "capacity": { "hockey": 18595 },
409
+ "capacity": { "hockey": 19070 },
410
+ "note": "Ice hockey: 19,070 is the article's figure for 2013–present; 18,595 was its figure for 1996–1999.",
406
411
  "en": { "title": "KeyBank Center", "revision": 1375699062 },
407
412
  },
408
413
  {
@@ -430,7 +435,8 @@ export const ARENA_DATA = [
430
435
  "lon": -78.72194,
431
436
  "status": "current",
432
437
  "from": 1999,
433
- "capacity": { "hockey": 18730 },
438
+ "capacity": { "hockey": 18547 },
439
+ "note": "Ice hockey: 18,547 is the article's figure for 2026–present; 18,730 was its figure for 1999–2006.",
434
440
  "en": { "title": "Lenovo Center", "revision": 1380055594 },
435
441
  },
436
442
  {
@@ -516,7 +522,8 @@ export const ARENA_DATA = [
516
522
  "lon": -79.9892,
517
523
  "status": "current",
518
524
  "from": 2010,
519
- "capacity": { "hockey": 18087 },
525
+ "capacity": { "hockey": 18187 },
526
+ "note": "Ice hockey: 18,187 is the article's figure for 2023–present; 18,087 was its figure for 2010–2011.",
520
527
  "en": { "title": "PPG Paints Arena", "revision": 1378458359 },
521
528
  },
522
529
  {
@@ -534,7 +541,8 @@ export const ARENA_DATA = [
534
541
  "lon": -74.17111,
535
542
  "status": "current",
536
543
  "from": 2007,
537
- "capacity": { "hockey": 17625, "basketball": 18711 },
544
+ "capacity": { "hockey": 16514, "basketball": 18711 },
545
+ "note": "Ice hockey: 16,514 is the article's figure for 2015–present; 17,625 was its figure for 2007–2013.",
538
546
  "en": { "title": "Prudential Center", "revision": 1380112777 },
539
547
  },
540
548
  {
@@ -554,7 +562,8 @@ export const ARENA_DATA = [
554
562
  "lon": -123.10889,
555
563
  "status": "current",
556
564
  "from": 1995,
557
- "capacity": { "hockey": 18422, "basketball": 19193 },
565
+ "capacity": { "hockey": 18871, "basketball": 19193 },
566
+ "note": "Ice hockey: 18,871 is the article's figure for 2018–present; 18,422 was its figure for 1995–2002.",
558
567
  "en": { "title": "Rogers Arena", "revision": 1379918849 },
559
568
  },
560
569
  {
@@ -602,7 +611,8 @@ export const ARENA_DATA = [
602
611
  "lon": -121.90111,
603
612
  "status": "current",
604
613
  "from": 1993,
605
- "capacity": { "hockey": 17562, "basketball": 18543 },
614
+ "capacity": { "hockey": 17435, "basketball": 18543 },
615
+ "note": "Ice hockey: 17,435 is the article's figure for 2023–present; 17,562 was its figure for 2001–2023.",
606
616
  "en": { "title": "SAP Center", "revision": 1376082812 },
607
617
  },
608
618
  {
@@ -650,7 +660,8 @@ export const ARENA_DATA = [
650
660
  "lon": -114.05194,
651
661
  "status": "current",
652
662
  "from": 1983,
653
- "capacity": { "hockey": 16605 },
663
+ "capacity": { "hockey": 19289 },
664
+ "note": "Ice hockey: 19,289 is the article's figure for 1995–present; 16,605 was its figure for 1983–1988.",
654
665
  "en": { "title": "Scotiabank Saddledome", "revision": 1377341466 },
655
666
  },
656
667
  {
@@ -853,7 +864,8 @@ export const ARENA_DATA = [
853
864
  "lon": -84.39639,
854
865
  "status": "current",
855
866
  "from": 1999,
856
- "capacity": { "hockey": 18545, "basketball": 20233 },
867
+ "capacity": { "hockey": 17624, "basketball": 20233 },
868
+ "note": "Ice hockey: 17,624 is the article's last ice-hockey figure (2010–2011); the article gives none after 2011. 18,545 was its figure for 1999–2010.",
857
869
  "en": { "title": "State Farm Arena", "revision": 1379287335 },
858
870
  },
859
871
  {
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The package's version: the same as package.json's, and a test holds them to each other. */
2
- export declare const VERSION = "0.48.1";
2
+ export declare const VERSION = "0.49.0";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /** The package's version: the same as package.json's, and a test holds them to each other. */
2
- export const VERSION = "0.48.1";
2
+ export const VERSION = "0.49.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/kyogijo-stadiums",
3
- "version": "0.48.1",
3
+ "version": "0.49.0",
4
4
  "description": "Kyogijo Stadiums 競技場, 40 sports' surfaces as SVG, drawn to scale from the rulebooks: NFL, CFL and IFAF football fields, an NHL rink, an NBA court, MLB ballparks, soccer pitches, curling sheets, athletics stadiums, speed skating, short track and figure skating rinks, swimming pools, water polo fields, diving wells, artistic swimming areas, and the courts and fields of tennis, volleyball (indoor, beach and sitting), badminton, pickleball, table tennis, padel, squash, racquetball, sepak takraw, teqball, roundnet, netball, lacrosse, rugby, Australian football, Gaelic games, cricket, field hockey and handball, and the budo of judo, karate, kendo, sumo and kyudo with a dojo of tatami laid as real units, the MMA cage, with each team's name and logo on its side and the score in the middle, stands and a crowd, a pageant of flags, and a 3D view. Light and dark, accessible, a compact badge for lists, a helper for React and a custom element. Zero dependencies.",
5
5
  "keywords": [
6
6
  "sports",