@kitconcept/volto-light-theme 7.0.0-alpha.7 → 7.0.0-alpha.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.draft CHANGED
@@ -1,7 +1,9 @@
1
- ## 7.0.0-alpha.7 (2025-06-04)
1
+ ## 7.0.0-alpha.8 (2025-06-06)
2
2
 
3
- ### Feature
3
+ ### Bugfix
4
4
 
5
- - Update pt_BR translation. @ericof
5
+ - Fix duplicated pagination on mobile. @danalvrz [#558](https://github.com/kitconcept/volto-light-theme/pull/558)
6
+ - Fixed summaries on Events and News Items. @sneridagh [#567](https://github.com/kitconcept/volto-light-theme/pull/567)
7
+ - Update volto-carousel-block, fixed adaptation needed for the latest VLT changes. @sneridagh
6
8
 
7
9
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,14 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 7.0.0-alpha.8 (2025-06-06)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix duplicated pagination on mobile. @danalvrz [#558](https://github.com/kitconcept/volto-light-theme/pull/558)
16
+ - Fixed summaries on Events and News Items. @sneridagh [#567](https://github.com/kitconcept/volto-light-theme/pull/567)
17
+ - Update volto-carousel-block, fixed adaptation needed for the latest VLT changes. @sneridagh
18
+
11
19
  ## 7.0.0-alpha.7 (2025-06-04)
12
20
 
13
21
  ### Feature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "7.0.0-alpha.7",
3
+ "version": "7.0.0-alpha.8",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -37,7 +37,7 @@
37
37
  "@types/react": "^18.3.12",
38
38
  "@types/react-dom": "^18.3.1",
39
39
  "release-it": "^19.0.3",
40
- "@plone/types": "1.4.1"
40
+ "@plone/types": "1.4.5"
41
41
  },
42
42
  "dependencies": {
43
43
  "@dnd-kit/core": "6.0.8",
@@ -54,7 +54,7 @@
54
54
  "@eeacms/volto-accordion-block": "^10.4.6",
55
55
  "@kitconcept/volto-banner-block": "^1.0.1",
56
56
  "@kitconcept/volto-button-block": "^4.0.0-alpha.0",
57
- "@kitconcept/volto-carousel-block": "^2.0.0-alpha.0",
57
+ "@kitconcept/volto-carousel-block": "^2.0.0-alpha.1",
58
58
  "@kitconcept/volto-dsgvo-banner": "^2.4.0",
59
59
  "@kitconcept/volto-heading-block": "^2.4.0",
60
60
  "@kitconcept/volto-highlight-block": "^4.1.0",
@@ -1,5 +1,8 @@
1
1
  export const teaserSchemaEnhancer = ({ schema, formData, intl }) => {
2
2
  schema.properties.href.selectedItemAttrs.push('getRemoteUrl');
3
+ schema.properties.href.selectedItemAttrs.push('effective');
4
+ schema.properties.href.selectedItemAttrs.push('start');
5
+ schema.properties.href.selectedItemAttrs.push('end');
3
6
 
4
7
  return schema;
5
8
  };
@@ -290,42 +290,22 @@
290
290
  }
291
291
  }
292
292
  }
293
+
293
294
  .pagination-wrapper {
294
295
  .ui.pagination.desktop-pagination.menu {
295
- display: flex;
296
296
  background: none;
297
297
 
298
298
  a {
299
- max-height: 38px !important;
300
- border-color: var(--theme-foreground-color);
301
- color: var(--theme-foreground-color);
302
-
303
299
  &:nth-child(n):not(:last-child) {
304
300
  border-right: none;
305
301
  }
306
-
307
- &.disabled {
308
- color: var(--theme-low-contrast-foreground-color) !important;
309
- }
310
-
311
- &.active {
312
- background: var(--theme-foreground-color);
313
- color: var(--theme-color);
314
- }
315
302
  }
316
303
  }
317
304
 
318
- .total {
319
- color: var(--theme-foreground-color);
320
- }
321
- }
322
-
323
- .pagination-wrapper {
324
305
  .ui.pagination.menu {
325
- display: flex;
326
306
  background: none;
327
307
 
328
- a {
308
+ a.item {
329
309
  max-height: 38px !important;
330
310
  border-color: var(--theme-foreground-color);
331
311
  color: var(--theme-foreground-color);
@@ -283,7 +283,13 @@ External link removal for all the blocks.
283
283
  @include adjustMarginsToContainer($narrow-container-width);
284
284
  }
285
285
 
286
- &:not(.highlight, .teaser, .gridBlock, .slider).has--block-width--default {
286
+ &:not(
287
+ .highlight,
288
+ .teaser,
289
+ .gridBlock,
290
+ .slider,
291
+ .listing
292
+ ).has--block-width--default {
287
293
  @include adjustMarginsToContainer($default-container-width);
288
294
  }
289
295
 
@@ -228,6 +228,24 @@
228
228
  right: -68px;
229
229
  }
230
230
 
231
+ @media only screen and (max-width: $narrow-container-width) {
232
+ &.image-gallery-left-nav {
233
+ left: -0.5rem;
234
+ }
235
+ &.image-gallery-right-nav {
236
+ right: -0.5rem;
237
+ }
238
+ }
239
+
240
+ @media only screen and (max-width: 1085px) {
241
+ &.image-gallery-left-nav {
242
+ left: -1rem;
243
+ }
244
+ &.image-gallery-right-nav {
245
+ right: -1rem;
246
+ }
247
+ }
248
+
231
249
  &.image-gallery-fullscreen-button,
232
250
  &.image-gallery-play-button {
233
251
  bottom: -94px;
@@ -361,7 +379,7 @@
361
379
 
362
380
  @container (max-width: #{$largest-mobile-screen}) {
363
381
  &.mobile-pagination {
364
- display: unset;
382
+ display: table-row;
365
383
  }
366
384
 
367
385
  &.desktop-pagination {