@editframe/elements 0.36.0-beta → 0.36.2-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.
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.2-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.2-beta",
17
17
  "@lit/context": "^1.1.6",
18
18
  "@opentelemetry/api": "^1.9.0",
19
19
  "@opentelemetry/context-zone": "^1.26.0",