This repository was archived by the owner on Feb 19, 2024. It is now read-only.
v4.0.0
4.0.0 (2020-09-10)
Full changeset
Notable changes in 4.0
Most changes in 4.0 are bugfixes—check individual package changelogs to see exactly what bugfixes were introduced. Major and/or breaking changes we've added in this version are primarily in @irvingjs/styled-components:
- Add a hook for getting and transforming a specific set of standard props for all styled components:
className, which will be combined together using theclassnamespackageid, which will render directly to theidattributestyle, in which any site theme context variables will be replacedtag, which will be converted to the styled-componentsasprop (or omitted entirely if no tag is provided)- All of the above can have component defaults which will be combined with user input or, in the case of
id, replaced by user input.
- Add a utility for converting a component name to a className. This className will automatically be added to a component.
PropTypesdefinitions for a wider variety of standard props.defaultPropsdefinitions for the same.- Switch the default export of the styled components package to be the config instead of the component map and rename the function exported form the component map.
- Remove unused support for photon transforms and picture element sources from the styled image component.
- Remove/deprecate the
createWithUserThemeshoc as it is now an unnecessary abstraction. - Convert audio player play/pause button component to a themable styled component.