| constants.mjs |
|
971 |
- |
| index.mjs |
Adds the Fluent decorators to the Storybook preview.
@param {string[]} [entry=[]] - Registered preview modules.
@returns {string[]} The preview modules, including the Fluent decorators.
|
600 |
- |
| preset |
|
|
- |
| withPseudoLocalization.mjs |
withPseudoLocalization is a Storybook decorator that handles emitting an
event to update translations when a new pseudo localization strategy is
applied. It also handles setting a "dir" attribute on the root element in the
Storybook iframe.
@param {Function} StoryFn - Provided by Storybook, used to render the story.
@param {object} context - Provided by Storybook, data about the story.
@returns {Function} StoryFn with a modified "dir" attr set.
|
2979 |
- |