@eeacms/volto-accordion-block
Advanced tools
Comparing version 3.4.5 to 3.4.6
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [3.4.6](https://github.com/eea/volto-accordion-block/compare/3.4.5...3.4.6) | ||
- 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) | ||
#### [3.4.5](https://github.com/eea/volto-accordion-block/compare/3.4.4...3.4.5) | ||
> 29 September 2021 | ||
- 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) | ||
@@ -82,4 +90,2 @@ - fix cypress [`b93e174`](https://github.com/eea/volto-accordion-block/commit/b93e17424f0a178d80a10eef6dd86751dda6caef) | ||
- [JENKINS] - Auto-release pipeline [`#12`](https://github.com/eea/volto-accordion-block/pull/12) | ||
- [JENKINS] - Update cypress tests [`aedfb80`](https://github.com/eea/volto-accordion-block/commit/aedfb80a8fe8a275fba3617fe96e8c0c09914421) | ||
- Add Makefile in order to easily test this addon [`baa1ea1`](https://github.com/eea/volto-accordion-block/commit/baa1ea1abc0245d688adee69f6dbbb4a7bfbf687) | ||
@@ -102,3 +108,2 @@ | ||
- commented the use of duplicate useEffect [`f771fb8`](https://github.com/eea/volto-accordion-block/commit/f771fb8701ad58b6fcca785c7e4b042eec5e3b07) | ||
- [JENKINS] - Fix eslint [`426fdc6`](https://github.com/eea/volto-accordion-block/commit/426fdc6f77b21a65650b79e521e815670e080b5c) | ||
- Save data for empty accordion on mount [`f80e728`](https://github.com/eea/volto-accordion-block/commit/f80e728e91ebe16c7ee6966d4b89e8d0fc986fd0) | ||
@@ -123,4 +128,2 @@ - Replace group with accordion within class names [`8113731`](https://github.com/eea/volto-accordion-block/commit/8113731fbc770ec8b29346d9d2f97f0d067a6021) | ||
- Release 3.0.0 [`77f096b`](https://github.com/eea/volto-accordion-block/commit/77f096b09660def2fa00ec264c19a93ed4689de5) | ||
- [JENKINS] - Fix cypress for SelectWidget [`2e0a92b`](https://github.com/eea/volto-accordion-block/commit/2e0a92b204f46da4772acc4dbb6cc733bed57d62) | ||
- Cleanup Jenkinsfile DEPENDENCIES [`a3b3ef8`](https://github.com/eea/volto-accordion-block/commit/a3b3ef8c4d4bba72aa0796e1173feec1407d5dae) | ||
@@ -133,3 +136,2 @@ #### [2.1.0](https://github.com/eea/volto-accordion-block/compare/2.0.2...2.1.0) | ||
- Upgrade dependencies to 2.0.0 [`b11eafe`](https://github.com/eea/volto-accordion-block/commit/b11eafe4fe3b9d953a20e19a432d7a633e95f5db) | ||
- Upgrade Jenkins pipeline to use plone/volto-addon-ci [`a3fac68`](https://github.com/eea/volto-accordion-block/commit/a3fac684288100e2a1b3f08a0bac2f45a001bf8b) | ||
@@ -165,3 +167,2 @@ #### [2.0.2](https://github.com/eea/volto-accordion-block/compare/2.0.1...2.0.2) | ||
- Release 2.0.1 [`207f0ed`](https://github.com/eea/volto-accordion-block/commit/207f0ed6bd6598490b98113bd9b275a8d93e944a) | ||
- [JENKINS] - Upgrade cypress to Volto 10 [`bf1cc7b`](https://github.com/eea/volto-accordion-block/commit/bf1cc7ba721c34248c1c853c7dde55211944c23c) | ||
- adapt to exclusive accordion configs in edit [`61500c0`](https://github.com/eea/volto-accordion-block/commit/61500c08ae7155904ae4d4fcaa6c3b2df3afdc3d) | ||
@@ -181,9 +182,3 @@ - option to enable non exclusive panels [`c4cc4a7`](https://github.com/eea/volto-accordion-block/commit/c4cc4a72c1c0d6b8d9d8025137d92062ced87223) | ||
- Fix heading sizes; Add more cypress tests [`e1430f4`](https://github.com/eea/volto-accordion-block/commit/e1430f4db5d47b0f31ce9ff730494da66d18bc22) | ||
- [JENKINS] - Add cypress integration tests [`8726ab8`](https://github.com/eea/volto-accordion-block/commit/8726ab8c615f709a3cda8820fca5de3d2d9be300) | ||
- remove optional chaining in blockProps [`39741af`](https://github.com/eea/volto-accordion-block/commit/39741aff08a0f551ce10aae68e96dcb22bc61865) | ||
- JENKINS: fix missing deps [`fd18f3a`](https://github.com/eea/volto-accordion-block/commit/fd18f3afc6245cf2f218ec76077cf0814254e67f) | ||
- JENKINS: replace duplicate values with predefined vars [`3630a04`](https://github.com/eea/volto-accordion-block/commit/3630a044de5781161133b60e5165a6b05397a8bb) | ||
- JENKINS: fix useEffect deps [`b7f81f0`](https://github.com/eea/volto-accordion-block/commit/b7f81f060496238a0e018dd7aba40a18aa5478b6) | ||
- JENKINS: fix useEffect deps [`c032943`](https://github.com/eea/volto-accordion-block/commit/c03294383a7e9863c8846f45b20fb51081de119b) | ||
- fix jenkins [`8a7ec73`](https://github.com/eea/volto-accordion-block/commit/8a7ec737be1cec1559bc9dc206147f41c7fb1986) | ||
- Add support DX Layout [`ab50789`](https://github.com/eea/volto-accordion-block/commit/ab50789964e15240061044e0458f269341e58a3f) | ||
@@ -206,6 +201,4 @@ - Remove unusied EditBlockWrapper, rename column to panel [`793055b`](https://github.com/eea/volto-accordion-block/commit/793055b5499a7577dea77492a9f512fe7db1da08) | ||
- styles: background color in panels [`22995fd`](https://github.com/eea/volto-accordion-block/commit/22995fdcb6b8d14aec119baf5f7743349aaaa2a2) | ||
- [JENKINS] - Fix style [`8bc3f4e`](https://github.com/eea/volto-accordion-block/commit/8bc3f4e55fbe833cf926aa65746087c450be460c) | ||
- 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) | ||
- fix console warnings and jenkins [`f0b68f9`](https://github.com/eea/volto-accordion-block/commit/f0b68f96311dad690b5ea461ef00fae74f92e4e3) | ||
- prevent deleting first accordion block child [`f99fd66`](https://github.com/eea/volto-accordion-block/commit/f99fd66fe63bf2f28fe0b8e8ebabee6f9244caa1) | ||
@@ -222,3 +215,2 @@ - add new icons for panel chooser [`3ee30e0`](https://github.com/eea/volto-accordion-block/commit/3ee30e0c87b9127584d7d5ffd171d33b9be14a27) | ||
- Update package metadata [`602e871`](https://github.com/eea/volto-accordion-block/commit/602e871ab4b4cc5113fd927aee566722c6e0dddf) | ||
- [JENKINS] - Fix SONAR tags [`9f96a97`](https://github.com/eea/volto-accordion-block/commit/9f96a978298629dcf39ae3d9086a8a9af7ac16c0) | ||
- fix tests: stylelint [`d2ade30`](https://github.com/eea/volto-accordion-block/commit/d2ade3021d298d8dbdf4f087fdf0bc9b5bf72953) | ||
@@ -229,6 +221,3 @@ - fix tests: stylelint [`00f503e`](https://github.com/eea/volto-accordion-block/commit/00f503e72429fc6aaa9385fb1a5fea50a0e58573) | ||
- accordion title, via Input (semantic ui) [`0b2aef7`](https://github.com/eea/volto-accordion-block/commit/0b2aef76dd828ef2e0fc5061023a259d6279c11c) | ||
- [JENKINS] - Fix Sonar Converage [`a70b888`](https://github.com/eea/volto-accordion-block/commit/a70b888fc7fdb31b7d9e9030254861f1de4ccccb) | ||
- [JENKINS] - Add testing pipeline [`f5d443e`](https://github.com/eea/volto-accordion-block/commit/f5d443eb84b767e48bb4ba7fec26cb2acdfca030) | ||
- add accordion title as a slate editor [`38e841d`](https://github.com/eea/volto-accordion-block/commit/38e841d9a1a2d1d6a9d657ed6d611220615cbd40) | ||
- yarn prettier [`afc2d37`](https://github.com/eea/volto-accordion-block/commit/afc2d379490cc4bdd4e2c2296229fac5d549d6a1) | ||
- make title editable [`e3233b0`](https://github.com/eea/volto-accordion-block/commit/e3233b00f3e0e1b0ef240a035d4aca7384a23b3c) | ||
@@ -235,0 +224,0 @@ |
{ | ||
"name": "@eeacms/volto-accordion-block", | ||
"version": "3.4.5", | ||
"version": "3.4.6", | ||
"description": "volto-accordion-block: Volto accordion block", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -5,2 +5,3 @@ import React from 'react'; | ||
import move from 'lodash-move'; | ||
import { useIntl, defineMessages } from 'react-intl'; | ||
import { Button } from 'semantic-ui-react'; | ||
@@ -17,2 +18,6 @@ import { Icon, FormFieldWrapper } from '@plone/volto/components'; | ||
const messages = defineMessages({ | ||
add: { id: 'Add', defaultMessage: 'Add' }, | ||
}); | ||
export function moveItem(formData, source, destination) { | ||
@@ -32,2 +37,3 @@ return { | ||
const PanelsWidget = (props) => { | ||
const intl = useIntl(); | ||
const { fieldSet, value = {}, id, onChange, schema } = props; | ||
@@ -49,3 +55,6 @@ const { blocks = {} } = value; | ||
icon | ||
aria-label={objectSchema.addMessage || `Add ${objectSchema.title}`} | ||
aria-label={ | ||
objectSchema.addMessage || | ||
`${intl.formatMessage(messages.add)} ${objectSchema.title}` | ||
} | ||
onClick={() => { | ||
@@ -52,0 +61,0 @@ const [newId, newData] = empty(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
105540
35
1843