@eeacms/volto-accordion-block
Advanced tools
Comparing version 3.4.4 to 3.4.5
@@ -7,6 +7,14 @@ ### Changelog | ||
#### [3.4.5](https://github.com/eea/volto-accordion-block/compare/3.4.4...3.4.5) | ||
- 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.4](https://github.com/eea/volto-accordion-block/compare/3.4.3...3.4.4) | ||
> 23 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) | ||
- Add Sonarqube tag using climate-energy-frontend addons list [`046f3aa`](https://github.com/eea/volto-accordion-block/commit/046f3aae09e1725d44bcdc371d07ed32e8309423) | ||
@@ -33,3 +41,2 @@ #### [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 [`5253b74`](https://github.com/eea/volto-accordion-block/commit/5253b74a52043a3ad7e2e813abaf2d27f0e83a7a) | ||
- Add Sonarqube tag using ims-frontend addons list [`1e4d3dc`](https://github.com/eea/volto-accordion-block/commit/1e4d3dc937bc63825bd1fc6156eca9b6d073a40b) | ||
@@ -58,3 +65,2 @@ #### [3.4.0](https://github.com/eea/volto-accordion-block/compare/3.3.1...3.4.0) | ||
- Release 3.3.0 [`2cbb1d5`](https://github.com/eea/volto-accordion-block/commit/2cbb1d53ce62b9cb42751c4c4997577ba4165649) | ||
- Add Sonarqube tag using forests-frontend addons list [`ab257ac`](https://github.com/eea/volto-accordion-block/commit/ab257acb0c2c8e38b906fcce8f6e148e4690d473) | ||
@@ -61,0 +67,0 @@ #### [3.2.4](https://github.com/eea/volto-accordion-block/compare/3.2.3...3.2.4) |
@@ -38,3 +38,3 @@ import { setupBeforeEach, tearDownAfterEach } from '../support'; | ||
// the cypress test is run without slate, but with draftjs | ||
cy.get('.accordion:nth-child(3) > .content:nth-child(2)') | ||
cy.get('.accordion:nth-child(3) .content') | ||
.first() | ||
@@ -41,0 +41,0 @@ .within(() => { |
{ | ||
"name": "@eeacms/volto-accordion-block", | ||
"version": "3.4.4", | ||
"version": "3.4.5", | ||
"description": "volto-accordion-block: Volto accordion block", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -97,11 +97,11 @@ import { Icon } from '@plone/volto/components'; | ||
</Accordion.Title> | ||
<Accordion.Content active={isExclusive(index)}> | ||
<AnimateHeight | ||
animateOpacity | ||
duration={500} | ||
height={isExclusive(index) ? 'auto' : 0} | ||
> | ||
<AnimateHeight | ||
animateOpacity | ||
duration={500} | ||
height={isExclusive(index) ? 'auto' : 0} | ||
> | ||
<Accordion.Content active={isExclusive(index)}> | ||
{children} | ||
</AnimateHeight> | ||
</Accordion.Content> | ||
</Accordion.Content> | ||
</AnimateHeight> | ||
</React.Fragment> | ||
@@ -108,0 +108,0 @@ </Accordion> |
@@ -83,8 +83,8 @@ import React from 'react'; | ||
</Accordion.Title> | ||
<Accordion.Content active={isExclusive(index)}> | ||
<AnimateHeight | ||
animateOpacity | ||
duration={500} | ||
height={isExclusive(index) ? 'auto' : 0} | ||
> | ||
<AnimateHeight | ||
animateOpacity | ||
duration={500} | ||
height={isExclusive(index) ? 'auto' : 0} | ||
> | ||
<Accordion.Content active={isExclusive(index)}> | ||
<RenderBlocks | ||
@@ -95,4 +95,4 @@ {...props} | ||
/> | ||
</AnimateHeight> | ||
</Accordion.Content> | ||
</Accordion.Content> | ||
</AnimateHeight> | ||
</React.Fragment> | ||
@@ -99,0 +99,0 @@ </Accordion> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105449