bookcover-web 0.20.0 → 0.20.1
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/embed_types.d.ts +5 -2
- package/package.json +2 -2
package/dist/embed_types.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { EmbedFormState } from 'bookcover-core';
|
|
2
2
|
import type { CustomFont } from 'typst-fonts';
|
|
3
3
|
/** Locales the widget UI supports. Lives in this published package, so adding a widget
|
|
4
|
-
* locale requires a bookcover-web release.
|
|
5
|
-
|
|
4
|
+
* locale requires a bookcover-web release. Codes are ISO 639-3, plus an ISO 15924 script
|
|
5
|
+
* suffix where one language is written in more than one script (zho_hans = Simplified
|
|
6
|
+
* Chinese). An unrecognised locale sent by a host falls back to the widget's own detection
|
|
7
|
+
* rather than failing, so a host may send a code newer than the widget it embeds. */
|
|
8
|
+
export type AppLocale = 'eng' | 'ara' | 'ben' | 'deu' | 'fas' | 'fra' | 'hin' | 'ind' | 'ita' | 'jpn' | 'kor' | 'mar' | 'por' | 'rus' | 'spa' | 'tam' | 'tel' | 'tha' | 'tur' | 'urd' | 'vie' | 'zho_hans';
|
|
6
9
|
/** One candidate background the host offers alongside the widget's own built-ins — typically an
|
|
7
10
|
* image the user already used on another of their covers, which the widget would otherwise make
|
|
8
11
|
* them find on disk and upload again.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bookcover-web",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"license": "MIT-0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@myriaddreamin/typst-ts-renderer": "0.7.0",
|
|
40
40
|
"@myriaddreamin/typst-ts-web-compiler": "0.7.0",
|
|
41
41
|
"@myriaddreamin/typst.ts": "0.7.0",
|
|
42
|
-
"bookcover-core": "^0.20.
|
|
42
|
+
"bookcover-core": "^0.20.1",
|
|
43
43
|
"typst-fonts": "^0.1.0"
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": false
|