@kitconcept/volto-light-theme 7.0.0-alpha.25 → 7.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,15 +1,8 @@
1
- ## 7.0.0-alpha.25 (2025-09-01)
2
-
3
- ### Feature
4
-
5
- - Fixed missing person grid listing with correct styles. @sneridagh
1
+ ## 7.0.0-alpha.26 (2025-09-03)
6
2
 
7
3
  ### Bugfix
8
4
 
9
- - Fix teaser regression in accordion due to semantic UI title classname leak @iRohitSingh [#634](https://github.com/kitconcept/volto-light-theme/pull/634)
10
- - Fix Grid listing variant List with Image not showing columns 3 & 4 properly @iRohitSingh [#636](https://github.com/kitconcept/volto-light-theme/pull/636)
11
- - Fix download link on File content-type if the file has no filename. [@jnptk]
12
- - Fixed bug in person teaser standalone centering. @sneridagh
13
- - fix the margin-bottom and arrows for simple slider in mobile view @Tishasoumya-02
5
+ - Fix css for cross button on hover @Tishasoumya-02
6
+ - Remove arrows and fix the background and text colors for slider simple variant @Tishasoumya-02
14
7
 
15
8
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,13 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 7.0.0-alpha.26 (2025-09-03)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix css for cross button on hover @Tishasoumya-02
16
+ - Remove arrows and fix the background and text colors for slider simple variant @Tishasoumya-02
17
+
11
18
  ## 7.0.0-alpha.25 (2025-09-01)
12
19
 
13
20
  ### Feature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "7.0.0-alpha.25",
3
+ "version": "7.0.0-alpha.26",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -30,7 +30,11 @@ function Edit(props) {
30
30
 
31
31
  const handleChange = React.useCallback(
32
32
  async (id, image, { title, image_field, image_scales } = {}) => {
33
- const url = image ? image['@id'] || image : '';
33
+ const url = Array.isArray(image)
34
+ ? image?.[0]?.['@id']
35
+ : image
36
+ ? image['@id'] || image
37
+ : '';
34
38
 
35
39
  props.onChangeBlock(props.block, {
36
40
  ...props.data,
@@ -40,6 +40,7 @@ export default function install(config: ConfigType) {
40
40
  // ObjectList widget override - use our own non-semanticUI widget
41
41
  // it uses also dnd-kit for drag and drop
42
42
  config.widgets.widget.object_list = ObjectList;
43
+ config.widgets.id.preview_image_link = config.widgets.widget.image;
43
44
 
44
45
  config.widgets.widget.blockWidth = BlockWidth;
45
46
  config.widgets.widget.blockAlignment = BlockAlignment;
@@ -252,3 +252,10 @@ span.color-contrast-label {
252
252
  color: #d01157 !important;
253
253
  font-size: 14px;
254
254
  }
255
+
256
+ .field-wrapper-preview_image_link
257
+ .image-upload-widget-image
258
+ .image-upload-widget-toolbar
259
+ .icon.circled:hover {
260
+ background: $greySnow;
261
+ }
@@ -187,12 +187,12 @@ $sliderImagesAspectRatio: var(--slider-images-aspect-ratio, 16/9);
187
187
  height: 100%;
188
188
  align-content: start;
189
189
  padding: 60px 20px;
190
- background: var(--theme-foreground-color);
191
- color: $white;
190
+ background: var(--theme-color);
191
+ color: var(--theme-foreground-color);
192
192
  .ui.button,
193
193
  .title > h2,
194
194
  p.slider-description {
195
- color: $white !important;
195
+ color: var(--theme-foreground-color) !important;
196
196
  }
197
197
  p.slider-description {
198
198
  -webkit-line-clamp: 8;
@@ -225,28 +225,17 @@ $sliderImagesAspectRatio: var(--slider-images-aspect-ratio, 16/9);
225
225
  width: 130px;
226
226
  height: 100%;
227
227
  align-items: center;
228
+ background: none;
229
+ opacity: 1;
228
230
 
229
- @media only screen and (min-width: $computer-width) {
230
- background: none;
231
- opacity: 1;
232
- }
233
231
  svg.icon {
234
232
  width: 50px !important;
235
233
  height: 50px !important;
236
234
  padding: 40px;
237
235
  color: var(--theme-foreground-color);
238
- @media only screen and (max-width: $computer-width) {
239
- padding: 0;
240
- color: $white;
241
- }
242
236
  }
243
237
  @media only screen and (max-width: $computer-width) {
244
- position: absolute;
245
- width: 50px;
246
- height: calc(
247
- var(--slider-container-width) * 1 /
248
- var(--slider-images-aspect-ratio, 1.77777778)
249
- );
238
+ display: none;
250
239
  }
251
240
  }
252
241
  .ui.button {