@opendata-ai/openchart-core 9.8.0 → 9.9.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.
- package/dist/index.d.ts +15 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4425,7 +4425,21 @@ type DarkMode = 'auto' | 'force' | 'off';
|
|
|
4425
4425
|
type ChromeAlign = 'left' | 'center' | 'right';
|
|
4426
4426
|
/** Placement of a theme logo relative to the visualization. */
|
|
4427
4427
|
type LogoPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4428
|
-
/**
|
|
4428
|
+
/**
|
|
4429
|
+
* Theme logo source, size and placement.
|
|
4430
|
+
*
|
|
4431
|
+
* @remarks
|
|
4432
|
+
* Set `chrome.logo: false` to hide it per spec. Logos require full chrome and
|
|
4433
|
+
* a total visualization width of at least 120 px.
|
|
4434
|
+
* Charts, including fixed-size charts, use compact chrome at heights from 100
|
|
4435
|
+
* through 350 px and hidden chrome below 100 px. They also reduce chrome when
|
|
4436
|
+
* full chrome would squeeze the plot. Compact and hidden chrome omit the logo.
|
|
4437
|
+
* `display: 'sparkline'` hides chrome by default; explicit spec chrome can keep it.
|
|
4438
|
+
* Geo maps reduce chrome from full to compact to hidden when it would leave the
|
|
4439
|
+
* map area below MIN_GEO_MAP_HEIGHT (40 px), unless chrome grows outside the
|
|
4440
|
+
* height budget. Other spec kinds keep full chrome regardless of height.
|
|
4441
|
+
* Fixed spec width/height override the container size before these rules apply.
|
|
4442
|
+
*/
|
|
4429
4443
|
interface ThemeLogo {
|
|
4430
4444
|
/** Logo image data URL. */
|
|
4431
4445
|
src: string;
|