@bicharts/chart-host 0.5.115 → 0.5.116
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/dist/types/contract.d.ts +6 -7
- package/package.json +1 -1
package/dist/types/contract.d.ts
CHANGED
|
@@ -146,12 +146,11 @@ export interface RenderOptions {
|
|
|
146
146
|
* the scrubber when they follow. ADVISORY TELEMETRY: the host logs it, and nothing about the
|
|
147
147
|
* chart depends on a host supplying it.
|
|
148
148
|
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* is exactly what item 638 had to do.
|
|
149
|
+
* Until now no host could tell a control that fired from a control that does nothing. One
|
|
150
|
+
* host left an INDIRECT trace, because working a control persists view-state and that write
|
|
151
|
+
* is logged there; another host's write was silent, so a reader reporting "the buttons do
|
|
152
|
+
* nothing" left no record anywhere. Establishing that a control had in fact fired meant
|
|
153
|
+
* pulling the generated source out of storage and reading it by hand.
|
|
155
154
|
*
|
|
156
155
|
* CLICKS ONLY, and there is deliberately no `phase`. A control also settles on a value at
|
|
157
156
|
* first paint, on every resize and on every re-render; reporting those would bury the
|
|
@@ -163,7 +162,7 @@ export interface RenderOptions {
|
|
|
163
162
|
*/
|
|
164
163
|
onControlChange?: (e: ChartControlChange) => void;
|
|
165
164
|
}
|
|
166
|
-
/** One reader gesture on a chart's own control
|
|
165
|
+
/** One reader gesture on a chart's own control. */
|
|
167
166
|
export interface ChartControlChange {
|
|
168
167
|
/** The helper family that owns the control — "segmented" today. */
|
|
169
168
|
control: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bicharts/chart-host",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.116",
|
|
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",
|