@eeacms/volto-clms-theme 1.1.118 → 1.1.120

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,6 +4,16 @@ 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.1.120](https://github.com/eea/volto-clms-theme/compare/1.1.119...1.1.120) - 8 March 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - fix block chooser in edit mode [Unai Etxaburu - [`d994993`](https://github.com/eea/volto-clms-theme/commit/d9949932b1a74130f49580e35f237267758ad46c)]
12
+ ### [1.1.119](https://github.com/eea/volto-clms-theme/compare/1.1.118...1.1.119) - 28 February 2024
13
+
14
+ #### :hammer_and_wrench: Others
15
+
16
+ - remove consolelog [Mikel Larreategi - [`9c88aa2`](https://github.com/eea/volto-clms-theme/commit/9c88aa298fe8fdfe28dd8267a1015726b17e5065)]
7
17
  ### [1.1.118](https://github.com/eea/volto-clms-theme/compare/1.1.117...1.1.118) - 23 February 2024
8
18
 
9
19
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.118",
3
+ "version": "1.1.120",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -178,6 +178,7 @@ class CLMSUserProfileView extends Component {
178
178
  */
179
179
  render() {
180
180
  let userschema = {};
181
+
181
182
  if (this.props.userschema?.loaded) {
182
183
  userschema = JSON.parse(
183
184
  JSON.stringify(this.props?.userschema?.userschema),
@@ -185,6 +186,12 @@ class CLMSUserProfileView extends Component {
185
186
  userschema.fieldsets[0]['fields'] = userschema.fieldsets[0][
186
187
  'fields'
187
188
  ].filter((item) => !item.includes('email') && !item.includes('fullname'));
189
+
190
+ userschema.required = userschema.required.filter(
191
+ (item) => item !== 'email' && item !== 'fullname',
192
+ );
193
+ delete userschema.properties.email;
194
+ delete userschema.properties.fullname;
188
195
  }
189
196
 
190
197
  const loggedIn = !!this.props.userId;
@@ -401,3 +401,9 @@ body:not(.is-authenticated):not(.document_wide_view).stretch {
401
401
  left: auto !important;
402
402
  margin-top: 50px;
403
403
  }
404
+
405
+ // edit mode block chooser
406
+ .tabs-block .blocks-chooser {
407
+ margin-top: 1rem !important;
408
+ transform: none !important;
409
+ }