@wix/auto_sdk_form-templates_form-templates 1.0.20 → 1.0.21

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.
@@ -1245,6 +1245,8 @@ interface TextStyle {
1245
1245
  textAlignment?: TextAlignmentWithLiterals;
1246
1246
  /** 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. */
1247
1247
  lineHeight?: string | null;
1248
+ /** 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. */
1249
+ fontSize?: FontSizeData;
1248
1250
  }
1249
1251
  declare enum TextAlignment {
1250
1252
  /** browser default, eqivalent to `initial` */
@@ -1260,6 +1262,18 @@ declare enum TextAlignment {
1260
1262
  }
1261
1263
  /** @enumType */
1262
1264
  type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
1265
+ interface FontSizeData {
1266
+ /** The units used for the font size. */
1267
+ unit?: FontTypeWithLiterals;
1268
+ /** Font size value. */
1269
+ value?: number | null;
1270
+ }
1271
+ declare enum FontType {
1272
+ PX = "PX",
1273
+ EM = "EM"
1274
+ }
1275
+ /** @enumType */
1276
+ type FontTypeWithLiterals = FontType | 'PX' | 'EM';
1263
1277
  interface DividerData {
1264
1278
  /** Styling for the divider's container. */
1265
1279
  containerData?: PluginContainerData;
@@ -2124,18 +2138,6 @@ interface MentionData {
2124
2138
  /** 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. */
2125
2139
  type?: string | null;
2126
2140
  }
2127
- interface FontSizeData {
2128
- /** The units used for the font size. */
2129
- unit?: FontTypeWithLiterals;
2130
- /** Font size value. */
2131
- value?: number | null;
2132
- }
2133
- declare enum FontType {
2134
- PX = "PX",
2135
- EM = "EM"
2136
- }
2137
- /** @enumType */
2138
- type FontTypeWithLiterals = FontType | 'PX' | 'EM';
2139
2141
  interface SpoilerData {
2140
2142
  /** Spoiler ID. */
2141
2143
  id?: string | null;
@@ -30189,6 +30189,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
30189
30189
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
30190
30190
  return TextAlignment2;
30191
30191
  })(TextAlignment || {});
30192
+ var FontType = /* @__PURE__ */ ((FontType2) => {
30193
+ FontType2["PX"] = "PX";
30194
+ FontType2["EM"] = "EM";
30195
+ return FontType2;
30196
+ })(FontType || {});
30192
30197
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
30193
30198
  LineCap2["SQUARE"] = "SQUARE";
30194
30199
  LineCap2["ROUND"] = "ROUND";
@@ -30326,11 +30331,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
30326
30331
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
30327
30332
  return ColorDataBackgroundType2;
30328
30333
  })(ColorDataBackgroundType || {});
30329
- var FontType = /* @__PURE__ */ ((FontType2) => {
30330
- FontType2["PX"] = "PX";
30331
- FontType2["EM"] = "EM";
30332
- return FontType2;
30333
- })(FontType || {});
30334
30334
  var Variant = /* @__PURE__ */ ((Variant2) => {
30335
30335
  Variant2["UNDERLINE"] = "UNDERLINE";
30336
30336
  Variant2["BOX"] = "BOX";