@johnmorrisdotca/chikyu-earth 0.13.0 → 0.15.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
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.0 - 2026-11-04
4
+
5
+ "Put it in your page" is the family's embed panel, on the demo and on the code builder (MODULES-348). No change to the package's drawings.
6
+
7
+ - **The demo's "Put it in your page" and the code builder are kazoku-ui's `<kazoku-embed-panel>`** (kazoku-ui ^0.15.1). Nothing they had is gone, and a test counts it: the ten places, the three looks, the graticule, the four sizes (240, 320, 420, 560), HTML, module, React and iframe tabs with the same code, Copy (now "Copy code"), Open the embed page, Read the docs, the credit line, and the picture of the globe beside the code (on the builder the realistic look is shown by the embed page in a frame, as before).
8
+ - **Added by the panel**: Vue, Angular and Svelte tabs, a picker for the places, and a note on the iframe tab ("One iframe, no script of your own"). The demo's page, which had one fixed iframe and no Copy button, now has the whole panel; the realistic look shows there as the flat globe, so the page never runs a second WebGL view.
9
+ - **The code**: `demo/embed-code.ts` writes every tab (the shared snippets with this package's element and attributes) and `test/embed-code.test.ts` runs the module against a stand-in page, compiles the React, Vue, Angular and Svelte code, and holds every import to the package's exports and every attribute to ones the element reads. The HTML tab is now the script tags and the tag (it was a whole page), and the CDN address carries the version.
10
+ - `scripts/check-standard.mjs` is kazoku-ui 0.15's (the `embed-panel` item); the demo moves to `@johnmorrisdotca/kazoku-ui` ^0.15.1.
11
+
12
+ ## 0.14.0 - 2026-11-03
13
+
14
+ The family's speed buttons, in the demo's two places that run time (KAZOKU-UI-46).
15
+
16
+ - **Auto-turn has 0.5×, 1× and 2×.** The demo's view controls come from kazoku-ui 0.14: under More, the Earth's Auto-turn takes the shared speed buttons (they were Slow, Medium and Fast), 1× being the Earth's own rate of 0.004178 degrees a second. The choice is the controls' `pace` attribute and the address' `pace`.
17
+ - **The space view's Time row is `<kazoku-speed-buttons>`**: `0 1 3600 86400 -3600`, read as multiples of real time (0× holds it still, 3600× is an hour a second, 86400× a day a second, −3600× runs back), in the same look as Auto-turn's. It replaces the page's own five buttons ("Paused", "Real time", ...); `?speed=` still keeps the choice and Now still puts it back to 1×.
18
+ - `kazoku-ui` is `^0.14.0` for the demo (the optional peer is unchanged). Tests: `e2e/speed.demo.ts` (the controls' buttons and the time row, desk and phone, Chromium and WebKit, with the config's reduced motion) and `e2e/speed.gl.ts` (a press sets the clock and the address; Now returns to 1×).
19
+
3
20
  ## 0.13.0 - 2026-11-03
4
21
 
5
22
  The demo's elements refresh by themselves, every satellite shows its age, and you can bring your own source (MODULES-261, steps 3 and 4).
package/README.md CHANGED
@@ -25,7 +25,7 @@ Country outlines in the same thin-line style as Hako Devices and Uchusen Rockets
25
25
  ## Features
26
26
 
27
27
  - A line-drawn globe as one SVG: country outlines on an orthographic disc, in two looks (`line`, `thick`), with an optional graticule.
28
- - It opens centred on where the reader is, or where you say. Auto-turn runs at the Earth's own rate: one sidereal day a turn.
28
+ - It opens centred on where the reader is, or where you say. Auto-turn runs at the Earth's own rate: one sidereal day a turn, and the family's speed buttons (0.5×, 1×, 2×) are multiples of it.
29
29
  - The Earth from space (`/realistic`): day and night by the real Sun, city lights, sun glint, clouds and the atmosphere, drawn with three.js through one shared WebGL context.
30
30
  - The Sun, the Moon and the planets where they are on a date and time (`/space`), and satellites at the places SGP4 puts them (`/satellites`), with a camera that rides along.
31
31
  - Markers with labels, groups, clusters and events (`/markers`), on either globe.
@@ -324,9 +324,9 @@ A page that cannot run script uses an iframe of the embed page:
324
324
 
325
325
  ## The code builder
326
326
 
327
- [The code builder](https://johnmorrisdotca.github.io/chikyu-earth/builder.html) is one screen: choose the place to centre on, the look, the graticule and the size, then pick how your page is made (HTML from a CDN, a module, React or an iframe) and copy the code. It writes the same text the guides show.
327
+ [The code builder](https://johnmorrisdotca.github.io/chikyu-earth/builder.html) is one screen, and the demo's "Put it in your page" is the same panel (the family's `<kazoku-embed-panel>`): choose the place to centre on, the look, the graticule and the size, then pick how your page is made (HTML from a CDN, a module, React, Vue, Angular, Svelte or an iframe) and copy the code. The picture beside the code is made from the same choices; Open the embed page, Read the docs and the credit line are under it. It writes the same text the guides show.
328
328
 
329
- <p align="center"><img alt="The code builder: rows of places, looks, graticule and size, tabs for each way a page is made, a preview and the code to copy" src="docs/images/builder-desk.png" width="640"></p>
329
+ <p align="center"><img alt="The code builder: the ten places, the three looks, the graticule, four sizes, seven tabs for each way a page is made, a picture of the globe and the code to copy" src="docs/images/builder-desk.png" width="640"></p>
330
330
 
331
331
  ## API
332
332
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnmorrisdotca/chikyu-earth",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "description": "Chikyu Earth 地球 — A line-drawn globe for the web: country outlines that turn at the Earth's own rate, centred on where you are, with an optional realistic Earth from space (three.js), the Sun, Moon and planets, satellites on their orbits, and markers for any place. A web component and an SVG string.",
5
5
  "keywords": [
6
6
  "earth",
@@ -172,7 +172,7 @@
172
172
  "@angular/core": "^22.2.4",
173
173
  "@angular/platform-browser": "^22.2.4",
174
174
  "@eslint/js": "^9.0.0",
175
- "@johnmorrisdotca/kazoku-ui": "^0.12.0",
175
+ "@johnmorrisdotca/kazoku-ui": "^0.15.1",
176
176
  "@johnmorrisdotca/wakusei-planets": "^0.5.0",
177
177
  "@playwright/test": "1.64.0",
178
178
  "@sveltejs/vite-plugin-svelte": "^7.3.1",