react-helios 2.1.0 → 2.1.1
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/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +46 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -357,6 +357,52 @@
|
|
|
357
357
|
flex-shrink: 0;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
+
/* ─── Context menu ────────────────────────────────────────────────────────── */
|
|
361
|
+
.contextMenu {
|
|
362
|
+
position: fixed;
|
|
363
|
+
z-index: 1000;
|
|
364
|
+
background-color: rgba(15, 15, 15, 0.95);
|
|
365
|
+
border-radius: 6px;
|
|
366
|
+
padding: 4px;
|
|
367
|
+
min-width: 210px;
|
|
368
|
+
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
|
|
369
|
+
backdrop-filter: blur(8px);
|
|
370
|
+
user-select: none;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.contextMenuItem {
|
|
374
|
+
display: flex;
|
|
375
|
+
align-items: center;
|
|
376
|
+
justify-content: space-between;
|
|
377
|
+
width: 100%;
|
|
378
|
+
padding: 8px 14px;
|
|
379
|
+
background: none;
|
|
380
|
+
border: none;
|
|
381
|
+
color: rgba(255, 255, 255, 0.85);
|
|
382
|
+
cursor: pointer;
|
|
383
|
+
text-align: left;
|
|
384
|
+
border-radius: 4px;
|
|
385
|
+
font-size: 13px;
|
|
386
|
+
transition: background-color 0.1s;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.contextMenuItem:hover {
|
|
390
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
391
|
+
color: #fff;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.contextMenuCheck {
|
|
395
|
+
color: #60a5fa;
|
|
396
|
+
font-size: 14px;
|
|
397
|
+
font-weight: 700;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.contextMenuDivider {
|
|
401
|
+
height: 1px;
|
|
402
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
403
|
+
margin: 4px 0;
|
|
404
|
+
}
|
|
405
|
+
|
|
360
406
|
|
|
361
407
|
/* ─── Progress bar container ─────────────────────────────────────────────── */
|
|
362
408
|
.progressContainer {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-helios",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Production-grade React video player with HLS, quality selection, live streams, subtitles, and VTT sprite thumbnail preview",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|