@usefy/screen-recorder 0.2.1 → 0.2.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/dist/index.js CHANGED
@@ -2681,7 +2681,7 @@ ScreenRecorder.displayName = "ScreenRecorder";
2681
2681
  background-color: #991b1b;
2682
2682
  }
2683
2683
 
2684
- /* components/Trigger/Trigger.module.scss */
2684
+ /* components/Controls/Timer.module.scss */
2685
2685
  @keyframes pulse {
2686
2686
  0%, 100% {
2687
2687
  opacity: 1;
@@ -2738,86 +2738,50 @@ ScreenRecorder.displayName = "ScreenRecorder";
2738
2738
  opacity: 1;
2739
2739
  }
2740
2740
  }
2741
- .Trigger_trigger__dtqfb {
2742
- -webkit-appearance: none;
2743
- -moz-appearance: none;
2744
- appearance: none;
2745
- background: none;
2746
- border: none;
2747
- padding: 0;
2748
- margin: 0;
2749
- font: inherit;
2750
- color: inherit;
2751
- cursor: pointer;
2752
- }
2753
- .Trigger_trigger__dtqfb:disabled {
2754
- cursor: not-allowed;
2755
- }
2756
- .Trigger_trigger__dtqfb {
2757
- position: fixed;
2758
- display: flex;
2759
- align-items: center;
2760
- justify-content: center;
2761
- gap: 0.5rem;
2762
- padding: 0.625rem 1rem;
2763
- border-radius: 9999px;
2764
- font-weight: 500;
2741
+ .Timer_timer__qru97 {
2742
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
2765
2743
  font-size: 0.875rem;
2766
2744
  line-height: 1.5;
2767
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
2768
- background-color: #dc2626;
2769
- color: white;
2770
- transition-property: all;
2771
- transition-duration: 200ms;
2772
- transition-timing-function: ease-out;
2773
- }
2774
- .Trigger_trigger__dtqfb:hover:not(:disabled) {
2775
- background-color: #b91c1c;
2776
- transform: scale(1.05);
2745
+ font-weight: 500;
2746
+ font-variant-numeric: tabular-nums;
2777
2747
  }
2778
- .Trigger_trigger__dtqfb:active:not(:disabled) {
2779
- background-color: #991b1b;
2780
- transform: scale(0.95);
2748
+
2749
+ .Timer_colorDefault__qru97 {
2750
+ color: #374151;
2781
2751
  }
2782
- .Trigger_trigger__dtqfb:focus {
2783
- outline: none;
2784
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
2752
+ .dark .Timer_colorDefault__qru97 {
2753
+ color: #d1d5db;
2785
2754
  }
2786
- .Trigger_trigger__dtqfb:disabled {
2787
- opacity: 0.5;
2788
- cursor: not-allowed;
2755
+
2756
+ .Timer_colorPaused__qru97 {
2757
+ color: #d97706;
2789
2758
  }
2790
- .Trigger_trigger__dtqfb:disabled:hover {
2791
- background-color: #dc2626;
2792
- transform: none;
2759
+ .dark .Timer_colorPaused__qru97 {
2760
+ color: #fbbf24;
2793
2761
  }
2794
2762
 
2795
- .Trigger_topLeft__dtqfb {
2796
- top: 1rem;
2797
- left: 1rem;
2763
+ .Timer_colorWarning__qru97 {
2764
+ color: #d97706;
2798
2765
  }
2799
-
2800
- .Trigger_topRight__dtqfb {
2801
- top: 1rem;
2802
- right: 1rem;
2766
+ .dark .Timer_colorWarning__qru97 {
2767
+ color: #fbbf24;
2803
2768
  }
2804
2769
 
2805
- .Trigger_bottomLeft__dtqfb {
2806
- bottom: 1rem;
2807
- left: 1rem;
2770
+ .Timer_colorCritical__qru97 {
2771
+ color: #dc2626;
2808
2772
  }
2809
-
2810
- .Trigger_bottomRight__dtqfb {
2811
- bottom: 1rem;
2812
- right: 1rem;
2773
+ .dark .Timer_colorCritical__qru97 {
2774
+ color: #f87171;
2813
2775
  }
2814
2776
 
2815
- .Trigger_icon__dtqfb {
2816
- width: 1.25rem;
2817
- height: 1.25rem;
2777
+ .Timer_maxDuration__qru97 {
2778
+ color: #9ca3af;
2779
+ }
2780
+ .dark .Timer_maxDuration__qru97 {
2781
+ color: #6b7280;
2818
2782
  }
2819
2783
 
2820
- /* components/Controls/Timer.module.scss */
2784
+ /* components/Preview/VideoPlayer.module.scss */
2821
2785
  @keyframes pulse {
2822
2786
  0%, 100% {
2823
2787
  opacity: 1;
@@ -2874,47 +2838,116 @@ ScreenRecorder.displayName = "ScreenRecorder";
2874
2838
  opacity: 1;
2875
2839
  }
2876
2840
  }
2877
- .Timer_timer__qru97 {
2878
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
2879
- font-size: 0.875rem;
2880
- line-height: 1.5;
2881
- font-weight: 500;
2882
- font-variant-numeric: tabular-nums;
2841
+ .VideoPlayer_container__4wok5 {
2842
+ position: relative;
2843
+ background-color: black;
2844
+ border-radius: 0.5rem;
2845
+ overflow: hidden;
2883
2846
  }
2884
2847
 
2885
- .Timer_colorDefault__qru97 {
2886
- color: #374151;
2848
+ .VideoPlayer_video__4wok5 {
2849
+ width: 100%;
2850
+ height: auto;
2887
2851
  }
2888
- .dark .Timer_colorDefault__qru97 {
2889
- color: #d1d5db;
2852
+
2853
+ .VideoPlayer_controlsOverlay__4wok5 {
2854
+ position: absolute;
2855
+ bottom: 0;
2856
+ left: 0;
2857
+ right: 0;
2858
+ background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
2859
+ padding: 0.75rem;
2890
2860
  }
2891
2861
 
2892
- .Timer_colorPaused__qru97 {
2893
- color: #d97706;
2862
+ .VideoPlayer_progressWrapper__4wok5 {
2863
+ display: flex;
2864
+ align-items: center;
2865
+ justify-content: center;
2866
+ gap: 0.5rem;
2867
+ margin-bottom: 0.5rem;
2894
2868
  }
2895
- .dark .Timer_colorPaused__qru97 {
2896
- color: #fbbf24;
2869
+
2870
+ .VideoPlayer_progressSlider__4wok5 {
2871
+ flex: 1;
2872
+ height: 0.25rem;
2873
+ border-radius: 9999px;
2874
+ -webkit-appearance: none;
2875
+ -moz-appearance: none;
2876
+ appearance: none;
2877
+ cursor: pointer;
2878
+ background-color: rgba(255, 255, 255, 0.3);
2879
+ }
2880
+ .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
2881
+ -webkit-appearance: none;
2882
+ appearance: none;
2883
+ width: 0.75rem;
2884
+ height: 0.75rem;
2885
+ border-radius: 9999px;
2886
+ background-color: white;
2887
+ }
2888
+ .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
2889
+ width: 0.75rem;
2890
+ height: 0.75rem;
2891
+ border-radius: 9999px;
2892
+ background-color: white;
2893
+ border: none;
2897
2894
  }
2898
2895
 
2899
- .Timer_colorWarning__qru97 {
2900
- color: #d97706;
2896
+ .VideoPlayer_bottomControls__4wok5 {
2897
+ display: flex;
2898
+ align-items: center;
2899
+ justify-content: space-between;
2901
2900
  }
2902
- .dark .Timer_colorWarning__qru97 {
2903
- color: #fbbf24;
2901
+
2902
+ .VideoPlayer_leftControls__4wok5 {
2903
+ display: flex;
2904
+ align-items: center;
2905
+ justify-content: center;
2906
+ gap: 0.5rem;
2904
2907
  }
2905
2908
 
2906
- .Timer_colorCritical__qru97 {
2907
- color: #dc2626;
2909
+ .VideoPlayer_playButton__4wok5 {
2910
+ -webkit-appearance: none;
2911
+ -moz-appearance: none;
2912
+ appearance: none;
2913
+ background: none;
2914
+ border: none;
2915
+ padding: 0;
2916
+ margin: 0;
2917
+ font: inherit;
2918
+ color: inherit;
2919
+ cursor: pointer;
2908
2920
  }
2909
- .dark .Timer_colorCritical__qru97 {
2910
- color: #f87171;
2921
+ .VideoPlayer_playButton__4wok5:disabled {
2922
+ cursor: not-allowed;
2923
+ }
2924
+ .VideoPlayer_playButton__4wok5 {
2925
+ padding: 0.375rem;
2926
+ border-radius: 9999px;
2927
+ transition-property: color, background-color, border-color;
2928
+ transition-duration: 200ms;
2929
+ transition-timing-function: ease-out;
2930
+ }
2931
+ .VideoPlayer_playButton__4wok5:hover {
2932
+ background-color: rgba(255, 255, 255, 0.2);
2933
+ }
2934
+ .VideoPlayer_playButton__4wok5:focus {
2935
+ outline: none;
2936
+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
2911
2937
  }
2912
2938
 
2913
- .Timer_maxDuration__qru97 {
2914
- color: #9ca3af;
2939
+ .VideoPlayer_playIcon__4wok5 {
2940
+ width: 1rem;
2941
+ height: 1rem;
2942
+ color: white;
2915
2943
  }
2916
- .dark .Timer_maxDuration__qru97 {
2917
- color: #6b7280;
2944
+
2945
+ .VideoPlayer_timeDisplay__4wok5 {
2946
+ color: rgba(255, 255, 255, 0.8);
2947
+ font-size: 0.75rem;
2948
+ line-height: 1.5;
2949
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
2950
+ font-variant-numeric: tabular-nums;
2918
2951
  }
2919
2952
 
2920
2953
  /* ScreenRecorder.module.scss */
@@ -2999,7 +3032,7 @@ ScreenRecorder.displayName = "ScreenRecorder";
2999
3032
  opacity: 0.75;
3000
3033
  }
3001
3034
 
3002
- /* components/Preview/VideoPlayer.module.scss */
3035
+ /* components/Trigger/Trigger.module.scss */
3003
3036
  @keyframes pulse {
3004
3037
  0%, 100% {
3005
3038
  opacity: 1;
@@ -3056,75 +3089,7 @@ ScreenRecorder.displayName = "ScreenRecorder";
3056
3089
  opacity: 1;
3057
3090
  }
3058
3091
  }
3059
- .VideoPlayer_container__4wok5 {
3060
- position: relative;
3061
- background-color: black;
3062
- border-radius: 0.5rem;
3063
- overflow: hidden;
3064
- }
3065
-
3066
- .VideoPlayer_video__4wok5 {
3067
- width: 100%;
3068
- height: auto;
3069
- }
3070
-
3071
- .VideoPlayer_controlsOverlay__4wok5 {
3072
- position: absolute;
3073
- bottom: 0;
3074
- left: 0;
3075
- right: 0;
3076
- background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
3077
- padding: 0.75rem;
3078
- }
3079
-
3080
- .VideoPlayer_progressWrapper__4wok5 {
3081
- display: flex;
3082
- align-items: center;
3083
- justify-content: center;
3084
- gap: 0.5rem;
3085
- margin-bottom: 0.5rem;
3086
- }
3087
-
3088
- .VideoPlayer_progressSlider__4wok5 {
3089
- flex: 1;
3090
- height: 0.25rem;
3091
- border-radius: 9999px;
3092
- -webkit-appearance: none;
3093
- -moz-appearance: none;
3094
- appearance: none;
3095
- cursor: pointer;
3096
- background-color: rgba(255, 255, 255, 0.3);
3097
- }
3098
- .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
3099
- -webkit-appearance: none;
3100
- appearance: none;
3101
- width: 0.75rem;
3102
- height: 0.75rem;
3103
- border-radius: 9999px;
3104
- background-color: white;
3105
- }
3106
- .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
3107
- width: 0.75rem;
3108
- height: 0.75rem;
3109
- border-radius: 9999px;
3110
- background-color: white;
3111
- border: none;
3112
- }
3113
-
3114
- .VideoPlayer_bottomControls__4wok5 {
3115
- display: flex;
3116
- align-items: center;
3117
- justify-content: space-between;
3118
- }
3119
-
3120
- .VideoPlayer_leftControls__4wok5 {
3121
- display: flex;
3122
- align-items: center;
3123
- justify-content: center;
3124
- gap: 0.5rem;
3125
- }
3126
-
3127
- .VideoPlayer_playButton__4wok5 {
3092
+ .Trigger_trigger__dtqfb {
3128
3093
  -webkit-appearance: none;
3129
3094
  -moz-appearance: none;
3130
3095
  appearance: none;
@@ -3136,36 +3101,71 @@ ScreenRecorder.displayName = "ScreenRecorder";
3136
3101
  color: inherit;
3137
3102
  cursor: pointer;
3138
3103
  }
3139
- .VideoPlayer_playButton__4wok5:disabled {
3104
+ .Trigger_trigger__dtqfb:disabled {
3140
3105
  cursor: not-allowed;
3141
3106
  }
3142
- .VideoPlayer_playButton__4wok5 {
3143
- padding: 0.375rem;
3107
+ .Trigger_trigger__dtqfb {
3108
+ position: fixed;
3109
+ display: flex;
3110
+ align-items: center;
3111
+ justify-content: center;
3112
+ gap: 0.5rem;
3113
+ padding: 0.625rem 1rem;
3144
3114
  border-radius: 9999px;
3145
- transition-property: color, background-color, border-color;
3115
+ font-weight: 500;
3116
+ font-size: 0.875rem;
3117
+ line-height: 1.5;
3118
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
3119
+ background-color: #dc2626;
3120
+ color: white;
3121
+ transition-property: all;
3146
3122
  transition-duration: 200ms;
3147
3123
  transition-timing-function: ease-out;
3148
3124
  }
3149
- .VideoPlayer_playButton__4wok5:hover {
3150
- background-color: rgba(255, 255, 255, 0.2);
3125
+ .Trigger_trigger__dtqfb:hover:not(:disabled) {
3126
+ background-color: #b91c1c;
3127
+ transform: scale(1.05);
3151
3128
  }
3152
- .VideoPlayer_playButton__4wok5:focus {
3129
+ .Trigger_trigger__dtqfb:active:not(:disabled) {
3130
+ background-color: #991b1b;
3131
+ transform: scale(0.95);
3132
+ }
3133
+ .Trigger_trigger__dtqfb:focus {
3153
3134
  outline: none;
3154
- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
3135
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
3136
+ }
3137
+ .Trigger_trigger__dtqfb:disabled {
3138
+ opacity: 0.5;
3139
+ cursor: not-allowed;
3140
+ }
3141
+ .Trigger_trigger__dtqfb:disabled:hover {
3142
+ background-color: #dc2626;
3143
+ transform: none;
3155
3144
  }
3156
3145
 
3157
- .VideoPlayer_playIcon__4wok5 {
3158
- width: 1rem;
3159
- height: 1rem;
3160
- color: white;
3146
+ .Trigger_topLeft__dtqfb {
3147
+ top: 1rem;
3148
+ left: 1rem;
3161
3149
  }
3162
3150
 
3163
- .VideoPlayer_timeDisplay__4wok5 {
3164
- color: rgba(255, 255, 255, 0.8);
3165
- font-size: 0.75rem;
3166
- line-height: 1.5;
3167
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
3168
- font-variant-numeric: tabular-nums;
3151
+ .Trigger_topRight__dtqfb {
3152
+ top: 1rem;
3153
+ right: 1rem;
3154
+ }
3155
+
3156
+ .Trigger_bottomLeft__dtqfb {
3157
+ bottom: 1rem;
3158
+ left: 1rem;
3159
+ }
3160
+
3161
+ .Trigger_bottomRight__dtqfb {
3162
+ bottom: 1rem;
3163
+ right: 1rem;
3164
+ }
3165
+
3166
+ .Trigger_icon__dtqfb {
3167
+ width: 1.25rem;
3168
+ height: 1.25rem;
3169
3169
  }
3170
3170
 
3171
3171
  /* components/Controls/RecordingControls.module.scss */
package/dist/index.mjs CHANGED
@@ -2609,7 +2609,7 @@ export {
2609
2609
  background-color: #991b1b;
2610
2610
  }
2611
2611
 
2612
- /* components/Trigger/Trigger.module.scss */
2612
+ /* components/Controls/Timer.module.scss */
2613
2613
  @keyframes pulse {
2614
2614
  0%, 100% {
2615
2615
  opacity: 1;
@@ -2666,86 +2666,50 @@ export {
2666
2666
  opacity: 1;
2667
2667
  }
2668
2668
  }
2669
- .Trigger_trigger__dtqfb {
2670
- -webkit-appearance: none;
2671
- -moz-appearance: none;
2672
- appearance: none;
2673
- background: none;
2674
- border: none;
2675
- padding: 0;
2676
- margin: 0;
2677
- font: inherit;
2678
- color: inherit;
2679
- cursor: pointer;
2680
- }
2681
- .Trigger_trigger__dtqfb:disabled {
2682
- cursor: not-allowed;
2683
- }
2684
- .Trigger_trigger__dtqfb {
2685
- position: fixed;
2686
- display: flex;
2687
- align-items: center;
2688
- justify-content: center;
2689
- gap: 0.5rem;
2690
- padding: 0.625rem 1rem;
2691
- border-radius: 9999px;
2692
- font-weight: 500;
2669
+ .Timer_timer__qru97 {
2670
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
2693
2671
  font-size: 0.875rem;
2694
2672
  line-height: 1.5;
2695
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
2696
- background-color: #dc2626;
2697
- color: white;
2698
- transition-property: all;
2699
- transition-duration: 200ms;
2700
- transition-timing-function: ease-out;
2701
- }
2702
- .Trigger_trigger__dtqfb:hover:not(:disabled) {
2703
- background-color: #b91c1c;
2704
- transform: scale(1.05);
2673
+ font-weight: 500;
2674
+ font-variant-numeric: tabular-nums;
2705
2675
  }
2706
- .Trigger_trigger__dtqfb:active:not(:disabled) {
2707
- background-color: #991b1b;
2708
- transform: scale(0.95);
2676
+
2677
+ .Timer_colorDefault__qru97 {
2678
+ color: #374151;
2709
2679
  }
2710
- .Trigger_trigger__dtqfb:focus {
2711
- outline: none;
2712
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
2680
+ .dark .Timer_colorDefault__qru97 {
2681
+ color: #d1d5db;
2713
2682
  }
2714
- .Trigger_trigger__dtqfb:disabled {
2715
- opacity: 0.5;
2716
- cursor: not-allowed;
2683
+
2684
+ .Timer_colorPaused__qru97 {
2685
+ color: #d97706;
2717
2686
  }
2718
- .Trigger_trigger__dtqfb:disabled:hover {
2719
- background-color: #dc2626;
2720
- transform: none;
2687
+ .dark .Timer_colorPaused__qru97 {
2688
+ color: #fbbf24;
2721
2689
  }
2722
2690
 
2723
- .Trigger_topLeft__dtqfb {
2724
- top: 1rem;
2725
- left: 1rem;
2691
+ .Timer_colorWarning__qru97 {
2692
+ color: #d97706;
2726
2693
  }
2727
-
2728
- .Trigger_topRight__dtqfb {
2729
- top: 1rem;
2730
- right: 1rem;
2694
+ .dark .Timer_colorWarning__qru97 {
2695
+ color: #fbbf24;
2731
2696
  }
2732
2697
 
2733
- .Trigger_bottomLeft__dtqfb {
2734
- bottom: 1rem;
2735
- left: 1rem;
2698
+ .Timer_colorCritical__qru97 {
2699
+ color: #dc2626;
2736
2700
  }
2737
-
2738
- .Trigger_bottomRight__dtqfb {
2739
- bottom: 1rem;
2740
- right: 1rem;
2701
+ .dark .Timer_colorCritical__qru97 {
2702
+ color: #f87171;
2741
2703
  }
2742
2704
 
2743
- .Trigger_icon__dtqfb {
2744
- width: 1.25rem;
2745
- height: 1.25rem;
2705
+ .Timer_maxDuration__qru97 {
2706
+ color: #9ca3af;
2707
+ }
2708
+ .dark .Timer_maxDuration__qru97 {
2709
+ color: #6b7280;
2746
2710
  }
2747
2711
 
2748
- /* components/Controls/Timer.module.scss */
2712
+ /* components/Preview/VideoPlayer.module.scss */
2749
2713
  @keyframes pulse {
2750
2714
  0%, 100% {
2751
2715
  opacity: 1;
@@ -2802,47 +2766,116 @@ export {
2802
2766
  opacity: 1;
2803
2767
  }
2804
2768
  }
2805
- .Timer_timer__qru97 {
2806
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
2807
- font-size: 0.875rem;
2808
- line-height: 1.5;
2809
- font-weight: 500;
2810
- font-variant-numeric: tabular-nums;
2769
+ .VideoPlayer_container__4wok5 {
2770
+ position: relative;
2771
+ background-color: black;
2772
+ border-radius: 0.5rem;
2773
+ overflow: hidden;
2811
2774
  }
2812
2775
 
2813
- .Timer_colorDefault__qru97 {
2814
- color: #374151;
2776
+ .VideoPlayer_video__4wok5 {
2777
+ width: 100%;
2778
+ height: auto;
2815
2779
  }
2816
- .dark .Timer_colorDefault__qru97 {
2817
- color: #d1d5db;
2780
+
2781
+ .VideoPlayer_controlsOverlay__4wok5 {
2782
+ position: absolute;
2783
+ bottom: 0;
2784
+ left: 0;
2785
+ right: 0;
2786
+ background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
2787
+ padding: 0.75rem;
2818
2788
  }
2819
2789
 
2820
- .Timer_colorPaused__qru97 {
2821
- color: #d97706;
2790
+ .VideoPlayer_progressWrapper__4wok5 {
2791
+ display: flex;
2792
+ align-items: center;
2793
+ justify-content: center;
2794
+ gap: 0.5rem;
2795
+ margin-bottom: 0.5rem;
2822
2796
  }
2823
- .dark .Timer_colorPaused__qru97 {
2824
- color: #fbbf24;
2797
+
2798
+ .VideoPlayer_progressSlider__4wok5 {
2799
+ flex: 1;
2800
+ height: 0.25rem;
2801
+ border-radius: 9999px;
2802
+ -webkit-appearance: none;
2803
+ -moz-appearance: none;
2804
+ appearance: none;
2805
+ cursor: pointer;
2806
+ background-color: rgba(255, 255, 255, 0.3);
2807
+ }
2808
+ .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
2809
+ -webkit-appearance: none;
2810
+ appearance: none;
2811
+ width: 0.75rem;
2812
+ height: 0.75rem;
2813
+ border-radius: 9999px;
2814
+ background-color: white;
2815
+ }
2816
+ .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
2817
+ width: 0.75rem;
2818
+ height: 0.75rem;
2819
+ border-radius: 9999px;
2820
+ background-color: white;
2821
+ border: none;
2825
2822
  }
2826
2823
 
2827
- .Timer_colorWarning__qru97 {
2828
- color: #d97706;
2824
+ .VideoPlayer_bottomControls__4wok5 {
2825
+ display: flex;
2826
+ align-items: center;
2827
+ justify-content: space-between;
2829
2828
  }
2830
- .dark .Timer_colorWarning__qru97 {
2831
- color: #fbbf24;
2829
+
2830
+ .VideoPlayer_leftControls__4wok5 {
2831
+ display: flex;
2832
+ align-items: center;
2833
+ justify-content: center;
2834
+ gap: 0.5rem;
2832
2835
  }
2833
2836
 
2834
- .Timer_colorCritical__qru97 {
2835
- color: #dc2626;
2837
+ .VideoPlayer_playButton__4wok5 {
2838
+ -webkit-appearance: none;
2839
+ -moz-appearance: none;
2840
+ appearance: none;
2841
+ background: none;
2842
+ border: none;
2843
+ padding: 0;
2844
+ margin: 0;
2845
+ font: inherit;
2846
+ color: inherit;
2847
+ cursor: pointer;
2836
2848
  }
2837
- .dark .Timer_colorCritical__qru97 {
2838
- color: #f87171;
2849
+ .VideoPlayer_playButton__4wok5:disabled {
2850
+ cursor: not-allowed;
2851
+ }
2852
+ .VideoPlayer_playButton__4wok5 {
2853
+ padding: 0.375rem;
2854
+ border-radius: 9999px;
2855
+ transition-property: color, background-color, border-color;
2856
+ transition-duration: 200ms;
2857
+ transition-timing-function: ease-out;
2858
+ }
2859
+ .VideoPlayer_playButton__4wok5:hover {
2860
+ background-color: rgba(255, 255, 255, 0.2);
2861
+ }
2862
+ .VideoPlayer_playButton__4wok5:focus {
2863
+ outline: none;
2864
+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
2839
2865
  }
2840
2866
 
2841
- .Timer_maxDuration__qru97 {
2842
- color: #9ca3af;
2867
+ .VideoPlayer_playIcon__4wok5 {
2868
+ width: 1rem;
2869
+ height: 1rem;
2870
+ color: white;
2843
2871
  }
2844
- .dark .Timer_maxDuration__qru97 {
2845
- color: #6b7280;
2872
+
2873
+ .VideoPlayer_timeDisplay__4wok5 {
2874
+ color: rgba(255, 255, 255, 0.8);
2875
+ font-size: 0.75rem;
2876
+ line-height: 1.5;
2877
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
2878
+ font-variant-numeric: tabular-nums;
2846
2879
  }
2847
2880
 
2848
2881
  /* ScreenRecorder.module.scss */
@@ -2927,7 +2960,7 @@ export {
2927
2960
  opacity: 0.75;
2928
2961
  }
2929
2962
 
2930
- /* components/Preview/VideoPlayer.module.scss */
2963
+ /* components/Trigger/Trigger.module.scss */
2931
2964
  @keyframes pulse {
2932
2965
  0%, 100% {
2933
2966
  opacity: 1;
@@ -2984,75 +3017,7 @@ export {
2984
3017
  opacity: 1;
2985
3018
  }
2986
3019
  }
2987
- .VideoPlayer_container__4wok5 {
2988
- position: relative;
2989
- background-color: black;
2990
- border-radius: 0.5rem;
2991
- overflow: hidden;
2992
- }
2993
-
2994
- .VideoPlayer_video__4wok5 {
2995
- width: 100%;
2996
- height: auto;
2997
- }
2998
-
2999
- .VideoPlayer_controlsOverlay__4wok5 {
3000
- position: absolute;
3001
- bottom: 0;
3002
- left: 0;
3003
- right: 0;
3004
- background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
3005
- padding: 0.75rem;
3006
- }
3007
-
3008
- .VideoPlayer_progressWrapper__4wok5 {
3009
- display: flex;
3010
- align-items: center;
3011
- justify-content: center;
3012
- gap: 0.5rem;
3013
- margin-bottom: 0.5rem;
3014
- }
3015
-
3016
- .VideoPlayer_progressSlider__4wok5 {
3017
- flex: 1;
3018
- height: 0.25rem;
3019
- border-radius: 9999px;
3020
- -webkit-appearance: none;
3021
- -moz-appearance: none;
3022
- appearance: none;
3023
- cursor: pointer;
3024
- background-color: rgba(255, 255, 255, 0.3);
3025
- }
3026
- .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
3027
- -webkit-appearance: none;
3028
- appearance: none;
3029
- width: 0.75rem;
3030
- height: 0.75rem;
3031
- border-radius: 9999px;
3032
- background-color: white;
3033
- }
3034
- .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
3035
- width: 0.75rem;
3036
- height: 0.75rem;
3037
- border-radius: 9999px;
3038
- background-color: white;
3039
- border: none;
3040
- }
3041
-
3042
- .VideoPlayer_bottomControls__4wok5 {
3043
- display: flex;
3044
- align-items: center;
3045
- justify-content: space-between;
3046
- }
3047
-
3048
- .VideoPlayer_leftControls__4wok5 {
3049
- display: flex;
3050
- align-items: center;
3051
- justify-content: center;
3052
- gap: 0.5rem;
3053
- }
3054
-
3055
- .VideoPlayer_playButton__4wok5 {
3020
+ .Trigger_trigger__dtqfb {
3056
3021
  -webkit-appearance: none;
3057
3022
  -moz-appearance: none;
3058
3023
  appearance: none;
@@ -3064,36 +3029,71 @@ export {
3064
3029
  color: inherit;
3065
3030
  cursor: pointer;
3066
3031
  }
3067
- .VideoPlayer_playButton__4wok5:disabled {
3032
+ .Trigger_trigger__dtqfb:disabled {
3068
3033
  cursor: not-allowed;
3069
3034
  }
3070
- .VideoPlayer_playButton__4wok5 {
3071
- padding: 0.375rem;
3035
+ .Trigger_trigger__dtqfb {
3036
+ position: fixed;
3037
+ display: flex;
3038
+ align-items: center;
3039
+ justify-content: center;
3040
+ gap: 0.5rem;
3041
+ padding: 0.625rem 1rem;
3072
3042
  border-radius: 9999px;
3073
- transition-property: color, background-color, border-color;
3043
+ font-weight: 500;
3044
+ font-size: 0.875rem;
3045
+ line-height: 1.5;
3046
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
3047
+ background-color: #dc2626;
3048
+ color: white;
3049
+ transition-property: all;
3074
3050
  transition-duration: 200ms;
3075
3051
  transition-timing-function: ease-out;
3076
3052
  }
3077
- .VideoPlayer_playButton__4wok5:hover {
3078
- background-color: rgba(255, 255, 255, 0.2);
3053
+ .Trigger_trigger__dtqfb:hover:not(:disabled) {
3054
+ background-color: #b91c1c;
3055
+ transform: scale(1.05);
3079
3056
  }
3080
- .VideoPlayer_playButton__4wok5:focus {
3057
+ .Trigger_trigger__dtqfb:active:not(:disabled) {
3058
+ background-color: #991b1b;
3059
+ transform: scale(0.95);
3060
+ }
3061
+ .Trigger_trigger__dtqfb:focus {
3081
3062
  outline: none;
3082
- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
3063
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
3064
+ }
3065
+ .Trigger_trigger__dtqfb:disabled {
3066
+ opacity: 0.5;
3067
+ cursor: not-allowed;
3068
+ }
3069
+ .Trigger_trigger__dtqfb:disabled:hover {
3070
+ background-color: #dc2626;
3071
+ transform: none;
3083
3072
  }
3084
3073
 
3085
- .VideoPlayer_playIcon__4wok5 {
3086
- width: 1rem;
3087
- height: 1rem;
3088
- color: white;
3074
+ .Trigger_topLeft__dtqfb {
3075
+ top: 1rem;
3076
+ left: 1rem;
3089
3077
  }
3090
3078
 
3091
- .VideoPlayer_timeDisplay__4wok5 {
3092
- color: rgba(255, 255, 255, 0.8);
3093
- font-size: 0.75rem;
3094
- line-height: 1.5;
3095
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
3096
- font-variant-numeric: tabular-nums;
3079
+ .Trigger_topRight__dtqfb {
3080
+ top: 1rem;
3081
+ right: 1rem;
3082
+ }
3083
+
3084
+ .Trigger_bottomLeft__dtqfb {
3085
+ bottom: 1rem;
3086
+ left: 1rem;
3087
+ }
3088
+
3089
+ .Trigger_bottomRight__dtqfb {
3090
+ bottom: 1rem;
3091
+ right: 1rem;
3092
+ }
3093
+
3094
+ .Trigger_icon__dtqfb {
3095
+ width: 1.25rem;
3096
+ height: 1.25rem;
3097
3097
  }
3098
3098
 
3099
3099
  /* components/Controls/RecordingControls.module.scss */
package/dist/styles.css CHANGED
@@ -557,7 +557,7 @@
557
557
  background-color: #991b1b;
558
558
  }
559
559
 
560
- /* components/Trigger/Trigger.module.scss */
560
+ /* components/Controls/Timer.module.scss */
561
561
  @keyframes pulse {
562
562
  0%, 100% {
563
563
  opacity: 1;
@@ -614,86 +614,50 @@
614
614
  opacity: 1;
615
615
  }
616
616
  }
617
- .Trigger_trigger__dtqfb {
618
- -webkit-appearance: none;
619
- -moz-appearance: none;
620
- appearance: none;
621
- background: none;
622
- border: none;
623
- padding: 0;
624
- margin: 0;
625
- font: inherit;
626
- color: inherit;
627
- cursor: pointer;
628
- }
629
- .Trigger_trigger__dtqfb:disabled {
630
- cursor: not-allowed;
631
- }
632
- .Trigger_trigger__dtqfb {
633
- position: fixed;
634
- display: flex;
635
- align-items: center;
636
- justify-content: center;
637
- gap: 0.5rem;
638
- padding: 0.625rem 1rem;
639
- border-radius: 9999px;
640
- font-weight: 500;
617
+ .Timer_timer__qru97 {
618
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
641
619
  font-size: 0.875rem;
642
620
  line-height: 1.5;
643
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
644
- background-color: #dc2626;
645
- color: white;
646
- transition-property: all;
647
- transition-duration: 200ms;
648
- transition-timing-function: ease-out;
649
- }
650
- .Trigger_trigger__dtqfb:hover:not(:disabled) {
651
- background-color: #b91c1c;
652
- transform: scale(1.05);
621
+ font-weight: 500;
622
+ font-variant-numeric: tabular-nums;
653
623
  }
654
- .Trigger_trigger__dtqfb:active:not(:disabled) {
655
- background-color: #991b1b;
656
- transform: scale(0.95);
624
+
625
+ .Timer_colorDefault__qru97 {
626
+ color: #374151;
657
627
  }
658
- .Trigger_trigger__dtqfb:focus {
659
- outline: none;
660
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
628
+ .dark .Timer_colorDefault__qru97 {
629
+ color: #d1d5db;
661
630
  }
662
- .Trigger_trigger__dtqfb:disabled {
663
- opacity: 0.5;
664
- cursor: not-allowed;
631
+
632
+ .Timer_colorPaused__qru97 {
633
+ color: #d97706;
665
634
  }
666
- .Trigger_trigger__dtqfb:disabled:hover {
667
- background-color: #dc2626;
668
- transform: none;
635
+ .dark .Timer_colorPaused__qru97 {
636
+ color: #fbbf24;
669
637
  }
670
638
 
671
- .Trigger_topLeft__dtqfb {
672
- top: 1rem;
673
- left: 1rem;
639
+ .Timer_colorWarning__qru97 {
640
+ color: #d97706;
674
641
  }
675
-
676
- .Trigger_topRight__dtqfb {
677
- top: 1rem;
678
- right: 1rem;
642
+ .dark .Timer_colorWarning__qru97 {
643
+ color: #fbbf24;
679
644
  }
680
645
 
681
- .Trigger_bottomLeft__dtqfb {
682
- bottom: 1rem;
683
- left: 1rem;
646
+ .Timer_colorCritical__qru97 {
647
+ color: #dc2626;
684
648
  }
685
-
686
- .Trigger_bottomRight__dtqfb {
687
- bottom: 1rem;
688
- right: 1rem;
649
+ .dark .Timer_colorCritical__qru97 {
650
+ color: #f87171;
689
651
  }
690
652
 
691
- .Trigger_icon__dtqfb {
692
- width: 1.25rem;
693
- height: 1.25rem;
653
+ .Timer_maxDuration__qru97 {
654
+ color: #9ca3af;
655
+ }
656
+ .dark .Timer_maxDuration__qru97 {
657
+ color: #6b7280;
694
658
  }
695
659
 
696
- /* components/Controls/Timer.module.scss */
660
+ /* components/Preview/VideoPlayer.module.scss */
697
661
  @keyframes pulse {
698
662
  0%, 100% {
699
663
  opacity: 1;
@@ -750,47 +714,116 @@
750
714
  opacity: 1;
751
715
  }
752
716
  }
753
- .Timer_timer__qru97 {
754
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
755
- font-size: 0.875rem;
756
- line-height: 1.5;
757
- font-weight: 500;
758
- font-variant-numeric: tabular-nums;
717
+ .VideoPlayer_container__4wok5 {
718
+ position: relative;
719
+ background-color: black;
720
+ border-radius: 0.5rem;
721
+ overflow: hidden;
759
722
  }
760
723
 
761
- .Timer_colorDefault__qru97 {
762
- color: #374151;
724
+ .VideoPlayer_video__4wok5 {
725
+ width: 100%;
726
+ height: auto;
763
727
  }
764
- .dark .Timer_colorDefault__qru97 {
765
- color: #d1d5db;
728
+
729
+ .VideoPlayer_controlsOverlay__4wok5 {
730
+ position: absolute;
731
+ bottom: 0;
732
+ left: 0;
733
+ right: 0;
734
+ background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
735
+ padding: 0.75rem;
766
736
  }
767
737
 
768
- .Timer_colorPaused__qru97 {
769
- color: #d97706;
738
+ .VideoPlayer_progressWrapper__4wok5 {
739
+ display: flex;
740
+ align-items: center;
741
+ justify-content: center;
742
+ gap: 0.5rem;
743
+ margin-bottom: 0.5rem;
770
744
  }
771
- .dark .Timer_colorPaused__qru97 {
772
- color: #fbbf24;
745
+
746
+ .VideoPlayer_progressSlider__4wok5 {
747
+ flex: 1;
748
+ height: 0.25rem;
749
+ border-radius: 9999px;
750
+ -webkit-appearance: none;
751
+ -moz-appearance: none;
752
+ appearance: none;
753
+ cursor: pointer;
754
+ background-color: rgba(255, 255, 255, 0.3);
755
+ }
756
+ .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
757
+ -webkit-appearance: none;
758
+ appearance: none;
759
+ width: 0.75rem;
760
+ height: 0.75rem;
761
+ border-radius: 9999px;
762
+ background-color: white;
763
+ }
764
+ .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
765
+ width: 0.75rem;
766
+ height: 0.75rem;
767
+ border-radius: 9999px;
768
+ background-color: white;
769
+ border: none;
773
770
  }
774
771
 
775
- .Timer_colorWarning__qru97 {
776
- color: #d97706;
772
+ .VideoPlayer_bottomControls__4wok5 {
773
+ display: flex;
774
+ align-items: center;
775
+ justify-content: space-between;
777
776
  }
778
- .dark .Timer_colorWarning__qru97 {
779
- color: #fbbf24;
777
+
778
+ .VideoPlayer_leftControls__4wok5 {
779
+ display: flex;
780
+ align-items: center;
781
+ justify-content: center;
782
+ gap: 0.5rem;
780
783
  }
781
784
 
782
- .Timer_colorCritical__qru97 {
783
- color: #dc2626;
785
+ .VideoPlayer_playButton__4wok5 {
786
+ -webkit-appearance: none;
787
+ -moz-appearance: none;
788
+ appearance: none;
789
+ background: none;
790
+ border: none;
791
+ padding: 0;
792
+ margin: 0;
793
+ font: inherit;
794
+ color: inherit;
795
+ cursor: pointer;
784
796
  }
785
- .dark .Timer_colorCritical__qru97 {
786
- color: #f87171;
797
+ .VideoPlayer_playButton__4wok5:disabled {
798
+ cursor: not-allowed;
799
+ }
800
+ .VideoPlayer_playButton__4wok5 {
801
+ padding: 0.375rem;
802
+ border-radius: 9999px;
803
+ transition-property: color, background-color, border-color;
804
+ transition-duration: 200ms;
805
+ transition-timing-function: ease-out;
806
+ }
807
+ .VideoPlayer_playButton__4wok5:hover {
808
+ background-color: rgba(255, 255, 255, 0.2);
809
+ }
810
+ .VideoPlayer_playButton__4wok5:focus {
811
+ outline: none;
812
+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
787
813
  }
788
814
 
789
- .Timer_maxDuration__qru97 {
790
- color: #9ca3af;
815
+ .VideoPlayer_playIcon__4wok5 {
816
+ width: 1rem;
817
+ height: 1rem;
818
+ color: white;
791
819
  }
792
- .dark .Timer_maxDuration__qru97 {
793
- color: #6b7280;
820
+
821
+ .VideoPlayer_timeDisplay__4wok5 {
822
+ color: rgba(255, 255, 255, 0.8);
823
+ font-size: 0.75rem;
824
+ line-height: 1.5;
825
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
826
+ font-variant-numeric: tabular-nums;
794
827
  }
795
828
 
796
829
  /* ScreenRecorder.module.scss */
@@ -875,7 +908,7 @@
875
908
  opacity: 0.75;
876
909
  }
877
910
 
878
- /* components/Preview/VideoPlayer.module.scss */
911
+ /* components/Trigger/Trigger.module.scss */
879
912
  @keyframes pulse {
880
913
  0%, 100% {
881
914
  opacity: 1;
@@ -932,75 +965,7 @@
932
965
  opacity: 1;
933
966
  }
934
967
  }
935
- .VideoPlayer_container__4wok5 {
936
- position: relative;
937
- background-color: black;
938
- border-radius: 0.5rem;
939
- overflow: hidden;
940
- }
941
-
942
- .VideoPlayer_video__4wok5 {
943
- width: 100%;
944
- height: auto;
945
- }
946
-
947
- .VideoPlayer_controlsOverlay__4wok5 {
948
- position: absolute;
949
- bottom: 0;
950
- left: 0;
951
- right: 0;
952
- background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
953
- padding: 0.75rem;
954
- }
955
-
956
- .VideoPlayer_progressWrapper__4wok5 {
957
- display: flex;
958
- align-items: center;
959
- justify-content: center;
960
- gap: 0.5rem;
961
- margin-bottom: 0.5rem;
962
- }
963
-
964
- .VideoPlayer_progressSlider__4wok5 {
965
- flex: 1;
966
- height: 0.25rem;
967
- border-radius: 9999px;
968
- -webkit-appearance: none;
969
- -moz-appearance: none;
970
- appearance: none;
971
- cursor: pointer;
972
- background-color: rgba(255, 255, 255, 0.3);
973
- }
974
- .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
975
- -webkit-appearance: none;
976
- appearance: none;
977
- width: 0.75rem;
978
- height: 0.75rem;
979
- border-radius: 9999px;
980
- background-color: white;
981
- }
982
- .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
983
- width: 0.75rem;
984
- height: 0.75rem;
985
- border-radius: 9999px;
986
- background-color: white;
987
- border: none;
988
- }
989
-
990
- .VideoPlayer_bottomControls__4wok5 {
991
- display: flex;
992
- align-items: center;
993
- justify-content: space-between;
994
- }
995
-
996
- .VideoPlayer_leftControls__4wok5 {
997
- display: flex;
998
- align-items: center;
999
- justify-content: center;
1000
- gap: 0.5rem;
1001
- }
1002
-
1003
- .VideoPlayer_playButton__4wok5 {
968
+ .Trigger_trigger__dtqfb {
1004
969
  -webkit-appearance: none;
1005
970
  -moz-appearance: none;
1006
971
  appearance: none;
@@ -1012,36 +977,71 @@
1012
977
  color: inherit;
1013
978
  cursor: pointer;
1014
979
  }
1015
- .VideoPlayer_playButton__4wok5:disabled {
980
+ .Trigger_trigger__dtqfb:disabled {
1016
981
  cursor: not-allowed;
1017
982
  }
1018
- .VideoPlayer_playButton__4wok5 {
1019
- padding: 0.375rem;
983
+ .Trigger_trigger__dtqfb {
984
+ position: fixed;
985
+ display: flex;
986
+ align-items: center;
987
+ justify-content: center;
988
+ gap: 0.5rem;
989
+ padding: 0.625rem 1rem;
1020
990
  border-radius: 9999px;
1021
- transition-property: color, background-color, border-color;
991
+ font-weight: 500;
992
+ font-size: 0.875rem;
993
+ line-height: 1.5;
994
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
995
+ background-color: #dc2626;
996
+ color: white;
997
+ transition-property: all;
1022
998
  transition-duration: 200ms;
1023
999
  transition-timing-function: ease-out;
1024
1000
  }
1025
- .VideoPlayer_playButton__4wok5:hover {
1026
- background-color: rgba(255, 255, 255, 0.2);
1001
+ .Trigger_trigger__dtqfb:hover:not(:disabled) {
1002
+ background-color: #b91c1c;
1003
+ transform: scale(1.05);
1027
1004
  }
1028
- .VideoPlayer_playButton__4wok5:focus {
1005
+ .Trigger_trigger__dtqfb:active:not(:disabled) {
1006
+ background-color: #991b1b;
1007
+ transform: scale(0.95);
1008
+ }
1009
+ .Trigger_trigger__dtqfb:focus {
1029
1010
  outline: none;
1030
- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
1011
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
1012
+ }
1013
+ .Trigger_trigger__dtqfb:disabled {
1014
+ opacity: 0.5;
1015
+ cursor: not-allowed;
1016
+ }
1017
+ .Trigger_trigger__dtqfb:disabled:hover {
1018
+ background-color: #dc2626;
1019
+ transform: none;
1031
1020
  }
1032
1021
 
1033
- .VideoPlayer_playIcon__4wok5 {
1034
- width: 1rem;
1035
- height: 1rem;
1036
- color: white;
1022
+ .Trigger_topLeft__dtqfb {
1023
+ top: 1rem;
1024
+ left: 1rem;
1037
1025
  }
1038
1026
 
1039
- .VideoPlayer_timeDisplay__4wok5 {
1040
- color: rgba(255, 255, 255, 0.8);
1041
- font-size: 0.75rem;
1042
- line-height: 1.5;
1043
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
1044
- font-variant-numeric: tabular-nums;
1027
+ .Trigger_topRight__dtqfb {
1028
+ top: 1rem;
1029
+ right: 1rem;
1030
+ }
1031
+
1032
+ .Trigger_bottomLeft__dtqfb {
1033
+ bottom: 1rem;
1034
+ left: 1rem;
1035
+ }
1036
+
1037
+ .Trigger_bottomRight__dtqfb {
1038
+ bottom: 1rem;
1039
+ right: 1rem;
1040
+ }
1041
+
1042
+ .Trigger_icon__dtqfb {
1043
+ width: 1.25rem;
1044
+ height: 1.25rem;
1045
1045
  }
1046
1046
 
1047
1047
  /* components/Controls/RecordingControls.module.scss */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usefy/screen-recorder",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "React component for screen recording with preview and download functionality",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",