The picture above was drawn when the docs were built. The script below draws it again with the published package.
import { drawJudging } from "@johnmorrisdotca/kyogijo-stadiums/judging";
const svg = drawJudging({
style: "shiai",
mats: [
{
label: "Mat 1",
officials: [
{ seat: "referee", name: "Hana Ito", id: "R-204" },
{ seat: "timekeeper", name: "Sam Cole", id: "T-011" },
{ seat: "scorekeeper", name: "Ana Ruiz", id: "T-012" },
{ seat: "supervisor", name: "Peter Lindqvist-Haraldsson", id: "S-003" },
{ seat: "side-judge-1", name: "Kim Park", id: "J-707" },
],
},
],
sideJudges: true,
});
This page imports the package from jsDelivr (major version 0), which serves only versions that have been published to npm. A feature added after the last release is not in it: the page then keeps the picture above and says why. The docs were built from version 0.64.0.