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