@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;
@@ -2503,6 +2503,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
2503
2503
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
2504
2504
  return TextAlignment2;
2505
2505
  })(TextAlignment || {});
2506
+ var FontType = /* @__PURE__ */ ((FontType2) => {
2507
+ FontType2["PX"] = "PX";
2508
+ FontType2["EM"] = "EM";
2509
+ return FontType2;
2510
+ })(FontType || {});
2506
2511
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
2507
2512
  LineCap2["SQUARE"] = "SQUARE";
2508
2513
  LineCap2["ROUND"] = "ROUND";
@@ -2640,11 +2645,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
2640
2645
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
2641
2646
  return ColorDataBackgroundType2;
2642
2647
  })(ColorDataBackgroundType || {});
2643
- var FontType = /* @__PURE__ */ ((FontType2) => {
2644
- FontType2["PX"] = "PX";
2645
- FontType2["EM"] = "EM";
2646
- return FontType2;
2647
- })(FontType || {});
2648
2648
  var Variant = /* @__PURE__ */ ((Variant2) => {
2649
2649
  Variant2["UNDERLINE"] = "UNDERLINE";
2650
2650
  Variant2["BOX"] = "BOX";