@wix/auto_sdk_form-templates_form-templates 1.0.20 → 1.0.22

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.
@@ -256,7 +256,7 @@ interface InputFieldInputTypeOptionsOneOf {
256
256
  interface StringCorrectAnswersList {
257
257
  /**
258
258
  * @minLength 1
259
- * @maxLength 150
259
+ * @maxLength 400
260
260
  * @maxSize 50
261
261
  */
262
262
  correctAnswers?: string[];
@@ -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;
@@ -3964,7 +3966,7 @@ interface Checkbox {
3964
3966
  checked?: boolean;
3965
3967
  }
3966
3968
  interface CorrectAnswersList {
3967
- /** @maxSize 50 */
3969
+ /** @maxSize 400 */
3968
3970
  correctAnswers?: any[];
3969
3971
  }
3970
3972
  interface ArrayType {
@@ -30323,6 +30323,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
30323
30323
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
30324
30324
  return TextAlignment2;
30325
30325
  })(TextAlignment || {});
30326
+ var FontType = /* @__PURE__ */ ((FontType2) => {
30327
+ FontType2["PX"] = "PX";
30328
+ FontType2["EM"] = "EM";
30329
+ return FontType2;
30330
+ })(FontType || {});
30326
30331
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
30327
30332
  LineCap2["SQUARE"] = "SQUARE";
30328
30333
  LineCap2["ROUND"] = "ROUND";
@@ -30460,11 +30465,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
30460
30465
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
30461
30466
  return ColorDataBackgroundType2;
30462
30467
  })(ColorDataBackgroundType || {});
30463
- var FontType = /* @__PURE__ */ ((FontType2) => {
30464
- FontType2["PX"] = "PX";
30465
- FontType2["EM"] = "EM";
30466
- return FontType2;
30467
- })(FontType || {});
30468
30468
  var Variant = /* @__PURE__ */ ((Variant2) => {
30469
30469
  Variant2["UNDERLINE"] = "UNDERLINE";
30470
30470
  Variant2["BOX"] = "BOX";