softbuilders-react-video-player 1.3.8 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -21
- package/dist/components/ControlBar/index.d.ts +2 -1
- package/dist/components/ControlBar/index.js +11 -1
- package/dist/components/ControlBar/index.js.map +1 -1
- package/dist/components/ControlBar/index.tsx +11 -0
- package/dist/components/CurrentTimeLabel/index.tsx +13 -13
- package/dist/components/Menu/index.tsx +49 -49
- package/dist/components/SoftBuildersVideoPlayer/index.js +1 -0
- package/dist/components/SoftBuildersVideoPlayer/index.js.map +1 -1
- package/dist/components/SoftBuildersVideoPlayer/index.tsx +1 -0
- package/dist/components/VideoPlayerComponent/index.js +15 -7
- package/dist/components/VideoPlayerComponent/index.js.map +1 -1
- package/dist/components/VideoPlayerComponent/index.tsx +17 -5
- package/dist/components/VideoPlayerComponent/provider.tsx +82 -82
- package/dist/components/VideoPlayerComponent/style/style.css +2 -1
- package/dist/components/VolumeSlider/index.js +2 -2
- package/dist/components/VolumeSlider/index.js.map +1 -1
- package/dist/components/VolumeSlider/index.tsx +3 -3
- package/dist/components/icons/SkillamiIcon.tsx +25 -25
- package/dist/components/icons/SubIcon.tsx +27 -27
- package/dist/components/icons/VolumeHigh.tsx +15 -15
- package/dist/components/icons/VolumeLow.tsx +14 -14
- package/dist/components/icons/VolumeMute.tsx +25 -25
- package/dist/components/icons/VolumeVLow.tsx +14 -14
- package/dist/components/icons/index.ts +20 -20
- package/dist/index.css +2 -1
- package/dist/index.mjs +32 -11
- package/dist/styles/tailwind.css +130 -130
- package/package.json +1 -1
- package/dist/components/icons/VolumeHighIcon.d.ts +0 -3
- package/dist/components/icons/VolumeHighIcon.js +0 -4
- package/dist/components/icons/VolumeHighIcon.js.map +0 -1
- package/dist/components/icons/VolumeHighIcon.tsx +0 -16
- package/dist/components/icons/VolumeIconHigh.d.ts +0 -3
- package/dist/components/icons/VolumeIconHigh.js +0 -4
- package/dist/components/icons/VolumeIconHigh.js.map +0 -1
- package/dist/components/icons/VolumeIconHigh.tsx +0 -16
- package/dist/components/icons/VolumeIconLow copy.d.ts +0 -3
- package/dist/components/icons/VolumeIconLow copy.js +0 -4
- package/dist/components/icons/VolumeIconLow copy.js.map +0 -1
- package/dist/components/icons/VolumeIconLow copy.tsx +0 -17
- package/dist/components/icons/VolumeLowIcon.d.ts +0 -3
- package/dist/components/icons/VolumeLowIcon.js +0 -4
- package/dist/components/icons/VolumeLowIcon.js.map +0 -1
- package/dist/components/icons/VolumeLowIcon.tsx +0 -15
package/dist/index.mjs
CHANGED
@@ -740,7 +740,7 @@ var VolumeSlider = ({
|
|
740
740
|
className: `sb-flex sb-relative ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "-sb-top-1" : "sb-top-1"}`,
|
741
741
|
onClick: toggleVisibility,
|
742
742
|
onDoubleClick: handleDoubleClick,
|
743
|
-
children: player && (volume == 0
|
743
|
+
children: player && (volume == 0 ? /* @__PURE__ */ jsx24(
|
744
744
|
VolumeMute_default,
|
745
745
|
{
|
746
746
|
className: `sb-w-3 sb-h-3 ${width < 400 && (player == null ? void 0 : player.isFullscreen_) === false || isTrailer ? "" : ""} sb-h-5 sb-w-5`
|
@@ -770,7 +770,7 @@ var VolumeSlider = ({
|
|
770
770
|
children: /* @__PURE__ */ jsx24(
|
771
771
|
Slider_default,
|
772
772
|
{
|
773
|
-
onMouseMove
|
773
|
+
onMouseMove,
|
774
774
|
setNoteOpen,
|
775
775
|
value: volume,
|
776
776
|
handleValueChange,
|
@@ -1574,7 +1574,8 @@ var ControlBar = ({
|
|
1574
1574
|
setNoteOpen,
|
1575
1575
|
disableNote,
|
1576
1576
|
noteButtonClick,
|
1577
|
-
isTrailer
|
1577
|
+
isTrailer,
|
1578
|
+
isFullscreen
|
1578
1579
|
}) => {
|
1579
1580
|
var _a, _b, _c;
|
1580
1581
|
const { setPlayer, setDuration } = useSoftBuildersVideoPlayerContext();
|
@@ -1597,6 +1598,15 @@ var ControlBar = ({
|
|
1597
1598
|
handleWidthChange(currentWidth);
|
1598
1599
|
}
|
1599
1600
|
});
|
1601
|
+
useEffect14(() => {
|
1602
|
+
if (player && isFullscreen) {
|
1603
|
+
if (player == null ? void 0 : player.isFullscreen()) {
|
1604
|
+
player == null ? void 0 : player.exitFullscreen();
|
1605
|
+
} else {
|
1606
|
+
player == null ? void 0 : player.requestFullscreen();
|
1607
|
+
}
|
1608
|
+
}
|
1609
|
+
}, [isFullscreen]);
|
1600
1610
|
container && resizeObserver.observe(container);
|
1601
1611
|
const togglePlay = (e) => {
|
1602
1612
|
e.preventDefault();
|
@@ -1855,7 +1865,7 @@ var renderBigPlayButton = (id, player, isPaused, setIsPaused, opacity = "100", h
|
|
1855
1865
|
};
|
1856
1866
|
var controlBarRoot = {};
|
1857
1867
|
var renderControlBar = (id, player, isPaused, setIsPaused, duration, notes, chapters, seekStep = 5, handleSaveNoteAction, opacity = "0", handleControlDisplayTimer = () => {
|
1858
|
-
}, bgColor = "transparent", setIsQualityMenuOpen, setIsSubtitleMenuOpen, disableNote, setNoteOpen, noteButtonClick, isTrailer) => {
|
1868
|
+
}, bgColor = "transparent", setIsQualityMenuOpen, setIsSubtitleMenuOpen, disableNote, setNoteOpen, noteButtonClick, isTrailer, isFullscreen) => {
|
1859
1869
|
const container = document.getElementById(`video-container-${id}`);
|
1860
1870
|
if (container) {
|
1861
1871
|
container.style.height = "100%";
|
@@ -1889,7 +1899,8 @@ var renderControlBar = (id, player, isPaused, setIsPaused, duration, notes, chap
|
|
1889
1899
|
disableNote,
|
1890
1900
|
setNoteOpen,
|
1891
1901
|
noteButtonClick,
|
1892
|
-
isTrailer
|
1902
|
+
isTrailer,
|
1903
|
+
isFullscreen
|
1893
1904
|
}
|
1894
1905
|
) })
|
1895
1906
|
);
|
@@ -1914,7 +1925,7 @@ var VideoPlayerComponent = ({
|
|
1914
1925
|
isTrailer,
|
1915
1926
|
height
|
1916
1927
|
}) => {
|
1917
|
-
var _a, _b;
|
1928
|
+
var _a, _b, _c;
|
1918
1929
|
const videoRef = useRef2(void 0);
|
1919
1930
|
const playerRef = useRef2(void 0);
|
1920
1931
|
const idRef = useRef2(void 0);
|
@@ -1959,6 +1970,7 @@ var VideoPlayerComponent = ({
|
|
1959
1970
|
videoElement.style.width = "100%";
|
1960
1971
|
videoElement.style.height = "100%";
|
1961
1972
|
videoElement.style.objectFit = "cover";
|
1973
|
+
videoElement.style.paddingTop = "0";
|
1962
1974
|
playerRef.current = videojs(videoElement, options, () => {
|
1963
1975
|
onReady(playerRef.current);
|
1964
1976
|
});
|
@@ -2040,6 +2052,7 @@ var VideoPlayerComponent = ({
|
|
2040
2052
|
}
|
2041
2053
|
}
|
2042
2054
|
}, [isPaused]);
|
2055
|
+
const [isFullscreen, setFullScreen] = useState14(false);
|
2043
2056
|
useEffect15(() => {
|
2044
2057
|
const controlBarTimeout = setTimeout(() => {
|
2045
2058
|
renderControlBar(
|
@@ -2062,7 +2075,8 @@ var VideoPlayerComponent = ({
|
|
2062
2075
|
disableNote,
|
2063
2076
|
setNoteOpen,
|
2064
2077
|
noteButtonClick,
|
2065
|
-
isTrailer
|
2078
|
+
isTrailer,
|
2079
|
+
isFullscreen
|
2066
2080
|
);
|
2067
2081
|
}, 0);
|
2068
2082
|
return () => clearTimeout(controlBarTimeout);
|
@@ -2075,7 +2089,9 @@ var VideoPlayerComponent = ({
|
|
2075
2089
|
opacity,
|
2076
2090
|
isReady,
|
2077
2091
|
id,
|
2078
|
-
(_b = playerRef == null ? void 0 : playerRef.current) == null ? void 0 : _b.isFullscreen_
|
2092
|
+
(_b = playerRef == null ? void 0 : playerRef.current) == null ? void 0 : _b.isFullscreen_,
|
2093
|
+
isFullscreen,
|
2094
|
+
(_c = options == null ? void 0 : options.sources[0]) == null ? void 0 : _c.type
|
2079
2095
|
]);
|
2080
2096
|
useEffect15(() => {
|
2081
2097
|
if (isReady) {
|
@@ -2285,10 +2301,14 @@ var VideoPlayerComponent = ({
|
|
2285
2301
|
children: /* @__PURE__ */ jsx41(
|
2286
2302
|
"div",
|
2287
2303
|
{
|
2288
|
-
onDoubleClick: () => {
|
2289
|
-
|
2304
|
+
onDoubleClick: (e) => {
|
2305
|
+
e.preventDefault();
|
2306
|
+
e.stopPropagation();
|
2290
2307
|
if (playerRef.current) {
|
2291
|
-
(
|
2308
|
+
setFullScreen(true);
|
2309
|
+
setTimeout(() => {
|
2310
|
+
setFullScreen(false);
|
2311
|
+
}, 0);
|
2292
2312
|
}
|
2293
2313
|
},
|
2294
2314
|
onClick: handlePlayerClick,
|
@@ -2377,6 +2397,7 @@ var Component = ({
|
|
2377
2397
|
useEffect16(() => {
|
2378
2398
|
setUuid(uuidv4());
|
2379
2399
|
}, []);
|
2400
|
+
console.log(options, "options");
|
2380
2401
|
return /* @__PURE__ */ jsx42(
|
2381
2402
|
VideoPlayerComponent_default,
|
2382
2403
|
{
|
package/dist/styles/tailwind.css
CHANGED
@@ -498,433 +498,433 @@ video {
|
|
498
498
|
/* Make elements with the HTML hidden attribute stay hidden by default */
|
499
499
|
[hidden] {
|
500
500
|
display: none;
|
501
|
-
}
|
501
|
+
}
|
502
502
|
.sb-visible {
|
503
503
|
visibility: visible;
|
504
|
-
}
|
504
|
+
}
|
505
505
|
.sb-invisible {
|
506
506
|
visibility: hidden;
|
507
|
-
}
|
507
|
+
}
|
508
508
|
.sb-absolute {
|
509
509
|
position: absolute;
|
510
|
-
}
|
510
|
+
}
|
511
511
|
.sb-relative {
|
512
512
|
position: relative;
|
513
|
-
}
|
513
|
+
}
|
514
514
|
.\!sb-bottom-\[105\%\] {
|
515
515
|
bottom: 105% !important;
|
516
|
-
}
|
516
|
+
}
|
517
517
|
.\!sb-top-8 {
|
518
518
|
top: 2rem !important;
|
519
|
-
}
|
519
|
+
}
|
520
520
|
.\!sb-top-\[105\%\] {
|
521
521
|
top: 105% !important;
|
522
|
-
}
|
522
|
+
}
|
523
523
|
.-sb-left-9 {
|
524
524
|
left: -2.25rem;
|
525
|
-
}
|
525
|
+
}
|
526
526
|
.-sb-left-\[9\.75rem\] {
|
527
527
|
left: -9.75rem;
|
528
|
-
}
|
528
|
+
}
|
529
529
|
.-sb-right-2 {
|
530
530
|
right: -0.5rem;
|
531
|
-
}
|
531
|
+
}
|
532
532
|
.-sb-top-1 {
|
533
533
|
top: -0.25rem;
|
534
|
-
}
|
534
|
+
}
|
535
535
|
.-sb-top-2 {
|
536
536
|
top: -0.5rem;
|
537
|
-
}
|
537
|
+
}
|
538
538
|
.sb-bottom-0 {
|
539
539
|
bottom: 0px;
|
540
|
-
}
|
540
|
+
}
|
541
541
|
.sb-bottom-1 {
|
542
542
|
bottom: 0.25rem;
|
543
|
-
}
|
543
|
+
}
|
544
544
|
.sb-bottom-10 {
|
545
545
|
bottom: 2.5rem;
|
546
|
-
}
|
546
|
+
}
|
547
547
|
.sb-bottom-2 {
|
548
548
|
bottom: 0.5rem;
|
549
|
-
}
|
549
|
+
}
|
550
550
|
.sb-bottom-full {
|
551
551
|
bottom: 100%;
|
552
|
-
}
|
552
|
+
}
|
553
553
|
.sb-left-0 {
|
554
554
|
left: 0px;
|
555
|
-
}
|
555
|
+
}
|
556
556
|
.sb-left-1\/2 {
|
557
557
|
left: 50%;
|
558
|
-
}
|
558
|
+
}
|
559
559
|
.sb-right-0 {
|
560
560
|
right: 0px;
|
561
|
-
}
|
561
|
+
}
|
562
562
|
.sb-top-0 {
|
563
563
|
top: 0px;
|
564
|
-
}
|
564
|
+
}
|
565
565
|
.sb-top-1 {
|
566
566
|
top: 0.25rem;
|
567
|
-
}
|
567
|
+
}
|
568
568
|
.sb-top-2 {
|
569
569
|
top: 0.5rem;
|
570
|
-
}
|
570
|
+
}
|
571
571
|
.sb-top-\[27\%\] {
|
572
572
|
top: 27%;
|
573
|
-
}
|
573
|
+
}
|
574
574
|
.sb-z-10 {
|
575
575
|
z-index: 10;
|
576
|
-
}
|
576
|
+
}
|
577
577
|
.sb-z-20 {
|
578
578
|
z-index: 20;
|
579
|
-
}
|
579
|
+
}
|
580
580
|
.sb-z-30 {
|
581
581
|
z-index: 30;
|
582
|
-
}
|
582
|
+
}
|
583
583
|
.sb-col-span-3 {
|
584
584
|
grid-column: span 3 / span 3;
|
585
|
-
}
|
585
|
+
}
|
586
586
|
.sb-col-span-9 {
|
587
587
|
grid-column: span 9 / span 9;
|
588
|
-
}
|
588
|
+
}
|
589
589
|
.sb-my-2 {
|
590
590
|
margin-top: 0.5rem;
|
591
591
|
margin-bottom: 0.5rem;
|
592
|
-
}
|
592
|
+
}
|
593
593
|
.sb-mb-1 {
|
594
594
|
margin-bottom: 0.25rem;
|
595
|
-
}
|
595
|
+
}
|
596
596
|
.sb-mb-2 {
|
597
597
|
margin-bottom: 0.5rem;
|
598
|
-
}
|
598
|
+
}
|
599
599
|
.sb-ml-0 {
|
600
600
|
margin-left: 0px;
|
601
|
-
}
|
601
|
+
}
|
602
602
|
.sb-mr-0 {
|
603
603
|
margin-right: 0px;
|
604
|
-
}
|
604
|
+
}
|
605
605
|
.sb-flex {
|
606
606
|
display: flex;
|
607
|
-
}
|
607
|
+
}
|
608
608
|
.sb-grid {
|
609
609
|
display: grid;
|
610
|
-
}
|
610
|
+
}
|
611
611
|
.sb-h-1 {
|
612
612
|
height: 0.25rem;
|
613
|
-
}
|
613
|
+
}
|
614
614
|
.sb-h-16 {
|
615
615
|
height: 4rem;
|
616
|
-
}
|
616
|
+
}
|
617
617
|
.sb-h-2 {
|
618
618
|
height: 0.5rem;
|
619
|
-
}
|
619
|
+
}
|
620
620
|
.sb-h-3 {
|
621
621
|
height: 0.75rem;
|
622
|
-
}
|
622
|
+
}
|
623
623
|
.sb-h-4 {
|
624
624
|
height: 1rem;
|
625
|
-
}
|
625
|
+
}
|
626
626
|
.sb-h-5 {
|
627
627
|
height: 1.25rem;
|
628
|
-
}
|
628
|
+
}
|
629
629
|
.sb-h-\[\.1px\] {
|
630
630
|
height: .1px;
|
631
|
-
}
|
631
|
+
}
|
632
632
|
.sb-h-\[3px\] {
|
633
633
|
height: 3px;
|
634
|
-
}
|
634
|
+
}
|
635
635
|
.sb-h-full {
|
636
636
|
height: 100%;
|
637
|
-
}
|
637
|
+
}
|
638
638
|
.\!sb-w-16 {
|
639
639
|
width: 4rem !important;
|
640
|
-
}
|
640
|
+
}
|
641
641
|
.sb-w-1 {
|
642
642
|
width: 0.25rem;
|
643
|
-
}
|
643
|
+
}
|
644
644
|
.sb-w-16 {
|
645
645
|
width: 4rem;
|
646
|
-
}
|
646
|
+
}
|
647
647
|
.sb-w-3 {
|
648
648
|
width: 0.75rem;
|
649
|
-
}
|
649
|
+
}
|
650
650
|
.sb-w-4 {
|
651
651
|
width: 1rem;
|
652
|
-
}
|
652
|
+
}
|
653
653
|
.sb-w-5 {
|
654
654
|
width: 1.25rem;
|
655
|
-
}
|
655
|
+
}
|
656
656
|
.sb-w-\[150px\] {
|
657
657
|
width: 150px;
|
658
|
-
}
|
658
|
+
}
|
659
659
|
.sb-w-\[220px\] {
|
660
660
|
width: 220px;
|
661
|
-
}
|
661
|
+
}
|
662
662
|
.sb-w-\[22px\] {
|
663
663
|
width: 22px;
|
664
|
-
}
|
664
|
+
}
|
665
665
|
.sb-w-\[90px\] {
|
666
666
|
width: 90px;
|
667
|
-
}
|
667
|
+
}
|
668
668
|
.sb-w-full {
|
669
669
|
width: 100%;
|
670
|
-
}
|
670
|
+
}
|
671
671
|
.sb-flex-1 {
|
672
672
|
flex: 1 1 0%;
|
673
|
-
}
|
673
|
+
}
|
674
674
|
.sb-border-spacing-x-2 {
|
675
675
|
--tw-border-spacing-x: 0.5rem;
|
676
676
|
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
|
677
|
-
}
|
677
|
+
}
|
678
678
|
.-sb-translate-y-0 {
|
679
679
|
--tw-translate-y: -0px;
|
680
680
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
681
|
-
}
|
681
|
+
}
|
682
682
|
.-sb-translate-y-1 {
|
683
683
|
--tw-translate-y: -0.25rem;
|
684
684
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
685
|
-
}
|
685
|
+
}
|
686
686
|
.sb--translate-x-1\/2 {
|
687
687
|
--tw-translate-x: -50%;
|
688
688
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
689
|
-
}
|
689
|
+
}
|
690
690
|
.sb-translate-y-1 {
|
691
691
|
--tw-translate-y: 0.25rem;
|
692
692
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
693
|
-
}
|
693
|
+
}
|
694
694
|
.-sb-rotate-90 {
|
695
695
|
--tw-rotate: -90deg;
|
696
696
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
697
|
-
}
|
697
|
+
}
|
698
698
|
.sb-rotate-90 {
|
699
699
|
--tw-rotate: 90deg;
|
700
700
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
701
|
-
}
|
701
|
+
}
|
702
702
|
.sb-transform {
|
703
703
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
704
|
-
}
|
704
|
+
}
|
705
705
|
@keyframes sb-spin {
|
706
706
|
|
707
707
|
to {
|
708
708
|
transform: rotate(360deg);
|
709
709
|
}
|
710
|
-
}
|
710
|
+
}
|
711
711
|
.sb-animate-spin {
|
712
712
|
animation: sb-spin 1s linear infinite;
|
713
|
-
}
|
713
|
+
}
|
714
714
|
.sb-cursor-pointer {
|
715
715
|
cursor: pointer;
|
716
|
-
}
|
716
|
+
}
|
717
717
|
.sb-appearance-none {
|
718
718
|
-webkit-appearance: none;
|
719
719
|
-moz-appearance: none;
|
720
720
|
appearance: none;
|
721
|
-
}
|
721
|
+
}
|
722
722
|
.sb-grid-cols-12 {
|
723
723
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
724
|
-
}
|
724
|
+
}
|
725
725
|
.sb-flex-row {
|
726
726
|
flex-direction: row;
|
727
|
-
}
|
727
|
+
}
|
728
728
|
.sb-flex-col {
|
729
729
|
flex-direction: column;
|
730
|
-
}
|
730
|
+
}
|
731
731
|
.sb-flex-col-reverse {
|
732
732
|
flex-direction: column-reverse;
|
733
|
-
}
|
733
|
+
}
|
734
734
|
.sb-items-start {
|
735
735
|
align-items: flex-start;
|
736
|
-
}
|
736
|
+
}
|
737
737
|
.sb-items-end {
|
738
738
|
align-items: flex-end;
|
739
|
-
}
|
739
|
+
}
|
740
740
|
.sb-items-center {
|
741
741
|
align-items: center;
|
742
|
-
}
|
742
|
+
}
|
743
743
|
.sb-justify-start {
|
744
744
|
justify-content: flex-start;
|
745
|
-
}
|
745
|
+
}
|
746
746
|
.sb-justify-center {
|
747
747
|
justify-content: center;
|
748
|
-
}
|
748
|
+
}
|
749
749
|
.sb-justify-between {
|
750
750
|
justify-content: space-between;
|
751
|
-
}
|
751
|
+
}
|
752
752
|
.sb-gap-1 {
|
753
753
|
gap: 0.25rem;
|
754
|
-
}
|
754
|
+
}
|
755
755
|
.sb-gap-2 {
|
756
756
|
gap: 0.5rem;
|
757
|
-
}
|
757
|
+
}
|
758
758
|
.sb-gap-3 {
|
759
759
|
gap: 0.75rem;
|
760
|
-
}
|
760
|
+
}
|
761
761
|
.sb-gap-4 {
|
762
762
|
gap: 1rem;
|
763
|
-
}
|
763
|
+
}
|
764
764
|
.sb-overflow-hidden {
|
765
765
|
overflow: hidden;
|
766
|
-
}
|
766
|
+
}
|
767
767
|
.sb-whitespace-nowrap {
|
768
768
|
white-space: nowrap;
|
769
|
-
}
|
769
|
+
}
|
770
770
|
.sb-rounded-full {
|
771
771
|
border-radius: 9999px;
|
772
|
-
}
|
772
|
+
}
|
773
773
|
.sb-rounded-lg {
|
774
774
|
border-radius: 0.5rem;
|
775
|
-
}
|
775
|
+
}
|
776
776
|
.sb-rounded-md {
|
777
777
|
border-radius: 0.375rem;
|
778
|
-
}
|
778
|
+
}
|
779
779
|
.sb-border {
|
780
780
|
border-width: 1px;
|
781
|
-
}
|
781
|
+
}
|
782
782
|
.sb-border-\[\#AAAAAA\] {
|
783
783
|
--tw-border-opacity: 1;
|
784
784
|
border-color: rgb(170 170 170 / var(--tw-border-opacity));
|
785
|
-
}
|
785
|
+
}
|
786
786
|
.sb-bg-\[\#303030\] {
|
787
787
|
--tw-bg-opacity: 1;
|
788
788
|
background-color: rgb(48 48 48 / var(--tw-bg-opacity));
|
789
|
-
}
|
789
|
+
}
|
790
790
|
.sb-bg-\[\#AAAAAA\] {
|
791
791
|
--tw-bg-opacity: 1;
|
792
792
|
background-color: rgb(170 170 170 / var(--tw-bg-opacity));
|
793
|
-
}
|
793
|
+
}
|
794
794
|
.sb-bg-\[red\] {
|
795
795
|
--tw-bg-opacity: 1;
|
796
796
|
background-color: rgb(255 0 0 / var(--tw-bg-opacity));
|
797
|
-
}
|
797
|
+
}
|
798
798
|
.sb-bg-orange-500 {
|
799
799
|
--tw-bg-opacity: 1;
|
800
800
|
background-color: rgb(249 115 22 / var(--tw-bg-opacity));
|
801
|
-
}
|
801
|
+
}
|
802
802
|
.sb-bg-slate-400 {
|
803
803
|
--tw-bg-opacity: 1;
|
804
804
|
background-color: rgb(148 163 184 / var(--tw-bg-opacity));
|
805
|
-
}
|
805
|
+
}
|
806
806
|
.sb-bg-transparent {
|
807
807
|
background-color: transparent;
|
808
|
-
}
|
808
|
+
}
|
809
809
|
.sb-bg-white {
|
810
810
|
--tw-bg-opacity: 1;
|
811
811
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
812
|
-
}
|
812
|
+
}
|
813
813
|
.sb-bg-white\/30 {
|
814
814
|
background-color: rgb(255 255 255 / 0.3);
|
815
|
-
}
|
815
|
+
}
|
816
816
|
.sb-bg-opacity-50 {
|
817
817
|
--tw-bg-opacity: 0.5;
|
818
|
-
}
|
818
|
+
}
|
819
819
|
.sb-bg-opacity-70 {
|
820
820
|
--tw-bg-opacity: 0.7;
|
821
|
-
}
|
821
|
+
}
|
822
822
|
.sb-p-2 {
|
823
823
|
padding: 0.5rem;
|
824
|
-
}
|
824
|
+
}
|
825
825
|
.\!sb-px-4 {
|
826
826
|
padding-left: 1rem !important;
|
827
827
|
padding-right: 1rem !important;
|
828
|
-
}
|
828
|
+
}
|
829
829
|
.sb-px-4 {
|
830
830
|
padding-left: 1rem;
|
831
831
|
padding-right: 1rem;
|
832
|
-
}
|
832
|
+
}
|
833
833
|
.sb-px-5 {
|
834
834
|
padding-left: 1.25rem;
|
835
835
|
padding-right: 1.25rem;
|
836
|
-
}
|
836
|
+
}
|
837
837
|
.sb-py-1 {
|
838
838
|
padding-top: 0.25rem;
|
839
839
|
padding-bottom: 0.25rem;
|
840
|
-
}
|
840
|
+
}
|
841
841
|
.sb-py-2 {
|
842
842
|
padding-top: 0.5rem;
|
843
843
|
padding-bottom: 0.5rem;
|
844
|
-
}
|
844
|
+
}
|
845
845
|
.sb-py-3 {
|
846
846
|
padding-top: 0.75rem;
|
847
847
|
padding-bottom: 0.75rem;
|
848
|
-
}
|
848
|
+
}
|
849
849
|
.sb-py-5 {
|
850
850
|
padding-top: 1.25rem;
|
851
851
|
padding-bottom: 1.25rem;
|
852
|
-
}
|
852
|
+
}
|
853
853
|
.sb-pb-2 {
|
854
854
|
padding-bottom: 0.5rem;
|
855
|
-
}
|
855
|
+
}
|
856
856
|
.sb-pt-2 {
|
857
857
|
padding-top: 0.5rem;
|
858
|
-
}
|
858
|
+
}
|
859
859
|
.sb-text-left {
|
860
860
|
text-align: left;
|
861
|
-
}
|
861
|
+
}
|
862
862
|
.sb-text-center {
|
863
863
|
text-align: center;
|
864
|
-
}
|
864
|
+
}
|
865
865
|
.sb-font-bold {
|
866
866
|
font-weight: 700;
|
867
|
-
}
|
867
|
+
}
|
868
868
|
.sb-text-orange-900 {
|
869
869
|
--tw-text-opacity: 1;
|
870
870
|
color: rgb(124 45 18 / var(--tw-text-opacity));
|
871
|
-
}
|
871
|
+
}
|
872
872
|
.sb-text-white {
|
873
873
|
--tw-text-opacity: 1;
|
874
874
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
875
|
-
}
|
875
|
+
}
|
876
876
|
.sb-opacity-0 {
|
877
877
|
opacity: 0;
|
878
|
-
}
|
878
|
+
}
|
879
879
|
.sb-opacity-100 {
|
880
880
|
opacity: 1;
|
881
|
-
}
|
881
|
+
}
|
882
882
|
.sb-shadow-lg {
|
883
883
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
884
884
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
885
885
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
886
|
-
}
|
886
|
+
}
|
887
887
|
.sb-backdrop-blur-lg {
|
888
888
|
--tw-backdrop-blur: blur(16px);
|
889
889
|
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
890
890
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
891
|
-
}
|
891
|
+
}
|
892
892
|
.sb-transition-all {
|
893
893
|
transition-property: all;
|
894
894
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
895
895
|
transition-duration: 150ms;
|
896
|
-
}
|
896
|
+
}
|
897
897
|
.sb-transition-opacity {
|
898
898
|
transition-property: opacity;
|
899
899
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
900
900
|
transition-duration: 150ms;
|
901
|
-
}
|
901
|
+
}
|
902
902
|
.sb-duration-500 {
|
903
903
|
transition-duration: 500ms;
|
904
|
-
}
|
904
|
+
}
|
905
905
|
.sb-ease-in-out {
|
906
906
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
907
|
-
}
|
907
|
+
}
|
908
908
|
.placeholder\:sb-text-white::-moz-placeholder {
|
909
909
|
--tw-text-opacity: 1;
|
910
910
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
911
|
-
}
|
911
|
+
}
|
912
912
|
.placeholder\:sb-text-white::placeholder {
|
913
913
|
--tw-text-opacity: 1;
|
914
914
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
915
|
-
}
|
915
|
+
}
|
916
916
|
.hover\:sb-w-\[45\%\]:hover {
|
917
917
|
width: 45%;
|
918
|
-
}
|
918
|
+
}
|
919
919
|
.hover\:sb-scale-150:hover {
|
920
920
|
--tw-scale-x: 1.5;
|
921
921
|
--tw-scale-y: 1.5;
|
922
922
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
923
|
-
}
|
923
|
+
}
|
924
924
|
.hover\:sb-cursor-pointer:hover {
|
925
925
|
cursor: pointer;
|
926
|
-
}
|
926
|
+
}
|
927
927
|
.hover\:sb-text-orange-500:hover {
|
928
928
|
--tw-text-opacity: 1;
|
929
929
|
color: rgb(249 115 22 / var(--tw-text-opacity));
|
930
|
-
}
|
930
|
+
}
|
package/package.json
CHANGED