🎨 Aesthetic is an end-to-end multi-platform styling framework that offers a strict design system, robust atomic CSS-in-JS engine, a structural style sheet specification (SSS), a low-runtime solution, and much more!
[x] transformStyles needs to handle false/undefined.
[x] getDerivedStateFromProps causing issues for component references.
src/components/ProgressCard/index.tsx:21:30 - error TS2345: Argument of type 'StyledComponent<Theme, Props & WithStylesWrapperProps>' is not assignable to parameter of type 'string | ComponentClass<any, ComponentState> | StatelessComponent<any>'.
Type 'StyledComponent<Theme, Props & WithStylesWrapperProps>' is not assignable to type 'ComponentClass<any, ComponentState>'.
Types of property 'getDerivedStateFromProps' are incompatible.
Type 'GetDerivedStateFromProps<Props & WithStylesWrapperProps, ComponentState> | undefined' is not assignable to type 'GetDerivedStateFromProps<any, ComponentState> | undefined'.
Type 'GetDerivedStateFromProps<Props & WithStylesWrapperProps, ComponentState>' is not assignable to type 'GetDerivedStateFromProps<any, ComponentState>'.
Types of parameters 'nextProps' and 'nextProps' are incompatible.
Type 'Readonly<any>' is not assignable to type 'Readonly<Props & WithStylesWrapperProps>'.
Property 'percent' is missing in type 'Readonly<any>'.
21 progress: childrenOfType(ProgressBar).isRequired,
[x] Return this in applyGlobalStyles.
[x] Fela doesn't handle specificity well, as newer classes may still be overridden by previously compiled ones.
[x] Add StyleBlock type alias
[x] Rename StyledComponent to StyledComponentClass.
[x] Throw errors when syntax should use @selectors.
[x] Props in withStyles argument are not re-rendering when different/changed.
@types/react
to^16.0.0
.withStyles
interfaces.transformStyles
needs to handle false/undefined.getDerivedStateFromProps
causing issues for component references.this
inapplyGlobalStyles
.StyleBlock
type aliasStyledComponent
toStyledComponentClass
.@selectors
.withStyles
argument are not re-rendering when different/changed.