mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-22 12:42:43 +00:00
182bb7519b
- Loaded new skins.vector.search.codex.scripts module in skin.json, with only the CdxTypeaheadSearch component with codexScriptOnly flag set to true. - Included skins.vector.search.codex.scripts in the script loading configuration for Vector22 within skin.json. - Turned off the "interface-message-box" feature within Vector22's skins.vector.styles configuration in skin.json, as Codex now supplies these styles. - Fix the style selector to add `.cdx-button` to `.vector-limited-width-toggle` in BottomDock.less since using the codex style - Substituted "codex-search-styles" with "skins.vector.search.codex.styles" in the existing configuration. - Ensured the availability of skins.vector.search.codex.scripts module for use, marking it in the list of modules in skin.js. - Modified App.vue to utilize skins.vector.search.codex.scripts instead of @wikimedia/codex-search. - Update App.test.js.snap to the latest output form - Update bundlesize.config.json with newest values Bug: T356677 Change-Id: I7fc223db01171efe6656792530d4b625be4c8edc
33 lines
680 B
Plaintext
33 lines
680 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`App renders a typeahead search component 1`] = `
|
|
<cdx-typeahead-search
|
|
accesskey="f"
|
|
aria-label="Search MediaWiki"
|
|
auto-expand-width="false"
|
|
button-label="searchbutton"
|
|
class="vector-typeahead-search"
|
|
form-action=""
|
|
highlight-query="true"
|
|
id="searchform"
|
|
initial-input-value=""
|
|
placeholder="Search MediaWiki"
|
|
search-footer-url=""
|
|
search-results=""
|
|
search-results-label="searchresults"
|
|
show-thumbnail="true"
|
|
title="search"
|
|
>
|
|
<input
|
|
name="title"
|
|
type="hidden"
|
|
value="Special:Search"
|
|
/>
|
|
<input
|
|
name="wprov"
|
|
type="hidden"
|
|
value="acrw1_-1"
|
|
/>
|
|
</cdx-typeahead-search>
|
|
`;
|