@markdy/core 0.5.8 → 0.6.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/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ type ActorDef = {
|
|
|
17
17
|
opacity?: number;
|
|
18
18
|
/** Font size in pixels; applies to text actors (via the `size` modifier). */
|
|
19
19
|
size?: number;
|
|
20
|
+
/** Z-index for layering control (via the `z` modifier). */
|
|
21
|
+
z?: number;
|
|
20
22
|
};
|
|
21
23
|
type TimelineEvent = {
|
|
22
24
|
time: number;
|
package/dist/index.js
CHANGED
|
@@ -104,6 +104,7 @@ function parseModifiers(raw) {
|
|
|
104
104
|
else if (key === "rotate") result.rotate = val;
|
|
105
105
|
else if (key === "opacity") result.opacity = val;
|
|
106
106
|
else if (key === "size") result.size = val;
|
|
107
|
+
else if (key === "z") result.z = val;
|
|
107
108
|
}
|
|
108
109
|
return result;
|
|
109
110
|
}
|