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.
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "misraj-mushaf-renderer",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "license": "CC BY-NC 4.0",
5
5
  "description": "A customizable React component for rendering Mushaf pages.",
6
6
  "type": "module",