@eeacms/volto-bise-policy 1.2.14 → 1.2.16
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 +20 -0
- package/package.json +1 -1
- package/src/customizations/@eeacms/volto-block-style/StyleWrapper/schema.js +6 -0
- package/src/customizations/@eeacms/volto-datablocks/components/manage/Blocks/SimpleDataTable/Edit.jsx +3 -1
- package/src/index.js +7 -0
- package/theme/extras/tocnav.less +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@ 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
|
+
### [1.2.16](https://github.com/eea/volto-bise-policy/compare/1.2.15...1.2.16) - 21 May 2025
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
- style: Automated code fix [eea-jenkins - [`d8c804b`](https://github.com/eea/volto-bise-policy/commit/d8c804bf431668610d5915f3b6359cb71eb33a6f)]
|
|
12
|
+
- style: Automated code fix [eea-jenkins - [`3281da4`](https://github.com/eea/volto-bise-policy/commit/3281da44f5fa9e445520b9fdbeb21d97d6975841)]
|
|
13
|
+
|
|
14
|
+
#### :hammer_and_wrench: Others
|
|
15
|
+
|
|
16
|
+
- renamed formatters to dataFormatters [vladcalin-edw - [`c8d8f9f`](https://github.com/eea/volto-bise-policy/commit/c8d8f9fd3e570ba8e4052be057a8a458f468e161)]
|
|
17
|
+
### [1.2.15](https://github.com/eea/volto-bise-policy/compare/1.2.14...1.2.15) - 19 May 2025
|
|
18
|
+
|
|
19
|
+
#### :rocket: New Features
|
|
20
|
+
|
|
21
|
+
- feat(stylewrapper): add useAsPageHeader style option to all blocks refs#286320 [nileshgulia1 - [`09592ca`](https://github.com/eea/volto-bise-policy/commit/09592ca5077b19c1b421e39c6e391f7711117e87)]
|
|
22
|
+
|
|
23
|
+
#### :bug: Bug Fixes
|
|
24
|
+
|
|
25
|
+
- fix(toc): accordionToc list marker and fonts [nileshgulia1 - [`761354d`](https://github.com/eea/volto-bise-policy/commit/761354d8c94196339ffa2737a48d43bd08be5148)]
|
|
26
|
+
|
|
7
27
|
### [1.2.14](https://github.com/eea/volto-bise-policy/compare/1.2.13...1.2.14) - 11 December 2024
|
|
8
28
|
|
|
9
29
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -48,6 +48,7 @@ export const StyleSchema = () => {
|
|
|
48
48
|
id: 'advanced',
|
|
49
49
|
title: 'Advanced',
|
|
50
50
|
fields: [
|
|
51
|
+
'useAsPageHeader',
|
|
51
52
|
'theme',
|
|
52
53
|
'hidden',
|
|
53
54
|
'height',
|
|
@@ -164,6 +165,11 @@ export const StyleSchema = () => {
|
|
|
164
165
|
description: 'Hide this block',
|
|
165
166
|
type: 'boolean',
|
|
166
167
|
},
|
|
168
|
+
useAsPageHeader: {
|
|
169
|
+
title: 'Use as page header',
|
|
170
|
+
description: 'Use this block as page header',
|
|
171
|
+
type: 'boolean',
|
|
172
|
+
},
|
|
167
173
|
shadowDepth: {
|
|
168
174
|
widget: 'slider',
|
|
169
175
|
title: 'Shadow depth',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { compose } from 'redux';
|
|
3
|
+
import { injectIntl } from 'react-intl';
|
|
3
4
|
import { SidebarPortal } from '@plone/volto/components'; // EditBlock
|
|
4
5
|
import InlineForm from '@plone/volto/components/manage/Form/InlineForm';
|
|
5
6
|
import config from '@plone/volto/registry';
|
|
@@ -60,6 +61,7 @@ class Edit extends Component {
|
|
|
60
61
|
typeof templateSchema === 'function'
|
|
61
62
|
? templateSchema(config)
|
|
62
63
|
: templateSchema,
|
|
64
|
+
this.props.intl,
|
|
63
65
|
);
|
|
64
66
|
|
|
65
67
|
// TODO: create picker for columns to include
|
|
@@ -105,7 +107,7 @@ const EditWrapper = compose(
|
|
|
105
107
|
},
|
|
106
108
|
};
|
|
107
109
|
}),
|
|
108
|
-
)(Edit);
|
|
110
|
+
)(injectIntl(Edit));
|
|
109
111
|
|
|
110
112
|
const $Edit = (props) => {
|
|
111
113
|
return (
|
package/src/index.js
CHANGED
|
@@ -117,6 +117,13 @@ const applyConfig = (config) => {
|
|
|
117
117
|
},
|
|
118
118
|
};
|
|
119
119
|
// BISE config
|
|
120
|
+
|
|
121
|
+
config.settings.dataFormatters = {
|
|
122
|
+
squareBracketsToItalic: (value) => {
|
|
123
|
+
return value.replace(/\[(.*?)\]/g, '<em>$1</em>');
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
|
|
120
127
|
config.settings.bise = {
|
|
121
128
|
subsites: [
|
|
122
129
|
{
|
package/theme/extras/tocnav.less
CHANGED
|
@@ -121,6 +121,22 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
// Table of contents - accordion menu
|
|
125
|
+
.table-of-contents.accordionMenu {
|
|
126
|
+
.ui.accordion {
|
|
127
|
+
.content {
|
|
128
|
+
.accordion-list-bulleted li::marker {
|
|
129
|
+
content: '\25CB';
|
|
130
|
+
color: @lightSecondaryColor;
|
|
131
|
+
font-size: 1.2em;
|
|
132
|
+
}
|
|
133
|
+
.title {
|
|
134
|
+
font-size: 1em;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
124
140
|
@media only screen and (min-width: 769px) {
|
|
125
141
|
.table-of-contents.horizontalMenu {
|
|
126
142
|
.ui.menu {
|