wiki.techinc.nl/resources/lib/codex
Eric Gardner 095a4ec6f4 CodexModule: use list of i18n message keys from Codex package
Previously, ResourceLoader's CodexModule class was using a hard-coded
list of message keys to add to the payload any time Codex components
get used. But now we can get the list of messages directly from
Codex. This change replaces the hardcoded list of strings with
a call to file_get_contents().

The list of messages is defined in a file called "messageKeys.json"
in the Codex package. In the next release of Codex, this file will
be pulled in via foreign-resources.yml; for now it has been added
manually to the Codex files in resources/lib.

Bug: T371330
Change-Id: Ib7ca66d67153dfba72d8d49b0181d49b007eedce
2024-08-12 15:30:11 -07:00
..
mixins Update Codex from v1.9.0 to v1.10.0 2024-07-25 19:08:30 +00:00
modules Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
CHANGELOG.md Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
codex.cjs Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
codex.js Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
codex.style-rtl.css Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
codex.style.css Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
codex.umd.cjs Update Codex from v1.10.0 to v1.11.0 2024-08-08 09:39:48 -07:00
LICENSE
messageKeys.json CodexModule: use list of i18n message keys from Codex package 2024-08-12 15:30:11 -07:00
README.md Update Codex from v1.0.1 to v1.1.1 2023-12-06 16:32:14 +00:00

@wikimedia/codex

Codex is the design system for Wikimedia.

This package contains Codex components implemented in two variants:

  • Vue 3 components
  • CSS-only components

See the components overview documentation for links to a complete list of components with demos and guidelines.

Usage

See the installation and using components documentation for information about how to use Codex components in your application.