@twick/timeline 0.14.5 → 0.14.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.
package/dist/index.mjs CHANGED
@@ -3,6 +3,30 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import React, { useState, createContext, useContext, useRef, useMemo, useEffect } from "react";
6
+ const INITIAL_TIMELINE_DATA = {
7
+ tracks: [
8
+ {
9
+ type: "element",
10
+ id: "t-sample",
11
+ name: "sample",
12
+ elements: [
13
+ {
14
+ id: "e-sample",
15
+ trackId: "t-sample",
16
+ name: "sample",
17
+ type: "text",
18
+ s: 0,
19
+ e: 5,
20
+ props: {
21
+ text: "Twick SDK",
22
+ fill: "#FFFFFF"
23
+ }
24
+ }
25
+ ]
26
+ }
27
+ ],
28
+ version: 1
29
+ };
6
30
  const PLAYER_STATE = {
7
31
  /** Player is refreshing/reloading content */
8
32
  REFRESH: "Refresh",
@@ -7976,6 +8000,7 @@ export {
7976
8000
  ElementTextEffect,
7977
8001
  ElementUpdater,
7978
8002
  ElementValidator,
8003
+ INITIAL_TIMELINE_DATA,
7979
8004
  IconElement,
7980
8005
  ImageElement,
7981
8006
  PLAYER_STATE,