Skip to content

Commit

Permalink
Replace group with accordion within class names
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Apr 6, 2021
1 parent ffea93a commit 8113731
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-accordion-block%2Fmaster&subject=master)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-accordion-block/job/master/display/redirect)
[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-accordion-block%2Fdevelop&subject=develop)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-accordion-block/job/develop/display/redirect)

[Volto](https://github.com/plone/volto) add-on to create group based accordions in blocks.
[Volto](https://github.com/plone/volto) accordions block.

## Features

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@eeacms/volto-accordion-block",
"version": "3.1.0",
"description": "volto-accordion-block: Volto group block to add accordions",
"description": "volto-accordion-block: Volto accordion block",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/Accordion/AccordionEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default (props) => {
className="input-accordion-title"
transparent
placeholder="Enter Title"
value={panel?.title}
value={panel?.title || ""}
onClick={(e) => {
handleTitleClick();
e.stopPropagation();
Expand Down
6 changes: 3 additions & 3 deletions src/components/manage/Blocks/Accordion/EditBlockWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class EditBlockWrapper extends React.Component {
display: dragVisible ? 'inline-block' : 'none',
}}
{...draginfo.dragHandleProps}
className="drag handle wrapper-group-block"
className="drag handle wrapper-accordion-block"
>
<Button icon basic title="Drag and drop">
<Icon name={dragSVG} size="19px" />
Expand All @@ -129,7 +129,7 @@ class EditBlockWrapper extends React.Component {
addNewBlockOpened: !this.state.addNewBlockOpened,
});
}}
className="group-block-add-button"
className="accordion-block-add-button"
>
<Icon name={addSVG} className="" size="19px" />
</Button>
Expand All @@ -140,7 +140,7 @@ class EditBlockWrapper extends React.Component {
basic
title="Remove block"
onClick={() => onDeleteBlock(block)}
className="delete-button-group-block"
className="delete-button-accordion-block"
aria-label={intl.formatMessage(messages.delete)}
>
<Icon name={trashSVG} size="19px" />
Expand Down

0 comments on commit 8113731

Please sign in to comment.