@kitconcept/volto-light-theme 6.0.0-alpha.7 → 6.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,15 +1,7 @@
|
|
|
1
|
-
## 6.0.0-alpha.
|
|
2
|
-
|
|
3
|
-
### Feature
|
|
4
|
-
|
|
5
|
-
- Image aspect-ratio handlers for Teaser/Image inside a grid. @sneridagh [#447](https://github.com/kitconcept/volto-light-theme/pull/447)
|
|
1
|
+
## 6.0.0-alpha.8 (2024-12-13)
|
|
6
2
|
|
|
7
3
|
### Bugfix
|
|
8
4
|
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
### Documentation
|
|
12
|
-
|
|
13
|
-
- Update compatibility matrix. @sneridagh [#447](https://github.com/kitconcept/volto-light-theme/pull/447)
|
|
5
|
+
- Remove the `aspect-ratio` handler by default in images and teasers. @sneridagh [#448](https://github.com/kitconcept/volto-light-theme/pull/448)
|
|
14
6
|
|
|
15
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 6.0.0-alpha.8 (2024-12-13)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Remove the `aspect-ratio` handler by default in images and teasers. @sneridagh [#448](https://github.com/kitconcept/volto-light-theme/pull/448)
|
|
16
|
+
|
|
11
17
|
## 6.0.0-alpha.7 (2024-12-11)
|
|
12
18
|
|
|
13
19
|
### Feature
|
package/package.json
CHANGED
|
@@ -56,7 +56,6 @@ export const standAloneImageBlockSchemaEnhancer = ({
|
|
|
56
56
|
schema.properties.size.disabled = formData.align === 'center';
|
|
57
57
|
schema.properties.styles.schema.fieldsets[0].fields = [
|
|
58
58
|
'blockWidth:noprefix',
|
|
59
|
-
'--image-aspect-ratio',
|
|
60
59
|
...schema.properties.styles.schema.fieldsets[0].fields,
|
|
61
60
|
];
|
|
62
61
|
|
|
@@ -68,15 +67,6 @@ export const standAloneImageBlockSchemaEnhancer = ({
|
|
|
68
67
|
actions: config.blocks.widths,
|
|
69
68
|
};
|
|
70
69
|
|
|
71
|
-
schema.properties.styles.schema.properties['--image-aspect-ratio'] = {
|
|
72
|
-
widget: 'select',
|
|
73
|
-
title: 'Aspect Ratio',
|
|
74
|
-
choices: [
|
|
75
|
-
['16 / 9', '16/9'],
|
|
76
|
-
['1', '1:1'],
|
|
77
|
-
],
|
|
78
|
-
};
|
|
79
|
-
|
|
80
70
|
schema.properties.styles.schema.properties['blockWidth:noprefix'].disabled =
|
|
81
71
|
formData.align === 'left' || formData.align === 'right';
|
|
82
72
|
}
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
export const teaserSchemaEnhancer = ({ schema, formData, intl }) => {
|
|
2
2
|
schema.properties.href.selectedItemAttrs.push('getRemoteUrl');
|
|
3
3
|
|
|
4
|
-
schema.properties.styles.schema.fieldsets[0].fields = [
|
|
5
|
-
...schema.properties.styles.schema.fieldsets[0].fields,
|
|
6
|
-
'--image-aspect-ratio',
|
|
7
|
-
];
|
|
8
|
-
|
|
9
|
-
schema.properties.styles.schema.properties['--image-aspect-ratio'] = {
|
|
10
|
-
widget: 'select',
|
|
11
|
-
title: 'Aspect Ratio',
|
|
12
|
-
choices: [
|
|
13
|
-
['1', '1:1'],
|
|
14
|
-
['16 / 9', '16/9'],
|
|
15
|
-
],
|
|
16
|
-
};
|
|
17
|
-
|
|
18
4
|
return schema;
|
|
19
5
|
};
|
|
20
6
|
|