Skip to content

Commit 2746a51

Browse files
Release build 10.0.0 [ci release]
1 parent 577f728 commit 2746a51

File tree

1,722 files changed

+924
-132213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,722 files changed

+924
-132213
lines changed

.autorc

Lines changed: 0 additions & 10 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ jobs:
4949
cat ${{ github.workspace }}/CHANGELOG.txt
5050
echo "Current tag is: $(git rev-list --tags --max-count=1)"
5151
52-
- name: Checkout code from main into release branch
52+
- name: Ensure clean release branch from main
5353
run: |
54-
# Checkout the code of main onto releases
54+
# Remove all tracked and untracked files except .git and .github
55+
find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name '.github' -exec rm -rf {} +
56+
57+
# Copy files from main branch
5558
git checkout main -- .
5659
5760
- name: Build release

.vscode/settings.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGELOG.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@
996996
* @param {ImportMeta['injectName']} [params.injectName] - application platform
997997
* @param {boolean} [params.willThrow] - whether the application will simulate an error
998998
* @param {boolean} [params.debugState] - whether to show debugging UI
999-
* @param {string} [params.locale] - for applications strings
999+
* @param {keyof typeof import('./utils').translationsLocales} [params.locale] - for applications strings and numbers formatting
10001000
* @param {number} [params.textLength] - what ratio of text should be used. Set a number higher than 1 to have longer strings for testing
10011001
*/
10021002
constructor({
@@ -1632,12 +1632,21 @@
16321632
"windows"
16331633
),
16341634
willThrow: false,
1635+
/** @type {keyof typeof import('../utils').translationsLocales} */
1636+
locale: "en",
16351637
/** @type {import('../environment').Environment['env']} */
16361638
env: "production"
16371639
});
16381640
var THEME_QUERY = "(prefers-color-scheme: dark)";
16391641
var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
1640-
function EnvironmentProvider({ children, debugState, env = "production", willThrow = false, injectName = "windows" }) {
1642+
function EnvironmentProvider({
1643+
children,
1644+
debugState,
1645+
env = "production",
1646+
willThrow = false,
1647+
injectName = "windows",
1648+
locale = "en"
1649+
}) {
16411650
const [theme, setTheme] = d2(window.matchMedia(THEME_QUERY).matches ? "dark" : "light");
16421651
const [isReducedMotion, setReducedMotion] = d2(window.matchMedia(REDUCED_MOTION_QUERY).matches);
16431652
y2(() => {
@@ -1669,7 +1678,8 @@
16691678
isDarkMode: theme === "dark",
16701679
injectName,
16711680
willThrow,
1672-
env
1681+
env,
1682+
locale
16731683
}
16741684
},
16751685
children

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,7 @@
21512151
* @param {ImportMeta['injectName']} [params.injectName] - application platform
21522152
* @param {boolean} [params.willThrow] - whether the application will simulate an error
21532153
* @param {boolean} [params.debugState] - whether to show debugging UI
2154-
* @param {string} [params.locale] - for applications strings
2154+
* @param {keyof typeof import('./utils').translationsLocales} [params.locale] - for applications strings and numbers formatting
21552155
* @param {number} [params.textLength] - what ratio of text should be used. Set a number higher than 1 to have longer strings for testing
21562156
*/
21572157
constructor({
@@ -2787,12 +2787,21 @@
27872787
"windows"
27882788
),
27892789
willThrow: false,
2790+
/** @type {keyof typeof import('../utils').translationsLocales} */
2791+
locale: "en",
27902792
/** @type {import('../environment').Environment['env']} */
27912793
env: "production"
27922794
});
27932795
var THEME_QUERY = "(prefers-color-scheme: dark)";
27942796
var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
2795-
function EnvironmentProvider({ children, debugState, env = "production", willThrow = false, injectName = "windows" }) {
2797+
function EnvironmentProvider({
2798+
children,
2799+
debugState,
2800+
env = "production",
2801+
willThrow = false,
2802+
injectName = "windows",
2803+
locale = "en"
2804+
}) {
27962805
const [theme, setTheme] = d2(window.matchMedia(THEME_QUERY).matches ? "dark" : "light");
27972806
const [isReducedMotion, setReducedMotion] = d2(window.matchMedia(REDUCED_MOTION_QUERY).matches);
27982807
y2(() => {
@@ -2824,7 +2833,8 @@
28242833
isDarkMode: theme === "dark",
28252834
injectName,
28262835
willThrow,
2827-
env
2836+
env,
2837+
locale
28282838
}
28292839
},
28302840
children

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@
12871287
* @param {ImportMeta['injectName']} [params.injectName] - application platform
12881288
* @param {boolean} [params.willThrow] - whether the application will simulate an error
12891289
* @param {boolean} [params.debugState] - whether to show debugging UI
1290-
* @param {string} [params.locale] - for applications strings
1290+
* @param {keyof typeof import('./utils').translationsLocales} [params.locale] - for applications strings and numbers formatting
12911291
* @param {number} [params.textLength] - what ratio of text should be used. Set a number higher than 1 to have longer strings for testing
12921292
*/
12931293
constructor({
@@ -1614,12 +1614,21 @@
16141614
"windows"
16151615
),
16161616
willThrow: false,
1617+
/** @type {keyof typeof import('../utils').translationsLocales} */
1618+
locale: "en",
16171619
/** @type {import('../environment').Environment['env']} */
16181620
env: "production"
16191621
});
16201622
var THEME_QUERY = "(prefers-color-scheme: dark)";
16211623
var REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
1622-
function EnvironmentProvider({ children, debugState, env = "production", willThrow = false, injectName = "windows" }) {
1624+
function EnvironmentProvider({
1625+
children,
1626+
debugState,
1627+
env = "production",
1628+
willThrow = false,
1629+
injectName = "windows",
1630+
locale = "en"
1631+
}) {
16231632
const [theme, setTheme] = d2(window.matchMedia(THEME_QUERY).matches ? "dark" : "light");
16241633
const [isReducedMotion, setReducedMotion] = d2(window.matchMedia(REDUCED_MOTION_QUERY).matches);
16251634
y2(() => {
@@ -1651,7 +1660,8 @@
16511660
isDarkMode: theme === "dark",
16521661
injectName,
16531662
willThrow,
1654-
env
1663+
env,
1664+
locale
16551665
}
16561666
},
16571667
children

Sources/ContentScopeScripts/dist/pages/new-tab/dist/index.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,8 @@ body:not([data-platform-name]) .Button_button:active {
14331433
display: flex;
14341434
align-items: center;
14351435
justify-content: center;
1436+
padding: 0 1px;
1437+
margin: 0 -1px;
14361438
}
14371439
.NextSteps_bubble div h2 {
14381440
color: var(--ntp-text-on-primary);
@@ -1546,8 +1548,6 @@ body:not([data-platform-name]) .Button_button:active {
15461548
}
15471549

15481550
/* pages/new-tab/app/privacy-stats/components/PrivacyStats.module.css */
1549-
.PrivacyStats_heading {
1550-
}
15511551
.PrivacyStats_control {
15521552
display: flex;
15531553
align-items: center;
@@ -1565,6 +1565,10 @@ body:not([data-platform-name]) .Button_button:active {
15651565
justify-content: center;
15661566
padding-top: 0.5px;
15671567
}
1568+
.PrivacyStats_headingIcon img {
1569+
max-width: 1rem;
1570+
max-height: 1rem;
1571+
}
15681572
.PrivacyStats_caption {
15691573
font-size: var(--title-3-em-font-size);
15701574
font-weight: var(--title-3-em-font-weight);
@@ -1683,8 +1687,6 @@ body:not([data-platform-name]) .Button_button:active {
16831687
[data-theme=dark] .PrivacyStats_fill {
16841688
background: var(--color-white-at-9);
16851689
}
1686-
.PrivacyStats_listExpander {
1687-
}
16881690

16891691
/* pages/new-tab/app/activity/components/Activity.module.css */
16901692
.Activity_root {

0 commit comments

Comments
 (0)