@classic-homes/charts-react 0.1.36 → 0.1.38
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.cjs +345 -276
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +355 -278
- package/package.json +11 -6
package/dist/index.d.cts
CHANGED
|
@@ -155,7 +155,7 @@ declare function useChart({ option, theme, animation, onReady, }: UseChartOption
|
|
|
155
155
|
*/
|
|
156
156
|
declare function registerClassicThemes(): void;
|
|
157
157
|
/**
|
|
158
|
-
* Hook to manage chart theme based on
|
|
158
|
+
* Hook to manage chart theme based on the document dark mode class
|
|
159
159
|
*/
|
|
160
160
|
declare function useChartTheme(preference?: 'light' | 'dark' | 'auto'): string;
|
|
161
161
|
|
package/dist/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ declare function useChart({ option, theme, animation, onReady, }: UseChartOption
|
|
|
155
155
|
*/
|
|
156
156
|
declare function registerClassicThemes(): void;
|
|
157
157
|
/**
|
|
158
|
-
* Hook to manage chart theme based on
|
|
158
|
+
* Hook to manage chart theme based on the document dark mode class
|
|
159
159
|
*/
|
|
160
160
|
declare function useChartTheme(preference?: 'light' | 'dark' | 'auto'): string;
|
|
161
161
|
|