Name Description Size Coverage
addon-component-status -
addon-fluent -
DocsContainer.jsx -------- helpers -------- 4345 -
fluent-utils.mjs /*.ftl", { query: "?raw", import: "default" } ); const browserResources = import.meta.glob("../../../locales/en-US/* 4186 -
l10n-pseudo.mjs Pseudolocalizations PSEUDO_STRATEGIES is a dict of strategies to be used to modify a context in order to create pseudolocalizations. These can be used by developers to test the localizability of their code without having to actually speak a foreign language. Currently, the following pseudolocales are supported: accented - Ȧȧƈƈḗḗƞŧḗḗḓ Ḗḗƞɠŀīīşħ In Accented English all Latin letters are replaced by accented Unicode counterparts which don't impair the readability of the content. This allows developers to quickly test if any given string is being correctly displayed in its 'translated' form. Additionally, simple heuristics are used to make certain words longer to better simulate the experience of international users. bidi - ɥsıʅƃuƎ ıpıԐ Bidi English is a fake RTL locale. All words are surrounded by Unicode formatting marks forcing the RTL directionality of characters. In addition, to make the reversed text easier to read, individual letters are flipped. Note: The name above is hardcoded to be RTL in case code editors have trouble with the RLO and PDF Unicode marks. In reality, it should be surrounded by those marks as well. See https://bugzil.la/1450781 for more information. In this implementation we use code points instead of inline unicode characters because the encoding of JSM files mangles them otherwise. 4281 -
main.mjs /component-status.stories.mjs`, // and lands on the Storybook.stories.md file "../* 5856 -
manager-head.html 263 -
manager.mjs 1870 -
markdown-story-generator.js Serves authored .stories.md files as Storybook docs entries without writing MDX to disk. `indexer` registers the entries and `createPlugin` compiles them with addon-docs when Vite loads them. @param {object} options @param {string} options.configDirectory - Absolute path of the .storybook directory. 4435 -
markdown-story-utils.js Takes a file path and returns a string to use as the story title, capitalized and split into multiple words. The file name gets transformed into the story name, which will be visible in the Storybook sidebar. For example, either: /stories/hello-world.stories.md or /stories/helloWorld.md will result in a story named "Hello World". @param {string} filePath - path of the file being processed. @returns {string} The title of the story. 6970 -
moz-uri-utils.js Returns the directory portion of a path pattern before its first wildcard, with a trailing slash. Patterns without a wildcard are treated as directories. @param {string} pattern @returns {string} 3487 -
moz-vite-plugin.mjs Rewrite stylesheet references in a JS module so that Vite can handle them: - CSS module scripts get a `?css-module` query, which this plugin turns into a module exporting a CSSStyleSheet. - Default imports of CSS files and chrome:// or moz-src:/// stylesheet URIs in strings (e.g. `<link rel="stylesheet">` in templates) use Vite's `?url` import, so they get a URL to the processed stylesheet. chrome:// and moz-src:/// URIs are rewritten to paths relative to `file`. URIs that can't be resolved are left untouched. @param {string} source - The module source. @param {string} file - The module's path on disk. @returns {string} The rewritten source. 14285 -
preview-head.html 3844 -
preview.mjs NOOP 6015 -
theme-dark.mjs 1449 -
theme-light.mjs 1450 -