@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.
@@ -1246,6 +1246,8 @@ interface TextStyle {
1246
1246
  textAlignment?: TextAlignmentWithLiterals;
1247
1247
  /** 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. */
1248
1248
  lineHeight?: string | null;
1249
+ /** 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. */
1250
+ fontSize?: FontSizeData;
1249
1251
  }
1250
1252
  declare enum TextAlignment {
1251
1253
  /** browser default, eqivalent to `initial` */
@@ -1261,6 +1263,18 @@ declare enum TextAlignment {
1261
1263
  }
1262
1264
  /** @enumType */
1263
1265
  type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
1266
+ interface FontSizeData {
1267
+ /** The units used for the font size. */
1268
+ unit?: FontTypeWithLiterals;
1269
+ /** Font size value. */
1270
+ value?: number | null;
1271
+ }
1272
+ declare enum FontType {
1273
+ PX = "PX",
1274
+ EM = "EM"
1275
+ }
1276
+ /** @enumType */
1277
+ type FontTypeWithLiterals = FontType | 'PX' | 'EM';
1264
1278
  interface DividerData {
1265
1279
  /** Styling for the divider's container. */
1266
1280
  containerData?: PluginContainerData;
@@ -2125,18 +2139,6 @@ interface MentionData {
2125
2139
  /** 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. */
2126
2140
  type?: string | null;
2127
2141
  }
2128
- interface FontSizeData {
2129
- /** The units used for the font size. */
2130
- unit?: FontTypeWithLiterals;
2131
- /** Font size value. */
2132
- value?: number | null;
2133
- }
2134
- declare enum FontType {
2135
- PX = "PX",
2136
- EM = "EM"
2137
- }
2138
- /** @enumType */
2139
- type FontTypeWithLiterals = FontType | 'PX' | 'EM';
2140
2142
  interface SpoilerData {
2141
2143
  /** Spoiler ID. */
2142
2144
  id?: string | null;
package/build/es/meta.mjs CHANGED
@@ -29980,6 +29980,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
29980
29980
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
29981
29981
  return TextAlignment2;
29982
29982
  })(TextAlignment || {});
29983
+ var FontType = /* @__PURE__ */ ((FontType2) => {
29984
+ FontType2["PX"] = "PX";
29985
+ FontType2["EM"] = "EM";
29986
+ return FontType2;
29987
+ })(FontType || {});
29983
29988
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
29984
29989
  LineCap2["SQUARE"] = "SQUARE";
29985
29990
  LineCap2["ROUND"] = "ROUND";
@@ -30117,11 +30122,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
30117
30122
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
30118
30123
  return ColorDataBackgroundType2;
30119
30124
  })(ColorDataBackgroundType || {});
30120
- var FontType = /* @__PURE__ */ ((FontType2) => {
30121
- FontType2["PX"] = "PX";
30122
- FontType2["EM"] = "EM";
30123
- return FontType2;
30124
- })(FontType || {});
30125
30125
  var Variant = /* @__PURE__ */ ((Variant2) => {
30126
30126
  Variant2["UNDERLINE"] = "UNDERLINE";
30127
30127
  Variant2["BOX"] = "BOX";