@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/es/meta.mjs CHANGED
@@ -2335,6 +2335,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
2335
2335
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
2336
2336
  return TextAlignment2;
2337
2337
  })(TextAlignment || {});
2338
+ var FontType = /* @__PURE__ */ ((FontType2) => {
2339
+ FontType2["PX"] = "PX";
2340
+ FontType2["EM"] = "EM";
2341
+ return FontType2;
2342
+ })(FontType || {});
2338
2343
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
2339
2344
  LineCap2["SQUARE"] = "SQUARE";
2340
2345
  LineCap2["ROUND"] = "ROUND";
@@ -2472,11 +2477,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
2472
2477
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
2473
2478
  return ColorDataBackgroundType2;
2474
2479
  })(ColorDataBackgroundType || {});
2475
- var FontType = /* @__PURE__ */ ((FontType2) => {
2476
- FontType2["PX"] = "PX";
2477
- FontType2["EM"] = "EM";
2478
- return FontType2;
2479
- })(FontType || {});
2480
2480
  var Variant = /* @__PURE__ */ ((Variant2) => {
2481
2481
  Variant2["UNDERLINE"] = "UNDERLINE";
2482
2482
  Variant2["BOX"] = "BOX";