UNPKG

1.11 kBMarkdownView Raw
1# Changelog
2
3Prerelease changelogs are only added by date for now which means they affect
4any npm prerelease after that date.
5
6## Prerelease 2020-09-01 (🤷‍♂️)
7
8- Fix anchor links
9- Add `effect` prop to `WPContent` for adding vanillajs based bahaviour to Gutenberg blocks
10 - Examples
11 - Accordions https://codesandbox.io/s/xenodochial-meninsky-3pqy8?file=/src/App.tsx
12 - React embbedding https://codesandbox.io/s/inspiring-wildflower-mzku6?file=/src/App.tsx
13
14## Prerelease 2020-08-06 (🤷‍♂️)
15
16**Breaking changes**:
17
18Added babel preset that must be used instead of the `next/babel` preset. This
19preset will contain all the Headup Babel Plugins so those can be removed from
20the `.babelrc` or `babel.config.js` files.
21
22Ex. update
23
24```json
25{
26 "presets": ["next/babel"],
27 "plugins": ["react-bemed/babel", "@headup/wp/babel-plugin"]
28}
29```
30
31to
32
33```json
34{
35 "presets": ["@headup/wp/babel-preset"],
36 "plugins": ["react-bemed/babel"]
37}
38```
39
40Other changes
41
42- Added support for translations strings
43 - <https://headup.netlify.app/docs/tutorial/translation-strings>