atom.io 0.9.6 → 0.9.7

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.
@@ -773,7 +773,7 @@ var undo__INTERNAL = (token, store = IMPLICIT.STORE) => {
773
773
 
774
774
  // src/timeline/timeline-internal.ts
775
775
  function timeline__INTERNAL(options, store = IMPLICIT.STORE, data = null) {
776
- var _a, _b, _c;
776
+ var _a, _b, _c, _d;
777
777
  const tl = __spreadProps(__spreadValues({
778
778
  type: `timeline`,
779
779
  key: options.key,
@@ -802,6 +802,11 @@ function timeline__INTERNAL(options, store = IMPLICIT.STORE, data = null) {
802
802
  addAtomToTimeline(token2, tl, store);
803
803
  }
804
804
  });
805
+ for (const atom of core.atoms.values()) {
806
+ if (((_c = atom.family) == null ? void 0 : _c.key) === family.key) {
807
+ addAtomToTimeline(atom, tl, store);
808
+ }
809
+ }
805
810
  } else {
806
811
  const token2 = tokenOrFamily;
807
812
  if (`family` in token2 && token2.family) {
@@ -809,7 +814,7 @@ function timeline__INTERNAL(options, store = IMPLICIT.STORE, data = null) {
809
814
  token2.family.key
810
815
  );
811
816
  if (familyTimelineKey) {
812
- (_c = store.config.logger) == null ? void 0 : _c.error(
817
+ (_d = store.config.logger) == null ? void 0 : _d.error(
813
818
  `\u274C Failed to add atom "${token2.key}" to timeline "${options.key}" because its family "${token2.family.key}" belongs to timeline "${familyTimelineKey}"`
814
819
  );
815
820
  continue;