softbuilders-react-video-player 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. package/dist/components/BigPlayButton/index.d.ts +1 -1
  2. package/dist/components/BigPlayButton/index.js +2 -3
  3. package/dist/components/BigPlayButton/index.js.map +1 -1
  4. package/dist/components/BigPlayButton/index.tsx +31 -0
  5. package/dist/components/BufferTracker/index.d.ts +1 -2
  6. package/dist/components/BufferTracker/index.js +3 -2
  7. package/dist/components/BufferTracker/index.js.map +1 -1
  8. package/dist/components/BufferTracker/index.tsx +19 -0
  9. package/dist/components/ChapterTooltip/index.d.ts +1 -2
  10. package/dist/components/ChapterTooltip/index.js +4 -13
  11. package/dist/components/ChapterTooltip/index.js.map +1 -1
  12. package/dist/components/ChapterTooltip/index.tsx +65 -0
  13. package/dist/components/ChaptersPanal/index.d.ts +1 -2
  14. package/dist/components/ChaptersPanal/index.js +3 -2
  15. package/dist/components/ChaptersPanal/index.js.map +1 -1
  16. package/dist/components/ChaptersPanal/index.tsx +40 -0
  17. package/dist/components/ControlBar/index.d.ts +1 -1
  18. package/dist/components/ControlBar/index.js +14 -31
  19. package/dist/components/ControlBar/index.js.map +1 -1
  20. package/dist/components/ControlBar/index.tsx +127 -0
  21. package/dist/components/CreateNoteMenu/index.d.ts +1 -2
  22. package/dist/components/CreateNoteMenu/index.js +3 -9
  23. package/dist/components/CreateNoteMenu/index.js.map +1 -1
  24. package/dist/components/CreateNoteMenu/index.tsx +61 -0
  25. package/dist/components/CurrentTimeLabel/index.d.ts +1 -2
  26. package/dist/components/CurrentTimeLabel/index.js +2 -2
  27. package/dist/components/CurrentTimeLabel/index.js.map +1 -1
  28. package/dist/components/CurrentTimeLabel/index.tsx +13 -0
  29. package/dist/components/CurrentTimeTracker/index.d.ts +1 -2
  30. package/dist/components/CurrentTimeTracker/index.js +3 -2
  31. package/dist/components/CurrentTimeTracker/index.js.map +1 -1
  32. package/dist/components/CurrentTimeTracker/index.tsx +18 -0
  33. package/dist/components/Menu/index.d.ts +1 -2
  34. package/dist/components/Menu/index.js +2 -7
  35. package/dist/components/Menu/index.js.map +1 -1
  36. package/dist/components/Menu/index.tsx +49 -0
  37. package/dist/components/MenuButton/index.d.ts +1 -1
  38. package/dist/components/MenuButton/index.js +3 -4
  39. package/dist/components/MenuButton/index.js.map +1 -1
  40. package/dist/components/MenuButton/index.tsx +67 -0
  41. package/dist/components/NoteTooltip/index.d.ts +1 -2
  42. package/dist/components/NoteTooltip/index.js +3 -7
  43. package/dist/components/NoteTooltip/index.js.map +1 -1
  44. package/dist/components/NoteTooltip/index.tsx +46 -0
  45. package/dist/components/NotesPanal/index.d.ts +1 -2
  46. package/dist/components/NotesPanal/index.js +3 -2
  47. package/dist/components/NotesPanal/index.js.map +1 -1
  48. package/dist/components/NotesPanal/index.tsx +34 -0
  49. package/dist/components/QualityMenu/index.d.ts +1 -2
  50. package/dist/components/QualityMenu/index.js +19 -28
  51. package/dist/components/QualityMenu/index.js.map +1 -1
  52. package/dist/components/QualityMenu/index.tsx +122 -0
  53. package/dist/components/Slider/index.d.ts +1 -1
  54. package/dist/components/Slider/index.js +2 -2
  55. package/dist/components/Slider/index.js.map +1 -1
  56. package/dist/components/Slider/index.tsx +37 -0
  57. package/dist/components/SoftBuildersVideoPlayer/index.d.ts +1 -1
  58. package/dist/components/SoftBuildersVideoPlayer/index.js +3 -2
  59. package/dist/components/SoftBuildersVideoPlayer/index.js.map +1 -1
  60. package/dist/components/SoftBuildersVideoPlayer/index.tsx +108 -0
  61. package/dist/components/SubtitleMenu/index.d.ts +1 -2
  62. package/dist/components/SubtitleMenu/index.js +12 -21
  63. package/dist/components/SubtitleMenu/index.js.map +1 -1
  64. package/dist/components/SubtitleMenu/index.tsx +108 -0
  65. package/dist/components/TimeSlider/index.d.ts +1 -2
  66. package/dist/components/TimeSlider/index.js +10 -12
  67. package/dist/components/TimeSlider/index.js.map +1 -1
  68. package/dist/components/TimeSlider/index.tsx +107 -0
  69. package/dist/components/TimeSliderContainer/index.d.ts +1 -2
  70. package/dist/components/TimeSliderContainer/index.js +2 -7
  71. package/dist/components/TimeSliderContainer/index.js.map +1 -1
  72. package/dist/components/TimeSliderContainer/index.tsx +35 -0
  73. package/dist/components/Tooltip/index.d.ts +1 -1
  74. package/dist/components/Tooltip/index.js +2 -2
  75. package/dist/components/Tooltip/index.js.map +1 -1
  76. package/dist/components/Tooltip/index.tsx +16 -0
  77. package/dist/components/VideoPlayerComponent/index.d.ts +1 -2
  78. package/dist/components/VideoPlayerComponent/index.js +5 -7
  79. package/dist/components/VideoPlayerComponent/index.js.map +1 -1
  80. package/dist/components/VideoPlayerComponent/index.tsx +244 -0
  81. package/dist/components/VideoPlayerComponent/provider.d.ts +1 -1
  82. package/dist/components/VideoPlayerComponent/provider.js +4 -3
  83. package/dist/components/VideoPlayerComponent/provider.js.map +1 -1
  84. package/dist/components/VideoPlayerComponent/provider.tsx +82 -0
  85. package/dist/components/VolumeSlider/index.d.ts +1 -2
  86. package/dist/components/VolumeSlider/index.js +3 -4
  87. package/dist/components/VolumeSlider/index.js.map +1 -1
  88. package/dist/components/VolumeSlider/index.tsx +52 -0
  89. package/dist/components/icons/BackwardIcon.d.ts +3 -0
  90. package/dist/components/icons/BackwardIcon.js +4 -0
  91. package/dist/components/icons/BackwardIcon.js.map +1 -0
  92. package/dist/components/icons/BackwardIcon.tsx +20 -0
  93. package/dist/components/icons/CheckedIcon.d.ts +3 -0
  94. package/dist/components/icons/CheckedIcon.js +4 -0
  95. package/dist/components/icons/CheckedIcon.js.map +1 -0
  96. package/dist/components/icons/CheckedIcon.tsx +20 -0
  97. package/dist/components/icons/ClosedNoteIcon.d.ts +3 -0
  98. package/dist/components/icons/ClosedNoteIcon.js +4 -0
  99. package/dist/components/icons/ClosedNoteIcon.js.map +1 -0
  100. package/dist/components/icons/ClosedNoteIcon.tsx +17 -0
  101. package/dist/components/icons/ForwardIcon.d.ts +3 -0
  102. package/dist/components/icons/ForwardIcon.js +4 -0
  103. package/dist/components/icons/ForwardIcon.js.map +1 -0
  104. package/dist/components/icons/ForwardIcon.tsx +20 -0
  105. package/dist/components/icons/FullScreenIcon.d.ts +3 -0
  106. package/dist/components/icons/FullScreenIcon.js +4 -0
  107. package/dist/components/icons/FullScreenIcon.js.map +1 -0
  108. package/dist/components/icons/FullScreenIcon.tsx +20 -0
  109. package/dist/components/icons/LeftArrowIcon.d.ts +3 -0
  110. package/dist/components/icons/LeftArrowIcon.js +4 -0
  111. package/dist/components/icons/LeftArrowIcon.js.map +1 -0
  112. package/dist/components/icons/LeftArrowIcon.tsx +20 -0
  113. package/dist/components/icons/MuteIcon.d.ts +3 -0
  114. package/dist/components/icons/MuteIcon.js +4 -0
  115. package/dist/components/icons/MuteIcon.js.map +1 -0
  116. package/dist/components/icons/MuteIcon.tsx +21 -0
  117. package/dist/components/icons/NoteIcon.d.ts +3 -0
  118. package/dist/components/icons/NoteIcon.js +4 -0
  119. package/dist/components/icons/NoteIcon.js.map +1 -0
  120. package/dist/components/icons/NoteIcon.tsx +17 -0
  121. package/dist/components/icons/OpenNoteIcon.d.ts +3 -0
  122. package/dist/components/icons/OpenNoteIcon.js +4 -0
  123. package/dist/components/icons/OpenNoteIcon.js.map +1 -0
  124. package/dist/components/icons/OpenNoteIcon.tsx +17 -0
  125. package/dist/components/icons/PauseIcon.d.ts +3 -0
  126. package/dist/components/icons/PauseIcon.js +4 -0
  127. package/dist/components/icons/PauseIcon.js.map +1 -0
  128. package/dist/components/icons/PauseIcon.tsx +14 -0
  129. package/dist/components/icons/PlayIcon.d.ts +3 -0
  130. package/dist/components/icons/PlayIcon.js +4 -0
  131. package/dist/components/icons/PlayIcon.js.map +1 -0
  132. package/dist/components/icons/PlayIcon.tsx +20 -0
  133. package/dist/components/icons/SettingsIcon.d.ts +3 -0
  134. package/dist/components/icons/SettingsIcon.js +4 -0
  135. package/dist/components/icons/SettingsIcon.js.map +1 -0
  136. package/dist/components/icons/SettingsIcon.tsx +17 -0
  137. package/dist/components/icons/SubtitlesIcon.d.ts +3 -0
  138. package/dist/components/icons/SubtitlesIcon.js +4 -0
  139. package/dist/components/icons/SubtitlesIcon.js.map +1 -0
  140. package/dist/components/icons/SubtitlesIcon.tsx +14 -0
  141. package/dist/components/icons/UnmuteIcon.d.ts +3 -0
  142. package/dist/components/icons/UnmuteIcon.js +4 -0
  143. package/dist/components/icons/UnmuteIcon.js.map +1 -0
  144. package/dist/components/icons/UnmuteIcon.tsx +17 -0
  145. package/dist/components/icons/index.d.ts +14 -0
  146. package/dist/components/icons/index.js +15 -0
  147. package/dist/components/icons/index.js.map +1 -0
  148. package/dist/components/icons/index.ts +14 -0
  149. package/dist/images/index.d.ts +14 -14
  150. package/dist/images/index.js +14 -14
  151. package/dist/images/index.js.map +1 -1
  152. package/dist/index.css +663 -0
  153. package/dist/index.d.mts +49 -0
  154. package/dist/index.mjs +1383 -0
  155. package/package.json +9 -4
package/dist/index.css ADDED
@@ -0,0 +1,663 @@
1
+ /* src/components/Slider/style.css */
2
+ input[type=range]::-webkit-slider-thumb {
3
+ -webkit-appearance: none;
4
+ appearance: none;
5
+ width: 20px;
6
+ height: 20px;
7
+ border-radius: 50%;
8
+ background: white;
9
+ cursor: pointer;
10
+ }
11
+ input[type=range]:focus {
12
+ outline: none;
13
+ }
14
+
15
+ /* src/components/VideoPlayerComponent/style/style.css */
16
+ .video-js .vjs-control-bar {
17
+ background-color: transparent;
18
+ display: none;
19
+ }
20
+ .video-js .vjs-big-play-button {
21
+ background-color: transparent;
22
+ display: block;
23
+ border: none;
24
+ padding: 0px;
25
+ opacity: 0;
26
+ transition: opacity 0.5s ease-in-out;
27
+ }
28
+ .video-js:hover .vjs-big-play-button {
29
+ background-color: transparent;
30
+ border: none;
31
+ padding: 0px;
32
+ opacity: 1;
33
+ transition: opacity 0.5s ease-in-out;
34
+ }
35
+ .vjs-poster {
36
+ display: inline-block;
37
+ vertical-align: middle;
38
+ cursor: pointer;
39
+ margin: 0;
40
+ padding: 0;
41
+ position: absolute;
42
+ top: 0;
43
+ right: 0;
44
+ bottom: 0;
45
+ left: 0;
46
+ height: 100%;
47
+ background-color: black;
48
+ }
49
+
50
+ /* src/styles/tailwind.css */
51
+ *,
52
+ ::before,
53
+ ::after {
54
+ --tw-border-spacing-x: 0;
55
+ --tw-border-spacing-y: 0;
56
+ --tw-translate-x: 0;
57
+ --tw-translate-y: 0;
58
+ --tw-rotate: 0;
59
+ --tw-skew-x: 0;
60
+ --tw-skew-y: 0;
61
+ --tw-scale-x: 1;
62
+ --tw-scale-y: 1;
63
+ --tw-pan-x: ;
64
+ --tw-pan-y: ;
65
+ --tw-pinch-zoom: ;
66
+ --tw-scroll-snap-strictness: proximity;
67
+ --tw-gradient-from-position: ;
68
+ --tw-gradient-via-position: ;
69
+ --tw-gradient-to-position: ;
70
+ --tw-ordinal: ;
71
+ --tw-slashed-zero: ;
72
+ --tw-numeric-figure: ;
73
+ --tw-numeric-spacing: ;
74
+ --tw-numeric-fraction: ;
75
+ --tw-ring-inset: ;
76
+ --tw-ring-offset-width: 0px;
77
+ --tw-ring-offset-color: #fff;
78
+ --tw-ring-color: rgb(59 130 246 / 0.5);
79
+ --tw-ring-offset-shadow: 0 0 #0000;
80
+ --tw-ring-shadow: 0 0 #0000;
81
+ --tw-shadow: 0 0 #0000;
82
+ --tw-shadow-colored: 0 0 #0000;
83
+ --tw-blur: ;
84
+ --tw-brightness: ;
85
+ --tw-contrast: ;
86
+ --tw-grayscale: ;
87
+ --tw-hue-rotate: ;
88
+ --tw-invert: ;
89
+ --tw-saturate: ;
90
+ --tw-sepia: ;
91
+ --tw-drop-shadow: ;
92
+ --tw-backdrop-blur: ;
93
+ --tw-backdrop-brightness: ;
94
+ --tw-backdrop-contrast: ;
95
+ --tw-backdrop-grayscale: ;
96
+ --tw-backdrop-hue-rotate: ;
97
+ --tw-backdrop-invert: ;
98
+ --tw-backdrop-opacity: ;
99
+ --tw-backdrop-saturate: ;
100
+ --tw-backdrop-sepia: ;
101
+ --tw-contain-size: ;
102
+ --tw-contain-layout: ;
103
+ --tw-contain-paint: ;
104
+ --tw-contain-style: ;
105
+ }
106
+ ::backdrop {
107
+ --tw-border-spacing-x: 0;
108
+ --tw-border-spacing-y: 0;
109
+ --tw-translate-x: 0;
110
+ --tw-translate-y: 0;
111
+ --tw-rotate: 0;
112
+ --tw-skew-x: 0;
113
+ --tw-skew-y: 0;
114
+ --tw-scale-x: 1;
115
+ --tw-scale-y: 1;
116
+ --tw-pan-x: ;
117
+ --tw-pan-y: ;
118
+ --tw-pinch-zoom: ;
119
+ --tw-scroll-snap-strictness: proximity;
120
+ --tw-gradient-from-position: ;
121
+ --tw-gradient-via-position: ;
122
+ --tw-gradient-to-position: ;
123
+ --tw-ordinal: ;
124
+ --tw-slashed-zero: ;
125
+ --tw-numeric-figure: ;
126
+ --tw-numeric-spacing: ;
127
+ --tw-numeric-fraction: ;
128
+ --tw-ring-inset: ;
129
+ --tw-ring-offset-width: 0px;
130
+ --tw-ring-offset-color: #fff;
131
+ --tw-ring-color: rgb(59 130 246 / 0.5);
132
+ --tw-ring-offset-shadow: 0 0 #0000;
133
+ --tw-ring-shadow: 0 0 #0000;
134
+ --tw-shadow: 0 0 #0000;
135
+ --tw-shadow-colored: 0 0 #0000;
136
+ --tw-blur: ;
137
+ --tw-brightness: ;
138
+ --tw-contrast: ;
139
+ --tw-grayscale: ;
140
+ --tw-hue-rotate: ;
141
+ --tw-invert: ;
142
+ --tw-saturate: ;
143
+ --tw-sepia: ;
144
+ --tw-drop-shadow: ;
145
+ --tw-backdrop-blur: ;
146
+ --tw-backdrop-brightness: ;
147
+ --tw-backdrop-contrast: ;
148
+ --tw-backdrop-grayscale: ;
149
+ --tw-backdrop-hue-rotate: ;
150
+ --tw-backdrop-invert: ;
151
+ --tw-backdrop-opacity: ;
152
+ --tw-backdrop-saturate: ;
153
+ --tw-backdrop-sepia: ;
154
+ --tw-contain-size: ;
155
+ --tw-contain-layout: ;
156
+ --tw-contain-paint: ;
157
+ --tw-contain-style: ;
158
+ }
159
+ *,
160
+ ::before,
161
+ ::after {
162
+ box-sizing: border-box;
163
+ border-width: 0;
164
+ border-style: solid;
165
+ border-color: #e5e7eb;
166
+ }
167
+ ::before,
168
+ ::after {
169
+ --tw-content: "";
170
+ }
171
+ html,
172
+ :host {
173
+ line-height: 1.5;
174
+ -webkit-text-size-adjust: 100%;
175
+ -moz-tab-size: 4;
176
+ -o-tab-size: 4;
177
+ tab-size: 4;
178
+ font-family:
179
+ ui-sans-serif,
180
+ system-ui,
181
+ sans-serif,
182
+ "Apple Color Emoji",
183
+ "Segoe UI Emoji",
184
+ "Segoe UI Symbol",
185
+ "Noto Color Emoji";
186
+ font-feature-settings: normal;
187
+ font-variation-settings: normal;
188
+ -webkit-tap-highlight-color: transparent;
189
+ }
190
+ body {
191
+ margin: 0;
192
+ line-height: inherit;
193
+ }
194
+ hr {
195
+ height: 0;
196
+ color: inherit;
197
+ border-top-width: 1px;
198
+ }
199
+ abbr:where([title]) {
200
+ -webkit-text-decoration: underline dotted;
201
+ text-decoration: underline dotted;
202
+ }
203
+ h1,
204
+ h2,
205
+ h3,
206
+ h4,
207
+ h5,
208
+ h6 {
209
+ font-size: inherit;
210
+ font-weight: inherit;
211
+ }
212
+ a {
213
+ color: inherit;
214
+ text-decoration: inherit;
215
+ }
216
+ b,
217
+ strong {
218
+ font-weight: bolder;
219
+ }
220
+ code,
221
+ kbd,
222
+ samp,
223
+ pre {
224
+ font-family:
225
+ ui-monospace,
226
+ SFMono-Regular,
227
+ Menlo,
228
+ Monaco,
229
+ Consolas,
230
+ "Liberation Mono",
231
+ "Courier New",
232
+ monospace;
233
+ font-feature-settings: normal;
234
+ font-variation-settings: normal;
235
+ font-size: 1em;
236
+ }
237
+ small {
238
+ font-size: 80%;
239
+ }
240
+ sub,
241
+ sup {
242
+ font-size: 75%;
243
+ line-height: 0;
244
+ position: relative;
245
+ vertical-align: baseline;
246
+ }
247
+ sub {
248
+ bottom: -0.25em;
249
+ }
250
+ sup {
251
+ top: -0.5em;
252
+ }
253
+ table {
254
+ text-indent: 0;
255
+ border-color: inherit;
256
+ border-collapse: collapse;
257
+ }
258
+ button,
259
+ input,
260
+ optgroup,
261
+ select,
262
+ textarea {
263
+ font-family: inherit;
264
+ font-feature-settings: inherit;
265
+ font-variation-settings: inherit;
266
+ font-size: 100%;
267
+ font-weight: inherit;
268
+ line-height: inherit;
269
+ letter-spacing: inherit;
270
+ color: inherit;
271
+ margin: 0;
272
+ padding: 0;
273
+ }
274
+ button,
275
+ select {
276
+ text-transform: none;
277
+ }
278
+ button,
279
+ input:where([type=button]),
280
+ input:where([type=reset]),
281
+ input:where([type=submit]) {
282
+ -webkit-appearance: button;
283
+ background-color: transparent;
284
+ background-image: none;
285
+ }
286
+ :-moz-focusring {
287
+ outline: auto;
288
+ }
289
+ :-moz-ui-invalid {
290
+ box-shadow: none;
291
+ }
292
+ progress {
293
+ vertical-align: baseline;
294
+ }
295
+ ::-webkit-inner-spin-button,
296
+ ::-webkit-outer-spin-button {
297
+ height: auto;
298
+ }
299
+ [type=search] {
300
+ -webkit-appearance: textfield;
301
+ outline-offset: -2px;
302
+ }
303
+ ::-webkit-search-decoration {
304
+ -webkit-appearance: none;
305
+ }
306
+ ::-webkit-file-upload-button {
307
+ -webkit-appearance: button;
308
+ font: inherit;
309
+ }
310
+ summary {
311
+ display: list-item;
312
+ }
313
+ blockquote,
314
+ dl,
315
+ dd,
316
+ h1,
317
+ h2,
318
+ h3,
319
+ h4,
320
+ h5,
321
+ h6,
322
+ hr,
323
+ figure,
324
+ p,
325
+ pre {
326
+ margin: 0;
327
+ }
328
+ fieldset {
329
+ margin: 0;
330
+ padding: 0;
331
+ }
332
+ legend {
333
+ padding: 0;
334
+ }
335
+ ol,
336
+ ul,
337
+ menu {
338
+ list-style: none;
339
+ margin: 0;
340
+ padding: 0;
341
+ }
342
+ dialog {
343
+ padding: 0;
344
+ }
345
+ textarea {
346
+ resize: vertical;
347
+ }
348
+ input::-moz-placeholder,
349
+ textarea::-moz-placeholder {
350
+ opacity: 1;
351
+ color: #9ca3af;
352
+ }
353
+ input::placeholder,
354
+ textarea::placeholder {
355
+ opacity: 1;
356
+ color: #9ca3af;
357
+ }
358
+ button,
359
+ [role=button] {
360
+ cursor: pointer;
361
+ }
362
+ :disabled {
363
+ cursor: default;
364
+ }
365
+ img,
366
+ svg,
367
+ video,
368
+ canvas,
369
+ audio,
370
+ iframe,
371
+ embed,
372
+ object {
373
+ display: block;
374
+ vertical-align: middle;
375
+ }
376
+ img,
377
+ video {
378
+ max-width: 100%;
379
+ height: auto;
380
+ }
381
+ [hidden] {
382
+ display: none;
383
+ }
384
+ .sb-absolute {
385
+ position: absolute;
386
+ }
387
+ .sb-relative {
388
+ position: relative;
389
+ }
390
+ .sb-bottom-10 {
391
+ bottom: 2.5rem;
392
+ }
393
+ .sb-bottom-full {
394
+ bottom: 100%;
395
+ }
396
+ .sb-left-0 {
397
+ left: 0px;
398
+ }
399
+ .sb-left-1\/2 {
400
+ left: 50%;
401
+ }
402
+ .sb-right-0 {
403
+ right: 0px;
404
+ }
405
+ .sb-top-0 {
406
+ top: 0px;
407
+ }
408
+ .sb-top-\[27\%\] {
409
+ top: 27%;
410
+ }
411
+ .sb-z-10 {
412
+ z-index: 10;
413
+ }
414
+ .sb-z-20 {
415
+ z-index: 20;
416
+ }
417
+ .sb-z-30 {
418
+ z-index: 30;
419
+ }
420
+ .sb-col-span-3 {
421
+ grid-column: span 3 / span 3;
422
+ }
423
+ .sb-col-span-9 {
424
+ grid-column: span 9 / span 9;
425
+ }
426
+ .sb-mb-2 {
427
+ margin-bottom: 0.5rem;
428
+ }
429
+ .sb-flex {
430
+ display: flex;
431
+ }
432
+ .sb-grid {
433
+ display: grid;
434
+ }
435
+ .sb-h-1 {
436
+ height: 0.25rem;
437
+ }
438
+ .sb-h-16 {
439
+ height: 4rem;
440
+ }
441
+ .sb-h-2 {
442
+ height: 0.5rem;
443
+ }
444
+ .sb-h-3 {
445
+ height: 0.75rem;
446
+ }
447
+ .sb-h-4 {
448
+ height: 1rem;
449
+ }
450
+ .sb-h-5 {
451
+ height: 1.25rem;
452
+ }
453
+ .sb-h-\[\.1px\] {
454
+ height: .1px;
455
+ }
456
+ .sb-h-full {
457
+ height: 100%;
458
+ }
459
+ .sb-w-1 {
460
+ width: 0.25rem;
461
+ }
462
+ .sb-w-16 {
463
+ width: 4rem;
464
+ }
465
+ .sb-w-3 {
466
+ width: 0.75rem;
467
+ }
468
+ .sb-w-4 {
469
+ width: 1rem;
470
+ }
471
+ .sb-w-5 {
472
+ width: 1.25rem;
473
+ }
474
+ .sb-w-\[10\%\] {
475
+ width: 10%;
476
+ }
477
+ .sb-w-\[150px\] {
478
+ width: 150px;
479
+ }
480
+ .sb-w-\[220px\] {
481
+ width: 220px;
482
+ }
483
+ .sb-w-\[30\%\] {
484
+ width: 30%;
485
+ }
486
+ .sb-w-full {
487
+ width: 100%;
488
+ }
489
+ .sb--translate-x-1\/2 {
490
+ --tw-translate-x: -50%;
491
+ 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));
492
+ }
493
+ .sb-transform {
494
+ 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));
495
+ }
496
+ .sb-cursor-pointer {
497
+ cursor: pointer;
498
+ }
499
+ .sb-appearance-none {
500
+ -webkit-appearance: none;
501
+ -moz-appearance: none;
502
+ appearance: none;
503
+ }
504
+ .sb-grid-cols-12 {
505
+ grid-template-columns: repeat(12, minmax(0, 1fr));
506
+ }
507
+ .sb-flex-row {
508
+ flex-direction: row;
509
+ }
510
+ .sb-flex-col {
511
+ flex-direction: column;
512
+ }
513
+ .sb-items-start {
514
+ align-items: flex-start;
515
+ }
516
+ .sb-items-center {
517
+ align-items: center;
518
+ }
519
+ .sb-justify-center {
520
+ justify-content: center;
521
+ }
522
+ .sb-justify-between {
523
+ justify-content: space-between;
524
+ }
525
+ .sb-gap-2 {
526
+ gap: 0.5rem;
527
+ }
528
+ .sb-gap-3 {
529
+ gap: 0.75rem;
530
+ }
531
+ .sb-gap-4 {
532
+ gap: 1rem;
533
+ }
534
+ .sb-overflow-hidden {
535
+ overflow: hidden;
536
+ }
537
+ .sb-whitespace-nowrap {
538
+ white-space: nowrap;
539
+ }
540
+ .sb-rounded-full {
541
+ border-radius: 9999px;
542
+ }
543
+ .sb-rounded-lg {
544
+ border-radius: 0.5rem;
545
+ }
546
+ .sb-rounded-md {
547
+ border-radius: 0.375rem;
548
+ }
549
+ .sb-border {
550
+ border-width: 1px;
551
+ }
552
+ .sb-border-\[\#AAAAAA\] {
553
+ --tw-border-opacity: 1;
554
+ border-color: rgb(170 170 170 / var(--tw-border-opacity));
555
+ }
556
+ .sb-bg-\[\#303030\] {
557
+ --tw-bg-opacity: 1;
558
+ background-color: rgb(48 48 48 / var(--tw-bg-opacity));
559
+ }
560
+ .sb-bg-\[\#AAAAAA\] {
561
+ --tw-bg-opacity: 1;
562
+ background-color: rgb(170 170 170 / var(--tw-bg-opacity));
563
+ }
564
+ .sb-bg-orange-500 {
565
+ --tw-bg-opacity: 1;
566
+ background-color: rgb(249 115 22 / var(--tw-bg-opacity));
567
+ }
568
+ .sb-bg-slate-400 {
569
+ --tw-bg-opacity: 1;
570
+ background-color: rgb(148 163 184 / var(--tw-bg-opacity));
571
+ }
572
+ .sb-bg-transparent {
573
+ background-color: transparent;
574
+ }
575
+ .sb-bg-white {
576
+ --tw-bg-opacity: 1;
577
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
578
+ }
579
+ .sb-bg-white\/30 {
580
+ background-color: rgb(255 255 255 / 0.3);
581
+ }
582
+ .sb-bg-opacity-50 {
583
+ --tw-bg-opacity: 0.5;
584
+ }
585
+ .sb-bg-opacity-70 {
586
+ --tw-bg-opacity: 0.7;
587
+ }
588
+ .sb-p-2 {
589
+ padding: 0.5rem;
590
+ }
591
+ .sb-px-4 {
592
+ padding-left: 1rem;
593
+ padding-right: 1rem;
594
+ }
595
+ .sb-px-5 {
596
+ padding-left: 1.25rem;
597
+ padding-right: 1.25rem;
598
+ }
599
+ .sb-py-3 {
600
+ padding-top: 0.75rem;
601
+ padding-bottom: 0.75rem;
602
+ }
603
+ .sb-py-5 {
604
+ padding-top: 1.25rem;
605
+ padding-bottom: 1.25rem;
606
+ }
607
+ .sb-text-left {
608
+ text-align: left;
609
+ }
610
+ .sb-text-center {
611
+ text-align: center;
612
+ }
613
+ .sb-font-bold {
614
+ font-weight: 700;
615
+ }
616
+ .sb-text-white {
617
+ --tw-text-opacity: 1;
618
+ color: rgb(255 255 255 / var(--tw-text-opacity));
619
+ }
620
+ .sb-shadow-lg {
621
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
622
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
623
+ box-shadow:
624
+ var(--tw-ring-offset-shadow, 0 0 #0000),
625
+ var(--tw-ring-shadow, 0 0 #0000),
626
+ var(--tw-shadow);
627
+ }
628
+ .sb-backdrop-blur-lg {
629
+ --tw-backdrop-blur: blur(16px);
630
+ -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);
631
+ 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);
632
+ }
633
+ .sb-transition-all {
634
+ transition-property: all;
635
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
636
+ transition-duration: 150ms;
637
+ }
638
+ .sb-duration-500 {
639
+ transition-duration: 500ms;
640
+ }
641
+ .sb-ease-in-out {
642
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
643
+ }
644
+ .placeholder\:sb-text-white::-moz-placeholder {
645
+ --tw-text-opacity: 1;
646
+ color: rgb(255 255 255 / var(--tw-text-opacity));
647
+ }
648
+ .placeholder\:sb-text-white::placeholder {
649
+ --tw-text-opacity: 1;
650
+ color: rgb(255 255 255 / var(--tw-text-opacity));
651
+ }
652
+ .hover\:sb-w-\[45\%\]:hover {
653
+ width: 45%;
654
+ }
655
+ .hover\:sb-scale-150:hover {
656
+ --tw-scale-x: 1.5;
657
+ --tw-scale-y: 1.5;
658
+ 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));
659
+ }
660
+ .hover\:sb-text-orange-500:hover {
661
+ --tw-text-opacity: 1;
662
+ color: rgb(249 115 22 / var(--tw-text-opacity));
663
+ }
@@ -0,0 +1,49 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React from 'react';
3
+
4
+ type SoftBuildersVideoPlayerSource = {
5
+ src: string;
6
+ type?: string;
7
+ label: string;
8
+ };
9
+ type SoftBuildersVideoPlayerTrack = {
10
+ kind: "captions";
11
+ src: string;
12
+ srclang: string;
13
+ label: string;
14
+ memeType: "text/vtt" | "text/srt";
15
+ default?: boolean;
16
+ };
17
+ type SoftBuildersVideoPlayerOptions = {
18
+ autoplay?: boolean;
19
+ controls?: boolean;
20
+ fluid?: boolean;
21
+ muted?: boolean;
22
+ poster?: string;
23
+ sources: SoftBuildersVideoPlayerSource[];
24
+ tracks: SoftBuildersVideoPlayerTrack[];
25
+ width?: number;
26
+ height?: number;
27
+ };
28
+ interface SoftBuildersVideoPlayerNote {
29
+ time: number;
30
+ label: string;
31
+ }
32
+ interface SoftBuildersVideoPlayerChapter {
33
+ startTime: number;
34
+ endTime: number;
35
+ title: string;
36
+ }
37
+
38
+ type Props<T = any> = {
39
+ options: SoftBuildersVideoPlayerOptions;
40
+ notes: SoftBuildersVideoPlayerNote[];
41
+ chapters: SoftBuildersVideoPlayerChapter[];
42
+ startTime?: number;
43
+ handleSaveNoteAction?: (time: number, note: string) => Promise<T>;
44
+ onPlay?: (time: number) => void;
45
+ onPause?: (time: number) => void;
46
+ };
47
+ declare const SoftBuildersVideoPlayer: React.MemoExoticComponent<(<T>({ options, notes, chapters, startTime, handleSaveNoteAction, onPlay, onPause, }: Props<T>) => react_jsx_runtime.JSX.Element)>;
48
+
49
+ export { type SoftBuildersVideoPlayerChapter, type SoftBuildersVideoPlayerNote, type SoftBuildersVideoPlayerOptions, type SoftBuildersVideoPlayerSource, type SoftBuildersVideoPlayerTrack, SoftBuildersVideoPlayer as default };