| constants.mjs |
|
948 |
- |
| fluent-panel.css |
|
1516 |
- |
| FluentPanel.jsx |
|
3479 |
- |
| index.js |
This file hooks our addon into Storybook. Having a root-level file like this
is a Storybook requirement. It handles registering the addon without any
additional user configuration.
|
653 |
- |
| preset |
|
|
- |
| PseudoLocalizationButton.jsx |
|
1723 |
- |
| 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.
|
2974 |
- |