@remotion/layout-utils 4.0.423 → 4.0.424
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/cjs/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.measureText = exports.fitTextOnNLines = exports.fitText = exports.fillTextBox = void 0;
|
|
4
|
-
|
|
4
|
+
const fill_text_box_1 = require("./layouts/fill-text-box");
|
|
5
5
|
Object.defineProperty(exports, "fillTextBox", { enumerable: true, get: function () { return fill_text_box_1.fillTextBox; } });
|
|
6
|
-
|
|
6
|
+
const fit_text_1 = require("./layouts/fit-text");
|
|
7
7
|
Object.defineProperty(exports, "fitText", { enumerable: true, get: function () { return fit_text_1.fitText; } });
|
|
8
|
-
|
|
8
|
+
const fit_text_on_n_lines_1 = require("./layouts/fit-text-on-n-lines");
|
|
9
9
|
Object.defineProperty(exports, "fitTextOnNLines", { enumerable: true, get: function () { return fit_text_on_n_lines_1.fitTextOnNLines; } });
|
|
10
|
-
|
|
10
|
+
const measure_text_1 = require("./layouts/measure-text");
|
|
11
11
|
Object.defineProperty(exports, "measureText", { enumerable: true, get: function () { return measure_text_1.measureText; } });
|
|
@@ -3,12 +3,12 @@ export declare const fitText: ({ text, withinWidth, fontFamily, fontVariantNumer
|
|
|
3
3
|
text: string;
|
|
4
4
|
withinWidth: number;
|
|
5
5
|
fontFamily: string;
|
|
6
|
-
fontWeight?: number |
|
|
7
|
-
letterSpacing?: string;
|
|
8
|
-
fontVariantNumeric?: string;
|
|
9
|
-
validateFontIsLoaded?: boolean;
|
|
10
|
-
textTransform?: TextTransform;
|
|
11
|
-
additionalStyles?: ModifyableCSSProperties;
|
|
6
|
+
fontWeight?: string | number | undefined;
|
|
7
|
+
letterSpacing?: string | undefined;
|
|
8
|
+
fontVariantNumeric?: string | undefined;
|
|
9
|
+
validateFontIsLoaded?: boolean | undefined;
|
|
10
|
+
textTransform?: TextTransform | undefined;
|
|
11
|
+
additionalStyles?: ModifyableCSSProperties<Partial<CSSStyleDeclaration>> | undefined;
|
|
12
12
|
}) => {
|
|
13
13
|
fontSize: number;
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/layout-utils"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/layout-utils",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.424",
|
|
7
7
|
"description": "Utilities for working with layouts",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"formatting": "prettier --experimental-cli src --check",
|
|
14
14
|
"lint": "eslint src",
|
|
15
|
-
"make": "
|
|
15
|
+
"make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
18
18
|
"./package.json": "./package.json",
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
28
|
-
"eslint": "9.19.0"
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.424",
|
|
28
|
+
"eslint": "9.19.0",
|
|
29
|
+
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
29
30
|
},
|
|
30
31
|
"author": "Yehor Misiats (https://github.com/satelllte)",
|
|
31
32
|
"maintainers": [
|