@funnest/charts-ui 0.11.56 → 0.11.58
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/components/page-layer.d.ts +9 -0
- package/dist/index.js +4114 -3943
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ChartSettings } from '@funnest/charts';
|
|
2
|
+
/**
|
|
3
|
+
* A layer over the whole page (or over the fullscreen element, when the chart is fullscreen) that
|
|
4
|
+
* looks like the chart it came from: its color scheme, direction and CSS variables (a chart theme's
|
|
5
|
+
* colors too), copied again whenever the settings change.
|
|
6
|
+
*/
|
|
7
|
+
export declare function usePageLayer(anchor: {
|
|
8
|
+
current: HTMLElement | null;
|
|
9
|
+
}, settings: ChartSettings): HTMLElement | null;
|