feat: export fitCaptionFontSize from @hyperframes/core and @hyperframes/core/text

This commit is contained in:
Vance Ingalls
2026-03-30 18:16:52 -07:00
parent 3938a4645f
commit f2a349895f
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -32,6 +32,10 @@
"./studio-api": {
"import": "./src/studio-api/index.ts",
"types": "./src/studio-api/index.ts"
},
"./text": {
"import": "./src/text/index.ts",
"types": "./src/text/index.ts"
}
},
"publishConfig": {
@@ -53,6 +57,10 @@
"./studio-api": {
"import": "./dist/studio-api/index.js",
"types": "./dist/studio-api/index.d.ts"
},
"./text": {
"import": "./dist/text/index.js",
"types": "./dist/text/index.d.ts"
}
},
"main": "./dist/index.js",
+4
View File
@@ -154,3 +154,7 @@ export type {
export type { FrameAdapter, FrameAdapterContext } from "./adapters/types";
export type { GSAPTimelineLike, CreateGSAPFrameAdapterOptions } from "./adapters/gsap";
export { createGSAPFrameAdapter } from "./adapters/gsap";
// Text measurement
export { fitCaptionFontSize } from "./text/index.js";
export type { FitCaptionOptions, FitCaptionResult } from "./text/index.js";