fela-tools
Advanced tools
Changelog
10.4.0
| Package | Changes | | --- | --- | | fela-beautifier | Make sure beautify is only used in devMode since it otherwise breaks DOM rendering in specific cases. | | fela-sort-classnames | Introducing a new enhancer that sorts class names alphabetically. This is helpful for SSR consistency due to browser differences in object key iteration. |
Changelog
10.3.0
| Package | Changes | | --- | --- | | fela<br>fela-utils<br>fela-dom | (#707) Fixed a bug that caused rehydration mismatches when using dash-cased CSS property names. | | fela-plugin-typescript | (#701) Introducing the new TypeScript plugin that adds type-safety for CSS properties and provides auto-completion. |
Changelog
10.2.3
| Package | Changes |
| --- | --- |
| react-fela | (#697) Improved TypeScript typins for the useFela
hook API.<br>(#692) Improved TypeScript typings for the FelaRenderer
component. |
| react-fela<br>preact-fela<br>inferno-fela<br>fela-bindings | (#695) Improved TypeScript typins for the connect
API. |
| fela-codemods | (#691) Fix render
-> as
conversion edge cases. Don't convert args of callbacks inside an inline style
function, only the args to the style
callback itself. |
Changelog
10.2.2
| Package | Changes |
| --- | --- |
| fela-plugin-extend | (#685) Added style extension for edge cases that weren't respected before. |
| fela-bindings<br>react-fela<br>preact-fela<br>inferno-fela | (#686) Refactored the ThemeProvider
component to match the old behaviour with auto-merging themes. |
| react-fela | (#683) Added TypeScript typings for the new useFela
hook API.<br>(#677) Added TypeScript typings for the FelaRenderer
component.<br>(#678) Added a warning when FelaComponent
is used without passing the style
prop. |
| all | (#680) Added sideEffects property to all packages in order to support Tree-Shaking in Webpack. |
Changelog
10.2.1
| Package | Changes |
| --- | --- |
| fela-plugin-rtl | (#673) Added the ability to pass a default direction in order to support full theme-based rtl transformation. |
| react-fela | (#674) Performance optimisations for useFela
. |
| fela-bindings<br>react-fela<br>preact-fela<br>inferno-fela | (#675) Allowing undefined
and null
as valid values for style on FelaRenderer
that used to throw. |
Changelog
10.2.0
| Package | Changes |
| --- | --- |
| fela | (#671) Updated Typings to use union types instead of enums. |
| fela<br>fela-dom | (#667) Added the rendererId
option to the renderer configuration which allows using multiple renderers with each maintaining their own set of style nodes. |
| fela-plugin-rtl<br>fela-plugin-bidi | (#670) Added the ability to switch the transformation direction dynamically using a special theme property. |
| react-fela | (#669) Now correctly pass the theme to useFela
's props as well.<br>Now correctly pass key
and ref
to the FelaComponent
directly instead of piping them to its rendered children. |
| fela-plugin-named-keys | Added the ability to dynamically set named keys using the given props
of each rule. |