@kitconcept/volto-light-theme 7.6.1 → 7.6.3

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,8 +1,8 @@
1
- ## 7.6.1 (2025-11-05)
1
+ ## 7.6.3 (2025-12-01)
2
2
 
3
- ### Internal
3
+ ### Bugfix
4
4
 
5
- - Use volto-dsgvo-banner series 3.x
6
- Use volto-logos0-block series 3.x final. @sneridagh
5
+ - Fix css of unauthorized Page @iRohitSingh [#736](https://github.com/kitconcept/volto-light-theme/pull/736)
6
+ - Hide complementary logo in mobile devices @Tishasoumya-02
7
7
 
8
8
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,25 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 7.6.3 (2025-12-01)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix css of unauthorized Page @iRohitSingh [#736](https://github.com/kitconcept/volto-light-theme/pull/736)
16
+ - Hide complementary logo in mobile devices @Tishasoumya-02
17
+
18
+ ## 7.6.2 (2025-11-17)
19
+
20
+ ### Bugfix
21
+
22
+ - Fixed Accordion arrow/buttons no longer shrink when the title text becomes too long. @jnptk
23
+ - Fixes text in the sticky menu if the text was long enough to wrap. @jnptk
24
+ - Identify intranet header with a className in `header header-intranet` div. @sneridagh
25
+
26
+ ### Internal
27
+
28
+ - Use `volto-carousel-block` latest version. @sneridagh
29
+
11
30
  ## 7.6.1 (2025-11-05)
12
31
 
13
32
  ### Internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "7.6.1",
3
+ "version": "7.6.3",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -64,7 +64,7 @@
64
64
  "@kitconcept/volto-banner-block": "^1.1.0",
65
65
  "@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1",
66
66
  "@kitconcept/volto-button-block": "^4.0.0",
67
- "@kitconcept/volto-carousel-block": "^2.0.0-alpha.3",
67
+ "@kitconcept/volto-carousel-block": "^2.0.0",
68
68
  "@kitconcept/volto-dsgvo-banner": "^3.0.1",
69
69
  "@kitconcept/volto-heading-block": "^2.5.0",
70
70
  "@kitconcept/volto-highlight-block": "^4.5.0",
@@ -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",
@@ -162,7 +162,7 @@ const IntranetHeader = ({ pathname, content }) => {
162
162
 
163
163
  return (
164
164
  <>
165
- <div className="header">
165
+ <div className="header header-intranet">
166
166
  <div className="tools-wrapper">
167
167
  <LanguageSelector />
168
168
 
@@ -0,0 +1,94 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ import { fileURLToPath } from 'node:url';
4
+ import { describe, expect, it } from 'vitest';
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = path.dirname(__filename);
8
+
9
+ const recommendedAddonsPath = path.resolve(
10
+ __dirname,
11
+ '../../../..',
12
+ 'recommendedAddons.json',
13
+ );
14
+ const mrsDeveloperPath = path.resolve(
15
+ __dirname,
16
+ '../../..',
17
+ 'mrs.developer.json',
18
+ );
19
+
20
+ const readJSON = <T>(filePath: string): T =>
21
+ JSON.parse(fs.readFileSync(filePath, 'utf-8'));
22
+
23
+ const normalizeVersion = (version: unknown) =>
24
+ typeof version === 'string' ? version.replace(/^[\\^~]/, '') : version;
25
+
26
+ const excludedPackages = new Set(['@eeacms/volto-accordion-block']);
27
+
28
+ describe('internal checks', () => {
29
+ it('keeps recommended add-ons in sync with mrs.developer.json', () => {
30
+ const recommendedAddons = readJSON<Record<string, string>>(
31
+ recommendedAddonsPath,
32
+ );
33
+ const mrsDeveloper = readJSON<Record<string, unknown>>(mrsDeveloperPath);
34
+
35
+ const mrsByPackage = Object.entries(mrsDeveloper).reduce<
36
+ Record<string, Record<string, unknown> & { configKey: string }>
37
+ >((acc, [configKey, configValue]) => {
38
+ if (
39
+ configValue &&
40
+ typeof configValue === 'object' &&
41
+ 'package' in configValue
42
+ ) {
43
+ acc[String((configValue as Record<string, unknown>).package)] = {
44
+ ...(configValue as Record<string, unknown>),
45
+ configKey,
46
+ };
47
+ }
48
+ return acc;
49
+ }, {});
50
+
51
+ const issues: string[] = [];
52
+
53
+ Object.entries(recommendedAddons).forEach(
54
+ ([packageName, recommendedVersion]) => {
55
+ if (excludedPackages.has(packageName)) return;
56
+
57
+ const mrsEntry = mrsByPackage[packageName];
58
+
59
+ if (!mrsEntry) {
60
+ issues.push(
61
+ `${packageName} is listed in recommendedAddons.json but missing from frontend/mrs.developer.json.`,
62
+ );
63
+ return;
64
+ }
65
+
66
+ const mrsVersion =
67
+ (mrsEntry.tag as string | undefined) ||
68
+ (mrsEntry.branch as string | undefined) ||
69
+ (mrsEntry.version as string | undefined);
70
+
71
+ if (!mrsVersion) {
72
+ issues.push(
73
+ `${packageName} (${mrsEntry.configKey}) has no tag, branch, or version specified in frontend/mrs.developer.json.`,
74
+ );
75
+ return;
76
+ }
77
+
78
+ const normalizedRecommended = normalizeVersion(recommendedVersion);
79
+ const normalizedMrsVersion = normalizeVersion(mrsVersion);
80
+
81
+ if (
82
+ recommendedVersion !== mrsVersion &&
83
+ normalizedRecommended !== normalizedMrsVersion
84
+ ) {
85
+ issues.push(
86
+ `${packageName} differs: recommendedAddons.json=${recommendedVersion} vs frontend/mrs.developer.json(${mrsEntry.configKey})=${mrsVersion}.`,
87
+ );
88
+ }
89
+ },
90
+ );
91
+
92
+ expect(issues).toEqual([]);
93
+ });
94
+ });
@@ -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
  }
@@ -26,6 +26,7 @@
26
26
  & > span,
27
27
  .input-accordion-title {
28
28
  @include introduction();
29
+ max-width: calc(100% - 50px); // 100% - svg height
29
30
  color: $darkGrey;
30
31
  }
31
32
 
@@ -1,3 +1,4 @@
1
+ .view-editview.is-anonymous,
1
2
  .page-not-found {
2
3
  .content-area {
3
4
  @include default-container-width();
@@ -21,7 +21,9 @@ body.cms-ui .sticky-menu {
21
21
  flex-direction: column;
22
22
  padding: 0;
23
23
  margin: 0;
24
+ gap: 1px;
24
25
  list-style: none;
26
+ text-align: center;
25
27
 
26
28
  li a {
27
29
  display: flex;
@@ -34,16 +36,17 @@ body.cms-ui .sticky-menu {
34
36
  font-size: 10px;
35
37
  font-style: normal;
36
38
  font-weight: 700;
37
- line-height: 18px; /* 180% */
39
+ line-height: 12px;
38
40
  text-transform: capitalize;
39
41
  }
40
42
 
41
43
  li {
42
44
  display: flex;
43
- height: 93px;
45
+ min-height: 97px;
44
46
  flex-direction: column;
45
47
  align-items: center;
46
48
  justify-content: center;
49
+ padding: 5px 10px;
47
50
  margin-bottom: 2px;
48
51
  background: var(--sticky-menu-color, #555);
49
52
  color: var(--sticky-menu-foreground-color, #fff);
@@ -51,7 +54,7 @@ body.cms-ui .sticky-menu {
51
54
  font-size: 10px;
52
55
  font-style: normal;
53
56
  font-weight: 700;
54
- line-height: 18px; /* 180% */
57
+ line-height: 12px;
55
58
  text-transform: capitalize;
56
59
  }
57
60