Releases: Jarzka/stylefy
Releases · Jarzka/stylefy
1.11.1
1.11.0
1.11.0-beta1
- Implemented support for manual mode, which makes it possible to style child components with custom CSS selectors. It is recommended to use manual mode only for corner cases, i.e. when regular sub-styles cannot produce the desired end result. An example of this is a case when we want to easily change the style of a child component when the parent is being hovered. Manual mode can also be used to style 3rd party components that do not take style parameters. To avoid possible hassle, stylefy's special keywords do not work in manual mode and styles written in manual mode are scoped inside the element in which you use the style.
- Log a warning when attempted to initialise stylefy more than once.
- Log a warning when attempted to use an incorrect mode with spaces.
- Fix bug: Modes were not working correctly inside feature query
1.10.1
1.10.0
1.10.0 beta 1
- Improves performance especially in large applications: Previously all components were re-rendered when the "CSS in DOM" state of some stylefy style was changed. Now component is re-rendered only if the "CSS in DOM" state of a style, which is used in the component, has changed.
1.9.0
1.9.0 Beta 1
- Adds multi-instance support.
1.8.0
1.8.0 Beta 1
- Reduces RAM & local storage usage by approximately 50% by keeping only the compiled CSS in memory, not the whole style map.
- Makes it possible to define custom class prefix (for debugging and testing purposes)