interview-widget 2.0.2 → 2.0.3
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/README.md +364 -364
- package/dist/widget.es.js +3 -3
- package/dist/widget.umd.js +1 -1
- package/package.json +66 -66
package/dist/widget.es.js
CHANGED
|
@@ -5254,7 +5254,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
5254
5254
|
},
|
|
5255
5255
|
[]
|
|
5256
5256
|
), r = T((s) => {
|
|
5257
|
-
const a = e.current.value / 100, c = 100, l = 20, u =
|
|
5257
|
+
const a = e.current.value / 100, c = 100, l = 20, u = 20, d = 40;
|
|
5258
5258
|
s.fillStyle = "rgba(0, 0, 0, 0.3)", s.fillRect(u, d, l, c), s.fillStyle = `rgba(${Math.floor(
|
|
5259
5259
|
255 * (1 - a)
|
|
5260
5260
|
)}, ${Math.floor(255 * a)}, 0, 0.8)`;
|
|
@@ -5282,7 +5282,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
5282
5282
|
clearCanvas: n,
|
|
5283
5283
|
engagementRef: e
|
|
5284
5284
|
};
|
|
5285
|
-
}, rh =
|
|
5285
|
+
}, rh = 50, ih = () => {
|
|
5286
5286
|
const [e, t] = A(100), [r, i] = A(!1), n = R(0), s = T(
|
|
5287
5287
|
(a, c, l) => {
|
|
5288
5288
|
if (!l || a.length < 468)
|
|
@@ -5959,7 +5959,7 @@ const or = new ch(), lh = (e, t, r, i) => {
|
|
|
5959
5959
|
"canvas",
|
|
5960
5960
|
{
|
|
5961
5961
|
ref: M,
|
|
5962
|
-
width:
|
|
5962
|
+
width: 320,
|
|
5963
5963
|
height: 240,
|
|
5964
5964
|
className: "iw-absolute iw-top-0 iw-left-0 iw-w-full iw-h-full iw-object-cover iw-scale-75 iw-rounded-r-xl iw-min-h-[200px] iw-max-h-[600px] iw-aspect-video",
|
|
5965
5965
|
style: {
|