Skip to content

Commit bd438c9

Browse files
mgurgelgithub-actions[bot]
authored andcommitted
Release build 7.9.0 [ci release]
1 parent 5d2ab9f commit bd438c9

File tree

38 files changed

+519
-788
lines changed

38 files changed

+519
-788
lines changed

CHANGELOG.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
- history: initial build (#1401)
2-
- build(deps-dev): bump the typescript group across 1 directory with 3 updates (#1408)
1+
- Black background on Duck Player (#1422)
2+
- ntp: updated docs to support deeplinks (#1420)
3+
- build(deps-dev): bump json-schema-to-typescript from 15.0.3 to 15.0.4 (#1414)
4+
- build(deps-dev): bump typescript-eslint from 8.19.1 to 8.21.0 (#1417)
5+
- build(deps-dev): bump the eslint group across 1 directory with 2 updates (#1410)

Sources/ContentScopeScripts/dist/pages/duckplayer/dist/index.css

Lines changed: 12 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ html:has(body[data-display=app]) {
4242
}
4343
body[data-display=app] {
4444
color: rgba(242, 242, 242, 1);
45-
background: #101010;
45+
background: #000;
4646
height: 100vh;
4747
overflow: hidden;
4848
padding: 16px;
@@ -106,11 +106,14 @@ body[data-display=app] {
106106
padding: 0 20px;
107107
flex-shrink: 0;
108108
box-shadow: none;
109-
background: rgba(255, 255, 255, 0.12);
109+
background: rgba(255, 255, 255, 0.18);
110110
border-radius: var(--inner-radius);
111111
color: rgba(255, 255, 255, 1);
112112
text-decoration: none;
113113
}
114+
[data-layout=mobile] .Button_button {
115+
background-color: #2f2f2f;
116+
}
114117
.Button_button:hover,
115118
.Button_button:focus-visible {
116119
cursor: pointer;
@@ -185,7 +188,7 @@ body[data-display=app] {
185188
.SwitchBarMobile_switchBar {
186189
display: grid;
187190
border-radius: 8px;
188-
background: rgba(255, 255, 255, 0.03);
191+
background: #2f2f2f;
189192
padding-inline: 16px;
190193
height: 100%;
191194
line-height: 1.1;
@@ -289,7 +292,7 @@ body[data-display=app] {
289292
}
290293
.InfoBar_container {
291294
padding: 12px;
292-
background: rgba(0, 0, 0, 0.3);
295+
background: rgba(255, 255, 255, 0.12);
293296
position: relative;
294297
z-index: 1;
295298
border-bottom-left-radius: 14px;
@@ -526,70 +529,6 @@ body[data-display=app] {
526529
font-weight: 600;
527530
}
528531

529-
/* pages/duckplayer/app/components/Background.module.css */
530-
.Background_bg {
531-
background: url("./player-bg-F7QLKTXS.jpg");
532-
background-size: cover;
533-
}
534-
[data-layout=mobile] .Background_bg {
535-
background: url("./mobile-bg-GCRU67TC.jpg");
536-
background-size: cover;
537-
}
538-
.Background_bg {
539-
position: fixed;
540-
top: 0;
541-
bottom: 0;
542-
left: 0;
543-
right: 0;
544-
width: 100%;
545-
height: 100%;
546-
}
547-
.Background_bg::before {
548-
content: "";
549-
position: absolute;
550-
top: 0;
551-
right: 0;
552-
bottom: 0;
553-
left: 0;
554-
height: 100%;
555-
background:
556-
linear-gradient(
557-
0deg,
558-
rgba(0, 0, 0, 0.00) 0%,
559-
rgba(0, 0, 0, 0.48) 32.23%,
560-
#000 93.87%);
561-
transition: all .3s ease-in-out;
562-
}
563-
.Background_bg::after {
564-
content: "";
565-
position: absolute;
566-
top: 0;
567-
right: 0;
568-
bottom: 0;
569-
left: 0;
570-
height: 100%;
571-
background:
572-
linear-gradient(
573-
0deg,
574-
rgba(0, 0, 0, 0.48) 0%,
575-
rgba(0, 0, 0, 0.90) 34.34%,
576-
#000 100%);
577-
opacity: 0;
578-
visibility: hidden;
579-
transition: all .3s ease-in-out;
580-
}
581-
[data-focus-mode=on] .Background_bg::before {
582-
transition-delay: .1s;
583-
opacity: 0;
584-
}
585-
[data-focus-mode=off] .Background_bg::after {
586-
transition-delay: .1s;
587-
}
588-
[data-focus-mode=on] .Background_bg::after {
589-
opacity: 1;
590-
visibility: visible;
591-
}
592-
593532
/* pages/duckplayer/app/components/Player.module.css */
594533
.Player_root.Player_desktop {
595534
z-index: 1;
@@ -680,7 +619,7 @@ html[data-focus-mode=on] .MobileApp_hideInFocus {
680619
display: none;
681620
}
682621
.MobileApp_main {
683-
--bg-color: rgba(0, 0, 0, 0.3);
622+
--bg-color: #222;
684623
--logo-spacing: 185px;
685624
--gutter-width: 8px;
686625
--outer-radius: 16px;
@@ -722,6 +661,10 @@ body:has([data-state=completed] [aria-checked=true]) .MobileApp_switch {
722661
padding-bottom: 0;
723662
border-top-left-radius: var(--outer-radius);
724663
border-top-right-radius: var(--outer-radius);
664+
transition: background-color .3s;
665+
}
666+
html[data-focus-mode=on] .MobileApp_embed {
667+
transition: none;
725668
}
726669
.MobileApp_logo {
727670
justify-self: center;

Sources/ContentScopeScripts/dist/pages/duckplayer/dist/index.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,16 +2692,6 @@
26922692
return /* @__PURE__ */ _("div", { class: Wordmark_mobile_default.logo }, /* @__PURE__ */ _("span", { class: Wordmark_mobile_default.logoSvg }, /* @__PURE__ */ _("img", { src: dax_data_default, className: Wordmark_mobile_default.img, alt: "DuckDuckGo logo" })), /* @__PURE__ */ _("span", { class: Wordmark_mobile_default.text }, "Duck Player"));
26932693
}
26942694

2695-
// pages/duckplayer/app/components/Background.module.css
2696-
var Background_default = {
2697-
bg: "Background_bg"
2698-
};
2699-
2700-
// pages/duckplayer/app/components/Background.jsx
2701-
function Background() {
2702-
return /* @__PURE__ */ _("div", { class: Background_default.bg });
2703-
}
2704-
27052695
// pages/duckplayer/app/components/Player.jsx
27062696
var import_classnames9 = __toESM(require_classnames(), 1);
27072697

@@ -3126,7 +3116,7 @@
31263116
let embed = EmbedSettings.fromHref("https://localhost?videoID=123");
31273117
let url = embed?.toEmbedUrl();
31283118
if (!url) throw new Error("unreachable");
3129-
return /* @__PURE__ */ _(b, null, /* @__PURE__ */ _("div", { "data-layout": "mobile" }, /* @__PURE__ */ _(Background, null)), /* @__PURE__ */ _("main", { class: Components_default.main }, /* @__PURE__ */ _("div", { class: Components_default.tube }, /* @__PURE__ */ _(Wordmark, null), /* @__PURE__ */ _("h2", null, "Floating Bar"), /* @__PURE__ */ _("div", { style: "position: relative; padding-left: 10em; min-height: 150px;" }, /* @__PURE__ */ _(InfoIcon, { debugStyles: true })), /* @__PURE__ */ _("h2", null, "Info Tooltip"), /* @__PURE__ */ _(FloatingBar, null, /* @__PURE__ */ _(Button, { icon: true }, /* @__PURE__ */ _(Icon, { src: info_data_default })), /* @__PURE__ */ _(Button, { icon: true }, /* @__PURE__ */ _(Icon, { src: cog_data_default })), /* @__PURE__ */ _(Button, { fill: true }, "Open in YouTube")), /* @__PURE__ */ _("h2", null, "Info Bar"), /* @__PURE__ */ _(SettingsProvider, { settings }, /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(InfoBar, { embed }))), /* @__PURE__ */ _("br", null), /* @__PURE__ */ _("h2", null, "Mobile Switch Bar (ios)"), /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(SwitchBarMobile, { platformName: "ios" })), /* @__PURE__ */ _("h2", null, "Mobile Switch Bar (android)"), /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(SwitchBarMobile, { platformName: "android" })), /* @__PURE__ */ _("h2", null, "Desktop Switch bar"), /* @__PURE__ */ _("h3", null, "idle"), /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(SwitchBarDesktop, null))), /* @__PURE__ */ _("h2", null, /* @__PURE__ */ _("code", null, "inset=false (desktop)")), /* @__PURE__ */ _(SettingsProvider, { settings }, /* @__PURE__ */ _(PlayerContainer, null, /* @__PURE__ */ _(Player, { src: url, layout: "desktop" }), /* @__PURE__ */ _(InfoBarContainer, null, /* @__PURE__ */ _(InfoBar, { embed })))), /* @__PURE__ */ _("br", null), /* @__PURE__ */ _("h2", null, /* @__PURE__ */ _("code", null, "inset=true (mobile)")), /* @__PURE__ */ _(PlayerContainer, { inset: true }, /* @__PURE__ */ _(PlayerInternal, { inset: true }, /* @__PURE__ */ _(PlayerError, { layout: "mobile", kind: "invalid-id" }), /* @__PURE__ */ _(SwitchBarMobile, { platformName: "ios" }))), /* @__PURE__ */ _("br", null)));
3119+
return /* @__PURE__ */ _(b, null, /* @__PURE__ */ _("main", { class: Components_default.main }, /* @__PURE__ */ _("div", { class: Components_default.tube }, /* @__PURE__ */ _(Wordmark, null), /* @__PURE__ */ _("h2", null, "Floating Bar"), /* @__PURE__ */ _("div", { style: "position: relative; padding-left: 10em; min-height: 150px;" }, /* @__PURE__ */ _(InfoIcon, { debugStyles: true })), /* @__PURE__ */ _("h2", null, "Info Tooltip"), /* @__PURE__ */ _(FloatingBar, null, /* @__PURE__ */ _(Button, { icon: true }, /* @__PURE__ */ _(Icon, { src: info_data_default })), /* @__PURE__ */ _(Button, { icon: true }, /* @__PURE__ */ _(Icon, { src: cog_data_default })), /* @__PURE__ */ _(Button, { fill: true }, "Open in YouTube")), /* @__PURE__ */ _("h2", null, "Info Bar"), /* @__PURE__ */ _(SettingsProvider, { settings }, /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(InfoBar, { embed }))), /* @__PURE__ */ _("br", null), /* @__PURE__ */ _("h2", null, "Mobile Switch Bar (ios)"), /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(SwitchBarMobile, { platformName: "ios" })), /* @__PURE__ */ _("h2", null, "Mobile Switch Bar (android)"), /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(SwitchBarMobile, { platformName: "android" })), /* @__PURE__ */ _("h2", null, "Desktop Switch bar"), /* @__PURE__ */ _("h3", null, "idle"), /* @__PURE__ */ _(SwitchProvider, null, /* @__PURE__ */ _(SwitchBarDesktop, null))), /* @__PURE__ */ _("h2", null, /* @__PURE__ */ _("code", null, "inset=false (desktop)")), /* @__PURE__ */ _(SettingsProvider, { settings }, /* @__PURE__ */ _(PlayerContainer, null, /* @__PURE__ */ _(Player, { src: url, layout: "desktop" }), /* @__PURE__ */ _(InfoBarContainer, null, /* @__PURE__ */ _(InfoBar, { embed })))), /* @__PURE__ */ _("br", null), /* @__PURE__ */ _("h2", null, /* @__PURE__ */ _("code", null, "inset=true (mobile)")), /* @__PURE__ */ _(PlayerContainer, { inset: true }, /* @__PURE__ */ _(PlayerInternal, { inset: true }, /* @__PURE__ */ _(PlayerError, { layout: "mobile", kind: "invalid-id" }), /* @__PURE__ */ _(SwitchBarMobile, { platformName: "ios" }))), /* @__PURE__ */ _("br", null)));
31303120
}
31313121

31323122
// pages/duckplayer/app/components/MobileApp.jsx
@@ -3240,7 +3230,7 @@
32403230
const settings = useSettings();
32413231
const telemetry2 = useTelemetry();
32423232
const features = createAppFeaturesFrom(settings);
3243-
return /* @__PURE__ */ _(b, null, /* @__PURE__ */ _(Background, null), features.focusMode(), /* @__PURE__ */ _(
3233+
return /* @__PURE__ */ _(b, null, features.focusMode(), /* @__PURE__ */ _(
32443234
OrientationProvider,
32453235
{
32463236
onChange: (orientation) => {
@@ -3280,7 +3270,7 @@
32803270
function DesktopApp({ embed }) {
32813271
const settings = useSettings();
32823272
const features = createAppFeaturesFrom(settings);
3283-
return /* @__PURE__ */ _(b, null, /* @__PURE__ */ _(Background, null), features.focusMode(), /* @__PURE__ */ _("main", { class: DesktopApp_default.app }, /* @__PURE__ */ _(DesktopLayout, { embed })));
3273+
return /* @__PURE__ */ _(b, null, features.focusMode(), /* @__PURE__ */ _("main", { class: DesktopApp_default.app }, /* @__PURE__ */ _(DesktopLayout, { embed })));
32843274
}
32853275
function DesktopLayout({ embed }) {
32863276
return /* @__PURE__ */ _("div", { class: DesktopApp_default.desktop }, /* @__PURE__ */ _(PlayerContainer, null, embed === null && /* @__PURE__ */ _(PlayerError, { layout: "desktop", kind: "invalid-id" }), embed !== null && /* @__PURE__ */ _(Player, { src: embed.toEmbedUrl(), layout: "desktop" }), /* @__PURE__ */ _(HideInFocusMode, { style: "slide" }, /* @__PURE__ */ _(InfoBarContainer, null, /* @__PURE__ */ _(InfoBar, { embed })))));
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)