@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.
@@ -951,6 +951,8 @@ interface TextStyle {
951
951
  textAlignment?: TextAlignmentWithLiterals;
952
952
  /** 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. */
953
953
  lineHeight?: string | null;
954
+ /** 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. */
955
+ fontSize?: FontSizeData;
954
956
  }
955
957
  declare enum TextAlignment {
956
958
  /** browser default, eqivalent to `initial` */
@@ -966,6 +968,18 @@ declare enum TextAlignment {
966
968
  }
967
969
  /** @enumType */
968
970
  type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
971
+ interface FontSizeData {
972
+ /** The units used for the font size. */
973
+ unit?: FontTypeWithLiterals;
974
+ /** Font size value. */
975
+ value?: number | null;
976
+ }
977
+ declare enum FontType {
978
+ PX = "PX",
979
+ EM = "EM"
980
+ }
981
+ /** @enumType */
982
+ type FontTypeWithLiterals = FontType | 'PX' | 'EM';
969
983
  interface DividerData {
970
984
  /** Styling for the divider's container. */
971
985
  containerData?: PluginContainerData;
@@ -1830,18 +1844,6 @@ interface MentionData {
1830
1844
  /** 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. */
1831
1845
  type?: string | null;
1832
1846
  }
1833
- interface FontSizeData {
1834
- /** The units used for the font size. */
1835
- unit?: FontTypeWithLiterals;
1836
- /** Font size value. */
1837
- value?: number | null;
1838
- }
1839
- declare enum FontType {
1840
- PX = "PX",
1841
- EM = "EM"
1842
- }
1843
- /** @enumType */
1844
- type FontTypeWithLiterals = FontType | 'PX' | 'EM';
1845
1847
  interface SpoilerData {
1846
1848
  /** Spoiler ID. */
1847
1849
  id?: string | null;
package/build/cjs/meta.js CHANGED
@@ -2450,6 +2450,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
2450
2450
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
2451
2451
  return TextAlignment2;
2452
2452
  })(TextAlignment || {});
2453
+ var FontType = /* @__PURE__ */ ((FontType2) => {
2454
+ FontType2["PX"] = "PX";
2455
+ FontType2["EM"] = "EM";
2456
+ return FontType2;
2457
+ })(FontType || {});
2453
2458
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
2454
2459
  LineCap2["SQUARE"] = "SQUARE";
2455
2460
  LineCap2["ROUND"] = "ROUND";
@@ -2587,11 +2592,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
2587
2592
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
2588
2593
  return ColorDataBackgroundType2;
2589
2594
  })(ColorDataBackgroundType || {});
2590
- var FontType = /* @__PURE__ */ ((FontType2) => {
2591
- FontType2["PX"] = "PX";
2592
- FontType2["EM"] = "EM";
2593
- return FontType2;
2594
- })(FontType || {});
2595
2595
  var Variant = /* @__PURE__ */ ((Variant2) => {
2596
2596
  Variant2["UNDERLINE"] = "UNDERLINE";
2597
2597
  Variant2["BOX"] = "BOX";