@kitconcept/volto-light-theme 7.6.2 → 7.6.4

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.draft CHANGED
@@ -1,13 +1,7 @@
1
- ## 7.6.2 (2025-11-17)
1
+ ## 7.6.4 (2025-12-01)
2
2
 
3
3
  ### Bugfix
4
4
 
5
- - Fixed Accordion arrow/buttons no longer shrink when the title text becomes too long. @jnptk
6
- - Fixes text in the sticky menu if the text was long enough to wrap. @jnptk
7
- - Identify intranet header with a className in `header header-intranet` div. @sneridagh
8
-
9
- ### Internal
10
-
11
- - Use `volto-carousel-block` latest version. @sneridagh
5
+ - Fixed problem with the description not showing in rendering if the description was undefined. @sneridagh
12
6
 
13
7
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,19 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 7.6.4 (2025-12-01)
12
+
13
+ ### Bugfix
14
+
15
+ - Fixed problem with the description not showing in rendering if the description was undefined. @sneridagh
16
+
17
+ ## 7.6.3 (2025-12-01)
18
+
19
+ ### Bugfix
20
+
21
+ - Fix css of unauthorized Page @iRohitSingh [#736](https://github.com/kitconcept/volto-light-theme/pull/736)
22
+ - Hide complementary logo in mobile devices @Tishasoumya-02
23
+
11
24
  ## 7.6.2 (2025-11-17)
12
25
 
13
26
  ### Bugfix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "7.6.2",
3
+ "version": "7.6.4",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -72,7 +72,7 @@
72
72
  "@kitconcept/volto-logos-block": "^3.0.0",
73
73
  "@kitconcept/volto-separator-block": "^4.2.1",
74
74
  "@kitconcept/volto-slider-block": "^6.4.1",
75
- "@plonegovbr/volto-social-media": "^2.0.0-alpha.10",
75
+ "@plonegovbr/volto-social-media": "^2.0.0",
76
76
  "classnames": "^2.2.6",
77
77
  "lodash": "4.17.21",
78
78
  "react": "18.2.0",
@@ -20,19 +20,27 @@ const TeaserDefaultTemplate = (props) => {
20
20
  const openLinkInNewTab =
21
21
  data.openLinkInNewTab ||
22
22
  (openExternalLinkInNewTab && !isInternalURL(href['@id']));
23
- const { '@id': id, ...filteredData } = data;
23
+
24
+ // Ensures that overridden fields are used when "overwrite" is true
25
+ // and fallbacks to empty strings if they are not provided to ensure no undefined
26
+ // values are passed
27
+ const localOverrides = {
28
+ title: data.title || '',
29
+ description: data.description || '',
30
+ head_title: data.head_title || '',
31
+ };
24
32
 
25
33
  return (
26
34
  <Card item={showLink ? href : null} openLinkInNewTab={openLinkInNewTab}>
27
35
  <Card.Image
28
36
  src={url && !image?.image_field ? url : undefined}
29
- item={!data.overwrite ? href : { ...href, ...filteredData }}
37
+ item={!data.overwrite ? href : { ...href, ...localOverrides }}
30
38
  image={data.overwrite ? image : undefined}
31
39
  imageComponent={Image}
32
40
  />
33
41
  <Card.Summary>
34
42
  <Summary
35
- item={!data.overwrite ? href : { ...href, ...filteredData }}
43
+ item={!data.overwrite ? href : { ...href, ...localOverrides }}
36
44
  HeadingTag="h2"
37
45
  hide_description={props.data?.hide_description}
38
46
  />
@@ -418,6 +418,10 @@
418
418
  flex: 1 1 auto;
419
419
  flex-direction: row-reverse;
420
420
 
421
+ @media only screen and (max-width: $largest-mobile-screen) {
422
+ display: none;
423
+ }
424
+
421
425
  @media only screen and (max-width: $computer-breakpoint) {
422
426
  flex: 0 1 55px;
423
427
  }
@@ -1,3 +1,4 @@
1
+ .view-editview.is-anonymous,
1
2
  .page-not-found {
2
3
  .content-area {
3
4
  @include default-container-width();