mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-05 05:37:09 +00:00
feat: export fitCaptionFontSize from @hyperframes/core and @hyperframes/core/text
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user