@wix/app-extensions 1.0.14 → 1.0.16

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.
@@ -17879,8 +17879,27 @@ interface SimpleContainer {
17879
17879
  }
17880
17880
  /** @internal */
17881
17881
  interface ContainerLayout {
17882
- /** Which direction the container can resize to. will be used to determine the resize handle in the editor, and the container layout. */
17882
+ /**
17883
+ * Which direction the container can resize to. will be used to determine the resize handle in the editor, and the container layout.
17884
+ * @deprecated Which direction the container can resize to. will be used to determine the resize handle in the editor, and the container layout.
17885
+ * @replacedBy container_resize_direction
17886
+ * @targetRemovalDate 2026-06-30
17887
+ */
17883
17888
  resizeDirection?: ResizeDirectionWithLiterals;
17889
+ /** Which direction the container can resize to. will be used to determine the resize handle in the editor, and the container layout. */
17890
+ containerResizeDirection?: ContentResizeDirectionWithLiterals;
17891
+ /**
17892
+ * In case the containerResizeDirection is horizontal or horizontalAndVertical this can be defined to provide the initial size of the container in the component
17893
+ * @min 1
17894
+ * @max 1280
17895
+ */
17896
+ width?: number | null;
17897
+ /**
17898
+ * In case the containerResizeDirection is vertical or horizontalAndVertical this can be defined to provide the initial size of the container in the component
17899
+ * @min 1
17900
+ * @max 1000
17901
+ */
17902
+ height?: number | null;
17884
17903
  }
17885
17904
  /** @internal */
17886
17905
  declare enum ResizeDirection {
@@ -17901,6 +17920,22 @@ declare enum ResizeDirection {
17901
17920
  /** @internal */
17902
17921
  type ResizeDirectionWithLiterals = ResizeDirection | 'UNKNOWN_ResizeDirection' | 'horizontal' | 'vertical' | 'horizontalAndVertical' | 'aspectRatio' | 'none';
17903
17922
  /** @internal */
17923
+ declare enum ContentResizeDirection {
17924
+ /** Default value when content resize behavior is not specified */
17925
+ UNKNOWN_ContentResizeDirection = "UNKNOWN_ContentResizeDirection",
17926
+ /** Component's width will automatically adjust based on its content */
17927
+ horizontal = "horizontal",
17928
+ /** Component's height will automatically adjust based on its content */
17929
+ vertical = "vertical",
17930
+ /** Component's width and height will automatically adjust based on its content */
17931
+ horizontalAndVertical = "horizontalAndVertical",
17932
+ /** Component's size will not be affected by its content */
17933
+ none = "none"
17934
+ }
17935
+ /** @enumType */
17936
+ /** @internal */
17937
+ type ContentResizeDirectionWithLiterals = ContentResizeDirection | 'UNKNOWN_ContentResizeDirection' | 'horizontal' | 'vertical' | 'horizontalAndVertical' | 'none';
17938
+ /** @internal */
17904
17939
  interface ContainerStyleOverrides {
17905
17940
  /** The border style of the container, can be used to disable editing of the border, or change the display name. */
17906
17941
  border?: StyleItemOverrides;
@@ -19415,22 +19450,6 @@ interface EditorElementLayout {
19415
19450
  disableDuplication?: boolean | null;
19416
19451
  }
19417
19452
  /** @internal */
19418
- declare enum ContentResizeDirection {
19419
- /** Default value when content resize behavior is not specified */
19420
- UNKNOWN_ContentResizeDirection = "UNKNOWN_ContentResizeDirection",
19421
- /** Component's width will automatically adjust based on its content */
19422
- horizontal = "horizontal",
19423
- /** Component's height will automatically adjust based on its content */
19424
- vertical = "vertical",
19425
- /** Component's width and height will automatically adjust based on its content */
19426
- horizontalAndVertical = "horizontalAndVertical",
19427
- /** Component's size will not be affected by its content */
19428
- none = "none"
19429
- }
19430
- /** @enumType */
19431
- /** @internal */
19432
- type ContentResizeDirectionWithLiterals = ContentResizeDirection | 'UNKNOWN_ContentResizeDirection' | 'horizontal' | 'vertical' | 'horizontalAndVertical' | 'none';
19433
- /** @internal */
19434
19453
  interface ContentFill {
19435
19454
  /**
19436
19455
  * The key of the data-item that holds the content that fills the whole component visible space, using this will provide a better layout experiences for such components
@@ -21713,6 +21732,14 @@ interface Parameter extends ParameterValueDefinitionDetailsOneOf {
21713
21732
  * This drives the 'value_definition_details' oneof.
21714
21733
  */
21715
21734
  definitionMode?: FilterValueDefinitionModeWithLiterals;
21735
+ /**
21736
+ * Maximum number of values allowed when `repeated` is true.
21737
+ * Valid range: [2, 100]. Default (when not set): 20.
21738
+ * Must not be set when `repeated` is false.
21739
+ * @min 2
21740
+ * @max 100
21741
+ */
21742
+ maxNumberOfItems?: number | null;
21716
21743
  }
21717
21744
  /** @oneof */
21718
21745
  /** @internal */
@@ -2333,6 +2333,14 @@ var ResizeDirection = /* @__PURE__ */ ((ResizeDirection2) => {
2333
2333
  ResizeDirection2["none"] = "none";
2334
2334
  return ResizeDirection2;
2335
2335
  })(ResizeDirection || {});
2336
+ var ContentResizeDirection = /* @__PURE__ */ ((ContentResizeDirection2) => {
2337
+ ContentResizeDirection2["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
2338
+ ContentResizeDirection2["horizontal"] = "horizontal";
2339
+ ContentResizeDirection2["vertical"] = "vertical";
2340
+ ContentResizeDirection2["horizontalAndVertical"] = "horizontalAndVertical";
2341
+ ContentResizeDirection2["none"] = "none";
2342
+ return ContentResizeDirection2;
2343
+ })(ContentResizeDirection || {});
2336
2344
  var RichTextAbilities = /* @__PURE__ */ ((RichTextAbilities2) => {
2337
2345
  RichTextAbilities2["UNKNOWN_RichTextAbilities"] = "UNKNOWN_RichTextAbilities";
2338
2346
  RichTextAbilities2["font"] = "font";
@@ -2738,14 +2746,6 @@ var BreakpointEnumBreakpoint = /* @__PURE__ */ ((BreakpointEnumBreakpoint2) => {
2738
2746
  BreakpointEnumBreakpoint2["large"] = "large";
2739
2747
  return BreakpointEnumBreakpoint2;
2740
2748
  })(BreakpointEnumBreakpoint || {});
2741
- var ContentResizeDirection = /* @__PURE__ */ ((ContentResizeDirection2) => {
2742
- ContentResizeDirection2["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
2743
- ContentResizeDirection2["horizontal"] = "horizontal";
2744
- ContentResizeDirection2["vertical"] = "vertical";
2745
- ContentResizeDirection2["horizontalAndVertical"] = "horizontalAndVertical";
2746
- ContentResizeDirection2["none"] = "none";
2747
- return ContentResizeDirection2;
2748
- })(ContentResizeDirection || {});
2749
2749
  var Archetype = /* @__PURE__ */ ((Archetype2) => {
2750
2750
  Archetype2["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
2751
2751
  Archetype2["Button"] = "Button";