diff --git a/CHANGELOG.md b/CHANGELOG.md index b072c9e..a8e0aec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,317 +4,269 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -#### [3.5.0](https://github.com/eea/volto-accordion-block/compare/3.4.16...3.5.0) +### [4.0.0](https://github.com/eea/volto-accordion-block/compare/3.5.0...4.0.0) - 27 September 2022 -- fix: pass location to RenderBlocks. This allows for example in ListingBlocks, to make querystring-search calls with the right context in multi-language sites. [`#49`](https://github.com/eea/volto-accordion-block/pull/49) -- Release 3.5.0 [`c237343`](https://github.com/eea/volto-accordion-block/commit/c237343daa82eb0fb0ddb49e04ee6c49578b8fd2) +#### :rocket: New Features -#### [3.4.16](https://github.com/eea/volto-accordion-block/compare/3.4.15...3.4.16) +- feat: Add theme variations - refs #153783 [Miu Razvan - [`70c0599`](https://github.com/eea/volto-accordion-block/commit/70c05996fdeef1b9f71ec48bd983f4d8e69897c5)] -> 17 May 2022 +#### :nail_care: Enhancements -- Release [`#48`](https://github.com/eea/volto-accordion-block/pull/48) -- Fix Invalid prop name of value ... supplied to Icon [`86a5203`](https://github.com/eea/volto-accordion-block/commit/86a5203978e81cfa6c210bea45af3192fd338209) +- refactor(accordion): Use Volto core styling for theme - refs #153783 [Alin Voinea - [`414e859`](https://github.com/eea/volto-accordion-block/commit/414e8597ebdf4c29614a5998ce858e26504e5401)] -#### [3.4.15](https://github.com/eea/volto-accordion-block/compare/3.4.14...3.4.15) +#### :hammer_and_wrench: Others -> 6 April 2022 +- i18n [Alin Voinea - [`dd7061d`](https://github.com/eea/volto-accordion-block/commit/dd7061d1417aa8403dc0155a3acb9d45d124aad0)] +- Release 3.6.0 [Alin Voinea - [`2c84012`](https://github.com/eea/volto-accordion-block/commit/2c840125496e23e1f1587e9e1ba2713ef538491e)] +- test(prettier): Fix stylelint [Alin Voinea - [`e3fd717`](https://github.com/eea/volto-accordion-block/commit/e3fd717b60d67a09b500282837470707f57747a1)] +- Use volto@16.0.0-alpha.14 in cypress tests [Miu Razvan - [`f4dd7a1`](https://github.com/eea/volto-accordion-block/commit/f4dd7a1221ef2437b813d45b232efbf8c04bb8c5)] +- update(jest): add @plone/volto-slate resolver refs- #153447 [nileshgulia1 - [`7a1af55`](https://github.com/eea/volto-accordion-block/commit/7a1af55061b0c75ecb77fdbae9e2e6586df3b50c)] +### [3.5.0](https://github.com/eea/volto-accordion-block/compare/3.4.16...3.5.0) - 30 June 2022 -- Release [`#47`](https://github.com/eea/volto-accordion-block/pull/47) +#### :hammer_and_wrench: Others -#### [3.4.14](https://github.com/eea/volto-accordion-block/compare/3.4.13...3.4.14) +- Release 3.5.0 [Alin Voinea - [`c237343`](https://github.com/eea/volto-accordion-block/commit/c237343daa82eb0fb0ddb49e04ee6c49578b8fd2)] +### [3.4.16](https://github.com/eea/volto-accordion-block/compare/3.4.15...3.4.16) - 17 May 2022 -> 3 March 2022 +#### :hammer_and_wrench: Others -- feat(accordion): add icon configuration for size and type [`#45`](https://github.com/eea/volto-accordion-block/pull/45) -- move style of accordion title input to volto-eea-design-system [`4cc803d`](https://github.com/eea/volto-accordion-block/commit/4cc803dbb60a74d3df7eff23545a56394448588f) -- Update style on edit mode [`212eda4`](https://github.com/eea/volto-accordion-block/commit/212eda4b49852388c1b486abc52f991cf2fab3fb) -- feat(accordion): add semantic icon configuration [`438b91c`](https://github.com/eea/volto-accordion-block/commit/438b91cc4d75b24bb4093be0e9b5d3b314b4bdb5) -- feat(accordion): add icon 'size' configuration [`7f32d54`](https://github.com/eea/volto-accordion-block/commit/7f32d5403abe8be295d8b698cab3df83939b85e0) +- Fix Invalid prop name of value ... supplied to Icon [Alin Voinea - [`86a5203`](https://github.com/eea/volto-accordion-block/commit/86a5203978e81cfa6c210bea45af3192fd338209)] +### [3.4.15](https://github.com/eea/volto-accordion-block/compare/3.4.14...3.4.15) - 6 April 2022 -#### [3.4.13](https://github.com/eea/volto-accordion-block/compare/3.4.12...3.4.13) +#### :hammer_and_wrench: Others -> 18 January 2022 +### [3.4.14](https://github.com/eea/volto-accordion-block/compare/3.4.13...3.4.14) - 3 March 2022 -- Initialize empty active index [`#43`](https://github.com/eea/volto-accordion-block/pull/43) -- Merge pull request #44 from eea/develop [`2006fdd`](https://github.com/eea/volto-accordion-block/commit/2006fdd81589a1dafe381c85e112a75b71632873) -- initialize empty activeIndex [`0105982`](https://github.com/eea/volto-accordion-block/commit/01059821035e2006ab5347597646deabc8762fa3) +#### :rocket: New Features -#### [3.4.12](https://github.com/eea/volto-accordion-block/compare/3.4.11...3.4.12) +- feat(accordion): add semantic icon configuration [Miu Razvan - [`438b91c`](https://github.com/eea/volto-accordion-block/commit/438b91cc4d75b24bb4093be0e9b5d3b314b4bdb5)] +- feat(accordion): add icon 'size' configuration [Miu Razvan - [`7f32d54`](https://github.com/eea/volto-accordion-block/commit/7f32d5403abe8be295d8b698cab3df83939b85e0)] -> 3 January 2022 +#### :hammer_and_wrench: Others +- move style of accordion title input to volto-eea-design-system [Miu Razvan - [`4cc803d`](https://github.com/eea/volto-accordion-block/commit/4cc803dbb60a74d3df7eff23545a56394448588f)] +- Update style on edit mode [Miu Razvan - [`212eda4`](https://github.com/eea/volto-accordion-block/commit/212eda4b49852388c1b486abc52f991cf2fab3fb)] +### [3.4.13](https://github.com/eea/volto-accordion-block/compare/3.4.12...3.4.13) - 18 January 2022 -#### [3.4.11](https://github.com/eea/volto-accordion-block/compare/3.4.10...3.4.11) +#### :hammer_and_wrench: Others -> 18 December 2021 +- Merge pull request #44 from eea/develop [Nilesh - [`2006fdd`](https://github.com/eea/volto-accordion-block/commit/2006fdd81589a1dafe381c85e112a75b71632873)] +- initialize empty activeIndex [ionlizarazu - [`0105982`](https://github.com/eea/volto-accordion-block/commit/01059821035e2006ab5347597646deabc8762fa3)] +### [3.4.12](https://github.com/eea/volto-accordion-block/compare/3.4.11...3.4.12) - 3 January 2022 -- Add SonarQube badges [`#40`](https://github.com/eea/volto-accordion-block/pull/40) +### [3.4.11](https://github.com/eea/volto-accordion-block/compare/3.4.10...3.4.11) - 18 December 2021 -#### [3.4.10](https://github.com/eea/volto-accordion-block/compare/3.4.9...3.4.10) +#### :hammer_and_wrench: Others -> 10 December 2021 +### [3.4.10](https://github.com/eea/volto-accordion-block/compare/3.4.9...3.4.10) - 10 December 2021 -- Develop [`#39`](https://github.com/eea/volto-accordion-block/pull/39) -- Correct Cypress tests [`#38`](https://github.com/eea/volto-accordion-block/pull/38) -- Correct 3 comments [`b475139`](https://github.com/eea/volto-accordion-block/commit/b475139a572ee5af0b255713c7b808a2c8857314) -- Finish making the Cypress tests work [`527d89c`](https://github.com/eea/volto-accordion-block/commit/527d89c6f48c3cc987a272e5cd2dda6ab354ef3f) -- WIP on correcting Cypress tests [`6ac471d`](https://github.com/eea/volto-accordion-block/commit/6ac471d9f702f3a5c58edb28f780bab380b5e3ff) +#### :hammer_and_wrench: Others -#### [3.4.9](https://github.com/eea/volto-accordion-block/compare/3.4.8...3.4.9) +- Correct 3 comments [Silviu Bogan - [`b475139`](https://github.com/eea/volto-accordion-block/commit/b475139a572ee5af0b255713c7b808a2c8857314)] +- Finish making the Cypress tests work [Silviu Bogan - [`527d89c`](https://github.com/eea/volto-accordion-block/commit/527d89c6f48c3cc987a272e5cd2dda6ab354ef3f)] +- WIP on correcting Cypress tests [Silviu Bogan - [`6ac471d`](https://github.com/eea/volto-accordion-block/commit/6ac471d9f702f3a5c58edb28f780bab380b5e3ff)] +### [3.4.9](https://github.com/eea/volto-accordion-block/compare/3.4.8...3.4.9) - 25 November 2021 -> 25 November 2021 +#### :hammer_and_wrench: Others -- `@media: print {}` to show open panes [`#37`](https://github.com/eea/volto-accordion-block/pull/37) -- @media print to show open panes [`e111771`](https://github.com/eea/volto-accordion-block/commit/e111771cc1d1c2d5d19c55371cf348e764f90fff) -- Refs #142010 - Optimize Volto-addons gitflow pipelines [`8072099`](https://github.com/eea/volto-accordion-block/commit/807209972e79796af5a9fad60e17e04a32ffc776) +- @media print to show open panes [nileshgulia1 - [`e111771`](https://github.com/eea/volto-accordion-block/commit/e111771cc1d1c2d5d19c55371cf348e764f90fff)] +- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`8072099`](https://github.com/eea/volto-accordion-block/commit/807209972e79796af5a9fad60e17e04a32ffc776)] +### [3.4.8](https://github.com/eea/volto-accordion-block/compare/3.4.7...3.4.8) - 22 November 2021 -#### [3.4.8](https://github.com/eea/volto-accordion-block/compare/3.4.7...3.4.8) +#### :hammer_and_wrench: Others -> 22 November 2021 +- cy: make tests run with both slate and draftjs [nileshgulia1 - [`e51f7a5`](https://github.com/eea/volto-accordion-block/commit/e51f7a5c36804240d90e19baa9c7b321e41a7c23)] +### [3.4.7](https://github.com/eea/volto-accordion-block/compare/3.4.6...3.4.7) - 25 October 2021 -- run cypress on slate and draftjs blocks [`#36`](https://github.com/eea/volto-accordion-block/pull/36) -- cy: make tests run with both slate and draftjs [`e51f7a5`](https://github.com/eea/volto-accordion-block/commit/e51f7a5c36804240d90e19baa9c7b321e41a7c23) +#### :hammer_and_wrench: Others -#### [3.4.7](https://github.com/eea/volto-accordion-block/compare/3.4.6...3.4.7) +- Refs #34 ensure floated images from content area don't spill over next accordion title [David Ichim - [`79abc8c`](https://github.com/eea/volto-accordion-block/commit/79abc8c1b13eb26fb78b9dbe53fc2711c02a1ed1)] +### [3.4.6](https://github.com/eea/volto-accordion-block/compare/3.4.5...3.4.6) - 6 October 2021 -> 25 October 2021 +#### :house: Internal changes -- Refs #34 ensure floated images don't spill over next accordion titles [`#35`](https://github.com/eea/volto-accordion-block/pull/35) -- Refs #34 ensure floated images from content area don't spill over next accordion title [`79abc8c`](https://github.com/eea/volto-accordion-block/commit/79abc8c1b13eb26fb78b9dbe53fc2711c02a1ed1) +- chore: added italian translations [Giulia Ghisini - [`54b6f8f`](https://github.com/eea/volto-accordion-block/commit/54b6f8f8d92e5fd02e18c6e2a8cc81b7abef7312)] -#### [3.4.6](https://github.com/eea/volto-accordion-block/compare/3.4.5...3.4.6) +#### :hammer_and_wrench: Others -> 6 October 2021 +### [3.4.5](https://github.com/eea/volto-accordion-block/compare/3.4.4...3.4.5) - 29 September 2021 -- Release: Add italian translations [`#33`](https://github.com/eea/volto-accordion-block/pull/33) -- Italian translations [`#32`](https://github.com/eea/volto-accordion-block/pull/32) -- chore: added italian translations [`54b6f8f`](https://github.com/eea/volto-accordion-block/commit/54b6f8f8d92e5fd02e18c6e2a8cc81b7abef7312) +#### :hammer_and_wrench: Others -#### [3.4.5](https://github.com/eea/volto-accordion-block/compare/3.4.4...3.4.5) +- cypress: correctly get child [nileshgulia1 - [`6154d81`](https://github.com/eea/volto-accordion-block/commit/6154d81341bb0add7b77a13cc79763e0a439462c)] +- fix cypress [nileshgulia1 - [`b93e174`](https://github.com/eea/volto-accordion-block/commit/b93e17424f0a178d80a10eef6dd86751dda6caef)] +- correctly wrap the children into animate-height [nileshgulia1 - [`9f1f2eb`](https://github.com/eea/volto-accordion-block/commit/9f1f2eb9f7fc98bf2c6062679343248d830a0189)] +### [3.4.4](https://github.com/eea/volto-accordion-block/compare/3.4.3...3.4.4) - 23 September 2021 -> 29 September 2021 +#### :hammer_and_wrench: Others -- correctly wrap the accordion content into animate-height [`#31`](https://github.com/eea/volto-accordion-block/pull/31) -- cypress: correctly get child [`6154d81`](https://github.com/eea/volto-accordion-block/commit/6154d81341bb0add7b77a13cc79763e0a439462c) -- fix cypress [`b93e174`](https://github.com/eea/volto-accordion-block/commit/b93e17424f0a178d80a10eef6dd86751dda6caef) -- correctly wrap the children into animate-height [`9f1f2eb`](https://github.com/eea/volto-accordion-block/commit/9f1f2eb9f7fc98bf2c6062679343248d830a0189) +### [3.4.3](https://github.com/eea/volto-accordion-block/compare/3.4.2...3.4.3) - 17 September 2021 -#### [3.4.4](https://github.com/eea/volto-accordion-block/compare/3.4.3...3.4.4) +### [3.4.2](https://github.com/eea/volto-accordion-block/compare/3.4.1...3.4.2) - 16 September 2021 -> 23 September 2021 +### [3.4.1](https://github.com/eea/volto-accordion-block/compare/3.4.0...3.4.1) - 10 September 2021 -- Release - expand customization options of titleIcons [`#29`](https://github.com/eea/volto-accordion-block/pull/29) -- expand customization options of titleIcons [`#28`](https://github.com/eea/volto-accordion-block/pull/28) +#### :hammer_and_wrench: Others -#### [3.4.3](https://github.com/eea/volto-accordion-block/compare/3.4.2...3.4.3) +- Add missing onChangeField to make it work with Metadata section block - refs #137434 [Alin Voinea - [`5253b74`](https://github.com/eea/volto-accordion-block/commit/5253b74a52043a3ad7e2e813abaf2d27f0e83a7a)] +### [3.4.0](https://github.com/eea/volto-accordion-block/compare/3.3.1...3.4.0) - 7 September 2021 -> 17 September 2021 +#### :hammer_and_wrench: Others -- Fix schemaEnhancer support for default values on newly created accord… [`#26`](https://github.com/eea/volto-accordion-block/pull/26) -- Fix schemaEnhancer support for default values on newly created accord… [`#24`](https://github.com/eea/volto-accordion-block/pull/24) +- Release 3.4.0 [Alin Voinea - [`d2be3bc`](https://github.com/eea/volto-accordion-block/commit/d2be3bcea7deb2e0aecf6e96c84a331c288d3823)] +### [3.3.1](https://github.com/eea/volto-accordion-block/compare/3.3.0...3.3.1) - 7 September 2021 -#### [3.4.2](https://github.com/eea/volto-accordion-block/compare/3.4.1...3.4.2) +### [3.3.0](https://github.com/eea/volto-accordion-block/compare/3.2.4...3.3.0) - 30 August 2021 -> 16 September 2021 +#### :hammer_and_wrench: Others -- Add infrastructure support for i18n and locales folder (#23) [`#25`](https://github.com/eea/volto-accordion-block/pull/25) -- Add infrastructure support for i18n and locales folder [`#23`](https://github.com/eea/volto-accordion-block/pull/23) +- Release 3.3.0 [Alin Voinea - [`2cbb1d5`](https://github.com/eea/volto-accordion-block/commit/2cbb1d53ce62b9cb42751c4c4997577ba4165649)] +### [3.2.4](https://github.com/eea/volto-accordion-block/compare/3.2.3...3.2.4) - 21 July 2021 -#### [3.4.1](https://github.com/eea/volto-accordion-block/compare/3.4.0...3.4.1) +### [3.2.3](https://github.com/eea/volto-accordion-block/compare/3.2.2...3.2.3) - 27 May 2021 -> 10 September 2021 +### [3.2.2](https://github.com/eea/volto-accordion-block/compare/3.2.1...3.2.2) - 13 May 2021 -- Add missing onChangeField to make it work with Metadata section block [`#22`](https://github.com/eea/volto-accordion-block/pull/22) -- Add missing onChangeField to make it work with Metadata section block - refs #137434 [`5253b74`](https://github.com/eea/volto-accordion-block/commit/5253b74a52043a3ad7e2e813abaf2d27f0e83a7a) +#### :hammer_and_wrench: Others -#### [3.4.0](https://github.com/eea/volto-accordion-block/compare/3.3.1...3.4.0) +- Add Makefile in order to easily test this addon [Alin Voinea - [`baa1ea1`](https://github.com/eea/volto-accordion-block/commit/baa1ea1abc0245d688adee69f6dbbb4a7bfbf687)] +### [3.2.1](https://github.com/eea/volto-accordion-block/compare/3.2.0...3.2.1) - 7 April 2021 -> 7 September 2021 +#### :hammer_and_wrench: Others -- Release - Add block extenders and i18n aware (#20) [`#21`](https://github.com/eea/volto-accordion-block/pull/21) -- Add block extenders and i18n aware [`#20`](https://github.com/eea/volto-accordion-block/pull/20) -- Release 3.4.0 [`d2be3bc`](https://github.com/eea/volto-accordion-block/commit/d2be3bcea7deb2e0aecf6e96c84a331c288d3823) +- Release 3.2.1 [Alin Voinea - [`5d37311`](https://github.com/eea/volto-accordion-block/commit/5d373114bee9306469424c1103632baeeb664a47)] +- Revert "commented the use of duplicate useEffect" [Alin Voinea - [`aafa69c`](https://github.com/eea/volto-accordion-block/commit/aafa69c28e9cdd54e80bb1f60691ea51066eaaf7)] +### [3.2.0](https://github.com/eea/volto-accordion-block/compare/3.1.0...3.2.0) - 7 April 2021 -#### [3.3.1](https://github.com/eea/volto-accordion-block/compare/3.3.0...3.3.1) +#### :hammer_and_wrench: Others -> 7 September 2021 +- Release 3.2.0 [Alin Voinea - [`715f6a4`](https://github.com/eea/volto-accordion-block/commit/715f6a4c3bea65e0a7f9efda1c16bc62fcd6d3ea)] +- Add support for onInsertBlock with BlockChooser [Alin Voinea - [`0e37fb3`](https://github.com/eea/volto-accordion-block/commit/0e37fb3542be53806017d0611c9239e5cdf94193)] +- Revert "Add support for newId returned by onMutateBlock" [Alin Voinea - [`e7d8824`](https://github.com/eea/volto-accordion-block/commit/e7d882455d4478ea8aec952b54b572ae4aca5458)] +- commented the use of duplicate useEffect [nileshgulia1 - [`f771fb8`](https://github.com/eea/volto-accordion-block/commit/f771fb8701ad58b6fcca785c7e4b042eec5e3b07)] +- Save data for empty accordion on mount [razvanMiu - [`f80e728`](https://github.com/eea/volto-accordion-block/commit/f80e728e91ebe16c7ee6966d4b89e8d0fc986fd0)] +- Replace group with accordion within class names [Alin Voinea - [`8113731`](https://github.com/eea/volto-accordion-block/commit/8113731fbc770ec8b29346d9d2f97f0d067a6021)] +- Add support for newId returned by onMutateBlock [Alin Voinea - [`ffea93a`](https://github.com/eea/volto-accordion-block/commit/ffea93acae2e47c66ffff59d5e4cdc591e1b58b8)] +### [3.1.0](https://github.com/eea/volto-accordion-block/compare/3.0.0...3.1.0) - 5 April 2021 -- Release - Visual improvements (#18) [`#19`](https://github.com/eea/volto-accordion-block/pull/19) -- Visual improvements [`#18`](https://github.com/eea/volto-accordion-block/pull/18) +#### :hammer_and_wrench: Others -#### [3.3.0](https://github.com/eea/volto-accordion-block/compare/3.2.4...3.3.0) +- Release 3.1.0 [Alin Voinea - [`ecf79dc`](https://github.com/eea/volto-accordion-block/commit/ecf79dc6f34346c26f11676765b4c3ba2d4dc427)] +- Update docs [Alin Voinea - [`475ec25`](https://github.com/eea/volto-accordion-block/commit/475ec251601941a2e0364563408d54fa6e88172a)] +- Align accordion style/settings/buttons to Volto Group block [Alin Voinea - [`334ecb4`](https://github.com/eea/volto-accordion-block/commit/334ecb493379d16c7b4c0afef74580c38e897277)] +- Add fixedLayout settings [Alin Voinea - [`b874b69`](https://github.com/eea/volto-accordion-block/commit/b874b69c8a48e7e0002f2c68a1ab51d5abb5ff2d)] +## [3.0.0](https://github.com/eea/volto-accordion-block/compare/2.1.0...3.0.0) - 8 March 2021 -> 30 August 2021 +#### :hammer_and_wrench: Others -- Release [`#17`](https://github.com/eea/volto-accordion-block/pull/17) -- use custom title icons [`#16`](https://github.com/eea/volto-accordion-block/pull/16) -- Release 3.3.0 [`2cbb1d5`](https://github.com/eea/volto-accordion-block/commit/2cbb1d53ce62b9cb42751c4c4997577ba4165649) - -#### [3.2.4](https://github.com/eea/volto-accordion-block/compare/3.2.3...3.2.4) - -> 21 July 2021 - -- Set initial values based on default schema properties (#14) [`#15`](https://github.com/eea/volto-accordion-block/pull/15) -- set initial values based on default schema properties [`#14`](https://github.com/eea/volto-accordion-block/pull/14) - -#### [3.2.3](https://github.com/eea/volto-accordion-block/compare/3.2.2...3.2.3) - -> 27 May 2021 - -- Cypress coverage [`#13`](https://github.com/eea/volto-accordion-block/pull/13) - -#### [3.2.2](https://github.com/eea/volto-accordion-block/compare/3.2.1...3.2.2) - -> 13 May 2021 - -- Add Makefile in order to easily test this addon [`baa1ea1`](https://github.com/eea/volto-accordion-block/commit/baa1ea1abc0245d688adee69f6dbbb4a7bfbf687) - -#### [3.2.1](https://github.com/eea/volto-accordion-block/compare/3.2.0...3.2.1) - -> 7 April 2021 - -- Release 3.2.1 [`5d37311`](https://github.com/eea/volto-accordion-block/commit/5d373114bee9306469424c1103632baeeb664a47) -- Revert "commented the use of duplicate useEffect" [`aafa69c`](https://github.com/eea/volto-accordion-block/commit/aafa69c28e9cdd54e80bb1f60691ea51066eaaf7) - -#### [3.2.0](https://github.com/eea/volto-accordion-block/compare/3.1.0...3.2.0) - -> 7 April 2021 - -- Release 3.2.0 [`715f6a4`](https://github.com/eea/volto-accordion-block/commit/715f6a4c3bea65e0a7f9efda1c16bc62fcd6d3ea) -- Add support for onInsertBlock with BlockChooser [`0e37fb3`](https://github.com/eea/volto-accordion-block/commit/0e37fb3542be53806017d0611c9239e5cdf94193) -- Revert "Add support for newId returned by onMutateBlock" [`e7d8824`](https://github.com/eea/volto-accordion-block/commit/e7d882455d4478ea8aec952b54b572ae4aca5458) -- commented the use of duplicate useEffect [`f771fb8`](https://github.com/eea/volto-accordion-block/commit/f771fb8701ad58b6fcca785c7e4b042eec5e3b07) -- Save data for empty accordion on mount [`f80e728`](https://github.com/eea/volto-accordion-block/commit/f80e728e91ebe16c7ee6966d4b89e8d0fc986fd0) -- Replace group with accordion within class names [`8113731`](https://github.com/eea/volto-accordion-block/commit/8113731fbc770ec8b29346d9d2f97f0d067a6021) -- Add support for newId returned by onMutateBlock [`ffea93a`](https://github.com/eea/volto-accordion-block/commit/ffea93acae2e47c66ffff59d5e4cdc591e1b58b8) - -#### [3.1.0](https://github.com/eea/volto-accordion-block/compare/3.0.0...3.1.0) - -> 5 April 2021 - -- Release 3.1.0 [`ecf79dc`](https://github.com/eea/volto-accordion-block/commit/ecf79dc6f34346c26f11676765b4c3ba2d4dc427) -- Update docs [`475ec25`](https://github.com/eea/volto-accordion-block/commit/475ec251601941a2e0364563408d54fa6e88172a) -- Align accordion style/settings/buttons to Volto Group block [`334ecb4`](https://github.com/eea/volto-accordion-block/commit/334ecb493379d16c7b4c0afef74580c38e897277) -- Add fixedLayout settings [`b874b69`](https://github.com/eea/volto-accordion-block/commit/b874b69c8a48e7e0002f2c68a1ab51d5abb5ff2d) - -### [3.0.0](https://github.com/eea/volto-accordion-block/compare/2.1.0...3.0.0) - -> 8 March 2021 - -- use BlocksFrom from volto-core [`#11`](https://github.com/eea/volto-accordion-block/pull/11) -- Release 3.0.0 [`77f096b`](https://github.com/eea/volto-accordion-block/commit/77f096b09660def2fa00ec264c19a93ed4689de5) - -#### [2.1.0](https://github.com/eea/volto-accordion-block/compare/2.0.2...2.1.0) - -> 28 February 2021 - -- Release 2.1.0 [`3621835`](https://github.com/eea/volto-accordion-block/commit/362183567df9266604361bc88854e00137d7c5f2) -- Upgrade dependencies to 2.0.0 [`b11eafe`](https://github.com/eea/volto-accordion-block/commit/b11eafe4fe3b9d953a20e19a432d7a633e95f5db) - -#### [2.0.2](https://github.com/eea/volto-accordion-block/compare/2.0.1...2.0.2) - -> 28 December 2020 - -- cypress: accordion title and content [`#10`](https://github.com/eea/volto-accordion-block/pull/10) -- Release 2.0.2 [`7ddbf43`](https://github.com/eea/volto-accordion-block/commit/7ddbf438d0dc22b552898795577629dfb3d5bc18) -- fix tests [`08f088b`](https://github.com/eea/volto-accordion-block/commit/08f088bf57287de7f2af29979bfbb5a1f4f189d9) -- work only with CI [`33aa0be`](https://github.com/eea/volto-accordion-block/commit/33aa0beeba373f1a2436c43fd17a2cc53d1a8c65) -- WIP [`90971cf`](https://github.com/eea/volto-accordion-block/commit/90971cf6b0e9605810f7750de3890ad1193dae28) -- WIP [`cdfb382`](https://github.com/eea/volto-accordion-block/commit/cdfb382c066ced5e8fff076c654708d8423c9f46) -- WIP [`67ebb67`](https://github.com/eea/volto-accordion-block/commit/67ebb6718c63e2ed96fbe2c95e62615e37d8d54d) -- remove slate dependency, add conditional [`3d72f97`](https://github.com/eea/volto-accordion-block/commit/3d72f974f0b8131de672c3e83ea8007b98ed3070) -- fix tests [`0027e44`](https://github.com/eea/volto-accordion-block/commit/0027e44223c8ac4e989870b3f4e7913d6d302ba1) -- WIP [`b04c587`](https://github.com/eea/volto-accordion-block/commit/b04c5877bea18851aefb424ac3005aef05127007) -- reorder tests [`83df043`](https://github.com/eea/volto-accordion-block/commit/83df043eeb49f98e1c2e8afe40d63424eacac4b5) -- WIP [`85551ed`](https://github.com/eea/volto-accordion-block/commit/85551ed25a6b5ff66a41991639fd3b35887b5dcd) -- use volto-slate in generated app [`bc1e3c7`](https://github.com/eea/volto-accordion-block/commit/bc1e3c781dc51a1449c7b97bb875e4d5aa08dff8) -- WIP [`cdb2b60`](https://github.com/eea/volto-accordion-block/commit/cdb2b604cad27cc9e5cc1a044ad973491b89f6c2) -- WIP [`64868c9`](https://github.com/eea/volto-accordion-block/commit/64868c9e88586d3877a6509d83801322d07c56ea) -- fix cypress [`7f6788a`](https://github.com/eea/volto-accordion-block/commit/7f6788a5d7372e3de4cd97b3343ea60c937870e6) -- add cypress tests for accordion content [`4e589fe`](https://github.com/eea/volto-accordion-block/commit/4e589fe7dffd153418acafea2a8858d1b00acf7a) -- Update README.md [`b6401b3`](https://github.com/eea/volto-accordion-block/commit/b6401b3b44230845424fac3feda41826356c6231) - -#### [2.0.1](https://github.com/eea/volto-accordion-block/compare/2.0.0...2.0.1) - -> 2 December 2020 - -- accordion settings, non-exclusive, collapse by default [`#9`](https://github.com/eea/volto-accordion-block/pull/9) -- Release 2.0.1 [`207f0ed`](https://github.com/eea/volto-accordion-block/commit/207f0ed6bd6598490b98113bd9b275a8d93e944a) -- adapt to exclusive accordion configs in edit [`61500c0`](https://github.com/eea/volto-accordion-block/commit/61500c08ae7155904ae4d4fcaa6c3b2df3afdc3d) -- option to enable non exclusive panels [`c4cc4a7`](https://github.com/eea/volto-accordion-block/commit/c4cc4a72c1c0d6b8d9d8025137d92062ced87223) -- conventions [`a0f2396`](https://github.com/eea/volto-accordion-block/commit/a0f2396b65e02edaf3ceb4f06d6909df3f32c3b6) -- handle collapse in accordion [`1eb564a`](https://github.com/eea/volto-accordion-block/commit/1eb564ae082c3404afa7e14844c19aa7983031e2) - -### [2.0.0](https://github.com/eea/volto-accordion-block/compare/1.0.0...2.0.0) - -> 27 November 2020 - -- retain one child block after delete [`#8`](https://github.com/eea/volto-accordion-block/pull/8) -- style accordion panel ( background color, title size) and editing panels [`#7`](https://github.com/eea/volto-accordion-block/pull/7) -- edit parent accordion section [`#6`](https://github.com/eea/volto-accordion-block/pull/6) -- Release 2.0.0 [`d3b4143`](https://github.com/eea/volto-accordion-block/commit/d3b414373e0ad0dbfa3f633d6573f13a479e4708) -- Fix heading sizes; Add more cypress tests [`e1430f4`](https://github.com/eea/volto-accordion-block/commit/e1430f4db5d47b0f31ce9ff730494da66d18bc22) -- remove optional chaining in blockProps [`39741af`](https://github.com/eea/volto-accordion-block/commit/39741aff08a0f551ce10aae68e96dcb22bc61865) -- Add support DX Layout [`ab50789`](https://github.com/eea/volto-accordion-block/commit/ab50789964e15240061044e0458f269341e58a3f) -- Remove unusied EditBlockWrapper, rename column to panel [`793055b`](https://github.com/eea/volto-accordion-block/commit/793055b5499a7577dea77492a9f512fe7db1da08) -- Cleanup unused icons and panels [`2556218`](https://github.com/eea/volto-accordion-block/commit/25562182acff7b3ced29c9371e5f5adaa10b8504) -- Fix column title [`d190c26`](https://github.com/eea/volto-accordion-block/commit/d190c267bd54bdc1125804131af4fee3fbe55088) -- Cleanup HTML and fix accordion heading [`57bd046`](https://github.com/eea/volto-accordion-block/commit/57bd04664480baca39c89b146e893322cce80878) -- move title to one level up in the panel layout [`0eb32d3`](https://github.com/eea/volto-accordion-block/commit/0eb32d3e93e087fe9f7084e7905c46ef50739a79) -- Render non empty panels in View [`7dca60c`](https://github.com/eea/volto-accordion-block/commit/7dca60c28b548e796b624d506e8dac88ea23bb8b) -- Better heading component [`8389892`](https://github.com/eea/volto-accordion-block/commit/838989200cfe2b007309960d0c99a0df3bdbfaf4) -- Cleanup and headings for Accordion titles [`144c667`](https://github.com/eea/volto-accordion-block/commit/144c66760fc92193b74673216434a02ea40d2117) -- use h2-h6 font sizes in accordion title [`0e5845d`](https://github.com/eea/volto-accordion-block/commit/0e5845dc860cd47763e48777adb49d9e38f87428) -- rotate right accordion arrow [`7f13476`](https://github.com/eea/volto-accordion-block/commit/7f134760ee970792a2be0a716c7f4851dc5b7f0f) -- move accordion title in blocks_layout [`421845d`](https://github.com/eea/volto-accordion-block/commit/421845d98ecebe0880806ebdf0d92285ef90d860) -- combined settings in parent accordion block [`2d5fa42`](https://github.com/eea/volto-accordion-block/commit/2d5fa42d84540c7d351d39aa43acc2c2dd14b29d) -- remove colorPicker Widget [`61c0a12`](https://github.com/eea/volto-accordion-block/commit/61c0a12fbde7e507e5ec04562a305df04d42bead) -- decorate, stlying edit,View [`dc521e5`](https://github.com/eea/volto-accordion-block/commit/dc521e54cc06c7782c6b1921c7df3a3fc114bcec) -- style: panel title font size [`ba33d9a`](https://github.com/eea/volto-accordion-block/commit/ba33d9ad87271c9aad36ff92945fce58d2e86378) -- styles: background color in panels [`22995fd`](https://github.com/eea/volto-accordion-block/commit/22995fdcb6b8d14aec119baf5f7743349aaaa2a2) -- Restructure add-on [`0fd79ed`](https://github.com/eea/volto-accordion-block/commit/0fd79edfa170a97c50ecfc5bbb3c13538c4c7de7) -- fix z-index of block-toolbar [`5adb193`](https://github.com/eea/volto-accordion-block/commit/5adb193ffa689e85bc958c5c3da6f8baa5a6d700) -- prevent deleting first accordion block child [`f99fd66`](https://github.com/eea/volto-accordion-block/commit/f99fd66fe63bf2f28fe0b8e8ebabee6f9244caa1) -- add new icons for panel chooser [`3ee30e0`](https://github.com/eea/volto-accordion-block/commit/3ee30e0c87b9127584d7d5ffd171d33b9be14a27) - -### [1.0.0](https://github.com/eea/volto-accordion-block/compare/0.1.0...1.0.0) - -> 17 November 2020 - -- add panels via sidebar [`#3`](https://github.com/eea/volto-accordion-block/pull/3) -- Accordion title using semantic ui Input [`#5`](https://github.com/eea/volto-accordion-block/pull/5) -- Release 1.0.0 [`80d83c1`](https://github.com/eea/volto-accordion-block/commit/80d83c1369cea5cff33c5a51a783b3f0d4a4e96f) -- Update package metadata [`602e871`](https://github.com/eea/volto-accordion-block/commit/602e871ab4b4cc5113fd927aee566722c6e0dddf) -- fix tests: stylelint [`d2ade30`](https://github.com/eea/volto-accordion-block/commit/d2ade3021d298d8dbdf4f087fdf0bc9b5bf72953) -- fix tests: stylelint [`00f503e`](https://github.com/eea/volto-accordion-block/commit/00f503e72429fc6aaa9385fb1a5fea50a0e58573) -- fix tests: remove unsued vars [`5257193`](https://github.com/eea/volto-accordion-block/commit/52571931ab7b7591de22ba9c08efda14b8dd50ff) -- remove unused vars [`5e2c1e9`](https://github.com/eea/volto-accordion-block/commit/5e2c1e990f5ccf9b81f123ff18cacc7769ac696c) -- accordion title, via Input (semantic ui) [`0b2aef7`](https://github.com/eea/volto-accordion-block/commit/0b2aef76dd828ef2e0fc5061023a259d6279c11c) -- add accordion title as a slate editor [`38e841d`](https://github.com/eea/volto-accordion-block/commit/38e841d9a1a2d1d6a9d657ed6d611220615cbd40) -- make title editable [`e3233b0`](https://github.com/eea/volto-accordion-block/commit/e3233b00f3e0e1b0ef240a035d4aca7384a23b3c) - -#### 0.1.0 - -> 9 November 2020 - -- Accordion in edit group block [`#1`](https://github.com/eea/volto-accordion-block/pull/1) -- Add initial panels [`#2`](https://github.com/eea/volto-accordion-block/pull/2) -- Release 0.1.0 [`cd65e3b`](https://github.com/eea/volto-accordion-block/commit/cd65e3bf71fc3cfdf9c9599537f9338b1177568c) -- Prepare new release 0.1.0 [`e154f45`](https://github.com/eea/volto-accordion-block/commit/e154f45b6757a20e040b467275496a2ef08f1a59) -- Prepare new release [`fca4d50`](https://github.com/eea/volto-accordion-block/commit/fca4d5079ae9120392b9cbacb0eaca6b7ed20563) -- sidebar in accordion, add columns [`39e00e9`](https://github.com/eea/volto-accordion-block/commit/39e00e9e928f276d7b9e9fe8c5f5c9ffcabd5bf3) -- add condtional for columns block [`72d849d`](https://github.com/eea/volto-accordion-block/commit/72d849dc5657533bb478d6082f9f5ca9cd5ab1ba) -- do not render empty accordion on View, unless it have single content [`eca7c7e`](https://github.com/eea/volto-accordion-block/commit/eca7c7e1079ce2ebf8bbf4c3ce3397413ad3ea52) -- Accordion panels in View, onPressEnter add child blocks inside accordion [`21fd274`](https://github.com/eea/volto-accordion-block/commit/21fd274b963705d9c496b1991fa0ef7874047bc3) -- add-panels chooser in intial render [`7f745c3`](https://github.com/eea/volto-accordion-block/commit/7f745c3572ab6614b07b85ddfc3c86d1570f9195) -- Add accordion in View [`14f9c78`](https://github.com/eea/volto-accordion-block/commit/14f9c78c3ceae7095a938548a037746187ead8a1) -- nested text block within accordion, styling [`c6001e5`](https://github.com/eea/volto-accordion-block/commit/c6001e5ab52a1b520cf63edea5fcb55dbfab82e1) -- polishing [`43d6773`](https://github.com/eea/volto-accordion-block/commit/43d67731f60c03107a7901408a01fb705ad21b7d) -- remove onChange handler [`ae2c2b7`](https://github.com/eea/volto-accordion-block/commit/ae2c2b7ffa434537fe2c3078ef847b7ce301def8) -- text block inside accordion [`4198448`](https://github.com/eea/volto-accordion-block/commit/4198448a1cc02aa13ed5d9efeeb5880e6ae5fbdd) -- accordion in edit group block [`df5678f`](https://github.com/eea/volto-accordion-block/commit/df5678f07e1ed9abfa564df41cac2db4166bbb3f) -- base accordion block [`467b944`](https://github.com/eea/volto-accordion-block/commit/467b9443b45a56648aeaa4e7fd559ec4684ece2d) -- develop: docs [`b036a52`](https://github.com/eea/volto-accordion-block/commit/b036a526df0b16f2ae65bc39e879dca0b544b9cd) -- readme: accordion block content [`5d0aea5`](https://github.com/eea/volto-accordion-block/commit/5d0aea58f154259175ba9cce041a622af7391e46) -- Initial commit [`6b0ba4b`](https://github.com/eea/volto-accordion-block/commit/6b0ba4ba0f37bca79d864815656a52d9f001cf9d) +- Release 3.0.0 [Alin Voinea - [`77f096b`](https://github.com/eea/volto-accordion-block/commit/77f096b09660def2fa00ec264c19a93ed4689de5)] +- Cleanup Jenkinsfile DEPENDENCIES [Alin Voinea - [`a3b3ef8`](https://github.com/eea/volto-accordion-block/commit/a3b3ef8c4d4bba72aa0796e1173feec1407d5dae)] +### [2.1.0](https://github.com/eea/volto-accordion-block/compare/2.0.2...2.1.0) - 28 February 2021 + +#### :hammer_and_wrench: Others + +- Release 2.1.0 [Alin Voinea - [`3621835`](https://github.com/eea/volto-accordion-block/commit/362183567df9266604361bc88854e00137d7c5f2)] +- Upgrade dependencies to 2.0.0 [Alin Voinea - [`b11eafe`](https://github.com/eea/volto-accordion-block/commit/b11eafe4fe3b9d953a20e19a432d7a633e95f5db)] +- Upgrade Jenkins pipeline to use plone/volto-addon-ci [Alin Voinea - [`a3fac68`](https://github.com/eea/volto-accordion-block/commit/a3fac684288100e2a1b3f08a0bac2f45a001bf8b)] +### [2.0.2](https://github.com/eea/volto-accordion-block/compare/2.0.1...2.0.2) - 28 December 2020 + +#### :hammer_and_wrench: Others + +- Release 2.0.2 [Alin Voinea - [`7ddbf43`](https://github.com/eea/volto-accordion-block/commit/7ddbf438d0dc22b552898795577629dfb3d5bc18)] +- fix tests [nileshgulia1 - [`08f088b`](https://github.com/eea/volto-accordion-block/commit/08f088bf57287de7f2af29979bfbb5a1f4f189d9)] +- work only with CI [nileshgulia1 - [`33aa0be`](https://github.com/eea/volto-accordion-block/commit/33aa0beeba373f1a2436c43fd17a2cc53d1a8c65)] +- WIP [nileshgulia1 - [`90971cf`](https://github.com/eea/volto-accordion-block/commit/90971cf6b0e9605810f7750de3890ad1193dae28)] +- WIP [nileshgulia1 - [`cdfb382`](https://github.com/eea/volto-accordion-block/commit/cdfb382c066ced5e8fff076c654708d8423c9f46)] +- WIP [nileshgulia1 - [`67ebb67`](https://github.com/eea/volto-accordion-block/commit/67ebb6718c63e2ed96fbe2c95e62615e37d8d54d)] +- remove slate dependency, add conditional [nileshgulia1 - [`3d72f97`](https://github.com/eea/volto-accordion-block/commit/3d72f974f0b8131de672c3e83ea8007b98ed3070)] +- fix tests [nileshgulia1 - [`0027e44`](https://github.com/eea/volto-accordion-block/commit/0027e44223c8ac4e989870b3f4e7913d6d302ba1)] +- WIP [nileshgulia1 - [`b04c587`](https://github.com/eea/volto-accordion-block/commit/b04c5877bea18851aefb424ac3005aef05127007)] +- reorder tests [nileshgulia1 - [`83df043`](https://github.com/eea/volto-accordion-block/commit/83df043eeb49f98e1c2e8afe40d63424eacac4b5)] +- WIP [nileshgulia1 - [`85551ed`](https://github.com/eea/volto-accordion-block/commit/85551ed25a6b5ff66a41991639fd3b35887b5dcd)] +- use volto-slate in generated app [nileshgulia1 - [`bc1e3c7`](https://github.com/eea/volto-accordion-block/commit/bc1e3c781dc51a1449c7b97bb875e4d5aa08dff8)] +- WIP [nileshgulia1 - [`cdb2b60`](https://github.com/eea/volto-accordion-block/commit/cdb2b604cad27cc9e5cc1a044ad973491b89f6c2)] +- WIP [nileshgulia1 - [`64868c9`](https://github.com/eea/volto-accordion-block/commit/64868c9e88586d3877a6509d83801322d07c56ea)] +- fix cypress [nileshgulia1 - [`7f6788a`](https://github.com/eea/volto-accordion-block/commit/7f6788a5d7372e3de4cd97b3343ea60c937870e6)] +- add cypress tests for accordion content [nileshgulia1 - [`4e589fe`](https://github.com/eea/volto-accordion-block/commit/4e589fe7dffd153418acafea2a8858d1b00acf7a)] +- Update README.md [Nilesh - [`b6401b3`](https://github.com/eea/volto-accordion-block/commit/b6401b3b44230845424fac3feda41826356c6231)] +### [2.0.1](https://github.com/eea/volto-accordion-block/compare/2.0.0...2.0.1) - 2 December 2020 + +#### :hammer_and_wrench: Others + +- Release 2.0.1 [Alin Voinea - [`207f0ed`](https://github.com/eea/volto-accordion-block/commit/207f0ed6bd6598490b98113bd9b275a8d93e944a)] +- adapt to exclusive accordion configs in edit [nileshgulia1 - [`61500c0`](https://github.com/eea/volto-accordion-block/commit/61500c08ae7155904ae4d4fcaa6c3b2df3afdc3d)] +- option to enable non exclusive panels [nileshgulia1 - [`c4cc4a7`](https://github.com/eea/volto-accordion-block/commit/c4cc4a72c1c0d6b8d9d8025137d92062ced87223)] +- conventions [nileshgulia1 - [`a0f2396`](https://github.com/eea/volto-accordion-block/commit/a0f2396b65e02edaf3ceb4f06d6909df3f32c3b6)] +- handle collapse in accordion [nileshgulia1 - [`1eb564a`](https://github.com/eea/volto-accordion-block/commit/1eb564ae082c3404afa7e14844c19aa7983031e2)] +## [2.0.0](https://github.com/eea/volto-accordion-block/compare/1.0.0...2.0.0) - 27 November 2020 + +#### :house: Internal changes + +- style: panel title font size [nileshgulia1 - [`ba33d9a`](https://github.com/eea/volto-accordion-block/commit/ba33d9ad87271c9aad36ff92945fce58d2e86378)] + +#### :hammer_and_wrench: Others + +- Release 2.0.0 [Alin Voinea - [`d3b4143`](https://github.com/eea/volto-accordion-block/commit/d3b414373e0ad0dbfa3f633d6573f13a479e4708)] +- Fix heading sizes; Add more cypress tests [Alin Voinea - [`e1430f4`](https://github.com/eea/volto-accordion-block/commit/e1430f4db5d47b0f31ce9ff730494da66d18bc22)] +- remove optional chaining in blockProps [nileshgulia1 - [`39741af`](https://github.com/eea/volto-accordion-block/commit/39741aff08a0f551ce10aae68e96dcb22bc61865)] +- JENKINS: fix missing deps [nileshgulia1 - [`fd18f3a`](https://github.com/eea/volto-accordion-block/commit/fd18f3afc6245cf2f218ec76077cf0814254e67f)] +- JENKINS: replace duplicate values with predefined vars [nileshgulia1 - [`3630a04`](https://github.com/eea/volto-accordion-block/commit/3630a044de5781161133b60e5165a6b05397a8bb)] +- JENKINS: fix useEffect deps [nileshgulia1 - [`b7f81f0`](https://github.com/eea/volto-accordion-block/commit/b7f81f060496238a0e018dd7aba40a18aa5478b6)] +- JENKINS: fix useEffect deps [nileshgulia1 - [`c032943`](https://github.com/eea/volto-accordion-block/commit/c03294383a7e9863c8846f45b20fb51081de119b)] +- fix jenkins [nileshgulia1 - [`8a7ec73`](https://github.com/eea/volto-accordion-block/commit/8a7ec737be1cec1559bc9dc206147f41c7fb1986)] +- Add support DX Layout [Alin Voinea - [`ab50789`](https://github.com/eea/volto-accordion-block/commit/ab50789964e15240061044e0458f269341e58a3f)] +- Remove unusied EditBlockWrapper, rename column to panel [Alin Voinea - [`793055b`](https://github.com/eea/volto-accordion-block/commit/793055b5499a7577dea77492a9f512fe7db1da08)] +- Cleanup unused icons and panels [Alin Voinea - [`2556218`](https://github.com/eea/volto-accordion-block/commit/25562182acff7b3ced29c9371e5f5adaa10b8504)] +- Fix column title [Alin Voinea - [`d190c26`](https://github.com/eea/volto-accordion-block/commit/d190c267bd54bdc1125804131af4fee3fbe55088)] +- Cleanup HTML and fix accordion heading [Alin Voinea - [`57bd046`](https://github.com/eea/volto-accordion-block/commit/57bd04664480baca39c89b146e893322cce80878)] +- move title to one level up in the panel layout [nileshgulia1 - [`0eb32d3`](https://github.com/eea/volto-accordion-block/commit/0eb32d3e93e087fe9f7084e7905c46ef50739a79)] +- Render non empty panels in View [nileshgulia1 - [`7dca60c`](https://github.com/eea/volto-accordion-block/commit/7dca60c28b548e796b624d506e8dac88ea23bb8b)] +- Better heading component [Alin Voinea - [`8389892`](https://github.com/eea/volto-accordion-block/commit/838989200cfe2b007309960d0c99a0df3bdbfaf4)] +- Cleanup and headings for Accordion titles [Alin Voinea - [`144c667`](https://github.com/eea/volto-accordion-block/commit/144c66760fc92193b74673216434a02ea40d2117)] +- use h2-h6 font sizes in accordion title [nileshgulia1 - [`0e5845d`](https://github.com/eea/volto-accordion-block/commit/0e5845dc860cd47763e48777adb49d9e38f87428)] +- rotate right accordion arrow [nileshgulia1 - [`7f13476`](https://github.com/eea/volto-accordion-block/commit/7f134760ee970792a2be0a716c7f4851dc5b7f0f)] +- move accordion title in blocks_layout [nileshgulia1 - [`421845d`](https://github.com/eea/volto-accordion-block/commit/421845d98ecebe0880806ebdf0d92285ef90d860)] +- combined settings in parent accordion block [nileshgulia1 - [`2d5fa42`](https://github.com/eea/volto-accordion-block/commit/2d5fa42d84540c7d351d39aa43acc2c2dd14b29d)] +- remove colorPicker Widget [nileshgulia1 - [`61c0a12`](https://github.com/eea/volto-accordion-block/commit/61c0a12fbde7e507e5ec04562a305df04d42bead)] +- decorate, stlying edit,View [nileshgulia1 - [`dc521e5`](https://github.com/eea/volto-accordion-block/commit/dc521e54cc06c7782c6b1921c7df3a3fc114bcec)] +- styles: background color in panels [nileshgulia1 - [`22995fd`](https://github.com/eea/volto-accordion-block/commit/22995fdcb6b8d14aec119baf5f7743349aaaa2a2)] +- Restructure add-on [Alin Voinea - [`0fd79ed`](https://github.com/eea/volto-accordion-block/commit/0fd79edfa170a97c50ecfc5bbb3c13538c4c7de7)] +- fix z-index of block-toolbar [nileshgulia1 - [`5adb193`](https://github.com/eea/volto-accordion-block/commit/5adb193ffa689e85bc958c5c3da6f8baa5a6d700)] +- fix console warnings and jenkins [nileshgulia1 - [`f0b68f9`](https://github.com/eea/volto-accordion-block/commit/f0b68f96311dad690b5ea461ef00fae74f92e4e3)] +- prevent deleting first accordion block child [nileshgulia1 - [`f99fd66`](https://github.com/eea/volto-accordion-block/commit/f99fd66fe63bf2f28fe0b8e8ebabee6f9244caa1)] +- add new icons for panel chooser [nileshgulia1 - [`3ee30e0`](https://github.com/eea/volto-accordion-block/commit/3ee30e0c87b9127584d7d5ffd171d33b9be14a27)] +## [1.0.0](https://github.com/eea/volto-accordion-block/compare/0.1.0...1.0.0) - 17 November 2020 + +#### :hammer_and_wrench: Others + +- Release 1.0.0 [Alin Voinea - [`80d83c1`](https://github.com/eea/volto-accordion-block/commit/80d83c1369cea5cff33c5a51a783b3f0d4a4e96f)] +- Update package metadata [Alin Voinea - [`602e871`](https://github.com/eea/volto-accordion-block/commit/602e871ab4b4cc5113fd927aee566722c6e0dddf)] +- fix tests: stylelint [nileshgulia1 - [`d2ade30`](https://github.com/eea/volto-accordion-block/commit/d2ade3021d298d8dbdf4f087fdf0bc9b5bf72953)] +- fix tests: stylelint [nileshgulia1 - [`00f503e`](https://github.com/eea/volto-accordion-block/commit/00f503e72429fc6aaa9385fb1a5fea50a0e58573)] +- fix tests: remove unsued vars [nileshgulia1 - [`5257193`](https://github.com/eea/volto-accordion-block/commit/52571931ab7b7591de22ba9c08efda14b8dd50ff)] +- remove unused vars [nileshgulia1 - [`5e2c1e9`](https://github.com/eea/volto-accordion-block/commit/5e2c1e990f5ccf9b81f123ff18cacc7769ac696c)] +- accordion title, via Input (semantic ui) [nileshgulia1 - [`0b2aef7`](https://github.com/eea/volto-accordion-block/commit/0b2aef76dd828ef2e0fc5061023a259d6279c11c)] +- add accordion title as a slate editor [nileshgulia1 - [`38e841d`](https://github.com/eea/volto-accordion-block/commit/38e841d9a1a2d1d6a9d657ed6d611220615cbd40)] +- make title editable [nileshgulia1 - [`e3233b0`](https://github.com/eea/volto-accordion-block/commit/e3233b00f3e0e1b0ef240a035d4aca7384a23b3c)] +### 0.1.0 - 9 November 2020 + +#### :hammer_and_wrench: Others + +- Release 0.1.0 [Alin Voinea - [`cd65e3b`](https://github.com/eea/volto-accordion-block/commit/cd65e3bf71fc3cfdf9c9599537f9338b1177568c)] +- Prepare new release 0.1.0 [Alin Voinea - [`e154f45`](https://github.com/eea/volto-accordion-block/commit/e154f45b6757a20e040b467275496a2ef08f1a59)] +- Prepare new release [Alin Voinea - [`fca4d50`](https://github.com/eea/volto-accordion-block/commit/fca4d5079ae9120392b9cbacb0eaca6b7ed20563)] +- sidebar in accordion, add columns [nileshgulia1 - [`39e00e9`](https://github.com/eea/volto-accordion-block/commit/39e00e9e928f276d7b9e9fe8c5f5c9ffcabd5bf3)] +- add condtional for columns block [nileshgulia1 - [`72d849d`](https://github.com/eea/volto-accordion-block/commit/72d849dc5657533bb478d6082f9f5ca9cd5ab1ba)] +- do not render empty accordion on View, unless it have single content [nileshgulia1 - [`eca7c7e`](https://github.com/eea/volto-accordion-block/commit/eca7c7e1079ce2ebf8bbf4c3ce3397413ad3ea52)] +- Accordion panels in View, onPressEnter add child blocks inside accordion [nileshgulia1 - [`21fd274`](https://github.com/eea/volto-accordion-block/commit/21fd274b963705d9c496b1991fa0ef7874047bc3)] +- add-panels chooser in intial render [nileshgulia1 - [`7f745c3`](https://github.com/eea/volto-accordion-block/commit/7f745c3572ab6614b07b85ddfc3c86d1570f9195)] +- Add accordion in View [nileshgulia1 - [`14f9c78`](https://github.com/eea/volto-accordion-block/commit/14f9c78c3ceae7095a938548a037746187ead8a1)] +- nested text block within accordion, styling [nileshgulia1 - [`c6001e5`](https://github.com/eea/volto-accordion-block/commit/c6001e5ab52a1b520cf63edea5fcb55dbfab82e1)] +- polishing [nileshgulia1 - [`43d6773`](https://github.com/eea/volto-accordion-block/commit/43d67731f60c03107a7901408a01fb705ad21b7d)] +- remove onChange handler [nileshgulia1 - [`ae2c2b7`](https://github.com/eea/volto-accordion-block/commit/ae2c2b7ffa434537fe2c3078ef847b7ce301def8)] +- text block inside accordion [nileshgulia1 - [`4198448`](https://github.com/eea/volto-accordion-block/commit/4198448a1cc02aa13ed5d9efeeb5880e6ae5fbdd)] +- accordion in edit group block [nileshgulia1 - [`df5678f`](https://github.com/eea/volto-accordion-block/commit/df5678f07e1ed9abfa564df41cac2db4166bbb3f)] +- base accordion block [nileshgulia1 - [`467b944`](https://github.com/eea/volto-accordion-block/commit/467b9443b45a56648aeaa4e7fd559ec4684ece2d)] +- develop: docs [Nilesh - [`b036a52`](https://github.com/eea/volto-accordion-block/commit/b036a526df0b16f2ae65bc39e879dca0b544b9cd)] +- readme: accordion block content [Nilesh - [`5d0aea5`](https://github.com/eea/volto-accordion-block/commit/5d0aea58f154259175ba9cce041a622af7391e46)] +- Initial commit [Nilesh - [`6b0ba4b`](https://github.com/eea/volto-accordion-block/commit/6b0ba4ba0f37bca79d864815656a52d9f001cf9d)] diff --git a/Jenkinsfile b/Jenkinsfile index 2740be2..76d1c84 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,9 +4,9 @@ pipeline { environment { GIT_NAME = "volto-accordion-block" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,forest.eea.europa.eu,www.eea.europa.eu-ims,climate-energy.eea.europa.eu,sustainability.eionet.europa.eu,biodiversity.europa.eu,clms.land.copernicus.eu,industry.eea.europa.eu,water.europa.eu-freshwater,demo-www.eea.europa.eu,clmsdemo.devel6cph.eea.europa.eu,circularity.eea.europa.eu" + SONARQUBE_TAGS = "volto.eea.europa.eu,forest.eea.europa.eu,www.eea.europa.eu-ims,climate-energy.eea.europa.eu,sustainability.eionet.europa.eu,biodiversity.europa.eu,clms.land.copernicus.eu,industry.eea.europa.eu,water.europa.eu-freshwater,demo-www.eea.europa.eu,clmsdemo.devel6cph.eea.europa.eu,circularity.eea.europa.eu,prod-www.eea.europa.eu" DEPENDENCIES = "" - VOLTO = "alpha" + VOLTO = "16.0.0-alpha.14" } stages { diff --git a/jest-addon.config.js b/jest-addon.config.js index 7c15499..6135d92 100644 --- a/jest-addon.config.js +++ b/jest-addon.config.js @@ -11,7 +11,8 @@ module.exports = { '@package/(.*)$': '/src/$1', '@plone/volto-quanta/(.*)$': '/src/addons/volto-quanta/src/$1', '@eeacms/(.*?)/(.*)$': '/src/addons/$1/src/$2', - 'volto-slate/(.*)$': '/src/addons/volto-slate/src/$1', + '@plone/volto-slate': + '/node_modules/@plone/volto/packages/volto-slate/src', '~/(.*)$': '/src/$1', 'load-volto-addons': '/node_modules/@plone/volto/jest-addons-loader.js', diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index e7f4f39..91e499e 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -17,53 +17,91 @@ msgstr "" "X-Is-Fallback-For: de-at de-li de-lu de-ch de-de\n" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion msgid "Accordion" msgstr "Akkordeon" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion Title size msgid "Accordion Title size" msgstr "Akkordeon Schriftgröße Titel" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion theme +msgid "Accordion theme" +msgstr "Akkordeon-Thema" + #: components/manage/Widgets/PanelsWidget +# defaultMessage: Add msgid "Add" -msgstr "" +msgstr "Hinzufügen" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Allow multiple panels open at a time msgid "Allow multiple panels open at a time" msgstr "Erlaube mehrere Panele zur gleichen Zeit geöffnet zu haben" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "Eingeklappt ist der Standard" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Friendly name msgid "Friendly name" msgstr "Kurzname" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Non exclusive msgid "Non exclusive" msgstr "Nicht ausschließend" #: components/manage/Blocks/Accordion/Schema -msgid "Style" -msgstr "Aussehen" +# defaultMessage: Options +msgid "Options" +msgstr "Optionen" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Primary +msgid "Primary" +msgstr "Primär" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Secondary +msgid "Secondary" +msgstr "Sekundär" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Tertiary +msgid "Tertiary" +msgstr "Tertiär" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Theme +msgid "Theme" +msgstr "Thema" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title msgid "Title" msgstr "Titel" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title Icon on the right msgid "Title Icon on the right" msgstr "Titel-Icon auf der rechten Seite anzeigen" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title size msgid "Title size" msgstr "Schriftgröße Titel" #: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Unknown Block {block} msgid "Unknown Block" msgstr "Unbekannter Block" #: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: delete msgid "delete" msgstr "löschen" diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index 35c5cf6..4703b7d 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -17,53 +17,91 @@ msgstr "" "X-Is-Fallback-For: it it-CH it-IT\n" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion msgid "Accordion" msgstr "Accordion" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion Title size msgid "Accordion Title size" msgstr "Dimensione del titolo" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion theme +msgid "Accordion theme" +msgstr "Tema della accordion" + #: components/manage/Widgets/PanelsWidget +# defaultMessage: Add msgid "Add" msgstr "Aggiungi" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Allow multiple panels open at a time msgid "Allow multiple panels open at a time" msgstr "Consente di avere più pannelli aperti contemporaneamente" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Collapsed by default msgid "Collapsed by default" msgstr "Collassati di default" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Friendly name msgid "Friendly name" msgstr "Titolo dell'elemento" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Non exclusive msgid "Non exclusive" msgstr "Non esclusivo" #: components/manage/Blocks/Accordion/Schema -msgid "Style" -msgstr "Stile" +# defaultMessage: Options +msgid "Options" +msgstr "Opzioni" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Primary +msgid "Primary" +msgstr "Primario" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Secondary +msgid "Secondary" +msgstr "Secondario" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Tertiary +msgid "Tertiary" +msgstr "Terziario" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Theme +msgid "Theme" +msgstr "Tema" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title msgid "Title" msgstr "Titolo" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title Icon on the right msgid "Title Icon on the right" msgstr "Mostra l'icona sulla destra" #: components/manage/Blocks/Accordion/Schema +# defaultMessage: Title size msgid "Title size" msgstr "Dimensione del titolo" #: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: Unknown Block {block} msgid "Unknown Block" msgstr "Blocco sconosciuto" #: components/manage/Blocks/Accordion/EditBlockWrapper +# defaultMessage: delete msgid "delete" msgstr "Rimuovi" diff --git a/locales/volto.pot b/locales/volto.pot index 3df70d7..b782833 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2021-10-06T09:57:51.150Z\n" +"POT-Creation-Date: 2022-09-27T08:42:53.695Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -23,6 +23,11 @@ msgstr "" msgid "Accordion Title size" msgstr "" +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Accordion theme +msgid "Accordion theme" +msgstr "" + #: components/manage/Widgets/PanelsWidget # defaultMessage: Add msgid "Add" @@ -49,8 +54,28 @@ msgid "Non exclusive" msgstr "" #: components/manage/Blocks/Accordion/Schema -# defaultMessage: Style -msgid "Style" +# defaultMessage: Options +msgid "Options" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Primary +msgid "Primary" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Secondary +msgid "Secondary" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Tertiary +msgid "Tertiary" +msgstr "" + +#: components/manage/Blocks/Accordion/Schema +# defaultMessage: Theme +msgid "Theme" msgstr "" #: components/manage/Blocks/Accordion/Schema diff --git a/package.json b/package.json index 6e630d7..4cebc88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-accordion-block", - "version": "3.5.0", + "version": "4.0.0", "description": "volto-accordion-block: Volto accordion block", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/src/components/index.js b/src/components/index.js index 6e9c353..b8e3843 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -1,4 +1,5 @@ export AccordionLayoutSchema from '@eeacms/volto-accordion-block/components/manage/Blocks/Accordion/LayoutSchema'; +export { AccordionStylingSchema } from '@eeacms/volto-accordion-block/components/manage/Blocks/Accordion/Schema'; export AccordionBlockEdit from '@eeacms/volto-accordion-block/components/manage/Blocks/Accordion/Edit'; export AccordionBlockView from '@eeacms/volto-accordion-block/components/manage/Blocks/Accordion/View'; export PanelsWidget from '@eeacms/volto-accordion-block/components/manage/Widgets/PanelsWidget'; diff --git a/src/components/manage/Blocks/Accordion/AccordionEdit.jsx b/src/components/manage/Blocks/Accordion/AccordionEdit.jsx index e5ececf..67dde5f 100644 --- a/src/components/manage/Blocks/Accordion/AccordionEdit.jsx +++ b/src/components/manage/Blocks/Accordion/AccordionEdit.jsx @@ -47,7 +47,7 @@ export default (props) => { }, [data.collapsed]); return ( - + { * @returns {Object} defaultValues */ const setInitialData = () => { - const accordionSchema = applySchemaEnhancer(accordionBlockSchema({ intl })); + const accordionSchema = applySchemaEnhancer(AccordionBlockSchema({ intl })); const defaultValues = Object.keys(accordionSchema.properties).reduce( (accumulator, currentVal) => { return accordionSchema.properties[currentVal].default @@ -259,7 +259,7 @@ const Edit = (props) => { )} {!data?.readOnlySettings && ( { onChangeBlock(block, { diff --git a/src/components/manage/Blocks/Accordion/Schema.js b/src/components/manage/Blocks/Accordion/Schema.js index 0b926ca..6a9e627 100644 --- a/src/components/manage/Blocks/Accordion/Schema.js +++ b/src/components/manage/Blocks/Accordion/Schema.js @@ -5,9 +5,9 @@ const messages = defineMessages({ id: 'Accordion', defaultMessage: 'Accordion', }, - Style: { - id: 'Style', - defaultMessage: 'Style', + Options: { + id: 'Options', + defaultMessage: 'Options', }, Title: { id: 'Title', @@ -41,6 +41,26 @@ const messages = defineMessages({ id: 'Allow multiple panels open at a time', defaultMessage: 'Allow multiple panels open at a time', }, + Theme: { + id: 'Theme', + defaultMessage: 'Theme', + }, + ThemeHelp: { + id: 'Accordion theme', + defaultMessage: 'Accordion theme', + }, + ThemePrimary: { + id: 'Primary', + defaultMessage: 'Primary', + }, + ThemeSecondary: { + id: 'Secondary', + defaultMessage: 'Secondary', + }, + ThemeTertiary: { + id: 'Tertiary', + defaultMessage: 'Tertiary', + }, }); export const AccordionSchema = { @@ -60,7 +80,7 @@ export const AccordionSchema = { required: [], }; -export const accordionBlockSchema = ({ intl }) => ({ +export const AccordionBlockSchema = ({ intl }) => ({ title: 'Accordion block', fieldsets: [ { @@ -69,8 +89,8 @@ export const accordionBlockSchema = ({ intl }) => ({ fields: ['data'], }, { - id: 'style', - title: intl.formatMessage(messages.Style), + id: 'options', + title: intl.formatMessage(messages.Options), fields: [ 'title', 'title_size', @@ -123,3 +143,27 @@ export const accordionBlockSchema = ({ intl }) => ({ }, required: ['title'], }); + +export const AccordionStylingSchema = ({ intl }) => ({ + title: intl.formatMessage(messages.Accordion), + block: 'accordion', + fieldsets: [ + { + id: 'default', + title: 'Default', + fields: ['theme'], + }, + ], + properties: { + theme: { + title: intl.formatMessage(messages.Theme), + description: intl.formatMessage(messages.ThemeHelp), + choices: [ + ['primary', intl.formatMessage(messages.ThemePrimary)], + ['secondary', intl.formatMessage(messages.ThemeSecondary)], + ['tertiary', intl.formatMessage(messages.ThemeTertiary)], + ], + }, + }, + required: [], +}); diff --git a/src/components/manage/Blocks/Accordion/View.jsx b/src/components/manage/Blocks/Accordion/View.jsx index 51cccc5..75e2215 100644 --- a/src/components/manage/Blocks/Accordion/View.jsx +++ b/src/components/manage/Blocks/Accordion/View.jsx @@ -50,7 +50,13 @@ const View = (props) => {
{panels.map(([id, panel], index) => { return accordionBlockHasValue(panel) ? ( - + { blockHasOwnFocusManagement: true, sidebarTab: 1, schema: extendedSchema(config), + stylesSchema: AccordionStylingSchema, + enableStyling: true, security: { addPermission: [], view: [],