@wix/app-extensions 1.0.193 → 1.0.194
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.
- package/build/cjs/index.js +16 -16
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.mjs +16 -16
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +41 -37
- package/build/trusted/cjs/index.js +16 -16
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +41 -37
- package/build/trusted/es/index.mjs +16 -16
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -20488,6 +20488,8 @@ interface SimpleContainer {
|
|
|
20488
20488
|
* @targetRemovalDate 2026-06-30
|
|
20489
20489
|
*/
|
|
20490
20490
|
displayName?: string | null;
|
|
20491
|
+
/** Interactions this container supports (e.g. triggers for animations/effects targeting the container). */
|
|
20492
|
+
interactions?: Interactions;
|
|
20491
20493
|
}
|
|
20492
20494
|
/** @internal */
|
|
20493
20495
|
interface ContainerLayout {
|
|
@@ -20579,6 +20581,43 @@ interface ContainerBehaviors {
|
|
|
20579
20581
|
selectable?: boolean | null;
|
|
20580
20582
|
}
|
|
20581
20583
|
/** @internal */
|
|
20584
|
+
interface Interactions {
|
|
20585
|
+
/** @maxSize 7 */
|
|
20586
|
+
triggers?: TriggerWithLiterals[];
|
|
20587
|
+
/** @maxSize 1 */
|
|
20588
|
+
effectGroups?: EffectGroupWithLiterals[];
|
|
20589
|
+
}
|
|
20590
|
+
/** @internal */
|
|
20591
|
+
declare enum Trigger {
|
|
20592
|
+
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
|
|
20593
|
+
/** When a compoent is hovered */
|
|
20594
|
+
hover = "hover",
|
|
20595
|
+
/** When a component is clicked */
|
|
20596
|
+
click = "click",
|
|
20597
|
+
/** When the component enters the viewport */
|
|
20598
|
+
viewEnter = "viewEnter",
|
|
20599
|
+
/** Used for infinite-loop animations - mapped to `state` type of https://drafts.csswg.org/css-animations-2/#animation-trigger-type */
|
|
20600
|
+
pageVisible = "pageVisible",
|
|
20601
|
+
/** Mapped to native ViewTimeline */
|
|
20602
|
+
viewProgress = "viewProgress",
|
|
20603
|
+
/** Mapped to pointermove events on the element */
|
|
20604
|
+
pointerMove = "pointerMove",
|
|
20605
|
+
/** Mapped to animationend events */
|
|
20606
|
+
animationEnd = "animationEnd"
|
|
20607
|
+
}
|
|
20608
|
+
/** @enumType */
|
|
20609
|
+
/** @internal */
|
|
20610
|
+
type TriggerWithLiterals = Trigger | 'UNKNOWN_TRIGGER' | 'hover' | 'click' | 'viewEnter' | 'pageVisible' | 'viewProgress' | 'pointerMove' | 'animationEnd';
|
|
20611
|
+
/** @internal */
|
|
20612
|
+
declare enum EffectGroup {
|
|
20613
|
+
UNKNOWN_EFFECT_GROUP = "UNKNOWN_EFFECT_GROUP",
|
|
20614
|
+
/** Effects that are applied to the background layer of the component */
|
|
20615
|
+
background = "background"
|
|
20616
|
+
}
|
|
20617
|
+
/** @enumType */
|
|
20618
|
+
/** @internal */
|
|
20619
|
+
type EffectGroupWithLiterals = EffectGroup | 'UNKNOWN_EFFECT_GROUP' | 'background';
|
|
20620
|
+
/** @internal */
|
|
20582
20621
|
interface Slot {
|
|
20583
20622
|
/**
|
|
20584
20623
|
* The slot definition that this container should accept as defined in DEV Center
|
|
@@ -20600,6 +20639,8 @@ interface TemplateContainer {
|
|
|
20600
20639
|
layout?: ContainerLayout;
|
|
20601
20640
|
/** Path to the target arrayItems data item within the same element scope. */
|
|
20602
20641
|
dataItemPath?: ItemPath;
|
|
20642
|
+
/** Interactions this container supports (e.g. triggers for animations/effects targeting the container). */
|
|
20643
|
+
interactions?: Interactions;
|
|
20603
20644
|
}
|
|
20604
20645
|
/** A path to a data item within the same element scope. */
|
|
20605
20646
|
/** @internal */
|
|
@@ -23890,43 +23931,6 @@ interface PartElementSelectedPartElementTypeOneOf {
|
|
|
23890
23931
|
container?: PartContainer;
|
|
23891
23932
|
}
|
|
23892
23933
|
/** @internal */
|
|
23893
|
-
interface Interactions {
|
|
23894
|
-
/** @maxSize 7 */
|
|
23895
|
-
triggers?: TriggerWithLiterals[];
|
|
23896
|
-
/** @maxSize 1 */
|
|
23897
|
-
effectGroups?: EffectGroupWithLiterals[];
|
|
23898
|
-
}
|
|
23899
|
-
/** @internal */
|
|
23900
|
-
declare enum Trigger {
|
|
23901
|
-
UNKNOWN_TRIGGER = "UNKNOWN_TRIGGER",
|
|
23902
|
-
/** When a compoent is hovered */
|
|
23903
|
-
hover = "hover",
|
|
23904
|
-
/** When a component is clicked */
|
|
23905
|
-
click = "click",
|
|
23906
|
-
/** When the component enters the viewport */
|
|
23907
|
-
viewEnter = "viewEnter",
|
|
23908
|
-
/** Used for infinite-loop animations - mapped to `state` type of https://drafts.csswg.org/css-animations-2/#animation-trigger-type */
|
|
23909
|
-
pageVisible = "pageVisible",
|
|
23910
|
-
/** Mapped to native ViewTimeline */
|
|
23911
|
-
viewProgress = "viewProgress",
|
|
23912
|
-
/** Mapped to pointermove events on the element */
|
|
23913
|
-
pointerMove = "pointerMove",
|
|
23914
|
-
/** Mapped to animationend events */
|
|
23915
|
-
animationEnd = "animationEnd"
|
|
23916
|
-
}
|
|
23917
|
-
/** @enumType */
|
|
23918
|
-
/** @internal */
|
|
23919
|
-
type TriggerWithLiterals = Trigger | 'UNKNOWN_TRIGGER' | 'hover' | 'click' | 'viewEnter' | 'pageVisible' | 'viewProgress' | 'pointerMove' | 'animationEnd';
|
|
23920
|
-
/** @internal */
|
|
23921
|
-
declare enum EffectGroup {
|
|
23922
|
-
UNKNOWN_EFFECT_GROUP = "UNKNOWN_EFFECT_GROUP",
|
|
23923
|
-
/** Effects that are applied to the background layer of the component */
|
|
23924
|
-
background = "background"
|
|
23925
|
-
}
|
|
23926
|
-
/** @enumType */
|
|
23927
|
-
/** @internal */
|
|
23928
|
-
type EffectGroupWithLiterals = EffectGroup | 'UNKNOWN_EFFECT_GROUP' | 'background';
|
|
23929
|
-
/** @internal */
|
|
23930
23934
|
interface InstallationInfo extends InstallationInfoTargetContainerOneOf {
|
|
23931
23935
|
/** Which static container should the component be installed at */
|
|
23932
23936
|
staticContainer?: StaticContainerWithLiterals;
|
|
@@ -2178,6 +2178,22 @@ var ContentResizeDirection = /* @__PURE__ */ ((ContentResizeDirection2) => {
|
|
|
2178
2178
|
ContentResizeDirection2["none"] = "none";
|
|
2179
2179
|
return ContentResizeDirection2;
|
|
2180
2180
|
})(ContentResizeDirection || {});
|
|
2181
|
+
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
2182
|
+
Trigger2["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
2183
|
+
Trigger2["hover"] = "hover";
|
|
2184
|
+
Trigger2["click"] = "click";
|
|
2185
|
+
Trigger2["viewEnter"] = "viewEnter";
|
|
2186
|
+
Trigger2["pageVisible"] = "pageVisible";
|
|
2187
|
+
Trigger2["viewProgress"] = "viewProgress";
|
|
2188
|
+
Trigger2["pointerMove"] = "pointerMove";
|
|
2189
|
+
Trigger2["animationEnd"] = "animationEnd";
|
|
2190
|
+
return Trigger2;
|
|
2191
|
+
})(Trigger || {});
|
|
2192
|
+
var EffectGroup = /* @__PURE__ */ ((EffectGroup2) => {
|
|
2193
|
+
EffectGroup2["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
|
|
2194
|
+
EffectGroup2["background"] = "background";
|
|
2195
|
+
return EffectGroup2;
|
|
2196
|
+
})(EffectGroup || {});
|
|
2181
2197
|
var RichTextAbilities = /* @__PURE__ */ ((RichTextAbilities2) => {
|
|
2182
2198
|
RichTextAbilities2["UNKNOWN_RichTextAbilities"] = "UNKNOWN_RichTextAbilities";
|
|
2183
2199
|
RichTextAbilities2["font"] = "font";
|
|
@@ -2879,22 +2895,6 @@ var PartType = /* @__PURE__ */ ((PartType2) => {
|
|
|
2879
2895
|
PartType2["container"] = "container";
|
|
2880
2896
|
return PartType2;
|
|
2881
2897
|
})(PartType || {});
|
|
2882
|
-
var Trigger = /* @__PURE__ */ ((Trigger2) => {
|
|
2883
|
-
Trigger2["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
2884
|
-
Trigger2["hover"] = "hover";
|
|
2885
|
-
Trigger2["click"] = "click";
|
|
2886
|
-
Trigger2["viewEnter"] = "viewEnter";
|
|
2887
|
-
Trigger2["pageVisible"] = "pageVisible";
|
|
2888
|
-
Trigger2["viewProgress"] = "viewProgress";
|
|
2889
|
-
Trigger2["pointerMove"] = "pointerMove";
|
|
2890
|
-
Trigger2["animationEnd"] = "animationEnd";
|
|
2891
|
-
return Trigger2;
|
|
2892
|
-
})(Trigger || {});
|
|
2893
|
-
var EffectGroup = /* @__PURE__ */ ((EffectGroup2) => {
|
|
2894
|
-
EffectGroup2["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
|
|
2895
|
-
EffectGroup2["background"] = "background";
|
|
2896
|
-
return EffectGroup2;
|
|
2897
|
-
})(EffectGroup || {});
|
|
2898
2898
|
var Vertical = /* @__PURE__ */ ((Vertical2) => {
|
|
2899
2899
|
Vertical2["NONE"] = "NONE";
|
|
2900
2900
|
Vertical2["TOP"] = "TOP";
|