@eeacms/volto-accordion-block
Advanced tools
Comparing version 3.4.16 to 3.5.0
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [3.5.0](https://github.com/eea/volto-accordion-block/compare/3.4.16...3.5.0) | ||
- 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) | ||
#### [3.4.16](https://github.com/eea/volto-accordion-block/compare/3.4.15...3.4.16) | ||
> 17 May 2022 | ||
- 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) | ||
@@ -11,0 +19,0 @@ |
{ | ||
"baseUrl": "http://localhost:3000", | ||
"viewportWidth": 1280, | ||
"defaultCommandTimeout": 15000, | ||
"defaultCommandTimeout": 8888, | ||
"chromeWebSecurity": false, | ||
"reporter": "junit", | ||
"video": true, | ||
"retries": { | ||
"runMode": 8, | ||
"openMode": 0 | ||
}, | ||
"reporterOptions": { | ||
@@ -8,0 +13,0 @@ "mochaFile": "cypress/reports/cypress-[hash].xml", |
@@ -30,3 +30,3 @@ // *********************************************************** | ||
cy.createContent({ | ||
contentType: 'Folder', | ||
contentType: 'Document', | ||
contentId: 'cypress', | ||
@@ -33,0 +33,0 @@ contentTitle: 'Cypress', |
{ | ||
"name": "@eeacms/volto-accordion-block", | ||
"version": "3.4.16", | ||
"version": "3.5.0", | ||
"description": "volto-accordion-block: Volto accordion block", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -6,2 +6,3 @@ import React from 'react'; | ||
import { withBlockExtensions } from '@plone/volto/helpers'; | ||
import { useLocation } from 'react-router-dom'; | ||
@@ -16,2 +17,3 @@ import cx from 'classnames'; | ||
const { data } = props; | ||
const location = useLocation(); | ||
const panels = getPanels(data.data); | ||
@@ -96,2 +98,3 @@ const metadata = props.metadata || props.properties; | ||
{...props} | ||
location={location} | ||
metadata={metadata} | ||
@@ -98,0 +101,0 @@ content={panel} |
Sorry, the diff of this file is not supported yet
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
120208
1878