@takumi-rs/wasm 2.0.0-rc.13 → 2.0.0-rc.14
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 +4 -3
- package/dist/export.d.mts +4 -3
- package/package.json +11 -2
package/dist/export.d.cts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ContainerNode, ImageNode, Node, Node as Node$1, NodeMetadata, TextNode } from "@takumi-rs/helpers";
|
|
2
|
+
import { Properties } from "csstype";
|
|
2
3
|
import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
|
|
3
4
|
|
|
4
5
|
//#region pkg/takumi_wasm.d.ts
|
|
5
6
|
type ByteBuf = Uint8Array | ArrayBuffer | Buffer;
|
|
6
|
-
type KeyframesMap = Record<string, Record<string,
|
|
7
|
+
type KeyframesMap = Record<string, Record<string, Properties>>;
|
|
7
8
|
type KeyframesRuleList = {
|
|
8
9
|
name: string;
|
|
9
10
|
keyframes: {
|
|
10
11
|
offsets: number[];
|
|
11
|
-
declarations: Record<string,
|
|
12
|
+
declarations: Record<string, Properties>;
|
|
12
13
|
}[];
|
|
13
14
|
}[];
|
|
14
15
|
type Keyframes = KeyframesMap | KeyframesRuleList;
|
|
@@ -150,7 +151,7 @@ type ImageSource = {
|
|
|
150
151
|
};
|
|
151
152
|
type KeyframeRule = {
|
|
152
153
|
offsets: number[];
|
|
153
|
-
declarations: Record<string,
|
|
154
|
+
declarations: Record<string, Properties>;
|
|
154
155
|
};
|
|
155
156
|
type KeyframesRule = {
|
|
156
157
|
name: string;
|
package/dist/export.d.mts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
|
|
2
2
|
import { ContainerNode, ImageNode, Node, Node as Node$1, NodeMetadata, TextNode } from "@takumi-rs/helpers";
|
|
3
|
+
import { Properties } from "csstype";
|
|
3
4
|
|
|
4
5
|
//#region pkg/takumi_wasm.d.ts
|
|
5
6
|
type ByteBuf = Uint8Array | ArrayBuffer | Buffer;
|
|
6
|
-
type KeyframesMap = Record<string, Record<string,
|
|
7
|
+
type KeyframesMap = Record<string, Record<string, Properties>>;
|
|
7
8
|
type KeyframesRuleList = {
|
|
8
9
|
name: string;
|
|
9
10
|
keyframes: {
|
|
10
11
|
offsets: number[];
|
|
11
|
-
declarations: Record<string,
|
|
12
|
+
declarations: Record<string, Properties>;
|
|
12
13
|
}[];
|
|
13
14
|
}[];
|
|
14
15
|
type Keyframes = KeyframesMap | KeyframesRuleList;
|
|
@@ -150,7 +151,7 @@ type ImageSource = {
|
|
|
150
151
|
};
|
|
151
152
|
type KeyframeRule = {
|
|
152
153
|
offsets: number[];
|
|
153
|
-
declarations: Record<string,
|
|
154
|
+
declarations: Record<string, Properties>;
|
|
154
155
|
};
|
|
155
156
|
type KeyframesRule = {
|
|
156
157
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/wasm",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.14",
|
|
4
4
|
"description": "WebAssembly bindings for Takumi, a Rust image rendering engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -117,13 +117,22 @@
|
|
|
117
117
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@takumi-rs/helpers": "2.0.0-rc.
|
|
120
|
+
"@takumi-rs/helpers": "2.0.0-rc.14"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@types/bun": "^1.3.14",
|
|
124
|
+
"csstype": "^3.2.3",
|
|
124
125
|
"tsdown": "^0.22.3",
|
|
125
126
|
"unrun": "^0.3.1"
|
|
126
127
|
},
|
|
128
|
+
"peerDependencies": {
|
|
129
|
+
"csstype": "*"
|
|
130
|
+
},
|
|
131
|
+
"peerDependenciesMeta": {
|
|
132
|
+
"csstype": {
|
|
133
|
+
"optional": true
|
|
134
|
+
}
|
|
135
|
+
},
|
|
127
136
|
"engines": {
|
|
128
137
|
"node": ">=18"
|
|
129
138
|
},
|