@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.
@@ -257,7 +257,7 @@ interface InputFieldInputTypeOptionsOneOf {
257
257
  interface StringCorrectAnswersList {
258
258
  /**
259
259
  * @minLength 1
260
- * @maxLength 150
260
+ * @maxLength 400
261
261
  * @maxSize 50
262
262
  */
263
263
  correctAnswers?: string[];
@@ -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;
@@ -3998,7 +4000,7 @@ interface Checkbox {
3998
4000
  checked?: boolean;
3999
4001
  }
4000
4002
  interface CorrectAnswersList {
4001
- /** @maxSize 50 */
4003
+ /** @maxSize 400 */
4002
4004
  correctAnswers?: any[];
4003
4005
  }
4004
4006
  interface ArrayType {
package/build/cjs/meta.js CHANGED
@@ -30117,6 +30117,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
30117
30117
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
30118
30118
  return TextAlignment2;
30119
30119
  })(TextAlignment || {});
30120
+ var FontType = /* @__PURE__ */ ((FontType2) => {
30121
+ FontType2["PX"] = "PX";
30122
+ FontType2["EM"] = "EM";
30123
+ return FontType2;
30124
+ })(FontType || {});
30120
30125
  var LineCap = /* @__PURE__ */ ((LineCap2) => {
30121
30126
  LineCap2["SQUARE"] = "SQUARE";
30122
30127
  LineCap2["ROUND"] = "ROUND";
@@ -30254,11 +30259,6 @@ var ColorDataBackgroundType = /* @__PURE__ */ ((ColorDataBackgroundType2) => {
30254
30259
  ColorDataBackgroundType2["GRADIENT"] = "GRADIENT";
30255
30260
  return ColorDataBackgroundType2;
30256
30261
  })(ColorDataBackgroundType || {});
30257
- var FontType = /* @__PURE__ */ ((FontType2) => {
30258
- FontType2["PX"] = "PX";
30259
- FontType2["EM"] = "EM";
30260
- return FontType2;
30261
- })(FontType || {});
30262
30262
  var Variant = /* @__PURE__ */ ((Variant2) => {
30263
30263
  Variant2["UNDERLINE"] = "UNDERLINE";
30264
30264
  Variant2["BOX"] = "BOX";