@opendata-ai/openchart-vanilla 8.1.1 → 8.2.1
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/{chunk-RQNAZZJM.js → chunk-N5KDVZU7.js} +181 -24
- package/dist/chunk-N5KDVZU7.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -16
- package/dist/index.js.map +1 -1
- package/dist/{mount-CL-nA0f-.d.ts → mount-Djb1VvKO.d.ts} +10 -0
- package/dist/story/index.d.ts +2 -2
- package/dist/story/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-RQNAZZJM.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { ChartLayout, ChartSpec, CompileOptions, TableLayout, TableSpec, VizSpec } from '@opendata-ai/openchart-engine';
|
|
2
2
|
import { BarListSpec, BarListLayout, ThemeConfig, DarkMode, ChartLayout, ChartSpec, LayerSpec, AnimationEase, GraphSpec, TooltipContent, GeoMapSpec, GeoMapLayout, RectMark, Mark, BarTableCell, CategoryTableCell, TableCell, FlagTableCell, HeatmapTableCell, ImageTableCell, SparklineTableCell, TextTableCell, SankeySpec, SankeyLayout, TableSpec, SortState, TableLayout, TileMapSpec, TileMapLayout, ResolvedYouDrawIt } from '@opendata-ai/openchart-core';
|
|
3
|
-
import { J as JPGExportOptions, S as SVGExportOptions, C as Camera } from './mount-
|
|
4
|
-
export { a as ChartInstance, E as ExportOptions, M as MountOptions, P as PNGExportOptions, U as UpdateOptions, c as createChart, e as exportCSV, b as exportJPG, d as exportPNG, f as exportSVG, g as exportSVGWithFonts } from './mount-
|
|
3
|
+
import { J as JPGExportOptions, S as SVGExportOptions, C as Camera } from './mount-Djb1VvKO.js';
|
|
4
|
+
export { a as ChartInstance, E as ExportOptions, M as MountOptions, P as PNGExportOptions, U as UpdateOptions, c as createChart, e as exportCSV, b as exportJPG, d as exportPNG, f as exportSVG, g as exportSVGWithFonts } from './mount-Djb1VvKO.js';
|
|
5
5
|
import { Placement } from '@floating-ui/dom';
|
|
6
6
|
import './export-gif.js';
|
|
7
7
|
|
package/dist/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
DEFAULT_UPDATE_MAX_MARKS,
|
|
14
14
|
SpatialIndex,
|
|
15
15
|
VECTOR_EXPORT_MAX_POINTS,
|
|
16
|
+
applySrOnlyStyles,
|
|
16
17
|
cancelAnimations,
|
|
17
18
|
createChart,
|
|
18
19
|
createGeoMap,
|
|
@@ -32,7 +33,7 @@ import {
|
|
|
32
33
|
setupAnimationCleanup,
|
|
33
34
|
setupTableAnimationCleanup,
|
|
34
35
|
zoom_default
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-N5KDVZU7.js";
|
|
36
37
|
import {
|
|
37
38
|
embedFonts,
|
|
38
39
|
ensureSVGDimensions,
|
|
@@ -5915,21 +5916,6 @@ import { compileTable } from "@opendata-ai/openchart-engine";
|
|
|
5915
5916
|
// src/table-renderer.ts
|
|
5916
5917
|
import { BRAND_FONT_SIZE as BRAND_FONT_SIZE3 } from "@opendata-ai/openchart-core";
|
|
5917
5918
|
import { clampStaggerDelay as clampStaggerDelay2 } from "@opendata-ai/openchart-engine";
|
|
5918
|
-
|
|
5919
|
-
// src/dom-helpers.ts
|
|
5920
|
-
function applySrOnlyStyles(el) {
|
|
5921
|
-
el.style.position = "absolute";
|
|
5922
|
-
el.style.width = "1px";
|
|
5923
|
-
el.style.height = "1px";
|
|
5924
|
-
el.style.padding = "0";
|
|
5925
|
-
el.style.margin = "-1px";
|
|
5926
|
-
el.style.overflow = "hidden";
|
|
5927
|
-
el.style.clipPath = "inset(50%)";
|
|
5928
|
-
el.style.whiteSpace = "nowrap";
|
|
5929
|
-
el.style.borderWidth = "0";
|
|
5930
|
-
}
|
|
5931
|
-
|
|
5932
|
-
// src/table-renderer.ts
|
|
5933
5919
|
var BRAND_URL3 = "https://tryopendata.ai";
|
|
5934
5920
|
function renderChromeBlock(layout, position) {
|
|
5935
5921
|
const chrome = layout.chrome;
|