misraj-mushaf-renderer 2.0.0 → 2.0.2
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/react-ui.cjs.js +2 -2
- package/dist/react-ui.cjs.js.map +1 -1
- package/dist/react-ui.es.js +490 -472
- package/dist/react-ui.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/fontFaceHelper.d.ts +12 -0
- package/dist/utils/fontFaceHelper.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,3 +11,15 @@ import { MushafLines, MushafFont } from '../types/MushafReader';
|
|
|
11
11
|
* @returns {string}
|
|
12
12
|
*/
|
|
13
13
|
export declare const getFontClassName: (mushafFont: MushafFont, fontScale: number, mushafLines: MushafLines, isFallbackFont?: boolean) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Dynamically generate the className of the combination between the font
|
|
16
|
+
* name + size that will match the output of
|
|
17
|
+
* generate-line-width-scales function inside {@see _utility.scss}.
|
|
18
|
+
*
|
|
19
|
+
* @param {MushafFont} mushafFont
|
|
20
|
+
* @param {number} fontScale
|
|
21
|
+
* @param {MushafLines} mushafLines
|
|
22
|
+
* @param {boolean} isFallbackFont
|
|
23
|
+
* @returns {string}
|
|
24
|
+
*/
|
|
25
|
+
export declare const getLineWidthClassName: (mushafFont: MushafFont, fontScale: number, mushafLines: MushafLines, isFallbackFont?: boolean) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|