- Remove
splitRegex
in favour of asplit
callback - Allow passing in a
setClassName
callback to set the class name on the inserted DOM element - Use modern syntax, namely
let
/const
and default parameters
- Bump dependencies
- Add
rimraf
,mkdirp
- Add
husky
andlint-staged
- Bump dependencies
- Only publish
index.js
- Add
standard
- Bump dependencies
- Add
weight
script
- Add support for passing in a regular expression to control how the contents of the element are wrapped
- Add
aria-label
andaria-hidden
attributes for accessibility
- Add a CodePen demo
- Use
prettier-standard
- Prioritise the general case, where the
element
has a single child text node - Update tooling:
prettier
,tape
,yarn
- Drop Bower support
- Initial release