diff --git a/book/src/SUMMARY.md b/book/src/SUMMARY.md index 090e13c7..f2c5f06c 100644 --- a/book/src/SUMMARY.md +++ b/book/src/SUMMARY.md @@ -12,6 +12,7 @@ - [Styling](development/styling.md) - [Making a release](development/releasing.md) - [Release notes](releases/README.md) + - [Version 0.5.4](releases/v0.5.4.md) - [Version 0.5.3](releases/v0.5.3.md) - [Version 0.5.2](releases/v0.5.2.md) - [Version 0.5.1](releases/v0.5.1.md) diff --git a/book/src/releases/v0.5.4.md b/book/src/releases/v0.5.4.md new file mode 100644 index 00000000..1c3017f5 --- /dev/null +++ b/book/src/releases/v0.5.4.md @@ -0,0 +1,28 @@ +# Version 0.5.4 + +## Migration guide + +If you are using the collapsible catalogue feature, the texts for the expand/collapse button are now no longer specified as props: + +```diff + +``` + +If you specified any other texts in the `texts` prop you can remove them as well as they are no longer used. The expand/collapse button texts are now specified in the Lens options [as translations](../guide/translations.md): + +```json +"texts": { + "catalogue_expand": { + "en": "My custom expand text" + }, + "catalogue_collapse": { + "en": "My custom collapse text" + }, +} +``` diff --git a/src/components/catalogue/Catalogue.wc.svelte b/src/components/catalogue/Catalogue.wc.svelte index 5bd50de0..0c2356d7 100644 --- a/src/components/catalogue/Catalogue.wc.svelte +++ b/src/components/catalogue/Catalogue.wc.svelte @@ -5,52 +5,37 @@ />