@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.
@@ -16321,6 +16321,8 @@ interface SimpleContainer {
16321
16321
  * @targetRemovalDate 2026-06-30
16322
16322
  */
16323
16323
  displayName?: string | null;
16324
+ /** Interactions this container supports (e.g. triggers for animations/effects targeting the container). */
16325
+ interactions?: Interactions;
16324
16326
  }
16325
16327
  interface ContainerLayout {
16326
16328
  /**
@@ -16403,6 +16405,38 @@ interface ContainerBehaviors {
16403
16405
  /** Whether the container should be selectable in the editor. */
16404
16406
  selectable?: boolean | null;
16405
16407
  }
16408
+ interface Interactions {
16409
+ /** @maxSize 7 */
16410
+ triggers?: TriggerWithLiterals[];
16411
+ /** @maxSize 1 */
16412
+ effectGroups?: EffectGroupWithLiterals[];
16413
+ }
16414
+ declare enum Trigger {
16415
+ UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
16416
+ /** When a compoent is hovered */
16417
+ hover = "hover",
16418
+ /** When a component is clicked */
16419
+ click = "click",
16420
+ /** When the component enters the viewport */
16421
+ viewEnter = "viewEnter",
16422
+ /** Used for infinite-loop animations - mapped to `state` type of https://drafts.csswg.org/css-animations-2/#animation-trigger-type */
16423
+ pageVisible = "pageVisible",
16424
+ /** Mapped to native ViewTimeline */
16425
+ viewProgress = "viewProgress",
16426
+ /** Mapped to pointermove events on the element */
16427
+ pointerMove = "pointerMove",
16428
+ /** Mapped to animationend events */
16429
+ animationEnd = "animationEnd"
16430
+ }
16431
+ /** @enumType */
16432
+ type TriggerWithLiterals = Trigger | 'UNKNOWN_TRIGGER' | 'hover' | 'click' | 'viewEnter' | 'pageVisible' | 'viewProgress' | 'pointerMove' | 'animationEnd';
16433
+ declare enum EffectGroup {
16434
+ UNKNOWN_EFFECT_GROUP = "UNKNOWN_EFFECT_GROUP",
16435
+ /** Effects that are applied to the background layer of the component */
16436
+ background = "background"
16437
+ }
16438
+ /** @enumType */
16439
+ type EffectGroupWithLiterals = EffectGroup | 'UNKNOWN_EFFECT_GROUP' | 'background';
16406
16440
  interface Slot {
16407
16441
  /**
16408
16442
  * The slot definition that this container should accept as defined in DEV Center
@@ -16422,6 +16456,8 @@ interface TemplateContainer {
16422
16456
  layout?: ContainerLayout;
16423
16457
  /** Path to the target arrayItems data item within the same element scope. */
16424
16458
  dataItemPath?: ItemPath;
16459
+ /** Interactions this container supports (e.g. triggers for animations/effects targeting the container). */
16460
+ interactions?: Interactions;
16425
16461
  }
16426
16462
  /** A path to a data item within the same element scope. */
16427
16463
  interface ItemPath {
@@ -19412,38 +19448,6 @@ interface PartElementSelectedPartElementTypeOneOf {
19412
19448
  /** Container-specific selectors for parts of type container */
19413
19449
  container?: PartContainer;
19414
19450
  }
19415
- interface Interactions {
19416
- /** @maxSize 7 */
19417
- triggers?: TriggerWithLiterals[];
19418
- /** @maxSize 1 */
19419
- effectGroups?: EffectGroupWithLiterals[];
19420
- }
19421
- declare enum Trigger {
19422
- UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
19423
- /** When a compoent is hovered */
19424
- hover = "hover",
19425
- /** When a component is clicked */
19426
- click = "click",
19427
- /** When the component enters the viewport */
19428
- viewEnter = "viewEnter",
19429
- /** Used for infinite-loop animations - mapped to `state` type of https://drafts.csswg.org/css-animations-2/#animation-trigger-type */
19430
- pageVisible = "pageVisible",
19431
- /** Mapped to native ViewTimeline */
19432
- viewProgress = "viewProgress",
19433
- /** Mapped to pointermove events on the element */
19434
- pointerMove = "pointerMove",
19435
- /** Mapped to animationend events */
19436
- animationEnd = "animationEnd"
19437
- }
19438
- /** @enumType */
19439
- type TriggerWithLiterals = Trigger | 'UNKNOWN_TRIGGER' | 'hover' | 'click' | 'viewEnter' | 'pageVisible' | 'viewProgress' | 'pointerMove' | 'animationEnd';
19440
- declare enum EffectGroup {
19441
- UNKNOWN_EFFECT_GROUP = "UNKNOWN_EFFECT_GROUP",
19442
- /** Effects that are applied to the background layer of the component */
19443
- background = "background"
19444
- }
19445
- /** @enumType */
19446
- type EffectGroupWithLiterals = EffectGroup | 'UNKNOWN_EFFECT_GROUP' | 'background';
19447
19451
  interface InstallationInfo extends InstallationInfoTargetContainerOneOf {
19448
19452
  /** Which static container should the component be installed at */
19449
19453
  staticContainer?: StaticContainerWithLiterals;
package/build/es/meta.mjs CHANGED
@@ -21273,6 +21273,22 @@ var ContentResizeDirection = /* @__PURE__ */ ((ContentResizeDirection2) => {
21273
21273
  ContentResizeDirection2["none"] = "none";
21274
21274
  return ContentResizeDirection2;
21275
21275
  })(ContentResizeDirection || {});
21276
+ var Trigger = /* @__PURE__ */ ((Trigger2) => {
21277
+ Trigger2["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
21278
+ Trigger2["hover"] = "hover";
21279
+ Trigger2["click"] = "click";
21280
+ Trigger2["viewEnter"] = "viewEnter";
21281
+ Trigger2["pageVisible"] = "pageVisible";
21282
+ Trigger2["viewProgress"] = "viewProgress";
21283
+ Trigger2["pointerMove"] = "pointerMove";
21284
+ Trigger2["animationEnd"] = "animationEnd";
21285
+ return Trigger2;
21286
+ })(Trigger || {});
21287
+ var EffectGroup = /* @__PURE__ */ ((EffectGroup2) => {
21288
+ EffectGroup2["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
21289
+ EffectGroup2["background"] = "background";
21290
+ return EffectGroup2;
21291
+ })(EffectGroup || {});
21276
21292
  var RichTextAbilities = /* @__PURE__ */ ((RichTextAbilities2) => {
21277
21293
  RichTextAbilities2["UNKNOWN_RichTextAbilities"] = "UNKNOWN_RichTextAbilities";
21278
21294
  RichTextAbilities2["font"] = "font";
@@ -21973,22 +21989,6 @@ var PartType = /* @__PURE__ */ ((PartType2) => {
21973
21989
  PartType2["container"] = "container";
21974
21990
  return PartType2;
21975
21991
  })(PartType || {});
21976
- var Trigger = /* @__PURE__ */ ((Trigger2) => {
21977
- Trigger2["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
21978
- Trigger2["hover"] = "hover";
21979
- Trigger2["click"] = "click";
21980
- Trigger2["viewEnter"] = "viewEnter";
21981
- Trigger2["pageVisible"] = "pageVisible";
21982
- Trigger2["viewProgress"] = "viewProgress";
21983
- Trigger2["pointerMove"] = "pointerMove";
21984
- Trigger2["animationEnd"] = "animationEnd";
21985
- return Trigger2;
21986
- })(Trigger || {});
21987
- var EffectGroup = /* @__PURE__ */ ((EffectGroup2) => {
21988
- EffectGroup2["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
21989
- EffectGroup2["background"] = "background";
21990
- return EffectGroup2;
21991
- })(EffectGroup || {});
21992
21992
  var Vertical = /* @__PURE__ */ ((Vertical2) => {
21993
21993
  Vertical2["NONE"] = "NONE";
21994
21994
  Vertical2["TOP"] = "TOP";