@bicharts/chart-host 0.5.117 → 0.5.118
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.
|
@@ -3168,7 +3168,19 @@ var D3_PLUGIN_PACKAGES = {
|
|
|
3168
3168
|
weightedVoronoi: "d3-weighted-voronoi",
|
|
3169
3169
|
// Attached onto d3 like the rest, but reached as d3.mermaid.render(...) — a NAMESPACE
|
|
3170
3170
|
// OBJECT with methods, not a function on d3. The scan below accounts for that shape.
|
|
3171
|
-
mermaid: "mermaid"
|
|
3171
|
+
mermaid: "mermaid",
|
|
3172
|
+
// AND THE NAME A REAL CHART ACTUALLY WRITES. This one is not a member of the mermaid
|
|
3173
|
+
// package at all: it is a helper the SERVER prepends into the generated code, and the
|
|
3174
|
+
// helper is what reaches for the library. So a genuine diagram chart contains
|
|
3175
|
+
// `d3.llmMermaid(` and never once writes `d3.mermaid` — measured on the first real
|
|
3176
|
+
// generation of that type, for which this scan returned an EMPTY list. It drew, because
|
|
3177
|
+
// the host it ran in happened to carry the library; a host relying on this answer to
|
|
3178
|
+
// decide what to install would have been told nothing and failed several frames deep.
|
|
3179
|
+
//
|
|
3180
|
+
// Mapping the helper is right rather than a hack, because this map answers "what must a
|
|
3181
|
+
// host INSTALL for this code to run" and not "which package exports this symbol". For
|
|
3182
|
+
// code that calls the helper, the answer is the library the helper reaches for.
|
|
3183
|
+
llmMermaid: "mermaid"
|
|
3172
3184
|
};
|
|
3173
3185
|
function requiredD3Plugins(code) {
|
|
3174
3186
|
const out = /* @__PURE__ */ new Set();
|
package/dist/index.mjs
CHANGED
package/dist/react.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bicharts/chart-host",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.118",
|
|
4
4
|
"description": "Run a BIC-generated D3 chart in any web host: compiles the generated render() function, applies the shared option defaults, resolves mark clicks (through tooltip overlays), owns the selection affordance, and translates row indices between cross-filtered charts. The same contract the BIC Power BI visual implements, minus Power BI. React bindings at @bicharts/chart-host/react.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|