@kitconcept/volto-light-theme 8.0.0-alpha.25 → 8.0.0-alpha.26

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,12 +1,12 @@
1
- ## 8.0.0-alpha.25 (2026-05-06)
1
+ ## 8.0.0-alpha.26 (2026-05-12)
2
2
 
3
3
  ### Bugfix
4
4
 
5
- - Fix Footer aligned with content @iRohitSingh [#838](https://github.com/kitconcept/volto-light-theme/pull/838)
6
- - Fixed a bug that closed the Navigation when scrolling down with the scrollbar. @ TimoBroeskamp
7
- - Fixed underlined items in the controlpanel and the contents tab. @TimoBroeskamp
8
- - Upgrade Volto 19a33.
9
- Upgrade `volto-calendar-block` 1.0.0a9
10
- https://github.com/plone/volto/releases/tag/19.0.0-alpha.33 @sneridagh
5
+ - Fix Mobile layout of social media icons @iRohitSingh [#852](https://github.com/kitconcept/volto-light-theme/pull/852)
6
+ - Fix social media icon color @iRohitSingh [#854](https://github.com/kitconcept/volto-light-theme/pull/854)
7
+ - Fix loading of inherited site customization fields on error views. @davisagli
8
+ - Fixed not working combinations with the richtext-widget in the text-block and updated line-height of ToC block according to figma. @TimoBroeskamp
9
+ - Update Volto to 19a36.
10
+ See https://github.com/plone/volto/releases/tag/19.0.0-alpha.36 @sneridagh
11
11
 
12
12
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,17 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 8.0.0-alpha.26 (2026-05-12)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix Mobile layout of social media icons @iRohitSingh [#852](https://github.com/kitconcept/volto-light-theme/pull/852)
16
+ - Fix social media icon color @iRohitSingh [#854](https://github.com/kitconcept/volto-light-theme/pull/854)
17
+ - Fix loading of inherited site customization fields on error views. @davisagli
18
+ - Fixed not working combinations with the richtext-widget in the text-block and updated line-height of ToC block according to figma. @TimoBroeskamp
19
+ - Update Volto to 19a36.
20
+ See https://github.com/plone/volto/releases/tag/19.0.0-alpha.36 @sneridagh
21
+
11
22
  ## 8.0.0-alpha.25 (2026-05-06)
12
23
 
13
24
  ### Bugfix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "8.0.0-alpha.25",
3
+ "version": "8.0.0-alpha.26",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -47,7 +47,7 @@
47
47
  "release-it": "^19.0.3",
48
48
  "typescript": "^5.7.3",
49
49
  "vitest": "^3.1.2",
50
- "@plone/types": "2.0.0-alpha.18"
50
+ "@plone/types": "2.0.0-alpha.19"
51
51
  },
52
52
  "dependencies": {
53
53
  "@dnd-kit/core": "6.0.8",
@@ -59,8 +59,8 @@
59
59
  "react-aria-components": "^1.17.0",
60
60
  "react-colorful": "^5.6.1",
61
61
  "uuid": "^11.0.0",
62
- "@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1",
63
- "@plone/components": "^4.0.0-alpha.7"
62
+ "@plone/components": "^4.0.0-alpha.8",
63
+ "@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "classnames": "^2.5.1",
@@ -6,6 +6,7 @@ type FormState = {
6
6
  content: {
7
7
  data: Content;
8
8
  };
9
+ errorContext: Content;
9
10
  form: {
10
11
  global: Content;
11
12
  };
@@ -16,11 +17,15 @@ export function useLiveData<T>(
16
17
  behavior: string | undefined,
17
18
  field: string,
18
19
  ) {
20
+ const errorContext = useSelector((state: FormState) => state.errorContext);
21
+ const context = content ?? errorContext;
22
+
19
23
  const location = useLocation();
20
24
  const addMode = location?.pathname?.endsWith('/add');
25
+
21
26
  const current = behavior
22
- ? (content?.['@components']?.inherit?.[behavior]?.data?.[field] as T)
23
- : (content[field] as T);
27
+ ? (context?.['@components']?.inherit?.[behavior]?.data?.[field] as T)
28
+ : (context[field] as T);
24
29
 
25
30
  const formData = useSelector<FormState, T>(
26
31
  (state) => state.form.global?.[field],
package/src/index.ts CHANGED
@@ -14,6 +14,8 @@ import installWidgets from './config/widgets';
14
14
  import installSlots from './config/slots';
15
15
  import installSummary from './config/summary';
16
16
 
17
+ import reducers from './reducers';
18
+
17
19
  import '@plone/components/dist/basic.css';
18
20
 
19
21
  import type {
@@ -98,6 +100,11 @@ const applyConfig = (config: ConfigType) => {
98
100
 
99
101
  config.views.contentTypesViews.Event = EventView;
100
102
 
103
+ config.addonReducers = {
104
+ ...config.addonReducers,
105
+ ...reducers,
106
+ };
107
+
101
108
  return config;
102
109
  };
103
110
 
@@ -0,0 +1,14 @@
1
+ import { GET_CONTENT } from '@plone/volto/constants/ActionTypes';
2
+
3
+ const initialState = {};
4
+
5
+ export default function errorContext(state = initialState, action: any = {}) {
6
+ switch (action.type) {
7
+ case `${GET_CONTENT}_PENDING`:
8
+ return {};
9
+ case `${GET_CONTENT}_FAIL`:
10
+ return action.error.response?.body ?? {};
11
+ default:
12
+ return state;
13
+ }
14
+ }
@@ -0,0 +1,7 @@
1
+ import errorContext from './errorContext';
2
+
3
+ const reducers = {
4
+ errorContext,
5
+ };
6
+
7
+ export default reducers;
@@ -236,11 +236,22 @@
236
236
  flex-direction: column;
237
237
  justify-content: center;
238
238
  text-align: center;
239
+ ul.social-networks {
240
+ flex-wrap: wrap;
241
+ gap: 10px;
242
+ li {
243
+ margin-right: 0;
244
+ }
245
+ }
239
246
  }
240
247
 
241
248
  .footer-links {
242
249
  ul {
243
- justify-content: center;
250
+ flex-wrap: wrap;
251
+ gap: 10px;
252
+ li {
253
+ margin-right: 0;
254
+ }
244
255
  }
245
256
  }
246
257
 
@@ -387,7 +398,8 @@
387
398
  .main-footer + .post-footer {
388
399
  background-color: var(--primary-color, $white);
389
400
  color: var(--primary-foreground-color, $black);
390
- --social-network-icon-color-main: var(--primary-foreground-color, $black);
401
+ --social-network-icon-color-main: #{$black};
402
+ --social-network-icon-color-hover: #{$black};
391
403
  }
392
404
  }
393
405
 
@@ -37,6 +37,8 @@ header .navigation .item {
37
37
  .breadcrumbs {
38
38
  a:not(.card-primary-link, .label, .item) {
39
39
  color: var(--link-foreground-color, var(--theme-foreground-color));
40
+ font: inherit;
41
+ line-height: inherit;
40
42
  text-decoration: underline;
41
43
  }
42
44
  }
@@ -1,8 +1,9 @@
1
1
  .table-of-contents {
2
2
  .ui.bulleted.list {
3
3
  li {
4
+ line-height: 30px;
4
5
  a {
5
- text-decoration: underline;
6
+ line-height: inherit;
6
7
  }
7
8
 
8
9
  &::before {