10 Commits

Author SHA1 Message Date
Chris
4f9488cb99 FEAT: Added ability to use pure components as a react base class 2016-08-10 23:33:33 +02:00
sthzg
e2add4af4d Refactored component subgen to support styles and/or cssmodules #255
This commit refactors the template structure for components to multiple
different base templates based on the required styling options:

- nostyle
- with styles
- with styles and css modules
2016-08-05 14:36:10 +02:00
sthzg
dcee97ec65 Proposed solution for #253
Wrapped Node's path.normalize() around paths that have
`componentPartPath` as a part segment. For non-namespaced components
this segment can be empty which leads to two consecutive slashes.

Updated test suite to assert against the updated import statements
in various files.
2016-07-11 01:13:46 +02:00
Chris
892f771899 Added new directory options for generated components (styles are now also generated in the components folder)
Added directory options fallbacks for version 3 and below
Prepared for inclusion of css modules
2016-06-15 15:34:26 +02:00
Chris
663a49369b Added basic changes for v4.0 (base generator class refactoring) 2016-05-27 12:01:50 +02:00
Chris
832907f2fd Added minor es2015 tweaks 2016-03-29 23:01:42 +02:00
Chris
685f6a75ce Added automatic generation of components displayName property. 2015-10-15 16:09:23 +02:00
Chris
361ea7409d Added another utility #getDestinationClassName to get the final classname of a given path 2015-09-29 14:11:28 +02:00
Chris
56ff5c6281 Added new helper method #getDestinationPath to make path management in subcomponents easier 2015-09-29 13:52:58 +02:00
Chris
023d937877 Added changes for version 2.0 2015-09-21 20:45:57 +02:00