@johnmorrisdotca/chikyu-earth 0.14.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,14 @@
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
+
3
12
  ## 0.14.0 - 2026-11-03
4
13
 
5
14
  The family's speed buttons, in the demo's two places that run time (KAZOKU-UI-46).
package/README.md CHANGED
@@ -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.14.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.14.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",