@layers-app/editor-video 0.1.6 → 0.1.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.
Files changed (29) hide show
  1. package/dist/index.css +17 -3
  2. package/dist/index.js +800 -545
  3. package/dist/index.js.map +1 -1
  4. package/dist/plugin/behaviour.d.ts.map +1 -1
  5. package/dist/types/index.d.ts +1 -0
  6. package/dist/types/index.d.ts.map +1 -1
  7. package/dist/ui/VideoBlock.d.ts.map +1 -1
  8. package/dist/ui/VideoUploadComponent.d.ts.map +1 -1
  9. package/dist/ui/components/VideoCustomControls.d.ts.map +1 -1
  10. package/dist/ui/components/VideoSettingsModal/ChaptersSection.d.ts +3 -1
  11. package/dist/ui/components/VideoSettingsModal/ChaptersSection.d.ts.map +1 -1
  12. package/dist/ui/components/VideoSettingsModal/CoverSection.d.ts.map +1 -1
  13. package/dist/ui/components/VideoSettingsModal/FooterActions.d.ts +2 -1
  14. package/dist/ui/components/VideoSettingsModal/FooterActions.d.ts.map +1 -1
  15. package/dist/ui/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts +2 -1
  16. package/dist/ui/components/VideoSettingsModal/ManualSubtitlesPanel.d.ts.map +1 -1
  17. package/dist/ui/components/VideoSettingsModal/SubtitlesSection.d.ts.map +1 -1
  18. package/dist/ui/components/VideoSettingsModal/index.d.ts +2 -1
  19. package/dist/ui/components/VideoSettingsModal/index.d.ts.map +1 -1
  20. package/dist/ui/components/VideoSubtitlesMenu/index.d.ts.map +1 -1
  21. package/dist/ui/hooks/useVideoTranscoding.d.ts.map +1 -1
  22. package/dist/ui/hooks/useVideoUpload.d.ts.map +1 -1
  23. package/dist/ui/states/UploadState.d.ts.map +1 -1
  24. package/dist/ui/states/VideoPlayerState.d.ts +3 -1
  25. package/dist/ui/states/VideoPlayerState.d.ts.map +1 -1
  26. package/dist/ui/utils/api.d.ts.map +1 -1
  27. package/dist/ui/utils/videoSubtitlesApi.d.ts +5 -0
  28. package/dist/ui/utils/videoSubtitlesApi.d.ts.map +1 -1
  29. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -30,8 +30,13 @@ div.doc-space-styles-provider .video-upload-container *::after {
30
30
  gap: 0;
31
31
  }
32
32
 
33
+ .video-upload-container[data-state=analysis],
34
+ .video-upload-container[data-state=conversion] {
35
+ padding: 0;
36
+ }
37
+
33
38
  .video-upload-container[data-state=video-preview] {
34
- padding: 0 4px 4px 4px;
39
+ padding: 0;
35
40
  background: var(--mantine-color-gray-light, rgba(134, 142, 150, 0.1));
36
41
  gap: 0;
37
42
  }
@@ -102,6 +107,11 @@ div.doc-space-styles-provider .video-upload-container *::after {
102
107
  justify-content: center;
103
108
  }
104
109
 
110
+ .media-wrapper:has(.video-upload-container[data-state=video-preview]) > .media-actions {
111
+ top: 4px;
112
+ right: 4px;
113
+ }
114
+
105
115
  .media-wrapper:has(.video-upload-container:not([data-state=video-preview])) > .media-actions {
106
116
  top: 5px;
107
117
  right: 6px;
@@ -1014,7 +1024,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
1014
1024
  }
1015
1025
 
1016
1026
  .video-player-chapters-item--active .video-player-chapters-item-time {
1017
- background: var(--mantine-color-blue-filled, #1971c2);
1027
+ background: var(--mantine-primary-color-filled);
1018
1028
  color: #fff;
1019
1029
  }
1020
1030
 
@@ -1029,7 +1039,7 @@ div.doc-space-styles-provider .video-upload-container *::after {
1029
1039
  font-size: var(--mantine-font-size-xs, 12px);
1030
1040
  font-weight: 600;
1031
1041
  line-height: 1.4;
1032
- color: var(--mantine-color-blue-text, #4dabf7);
1042
+ color: var(--mantine-primary-color-text);
1033
1043
  }
1034
1044
 
1035
1045
  .video-player-chapters-item-title {
@@ -1217,6 +1227,10 @@ div.video-player-menu-dropdown .video-menu-item-text {
1217
1227
  scrollbar-width: thin;
1218
1228
  scrollbar-color: var(--mantine-color-gray-3) transparent;
1219
1229
  }
1230
+ .video-settings-modal .video-settings-modal-footer {
1231
+ padding: 8px var(--mantine-spacing-md, 16px) var(--mantine-spacing-sm, 12px);
1232
+ flex-shrink: 0;
1233
+ }
1220
1234
  .video-settings-modal .mantine-Switch-track {
1221
1235
  cursor: pointer;
1222
1236
  }