@streamscloud/embeddable 15.0.0-rc.0 → 15.0.0-rc.1
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/external-api/media-page/index.js +1 -1
- package/dist/media-center/media-center/discover/discover-view.svelte +11 -33
- package/dist/media-center/media-center/media-center-settings.svelte.js +2 -2
- package/dist/media-center/media-center/menu/menu.svelte +3 -5
- package/dist/media-center/media-center/streams-in-category/streams-in-category-panel.svelte +2 -6
- package/dist/ui/button/resources/button-theme.svelte +2 -4
- package/dist/ui/icon/cmp.icon.svelte +1 -1
- package/dist/ui/player/button/cmp.player-button.svelte +1 -3
- package/dist/ui/player/button/cmp.player-buttons-group.svelte +1 -3
- package/dist/ui/player/player/cmp.player.svelte.d.ts +6 -15
- package/dist/ui/player/player/controls-and-attachments.svelte.d.ts +6 -15
- package/dist/ui/player/player/overview-panel.svelte +1 -3
- package/dist/ui/player/player/overview-panel.svelte.d.ts +5 -14
- package/dist/ui/player/slider/cmp.player-slider.svelte.d.ts +5 -14
- package/dist/ui/player/slider-horizontal/cmp.slider.svelte +2 -6
- package/dist/ui/player/slider-horizontal/cmp.slider.svelte.d.ts +5 -12
- package/dist/ui/shadow-dom/cmp.shadow-root.svelte +2 -2
- package/package.json +1 -1
|
@@ -74,7 +74,7 @@ export function openMediaPageModal(init) {
|
|
|
74
74
|
viewerSettings: {
|
|
75
75
|
hideCloseButton: viewerSettings?.hideCloseButton,
|
|
76
76
|
locale: viewerSettings?.locale,
|
|
77
|
-
showStreamsCloudWatermark:
|
|
77
|
+
showStreamsCloudWatermark: viewerSettings?.showStreamsCloudWatermark,
|
|
78
78
|
theme: viewerSettings?.theme
|
|
79
79
|
},
|
|
80
80
|
on
|
|
@@ -146,6 +146,7 @@ const genereateStreamActions = (id) => {
|
|
|
146
146
|
overflow-y: auto;
|
|
147
147
|
--_cross-browser-scrollbar--thumb-color: transparent;
|
|
148
148
|
--_cross-browser-scrollbar--track-color: transparent;
|
|
149
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
149
150
|
}
|
|
150
151
|
.media-center-discover:hover {
|
|
151
152
|
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, #7d7d7d);
|
|
@@ -169,9 +170,6 @@ const genereateStreamActions = (id) => {
|
|
|
169
170
|
scrollbar-width: thin;
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
|
-
.media-center-discover {
|
|
173
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
174
|
-
}
|
|
175
173
|
@container (width < 576px) {
|
|
176
174
|
.media-center-discover {
|
|
177
175
|
padding-inline: 0.9375rem;
|
|
@@ -183,23 +181,19 @@ const genereateStreamActions = (id) => {
|
|
|
183
181
|
margin: 0 auto;
|
|
184
182
|
padding-bottom: 1.25rem;
|
|
185
183
|
/* Set 'container-type: inline-size;' to reference container*/
|
|
184
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
185
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
186
186
|
}
|
|
187
187
|
@container (width < 992px) {
|
|
188
188
|
.media-center-discover__content {
|
|
189
189
|
padding-bottom: 1rem;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
.media-center-discover__content {
|
|
193
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
194
|
-
}
|
|
195
192
|
@container (width < 768px) {
|
|
196
193
|
.media-center-discover__content {
|
|
197
194
|
padding-bottom: 0.8125rem;
|
|
198
195
|
}
|
|
199
196
|
}
|
|
200
|
-
.media-center-discover__content {
|
|
201
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
202
|
-
}
|
|
203
197
|
@container (width < 576px) {
|
|
204
198
|
.media-center-discover__content {
|
|
205
199
|
padding-bottom: 0.625rem;
|
|
@@ -210,23 +204,19 @@ const genereateStreamActions = (id) => {
|
|
|
210
204
|
flex-direction: column;
|
|
211
205
|
gap: 3rem;
|
|
212
206
|
/* Set 'container-type: inline-size;' to reference container*/
|
|
207
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
208
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
213
209
|
}
|
|
214
210
|
@container (width < 992px) {
|
|
215
211
|
.media-center-discover__feed {
|
|
216
212
|
gap: 2.5rem;
|
|
217
213
|
}
|
|
218
214
|
}
|
|
219
|
-
.media-center-discover__feed {
|
|
220
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
221
|
-
}
|
|
222
215
|
@container (width < 768px) {
|
|
223
216
|
.media-center-discover__feed {
|
|
224
217
|
gap: 2rem;
|
|
225
218
|
}
|
|
226
219
|
}
|
|
227
|
-
.media-center-discover__feed {
|
|
228
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
229
|
-
}
|
|
230
220
|
@container (width < 576px) {
|
|
231
221
|
.media-center-discover__feed {
|
|
232
222
|
gap: 1.5rem;
|
|
@@ -263,13 +253,13 @@ const genereateStreamActions = (id) => {
|
|
|
263
253
|
.media-center-discover__section-content--4 {
|
|
264
254
|
gap: 1.25rem;
|
|
265
255
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
256
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
257
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
258
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
266
259
|
}
|
|
267
260
|
.media-center-discover__section-content--4 :global(> :nth-child(n + 5)) {
|
|
268
261
|
display: var(--_section-content--more-items--display);
|
|
269
262
|
}
|
|
270
|
-
.media-center-discover__section-content--4 {
|
|
271
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
272
|
-
}
|
|
273
263
|
@container (width < 992px) {
|
|
274
264
|
.media-center-discover__section-content--4 {
|
|
275
265
|
gap: 1rem;
|
|
@@ -279,9 +269,6 @@ const genereateStreamActions = (id) => {
|
|
|
279
269
|
display: var(--_section-content--more-items--display);
|
|
280
270
|
}
|
|
281
271
|
}
|
|
282
|
-
.media-center-discover__section-content--4 {
|
|
283
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
284
|
-
}
|
|
285
272
|
@container (width < 768px) {
|
|
286
273
|
.media-center-discover__section-content--4 {
|
|
287
274
|
gap: 0.75rem;
|
|
@@ -294,9 +281,6 @@ const genereateStreamActions = (id) => {
|
|
|
294
281
|
display: var(--_section-content--more-items--display);
|
|
295
282
|
}
|
|
296
283
|
}
|
|
297
|
-
.media-center-discover__section-content--4 {
|
|
298
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
299
|
-
}
|
|
300
284
|
@container (width < 576px) {
|
|
301
285
|
.media-center-discover__section-content--4 {
|
|
302
286
|
gap: 0.625rem;
|
|
@@ -305,13 +289,13 @@ const genereateStreamActions = (id) => {
|
|
|
305
289
|
.media-center-discover__section-content--5 {
|
|
306
290
|
gap: 1.875rem;
|
|
307
291
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
292
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
293
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
294
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
308
295
|
}
|
|
309
296
|
.media-center-discover__section-content--5 :global(> :nth-child(n + 6)) {
|
|
310
297
|
display: var(--_section-content--more-items--display);
|
|
311
298
|
}
|
|
312
|
-
.media-center-discover__section-content--5 {
|
|
313
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
314
|
-
}
|
|
315
299
|
@container (width < 992px) {
|
|
316
300
|
.media-center-discover__section-content--5 {
|
|
317
301
|
gap: 1.5rem;
|
|
@@ -321,9 +305,6 @@ const genereateStreamActions = (id) => {
|
|
|
321
305
|
display: var(--_section-content--more-items--display);
|
|
322
306
|
}
|
|
323
307
|
}
|
|
324
|
-
.media-center-discover__section-content--5 {
|
|
325
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
326
|
-
}
|
|
327
308
|
@container (width < 768px) {
|
|
328
309
|
.media-center-discover__section-content--5 {
|
|
329
310
|
gap: 1.125rem;
|
|
@@ -333,9 +314,6 @@ const genereateStreamActions = (id) => {
|
|
|
333
314
|
display: var(--_section-content--more-items--display);
|
|
334
315
|
}
|
|
335
316
|
}
|
|
336
|
-
.media-center-discover__section-content--5 {
|
|
337
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
338
|
-
}
|
|
339
317
|
@container (width < 576px) {
|
|
340
318
|
.media-center-discover__section-content--5 {
|
|
341
319
|
gap: 0.9375rem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export class MediaCenterSettings {
|
|
2
2
|
locale = $state('en');
|
|
3
|
-
showStreamsCloudWatermark = $state(
|
|
3
|
+
showStreamsCloudWatermark = $state(false);
|
|
4
4
|
disableBackground = $state(false);
|
|
5
5
|
theme = $state('dark');
|
|
6
6
|
state = $state.raw(null);
|
|
@@ -9,7 +9,7 @@ export class MediaCenterSettings {
|
|
|
9
9
|
}
|
|
10
10
|
update = (data) => {
|
|
11
11
|
this.locale = data?.locale ?? 'en';
|
|
12
|
-
this.showStreamsCloudWatermark = data?.showStreamsCloudWatermark ??
|
|
12
|
+
this.showStreamsCloudWatermark = data?.showStreamsCloudWatermark ?? false;
|
|
13
13
|
this.disableBackground = data?.disableBackground ?? false;
|
|
14
14
|
this.theme = data?.theme ?? 'dark';
|
|
15
15
|
this.state = data?.state ?? null;
|
|
@@ -241,16 +241,14 @@ const styles = $derived.by(() => {
|
|
|
241
241
|
display: flex;
|
|
242
242
|
-webkit-user-drag: none;
|
|
243
243
|
user-select: none;
|
|
244
|
-
}
|
|
245
|
-
.menu-item :global([contenteditable]) {
|
|
246
|
-
user-select: text;
|
|
247
|
-
}
|
|
248
|
-
.menu-item {
|
|
249
244
|
height: 2.25rem;
|
|
250
245
|
padding-left: var(--_media-center-menu--items--padding-inline);
|
|
251
246
|
--_menu-item--text--font-size: 0.9375rem;
|
|
252
247
|
--_menu-item--image--size: 1.5rem;
|
|
253
248
|
}
|
|
249
|
+
.menu-item :global([contenteditable]) {
|
|
250
|
+
user-select: text;
|
|
251
|
+
}
|
|
254
252
|
.menu-item--active {
|
|
255
253
|
background-color: hsl(from var(--_media-center-menu--background-color) h s calc(l + 5)/alpha);
|
|
256
254
|
border-radius: 0.25rem;
|
|
@@ -80,23 +80,19 @@ let { handler, on } = $props();
|
|
|
80
80
|
gap: 2rem 1.25rem;
|
|
81
81
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
82
82
|
/* Set 'container-type: inline-size;' to reference container*/
|
|
83
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
84
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
83
85
|
}
|
|
84
86
|
@container (width < 992px) {
|
|
85
87
|
.streams-in-category__section-content {
|
|
86
88
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
|
-
.streams-in-category__section-content {
|
|
90
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
91
|
-
}
|
|
92
91
|
@container (width < 768px) {
|
|
93
92
|
.streams-in-category__section-content {
|
|
94
93
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
|
-
.streams-in-category__section-content {
|
|
98
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
99
|
-
}
|
|
100
96
|
@container (width < 576px) {
|
|
101
97
|
.streams-in-category__section-content {
|
|
102
98
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
@@ -36,6 +36,7 @@ let { style = undefined, size = ButtonSize.Standard, children } = $props();
|
|
|
36
36
|
}
|
|
37
37
|
.button-theme {
|
|
38
38
|
display: contents;
|
|
39
|
+
/*Size*/
|
|
39
40
|
}
|
|
40
41
|
.button-theme--standard {
|
|
41
42
|
--button--font--color: var(--sc-mc-color--text-primary);
|
|
@@ -45,15 +46,12 @@ let { style = undefined, size = ButtonSize.Standard, children } = $props();
|
|
|
45
46
|
--button--background--disabled: #f2f2f3;
|
|
46
47
|
--button--border: 1px solid #e5e7eb;
|
|
47
48
|
}
|
|
48
|
-
:global([data-theme=
|
|
49
|
+
:global([data-theme="dark"]) .button-theme--standard {
|
|
49
50
|
--button--background--hover: #1f2937;
|
|
50
51
|
--button--background--active: #374151;
|
|
51
52
|
--button--background--disabled: #374151;
|
|
52
53
|
--button--border: 1px solid #4b5563;
|
|
53
54
|
}
|
|
54
|
-
.button-theme {
|
|
55
|
-
/*Size*/
|
|
56
|
-
}
|
|
57
55
|
.button-theme--size-standard {
|
|
58
56
|
--button--height: 2em;
|
|
59
57
|
--button--text--font-size: 0.75em;
|
|
@@ -73,7 +73,7 @@ let { src, color = null } = $props();
|
|
|
73
73
|
stroke: var(--_icon--stroke-color, var(--_icon--color));
|
|
74
74
|
stroke-width: var(--_icon--stroke-width);
|
|
75
75
|
}
|
|
76
|
-
:global([data-theme=
|
|
76
|
+
:global([data-theme="dark"]) .icon :global(path) {
|
|
77
77
|
stroke: var(--_icon--stroke-color, var(--_icon--color));
|
|
78
78
|
stroke-width: var(--_icon--stroke-width);
|
|
79
79
|
}</style>
|
|
@@ -47,6 +47,7 @@ const styles = $derived.by(() => {
|
|
|
47
47
|
color: var(--sc-mc-color--text-white);
|
|
48
48
|
--icon--color: var(--sc-mc-color--icon-overlay);
|
|
49
49
|
--icon--size: 1.75rem;
|
|
50
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
50
51
|
}
|
|
51
52
|
.player-button:hover:not(:disabled) {
|
|
52
53
|
background-color: var(--_player-button--color);
|
|
@@ -63,9 +64,6 @@ const styles = $derived.by(() => {
|
|
|
63
64
|
transform: scale(var(--_player-button--icon-scale));
|
|
64
65
|
transition: 0.3s;
|
|
65
66
|
}
|
|
66
|
-
.player-button {
|
|
67
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
68
|
-
}
|
|
69
67
|
@container (width < 576px) {
|
|
70
68
|
.player-button {
|
|
71
69
|
padding: 0.5rem;
|
|
@@ -47,6 +47,7 @@ const styles = $derived.by(() => {
|
|
|
47
47
|
background: var(--_player-buttons-group--background-color);
|
|
48
48
|
padding: 0.4375rem 0.0625rem;
|
|
49
49
|
pointer-events: auto;
|
|
50
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
50
51
|
}
|
|
51
52
|
.player-buttons-group__action {
|
|
52
53
|
--_player-action--icon-scale: 1;
|
|
@@ -72,9 +73,6 @@ const styles = $derived.by(() => {
|
|
|
72
73
|
transform: scale(var(--_player-action--icon-scale));
|
|
73
74
|
transition: 0.3s;
|
|
74
75
|
}
|
|
75
|
-
.player-buttons-group {
|
|
76
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
77
|
-
}
|
|
78
76
|
@container (width < 576px) {
|
|
79
77
|
.player-buttons-group {
|
|
80
78
|
border-radius: 0.9375rem;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { PlayerButtonDef } from '../button';
|
|
2
2
|
import type { PlayerConfig } from './player-config.svelte';
|
|
3
3
|
import { type Snippet } from 'svelte';
|
|
4
|
-
declare
|
|
4
|
+
declare class __sveltets_Render<T extends {
|
|
5
5
|
id: string;
|
|
6
|
-
}>
|
|
7
|
-
props: {
|
|
6
|
+
}> {
|
|
7
|
+
props(): {
|
|
8
8
|
config: PlayerConfig<T>;
|
|
9
9
|
itemActions: PlayerButtonDef[];
|
|
10
10
|
itemView: Snippet<[{
|
|
@@ -12,20 +12,11 @@ declare function $$render<T extends {
|
|
|
12
12
|
}]>;
|
|
13
13
|
attachmentsView?: Snippet<[{
|
|
14
14
|
item: T;
|
|
15
|
-
}]
|
|
15
|
+
}]> | undefined;
|
|
16
16
|
overviewPanelContent?: Snippet;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
slots: {};
|
|
21
|
-
events: {};
|
|
22
|
-
};
|
|
23
|
-
declare class __sveltets_Render<T extends {
|
|
24
|
-
id: string;
|
|
25
|
-
}> {
|
|
26
|
-
props(): ReturnType<typeof $$render<T>>['props'];
|
|
27
|
-
events(): ReturnType<typeof $$render<T>>['events'];
|
|
28
|
-
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
18
|
+
events(): {};
|
|
19
|
+
slots(): {};
|
|
29
20
|
bindings(): "";
|
|
30
21
|
exports(): {};
|
|
31
22
|
}
|
|
@@ -1,28 +1,19 @@
|
|
|
1
1
|
import { type PlayerButtonDef } from '../button';
|
|
2
2
|
import { PlayerConfig } from './player-config.svelte.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
|
-
declare
|
|
4
|
+
declare class __sveltets_Render<T extends {
|
|
5
5
|
id: string;
|
|
6
|
-
}>
|
|
7
|
-
props: {
|
|
6
|
+
}> {
|
|
7
|
+
props(): {
|
|
8
8
|
config: PlayerConfig<T>;
|
|
9
9
|
hasOverview: boolean;
|
|
10
10
|
itemActions: PlayerButtonDef[];
|
|
11
11
|
attachmentsView?: Snippet<[{
|
|
12
12
|
item: T;
|
|
13
|
-
}]
|
|
13
|
+
}]> | undefined;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
slots: {};
|
|
18
|
-
events: {};
|
|
19
|
-
};
|
|
20
|
-
declare class __sveltets_Render<T extends {
|
|
21
|
-
id: string;
|
|
22
|
-
}> {
|
|
23
|
-
props(): ReturnType<typeof $$render<T>>['props'];
|
|
24
|
-
events(): ReturnType<typeof $$render<T>>['events'];
|
|
25
|
-
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
15
|
+
events(): {};
|
|
16
|
+
slots(): {};
|
|
26
17
|
bindings(): "";
|
|
27
18
|
exports(): {};
|
|
28
19
|
}
|
|
@@ -59,6 +59,7 @@ const styles = $derived.by(() => {
|
|
|
59
59
|
z-index: 0;
|
|
60
60
|
border-radius: 0.5rem 0 0 0.5rem;
|
|
61
61
|
background: var(--_overview-panel--background);
|
|
62
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
62
63
|
}
|
|
63
64
|
.overview-panel__content {
|
|
64
65
|
width: 100%;
|
|
@@ -70,9 +71,6 @@ const styles = $derived.by(() => {
|
|
|
70
71
|
overflow: hidden;
|
|
71
72
|
container-type: inline-size;
|
|
72
73
|
}
|
|
73
|
-
.overview-panel {
|
|
74
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
75
|
-
}
|
|
76
74
|
@container (width < 576px) {
|
|
77
75
|
.overview-panel {
|
|
78
76
|
width: 100%;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { PlayerConfig } from './player-config.svelte.js';
|
|
2
2
|
import type { PlayerUIManager } from './ui-manager.svelte';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
|
-
declare
|
|
4
|
+
declare class __sveltets_Render<T extends {
|
|
5
5
|
id: string;
|
|
6
|
-
}>
|
|
7
|
-
props: {
|
|
6
|
+
}> {
|
|
7
|
+
props(): {
|
|
8
8
|
config: PlayerConfig<T>;
|
|
9
9
|
uiManager: PlayerUIManager;
|
|
10
10
|
position: {
|
|
@@ -14,17 +14,8 @@ declare function $$render<T extends {
|
|
|
14
14
|
};
|
|
15
15
|
children: Snippet;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
slots: {};
|
|
20
|
-
events: {};
|
|
21
|
-
};
|
|
22
|
-
declare class __sveltets_Render<T extends {
|
|
23
|
-
id: string;
|
|
24
|
-
}> {
|
|
25
|
-
props(): ReturnType<typeof $$render<T>>['props'];
|
|
26
|
-
events(): ReturnType<typeof $$render<T>>['events'];
|
|
27
|
-
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
17
|
+
events(): {};
|
|
18
|
+
slots(): {};
|
|
28
19
|
bindings(): "";
|
|
29
20
|
exports(): {};
|
|
30
21
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PlayerSliderBuffer, PlayerSliderCallbacks } from './types';
|
|
2
2
|
import { type Snippet } from 'svelte';
|
|
3
|
-
declare
|
|
3
|
+
declare class __sveltets_Render<T extends {
|
|
4
4
|
id: string;
|
|
5
|
-
}>
|
|
6
|
-
props: {
|
|
5
|
+
}> {
|
|
6
|
+
props(): {
|
|
7
7
|
buffer: PlayerSliderBuffer<T>;
|
|
8
8
|
on?: PlayerSliderCallbacks;
|
|
9
9
|
children: Snippet<[{
|
|
@@ -11,17 +11,8 @@ declare function $$render<T extends {
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
}]>;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
slots: {};
|
|
17
|
-
events: {};
|
|
18
|
-
};
|
|
19
|
-
declare class __sveltets_Render<T extends {
|
|
20
|
-
id: string;
|
|
21
|
-
}> {
|
|
22
|
-
props(): ReturnType<typeof $$render<T>>['props'];
|
|
23
|
-
events(): ReturnType<typeof $$render<T>>['events'];
|
|
24
|
-
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
14
|
+
events(): {};
|
|
15
|
+
slots(): {};
|
|
25
16
|
bindings(): "";
|
|
26
17
|
exports(): {};
|
|
27
18
|
}
|
|
@@ -284,6 +284,7 @@ const showClassicArrowsAndDots = $derived([SliderMode.ArrowsAndDots, SliderMode.
|
|
|
284
284
|
width: 100%;
|
|
285
285
|
height: 100%;
|
|
286
286
|
overflow: hidden;
|
|
287
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
287
288
|
}
|
|
288
289
|
.slider__slides {
|
|
289
290
|
display: flex;
|
|
@@ -376,14 +377,12 @@ const showClassicArrowsAndDots = $derived([SliderMode.ArrowsAndDots, SliderMode.
|
|
|
376
377
|
text-align: center;
|
|
377
378
|
color: var(--sc-mc-color--text-white);
|
|
378
379
|
visibility: hidden;
|
|
380
|
+
/* Set 'container-type: inline-size;' to reference container*/
|
|
379
381
|
}
|
|
380
382
|
.slider__counts-navigation-button:disabled {
|
|
381
383
|
opacity: 0.5;
|
|
382
384
|
cursor: default;
|
|
383
385
|
}
|
|
384
|
-
.slider__counts-navigation-button {
|
|
385
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
386
|
-
}
|
|
387
386
|
@container (width < 576px) {
|
|
388
387
|
.slider__counts-navigation-button {
|
|
389
388
|
visibility: visible;
|
|
@@ -412,9 +411,6 @@ const showClassicArrowsAndDots = $derived([SliderMode.ArrowsAndDots, SliderMode.
|
|
|
412
411
|
position: static;
|
|
413
412
|
margin-top: 1rem;
|
|
414
413
|
}
|
|
415
|
-
.slider {
|
|
416
|
-
/* Set 'container-type: inline-size;' to reference container*/
|
|
417
|
-
}
|
|
418
414
|
@container (width < 576px) {
|
|
419
415
|
.slider__navigation-button {
|
|
420
416
|
visibility: visible;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Locale } from '../../../core/locale';
|
|
2
2
|
import { type SliderDotsConfig, SliderMode } from './types';
|
|
3
3
|
import { type Snippet } from 'svelte';
|
|
4
|
-
declare
|
|
5
|
-
props: {
|
|
4
|
+
declare class __sveltets_Render<T> {
|
|
5
|
+
props(): {
|
|
6
6
|
items: T[];
|
|
7
7
|
initialIndex: number;
|
|
8
8
|
sliderMode?: SliderMode;
|
|
@@ -11,18 +11,11 @@ declare function $$render<T>(): {
|
|
|
11
11
|
locale: Locale;
|
|
12
12
|
on?: {
|
|
13
13
|
indexChanged: (index: number) => void;
|
|
14
|
-
};
|
|
14
|
+
} | undefined;
|
|
15
15
|
children: Snippet<[T]>;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
slots: {};
|
|
20
|
-
events: {};
|
|
21
|
-
};
|
|
22
|
-
declare class __sveltets_Render<T> {
|
|
23
|
-
props(): ReturnType<typeof $$render<T>>['props'];
|
|
24
|
-
events(): ReturnType<typeof $$render<T>>['events'];
|
|
25
|
-
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
17
|
+
events(): {};
|
|
18
|
+
slots(): {};
|
|
26
19
|
bindings(): "";
|
|
27
20
|
exports(): {};
|
|
28
21
|
}
|
|
@@ -51,7 +51,7 @@ const styles = $derived.by(() => {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
:host,
|
|
54
|
-
:global([data-theme=
|
|
54
|
+
:global([data-theme="default"]) {
|
|
55
55
|
/* Backgrounds */
|
|
56
56
|
--sc-mc-color--bg-button: #ffffff;
|
|
57
57
|
--sc-mc-color--bg-card: #ffffff;
|
|
@@ -85,7 +85,7 @@ const styles = $derived.by(() => {
|
|
|
85
85
|
--sc-mc-color--text-inactive: #e5e7eb;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
:global([data-theme=
|
|
88
|
+
:global([data-theme="dark"]) {
|
|
89
89
|
/* Backgrounds */
|
|
90
90
|
--sc-mc-color--bg-button: #111827;
|
|
91
91
|
--sc-mc-color--bg-card: #000000;
|