scandoc-ai-components 0.0.49 → 0.0.50

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 (2) hide show
  1. package/dist/index.js +20 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11400,9 +11400,11 @@ class ExtractorVideo {
11400
11400
  <div class="desktopFeedback" id="ScanDocAIMessage"></div>
11401
11401
  <div class="desktopVideoArea">
11402
11402
  <div class="desktopVideoHolder">
11403
- <video id="ScanDocAIVideoElement" class="desktopVideo" autoPlay muted playsInline></video>
11404
- <div class="backgroundOverlay"></div>
11405
- <div class="desktopRectangle dashedRectangle"></div>
11403
+ <div class="videoWrapper">
11404
+ <video id="ScanDocAIVideoElement" class="desktopVideo" autoPlay muted playsInline></video>
11405
+ <div class="backgroundOverlay"></div>
11406
+ <div class="desktopRectangle dashedRectangle"></div>
11407
+ </div>
11406
11408
  </div>
11407
11409
  </div>
11408
11410
 
@@ -11425,25 +11427,30 @@ class ExtractorVideo {
11425
11427
  overflow: hidden;
11426
11428
  }
11427
11429
 
11430
+ .videoWrapper {
11431
+ position: relative;
11432
+ width: 100%;
11433
+ aspect-ratio: 16 / 9;
11434
+ }
11435
+
11428
11436
  .desktopVideo {
11429
11437
  width: 100%;
11430
- height: auto;
11431
- margin-left: auto;
11432
- margin-right: auto;
11433
- max-width: 100vw;
11434
- max-height: 100vh;
11438
+ height: 100%;
11439
+ object-fit: cover;
11440
+ display: block;
11435
11441
  }
11436
-
11442
+
11437
11443
  .desktopRectangle {
11438
11444
  position: absolute;
11439
- top: 32px;
11440
- right: 32px;
11441
- bottom: 32px;
11442
- left: 28px;
11445
+ top: 5%;
11446
+ left: 5%;
11447
+ right: 5%;
11448
+ bottom: 5%;
11443
11449
  border-radius: 30px;
11444
11450
  display: flex;
11445
11451
  justify-content: center;
11446
11452
  align-items: center;
11453
+ z-index: 3;
11447
11454
  }
11448
11455
 
11449
11456
  .dashedRectangle {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "scandoc-ai-components",
3
3
  "author": "ScanDoc-AI",
4
- "version": "0.0.49",
4
+ "version": "0.0.50",
5
5
  "private": false,
6
6
  "description": "Pure JavaScript package for integrating ScanDoc-AI services.",
7
7
  "keywords": [