Merge branch 'feature/timeline' into main

This commit is contained in:
2026-06-15 12:29:36 +09:00
22 changed files with 1880 additions and 519 deletions

View File

@@ -5,6 +5,8 @@
import worldData from 'world-atlas/countries-50m.json';
import { getSelected, toggle, setTotalCount, getHomeCountryCode } from '../layout/selection.svelte.js';
let { onCountryClick = (_name) => {} } = $props();
const TERRITORY_PARENT = {
'016': '840', // American Samoa -> United States
'060': '826', // Bermuda -> United Kingdom
@@ -133,6 +135,7 @@
.on('click', (event, d) => {
toggle(effId(d));
updateFill(d3.select(event.currentTarget));
onCountryClick(d.properties.name);
})
.on('mouseenter', (event, d) => {
const s = getSelected();