Skip to content

Commit e7fdd32

Browse files
noisysocksgithub-actions[bot]
authored andcommitted
Release build 10.17.0 [ci release]
1 parent 326ee6e commit e7fdd32

File tree

42 files changed

+519
-197
lines changed

Some content is hidden

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

42 files changed

+519
-197
lines changed

CHANGELOG.txt

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
- build(deps): bump lottie-web from 5.12.2 to 5.13.0 (#1701)
2-
- build(deps-dev): bump fast-check from 4.1.1 to 4.2.0 (#1800)
3-
- build(deps-dev): bump the typescript group across 1 directory with 3 updates (#1850)
4-
- build(deps): bump preact from 10.26.7 to 10.26.9 (#1745)
5-
- build(deps): bump @atlaskit/pragmatic-drag-and-drop from 1.7.0 to 1.7.4 (#1763)
6-
- build(deps): bump @preact/signals from 2.0.5 to 2.2.1 (#1783)
7-
- build(deps-dev): bump the eslint group with 2 updates (#1782)
8-
- build(deps-dev): bump jasmine from 5.7.1 to 5.9.0 (#1833)
9-
- build(deps-dev): bump prettier from 3.6.1 to 3.6.2 (#1785)
10-
- build(deps-dev): bump typescript-eslint from 8.33.0 to 8.36.0 (#1813)
11-
- build(deps-dev): bump web-ext from 8.8.0 to 8.9.0 (#1834)
12-
- build(deps): bump @rive-app/canvas-single from 2.28.0 to 2.30.4 (#1835)
13-
- build(deps): bump esbuild from 0.25.6 to 0.25.8 (#1836)
14-
- Merge queue (#1842)
15-
- Update platform-integration.md (#1847)
16-
- NTP: Fix omnibar colour when using a custom background (#1846)
1+
- NTP: Improve TabSwitcher hover interactions and visual design (#1853)
2+
- Update AI chat and search placeholders and add Duck.ai toggle labels in (#1852)
3+
- Fix WebKit blur event bug in omnibar components (#1851)

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,7 @@ body:not([data-platform-name]) .Button_button:active {
16711671
border-radius: 99px;
16721672
box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05) inset;
16731673
display: grid;
1674+
gap: 2px;
16741675
grid-template-columns: repeat(var(--tab-count), 1fr);
16751676
overflow: hidden;
16761677
padding: var(--sp-0_5);
@@ -1682,16 +1683,27 @@ body:not([data-platform-name]) .Button_button:active {
16821683
.TabSwitcher_tab {
16831684
align-items: center;
16841685
background: none;
1685-
border-radius: 99px;
16861686
border: none;
16871687
color: var(--ntp-text-normal);
1688+
cursor: pointer;
16881689
display: flex;
16891690
gap: 6px;
16901691
height: var(--sp-8);
16911692
justify-content: center;
16921693
padding: 0 var(--sp-3);
1694+
position: relative;
16931695
z-index: 1;
16941696
}
1697+
.TabSwitcher_tab:hover:not([aria-selected=true])::before {
1698+
background: var(--ntp-controls-raised-backdrop);
1699+
border-radius: 99px;
1700+
content: "";
1701+
top: 0;
1702+
right: 0;
1703+
bottom: 0;
1704+
left: 0;
1705+
position: absolute;
1706+
}
16951707
.TabSwitcher_tabLabel {
16961708
padding-top: 1px;
16971709
}
@@ -1707,8 +1719,8 @@ body:not([data-platform-name]) .Button_button:active {
17071719
position: absolute;
17081720
top: 2px;
17091721
transition: translate 200ms ease;
1710-
translate: calc(2px + var(--tab-index) * 100%);
1711-
width: calc((100% - 4px) / var(--tab-count));
1722+
translate: calc(2px + var(--tab-index) * (100% + 2px));
1723+
width: calc((100% - 4px - (var(--tab-count) - 1) * 2px) / var(--tab-count));
17121724
will-change: translate;
17131725
}
17141726
[data-theme=dark] .TabSwitcher_blob {

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

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7822,8 +7822,8 @@
78227822
"aria-label": t4("omnibar_aiChatFormPlaceholder"),
78237823
autoComplete: "off",
78247824
rows: 1,
7825-
onFocus,
7826-
onBlur,
7825+
onFocusCapture: onFocus,
7826+
onBlurCapture: onBlur,
78277827
onInput,
78287828
onKeyDown: handleKeyDown,
78297829
onChange: handleChange
@@ -8478,39 +8478,48 @@
84788478
target: "same-tab"
84798479
});
84808480
};
8481-
return /* @__PURE__ */ _("form", { class: SearchForm_default.form, onBlur: handleBlur, onSubmit: handleSubmit }, /* @__PURE__ */ _("div", { class: SearchForm_default.inputContainer, style: { "--suffix-text-width": `${measureText(inputSuffixText)}px` } }, inputSuffix?.kind === "visit" ? /* @__PURE__ */ _(GlobeIcon, { inert: true }) : /* @__PURE__ */ _(SearchIcon, { inert: true }), /* @__PURE__ */ _(
8482-
"input",
8483-
{
8484-
ref: inputRef,
8485-
type: "text",
8486-
role: "combobox",
8487-
class: SearchForm_default.input,
8488-
placeholder: t4("omnibar_searchFormPlaceholder"),
8489-
"aria-label": t4("omnibar_searchFormPlaceholder"),
8490-
"aria-expanded": suggestions.length > 0,
8491-
"aria-haspopup": "listbox",
8492-
"aria-controls": suggestionsListId,
8493-
"aria-activedescendant": selectedSuggestion?.id,
8494-
spellcheck: false,
8495-
autoComplete: "off",
8496-
autoCorrect: "off",
8497-
autoCapitalize: "off",
8498-
onChange: handleChange,
8499-
onKeyDown: handleKeyDown,
8500-
onClick: handleClick
8501-
}
8502-
), inputSuffix && /* @__PURE__ */ _(k, null, /* @__PURE__ */ _("span", { class: SearchForm_default.suffixSpacer, inert: true }, inputBase + inputCompletion || t4("omnibar_searchFormPlaceholder")), /* @__PURE__ */ _("span", { class: SearchForm_default.suffix, inert: true }, inputSuffixText))), suggestions.length > 0 && /* @__PURE__ */ _(
8503-
SuggestionsList,
8481+
return /* @__PURE__ */ _(
8482+
"form",
85048483
{
8505-
id: suggestionsListId,
8506-
term,
8507-
suggestions,
8508-
selectedSuggestion,
8509-
onSelectSuggestion: setSelectedSuggestion,
8510-
onClearSuggestion: clearSelectedSuggestion,
8511-
onOpenSuggestion
8512-
}
8513-
));
8484+
class: SearchForm_default.form,
8485+
onBlurCapture: handleBlur,
8486+
onSubmit: handleSubmit
8487+
},
8488+
/* @__PURE__ */ _("div", { class: SearchForm_default.inputContainer, style: { "--suffix-text-width": `${measureText(inputSuffixText)}px` } }, inputSuffix?.kind === "visit" ? /* @__PURE__ */ _(GlobeIcon, { inert: true }) : /* @__PURE__ */ _(SearchIcon, { inert: true }), /* @__PURE__ */ _(
8489+
"input",
8490+
{
8491+
ref: inputRef,
8492+
type: "text",
8493+
role: "combobox",
8494+
class: SearchForm_default.input,
8495+
placeholder: t4("omnibar_searchFormPlaceholder"),
8496+
"aria-label": t4("omnibar_searchFormPlaceholder"),
8497+
"aria-expanded": suggestions.length > 0,
8498+
"aria-haspopup": "listbox",
8499+
"aria-controls": suggestionsListId,
8500+
"aria-activedescendant": selectedSuggestion?.id,
8501+
spellcheck: false,
8502+
autoComplete: "off",
8503+
autoCorrect: "off",
8504+
autoCapitalize: "off",
8505+
onChange: handleChange,
8506+
onKeyDown: handleKeyDown,
8507+
onClick: handleClick
8508+
}
8509+
), inputSuffix && /* @__PURE__ */ _(k, null, /* @__PURE__ */ _("span", { class: SearchForm_default.suffixSpacer, inert: true }, inputBase + inputCompletion || t4("omnibar_searchFormPlaceholder")), /* @__PURE__ */ _("span", { class: SearchForm_default.suffix, inert: true }, inputSuffixText))),
8510+
suggestions.length > 0 && /* @__PURE__ */ _(
8511+
SuggestionsList,
8512+
{
8513+
id: suggestionsListId,
8514+
term,
8515+
suggestions,
8516+
selectedSuggestion,
8517+
onSelectSuggestion: setSelectedSuggestion,
8518+
onClearSuggestion: clearSelectedSuggestion,
8519+
onOpenSuggestion
8520+
}
8521+
)
8522+
);
85148523
}
85158524
function measureText(text2) {
85168525
const canvas = document.createElement("canvas");

Sources/ContentScopeScripts/dist/pages/new-tab/locales/de/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Privat mit Duck.ai chatten",
132+
"title" : "Privat fragen",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Adresse suchen oder eingeben",
156+
"title" : "Privat suchen",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Duck.ai ausblenden",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Duck.ai anzeigen",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Mit DuckDuckGo suchen",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

Sources/ContentScopeScripts/dist/pages/new-tab/locales/es/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Chatea en privado con Duck.ai",
132+
"title" : "Pregunta en privado",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Buscar o introducir dirección",
156+
"title" : "Busca de manera privada",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Ocultar Duck.ai",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Mostrar Duck.ai",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Buscar en DuckDuckGo",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

Sources/ContentScopeScripts/dist/pages/new-tab/locales/fr/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Discutez en privé avec Duck.ai",
132+
"title" : "Demander en privé",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Rechercher ou saisir une adresse",
156+
"title" : "Faites une recherche privée",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Masquer Duck.ai",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Afficher Duck.ai",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Rechercher avec DuckDuckGo",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

Sources/ContentScopeScripts/dist/pages/new-tab/locales/it/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Chatta in privato con Duck.ai",
132+
"title" : "Chiedi in privato",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Cerca o digita l'indirizzo",
156+
"title" : "Cerca privatamente",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Nascondi Duck.ai",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Mostra Duck.ai",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Cerca con DuckDuckGo",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

Sources/ContentScopeScripts/dist/pages/new-tab/locales/nl/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Privé chatten met Duck.ai",
132+
"title" : "Vraag privé",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Zoek of voer een adres in",
156+
"title" : "Privé zoeken",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Duck.ai verbergen",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Duck.ai weergeven",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Zoek in DuckDuckGo",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

Sources/ContentScopeScripts/dist/pages/new-tab/locales/pl/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Czatuj prywatnie z Duck.ai",
132+
"title" : "Zapytaj prywatnie",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Wyszukaj lub wprowadź adres",
156+
"title" : "Szukaj prywatnie",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Ukryj Duck.ai",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Pokaż Duck.ai",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Szukaj w DuckDuckGo",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

Sources/ContentScopeScripts/dist/pages/new-tab/locales/pt/new-tab.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"description" : "Title of the omnibar widget in the customizer panel."
130130
},
131131
"omnibar_aiChatFormPlaceholder" : {
132-
"title" : "Conversa em privado com o Duck.ai",
132+
"title" : "Perguntar em privado",
133133
"description" : "Placeholder text for the AI chat input field."
134134
},
135135
"omnibar_aiChatFormSubmitButtonLabel" : {
@@ -153,9 +153,17 @@
153153
"description" : "Label for the AI chat tab."
154154
},
155155
"omnibar_searchFormPlaceholder" : {
156-
"title" : "Pesquisar ou inserir endereço",
156+
"title" : "Pesquisar em privado",
157157
"description" : "Placeholder text for the search input field."
158158
},
159+
"omnibar_hideDuckAi" : {
160+
"title" : "Ocultar Duck.ai",
161+
"description" : "Label for the button to hide the Duck.ai chat interface."
162+
},
163+
"omnibar_showDuckAi" : {
164+
"title" : "Mostrar Duck.ai",
165+
"description" : "Label for the button to show the Duck.ai chat interface."
166+
},
159167
"omnibar_searchDuckDuckGoSuffix" : {
160168
"title" : "Pesquisar no DuckDuckGo",
161169
"description" : "Text placed after suggestions that will search DuckDuckGo."

0 commit comments

Comments
 (0)