@eeacms/volto-tabs-block 5.0.5 → 5.0.7

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,11 +4,20 @@ 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.5](https://github.com/eea/volto-tabs-block/compare/5.0.4...5.0.5) - 4 July 2023
7
+ ### [5.0.7](https://github.com/eea/volto-tabs-block/compare/5.0.6...5.0.7) - 26 July 2023
8
8
 
9
- #### :hammer_and_wrench: Others
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: console error in DefaultView - refs #253293 [Teodor Voicu - [`361798b`](https://github.com/eea/volto-tabs-block/commit/361798baf8f749eb88f889a9f270a1c3301af80f)]
12
+
13
+ #### :house: Documentation changes
14
+
15
+ - docs: add demo gif - refs #253277 [ana-oprea - [`a54f828`](https://github.com/eea/volto-tabs-block/commit/a54f828e0e3c38b0d44aa31f82819dde7dd3c2bb)]
16
+
17
+ ### [5.0.6](https://github.com/eea/volto-tabs-block/compare/5.0.5...5.0.6) - 5 July 2023
18
+
19
+ ### [5.0.5](https://github.com/eea/volto-tabs-block/compare/5.0.4...5.0.5) - 4 July 2023
10
20
 
11
- - set gutter on carousel [Miu Razvan - [`ccea0b6`](https://github.com/eea/volto-tabs-block/commit/ccea0b6c4c5dd49afe8de127df10751239f6a5fa)]
12
21
  ### [5.0.4](https://github.com/eea/volto-tabs-block/compare/5.0.3...5.0.4) - 13 June 2023
13
22
 
14
23
  #### :hammer_and_wrench: Others
package/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  ###
24
24
 
25
- Demo GIF
25
+ ![Tabs](https://github.com/eea/volto-tabs-block/raw/develop/docs/volto-tabs-block.gif)
26
26
 
27
27
  ## Getting started
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-tabs-block",
3
- "version": "5.0.5",
3
+ "version": "5.0.7",
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'],
@@ -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'],
@@ -132,7 +132,7 @@ const View = (props) => {
132
132
  />
133
133
  ),
134
134
  pane: (
135
- <Tab.Pane as={isContainer ? Container : undefined}>
135
+ <Tab.Pane key={tab} as={isContainer ? Container : undefined}>
136
136
  <div
137
137
  id={tabs[tab]?.title || `Tab ${tabsList.indexOf(tab) + 1}`}
138
138
  className="tab-name"
@@ -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'],