Releases: One-Nexus/Synergy
Releases · One-Nexus/Synergy
Version 3.10.3
Version 3.10
Released: 20th June 2018
Release Notes
- Added callback functions to
component
andmodifier
DOM methods - Allowing
<Component>
's to accept event handlers as props - Allow passing of custom HTML tag to
<Module>
- Set module modifiers by passing as empty prop
- Adding
<Wrapper>
and<Group>
components - Specify list of CSS classes to add via empty prop
- Allow passing of CSS through Sass map istead of through
@content
- Adding
sub-component
Sass mixin - Adding
pseudo-state
Sass mixin - Adding
Synergize
class (extendsReact.Component
) - Dynamically fetch
<Component>
onClick event from window.Synergy object - Option to render content by passing as
content
prop - Set
<Module>
as another module by passing module name as prop - Dynamically set
tag
prop on module ifname
prop is valid HTML tag - Get HTML attributes from props
- Components now render with a
data-component
attribute - Allow passing of data-attributes to module
- Append content before/after module through
before
andafter
props - Removing Bower
- General refactoring, syntax improvements and bug fixes
Version 3.9.2
Version 3.9.2
Released: 13th January 2018
Release Notes
- Fixing bug where only first modifier in module.jsx was parsed
Version 3.9.1
Version 3.9.1
Released: 11th January 2018
Release Notes
- Exporting transpiled module instead of ES6
Version 3.9
Version 3.9.0
Released: 10th January 2018
Release Notes
- Now compatible with Node-Sass/Libsass (hence no longer dependent on Ruby) 👯♂️
- Ability to render components with React 😎
- Replacing Grunt with Webpack 🙏
- Replacing scss-lint with stylelint
- General minor improvements
Version 3.8.1
Version 3.8.1
Released: 6th October 2017
Release Notes
- Fixing issue with
this()
function error warning
Version 3.8
Version 3.8.0
Released: 4th October 2017
Release Notes
- add sass warn message when this('option') doesn't exist
- fixing issues of module-tree functon stripping hyphens from module name
- improving how CSS styles are passed to modules
- processes values in "active" and "hover" entries in config
- refactoring Synergy.js
- adding selector() function
- allow passing of custom parser to parse configuration
- adding deepextend JS module
- making component and modifier glue configurable
Version 3.7
Version 3.7.0
Released: 30th July 2017
Release Notes
- Splitting JS into smaller functions
Version 3.6
Version 3.6.0
Released: 11th June 2017
Release Notes
- Synergy JS module rewritten in ES6
- Removing Sass-JSON as dependency, replacing with Sass-JSON-Vars
- Updating Sass-Boost dependency
- Dependences now node modules instead of git submodules
- Improving options mixin
- Adding
value-enabled()
utility function - Adding
enabled()
utility function - Allow modules to have default modifiers
- Allow extending of modifiers when including module
- Allow combining of modifiers when including module
- Allow module output to be disabled
- Removing
overwrite()
mixin - Removing
overwrite-component()
mixin module()
mixin is now nestablecomponent()
mixin is now nestable- Adding JavaScript unit tests