@johnmorrisdotca/kyogijo-stadiums 0.25.0 → 0.26.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.
@@ -0,0 +1,44 @@
1
+ export const FLYTHROUGH_WORDS = {
2
+ en: {
3
+ title: "Fly-through: {arena}",
4
+ region: "fly-through",
5
+ about: "A fly-through from a map to {arena} in {place}: the map, the city and the arena in 3D. Play, pause, step back or forward and choose a stage with the buttons or the keys.",
6
+ stage: {
7
+ map: { name: "Map", text: "{arena} stands in {place}." },
8
+ city: { name: "City", text: "The building of {arena} from above, as OpenStreetMap maps it." },
9
+ arena: { name: "Arena", text: "{arena} in 3D, turning." },
10
+ },
11
+ announce: "Stage {n} of {total}: {name}. {text}",
12
+ play: "Play",
13
+ pause: "Pause",
14
+ back: "Back",
15
+ next: "Next",
16
+ stages: "Stages",
17
+ keys: "Space plays or pauses. Left and right arrows go back and forward a stage; the number keys choose a stage; Home starts again.",
18
+ creditMap: "Map: Natural Earth (public domain), drawn with chizu. Building outline: (c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright.",
19
+ creditPlain: "Building outline: (c) OpenStreetMap contributors, ODbL 1.0, openstreetmap.org/copyright.",
20
+ still: "Each stage is shown as a still picture, because this device is set to reduce motion.",
21
+ },
22
+ ja: {
23
+ title: "フライスルー:{arena}",
24
+ region: "フライスルー",
25
+ about: "地図から{place}の{arena}まで進むフライスルーです。地図、都市、3Dのアリーナの順に見られます。ボタンまたはキーで、再生・一時停止、前後の場面への移動、場面の選択ができます。",
26
+ stage: {
27
+ map: { name: "地図", text: "{arena}は{place}にあります。" },
28
+ city: { name: "都市", text: "{arena}の建物を真上から見たところです(OpenStreetMapの記録による)。" },
29
+ arena: { name: "アリーナ", text: "{arena}を3Dで回転させて表示しています。" },
30
+ },
31
+ announce: "場面{n}/{total}:{name}。{text}",
32
+ play: "再生",
33
+ pause: "一時停止",
34
+ back: "戻る",
35
+ next: "次へ",
36
+ stages: "場面",
37
+ keys: "スペースキーで再生・一時停止。左右の矢印キーで前後の場面へ、数字キーで場面を選び、Homeキーで最初に戻ります。",
38
+ creditMap: "地図:Natural Earth(パブリックドメイン)、chizuで描画。建物の輪郭:(c) OpenStreetMap contributors、ODbL 1.0、openstreetmap.org/copyright。",
39
+ creditPlain: "建物の輪郭:(c) OpenStreetMap contributors、ODbL 1.0、openstreetmap.org/copyright。",
40
+ still: "この端末は動きを減らす設定のため、各場面を静止画で表示しています。",
41
+ },
42
+ };
43
+ /** A sentence with its `{name}` slots filled in. */
44
+ export const say = (text, values) => text.replace(/\{(\w+)\}/g, (_, key) => String(values[key] ?? ""));
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.25.0";
2
+ export declare const VERSION = "0.26.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.25.0";
2
+ export const VERSION = "0.26.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/kyogijo-stadiums",
3
- "version": "0.25.0",
3
+ "version": "0.26.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",
@@ -238,6 +238,11 @@
238
238
  "import": "./dist/turn-entry.js",
239
239
  "default": "./dist/turn-entry.js"
240
240
  },
241
+ "./flythrough": {
242
+ "types": "./dist/flythrough-entry.d.ts",
243
+ "import": "./dist/flythrough-entry.js",
244
+ "default": "./dist/flythrough-entry.js"
245
+ },
241
246
  "./element/define": {
242
247
  "types": "./dist/element-define.d.ts",
243
248
  "import": "./dist/element-define.js",