@eeacms/volto-eea-website-theme 1.22.1 → 1.24.0
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 +42 -10
- package/RELEASE.md +14 -14
- package/cypress.config.js +3 -3
- package/jest-addon.config.js +3 -0
- package/package.json +4 -3
- package/src/components/manage/Blocks/Title/schema.js +40 -1
- package/src/components/theme/Banner/View.jsx +2 -1
- package/src/config.js +27 -15
- package/src/customizations/@plone/volto-slate/editor/extensions/normalizeExternalData.js +9 -0
- package/src/customizations/volto/components/manage/Blocks/Image/Edit.jsx +9 -6
- package/src/customizations/volto/components/manage/Blocks/Image/Edit.test.jsx +312 -0
- package/src/customizations/volto/components/manage/Blocks/Image/View.jsx +9 -6
- package/src/customizations/volto/components/manage/Blocks/LeadImage/Edit.jsx +8 -4
- package/src/customizations/volto/components/manage/Blocks/LeadImage/View.jsx +8 -5
- package/src/customizations/volto/components/manage/Blocks/LeadImage/schema.js +0 -1
- package/src/customizations/volto/components/manage/Form/Form.test.jsx +1124 -0
- package/src/customizations/volto/components/manage/Widgets/ObjectBrowserWidget.test.jsx +193 -0
- package/src/customizations/volto/components/theme/Comments/Comments.test.jsx +407 -0
- package/src/customizations/volto/components/theme/Header/Header.jsx +53 -50
- package/src/customizations/volto/components/theme/Header/Header.test.jsx +326 -0
- package/src/helpers/schema-utils.js +40 -34
- package/src/index.js +122 -15
- package/src/index.test.js +343 -0
- package/src/customizations/@eeacms/volto-tabs-block/components/templates/default/schema.js +0 -109
- package/src/customizations/@eeacms/volto-tabs-block/components/templates/horizontal-responsive/schema.js +0 -109
@@ -1,109 +0,0 @@
|
|
1
|
-
export default () => ({
|
2
|
-
title: 'Default tabs block',
|
3
|
-
fieldsets: [
|
4
|
-
{
|
5
|
-
id: 'default',
|
6
|
-
title: 'Default',
|
7
|
-
fields: ['description'],
|
8
|
-
},
|
9
|
-
{
|
10
|
-
id: 'menu',
|
11
|
-
title: 'Menu',
|
12
|
-
fields: ['menuAlign', 'menuPosition', 'menuColor', 'menuInverted'],
|
13
|
-
},
|
14
|
-
],
|
15
|
-
properties: {
|
16
|
-
description: {
|
17
|
-
title: 'Description',
|
18
|
-
},
|
19
|
-
menuPosition: {
|
20
|
-
title: 'Position',
|
21
|
-
choices: [
|
22
|
-
['top', 'Top'],
|
23
|
-
['bottom', 'Bottom'],
|
24
|
-
['left side', 'Left side'],
|
25
|
-
['right side', 'Right side'],
|
26
|
-
],
|
27
|
-
},
|
28
|
-
menuAlign: {
|
29
|
-
title: 'Alignment',
|
30
|
-
type: 'array',
|
31
|
-
choices: [
|
32
|
-
['left', 'Left'],
|
33
|
-
['center', 'Center'],
|
34
|
-
['right', 'Right'],
|
35
|
-
['space-between', 'Space between'],
|
36
|
-
],
|
37
|
-
},
|
38
|
-
menuSize: {
|
39
|
-
title: 'Size',
|
40
|
-
choices: [
|
41
|
-
['mini', 'Mini'],
|
42
|
-
['tiny', 'Tiny'],
|
43
|
-
['small', 'Small'],
|
44
|
-
['large', 'Large'],
|
45
|
-
['huge', 'Huge'],
|
46
|
-
['massive', 'Masive'],
|
47
|
-
],
|
48
|
-
},
|
49
|
-
menuColor: {
|
50
|
-
title: 'Color',
|
51
|
-
defaultValue: 'green',
|
52
|
-
choices: [
|
53
|
-
['red', 'Red'],
|
54
|
-
['orange', 'Orange'],
|
55
|
-
['yellow', 'Yellow'],
|
56
|
-
['olive', 'Olive'],
|
57
|
-
['green', 'Green'],
|
58
|
-
['teal', 'Teal'],
|
59
|
-
['blue', 'Blue'],
|
60
|
-
['violet', 'Violet'],
|
61
|
-
['purple', 'Purple'],
|
62
|
-
['pink', 'Pink'],
|
63
|
-
['brown', 'Brown'],
|
64
|
-
['grey', 'Grey'],
|
65
|
-
['black', 'Black'],
|
66
|
-
],
|
67
|
-
},
|
68
|
-
menuBorderless: {
|
69
|
-
title: 'Borderless',
|
70
|
-
type: 'boolean',
|
71
|
-
},
|
72
|
-
menuCompact: {
|
73
|
-
title: 'Compact',
|
74
|
-
type: 'boolean',
|
75
|
-
},
|
76
|
-
menuFluid: {
|
77
|
-
title: 'Fluid',
|
78
|
-
type: 'boolean',
|
79
|
-
value: true,
|
80
|
-
},
|
81
|
-
menuInverted: {
|
82
|
-
title: 'Inverted',
|
83
|
-
type: 'boolean',
|
84
|
-
},
|
85
|
-
menuPointing: {
|
86
|
-
title: 'Pointing',
|
87
|
-
type: 'boolean',
|
88
|
-
value: true,
|
89
|
-
},
|
90
|
-
menuSecondary: {
|
91
|
-
title: 'Secondary',
|
92
|
-
type: 'boolean',
|
93
|
-
value: true,
|
94
|
-
},
|
95
|
-
menuStackable: {
|
96
|
-
title: 'Stackable',
|
97
|
-
type: 'boolean',
|
98
|
-
},
|
99
|
-
menuTabular: {
|
100
|
-
title: 'Tabular',
|
101
|
-
type: 'boolean',
|
102
|
-
},
|
103
|
-
menuText: {
|
104
|
-
title: 'Text',
|
105
|
-
type: 'boolean',
|
106
|
-
},
|
107
|
-
},
|
108
|
-
required: [],
|
109
|
-
});
|