@kitconcept/volto-light-theme 6.0.0-alpha.0 → 6.0.0-alpha.2
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 +3 -29
- package/CHANGELOG.md +12 -0
- package/package.json +2 -2
- package/src/components/Blocks/Image/schema.js +8 -7
package/.changelog.draft
CHANGED
|
@@ -1,33 +1,7 @@
|
|
|
1
|
-
## 6.0.0-alpha.
|
|
1
|
+
## 6.0.0-alpha.2 (2024-11-25)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### Bugfix
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
New widths definitions
|
|
7
|
-
Moved the Image block and the button block to use the new block width widget.
|
|
8
|
-
The `full` image width now is really full width and spans from side to side of the viewport.
|
|
9
|
-
Removed Container Query Polyfill configuration profile
|
|
10
|
-
New Background widgets based in `@plone/components`
|
|
11
|
-
@danalvrz @sneridagh [#420](https://github.com/kitconcept/volto-light-theme/pull/420)
|
|
12
|
-
- Remove deprecated Atoms (Container) components. @sneridagh [#433](https://github.com/kitconcept/volto-light-theme/pull/433)
|
|
13
|
-
|
|
14
|
-
### Feature
|
|
15
|
-
|
|
16
|
-
- Add support for visual regression tests @reebalazs [#383](https://github.com/kitconcept/volto-light-theme/pull/383)
|
|
17
|
-
- Added `aspect-ratio` field to images.
|
|
18
|
-
Added a new block width widget.
|
|
19
|
-
Added optional footer links and footer logos (through custom content type behavior).
|
|
20
|
-
Added `aboveHeader` slot renderer (it holds the new `Theming` slot).
|
|
21
|
-
@danalvrz @sneridagh [#420](https://github.com/kitconcept/volto-light-theme/pull/420)
|
|
22
|
-
|
|
23
|
-
### Internal
|
|
24
|
-
|
|
25
|
-
- Get rid of all imports from Volto barrel files.
|
|
26
|
-
Added a rule to enforce not to import from `@plone/volto/components`, `@plone/volto/helpers` or `@plone/volto/actions`. @sneridagh [#418](https://github.com/kitconcept/volto-light-theme/pull/418)
|
|
27
|
-
- Update to Volto 18a46 @sneridagh [#419](https://github.com/kitconcept/volto-light-theme/pull/419)
|
|
28
|
-
|
|
29
|
-
### Documentation
|
|
30
|
-
|
|
31
|
-
- Add standard documentation @sneridagh [#423](https://github.com/kitconcept/volto-light-theme/pull/423)
|
|
5
|
+
- Fix Image block schema bug on creation. @sneridagh [#434](https://github.com/kitconcept/volto-light-theme/pull/434)
|
|
32
6
|
|
|
33
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,18 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 6.0.0-alpha.2 (2024-11-25)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Fix Image block schema bug on creation. @sneridagh [#434](https://github.com/kitconcept/volto-light-theme/pull/434)
|
|
16
|
+
|
|
17
|
+
## 6.0.0-alpha.1 (2024-11-21)
|
|
18
|
+
|
|
19
|
+
### Bugfix
|
|
20
|
+
|
|
21
|
+
- Change the pin type in `workspace` dependency declaration for `@plone/components`. @sneridagh
|
|
22
|
+
|
|
11
23
|
## 6.0.0-alpha.0 (2024-11-21)
|
|
12
24
|
|
|
13
25
|
### Breaking
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitconcept/volto-light-theme",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.2",
|
|
4
4
|
"description": "Volto Light Theme by kitconcept",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/types/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"uuid": "^11.0.0",
|
|
40
|
-
"@plone/components": "2.1.1"
|
|
40
|
+
"@plone/components": "^2.1.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@eeacms/volto-accordion-block": "^10.4.6",
|
|
@@ -61,15 +61,16 @@ export const imageBlockSchemaEnhancer = ({ formData, schema, intl }) => {
|
|
|
61
61
|
schema.properties.title = {
|
|
62
62
|
title: intl.formatMessage(messages.Title),
|
|
63
63
|
};
|
|
64
|
-
}
|
|
65
|
-
schema.properties.align.default = 'center';
|
|
66
|
-
schema.properties.align.actions = ['left', 'right', 'center'];
|
|
67
64
|
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
schema.properties.align.default = 'center';
|
|
66
|
+
schema.properties.align.actions = ['left', 'right', 'center'];
|
|
67
|
+
|
|
68
|
+
schema.properties.size.default = 'l';
|
|
69
|
+
schema.properties.size.disabled = formData.align === 'center';
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
schema.properties.styles.schema.properties['blockWidth:noprefix'].disabled =
|
|
72
|
+
formData.align === 'left' || formData.align === 'right';
|
|
73
|
+
}
|
|
73
74
|
|
|
74
75
|
return schema;
|
|
75
76
|
};
|