@wix/auto_sdk_app-components_components-catalog 1.0.127 → 1.0.128

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.
@@ -16297,6 +16297,8 @@ interface SimpleContainer {
16297
16297
  * @targetRemovalDate 2026-06-30
16298
16298
  */
16299
16299
  displayName?: string | null;
16300
+ /** Interactions this container supports (e.g. triggers for animations/effects targeting the container). */
16301
+ interactions?: Interactions;
16300
16302
  }
16301
16303
  interface ContainerLayout {
16302
16304
  /**
@@ -16379,6 +16381,38 @@ interface ContainerBehaviors {
16379
16381
  /** Whether the container should be selectable in the editor. */
16380
16382
  selectable?: boolean | null;
16381
16383
  }
16384
+ interface Interactions {
16385
+ /** @maxSize 7 */
16386
+ triggers?: TriggerWithLiterals[];
16387
+ /** @maxSize 1 */
16388
+ effectGroups?: EffectGroupWithLiterals[];
16389
+ }
16390
+ declare enum Trigger {
16391
+ UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
16392
+ /** When a compoent is hovered */
16393
+ hover = "hover",
16394
+ /** When a component is clicked */
16395
+ click = "click",
16396
+ /** When the component enters the viewport */
16397
+ viewEnter = "viewEnter",
16398
+ /** Used for infinite-loop animations - mapped to `state` type of https://drafts.csswg.org/css-animations-2/#animation-trigger-type */
16399
+ pageVisible = "pageVisible",
16400
+ /** Mapped to native ViewTimeline */
16401
+ viewProgress = "viewProgress",
16402
+ /** Mapped to pointermove events on the element */
16403
+ pointerMove = "pointerMove",
16404
+ /** Mapped to animationend events */
16405
+ animationEnd = "animationEnd"
16406
+ }
16407
+ /** @enumType */
16408
+ type TriggerWithLiterals = Trigger | 'UNKNOWN_TRIGGER' | 'hover' | 'click' | 'viewEnter' | 'pageVisible' | 'viewProgress' | 'pointerMove' | 'animationEnd';
16409
+ declare enum EffectGroup {
16410
+ UNKNOWN_EFFECT_GROUP = "UNKNOWN_EFFECT_GROUP",
16411
+ /** Effects that are applied to the background layer of the component */
16412
+ background = "background"
16413
+ }
16414
+ /** @enumType */
16415
+ type EffectGroupWithLiterals = EffectGroup | 'UNKNOWN_EFFECT_GROUP' | 'background';
16382
16416
  interface Slot {
16383
16417
  /**
16384
16418
  * The slot definition that this container should accept as defined in DEV Center
@@ -16398,6 +16432,8 @@ interface TemplateContainer {
16398
16432
  layout?: ContainerLayout;
16399
16433
  /** Path to the target arrayItems data item within the same element scope. */
16400
16434
  dataItemPath?: ItemPath;
16435
+ /** Interactions this container supports (e.g. triggers for animations/effects targeting the container). */
16436
+ interactions?: Interactions;
16401
16437
  }
16402
16438
  /** A path to a data item within the same element scope. */
16403
16439
  interface ItemPath {
@@ -19388,38 +19424,6 @@ interface PartElementSelectedPartElementTypeOneOf {
19388
19424
  /** Container-specific selectors for parts of type container */
19389
19425
  container?: PartContainer;
19390
19426
  }
19391
- interface Interactions {
19392
- /** @maxSize 7 */
19393
- triggers?: TriggerWithLiterals[];
19394
- /** @maxSize 1 */
19395
- effectGroups?: EffectGroupWithLiterals[];
19396
- }
19397
- declare enum Trigger {
19398
- UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
19399
- /** When a compoent is hovered */
19400
- hover = "hover",
19401
- /** When a component is clicked */
19402
- click = "click",
19403
- /** When the component enters the viewport */
19404
- viewEnter = "viewEnter",
19405
- /** Used for infinite-loop animations - mapped to `state` type of https://drafts.csswg.org/css-animations-2/#animation-trigger-type */
19406
- pageVisible = "pageVisible",
19407
- /** Mapped to native ViewTimeline */
19408
- viewProgress = "viewProgress",
19409
- /** Mapped to pointermove events on the element */
19410
- pointerMove = "pointerMove",
19411
- /** Mapped to animationend events */
19412
- animationEnd = "animationEnd"
19413
- }
19414
- /** @enumType */
19415
- type TriggerWithLiterals = Trigger | 'UNKNOWN_TRIGGER' | 'hover' | 'click' | 'viewEnter' | 'pageVisible' | 'viewProgress' | 'pointerMove' | 'animationEnd';
19416
- declare enum EffectGroup {
19417
- UNKNOWN_EFFECT_GROUP = "UNKNOWN_EFFECT_GROUP",
19418
- /** Effects that are applied to the background layer of the component */
19419
- background = "background"
19420
- }
19421
- /** @enumType */
19422
- type EffectGroupWithLiterals = EffectGroup | 'UNKNOWN_EFFECT_GROUP' | 'background';
19423
19427
  interface InstallationInfo extends InstallationInfoTargetContainerOneOf {
19424
19428
  /** Which static container should the component be installed at */
19425
19429
  staticContainer?: StaticContainerWithLiterals;
@@ -21293,6 +21293,22 @@ var ContentResizeDirection = /* @__PURE__ */ ((ContentResizeDirection2) => {
21293
21293
  ContentResizeDirection2["none"] = "none";
21294
21294
  return ContentResizeDirection2;
21295
21295
  })(ContentResizeDirection || {});
21296
+ var Trigger = /* @__PURE__ */ ((Trigger2) => {
21297
+ Trigger2["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
21298
+ Trigger2["hover"] = "hover";
21299
+ Trigger2["click"] = "click";
21300
+ Trigger2["viewEnter"] = "viewEnter";
21301
+ Trigger2["pageVisible"] = "pageVisible";
21302
+ Trigger2["viewProgress"] = "viewProgress";
21303
+ Trigger2["pointerMove"] = "pointerMove";
21304
+ Trigger2["animationEnd"] = "animationEnd";
21305
+ return Trigger2;
21306
+ })(Trigger || {});
21307
+ var EffectGroup = /* @__PURE__ */ ((EffectGroup2) => {
21308
+ EffectGroup2["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
21309
+ EffectGroup2["background"] = "background";
21310
+ return EffectGroup2;
21311
+ })(EffectGroup || {});
21296
21312
  var RichTextAbilities = /* @__PURE__ */ ((RichTextAbilities2) => {
21297
21313
  RichTextAbilities2["UNKNOWN_RichTextAbilities"] = "UNKNOWN_RichTextAbilities";
21298
21314
  RichTextAbilities2["font"] = "font";
@@ -21993,22 +22009,6 @@ var PartType = /* @__PURE__ */ ((PartType2) => {
21993
22009
  PartType2["container"] = "container";
21994
22010
  return PartType2;
21995
22011
  })(PartType || {});
21996
- var Trigger = /* @__PURE__ */ ((Trigger2) => {
21997
- Trigger2["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
21998
- Trigger2["hover"] = "hover";
21999
- Trigger2["click"] = "click";
22000
- Trigger2["viewEnter"] = "viewEnter";
22001
- Trigger2["pageVisible"] = "pageVisible";
22002
- Trigger2["viewProgress"] = "viewProgress";
22003
- Trigger2["pointerMove"] = "pointerMove";
22004
- Trigger2["animationEnd"] = "animationEnd";
22005
- return Trigger2;
22006
- })(Trigger || {});
22007
- var EffectGroup = /* @__PURE__ */ ((EffectGroup2) => {
22008
- EffectGroup2["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
22009
- EffectGroup2["background"] = "background";
22010
- return EffectGroup2;
22011
- })(EffectGroup || {});
22012
22012
  var Vertical = /* @__PURE__ */ ((Vertical2) => {
22013
22013
  Vertical2["NONE"] = "NONE";
22014
22014
  Vertical2["TOP"] = "TOP";