@motion.page/sdk 1.1.2 → 1.1.4

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.
@@ -168,14 +168,20 @@ export declare class Timeline {
168
168
  /**
169
169
  * Find animation targets that "belong" to a container in each-mode.
170
170
  *
171
- * Strategy 1 (preferred): descendants of the container.
171
+ * Strategy 1 (preferred): the container itself (when it's also an animation
172
+ * target) and/or its descendants. Covers the most common Builder workflow
173
+ * where the trigger target IS the animation target (e.g.
174
+ * `.onScroll({ target: '.fade-up', each: true })` animating `.fade-up`),
175
+ * as well as parent-child setups (e.g. `.section-header` containing
176
+ * `.eyebrow`/`.subtitle`).
172
177
  * Strategy 2 (sibling fallback): anim targets sharing the container's parent
173
178
  * that aren't owned by another container.
174
179
  *
175
180
  * Returns [] when neither strategy yields targets — the caller skips this
176
181
  * container, dropping the orphaned anim targets entirely. This matches the
177
182
  * documented behaviour: when each:true + explicit target is set, only anim
178
- * targets associated with a container (descendant or sibling) are animated.
183
+ * targets associated with a container (self, descendant, or sibling) are
184
+ * animated.
179
185
  */
180
186
  private _findScopedTargetsForContainer;
181
187
  /**