logic-atlas 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.
Files changed (81) hide show
  1. package/CITATION.cff +2 -2
  2. package/README.md +8 -4
  3. package/dist/case.js +1 -1
  4. package/dist/chunks/{CasePage-R2k_0lls.js → CasePage-CbCDu1FO.js} +3 -3
  5. package/dist/chunks/{CasePage-R2k_0lls.js.map → CasePage-CbCDu1FO.js.map} +1 -1
  6. package/dist/chunks/{CausalPlayground-Cd7Sok3F.js → CausalPlayground-D93D0ceE.js} +5 -5
  7. package/dist/chunks/{CausalPlayground-Cd7Sok3F.js.map → CausalPlayground-D93D0ceE.js.map} +1 -1
  8. package/dist/chunks/{CiteBlock-irdT1sjg.js → CiteBlock-DMFqM7ZM.js} +2 -2
  9. package/dist/chunks/{CiteBlock-irdT1sjg.js.map → CiteBlock-DMFqM7ZM.js.map} +1 -1
  10. package/dist/chunks/{ConservativeExtension-BX4EtG16.js → ConservativeExtension-Cofe92ak.js} +2 -2
  11. package/dist/chunks/{ConservativeExtension-BX4EtG16.js.map → ConservativeExtension-Cofe92ak.js.map} +1 -1
  12. package/dist/chunks/{ExportMenu-B5HoqaQl.js → ExportMenu-DaLZ5rBJ.js} +3 -3
  13. package/dist/chunks/{ExportMenu-B5HoqaQl.js.map → ExportMenu-DaLZ5rBJ.js.map} +1 -1
  14. package/dist/chunks/{GraphBox-Tg3kDWNT.js → GraphBox-DjjoWUU0.js} +3 -3
  15. package/dist/chunks/{GraphBox-Tg3kDWNT.js.map → GraphBox-DjjoWUU0.js.map} +1 -1
  16. package/dist/chunks/{IdentifyPanel-BVmZsWGN.js → IdentifyPanel-CoPC-Okk.js} +3 -3
  17. package/dist/chunks/{IdentifyPanel-BVmZsWGN.js.map → IdentifyPanel-CoPC-Okk.js.map} +1 -1
  18. package/dist/chunks/{ModelEditor-oAvvVqX5.js → ModelEditor-A6kk6Si5.js} +2 -2
  19. package/dist/chunks/{ModelEditor-oAvvVqX5.js.map → ModelEditor-A6kk6Si5.js.map} +1 -1
  20. package/dist/chunks/{ProbabilityPanel-8-cC68rq.js → ProbabilityPanel-DKTFYU-j.js} +5 -5
  21. package/dist/chunks/{ProbabilityPanel-8-cC68rq.js.map → ProbabilityPanel-DKTFYU-j.js.map} +1 -1
  22. package/dist/chunks/{RulesPanel-Cr6R9xCK.js → RulesPanel-B6X9O0he.js} +3 -3
  23. package/dist/chunks/{RulesPanel-Cr6R9xCK.js.map → RulesPanel-B6X9O0he.js.map} +1 -1
  24. package/dist/chunks/SignalGraph-CWPf_sG8.js +1412 -0
  25. package/dist/chunks/SignalGraph-CWPf_sG8.js.map +1 -0
  26. package/dist/chunks/{SliderList-BrILQCA4.js → SliderList-DmDURTeF.js} +2 -2
  27. package/dist/chunks/{SliderList-BrILQCA4.js.map → SliderList-DmDURTeF.js.map} +1 -1
  28. package/dist/chunks/{WorldLanes-kxYTRnB5.js → WorldLanes-DDtJZqcA.js} +2 -2
  29. package/dist/chunks/{WorldLanes-kxYTRnB5.js.map → WorldLanes-DDtJZqcA.js.map} +1 -1
  30. package/dist/chunks/{cite-B6emUIEW.js → cite-QzNc24r2.js} +2 -2
  31. package/dist/chunks/{cite-B6emUIEW.js.map → cite-QzNc24r2.js.map} +1 -1
  32. package/dist/chunks/{export-image-IsI6PVd9.js → export-image-BBHOXOis.js} +3 -3
  33. package/dist/chunks/{export-image-IsI6PVd9.js.map → export-image-BBHOXOis.js.map} +1 -1
  34. package/dist/cite.js +1 -1
  35. package/dist/editor.js +1 -1
  36. package/dist/extension.js +1 -1
  37. package/dist/ground-cases.js +767 -0
  38. package/dist/ground-cases.js.map +1 -0
  39. package/dist/ground.css +2 -0
  40. package/dist/ground.js +3829 -0
  41. package/dist/ground.js.map +1 -0
  42. package/dist/identify.js +1 -1
  43. package/dist/index.js +8 -8
  44. package/dist/lanes.js +1 -1
  45. package/dist/playground.js +1 -1
  46. package/dist/probability.js +1 -1
  47. package/dist/style.css +1 -1
  48. package/dist/types/ground/cases/index.d.ts +7 -0
  49. package/dist/types/ground/components/DiscernibilityPanel.d.ts +35 -0
  50. package/dist/types/ground/components/GroundChecker.d.ts +16 -0
  51. package/dist/types/ground/components/ProposalTable.d.ts +20 -0
  52. package/dist/types/ground/components/StructureView.d.ts +21 -0
  53. package/dist/types/ground/components/case-text.d.ts +32 -0
  54. package/dist/types/ground/components/parts.d.ts +59 -0
  55. package/dist/types/ground/components/structure-layout.d.ts +59 -0
  56. package/dist/types/ground/components/use-premises.d.ts +21 -0
  57. package/dist/types/ground/data/analyze.d.ts +41 -0
  58. package/dist/types/ground/data/case.d.ts +52 -0
  59. package/dist/types/ground/data/load.d.ts +30 -0
  60. package/dist/types/ground/data/presets.d.ts +32 -0
  61. package/dist/types/ground/data/schema.d.ts +303 -0
  62. package/dist/types/ground/engine/closure.d.ts +34 -0
  63. package/dist/types/ground/engine/discern.d.ts +84 -0
  64. package/dist/types/ground/engine/errors.d.ts +142 -0
  65. package/dist/types/ground/engine/evaluate.d.ts +25 -0
  66. package/dist/types/ground/engine/facts.d.ts +61 -0
  67. package/dist/types/ground/engine/formula.d.ts +100 -0
  68. package/dist/types/ground/engine/index.d.ts +26 -0
  69. package/dist/types/ground/engine/premises.d.ts +58 -0
  70. package/dist/types/ground/engine/print.d.ts +29 -0
  71. package/dist/types/ground/engine/proposals.d.ts +56 -0
  72. package/dist/types/ground/engine/resolve.d.ts +46 -0
  73. package/dist/types/ground/engine/syntax.d.ts +55 -0
  74. package/dist/types/ground/i18n/en.d.ts +2 -0
  75. package/dist/types/ground/i18n/messages.d.ts +14 -0
  76. package/dist/types/ground/i18n/zh.d.ts +95 -0
  77. package/dist/types/ground/index.d.ts +22 -0
  78. package/dist/types/logic/structure.d.ts +72 -0
  79. package/package.json +12 -3
  80. package/dist/chunks/SignalGraph-yoGcj7jf.js +0 -1405
  81. package/dist/chunks/SignalGraph-yoGcj7jf.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ground-cases.js","names":["__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","CASES","\"en\"","\"cite\"","\"pages\"","\"individuals\"","\"id\"","\"symbol\"","\"label\"","\"properties\"","\"qualitative\"","\"holds\"","\"define\"","\"relations\"","\"pairs\"","\"claims\"","\"proposal\"","\"clause\"","\"grounded\"","\"partial\"","\"targets\"","\"query\"","\"kind\"","\"pair\"","\"test\"","\"expect\"","\"shared\"","\"propertyDiscernible\"","\"clauses\"","\"property\"","\"distinctness\"","\"identity\"","\"premises\"","\"necessitation\"","\"proposals\"","\"existence\"","\"target\"","\"selfGround\"","\"selfGroundFact\"","\"chainRules\"","\"fullGrounds\"","\"haecceities\"","\"absolute\"","\"relative\"","\"scope\"","\"weak\"","\"irreflexiveWitness\"","\"allReflexive\"","\"equivalents\"","\"notPartial\"","path","doc","groundCaseIds","getGroundCase","id","listGroundCases"],"sources":["../src/ground/cases/index.ts"],"sourcesContent":["import type { GroundCaseInput } from '../data/schema.ts'\n\n/**\n * `logic-atlas/ground/cases`: the bundled ground cases (CC BY 4.0, each with its sources and pages).\n * The figures never import this module; a host passes `getGroundCase(id)` as a figure's `doc`.\n */\n\nconst files = import.meta.glob<GroundCaseInput>('./*.json', { eager: true, import: 'default' })\n\nconst CASES: Readonly<Record<string, GroundCaseInput>> = Object.fromEntries(Object.entries(files).map(([path, doc]) => [path.replace(/^.*\\/(.*)\\.json$/, '$1'), doc]))\n\n/** Every bundled case id, sorted. */\nexport const groundCaseIds: readonly string[] = Object.keys(CASES).sort()\n\n/** The bundled case `id`, as written; throws on an unknown id. */\nexport function getGroundCase(id: string): GroundCaseInput {\n const doc = CASES[id]\n if (doc === undefined) throw new Error(`no ground case ${id}; the cases are ${groundCaseIds.join(', ')}`)\n return doc\n}\n\n/** Every bundled case. */\nexport function listGroundCases(): readonly GroundCaseInput[] {\n return groundCaseIds.map(getGroundCase)\n}\n"],"mappings":";AASA,IAAMI,IAAmD,OAAO,YAAY,OAAO,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qD;CAClB,IAAIH,MAAQ,KAAA,GAAW,MAAU,MAAM,kBAAkBG,EAAG,kBAAkBF,EAAc,KAAK,IAAI,GAAG;CACxG,OAAOD;AACT;AAGA,SAAgBI,IAA8C;CAC5D,OAAOH,EAAc,IAAIC,CAAa;AACxC"}
@@ -0,0 +1,2 @@
1
+ .ca-ground{gap:14px;margin:0;display:grid;container-type:inline-size}.ca-ground-caption{font-size:13px}.ca-ground-split{gap:16px;display:grid}@container (width>=680px){.ca-ground-split{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start}}.ca-ground-figure,.ca-ground-strip{justify-items:center;gap:6px;min-width:0;display:grid}.ca-ground-side{align-content:start;gap:10px;min-width:0;display:grid}.ca-ground-scroll{overflow-x:auto}.ca-ground-pair,.ca-ground-side>p,.ca-ground-result>p{margin:0}.ca-ground-structure{max-width:100%;height:auto;font-family:inherit;overflow:visible}.ca-ground-edge path{stroke:var(--foreground);stroke-width:1.5px}.ca-ground-edge .ca-ground-head{fill:var(--foreground);stroke:none}.ca-ground-edge-label rect{fill:var(--background);stroke:var(--ca-guide);stroke-width:1px}.ca-ground-edge-label text{fill:var(--foreground);font-size:12px}.ca-ground-individual{outline:none}.ca-ground-individual[role=button]{cursor:pointer}.ca-ground-disc{fill:var(--background);stroke:var(--foreground);stroke-width:1.5px}.ca-ground-individual[data-highlight=true] .ca-ground-disc{fill:var(--ca-amber-fill);stroke:var(--ca-amber);stroke-width:2.75px}.ca-ground-individual:focus-visible .ca-ground-disc{stroke:var(--accent);stroke-width:3px}.ca-ground-symbol{fill:var(--foreground);font-family:KaTeX_Math,Times New Roman,serif;font-size:15px;font-style:italic}.ca-ground-name{fill:var(--foreground);font-size:13px;font-weight:700}.ca-ground-prop text{fill:var(--muted-foreground);font-size:12px}.ca-ground-prop rect{fill:none;stroke:var(--ca-guide);stroke-dasharray:3 2}.ca-ground-table{border-collapse:collapse;font-size:14px}.ca-ground-table caption{text-align:left;color:var(--muted-foreground);padding-bottom:4px;font-size:13px}.ca-ground-table :where(th,td){border:1px solid var(--border);text-align:center;vertical-align:middle;padding:4px 10px}.ca-ground-table th[scope=row]{text-align:left}.ca-ground-table tr[data-differs=true] th{font-weight:700}.ca-ground-matrix td{text-align:left;vertical-align:top}.ca-ground-yn[data-value=yes]{color:var(--ca-green);font-weight:600}.ca-ground-yn[data-value=no]{color:var(--muted-foreground)}.ca-ground-kinds{gap:2px;margin:0;font-size:14px;display:grid}.ca-ground-kinds>div{flex-wrap:wrap;gap:0 8px;display:flex}.ca-ground-kinds dt{min-width:9em}.ca-ground-kinds dd{margin:0}.ca-ground-verdict{display:inline}.ca-ground-verdict[data-verdict=explained] strong,.ca-ground-verdict[data-verdict=same-ground] strong{color:var(--ca-green)}.ca-ground-verdict[data-verdict=no-ground] strong,.ca-ground-verdict[data-verdict=necessitation-conflict] strong,.ca-ground-verdict[data-verdict=trivial] strong{color:var(--ca-amber-text)}.ca-ground-cell{all:unset;cursor:pointer;border-radius:4px;display:block}.ca-ground-cell:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.ca-ground-cell[aria-expanded=true]{background:var(--ca-soft)}.ca-ground-note{font-size:12px}.ca-ground-switches{flex-wrap:wrap;gap:8px 18px;font-size:13px;display:flex}.ca-ground-switch{align-items:center;gap:6px;display:flex}.ca-ground-switch-label{color:var(--muted-foreground)}.ca-ground-presets{border-top:1px solid var(--border);gap:6px;padding-top:10px;display:grid}.ca-ground-preset-list{flex-wrap:wrap;gap:6px;display:flex}.ca-ground-preset{font:inherit;border:1px solid var(--border);background:var(--background);color:var(--foreground);cursor:pointer;border-radius:999px;padding:3px 10px;font-size:13px}.ca-ground-preset[aria-pressed=true]{background:var(--foreground);color:var(--background);border-color:var(--foreground)}.ca-ground-preset-check{margin:0}.ca-ground-preset-check[data-ok=true]{color:var(--ca-green)}.ca-ground-preset-check[data-ok=false]{color:var(--ca-amber-text)}.ca-ground-result{gap:8px;display:grid}.ca-ground-verdict-line{font-size:15px}.ca-ground-mark[data-value=no]{color:var(--ca-amber-text);font-weight:700}.ca-ground-mark[data-value=ok]{color:var(--ca-green);font-weight:700}.ca-ground-chain{gap:4px;margin:0;padding-left:1.5em;display:grid}.ca-ground-chain li{flex-wrap:wrap;align-items:baseline;gap:2px 16px;display:flex}.ca-ground-step{min-width:18em}.ca-ground-rule{font-size:13px}.ca-ground-factbtn{all:unset;cursor:pointer;border-radius:3px;padding:0 2px}.ca-ground-factbtn:hover,.ca-ground-factbtn:focus-visible{background:var(--ca-soft);outline:1px solid var(--ca-guide)}.ca-ground-sets ul{gap:2px;margin:4px 0 0;padding-left:1.25em;display:grid}.ca-ground-sets li{flex-wrap:wrap;gap:2px 14px;display:flex}.ca-ground-sets p{margin:0}.ca-ground-partial summary{cursor:pointer;font-size:13px}.ca-ground-partial p{margin:4px 0 0}
2
+ /*$vite$:1*/