Problem
The Query Builder's user interface was composed using a combination of Vue 2 custom components and WiKit elements, such as Button. The WiKit design system is now on its deprecation path, as it has been superseded by Codex, the official Wikimedia design system. The utilization of WiKit components is not recommended, and they should be replaced in order to reduce maintenance costs and ensure consistency.
Solution
We have to replace the WiKit Button by the Codex equivalent: cdx-button (See demo). This will take us a step closer to switching to the new design system and deprecating the old.
Considerations
We'll need to apply a local solution to fix the alignment of icons and labels within buttons (e.g. Language selector trigger). Refer to the solution applied in Mismatch finder (See T346797)
Acceptance criteria
- All WiKit Button types used in Query Builder are replaced by their Codex equivalent