@editframe/elements 0.42.5 → 0.42.8

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 (86) hide show
  1. package/LICENSE-FULL.md +148 -0
  2. package/dist/elements/EFCaptions.d.ts +4 -4
  3. package/dist/elements/EFImage.d.ts +4 -4
  4. package/dist/elements/EFMedia.d.ts +2 -2
  5. package/dist/elements/EFTemporal.js +3 -1
  6. package/dist/elements/EFTemporal.js.map +1 -1
  7. package/dist/elements/EFText.d.ts +4 -4
  8. package/dist/elements/EFText.js +1 -0
  9. package/dist/elements/EFText.js.map +1 -1
  10. package/dist/elements/EFTextSegment.d.ts +4 -4
  11. package/dist/elements/EFTimegroup.js +12 -1
  12. package/dist/elements/EFTimegroup.js.map +1 -1
  13. package/dist/elements/EFWaveform.d.ts +4 -4
  14. package/dist/gui/EFActiveRootTemporal.d.ts +4 -4
  15. package/dist/gui/EFConfiguration.d.ts +4 -4
  16. package/dist/gui/EFDial.d.ts +4 -4
  17. package/dist/gui/EFFilmstrip.d.ts +4 -4
  18. package/dist/gui/EFOverlayItem.d.ts +4 -4
  19. package/dist/gui/EFOverlayLayer.d.ts +4 -4
  20. package/dist/gui/EFPause.d.ts +4 -4
  21. package/dist/gui/EFPlay.d.ts +4 -4
  22. package/dist/gui/EFPreview.d.ts +4 -4
  23. package/dist/gui/EFScrubber.d.ts +4 -4
  24. package/dist/gui/EFTimeDisplay.d.ts +4 -4
  25. package/dist/gui/EFTimelineRuler.d.ts +4 -4
  26. package/dist/gui/EFToggleLoop.d.ts +4 -4
  27. package/dist/gui/EFTogglePlay.d.ts +4 -4
  28. package/dist/gui/EFWorkbench.d.ts +4 -4
  29. package/dist/gui/hierarchy/EFHierarchy.d.ts +4 -4
  30. package/dist/gui/hierarchy/EFHierarchyItem.d.ts +2 -2
  31. package/dist/gui/timeline/EFTimeline.d.ts +2 -2
  32. package/dist/gui/timeline/EFTimeline.js +18 -1
  33. package/dist/gui/timeline/EFTimeline.js.map +1 -1
  34. package/dist/gui/timeline/TrimHandles.d.ts +4 -4
  35. package/dist/gui/timeline/tracks/EFThumbnailStrip.d.ts +4 -4
  36. package/dist/gui/tree/EFTree.d.ts +4 -4
  37. package/dist/gui/tree/EFTreeItem.d.ts +4 -4
  38. package/dist/preview/renderTimegroupToCanvas.js +9 -0
  39. package/dist/preview/renderTimegroupToCanvas.js.map +1 -1
  40. package/dist/preview/renderTimegroupToVideo.js +1 -1
  41. package/dist/preview/renderTimegroupToVideo.js.map +1 -1
  42. package/dist/preview/rendering/serializeTimelineDirect.js +2 -1
  43. package/dist/preview/rendering/serializeTimelineDirect.js.map +1 -1
  44. package/package.json +8 -3
  45. package/scripts/build-css.js +0 -44
  46. package/test/__cache__/GET__api_v1_transcode_audio_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__32da3954ba60c96ad732020c65a08ebc/data.bin +0 -0
  47. package/test/__cache__/GET__api_v1_transcode_audio_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__32da3954ba60c96ad732020c65a08ebc/metadata.json +0 -16
  48. package/test/__cache__/GET__api_v1_transcode_audio_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__b0b2b07efcf607de8ee0f650328c32f7/data.bin +0 -0
  49. package/test/__cache__/GET__api_v1_transcode_audio_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__b0b2b07efcf607de8ee0f650328c32f7/metadata.json +0 -16
  50. package/test/__cache__/GET__api_v1_transcode_audio_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a75c2252b542e0c152c780e9a8d7b154/data.bin +0 -0
  51. package/test/__cache__/GET__api_v1_transcode_audio_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a75c2252b542e0c152c780e9a8d7b154/metadata.json +0 -16
  52. package/test/__cache__/GET__api_v1_transcode_audio_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a64ff1cfb1b52cae14df4b5dfa1e222b/data.bin +0 -0
  53. package/test/__cache__/GET__api_v1_transcode_audio_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a64ff1cfb1b52cae14df4b5dfa1e222b/metadata.json +0 -16
  54. package/test/__cache__/GET__api_v1_transcode_audio_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__91e8a522f950809b9f09f4173113b4b0/data.bin +0 -0
  55. package/test/__cache__/GET__api_v1_transcode_audio_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__91e8a522f950809b9f09f4173113b4b0/metadata.json +0 -16
  56. package/test/__cache__/GET__api_v1_transcode_audio_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__e66d2c831d951e74ad0aeaa6489795d0/data.bin +0 -0
  57. package/test/__cache__/GET__api_v1_transcode_audio_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__e66d2c831d951e74ad0aeaa6489795d0/metadata.json +0 -16
  58. package/test/__cache__/GET__api_v1_transcode_high_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__26197f6f7c46cacb0a71134131c3f775/data.bin +0 -0
  59. package/test/__cache__/GET__api_v1_transcode_high_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__26197f6f7c46cacb0a71134131c3f775/metadata.json +0 -16
  60. package/test/__cache__/GET__api_v1_transcode_high_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__4cb6774cd3650ccf59c8f8dc6678c0b9/data.bin +0 -0
  61. package/test/__cache__/GET__api_v1_transcode_high_2_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__4cb6774cd3650ccf59c8f8dc6678c0b9/metadata.json +0 -16
  62. package/test/__cache__/GET__api_v1_transcode_high_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0b3b2b1c8933f7fcf8a9ecaa88d58b41/data.bin +0 -0
  63. package/test/__cache__/GET__api_v1_transcode_high_3_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0b3b2b1c8933f7fcf8a9ecaa88d58b41/metadata.json +0 -16
  64. package/test/__cache__/GET__api_v1_transcode_high_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a6fb05a22b18d850f7f2950bbcdbdeed/data.bin +0 -0
  65. package/test/__cache__/GET__api_v1_transcode_high_4_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a6fb05a22b18d850f7f2950bbcdbdeed/metadata.json +0 -16
  66. package/test/__cache__/GET__api_v1_transcode_high_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a50058c7c3602e90879fe3428ed891f4/data.bin +0 -0
  67. package/test/__cache__/GET__api_v1_transcode_high_5_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__a50058c7c3602e90879fe3428ed891f4/metadata.json +0 -16
  68. package/test/__cache__/GET__api_v1_transcode_high_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0798c479b44aaeef850609a430f6e613/data.bin +0 -0
  69. package/test/__cache__/GET__api_v1_transcode_high_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__0798c479b44aaeef850609a430f6e613/metadata.json +0 -16
  70. package/test/__cache__/GET__api_v1_transcode_manifest_json_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__3be92a0437de726b431ed5af2369158a/data.bin +0 -1
  71. package/test/__cache__/GET__api_v1_transcode_manifest_json_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__3be92a0437de726b431ed5af2369158a/metadata.json +0 -17
  72. package/test/__cache__/GET__api_v1_transcode_scrub_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__6ff5127ebeda578a679474347fbd6137/data.bin +0 -0
  73. package/test/__cache__/GET__api_v1_transcode_scrub_1_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__6ff5127ebeda578a679474347fbd6137/metadata.json +0 -16
  74. package/test/__cache__/GET__api_v1_transcode_scrub_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__f6d4793fc9ff854ee9a738917fb64a53/data.bin +0 -0
  75. package/test/__cache__/GET__api_v1_transcode_scrub_init_m4s_url_http_3A_2F_2Fweb_3A3000_2Fhead_moov_480p_mp4__f6d4793fc9ff854ee9a738917fb64a53/metadata.json +0 -16
  76. package/test/cache-integration-verification.browsertest.ts +0 -84
  77. package/test/constants.ts +0 -8
  78. package/test/createJitTestClips.ts +0 -425
  79. package/test/profilingPlugin.ts +0 -221
  80. package/test/recordReplayProxyPlugin.js +0 -428
  81. package/test/setup.ts +0 -71
  82. package/test/useAssetMSW.ts +0 -53
  83. package/test/useMSW.ts +0 -40
  84. package/test/useTranscodeMSW.ts +0 -191
  85. package/test/visualRegressionUtils.ts +0 -300
  86. package/tsdown.config.ts +0 -65
package/tsdown.config.ts DELETED
@@ -1,65 +0,0 @@
1
- import { readFileSync } from "node:fs";
2
- import path from "node:path";
3
- import autoprefixer from "autoprefixer";
4
- import postcss from "postcss";
5
- import tailwindcss from "tailwindcss";
6
- import { defineConfig, type Plugin } from "tsdown";
7
-
8
- import { createTsdownConfig } from "../tsdown.config.base.ts";
9
-
10
- // Plugin to handle CSS ?inline imports with Tailwind processing
11
- const inlineCssPlugin = (): Plugin => ({
12
- name: "inline-css",
13
- resolveId(source, importer) {
14
- if (source.endsWith(".css?inline") && importer) {
15
- const resolved = path.resolve(
16
- path.dirname(importer),
17
- source.replace("?inline", ""),
18
- );
19
- return { id: `${resolved}?inline`, external: false };
20
- }
21
- return null;
22
- },
23
- async load(id) {
24
- if (id.endsWith("?inline")) {
25
- const filePath = id.replace("?inline", "");
26
- const css = readFileSync(filePath, "utf-8");
27
-
28
- // Process through Tailwind if it contains @tailwind directives
29
- if (css.includes("@tailwind")) {
30
- const _srcDir = path.resolve(path.dirname(filePath));
31
- const configPath = path.resolve(
32
- path.dirname(filePath),
33
- "../../tailwind.config.ts",
34
- );
35
- const result = await postcss([
36
- tailwindcss({ config: configPath }),
37
- autoprefixer(),
38
- ]).process(css, { from: filePath });
39
-
40
- return `export default ${JSON.stringify(result.css)}`;
41
- }
42
-
43
- return `export default ${JSON.stringify(css)}`;
44
- }
45
- return null;
46
- },
47
- });
48
-
49
- export default defineConfig(
50
- createTsdownConfig({
51
- entry: [
52
- "src/index.ts",
53
- "src/node.ts",
54
- "src/preview/renderTimegroupToVideo.ts",
55
- "src/preview/renderTimegroupToCanvas.ts",
56
- ],
57
- plugins: [inlineCssPlugin()],
58
- external: [/@editframe\/assets/],
59
- publint: false, // Disabled because CSS is built after tsdown
60
- additionalExports: {
61
- "./styles.css": "./dist/style.css",
62
- "./types.json": "./types.json",
63
- },
64
- }),
65
- );