@plone/volto 14.7.0 → 14.7.1
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 +11 -0
- package/cypress.json +2 -1
- package/package.json +1 -1
- package/pyvenv.cfg +3 -0
- package/src/components/manage/Add/Add.jsx +39 -36
- package/theme/themes/pastanaga/extras/widgets.less +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 14.7.1 (2022-02-02)
|
|
4
|
+
|
|
5
|
+
### Internal
|
|
6
|
+
|
|
7
|
+
- Add CSS body class in Babel view. Improve marker for language independent fields in Babel view too. @sneridagh
|
|
8
|
+
|
|
9
|
+
### Docs
|
|
10
|
+
|
|
11
|
+
Update documentation for internal proxy & other smaller reorganisation for quicker onboarding of
|
|
12
|
+
new users/evaluators. @fredvd
|
|
13
|
+
|
|
3
14
|
## 14.7.0 (2022-01-28)
|
|
4
15
|
|
|
5
16
|
### Feature
|
package/cypress.json
CHANGED
package/package.json
CHANGED
package/pyvenv.cfg
ADDED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { Component } from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import { Helmet } from '@plone/volto/helpers';
|
|
8
|
+
import { BodyClass, Helmet } from '@plone/volto/helpers';
|
|
9
9
|
import { connect } from 'react-redux';
|
|
10
10
|
import { compose } from 'redux';
|
|
11
11
|
import { keys, isEmpty } from 'lodash';
|
|
@@ -400,41 +400,44 @@ class Add extends Component {
|
|
|
400
400
|
);
|
|
401
401
|
|
|
402
402
|
return translationObject ? (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
403
|
+
<>
|
|
404
|
+
<BodyClass className="babel-view" />
|
|
405
|
+
<Grid
|
|
406
|
+
celled="internally"
|
|
407
|
+
stackable
|
|
408
|
+
columns={2}
|
|
409
|
+
id="page-add-translation"
|
|
410
|
+
>
|
|
411
|
+
<Grid.Column className="source-object">
|
|
412
|
+
<TranslationObject
|
|
413
|
+
translationObject={translationObject}
|
|
414
|
+
schema={this.props.schema}
|
|
415
|
+
pathname={this.props.pathname}
|
|
416
|
+
visual={visual}
|
|
417
|
+
isFormSelected={
|
|
418
|
+
this.state.formSelected === 'translationObjectForm'
|
|
419
|
+
}
|
|
420
|
+
onSelectForm={() => {
|
|
421
|
+
this.setState({
|
|
422
|
+
formSelected: 'translationObjectForm',
|
|
423
|
+
});
|
|
424
|
+
}}
|
|
425
|
+
/>
|
|
426
|
+
</Grid.Column>
|
|
427
|
+
<Grid.Column>
|
|
428
|
+
<div className="new-translation">
|
|
429
|
+
<Menu pointing secondary attached tabular>
|
|
430
|
+
<Menu.Item name={translateTo.toUpperCase()} active={true}>
|
|
431
|
+
{`${this.props.intl.formatMessage(messages.translateTo, {
|
|
432
|
+
lang: translateTo,
|
|
433
|
+
})}`}
|
|
434
|
+
</Menu.Item>
|
|
435
|
+
</Menu>
|
|
436
|
+
{pageAdd}
|
|
437
|
+
</div>
|
|
438
|
+
</Grid.Column>
|
|
439
|
+
</Grid>
|
|
440
|
+
</>
|
|
438
441
|
) : (
|
|
439
442
|
pageAdd
|
|
440
443
|
);
|
|
@@ -138,7 +138,8 @@
|
|
|
138
138
|
|
|
139
139
|
// Fake "disabled" field for language independent fields
|
|
140
140
|
// Only on Add form
|
|
141
|
-
#page-add-translation #page-add .language-independent-field
|
|
141
|
+
body.babel-view #page-add-translation #page-add .language-independent-field,
|
|
142
|
+
body.babel-view .field .language-independent-field {
|
|
142
143
|
pointer-events: none;
|
|
143
144
|
|
|
144
145
|
input,
|