@takumi-rs/wasm 2.1.2 → 2.2.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/export.d.cts +5 -0
- package/dist/export.d.mts +5 -0
- package/package.json +2 -2
- package/pkg/takumi_wasm_bg.wasm +0 -0
package/dist/export.d.cts
CHANGED
|
@@ -144,6 +144,11 @@ type FontDetails = {
|
|
|
144
144
|
* script routes to the subset that covers it. Set by {@link loadGoogleFonts}.
|
|
145
145
|
*/
|
|
146
146
|
subsetOf?: string;
|
|
147
|
+
/**
|
|
148
|
+
* CSS generic family keyword this font resolves for, so stacks ending in e.g.
|
|
149
|
+
* `monospace` reach it without naming the family.
|
|
150
|
+
*/
|
|
151
|
+
generic?: "serif" | "sans-serif" | "monospace" | "cursive" | "fantasy" | "system-ui" | "ui-serif" | "ui-sans-serif" | "ui-monospace" | "ui-rounded" | "emoji" | "math" | "fangsong";
|
|
147
152
|
};
|
|
148
153
|
type ImageSource = {
|
|
149
154
|
src: string;
|
package/dist/export.d.mts
CHANGED
|
@@ -144,6 +144,11 @@ type FontDetails = {
|
|
|
144
144
|
* script routes to the subset that covers it. Set by {@link loadGoogleFonts}.
|
|
145
145
|
*/
|
|
146
146
|
subsetOf?: string;
|
|
147
|
+
/**
|
|
148
|
+
* CSS generic family keyword this font resolves for, so stacks ending in e.g.
|
|
149
|
+
* `monospace` reach it without naming the family.
|
|
150
|
+
*/
|
|
151
|
+
generic?: "serif" | "sans-serif" | "monospace" | "cursive" | "fantasy" | "system-ui" | "ui-serif" | "ui-sans-serif" | "ui-monospace" | "ui-rounded" | "emoji" | "math" | "fangsong";
|
|
147
152
|
};
|
|
148
153
|
type ImageSource = {
|
|
149
154
|
src: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/wasm",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "WebAssembly bindings for Takumi, a Rust image rendering engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@takumi-rs/helpers": "2.1
|
|
120
|
+
"@takumi-rs/helpers": "2.2.1"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@types/bun": "^1.3.14",
|
package/pkg/takumi_wasm_bg.wasm
CHANGED
|
Binary file
|