@moderneinc/react-charts 1.5.2-next.c0a92a → 1.5.2-next.d28ef2
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 +3 -3
- package/dist/index.js +822 -815
- package/dist/theme/mono-font.d.ts +10 -0
- package/package.json +3 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* Mono family for tabular text, read from the host theme.
|
|
4
|
+
*
|
|
5
|
+
* No module augmentation for `fontFamilyMonospace`: declaring it optional here
|
|
6
|
+
* collides with moderne-ui, which declares it required (TS2687/TS2717).
|
|
7
|
+
* Narrowed rather than asserted because a non-string (a `next/font` handle
|
|
8
|
+
* passed whole) reaches `fontFamily` and MUI emits it as stray CSS props.
|
|
9
|
+
*/
|
|
10
|
+
export declare const monoFontFamily: (theme: Theme) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moderneinc/react-charts",
|
|
3
|
-
"version": "1.5.2-next.
|
|
3
|
+
"version": "1.5.2-next.d28ef2",
|
|
4
4
|
"description": "Parliament chart visualization library for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"devEngines": {
|
|
@@ -69,6 +69,8 @@
|
|
|
69
69
|
"@biomejs/biome": "^2.2.0",
|
|
70
70
|
"@emotion/react": "^11.14.0",
|
|
71
71
|
"@emotion/styled": "^11.14.0",
|
|
72
|
+
"@fontsource-variable/geist": "^5.3.0",
|
|
73
|
+
"@fontsource-variable/geist-mono": "^5.3.0",
|
|
72
74
|
"@mui/icons-material": "^7.3.2",
|
|
73
75
|
"@mui/material": "^7.3.2",
|
|
74
76
|
"@semantic-release/changelog": "^6.0.3",
|