@wix/auto_sdk_blog_draft-posts 1.0.118 → 1.0.119

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.
@@ -928,6 +928,8 @@ interface TextStyle {
928
928
  textAlignment?: TextAlignmentWithLiterals;
929
929
  /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
930
930
  lineHeight?: string | null;
931
+ /** Font size of an empty block: it sizes the empty line, its list marker and the text typed into it. Ignored on a block with text, which is sized by its text's `FONT_SIZE` decorations. */
932
+ fontSize?: FontSizeData;
931
933
  }
932
934
  declare enum TextAlignment {
933
935
  /** browser default, eqivalent to `initial` */
@@ -943,6 +945,18 @@ declare enum TextAlignment {
943
945
  }
944
946
  /** @enumType */
945
947
  type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
948
+ interface FontSizeData {
949
+ /** The units used for the font size. */
950
+ unit?: FontTypeWithLiterals;
951
+ /** Font size value. */
952
+ value?: number | null;
953
+ }
954
+ declare enum FontType {
955
+ PX = "PX",
956
+ EM = "EM"
957
+ }
958
+ /** @enumType */
959
+ type FontTypeWithLiterals = FontType | 'PX' | 'EM';
946
960
  interface DividerData {
947
961
  /** Styling for the divider's container. */
948
962
  containerData?: PluginContainerData;
@@ -1807,18 +1821,6 @@ interface MentionData {
1807
1821
  /** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
1808
1822
  type?: string | null;
1809
1823
  }
1810
- interface FontSizeData {
1811
- /** The units used for the font size. */
1812
- unit?: FontTypeWithLiterals;
1813
- /** Font size value. */
1814
- value?: number | null;
1815
- }
1816
- declare enum FontType {
1817
- PX = "PX",
1818
- EM = "EM"
1819
- }
1820
- /** @enumType */
1821
- type FontTypeWithLiterals = FontType | 'PX' | 'EM';
1822
1824
  interface SpoilerData {
1823
1825
  /** Spoiler ID. */
1824
1826
  id?: string | null;
@@ -2389,6 +2389,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
2389
2389
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
2390
2390
  return TextAlignment2;
2391
2391
  })(TextAlignment || {});
2392
+ var FontType = /* @__PURE__ */ ((FontType2) => {
2393
+ FontType2["PX"] = "PX";
2394
+ FontType2["EM"] = "EM";
2395
+ return FontType2;
2396
+ })(FontType || {});
2392
2397
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
2393
2398
  LineCap2["SQUARE"] = "SQUARE";
2394
2399
  LineCap2["ROUND"] = "ROUND";
@@ -2526,11 +2531,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
2526
2531
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
2527
2532
  return ColorDataBackgroundType2;
2528
2533
  })(ColorDataBackgroundType || {});
2529
- var FontType = /* @__PURE__ */ ((FontType2) => {
2530
- FontType2["PX"] = "PX";
2531
- FontType2["EM"] = "EM";
2532
- return FontType2;
2533
- })(FontType || {});
2534
2534
  var Variant = /* @__PURE__ */ ((Variant2) => {
2535
2535
  Variant2["UNDERLINE"] = "UNDERLINE";
2536
2536
  Variant2["BOX"] = "BOX";