fika-editor 3.5.7 → 3.5.8
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/embed/agentic-manifest.json +7 -7
- package/dist/embed/fika-embed.js +3 -3
- package/dist/layout/utils/resizeDeck.js +1 -1
- package/dist/types/embed/agentic/types.d.ts +2 -2
- package/dist/types/i18n/i18n-react.d.ts +8 -8
- package/dist/types/i18n/i18n-types.d.ts +6956 -6956
- package/dist/types/i18n/i18n-util.async.d.ts +4 -4
- package/dist/types/i18n/i18n-util.d.ts +4 -4
- package/dist/types/paint/textPainter.d.ts +1 -0
- package/dist/types/store/slides.d.ts +8 -0
- package/dist/types/types/slides.d.ts +4 -0
- package/dist/types/utils/element.d.ts +1 -0
- package/dist/types/utils/textFit.d.ts +4 -0
- package/package.json +1 -1
|
@@ -115,7 +115,7 @@ function scaleTypography(el, scale) {
|
|
|
115
115
|
text.content = scalePixels(text.content, scale);
|
|
116
116
|
text.inset = (text.inset ?? [10, 10, 10, 10]).map(v => v * scale);
|
|
117
117
|
text.paragraphSpace = (text.paragraphSpace ?? 5);
|
|
118
|
-
for (const key of ['wordSpace', 'paragraphSpace', 'placeholderFontSize', 'placeholderLayoutHeight'])
|
|
118
|
+
for (const key of ['wordSpace', 'paragraphSpace', 'placeholderFontSize', 'placeholderLayoutHeight', 'minFontSize'])
|
|
119
119
|
scaleNumber(text, key, scale);
|
|
120
120
|
if (el.type === 'text' && el.structuredText) {
|
|
121
121
|
// HTML is the source of truth; discard the stale import cache.
|
|
@@ -329,7 +329,7 @@ export interface FikaTextContentUpdateInput {
|
|
|
329
329
|
prepend?: string;
|
|
330
330
|
append?: string;
|
|
331
331
|
}
|
|
332
|
-
export type FikaTextStylePatch = Partial<Pick<PPTTextElement, 'defaultFontName' | 'defaultColor' | 'outline' | 'fill' | 'lineHeight' | 'wordSpace' | 'opacity' | 'shadow' | 'paragraphSpace' | 'vertical' | 'textType' | 'inset'>>;
|
|
332
|
+
export type FikaTextStylePatch = Partial<Pick<PPTTextElement, 'defaultFontName' | 'defaultColor' | 'outline' | 'fill' | 'lineHeight' | 'wordSpace' | 'opacity' | 'shadow' | 'paragraphSpace' | 'vertical' | 'textType' | 'inset' | 'minFontSize'>>;
|
|
333
333
|
export interface FikaVideoPlaybackPatch {
|
|
334
334
|
src?: string;
|
|
335
335
|
ext?: string;
|
|
@@ -383,7 +383,7 @@ export type FikaCreateTableInput = FikaTableElementPatch & {
|
|
|
383
383
|
element?: Partial<PPTTableElement>;
|
|
384
384
|
};
|
|
385
385
|
export type FikaSlideReference = string | number;
|
|
386
|
-
export type FikaRichTextStylePatch = Partial<Pick<PPTTextElement, 'defaultFontName' | 'defaultColor' | 'lineHeight' | 'paragraphSpace' | 'wordSpace' | 'inset' | 'vertical'>> & Partial<Pick<ShapeText, 'align'>>;
|
|
386
|
+
export type FikaRichTextStylePatch = Partial<Pick<PPTTextElement, 'defaultFontName' | 'defaultColor' | 'lineHeight' | 'paragraphSpace' | 'wordSpace' | 'inset' | 'vertical' | 'minFontSize'>> & Partial<Pick<ShapeText, 'align'>>;
|
|
387
387
|
export interface FikaRichTextParagraphAttrs {
|
|
388
388
|
align?: TextAlign | '';
|
|
389
389
|
indent?: number;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import type { Locales, TranslationFunctions } from './i18n-types';
|
|
2
2
|
declare const TypesafeI18n: import("react").FunctionComponent<import("typesafe-i18n/react").TypesafeI18nProps<Locales>>, I18nContext: import("react").Context<import("typesafe-i18n/react").I18nContextType<Locales, {
|
|
3
|
-
myna: import("./i18n-types").NamespaceMynaTranslation;
|
|
4
|
-
components: import("./i18n-types").NamespaceComponentsTranslation;
|
|
5
|
-
mobile: import("./i18n-types").NamespaceMobileTranslation;
|
|
6
|
-
canvas: import("./i18n-types").NamespaceCanvasTranslation;
|
|
7
3
|
configs: import("./i18n-types").NamespaceConfigsTranslation;
|
|
4
|
+
mobile: import("./i18n-types").NamespaceMobileTranslation;
|
|
5
|
+
myna: import("./i18n-types").NamespaceMynaTranslation;
|
|
8
6
|
export: import("./i18n-types").NamespaceExportTranslation;
|
|
7
|
+
canvas: import("./i18n-types").NamespaceCanvasTranslation;
|
|
9
8
|
common: import("./i18n-types").NamespaceCommonTranslation;
|
|
10
9
|
editor: import("./i18n-types").NamespaceEditorTranslation;
|
|
11
10
|
screen: import("./i18n-types").NamespaceScreenTranslation;
|
|
11
|
+
components: import("./i18n-types").NamespaceComponentsTranslation;
|
|
12
12
|
}, TranslationFunctions>>;
|
|
13
13
|
export { TypesafeI18n, I18nContext };
|
|
14
14
|
export declare function useI18nContext(): import("typesafe-i18n/react").I18nContextType<Locales, {
|
|
15
|
-
myna: import("./i18n-types").NamespaceMynaTranslation;
|
|
16
|
-
components: import("./i18n-types").NamespaceComponentsTranslation;
|
|
17
|
-
mobile: import("./i18n-types").NamespaceMobileTranslation;
|
|
18
|
-
canvas: import("./i18n-types").NamespaceCanvasTranslation;
|
|
19
15
|
configs: import("./i18n-types").NamespaceConfigsTranslation;
|
|
16
|
+
mobile: import("./i18n-types").NamespaceMobileTranslation;
|
|
17
|
+
myna: import("./i18n-types").NamespaceMynaTranslation;
|
|
20
18
|
export: import("./i18n-types").NamespaceExportTranslation;
|
|
19
|
+
canvas: import("./i18n-types").NamespaceCanvasTranslation;
|
|
21
20
|
common: import("./i18n-types").NamespaceCommonTranslation;
|
|
22
21
|
editor: import("./i18n-types").NamespaceEditorTranslation;
|
|
23
22
|
screen: import("./i18n-types").NamespaceScreenTranslation;
|
|
23
|
+
components: import("./i18n-types").NamespaceComponentsTranslation;
|
|
24
24
|
}, TranslationFunctions>;
|
|
25
25
|
export declare const useI18nReact: typeof useI18nContext;
|