@tarekeldeeb/quran-madina-react 0.9.7 → 0.10.0
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/README.md +1 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ export default function App() {
|
|
|
61
61
|
| `inline` | string | `"no"` forces the multiline/header layout even for a selection that fits one line. `"auto"` (default) is fit-based. `"yes"` (force a single line for an overflowing selection) is not implemented yet. |
|
|
62
62
|
| `font` | string | `Hafs`, `Uthman`, `Amiri Quran`, `Amiri Quran Colored`, `me_quran`. |
|
|
63
63
|
| `name` | string | DB name, default `Madina05`. |
|
|
64
|
-
| `fontSize` | number \| string | px, default 16. |
|
|
64
|
+
| `fontSize` | number \| string | px, default 16. Any size 6–100: 16 and 24 have pre-built DBs, every other size is interpolated between them at load time. |
|
|
65
65
|
| `src` | string | Library script URL. Default: unpkg latest. |
|
|
66
66
|
| `cdn` | string | Base URL for CSS + JSON assets. Default: unpkg package root. |
|
|
67
67
|
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,10 @@ export interface QuranMadinaHtmlLoaderOptions {
|
|
|
9
9
|
font?: string;
|
|
10
10
|
/** data-name (default "Madina05"). */
|
|
11
11
|
name?: string;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* data-font-size in px (default 16). Any size from 6 to 100 works: 16 and 24 have pre-built
|
|
14
|
+
* databases, every other size is fitted at load time by linear interpolation between them.
|
|
15
|
+
*/
|
|
13
16
|
fontSize?: number | string;
|
|
14
17
|
}
|
|
15
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarekeldeeb/quran-madina-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "React wrapper for the quran-madina-html custom element — render Madina-style Quran pages (no images) in React on web and mobile (via a Capacitor WebView).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|