@eeacms/volto-clms-theme 1.1.7 → 1.1.8

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,13 @@ 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.8](https://github.com/eea/volto-clms-theme/compare/1.1.7...1.1.8) - 5 June 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - [CLMS-2283] taxonomywidget bugfix [ionlizarazu - [`5f95cf4`](https://github.com/eea/volto-clms-theme/commit/5f95cf4802dc5391ee2ed155b07c20a42fb8f9b2)]
12
+ - slate link editor test [ionlizarazu - [`8ed08bc`](https://github.com/eea/volto-clms-theme/commit/8ed08bc7411f1869a190ecc73c06fd153c09804a)]
13
+ - historic downloads typo [ionlizarazu - [`b2695b5`](https://github.com/eea/volto-clms-theme/commit/b2695b533998f0fd471624e78afd394f62536a59)]
7
14
  ### [1.1.7](https://github.com/eea/volto-clms-theme/compare/1.1.6...1.1.7) - 1 June 2023
8
15
 
9
16
  #### :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.7",
3
+ "version": "1.1.8",
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",
@@ -47,8 +47,8 @@ const CLMSDownloadsView = (props) => {
47
47
  const { formatMessage } = useIntl();
48
48
  const messages = defineMessages({
49
49
  CartDownloads: {
50
- id: 'Downloads',
51
- defaultMessage: 'Downloads',
50
+ id: 'Historic downloads',
51
+ defaultMessage: 'Historic downloads',
52
52
  },
53
53
  });
54
54
 
@@ -137,7 +137,7 @@ const CLMSDownloadsView = (props) => {
137
137
  }, [dispatch, downloadtool.delete_download_in_progress]);
138
138
 
139
139
  return (
140
- <>
140
+ <div className="ccl-container ">
141
141
  <Helmet
142
142
  title={helmetTitle(formatMessage(messages.CartDownloads), content)}
143
143
  />
@@ -173,7 +173,7 @@ const CLMSDownloadsView = (props) => {
173
173
  </>
174
174
  )}
175
175
  </div>
176
- </>
176
+ </div>
177
177
  );
178
178
  };
179
179
 
@@ -233,11 +233,16 @@ const CheckboxListParent = ({ option, key, onChange, value, id }) => {
233
233
  ? onChange(id, [
234
234
  ...value,
235
235
  { title: child.original, token: child.value },
236
- value.filter((v) => v.token === option.value)
237
- .length === 0 && {
238
- title: option.original,
239
- token: option.value,
240
- },
236
+ ...(value.filter(
237
+ (v) => v.token === option.value,
238
+ ).length === 0
239
+ ? [
240
+ {
241
+ title: option.original,
242
+ token: option.value,
243
+ },
244
+ ]
245
+ : []),
241
246
  ])
242
247
  : onChange(
243
248
  id,
@@ -163,9 +163,10 @@ class SlateEditor extends Component {
163
163
 
164
164
  ReactEditor.focus(editor);
165
165
  Transforms.select(editor, selection);
166
- } else {
167
- Transforms.select(editor, Editor.end(editor, []));
168
166
  }
167
+ // } else {
168
+ // Transforms.select(editor, Editor.end(editor, []));
169
+ // }
169
170
 
170
171
  this.setState({
171
172
  internalValue: this.props.value,
@@ -78,7 +78,7 @@ const HeaderDropdown = ({ user }) => {
78
78
  to={`/${intl.locale}/all-downloads`}
79
79
  className="header-login-link"
80
80
  >
81
- Historic Downloads
81
+ Historic downloads
82
82
  </Link>
83
83
  </li>
84
84
  <li>
@@ -2,7 +2,7 @@
2
2
 
3
3
  /*
4
4
  */
5
- .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
5
+ .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-cart-downloads):not(.section-all-downloads):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
6
6
  #page-document.ui.container {
7
7
  width: calc(100vmax - (100vmax - 100%)) !important;
8
8
  margin: 0 0 !important;
@@ -12,18 +12,18 @@
12
12
  margin-bottom: 0.5rem;
13
13
  }
14
14
 
15
- .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
15
+ .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-cart-downloads):not(.section-all-downloads):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
16
16
  .ui.basic.segment.content-area {
17
17
  padding-top: 0;
18
18
  margin-top: 0;
19
19
  }
20
20
 
21
- .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
21
+ .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-cart-downloads):not(.section-all-downloads):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
22
22
  .block {
23
23
  margin-bottom: 0;
24
24
  }
25
25
 
26
- .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
26
+ .contenttype-lrf:not(.section-cart):not(.section-profile):not(.section-cart-downloads):not(.section-all-downloads):not(.section-newsletter-notification-subscription):not(.section-unsubscribe):not(.section-logout)
27
27
  .ui.basic.segment.content-area {
28
28
  padding-bottom: 0;
29
29
  margin-bottom: 0;