@vyaz/core 0.0.8 → 0.0.9

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.
@@ -16,6 +16,48 @@ export { FontMetricsProvider, fontMetricsProvider } from './measure/FontMetricsP
16
16
  export { createFontFace, getGlyphAdvance, computePixelMetrics, isFontEngineAvailable } from './measure/FontEngine.js';
17
17
  export { getFontBuffer } from './utils/font.js';
18
18
  export { FontNotFoundError } from './measure/FontNotFoundError.js';
19
- export { DEFAULT_PARAGRAPH_STYLE, DEFAULT_TEXT_STYLE, } from './types/Document.js';
19
+ export declare const DEFAULT_PARAGRAPH_STYLE: {
20
+ alignment: import("./index.js").TextAlignment;
21
+ lineHeight: number;
22
+ spaceBefore: number;
23
+ spaceAfter: number;
24
+ indent?: number;
25
+ leftIndent?: number;
26
+ rightIndent?: number;
27
+ textIndent?: number;
28
+ letterSpacing?: number;
29
+ textAlignLast?: import("./index.js").TextAlignLast;
30
+ wordBreak?: import("./index.js").WordBreak;
31
+ lineBreak?: import("./index.js").LineBreak;
32
+ overflowWrap?: import("./index.js").OverflowWrap;
33
+ hyphens?: boolean;
34
+ whiteSpace?: import("./index.js").WhiteSpace;
35
+ listStyle?: import("./index.js").ListStyle;
36
+ listRestart?: boolean;
37
+ };
38
+ export declare const DEFAULT_TEXT_STYLE: {
39
+ type?: "text" | "inline-box" | undefined;
40
+ text?: string | undefined;
41
+ inlineWidget?: import("./index.js").InlineWidget | undefined;
42
+ fontFamily?: string | undefined;
43
+ fontSize?: number | undefined;
44
+ fontWeight?: number | "bold" | "normal" | undefined;
45
+ fontStyle?: "normal" | "italic" | undefined;
46
+ color?: string | undefined;
47
+ backgroundColor?: string | undefined;
48
+ letterSpacing?: number | undefined;
49
+ script?: import("./index.js").ScriptType | undefined;
50
+ underline?: boolean | undefined;
51
+ strikethrough?: boolean | undefined;
52
+ overline?: boolean | undefined;
53
+ textDecorationStyle?: import("./index.js").TextDecorationStyle | undefined;
54
+ textDecorationColor?: string | undefined;
55
+ textTransform?: import("./index.js").TextTransform | undefined;
56
+ fullWidth?: boolean | undefined;
57
+ fullSizeKana?: boolean | undefined;
58
+ };
20
59
  export { transformText } from './utils/textTransform.js';
21
- export { formatListNumber, defaultBulletChar, BULLET_CHARACTERS } from './utils/list.js';
60
+ export declare const BULLET_CHARACTERS: {
61
+ [x: number]: string;
62
+ };
63
+ export { formatListNumber, defaultBulletChar } from './utils/list.js';