@eeacms/volto-eea-design-system 1.35.0 → 1.36.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 CHANGED
@@ -4,7 +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.35.0](https://github.com/eea/volto-eea-design-system/compare/1.34.1...1.35.0) - 11 November 2024
7
+ ### [1.36.0](https://github.com/eea/volto-eea-design-system/compare/1.35.0...1.36.0) - 26 November 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(report-pdf): adjust styles for report PDF description area [David Ichim - [`06df35d`](https://github.com/eea/volto-eea-design-system/commit/06df35d56b098f7620ba83df7f14b649cec32070)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Update package.json [Ichim David - [`9a72b1a`](https://github.com/eea/volto-eea-design-system/commit/9a72b1a538a719ffbce836e1cac00845ed5965d8)]
16
+ ### [1.35.0](https://github.com/eea/volto-eea-design-system/compare/1.34.1...1.35.0) - 14 November 2024
8
17
 
9
18
  #### :hammer_and_wrench: Others
10
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "1.35.0",
3
+ "version": "1.36.0",
4
4
  "description": "@eeacms/volto-eea-design-system: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -29,6 +29,7 @@ const Breadcrumbs = ({
29
29
  </li>
30
30
  {sections.map((item, index, items) => {
31
31
  const url = item.url || item.href;
32
+ const lastItem = items.length - 1 === index;
32
33
  return (
33
34
  <li key={index}>
34
35
  <Breadcrumb.Divider key={`divider-${url}`}>
@@ -41,7 +42,7 @@ const Breadcrumbs = ({
41
42
  {item.title}
42
43
  </Link>
43
44
  ) : (
44
- <Breadcrumb.Section key={item.key} className="section">
45
+ <Breadcrumb.Section key={item.key} active={lastItem}>
45
46
  {item.title}
46
47
  </Breadcrumb.Section>
47
48
  )}
@@ -98,6 +98,10 @@
98
98
  padding-left: @subparItemPaddingLeft + 2rem;
99
99
  }
100
100
 
101
+ .context-navigation .item.level-4 a {
102
+ padding-left: @subparItemPaddingLeft + 4rem;
103
+ }
104
+
101
105
  // Active indicator
102
106
  .context-navigation .active.item > .content > a {
103
107
  color: @sidenavItemActiveColor;
@@ -113,6 +117,21 @@
113
117
  display: none;
114
118
  }
115
119
 
120
+ /*******************************
121
+ Report additional files navigation
122
+ *******************************/
123
+ .report-navigation {
124
+ .list {
125
+ padding-inline-start: 1.5rem;
126
+ }
127
+ .list-item {
128
+ padding: 0.25rem 0;
129
+ }
130
+ .list-item:has(> .context-navigation-detail) {
131
+ list-style-type: none;
132
+ }
133
+ }
134
+
116
135
  /*******************************
117
136
  Side navigation
118
137
  *******************************/
@@ -235,3 +235,27 @@
235
235
  #page-diff .ui.table th.eight.wide {
236
236
  width: 50%;
237
237
  }
238
+
239
+ /* Report PDF styles */
240
+ /* Remove border left on description block on PDF Report
241
+ See: https://taskman.eionet.europa.eu/issues/259256#note-24
242
+ */
243
+ .contenttype-report_pdf .eea.callout {
244
+ padding: 0;
245
+ border-left: none;
246
+ }
247
+
248
+ /* Remove full width background on PDF Report description area column-block */
249
+ .contenttype-report_pdf
250
+ #page-document
251
+ > .styled-columnsBlock:first-of-type
252
+ .content-box:before {
253
+ content: none;
254
+ }
255
+
256
+ .contenttype-report_pdf
257
+ #page-document
258
+ > .styled-columnsBlock:first-of-type
259
+ .content-box-inner {
260
+ padding: 0.5rem 1.5rem 1.5rem 1.5rem;
261
+ }