@usefy/screen-recorder 0.1.4 → 0.2.0
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 +1 -19
- package/dist/index.d.ts +1 -19
- package/dist/index.js +1469 -1264
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1459 -1263
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1308 -1024
- package/package.json +3 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, FC } from 'react';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Possible states of the screen recording process
|
|
@@ -725,23 +724,6 @@ interface UseCountdownReturn {
|
|
|
725
724
|
*/
|
|
726
725
|
declare function useCountdown(options?: UseCountdownOptions): UseCountdownReturn;
|
|
727
726
|
|
|
728
|
-
/**
|
|
729
|
-
* Utility function to merge Tailwind CSS classes with clsx
|
|
730
|
-
*
|
|
731
|
-
* Combines clsx's conditional class merging with tailwind-merge's
|
|
732
|
-
* intelligent Tailwind class deduplication.
|
|
733
|
-
*
|
|
734
|
-
* @param inputs - Class values to merge
|
|
735
|
-
* @returns Merged class string
|
|
736
|
-
*
|
|
737
|
-
* @example
|
|
738
|
-
* ```ts
|
|
739
|
-
* cn('px-2 py-1', 'px-4') // => 'py-1 px-4'
|
|
740
|
-
* cn('bg-red-500', isActive && 'bg-blue-500') // => 'bg-blue-500' (if isActive)
|
|
741
|
-
* ```
|
|
742
|
-
*/
|
|
743
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
744
|
-
|
|
745
727
|
/**
|
|
746
728
|
* Download a blob as a file
|
|
747
729
|
*
|
|
@@ -1089,4 +1071,4 @@ interface ErrorMessageProps {
|
|
|
1089
1071
|
*/
|
|
1090
1072
|
declare const ErrorMessage: FC<ErrorMessageProps>;
|
|
1091
1073
|
|
|
1092
|
-
export { type AudioConfig, type AudioOption, type BrowserSupport, CheckIcon, CloseIcon, Countdown, type CountdownProps, DEFAULT_OPTIONS, DownloadIcon, ERROR_MESSAGES, ErrorMessage, type ErrorMessageProps, PauseIcon, PlayIcon, PreviewModal, type PreviewModalProps, QUALITY_PRESETS, type QualityOption, type QualityPreset, RecordingControls, type RecordingControlsProps, RecordingIcon, type RecordingResult, type RecordingState$1 as RecordingState, RefreshIcon, type RenderMode, SUPPORTED_MIME_TYPES, ScreenRecorder, type ScreenRecorderError, type ScreenRecorderErrorCode, type ScreenRecorderProps, StatusBadge, type StatusBadgeProps, StopIcon, TIMER_CRITICAL_THRESHOLD, TIMER_WARNING_THRESHOLD, type ThemeOption, Timer, type TimerProps, Trigger, TriggerIcon, type TriggerPosition, type TriggerProps, type UseCountdownOptions, type UseCountdownReturn, type UseDisplayMediaOptions, type UseDisplayMediaReturn, type UseMediaRecorderOptions, type UseMediaRecorderReturn, type UseScreenRecorderOptions, type UseScreenRecorderReturn, type UseTimerOptions, type UseTimerReturn, VideoPlayer, type VideoPlayerProps, type VideoPlayerRef, WarningIcon, checkBrowserSupport,
|
|
1074
|
+
export { type AudioConfig, type AudioOption, type BrowserSupport, CheckIcon, CloseIcon, Countdown, type CountdownProps, DEFAULT_OPTIONS, DownloadIcon, ERROR_MESSAGES, ErrorMessage, type ErrorMessageProps, PauseIcon, PlayIcon, PreviewModal, type PreviewModalProps, QUALITY_PRESETS, type QualityOption, type QualityPreset, RecordingControls, type RecordingControlsProps, RecordingIcon, type RecordingResult, type RecordingState$1 as RecordingState, RefreshIcon, type RenderMode, SUPPORTED_MIME_TYPES, ScreenRecorder, type ScreenRecorderError, type ScreenRecorderErrorCode, type ScreenRecorderProps, StatusBadge, type StatusBadgeProps, StopIcon, TIMER_CRITICAL_THRESHOLD, TIMER_WARNING_THRESHOLD, type ThemeOption, Timer, type TimerProps, Trigger, TriggerIcon, type TriggerPosition, type TriggerProps, type UseCountdownOptions, type UseCountdownReturn, type UseDisplayMediaOptions, type UseDisplayMediaReturn, type UseMediaRecorderOptions, type UseMediaRecorderReturn, type UseScreenRecorderOptions, type UseScreenRecorderReturn, type UseTimerOptions, type UseTimerReturn, VideoPlayer, type VideoPlayerProps, type VideoPlayerRef, WarningIcon, checkBrowserSupport, downloadBlob, formatBytes, formatTime, generateFilename, getBestMimeType, useBrowserSupport, useCountdown, useDisplayMedia, useMediaRecorder, useScreenRecorder, useTimer };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, FC } from 'react';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Possible states of the screen recording process
|
|
@@ -725,23 +724,6 @@ interface UseCountdownReturn {
|
|
|
725
724
|
*/
|
|
726
725
|
declare function useCountdown(options?: UseCountdownOptions): UseCountdownReturn;
|
|
727
726
|
|
|
728
|
-
/**
|
|
729
|
-
* Utility function to merge Tailwind CSS classes with clsx
|
|
730
|
-
*
|
|
731
|
-
* Combines clsx's conditional class merging with tailwind-merge's
|
|
732
|
-
* intelligent Tailwind class deduplication.
|
|
733
|
-
*
|
|
734
|
-
* @param inputs - Class values to merge
|
|
735
|
-
* @returns Merged class string
|
|
736
|
-
*
|
|
737
|
-
* @example
|
|
738
|
-
* ```ts
|
|
739
|
-
* cn('px-2 py-1', 'px-4') // => 'py-1 px-4'
|
|
740
|
-
* cn('bg-red-500', isActive && 'bg-blue-500') // => 'bg-blue-500' (if isActive)
|
|
741
|
-
* ```
|
|
742
|
-
*/
|
|
743
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
744
|
-
|
|
745
727
|
/**
|
|
746
728
|
* Download a blob as a file
|
|
747
729
|
*
|
|
@@ -1089,4 +1071,4 @@ interface ErrorMessageProps {
|
|
|
1089
1071
|
*/
|
|
1090
1072
|
declare const ErrorMessage: FC<ErrorMessageProps>;
|
|
1091
1073
|
|
|
1092
|
-
export { type AudioConfig, type AudioOption, type BrowserSupport, CheckIcon, CloseIcon, Countdown, type CountdownProps, DEFAULT_OPTIONS, DownloadIcon, ERROR_MESSAGES, ErrorMessage, type ErrorMessageProps, PauseIcon, PlayIcon, PreviewModal, type PreviewModalProps, QUALITY_PRESETS, type QualityOption, type QualityPreset, RecordingControls, type RecordingControlsProps, RecordingIcon, type RecordingResult, type RecordingState$1 as RecordingState, RefreshIcon, type RenderMode, SUPPORTED_MIME_TYPES, ScreenRecorder, type ScreenRecorderError, type ScreenRecorderErrorCode, type ScreenRecorderProps, StatusBadge, type StatusBadgeProps, StopIcon, TIMER_CRITICAL_THRESHOLD, TIMER_WARNING_THRESHOLD, type ThemeOption, Timer, type TimerProps, Trigger, TriggerIcon, type TriggerPosition, type TriggerProps, type UseCountdownOptions, type UseCountdownReturn, type UseDisplayMediaOptions, type UseDisplayMediaReturn, type UseMediaRecorderOptions, type UseMediaRecorderReturn, type UseScreenRecorderOptions, type UseScreenRecorderReturn, type UseTimerOptions, type UseTimerReturn, VideoPlayer, type VideoPlayerProps, type VideoPlayerRef, WarningIcon, checkBrowserSupport,
|
|
1074
|
+
export { type AudioConfig, type AudioOption, type BrowserSupport, CheckIcon, CloseIcon, Countdown, type CountdownProps, DEFAULT_OPTIONS, DownloadIcon, ERROR_MESSAGES, ErrorMessage, type ErrorMessageProps, PauseIcon, PlayIcon, PreviewModal, type PreviewModalProps, QUALITY_PRESETS, type QualityOption, type QualityPreset, RecordingControls, type RecordingControlsProps, RecordingIcon, type RecordingResult, type RecordingState$1 as RecordingState, RefreshIcon, type RenderMode, SUPPORTED_MIME_TYPES, ScreenRecorder, type ScreenRecorderError, type ScreenRecorderErrorCode, type ScreenRecorderProps, StatusBadge, type StatusBadgeProps, StopIcon, TIMER_CRITICAL_THRESHOLD, TIMER_WARNING_THRESHOLD, type ThemeOption, Timer, type TimerProps, Trigger, TriggerIcon, type TriggerPosition, type TriggerProps, type UseCountdownOptions, type UseCountdownReturn, type UseDisplayMediaOptions, type UseDisplayMediaReturn, type UseMediaRecorderOptions, type UseMediaRecorderReturn, type UseScreenRecorderOptions, type UseScreenRecorderReturn, type UseTimerOptions, type UseTimerReturn, VideoPlayer, type VideoPlayerProps, type VideoPlayerRef, WarningIcon, checkBrowserSupport, downloadBlob, formatBytes, formatTime, generateFilename, getBestMimeType, useBrowserSupport, useCountdown, useDisplayMedia, useMediaRecorder, useScreenRecorder, useTimer };
|