@cliquify.me/timeline 7.0.0 → 7.0.2

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.
Files changed (2) hide show
  1. package/dist/index.es.js +10 -3
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -7759,7 +7759,8 @@ const Wr = (i, t) => (t || Object.keys(i)).reduce((s, r) => {
7759
7759
  const s = e.structure.find(
7760
7760
  (o) => o.id === i.id
7761
7761
  );
7762
- if (!s || !s.items || s.items.length === 0) return null;
7762
+ if (!s || !s.items || s.items.length === 0)
7763
+ return null;
7763
7764
  let r = 1 / 0, n = -1 / 0;
7764
7765
  return s.items.forEach((o) => {
7765
7766
  const a = e.trackItemsMap[o];
@@ -7782,7 +7783,10 @@ const Wr = (i, t) => (t || Object.keys(i)).reduce((s, r) => {
7782
7783
  f,
7783
7784
  n.tScale,
7784
7785
  n.playbackRate
7785
- ), p = d + g, m = u ? u.maxTo : n.duration, b = Math.max(n.trim.from + 10, Math.min(m, p)), _ = b - d, x = q(
7786
+ ), p = d + g, m = u ? u.maxTo : n.duration, b = Math.max(
7787
+ n.trim.from + 10,
7788
+ Math.min(m, p)
7789
+ ), _ = b - d, x = q(
7786
7790
  _,
7787
7791
  n.tScale,
7788
7792
  n.playbackRate
@@ -7794,7 +7798,10 @@ const Wr = (i, t) => (t || Object.keys(i)).reduce((s, r) => {
7794
7798
  n.tScale,
7795
7799
  n.playbackRate
7796
7800
  ), m = f - p;
7797
- let b = Math.max(d, Math.min(n.trim.to - 10, m)), _ = f - b, x = q(
7801
+ let b = Math.max(
7802
+ d,
7803
+ Math.min(n.trim.to - 10, m)
7804
+ ), _ = f - b, x = q(
7798
7805
  _,
7799
7806
  n.tScale,
7800
7807
  n.playbackRate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/timeline",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,7 +37,7 @@
37
37
  "peerDependencies": {
38
38
  "@types/lodash-es": "^4.17.12",
39
39
  "@designcombo/events": "^1.0.2",
40
- "@cliquify.me/types": "7.0.0"
40
+ "@cliquify.me/types": "7.0.2"
41
41
  },
42
42
  "scripts": {
43
43
  "dev": "vite",