Skip to content

Commit

Permalink
Release build v7.3.0 [ci release]
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov authored and github-actions[bot] committed Jan 9, 2025
1 parent 3cc892f commit 36684cc
Show file tree
Hide file tree
Showing 39 changed files with 618 additions and 4,141 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- 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)
- Fix CTL messaging in the MV2 extension (#1378)
- build(deps-dev): bump the rollup group across 1 directory with 5 updates (#1375)
- ntp: support big sur (#1380)
16 changes: 8 additions & 8 deletions Sources/ContentScopeScripts/dist/contentScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
getInjectionElement().appendChild(style);
}
function nextRandom(v) {
return Math.abs(v >> 1 | (v << 62 ^ v << 61) & ~(~0 << 63) << 62);
return Math.abs(v >> 1 | (v << 62 ^ v << 61) & 2147483647 << 62);
}
const exemptionLists = {};
function shouldExemptUrl(type, url) {
Expand Down Expand Up @@ -519,7 +519,7 @@
const platformSupport = {
apple: ["webCompat", ...baseFeatures],
"apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge"],
android: [...baseFeatures, "webCompat", "clickToLoad", "breakageReporting", "duckPlayer"],
android: [...baseFeatures, "webCompat", "breakageReporting", "duckPlayer"],
"android-autofill-password-import": ["autofillPasswordImport"],
windows: ["cookie", ...baseFeatures, "windowsPermissionUsage", "duckPlayer", "brokerProtection", "breakageReporting"],
firefox: ["cookie", ...baseFeatures, "clickToLoad"],
Expand Down Expand Up @@ -3643,7 +3643,7 @@
};
return mash;
}
if (module2 && module2.exports) {
if (module2.exports) {
module2.exports = impl;
} else {
this.alea = impl;
Expand Down Expand Up @@ -3713,7 +3713,7 @@
}
return prng;
}
if (module2 && module2.exports) {
if (module2.exports) {
module2.exports = impl;
} else {
this.xor128 = impl;
Expand Down Expand Up @@ -3790,7 +3790,7 @@
}
return prng;
}
if (module2 && module2.exports) {
if (module2.exports) {
module2.exports = impl;
} else {
this.xorwow = impl;
Expand Down Expand Up @@ -3878,7 +3878,7 @@
}
return prng;
}
if (module2 && module2.exports) {
if (module2.exports) {
module2.exports = impl;
} else {
this.xorshift7 = impl;
Expand Down Expand Up @@ -3982,7 +3982,7 @@
}
return prng;
}
if (module2 && module2.exports) {
if (module2.exports) {
module2.exports = impl;
} else {
this.xor4096 = impl;
Expand Down Expand Up @@ -4058,7 +4058,7 @@
}
return prng;
}
if (module2 && module2.exports) {
if (module2.exports) {
module2.exports = impl;
} else {
this.tychei = impl;
Expand Down
5 changes: 3 additions & 2 deletions Sources/ContentScopeScripts/dist/contentScopeIsolated.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
const platformSupport = {
apple: ['webCompat', ...baseFeatures],
'apple-isolated': ['duckPlayer', 'brokerProtection', 'performanceMetrics', 'clickToLoad', 'messageBridge'],
android: [...baseFeatures, 'webCompat', 'clickToLoad', 'breakageReporting', 'duckPlayer'],
android: [...baseFeatures, 'webCompat', 'breakageReporting', 'duckPlayer'],
'android-autofill-password-import': ['autofillPasswordImport'],
windows: ['cookie', ...baseFeatures, 'windowsPermissionUsage', 'duckPlayer', 'brokerProtection', 'breakageReporting'],
firefox: ['cookie', ...baseFeatures, 'clickToLoad'],
Expand Down Expand Up @@ -15587,7 +15587,7 @@
get messaging() {
if (this._messaging) return this._messaging;

if (this.platform.name === 'android' || this.platform.name === 'extension') {
if (this.platform.name === 'extension') {
this._clickToLoadMessagingTransport = new SendMessageMessagingTransport();
const config = new TestTransportConfig(this._clickToLoadMessagingTransport);
this._messaging = new Messaging(this.messagingContext, config);
Expand All @@ -15601,6 +15601,7 @@
this._messaging = new Messaging(this.messagingContext, config);
return this._messaging;
} else {
// TODO: Android does support Messaging now, but CTL is not yet integrated there.
throw new Error('Messaging not supported yet on platform: ' + this.name);
}
}
Expand Down
68 changes: 38 additions & 30 deletions Sources/ContentScopeScripts/dist/pages/new-tab/dist/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ button {
--ntp-focus-outline-color: black;
--focus-ring: 0px 0px 0px 1px var(--color-white), 0px 0px 0px 3px var(--ntp-focus-outline-color);
--focus-ring-thin: 0px 0px 0px 1px var(--ntp-focus-outline-color), 0px 0px 0px 1px var(--color-white);
--focus-ring-primary: 0px 0px 0px 1px var(--color-white), 0px 0px 0px 3px var(--ntp-color-primary);
}
[data-theme=dark] {
--ntp-background-color: var(--default-dark-bg);
Expand All @@ -267,6 +268,7 @@ button {
--ntp-focus-outline-color: white;
--focus-ring: 0px 0px 0px 1px var(--ntp-focus-outline-color), 0px 0px 0px 3px var(--color-white);
--focus-ring-thin: 0px 0px 0px 1px var(--color-white), 0px 0px 0px 1px var(--ntp-focus-outline-color);
--focus-ring-primary: 0px 0px 0px 1px var(--default-dark-bg), 0px 0px 0px 3px var(--ntp-color-primary);
}
:root:has(body[data-platform-name=windows]) {
--body-font-size: 14px;
Expand Down Expand Up @@ -303,28 +305,29 @@ body:has([data-reset-layout=true]) .App_tube {
max-width: calc(504 * var(--px-in-rem));
}
.vertical-space {
padding-block: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
.layout-centered:empty {
display: contents;
}
.App_layout {
display: grid;
grid-template-columns: auto 0 0;
grid-template-areas: "main gap aside";
transition: all .3s ease-in-out;
position: relative;
z-index: 1;
}
.App_layout[data-drawer-visibility=visible] {
grid-template-columns: auto 4px var(--ntp-combined-width);
}
.App_main {
height: 100vh;
overflow: auto;
grid-area: main;
color: var(--ntp-text-normal);
}
.App_mainLayout {
padding-right: 0;
transition: padding-right .3s;
}
[data-drawer-visibility=visible] .App_mainLayout {
padding-right: var(--ntp-combined-width);
}
.App_mainScroller::-webkit-scrollbar {
width: 4px;
}
Expand All @@ -345,6 +348,7 @@ body:has([data-reset-layout=true]) .App_tube {
height: 100vh;
z-index: 1;
overflow: auto;
width: var(--ntp-combined-width);
box-shadow:
0px 0px 1px 0px #FFF inset,
0px 0px 2px 0px rgba(0, 0, 0, 0.08),
Expand All @@ -363,6 +367,17 @@ body:has([data-reset-layout=true]) .App_tube {
visibility: hidden;
opacity: 0;
}
.App_asideLayout {
position: absolute;
right: 0;
top: 0;
z-index: 1;
transform: translateX(100%);
transition: transform .3s;
}
[data-drawer-visibility=visible] .App_asideLayout {
transform: translateX(0);
}
.App_asideContent {
opacity: 1;
width: var(--ntp-drawer-width);
Expand Down Expand Up @@ -934,15 +949,13 @@ body:has([data-reset-layout=true]) .App_tube {

/* pages/new-tab/app/favorites/components/Tile.module.css */
.Tile_item {
display: grid;
grid-row-gap: calc(6 * var(--px-in-rem));
align-content: center;
justify-content: center;
display: block;
position: relative;
text-decoration: none;
color: currentColor;
padding-inline: var(--sp-3);
outline: none;
padding-left: var(--sp-3);
padding-right: var(--sp-3);
}
.Tile_item:focus-visible .Tile_icon {
box-shadow: var(--focus-ring);
Expand Down Expand Up @@ -970,6 +983,7 @@ body:has([data-reset-layout=true]) .App_tube {
justify-items: center;
width: 4rem;
height: 4rem;
margin-bottom: 4px;
border-radius: var(--border-radius-lg);
}
.Tile_draggable {
Expand Down Expand Up @@ -1017,9 +1031,8 @@ body:has([data-reset-layout=true]) .App_tube {
.Tile_text {
text-align: center;
font-size: calc(10 * var(--px-in-rem));
line-height: calc(13 * var(--px-in-rem));
line-height: 1.1;
font-weight: 400;
min-height: 2.8em;
overflow: hidden;
text-overflow: ellipsis;
line-clamp: 2;
Expand Down Expand Up @@ -1267,7 +1280,8 @@ body:not([data-platform-name]) .Button_button:active {
border-radius: var(--border-radius-sm);
height: var(--sp-8);
border-width: 0;
padding-inline: var(--sp-3);
padding-left: var(--sp-3);
padding-right: var(--sp-3);
}
[data-platform-name=windows] .Button_button:focus-visible {
outline: none;
Expand Down Expand Up @@ -1654,10 +1668,6 @@ body:not([data-platform-name]) .Button_button:active {
grid-template-columns: 1.5rem auto 2rem;
grid-column-gap: var(--sp-2);
grid-row-gap: var(--sp-1);
grid-template-rows: auto;
grid-template-areas: "icon title expander";
}
.PrivacyStats_heading:has(.PrivacyStats_subtitle) {
grid-template-rows: auto auto;
grid-template-areas: "icon title expander" "empty label label";
}
Expand Down Expand Up @@ -1918,7 +1928,8 @@ body:not([data-platform-name]) .Button_button:active {
position: relative;
text-align: center;
width: 100%;
padding-block: var(--sp-6);
padding-top: var(--sp-6);
padding-bottom: var(--sp-6);
}
.UpdateNotification_details {
width: 100%;
Expand Down Expand Up @@ -2070,7 +2081,8 @@ body:not([data-platform-name]) .Button_button:active {
}
.CustomizerDrawerInner_bgPanel {
display: grid;
aspect-ratio: 16/10.6;
width: 100%;
height: 4rem;
border-radius: 4px;
align-items: center;
justify-content: center;
Expand All @@ -2079,12 +2091,10 @@ body:not([data-platform-name]) .Button_button:active {
box-shadow: 0 0 0 1px var(--ntp-surface-border-color) inset;
}
.CustomizerDrawerInner_bgPanel[aria-checked=true] {
outline: 2px solid var(--ntp-color-primary);
outline-offset: 2px;
box-shadow: var(--focus-ring-primary);
}
.CustomizerDrawerInner_bgPanel:focus-visible {
outline: 2px solid var(--ntp-focus-outline-color);
outline-offset: 2px;
box-shadow: var(--focus-ring-primary);
}
.CustomizerDrawerInner_bgPanel:active {
opacity: .9;
Expand Down Expand Up @@ -2231,12 +2241,10 @@ body:not([data-platform-name]) .Button_button:active {
border-radius: 50%;
}
.BrowserThemeSection_themeButton[aria-checked=true] {
outline: 2px solid var(--ntp-color-primary);
outline-offset: 2px;
box-shadow: var(--focus-ring-primary);
}
.BrowserThemeSection_themeButton:focus-visible {
outline: 2px solid var(--ntp-focus-outline-color);
outline-offset: 2px;
box-shadow: var(--focus-ring-primary);
}
.BrowserThemeSection_themeButton:active {
opacity: .9;
Expand Down
Loading

0 comments on commit 36684cc

Please sign in to comment.