Skip to content

Commit

Permalink
Release build 7.2.0 [ci release]
Browse files Browse the repository at this point in the history
  • Loading branch information
mgurgel authored and github-actions[bot] committed Jan 8, 2025
1 parent a539758 commit 3cc892f
Show file tree
Hide file tree
Showing 39 changed files with 6,240 additions and 6,202 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- ntp: fixed gradients to match macOS (#1374)
- Fixes release notes spinner on Safari 14 (#1379)
- lower build target for special pages (#1377)
- onboarding: fixed a memory leak due a missing dependency array (#1376)
79 changes: 45 additions & 34 deletions Sources/ContentScopeScripts/dist/pages/duckplayer/dist/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ body[data-display=app] {
line-height: 32px;
font-size: 13px;
font-weight: 600;
.Button_icon {
width: 16px;
height: 16px;
}
}
.Button_desktop .Button_icon {
width: 16px;
height: 16px;
}
.Button_iconOnly {
width: 44px;
Expand Down Expand Up @@ -220,13 +220,13 @@ body[data-display=app] {
height: 44px;
position: relative;
width: 100%;
> * {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
.SwitchBarMobile_placeholder > * {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}

/* pages/duckplayer/app/components/Switch.module.css */
Expand Down Expand Up @@ -320,18 +320,18 @@ body[data-display=app] {
padding: 0;
margin: 0;
position: relative;
&:focus-visible {
outline: none;
}
&:focus-visible[aria-expanded=true] {
outline: 1px solid white;
outline-offset: 2px;
border-radius: 50%;
}
img {
display: block;
width: 100%;
}
}
.InfoBar_info:focus-visible {
outline: none;
}
.InfoBar_info:focus-visible[aria-expanded=true] {
outline: 1px solid white;
outline-offset: 2px;
border-radius: 50%;
}
.InfoBar_info img {
display: block;
width: 100%;
}
.InfoBar_lhs {
display: flex;
Expand Down Expand Up @@ -396,18 +396,18 @@ body[data-display=app] {
}
.SwitchBarDesktop_input {
display: block;
&:focus-visible {
outline: 1px solid white;
outline-offset: 2px;
}
}
.SwitchBarDesktop_input:focus-visible {
outline: 1px solid white;
outline-offset: 2px;
}
.SwitchBarDesktop_input[disabled] {
}
.SwitchBarDesktop_text {
line-height: 1;
&:hover {
cursor: pointer;
}
}
.SwitchBarDesktop_text:hover {
cursor: pointer;
}

/* pages/duckplayer/app/components/Tooltip.module.css */
Expand All @@ -422,6 +422,7 @@ body[data-display=app] {
background-blend-mode: normal, luminosity;
box-shadow: inset 0px 0px 1px #ffffff;
filter: drop-shadow(0px 0px 1px #000000) drop-shadow(0px 0px 1px #000000) drop-shadow(0px 0px 1px #000000) drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.2));
-webkit-backdrop-filter: blur(76px);
backdrop-filter: blur(76px);
border-radius: 10px;
width: 300px;
Expand Down Expand Up @@ -546,7 +547,10 @@ body[data-display=app] {
.Background_bg::before {
content: "";
position: absolute;
inset: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
background:
linear-gradient(
Expand All @@ -559,7 +563,10 @@ body[data-display=app] {
.Background_bg::after {
content: "";
position: absolute;
inset: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
background:
linear-gradient(
Expand Down Expand Up @@ -903,7 +910,9 @@ body:has([data-state=completed] [aria-checked=true]) .MobileApp_switch {
background: rgba(0, 0, 0, 0.3);
border-radius: var(--outer-radius);
padding: 8px;
@media screen and (max-width: 700px) {
}
@media screen and (max-width: 700px) {
.DesktopApp_landscape .DesktopApp_wrapper {
grid-template-columns: 50% 1fr;
}
}
Expand All @@ -929,7 +938,9 @@ body:has([data-state=completed] [aria-checked=true]) .MobileApp_switch {
.DesktopApp_header {
grid-area: header;
padding-top: 48px;
@media screen and (max-height: 500px) {
}
@media screen and (max-height: 500px) {
.DesktopApp_header {
padding-top: 32px;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
Expand All @@ -25,6 +26,7 @@
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);

// ../node_modules/classnames/index.js
var require_classnames = __commonJS({
Expand Down Expand Up @@ -2771,7 +2773,7 @@
};

// ../injected/src/features/duckplayer/util.js
var VideoParams = class _VideoParams {
var _VideoParams = class _VideoParams {
/**
* @param {string} id - the YouTube video ID
* @param {string|null|undefined} time - an optional time
Expand All @@ -2780,8 +2782,6 @@
this.id = id;
this.time = time;
}
static validVideoId = /^[a-zA-Z0-9-_]+$/;
static validTimestamp = /^[0-9hms]+$/;
/**
* @returns {string}
*/
Expand Down Expand Up @@ -2857,6 +2857,9 @@
return new _VideoParams(id, time);
}
};
__publicField(_VideoParams, "validVideoId", /^[a-zA-Z0-9-_]+$/);
__publicField(_VideoParams, "validTimestamp", /^[0-9hms]+$/);
var VideoParams = _VideoParams;

// pages/duckplayer/src/utils.js
function createYoutubeURLForError(href, urlBase) {
Expand Down
88 changes: 51 additions & 37 deletions Sources/ContentScopeScripts/dist/pages/duckplayer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@
line-height: 32px;
font-size: 13px;
font-weight: 600;
.Button_icon {
width: 16px;
height: 16px;
}
}
.Button_desktop .Button_icon {
width: 16px;
height: 16px;
}
.Button_iconOnly {
width: 44px;
Expand Down Expand Up @@ -244,13 +244,13 @@
height: 44px;
position: relative;
width: 100%;
> * {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
.SwitchBarMobile_placeholder > * {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}

/* pages/duckplayer/app/components/Switch.module.css */
Expand Down Expand Up @@ -344,18 +344,18 @@
padding: 0;
margin: 0;
position: relative;
&:focus-visible {
outline: none;
}
&:focus-visible[aria-expanded=true] {
outline: 1px solid white;
outline-offset: 2px;
border-radius: 50%;
}
img {
display: block;
width: 100%;
}
}
.InfoBar_info:focus-visible {
outline: none;
}
.InfoBar_info:focus-visible[aria-expanded=true] {
outline: 1px solid white;
outline-offset: 2px;
border-radius: 50%;
}
.InfoBar_info img {
display: block;
width: 100%;
}
.InfoBar_lhs {
display: flex;
Expand Down Expand Up @@ -420,18 +420,18 @@
}
.SwitchBarDesktop_input {
display: block;
&:focus-visible {
outline: 1px solid white;
outline-offset: 2px;
}
}
.SwitchBarDesktop_input:focus-visible {
outline: 1px solid white;
outline-offset: 2px;
}
.SwitchBarDesktop_input[disabled] {
}
.SwitchBarDesktop_text {
line-height: 1;
&:hover {
cursor: pointer;
}
}
.SwitchBarDesktop_text:hover {
cursor: pointer;
}

/* pages/duckplayer/app/components/Tooltip.module.css */
Expand All @@ -446,6 +446,7 @@
background-blend-mode: normal, luminosity;
box-shadow: inset 0px 0px 1px #ffffff;
filter: drop-shadow(0px 0px 1px #000000) drop-shadow(0px 0px 1px #000000) drop-shadow(0px 0px 1px #000000) drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.2));
-webkit-backdrop-filter: blur(76px);
backdrop-filter: blur(76px);
border-radius: 10px;
width: 300px;
Expand Down Expand Up @@ -570,7 +571,10 @@
.Background_bg::before {
content: "";
position: absolute;
inset: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
background:
linear-gradient(
Expand All @@ -583,7 +587,10 @@
.Background_bg::after {
content: "";
position: absolute;
inset: 0;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 100%;
background:
linear-gradient(
Expand Down Expand Up @@ -927,7 +934,9 @@
background: rgba(0, 0, 0, 0.3);
border-radius: var(--outer-radius);
padding: 8px;
@media screen and (max-width: 700px) {
}
@media screen and (max-width: 700px) {
.DesktopApp_landscape .DesktopApp_wrapper {
grid-template-columns: 50% 1fr;
}
}
Expand All @@ -953,7 +962,9 @@
.DesktopApp_header {
grid-area: header;
padding-top: 48px;
@media screen and (max-height: 500px) {
}
@media screen and (max-height: 500px) {
.DesktopApp_header {
padding-top: 32px;
}
}
Expand Down Expand Up @@ -986,6 +997,7 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
Expand All @@ -1005,6 +1017,7 @@
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);

// ../node_modules/classnames/index.js
var require_classnames = __commonJS({
Expand Down Expand Up @@ -3751,7 +3764,7 @@
};

// ../injected/src/features/duckplayer/util.js
var VideoParams = class _VideoParams {
var _VideoParams = class _VideoParams {
/**
* @param {string} id - the YouTube video ID
* @param {string|null|undefined} time - an optional time
Expand All @@ -3760,8 +3773,6 @@
this.id = id;
this.time = time;
}
static validVideoId = /^[a-zA-Z0-9-_]+$/;
static validTimestamp = /^[0-9hms]+$/;
/**
* @returns {string}
*/
Expand Down Expand Up @@ -3837,6 +3848,9 @@
return new _VideoParams(id, time);
}
};
__publicField(_VideoParams, "validVideoId", /^[a-zA-Z0-9-_]+$/);
__publicField(_VideoParams, "validTimestamp", /^[0-9hms]+$/);
var VideoParams = _VideoParams;

// pages/duckplayer/src/utils.js
function createYoutubeURLForError(href, urlBase) {
Expand Down
Loading

0 comments on commit 3cc892f

Please sign in to comment.