@editframe/elements 0.36.0-beta → 0.36.1-beta

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 (42) hide show
  1. package/dist/canvas/EFCanvas.d.ts +4 -4
  2. package/dist/elements/EFAudio.d.ts +4 -4
  3. package/dist/elements/EFCaptions.d.ts +0 -4
  4. package/dist/elements/EFCaptions.js +12 -32
  5. package/dist/elements/EFCaptions.js.map +1 -1
  6. package/dist/elements/EFPanZoom.d.ts +4 -4
  7. package/dist/elements/EFSurface.d.ts +4 -4
  8. package/dist/elements/EFText.d.ts +4 -4
  9. package/dist/elements/EFTextSegment.d.ts +4 -4
  10. package/dist/elements/EFThumbnailStrip.d.ts +4 -4
  11. package/dist/elements/EFVideo.d.ts +6 -6
  12. package/dist/elements/EFWaveform.d.ts +4 -4
  13. package/dist/elements/updateAnimations.js +75 -0
  14. package/dist/elements/updateAnimations.js.map +1 -1
  15. package/dist/gui/EFActiveRootTemporal.d.ts +4 -4
  16. package/dist/gui/EFConfiguration.d.ts +4 -4
  17. package/dist/gui/EFControls.d.ts +2 -2
  18. package/dist/gui/EFDial.d.ts +4 -4
  19. package/dist/gui/EFFilmstrip.d.ts +2 -2
  20. package/dist/gui/EFFitScale.d.ts +3 -3
  21. package/dist/gui/EFFocusOverlay.d.ts +4 -4
  22. package/dist/gui/EFPause.d.ts +4 -4
  23. package/dist/gui/EFPlay.d.ts +4 -4
  24. package/dist/gui/EFPreview.d.ts +4 -4
  25. package/dist/gui/EFResizableBox.d.ts +4 -4
  26. package/dist/gui/EFScrubber.d.ts +4 -4
  27. package/dist/gui/EFTimeDisplay.d.ts +4 -4
  28. package/dist/gui/EFToggleLoop.d.ts +4 -4
  29. package/dist/gui/EFTogglePlay.d.ts +4 -4
  30. package/dist/gui/EFTransformHandles.d.ts +4 -4
  31. package/dist/gui/EFWorkbench.d.ts +6 -6
  32. package/dist/gui/EFWorkbench.js +28 -0
  33. package/dist/gui/EFWorkbench.js.map +1 -1
  34. package/dist/gui/hierarchy/EFHierarchy.d.ts +4 -4
  35. package/dist/gui/hierarchy/EFHierarchyItem.d.ts +2 -2
  36. package/dist/gui/timeline/tracks/ImageTrack.d.ts +2 -2
  37. package/dist/gui/timeline/tracks/TimegroupTrack.d.ts +5 -5
  38. package/dist/gui/timeline/tracks/VideoTrack.d.ts +4 -4
  39. package/dist/gui/tree/EFTree.d.ts +4 -4
  40. package/dist/gui/tree/EFTreeItem.d.ts +4 -4
  41. package/dist/style.css +33 -0
  42. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
1
  import { SelectionContext } from "../../canvas/selection/selectionContext.js";
2
- import * as lit10 from "lit";
2
+ import * as lit4 from "lit";
3
3
  import { LitElement, PropertyValues } from "lit";
4
- import * as lit_html11 from "lit-html";
4
+ import * as lit_html3 from "lit-html";
5
5
 
6
6
  //#region src/gui/hierarchy/EFHierarchy.d.ts
7
7
  declare const EFHierarchy_base: typeof LitElement;
8
8
  declare class EFHierarchy extends EFHierarchy_base {
9
- static styles: lit10.CSSResult[];
9
+ static styles: lit4.CSSResult[];
10
10
  target: string;
11
11
  header: string;
12
12
  showHeader: boolean;
@@ -53,7 +53,7 @@ declare class EFHierarchy extends EFHierarchy_base {
53
53
  private autoSelectFirstRootTimegroup;
54
54
  private setupSelectionListener;
55
55
  private removeSelectionListener;
56
- render(): lit_html11.TemplateResult<1>;
56
+ render(): lit_html3.TemplateResult<1>;
57
57
  }
58
58
  declare global {
59
59
  interface HTMLElementTagNameMap {
@@ -4,13 +4,13 @@ import { EFAudio } from "../../elements/EFAudio.js";
4
4
  import { EFTimegroup } from "../../elements/EFTimegroup.js";
5
5
  import { EFImage } from "../../elements/EFImage.js";
6
6
  import { HierarchyContext } from "./hierarchyContext.js";
7
- import * as lit11 from "lit";
7
+ import * as lit13 from "lit";
8
8
  import { LitElement, PropertyValues, TemplateResult, nothing } from "lit";
9
9
 
10
10
  //#region src/gui/hierarchy/EFHierarchyItem.d.ts
11
11
  declare const EFHierarchyItem_base: typeof LitElement;
12
12
  declare class EFHierarchyItem<ElementType extends HTMLElement = HTMLElement> extends EFHierarchyItem_base {
13
- static styles: lit11.CSSResult[];
13
+ static styles: lit13.CSSResult[];
14
14
  hierarchyContext?: HierarchyContext;
15
15
  canvasSelectionContext?: SelectionContext;
16
16
  element: ElementType;
@@ -1,10 +1,10 @@
1
1
  import { TrackItem } from "./TrackItem.js";
2
2
  import { nothing } from "lit";
3
- import * as lit_html37 from "lit-html";
3
+ import * as lit_html39 from "lit-html";
4
4
 
5
5
  //#region src/gui/timeline/tracks/ImageTrack.d.ts
6
6
  declare class EFImageTrack extends TrackItem {
7
- contents(): lit_html37.TemplateResult<1> | typeof nothing;
7
+ contents(): lit_html39.TemplateResult<1> | typeof nothing;
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
@@ -1,12 +1,12 @@
1
1
  import { TrackItem } from "./TrackItem.js";
2
2
  import "../../../elements/EFThumbnailStrip.js";
3
- import * as lit40 from "lit";
3
+ import * as lit38 from "lit";
4
4
  import { nothing } from "lit";
5
- import * as lit_html38 from "lit-html";
5
+ import * as lit_html35 from "lit-html";
6
6
 
7
7
  //#region src/gui/timeline/tracks/TimegroupTrack.d.ts
8
8
  declare class EFTimegroupTrack extends TrackItem {
9
- static styles: lit40.CSSResult[];
9
+ static styles: lit38.CSSResult[];
10
10
  /**
11
11
  * When true, children are not rendered (used in unified row architecture
12
12
  * where children get their own rows).
@@ -33,11 +33,11 @@ declare class EFTimegroupTrack extends TrackItem {
33
33
  minWidth: string;
34
34
  left: string;
35
35
  };
36
- contents(): lit_html38.TemplateResult<1> | typeof nothing;
36
+ contents(): lit_html35.TemplateResult<1> | typeof nothing;
37
37
  /**
38
38
  * Override render to use taller height for filmstrip rows
39
39
  */
40
- render(): lit_html38.TemplateResult<1>;
40
+ render(): lit_html35.TemplateResult<1>;
41
41
  }
42
42
  declare global {
43
43
  interface HTMLElementTagNameMap {
@@ -1,13 +1,13 @@
1
1
  import { TrackItem } from "./TrackItem.js";
2
2
  import "../../../elements/EFThumbnailStrip.js";
3
- import * as lit39 from "lit";
4
- import * as lit_html36 from "lit-html";
3
+ import * as lit40 from "lit";
4
+ import * as lit_html38 from "lit-html";
5
5
  import * as lit_html_directives_ref_js5 from "lit-html/directives/ref.js";
6
6
 
7
7
  //#region src/gui/timeline/tracks/VideoTrack.d.ts
8
8
  declare class EFVideoTrack extends TrackItem {
9
9
  #private;
10
- static styles: lit39.CSSResult[];
10
+ static styles: lit40.CSSResult[];
11
11
  audioCanvasRef: lit_html_directives_ref_js5.Ref<HTMLCanvasElement>;
12
12
  private _timelineState?;
13
13
  private _waveformData;
@@ -15,7 +15,7 @@ declare class EFVideoTrack extends TrackItem {
15
15
  connectedCallback(): void;
16
16
  disconnectedCallback(): void;
17
17
  updated(changedProperties: Map<string | number | symbol, unknown>): void;
18
- render(): lit_html36.TemplateResult<1>;
18
+ render(): lit_html38.TemplateResult<1>;
19
19
  }
20
20
  declare global {
21
21
  interface HTMLElementTagNameMap {
@@ -1,8 +1,8 @@
1
1
  import { TreeItem } from "./treeContext.js";
2
2
  import "./EFTreeItem.js";
3
- import * as lit12 from "lit";
3
+ import * as lit14 from "lit";
4
4
  import { LitElement, PropertyValues } from "lit";
5
- import * as lit_html12 from "lit-html";
5
+ import * as lit_html14 from "lit-html";
6
6
 
7
7
  //#region src/gui/tree/EFTree.d.ts
8
8
 
@@ -29,7 +29,7 @@ import * as lit_html12 from "lit-html";
29
29
  * ```
30
30
  */
31
31
  declare class EFTree extends LitElement {
32
- static styles: lit12.CSSResult;
32
+ static styles: lit14.CSSResult;
33
33
  /** Tree items to display */
34
34
  items: TreeItem[];
35
35
  /** Optional header text */
@@ -48,7 +48,7 @@ declare class EFTree extends LitElement {
48
48
  protected willUpdate(changedProperties: PropertyValues): void;
49
49
  protected updated(changedProperties: PropertyValues): void;
50
50
  connectedCallback(): void;
51
- render(): lit_html12.TemplateResult<1>;
51
+ render(): lit_html14.TemplateResult<1>;
52
52
  }
53
53
  declare global {
54
54
  interface HTMLElementTagNameMap {
@@ -1,7 +1,7 @@
1
1
  import { TreeContext, TreeItem } from "./treeContext.js";
2
- import * as lit13 from "lit";
2
+ import * as lit15 from "lit";
3
3
  import { LitElement, nothing } from "lit";
4
- import * as lit_html13 from "lit-html";
4
+ import * as lit_html15 from "lit-html";
5
5
 
6
6
  //#region src/gui/tree/EFTreeItem.d.ts
7
7
 
@@ -17,7 +17,7 @@ import * as lit_html13 from "lit-html";
17
17
  * @fires tree-item-click - When item is clicked (for selection)
18
18
  */
19
19
  declare class EFTreeItem extends LitElement {
20
- static styles: lit13.CSSResult;
20
+ static styles: lit15.CSSResult;
21
21
  treeContext?: TreeContext;
22
22
  item: TreeItem;
23
23
  private localExpanded;
@@ -26,7 +26,7 @@ declare class EFTreeItem extends LitElement {
26
26
  get hasChildren(): boolean;
27
27
  private handleClick;
28
28
  private handleExpandClick;
29
- render(): lit_html13.TemplateResult<1> | typeof nothing;
29
+ render(): lit_html15.TemplateResult<1> | typeof nothing;
30
30
  }
31
31
  declare global {
32
32
  interface HTMLElementTagNameMap {
package/dist/style.css CHANGED
@@ -777,3 +777,36 @@ video {
777
777
  .ease-out {
778
778
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
779
779
  }
780
+
781
+ /* Caption element styles - default behavior is block container with inline text flow */
782
+ ef-captions {
783
+ display: block;
784
+ white-space: normal;
785
+ word-wrap: break-word;
786
+ overflow-wrap: break-word;
787
+ line-height: inherit;
788
+ }
789
+
790
+ /* Child elements are transparent to layout - text flows as if they don't exist */
791
+ ef-captions-segment,
792
+ ef-captions-before-active-word,
793
+ ef-captions-active-word,
794
+ ef-captions-after-active-word {
795
+ display: inline;
796
+ white-space: normal;
797
+ word-wrap: inherit;
798
+ overflow-wrap: inherit;
799
+ line-height: inherit;
800
+ /* Remove any default spacing that might interfere with text flow */
801
+ margin: 0;
802
+ padding: 0;
803
+ border: 0;
804
+ }
805
+
806
+ /* Hidden state */
807
+ ef-captions-segment[hidden],
808
+ ef-captions-before-active-word[hidden],
809
+ ef-captions-active-word[hidden],
810
+ ef-captions-after-active-word[hidden] {
811
+ display: none;
812
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/elements",
3
- "version": "0.36.0-beta",
3
+ "version": "0.36.1-beta",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "license": "UNLICENSED",
14
14
  "dependencies": {
15
15
  "@bramus/style-observer": "^1.3.0",
16
- "@editframe/assets": "0.36.0-beta",
16
+ "@editframe/assets": "0.36.1-beta",
17
17
  "@lit/context": "^1.1.6",
18
18
  "@opentelemetry/api": "^1.9.0",
19
19
  "@opentelemetry/context-zone": "^1.26.0",