@eeacms/volto-tabs-block 5.0.4 → 5.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [5.0.4](https://github.com/eea/volto-tabs-block/compare/5.0.3...5.0.4) - 12 June 2023
7
+ ### [5.0.6](https://github.com/eea/volto-tabs-block/compare/5.0.5...5.0.6) - 5 July 2023
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: use SelectWidget instead of ArrayWidget in schema [Miu Razvan - [`4213d19`](https://github.com/eea/volto-tabs-block/commit/4213d1967ef5f171c909a18610e7e8ec2237b563)]
12
+
13
+ ### [5.0.5](https://github.com/eea/volto-tabs-block/compare/5.0.4...5.0.5) - 4 July 2023
14
+
15
+ ### [5.0.4](https://github.com/eea/volto-tabs-block/compare/5.0.3...5.0.4) - 13 June 2023
8
16
 
9
17
  #### :hammer_and_wrench: Others
10
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-tabs-block",
3
- "version": "5.0.4",
3
+ "version": "5.0.6",
4
4
  "description": "volto-tabs-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -44,7 +44,6 @@ export const schema = (config, templateSchema = {}) => {
44
44
  },
45
45
  verticalAlign: {
46
46
  title: 'Vertical align',
47
- type: 'array',
48
47
  choices: [
49
48
  ['flex-start', 'Top'],
50
49
  ['center', 'Middle'],
@@ -8,10 +8,8 @@ import Tabs from 'react-responsive-tabs';
8
8
  import AnimateHeight from 'react-animate-height';
9
9
  import EditBlockWrapper from '@eeacms/volto-tabs-block/components/EditBlockWrapper';
10
10
  import { emptyBlocksForm } from '@plone/volto/helpers';
11
- import { BlocksForm } from '@plone/volto/components';
12
- import { Icon } from 'semantic-ui-react';
13
- import { Menu, Input } from 'semantic-ui-react';
14
- import { Icon as VoltoIcon } from '@plone/volto/components';
11
+ import { Menu, Input, Icon } from 'semantic-ui-react';
12
+ import { Icon as VoltoIcon, BlocksForm } from '@plone/volto/components';
15
13
  import config from '@plone/volto/registry';
16
14
  import { TABS_BLOCK } from '@eeacms/volto-tabs-block/constants';
17
15
  import { withScrollToTarget } from '@eeacms/volto-tabs-block/hocs';
@@ -10,7 +10,6 @@ export default () => ({
10
10
  properties: {
11
11
  theme: {
12
12
  title: 'Theme',
13
- type: 'array',
14
13
  choices: [
15
14
  ['light', 'Light'],
16
15
  ['dark', 'Dark'],
@@ -41,7 +41,6 @@ export default () => ({
41
41
  },
42
42
  menuAlign: {
43
43
  title: 'Alignment',
44
- type: 'array',
45
44
  choices: [
46
45
  ['left', 'Left'],
47
46
  ['center', 'Center'],
@@ -41,7 +41,6 @@ export default () => ({
41
41
  },
42
42
  menuAlign: {
43
43
  title: 'Alignment',
44
- type: 'array',
45
44
  choices: [
46
45
  ['left', 'Left'],
47
46
  ['center', 'Center'],
@@ -301,6 +301,7 @@
301
301
  &.ui.container {
302
302
  margin-right: 1.5rem !important;
303
303
  margin-left: 1.5em !important;
304
+ --m-gutter: 1.5em;
304
305
  }
305
306
  }
306
307
  }