@streamscloud/embeddable 1.1.9 → 1.1.10

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.
@@ -1,4 +1,4 @@
1
- <svelte:options customElement={{ tag: 'short-videos-player', shadow: 'none' }} />
1
+ <svelte:options customElement="short-videos-player" />
2
2
 
3
3
  <script lang="ts">import { ShortVideosPlayer } from '../short-videos-player';
4
4
  import { ShortVideosPlayerModalState } from './short-videos-player-modal-state.svelte.js';
@@ -1,12 +1,487 @@
1
- <script lang="ts">import { mount, onMount } from 'svelte';
2
- import { default as Modal } from './modal.svelte';
3
- let host;
4
- onMount(() => {
5
- const root = host.attachShadow({ mode: 'closed' });
6
- mount(Modal, {
7
- target: root
8
- });
1
+ <svelte:options customElement="stream-player" />
2
+
3
+ <script lang="ts">import { StreamPlayer } from '../stream-player';
4
+ import { StreamPlayerModalState } from './stream-player-modal-state.svelte';
5
+ $effect(() => {
6
+ document.getElementsByTagName('html')[0].style.overflow = StreamPlayerModalState.playerData ? 'hidden' : '';
9
7
  });
10
8
  </script>
11
9
 
12
- <div bind:this={host}></div>
10
+ {#if StreamPlayerModalState.playerData}
11
+ <div class="stream-player-modal">
12
+ <StreamPlayer
13
+ streamId={StreamPlayerModalState.playerData.streamId}
14
+ graphql={StreamPlayerModalState.playerData.graphql}
15
+ localization={StreamPlayerModalState.playerData.localization}
16
+ on={{ closePlayer: StreamPlayerModalState.close }} />
17
+ </div>
18
+ {/if}
19
+
20
+ <style>@keyframes fadeIn {
21
+ 0% {
22
+ opacity: 1;
23
+ }
24
+ 50% {
25
+ opacity: 0.4;
26
+ }
27
+ 100% {
28
+ opacity: 1;
29
+ }
30
+ }
31
+ /* Reset browser styles */
32
+ /*Default margins and paddings are removed*/
33
+ :global(a),
34
+ :global(article),
35
+ :global(aside),
36
+ :global(blockquote),
37
+ :global(body),
38
+ :global(dd),
39
+ :global(div),
40
+ :global(dl),
41
+ :global(dt),
42
+ :global(figcaption),
43
+ :global(figure),
44
+ :global(footer),
45
+ :global(form),
46
+ :global(h1),
47
+ :global(h2),
48
+ :global(h3),
49
+ :global(h4),
50
+ :global(h5),
51
+ :global(h6),
52
+ :global(header),
53
+ :global(html),
54
+ :global(img),
55
+ :global(li),
56
+ :global(nav),
57
+ :global(ol),
58
+ :global(p),
59
+ :global(section),
60
+ :global(table),
61
+ :global(td),
62
+ :global(ul) {
63
+ margin: 0;
64
+ padding: 0;
65
+ }
66
+
67
+ :global(header),
68
+ :global(section),
69
+ :global(footer),
70
+ :global(aside),
71
+ :global(nav),
72
+ :global(article),
73
+ :global(figure),
74
+ :global(figcaption) {
75
+ display: block;
76
+ }
77
+
78
+ /*Images are block-level*/
79
+ :global(img),
80
+ :global(svg),
81
+ :global(video),
82
+ :global(canvas),
83
+ :global(audio),
84
+ :global(iframe),
85
+ :global(embed),
86
+ :global(object) {
87
+ display: block;
88
+ vertical-align: middle;
89
+ max-width: 100%;
90
+ }
91
+
92
+ :global(table) {
93
+ border-collapse: collapse;
94
+ }
95
+
96
+ :global(img) {
97
+ border: none;
98
+ height: auto;
99
+ }
100
+
101
+ :global(video) {
102
+ outline: none;
103
+ }
104
+
105
+ /*Lists are unstyled*/
106
+ :global(ul),
107
+ :global(ol) {
108
+ list-style: none;
109
+ margin: 0;
110
+ padding: 0;
111
+ }
112
+
113
+ :global(li) {
114
+ list-style: inherit;
115
+ }
116
+
117
+ :global(input) {
118
+ vertical-align: middle;
119
+ min-width: 0;
120
+ /* Chrome, Safari, Edge, Opera */
121
+ }
122
+ :global(input)::placeholder {
123
+ color: var(--input--placeholder--color, #c1c1c1) !important;
124
+ }
125
+ :global(input):-webkit-autofill, :global(input):-webkit-autofill:hover, :global(input):-webkit-autofill:focus {
126
+ -webkit-background-clip: text;
127
+ }
128
+ :global(input)::-webkit-outer-spin-button, :global(input)::-webkit-inner-spin-button {
129
+ -webkit-appearance: none;
130
+ margin: 0;
131
+ }
132
+
133
+ :global(textarea) {
134
+ vertical-align: top;
135
+ resize: vertical;
136
+ scrollbar-color: var(--custom-scrollbar-color, #b0b0b0) var(--custom-scrollbar-background, #f1f1f1);
137
+ scrollbar-width: thin;
138
+ }
139
+ :global(textarea)::-webkit-scrollbar {
140
+ width: 3px;
141
+ height: 3px;
142
+ background: var(--custom-scrollbar-background, transparent);
143
+ visibility: hidden;
144
+ }
145
+ :global(textarea)::-webkit-scrollbar-thumb {
146
+ background: var(--custom-scrollbar-color, #b0b0b0);
147
+ }
148
+ :global(textarea)::placeholder {
149
+ color: var(--input--placeholder--color, #c1c1c1) !important;
150
+ }
151
+
152
+ :global(input:focus),
153
+ :global(textarea:focus) {
154
+ outline: none;
155
+ }
156
+
157
+ :global(button),
158
+ :global(input[type="submit"]) {
159
+ cursor: pointer;
160
+ -webkit-appearance: none;
161
+ background-color: transparent;
162
+ padding: 0;
163
+ text-align: left;
164
+ font: inherit;
165
+ color: inherit;
166
+ box-sizing: border-box;
167
+ }
168
+ :global(button):disabled,
169
+ :global(input[type="submit"]):disabled {
170
+ cursor: default;
171
+ }
172
+ :global(button):focus, :global(button):focus-visible,
173
+ :global(input[type="submit"]):focus,
174
+ :global(input[type="submit"]):focus-visible {
175
+ outline: none;
176
+ }
177
+
178
+ :global(a) {
179
+ color: inherit;
180
+ text-decoration: none;
181
+ transition: color linear 0.2s;
182
+ }
183
+
184
+ :global(*),
185
+ :global(*:before),
186
+ :global(*:after) {
187
+ box-sizing: inherit;
188
+ border-width: 0;
189
+ border-style: solid;
190
+ }
191
+
192
+ /* Normalize styles */
193
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
194
+ /* Document
195
+ ========================================================================== */
196
+ /**
197
+ * Render the `main` element consistently in IE.
198
+ */
199
+ :global(main) {
200
+ display: block;
201
+ }
202
+
203
+ /**
204
+ * Correct the font size and margin on `h1` elements within `section` and
205
+ * `article` contexts in Chrome, Firefox, and Safari.
206
+ */
207
+ :global(h1) {
208
+ font-size: 2em;
209
+ margin: 0.67em 0;
210
+ }
211
+
212
+ /* Grouping content
213
+ ========================================================================== */
214
+ /**
215
+ * 1. Add the correct box sizing in Firefox.
216
+ * 2. Show the overflow in Edge and IE.
217
+ */
218
+ :global(hr) {
219
+ box-sizing: content-box; /* 1 */
220
+ height: 0; /* 1 */
221
+ overflow: visible; /* 2 */
222
+ }
223
+
224
+ /**
225
+ * 1. Correct the inheritance and scaling of font size in all browsers.
226
+ * 2. Correct the odd `em` font sizing in all browsers.
227
+ */
228
+ :global(pre) {
229
+ font-family: monospace, monospace; /* 1 */
230
+ font-size: 1em; /* 2 */
231
+ }
232
+
233
+ /* Text-level semantics
234
+ ========================================================================== */
235
+ /**
236
+ * Remove the gray background on active links in IE 10.
237
+ */
238
+ :global(a) {
239
+ background-color: transparent;
240
+ }
241
+
242
+ /**
243
+ * 1. Remove the bottom border in Chrome 57-
244
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
245
+ */
246
+ :global(abbr[title]) {
247
+ border-bottom: none; /* 1 */
248
+ text-decoration: underline; /* 2 */
249
+ }
250
+
251
+ /**
252
+ * Add the correct font weight in Chrome, Edge, and Safari.
253
+ */
254
+ :global(b),
255
+ :global(strong) {
256
+ font-weight: bolder;
257
+ }
258
+
259
+ /**
260
+ * 1. Correct the inheritance and scaling of font size in all browsers.
261
+ * 2. Correct the odd `em` font sizing in all browsers.
262
+ */
263
+ :global(code),
264
+ :global(kbd),
265
+ :global(samp) {
266
+ font-family: monospace, monospace; /* 1 */
267
+ font-size: 1em; /* 2 */
268
+ }
269
+
270
+ /**
271
+ * Add the correct font size in all browsers.
272
+ */
273
+ :global(small) {
274
+ font-size: 80%;
275
+ }
276
+
277
+ /**
278
+ * Prevent `sub` and `sup` elements from affecting the line height in
279
+ * all browsers.
280
+ */
281
+ :global(sub),
282
+ :global(sup) {
283
+ font-size: 75%;
284
+ line-height: 0;
285
+ position: relative;
286
+ vertical-align: baseline;
287
+ }
288
+
289
+ :global(sub) {
290
+ bottom: -0.25em;
291
+ }
292
+
293
+ :global(sup) {
294
+ top: -0.5em;
295
+ }
296
+
297
+ /* Embedded content
298
+ ========================================================================== */
299
+ /**
300
+ * Remove the border on images inside links in IE 10.
301
+ */
302
+ :global(img) {
303
+ border-style: none;
304
+ }
305
+
306
+ /* Forms
307
+ ========================================================================== */
308
+ /**
309
+ * 1. Change the font styles in all browsers.
310
+ * 2. Remove the margin in Firefox and Safari.
311
+ */
312
+ :global(button),
313
+ :global(input),
314
+ :global(optgroup),
315
+ :global(select),
316
+ :global(textarea) {
317
+ font-family: inherit; /* 1 */
318
+ font-size: 100%; /* 1 */
319
+ line-height: 1.15; /* 1 */
320
+ margin: 0; /* 2 */
321
+ }
322
+
323
+ /**
324
+ * Show the overflow in IE.
325
+ * 1. Show the overflow in Edge.
326
+ */
327
+ :global(button),
328
+ :global(input) {
329
+ /* 1 */
330
+ overflow: visible;
331
+ }
332
+
333
+ /**
334
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
335
+ * 1. Remove the inheritance of text transform in Firefox.
336
+ */
337
+ :global(button),
338
+ :global(select) {
339
+ /* 1 */
340
+ text-transform: none;
341
+ }
342
+
343
+ /**
344
+ * Correct the inability to style clickable types in iOS and Safari.
345
+ */
346
+ :global(button),
347
+ :global([type="button"]),
348
+ :global([type="reset"]),
349
+ :global([type="submit"]) {
350
+ -webkit-appearance: button;
351
+ }
352
+
353
+ /**
354
+ * Remove the inner border and padding in Firefox.
355
+ */
356
+ :global(button::-moz-focus-inner),
357
+ :global([type="button"]::-moz-focus-inner),
358
+ :global([type="reset"]::-moz-focus-inner),
359
+ :global([type="submit"]::-moz-focus-inner) {
360
+ border-style: none;
361
+ padding: 0;
362
+ }
363
+
364
+ /**
365
+ * Restore the focus styles unset by the previous rule.
366
+ */
367
+ :global(button:-moz-focusring),
368
+ :global([type="button"]:-moz-focusring),
369
+ :global([type="reset"]:-moz-focusring),
370
+ :global([type="submit"]:-moz-focusring) {
371
+ outline: 1px dotted ButtonText;
372
+ }
373
+
374
+ /**
375
+ * Correct the padding in Firefox.
376
+ */
377
+ :global(fieldset) {
378
+ padding: 0.35em 0.75em 0.625em;
379
+ }
380
+
381
+ /**
382
+ * 1. Correct the text wrapping in Edge and IE.
383
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
384
+ * 3. Remove the padding so developers are not caught out when they zero out
385
+ * `fieldset` elements in all browsers.
386
+ */
387
+ :global(legend) {
388
+ box-sizing: border-box; /* 1 */
389
+ color: inherit; /* 2 */
390
+ display: table; /* 1 */
391
+ max-width: 100%; /* 1 */
392
+ padding: 0; /* 3 */
393
+ white-space: normal; /* 1 */
394
+ }
395
+
396
+ /**
397
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
398
+ */
399
+ :global(progress) {
400
+ vertical-align: baseline;
401
+ }
402
+
403
+ /**
404
+ * Remove the default vertical scrollbar in IE 10+.
405
+ */
406
+ :global(textarea) {
407
+ overflow: auto;
408
+ }
409
+
410
+ /**
411
+ * 1. Add the correct box sizing in IE 10.
412
+ * 2. Remove the padding in IE 10.
413
+ */
414
+ :global([type="checkbox"]),
415
+ :global([type="radio"]) {
416
+ box-sizing: border-box; /* 1 */
417
+ padding: 0; /* 2 */
418
+ }
419
+
420
+ /**
421
+ * Correct the cursor style of increment and decrement buttons in Chrome.
422
+ */
423
+ :global([type="number"]::-webkit-inner-spin-button),
424
+ :global([type="number"]::-webkit-outer-spin-button) {
425
+ height: auto;
426
+ }
427
+
428
+ /**
429
+ * 1. Correct the odd appearance in Chrome and Safari.
430
+ * 2. Correct the outline style in Safari.
431
+ */
432
+ :global([type="search"]) {
433
+ -webkit-appearance: textfield; /* 1 */
434
+ outline-offset: -2px; /* 2 */
435
+ }
436
+
437
+ /**
438
+ * Remove the inner padding in Chrome and Safari on macOS.
439
+ */
440
+ :global([type="search"]::-webkit-search-decoration) {
441
+ -webkit-appearance: none;
442
+ }
443
+
444
+ /**
445
+ * 1. Correct the inability to style clickable types in iOS and Safari.
446
+ * 2. Change font properties to `inherit` in Safari.
447
+ */
448
+ :global(::-webkit-file-upload-button) {
449
+ -webkit-appearance: button; /* 1 */
450
+ font: inherit; /* 2 */
451
+ }
452
+
453
+ /* Misc
454
+ ========================================================================== */
455
+ /**
456
+ * Add the correct display in IE 10+.
457
+ */
458
+ :global(template) {
459
+ display: none;
460
+ }
461
+
462
+ /**
463
+ * Add the correct display in IE 10.
464
+ */
465
+ :global([hidden]) {
466
+ display: none;
467
+ }
468
+
469
+ .stream-player-modal {
470
+ /**
471
+ * 1. Correct the line height in all browsers.
472
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
473
+ */
474
+ line-height: 1.15; /* 1 */
475
+ font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
476
+ font-weight: 400;
477
+ -webkit-text-size-adjust: 100%; /* 2 */
478
+ margin: 0;
479
+ box-sizing: border-box;
480
+ text-align: initial;
481
+ position: fixed;
482
+ top: 0;
483
+ left: 0;
484
+ bottom: 0;
485
+ right: 0;
486
+ z-index: 1000;
487
+ }</style>
@@ -1,18 +1,3 @@
1
- interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
- new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
- $$bindings?: Bindings;
4
- } & Exports;
5
- (internal: unknown, props: {
6
- $$events?: Events;
7
- $$slots?: Slots;
8
- }): Exports & {
9
- $set?: any;
10
- $on?: any;
11
- };
12
- z_$$bindings?: Bindings;
13
- }
14
- declare const Cmp: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
15
- [evt: string]: CustomEvent<any>;
16
- }, {}, {}, string>;
17
- type Cmp = InstanceType<typeof Cmp>;
1
+ declare const Cmp: import("svelte").Component<Record<string, never>, {}, "">;
2
+ type Cmp = ReturnType<typeof Cmp>;
18
3
  export default Cmp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/embeddable",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "author": "StreamsCloud",
5
5
  "repository": "https://github.com/StreamsCloud/streamscloud-frontend-packages.git",
6
6
  "type": "module",
@@ -1,485 +0,0 @@
1
- <script lang="ts">import { StreamPlayer } from '../stream-player';
2
- import { StreamPlayerModalState } from './stream-player-modal-state.svelte';
3
- $effect(() => {
4
- document.getElementsByTagName('html')[0].style.overflow = StreamPlayerModalState.playerData ? 'hidden' : '';
5
- });
6
- </script>
7
-
8
- {#if StreamPlayerModalState.playerData}
9
- <div class="stream-player-modal">
10
- <StreamPlayer
11
- streamId={StreamPlayerModalState.playerData.streamId}
12
- graphql={StreamPlayerModalState.playerData.graphql}
13
- localization={StreamPlayerModalState.playerData.localization}
14
- on={{ closePlayer: StreamPlayerModalState.close }} />
15
- </div>
16
- {/if}
17
-
18
- <style>@keyframes fadeIn {
19
- 0% {
20
- opacity: 1;
21
- }
22
- 50% {
23
- opacity: 0.4;
24
- }
25
- 100% {
26
- opacity: 1;
27
- }
28
- }
29
- /* Reset browser styles */
30
- /*Default margins and paddings are removed*/
31
- :global(a),
32
- :global(article),
33
- :global(aside),
34
- :global(blockquote),
35
- :global(body),
36
- :global(dd),
37
- :global(div),
38
- :global(dl),
39
- :global(dt),
40
- :global(figcaption),
41
- :global(figure),
42
- :global(footer),
43
- :global(form),
44
- :global(h1),
45
- :global(h2),
46
- :global(h3),
47
- :global(h4),
48
- :global(h5),
49
- :global(h6),
50
- :global(header),
51
- :global(html),
52
- :global(img),
53
- :global(li),
54
- :global(nav),
55
- :global(ol),
56
- :global(p),
57
- :global(section),
58
- :global(table),
59
- :global(td),
60
- :global(ul) {
61
- margin: 0;
62
- padding: 0;
63
- }
64
-
65
- :global(header),
66
- :global(section),
67
- :global(footer),
68
- :global(aside),
69
- :global(nav),
70
- :global(article),
71
- :global(figure),
72
- :global(figcaption) {
73
- display: block;
74
- }
75
-
76
- /*Images are block-level*/
77
- :global(img),
78
- :global(svg),
79
- :global(video),
80
- :global(canvas),
81
- :global(audio),
82
- :global(iframe),
83
- :global(embed),
84
- :global(object) {
85
- display: block;
86
- vertical-align: middle;
87
- max-width: 100%;
88
- }
89
-
90
- :global(table) {
91
- border-collapse: collapse;
92
- }
93
-
94
- :global(img) {
95
- border: none;
96
- height: auto;
97
- }
98
-
99
- :global(video) {
100
- outline: none;
101
- }
102
-
103
- /*Lists are unstyled*/
104
- :global(ul),
105
- :global(ol) {
106
- list-style: none;
107
- margin: 0;
108
- padding: 0;
109
- }
110
-
111
- :global(li) {
112
- list-style: inherit;
113
- }
114
-
115
- :global(input) {
116
- vertical-align: middle;
117
- min-width: 0;
118
- /* Chrome, Safari, Edge, Opera */
119
- }
120
- :global(input)::placeholder {
121
- color: var(--input--placeholder--color, #c1c1c1) !important;
122
- }
123
- :global(input):-webkit-autofill, :global(input):-webkit-autofill:hover, :global(input):-webkit-autofill:focus {
124
- -webkit-background-clip: text;
125
- }
126
- :global(input)::-webkit-outer-spin-button, :global(input)::-webkit-inner-spin-button {
127
- -webkit-appearance: none;
128
- margin: 0;
129
- }
130
-
131
- :global(textarea) {
132
- vertical-align: top;
133
- resize: vertical;
134
- scrollbar-color: var(--custom-scrollbar-color, #b0b0b0) var(--custom-scrollbar-background, #f1f1f1);
135
- scrollbar-width: thin;
136
- }
137
- :global(textarea)::-webkit-scrollbar {
138
- width: 3px;
139
- height: 3px;
140
- background: var(--custom-scrollbar-background, transparent);
141
- visibility: hidden;
142
- }
143
- :global(textarea)::-webkit-scrollbar-thumb {
144
- background: var(--custom-scrollbar-color, #b0b0b0);
145
- }
146
- :global(textarea)::placeholder {
147
- color: var(--input--placeholder--color, #c1c1c1) !important;
148
- }
149
-
150
- :global(input:focus),
151
- :global(textarea:focus) {
152
- outline: none;
153
- }
154
-
155
- :global(button),
156
- :global(input[type="submit"]) {
157
- cursor: pointer;
158
- -webkit-appearance: none;
159
- background-color: transparent;
160
- padding: 0;
161
- text-align: left;
162
- font: inherit;
163
- color: inherit;
164
- box-sizing: border-box;
165
- }
166
- :global(button):disabled,
167
- :global(input[type="submit"]):disabled {
168
- cursor: default;
169
- }
170
- :global(button):focus, :global(button):focus-visible,
171
- :global(input[type="submit"]):focus,
172
- :global(input[type="submit"]):focus-visible {
173
- outline: none;
174
- }
175
-
176
- :global(a) {
177
- color: inherit;
178
- text-decoration: none;
179
- transition: color linear 0.2s;
180
- }
181
-
182
- :global(*),
183
- :global(*:before),
184
- :global(*:after) {
185
- box-sizing: inherit;
186
- border-width: 0;
187
- border-style: solid;
188
- }
189
-
190
- /* Normalize styles */
191
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
192
- /* Document
193
- ========================================================================== */
194
- /**
195
- * Render the `main` element consistently in IE.
196
- */
197
- :global(main) {
198
- display: block;
199
- }
200
-
201
- /**
202
- * Correct the font size and margin on `h1` elements within `section` and
203
- * `article` contexts in Chrome, Firefox, and Safari.
204
- */
205
- :global(h1) {
206
- font-size: 2em;
207
- margin: 0.67em 0;
208
- }
209
-
210
- /* Grouping content
211
- ========================================================================== */
212
- /**
213
- * 1. Add the correct box sizing in Firefox.
214
- * 2. Show the overflow in Edge and IE.
215
- */
216
- :global(hr) {
217
- box-sizing: content-box; /* 1 */
218
- height: 0; /* 1 */
219
- overflow: visible; /* 2 */
220
- }
221
-
222
- /**
223
- * 1. Correct the inheritance and scaling of font size in all browsers.
224
- * 2. Correct the odd `em` font sizing in all browsers.
225
- */
226
- :global(pre) {
227
- font-family: monospace, monospace; /* 1 */
228
- font-size: 1em; /* 2 */
229
- }
230
-
231
- /* Text-level semantics
232
- ========================================================================== */
233
- /**
234
- * Remove the gray background on active links in IE 10.
235
- */
236
- :global(a) {
237
- background-color: transparent;
238
- }
239
-
240
- /**
241
- * 1. Remove the bottom border in Chrome 57-
242
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
243
- */
244
- :global(abbr[title]) {
245
- border-bottom: none; /* 1 */
246
- text-decoration: underline; /* 2 */
247
- }
248
-
249
- /**
250
- * Add the correct font weight in Chrome, Edge, and Safari.
251
- */
252
- :global(b),
253
- :global(strong) {
254
- font-weight: bolder;
255
- }
256
-
257
- /**
258
- * 1. Correct the inheritance and scaling of font size in all browsers.
259
- * 2. Correct the odd `em` font sizing in all browsers.
260
- */
261
- :global(code),
262
- :global(kbd),
263
- :global(samp) {
264
- font-family: monospace, monospace; /* 1 */
265
- font-size: 1em; /* 2 */
266
- }
267
-
268
- /**
269
- * Add the correct font size in all browsers.
270
- */
271
- :global(small) {
272
- font-size: 80%;
273
- }
274
-
275
- /**
276
- * Prevent `sub` and `sup` elements from affecting the line height in
277
- * all browsers.
278
- */
279
- :global(sub),
280
- :global(sup) {
281
- font-size: 75%;
282
- line-height: 0;
283
- position: relative;
284
- vertical-align: baseline;
285
- }
286
-
287
- :global(sub) {
288
- bottom: -0.25em;
289
- }
290
-
291
- :global(sup) {
292
- top: -0.5em;
293
- }
294
-
295
- /* Embedded content
296
- ========================================================================== */
297
- /**
298
- * Remove the border on images inside links in IE 10.
299
- */
300
- :global(img) {
301
- border-style: none;
302
- }
303
-
304
- /* Forms
305
- ========================================================================== */
306
- /**
307
- * 1. Change the font styles in all browsers.
308
- * 2. Remove the margin in Firefox and Safari.
309
- */
310
- :global(button),
311
- :global(input),
312
- :global(optgroup),
313
- :global(select),
314
- :global(textarea) {
315
- font-family: inherit; /* 1 */
316
- font-size: 100%; /* 1 */
317
- line-height: 1.15; /* 1 */
318
- margin: 0; /* 2 */
319
- }
320
-
321
- /**
322
- * Show the overflow in IE.
323
- * 1. Show the overflow in Edge.
324
- */
325
- :global(button),
326
- :global(input) {
327
- /* 1 */
328
- overflow: visible;
329
- }
330
-
331
- /**
332
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
333
- * 1. Remove the inheritance of text transform in Firefox.
334
- */
335
- :global(button),
336
- :global(select) {
337
- /* 1 */
338
- text-transform: none;
339
- }
340
-
341
- /**
342
- * Correct the inability to style clickable types in iOS and Safari.
343
- */
344
- :global(button),
345
- :global([type="button"]),
346
- :global([type="reset"]),
347
- :global([type="submit"]) {
348
- -webkit-appearance: button;
349
- }
350
-
351
- /**
352
- * Remove the inner border and padding in Firefox.
353
- */
354
- :global(button::-moz-focus-inner),
355
- :global([type="button"]::-moz-focus-inner),
356
- :global([type="reset"]::-moz-focus-inner),
357
- :global([type="submit"]::-moz-focus-inner) {
358
- border-style: none;
359
- padding: 0;
360
- }
361
-
362
- /**
363
- * Restore the focus styles unset by the previous rule.
364
- */
365
- :global(button:-moz-focusring),
366
- :global([type="button"]:-moz-focusring),
367
- :global([type="reset"]:-moz-focusring),
368
- :global([type="submit"]:-moz-focusring) {
369
- outline: 1px dotted ButtonText;
370
- }
371
-
372
- /**
373
- * Correct the padding in Firefox.
374
- */
375
- :global(fieldset) {
376
- padding: 0.35em 0.75em 0.625em;
377
- }
378
-
379
- /**
380
- * 1. Correct the text wrapping in Edge and IE.
381
- * 2. Correct the color inheritance from `fieldset` elements in IE.
382
- * 3. Remove the padding so developers are not caught out when they zero out
383
- * `fieldset` elements in all browsers.
384
- */
385
- :global(legend) {
386
- box-sizing: border-box; /* 1 */
387
- color: inherit; /* 2 */
388
- display: table; /* 1 */
389
- max-width: 100%; /* 1 */
390
- padding: 0; /* 3 */
391
- white-space: normal; /* 1 */
392
- }
393
-
394
- /**
395
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
396
- */
397
- :global(progress) {
398
- vertical-align: baseline;
399
- }
400
-
401
- /**
402
- * Remove the default vertical scrollbar in IE 10+.
403
- */
404
- :global(textarea) {
405
- overflow: auto;
406
- }
407
-
408
- /**
409
- * 1. Add the correct box sizing in IE 10.
410
- * 2. Remove the padding in IE 10.
411
- */
412
- :global([type="checkbox"]),
413
- :global([type="radio"]) {
414
- box-sizing: border-box; /* 1 */
415
- padding: 0; /* 2 */
416
- }
417
-
418
- /**
419
- * Correct the cursor style of increment and decrement buttons in Chrome.
420
- */
421
- :global([type="number"]::-webkit-inner-spin-button),
422
- :global([type="number"]::-webkit-outer-spin-button) {
423
- height: auto;
424
- }
425
-
426
- /**
427
- * 1. Correct the odd appearance in Chrome and Safari.
428
- * 2. Correct the outline style in Safari.
429
- */
430
- :global([type="search"]) {
431
- -webkit-appearance: textfield; /* 1 */
432
- outline-offset: -2px; /* 2 */
433
- }
434
-
435
- /**
436
- * Remove the inner padding in Chrome and Safari on macOS.
437
- */
438
- :global([type="search"]::-webkit-search-decoration) {
439
- -webkit-appearance: none;
440
- }
441
-
442
- /**
443
- * 1. Correct the inability to style clickable types in iOS and Safari.
444
- * 2. Change font properties to `inherit` in Safari.
445
- */
446
- :global(::-webkit-file-upload-button) {
447
- -webkit-appearance: button; /* 1 */
448
- font: inherit; /* 2 */
449
- }
450
-
451
- /* Misc
452
- ========================================================================== */
453
- /**
454
- * Add the correct display in IE 10+.
455
- */
456
- :global(template) {
457
- display: none;
458
- }
459
-
460
- /**
461
- * Add the correct display in IE 10.
462
- */
463
- :global([hidden]) {
464
- display: none;
465
- }
466
-
467
- .stream-player-modal {
468
- /**
469
- * 1. Correct the line height in all browsers.
470
- * 2. Prevent adjustments of font size after orientation changes in iOS.
471
- */
472
- line-height: 1.15; /* 1 */
473
- font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
474
- font-weight: 400;
475
- -webkit-text-size-adjust: 100%; /* 2 */
476
- margin: 0;
477
- box-sizing: border-box;
478
- text-align: initial;
479
- position: fixed;
480
- top: 0;
481
- left: 0;
482
- bottom: 0;
483
- right: 0;
484
- z-index: 1000;
485
- }</style>
@@ -1,3 +0,0 @@
1
- declare const Modal: import("svelte").Component<Record<string, never>, {}, "">;
2
- type Modal = ReturnType<typeof Modal>;
3
- export default Modal;