fable-editor 1.0.2 → 1.2.0

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.
@@ -10,9 +10,24 @@ export declare const MIN_FONT_PX = 1;
10
10
  export declare const MAX_FONT_PX = 100;
11
11
  export declare const LINE_HEIGHTS: string[];
12
12
  export declare const WORD_SPACINGS: string[];
13
+ export declare const LETTER_SPACINGS: string[];
14
+ /** Languages offered by the code-sample dialog: [value stored in data-lang, label]. */
15
+ export declare const CODE_LANGS: [string, string][];
13
16
  export declare const BLOCKS: [string, string][];
14
17
  /** Quick-access text color chips shown directly in the toolbar. */
15
18
  export declare const QUICK_COLORS: string[];
19
+ /** 25 swatches — a 5×5 grid in the picker (pastels, brights, darks, grays,
20
+ * then pink/brown/cyan + black/white). Shared by fore/back color and cell fill. */
16
21
  export declare const COLORS: string[];
22
+ /** Category key = i18n string key for the tab label in the picker dialogs. */
23
+ export interface GlyphCategory {
24
+ key: string;
25
+ chars: string[];
26
+ }
27
+ /** Special-character map, grouped for the two-pane picker (tabs left, glyphs right).
28
+ * `CHARS` below is the legacy flat list and is kept exported for back-compat. */
29
+ export declare const CHAR_CATEGORIES: GlyphCategory[];
30
+ /** Emoji map for the emoji picker — same two-pane dialog as the character map. */
31
+ export declare const EMOJI_CATEGORIES: GlyphCategory[];
17
32
  export declare const CHARS: string[];
18
33
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AAAA;oFACoF;AACpF,eAAO,MAAM,eAAe,QAIgD,CAAC;AAE7E;+DAC+D;AAC/D,eAAO,MAAM,eAAe,kDAAkD,CAAC;AAE/E,eAAO,MAAM,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAoBnC,CAAC;AAEF,eAAO,MAAM,KAAK,UAAiI,CAAC;AAEpJ,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eA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