@streamscloud/embeddable 12.0.0 → 12.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/ads/ad-card/cmp.ad-card.svelte +4 -16
- package/dist/content-player/cmp.content-player.svelte +1 -1
- package/dist/content-player/content-player-config.svelte.d.ts +1 -0
- package/dist/content-player/content-player-settings.js +1 -0
- package/dist/content-player/controls-and-attachments.svelte +32 -2
- package/dist/content-player/controls-and-attachments.svelte.d.ts +1 -0
- package/dist/content-player/overview-panel.svelte +2 -2
- package/dist/content-player/ui-manager.svelte.d.ts +2 -1
- package/dist/content-player/ui-manager.svelte.js +2 -1
- package/dist/core/enums.d.ts +3 -0
- package/dist/core/enums.js +4 -0
- package/dist/core/theme/index.d.ts +1 -0
- package/dist/core/theme/index.js +1 -0
- package/dist/core/theme/theme-store.svelte.d.ts +5 -0
- package/dist/core/theme/theme-store.svelte.js +10 -0
- package/dist/media-center/config/internal-media-center-config.js +13 -12
- package/dist/media-center/config/operations.generated.d.ts +36 -30
- package/dist/media-center/config/operations.generated.js +53 -44
- package/dist/media-center/config/operations.graphql +34 -28
- package/dist/media-center/config/types.d.ts +8 -0
- package/dist/media-center/media-center/cmp.media-center-proxy.svelte +59 -0
- package/dist/media-center/media-center/cmp.media-center-proxy.svelte.d.ts +12 -0
- package/dist/media-center/media-center/discover/discover-header.svelte +10 -13
- package/dist/media-center/media-center/discover/discover-header.svelte.d.ts +0 -2
- package/dist/media-center/media-center/discover/discover-view.svelte +6 -6
- package/dist/media-center/media-center/discover/discover-view.svelte.d.ts +0 -2
- package/dist/media-center/media-center/handlers/categories-handler.svelte.d.ts +25 -12
- package/dist/media-center/media-center/handlers/categories-handler.svelte.js +18 -3
- package/dist/media-center/media-center/handlers/index.d.ts +1 -0
- package/dist/media-center/media-center/handlers/media-center-settings-handler.svelte.d.ts +2 -0
- package/dist/media-center/media-center/handlers/media-center-settings-handler.svelte.js +20 -1
- package/dist/media-center/media-center/header-footer/media-center-footer.svelte +6 -6
- package/dist/media-center/media-center/header-footer/media-center-header-mobile.svelte +5 -4
- package/dist/media-center/media-center/header-footer/media-center-header.svelte +6 -8
- package/dist/media-center/media-center/header-footer/media-center-header.svelte.d.ts +0 -2
- package/dist/media-center/media-center/index.d.ts +1 -1
- package/dist/media-center/media-center/index.js +1 -1
- package/dist/media-center/media-center/media-center-context.svelte.d.ts +3 -13
- package/dist/media-center/media-center/media-center-context.svelte.js +11 -7
- package/dist/media-center/media-center/{cmp.media-center.svelte → media-center-view.svelte} +56 -107
- package/dist/media-center/media-center/media-center-view.svelte.d.ts +7 -0
- package/dist/media-center/media-center/menu/menu.svelte +92 -95
- package/dist/media-center/media-center/menu/menu.svelte.d.ts +0 -2
- package/dist/media-center/media-center/moments/cmp.moments-circle.svelte +7 -3
- package/dist/media-center/media-center/streams-in-category/streams-in-category-panel.svelte +2 -3
- package/dist/media-center/media-center/types.d.ts +1 -8
- package/dist/media-page/cmp.media-page.svelte +39 -0
- package/dist/media-page/cmp.media-page.svelte.d.ts +10 -0
- package/dist/media-page/index.d.ts +2 -0
- package/dist/media-page/index.js +3 -2
- package/dist/posts/attachments/cmp.attachments.svelte +1 -1
- package/dist/posts/controls/cmp.controls.svelte +4 -1
- package/dist/posts/controls/cmp.controls.svelte.d.ts +2 -0
- package/dist/posts/post-viewer/attachments-horizontal.svelte +4 -12
- package/dist/posts/post-viewer/heading.svelte +4 -4
- package/dist/posts/post-viewer/media/post-media.svelte +1 -1
- package/dist/posts/post-viewer/post-texts.svelte +2 -2
- package/dist/posts/posts-player/cmp.posts-player.svelte.d.ts +1 -0
- package/dist/posts/posts-player/index.d.ts +1 -0
- package/dist/posts/posts-player/index.js +2 -2
- package/dist/posts/posts-player/posts-player-proxy.svelte +13 -4
- package/dist/posts/posts-player/posts-player-proxy.svelte.d.ts +1 -0
- package/dist/products/product-card/cmp.product-card.svelte +4 -16
- package/dist/short-videos/short-video-card/cmp.short-video-card.svelte +6 -6
- package/dist/streams/data-loaders/streams-loader.js +6 -2
- package/dist/streams/stream-card/cmp.stream-card.svelte +1 -1
- package/dist/streams/streams-player/cmp.streams-player.svelte +42 -0
- package/dist/streams/streams-player/cmp.streams-player.svelte.d.ts +24 -0
- package/dist/streams/streams-player/index.d.ts +1 -0
- package/dist/streams/streams-player/index.js +5 -5
- package/dist/streams/streams-player/stream-overview.svelte +1 -1
- package/dist/streams/streams-player/streams-player-proxy.svelte +32 -0
- package/dist/streams/streams-player/streams-player-proxy.svelte.d.ts +26 -0
- package/dist/ui/button/resources/button-theme.svelte +0 -151
- package/dist/ui/button/resources/button-types.d.ts +0 -1
- package/dist/ui/button/resources/button-types.js +0 -1
- package/dist/ui/icon/cmp.icon.svelte +8 -28
- package/dist/ui/image/cmp.image-rounded.svelte +3 -10
- package/dist/ui/image/cmp.image-stub.svelte +1 -4
- package/dist/ui/image/cmp.image.svelte +1 -4
- package/dist/ui/loading/cmp.loading.svelte +1 -4
- package/dist/ui/player/button/cmp.mobile-player-buttons-group.svelte +2 -2
- package/dist/ui/player/button/cmp.mobile-player-buttons-group.svelte.d.ts +2 -2
- package/dist/ui/player/button/cmp.player-button.svelte +7 -3
- package/dist/ui/player/button/cmp.player-buttons-group.svelte +4 -3
- package/dist/ui/player/button/cmp.player-buttons-group.svelte.d.ts +2 -2
- package/dist/ui/player/button/index.d.ts +1 -1
- package/dist/ui/player/button/types.d.ts +1 -1
- package/dist/ui/player/colors/player-colors.d.ts +1 -0
- package/dist/ui/shadow-dom/cmp.shadow-root.svelte +156 -0
- package/dist/ui/shadow-dom/colors.scss +72 -0
- package/dist/ui/shadow-dom/index.d.ts +1 -0
- package/dist/ui/shadow-dom/index.js +1 -0
- package/dist/ui/shadow-dom/shadow-root-service.js +0 -4
- package/dist/ui/slider/cmp.slider.svelte +5 -5
- package/package.json +1 -1
- package/dist/media-center/media-center/cmp.media-center.svelte.d.ts +0 -4
- package/dist/ui/with-background/cmp.with-background.svelte +0 -86
- package/dist/ui/with-background/index.d.ts +0 -1
- package/dist/ui/with-background/index.js +0 -1
- /package/dist/ui/{with-background/cmp.with-background.svelte.d.ts → shadow-dom/cmp.shadow-root.svelte.d.ts} +0 -0
|
@@ -3,10 +3,6 @@ import reset from './reset-shadow.css?raw';
|
|
|
3
3
|
export const createShadowRoot = (host) => {
|
|
4
4
|
prepareShadowRootHost(host);
|
|
5
5
|
const shadowRoot = host.attachShadow({ mode: 'open' });
|
|
6
|
-
const link = document.createElement('link');
|
|
7
|
-
link.rel = 'stylesheet';
|
|
8
|
-
link.href = 'https://fonts.googleapis.com/css2?family=Inter:wght@300..700&display=swap';
|
|
9
|
-
shadowRoot.appendChild(link);
|
|
10
6
|
const styleElement = document.createElement('style');
|
|
11
7
|
styleElement.textContent = normalize + reset;
|
|
12
8
|
shadowRoot.appendChild(styleElement);
|
|
@@ -301,10 +301,10 @@ const showClassicArrowsAndDots = $derived([SliderMode.ArrowsAndDots, SliderMode.
|
|
|
301
301
|
font-size: 0.75rem;
|
|
302
302
|
width: 1.875rem;
|
|
303
303
|
height: 1.875rem;
|
|
304
|
-
background-color:
|
|
304
|
+
background-color: var(--sc-mc-color--button-secondary);
|
|
305
305
|
border-radius: 50%;
|
|
306
306
|
text-align: center;
|
|
307
|
-
color:
|
|
307
|
+
color: var(--sc-mc-color--text-white);
|
|
308
308
|
position: absolute;
|
|
309
309
|
top: 50%;
|
|
310
310
|
transform: translateY(-50%);
|
|
@@ -342,17 +342,17 @@ const showClassicArrowsAndDots = $derived([SliderMode.ArrowsAndDots, SliderMode.
|
|
|
342
342
|
font-weight: 300;
|
|
343
343
|
width: 5.625rem;
|
|
344
344
|
text-align: center;
|
|
345
|
-
color:
|
|
345
|
+
color: var(--sc-mc-color--text-white);
|
|
346
346
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.05);
|
|
347
347
|
}
|
|
348
348
|
.slider__counts-navigation-button {
|
|
349
349
|
font-size: 0.75rem;
|
|
350
350
|
width: 1.625rem;
|
|
351
351
|
height: 1.625rem;
|
|
352
|
-
background-color:
|
|
352
|
+
background-color: var(--sc-mc-color--button-secondary);
|
|
353
353
|
border-radius: 50%;
|
|
354
354
|
text-align: center;
|
|
355
|
-
color:
|
|
355
|
+
color: var(--sc-mc-color--text-white);
|
|
356
356
|
visibility: hidden;
|
|
357
357
|
/* Set 'container-type: inline-size;' to reference container*/
|
|
358
358
|
}
|
package/package.json
CHANGED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
<script lang="ts">let { backgroundDisabled, backgroundImageUrl, backgroundColor, children } = $props();
|
|
2
|
-
const styles = $derived.by(() => {
|
|
3
|
-
const values = [];
|
|
4
|
-
if (backgroundImageUrl) {
|
|
5
|
-
values.push(`--with-background--background-image-url: url(${backgroundImageUrl})`);
|
|
6
|
-
}
|
|
7
|
-
if (backgroundColor) {
|
|
8
|
-
values.push(`--with-background--background: ${backgroundColor}`);
|
|
9
|
-
}
|
|
10
|
-
return values.join(';');
|
|
11
|
-
});
|
|
12
|
-
export {};
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<svelte:head>
|
|
16
|
-
<meta name="theme-color" content="#242424" />
|
|
17
|
-
<meta name="color-scheme" content="dark" />
|
|
18
|
-
<meta name="mobile-web-app-capable" content="yes" />
|
|
19
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
20
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
21
|
-
|
|
22
|
-
<style>
|
|
23
|
-
html,
|
|
24
|
-
body {
|
|
25
|
-
background-color: #242424;
|
|
26
|
-
color-scheme: dark;
|
|
27
|
-
}
|
|
28
|
-
</style>
|
|
29
|
-
</svelte:head>
|
|
30
|
-
|
|
31
|
-
<div
|
|
32
|
-
class="with-background"
|
|
33
|
-
class:with-background--background-enabled={!backgroundDisabled}
|
|
34
|
-
class:with-background--background-active={!backgroundDisabled && backgroundImageUrl && backgroundImageUrl !== 'not-applicable'}
|
|
35
|
-
class:with-background--background-loading={!backgroundDisabled && backgroundImageUrl !== 'not-applicable'}
|
|
36
|
-
style={styles}>
|
|
37
|
-
{@render children()}
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
<style>@keyframes fadeIn {
|
|
41
|
-
0% {
|
|
42
|
-
opacity: 1;
|
|
43
|
-
}
|
|
44
|
-
50% {
|
|
45
|
-
opacity: 0.4;
|
|
46
|
-
}
|
|
47
|
-
100% {
|
|
48
|
-
opacity: 1;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.with-background {
|
|
52
|
-
--_with-background--background: var(--with-background--background);
|
|
53
|
-
--_with-background--background-image-url: var(--with-background--background-image-url);
|
|
54
|
-
width: 100%;
|
|
55
|
-
min-width: 100%;
|
|
56
|
-
max-width: 100%;
|
|
57
|
-
height: 100%;
|
|
58
|
-
min-height: 100%;
|
|
59
|
-
max-height: 100%;
|
|
60
|
-
container-type: inline-size;
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
position: relative;
|
|
64
|
-
}
|
|
65
|
-
.with-background:before {
|
|
66
|
-
content: "";
|
|
67
|
-
position: absolute;
|
|
68
|
-
inset: 0;
|
|
69
|
-
backdrop-filter: blur(30px);
|
|
70
|
-
background-color: var(--_with-background--background);
|
|
71
|
-
display: none;
|
|
72
|
-
}
|
|
73
|
-
.with-background--background-enabled {
|
|
74
|
-
background-color: #7d7d7d;
|
|
75
|
-
}
|
|
76
|
-
.with-background--background-enabled:before {
|
|
77
|
-
display: block;
|
|
78
|
-
}
|
|
79
|
-
.with-background--background-active {
|
|
80
|
-
background-image: var(--_with-background--background-image-url);
|
|
81
|
-
background-size: cover;
|
|
82
|
-
background-blend-mode: multiply;
|
|
83
|
-
}
|
|
84
|
-
.with-background--background-loading {
|
|
85
|
-
background-color: transparent;
|
|
86
|
-
}</style>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WithBackground } from './cmp.with-background.svelte';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WithBackground } from './cmp.with-background.svelte';
|
|
File without changes
|