@kitconcept/volto-light-theme 7.3.1 → 7.5.0
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 -3
- package/CHANGELOG.md +16 -0
- package/package.json +7 -7
- package/src/components/Widgets/ObjectList.tsx +8 -2
package/.changelog.draft
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,22 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 7.5.0 (2025-10-31)
|
|
12
|
+
|
|
13
|
+
### Internal
|
|
14
|
+
|
|
15
|
+
- Better pinned versions. Use volto-button-block 4.0.0 final. @sneridagh
|
|
16
|
+
|
|
17
|
+
## 7.4.0 (2025-10-28)
|
|
18
|
+
|
|
19
|
+
### Feature
|
|
20
|
+
|
|
21
|
+
- To reduce the size of the main VLT repository, snapshots for visual regression testing are now stored in a separate repository (kitconcept/vlt-visual-regression). @sneridagh [#690](https://github.com/kitconcept/volto-light-theme/pull/690)
|
|
22
|
+
|
|
23
|
+
### Bugfix
|
|
24
|
+
|
|
25
|
+
- Fixed corner case when creating an element in the ObjectList widget the element was not being syncronized with the view part. @sneridagh [#696](https://github.com/kitconcept/volto-light-theme/pull/696)
|
|
26
|
+
|
|
11
27
|
## 7.3.1 (2025-10-08)
|
|
12
28
|
|
|
13
29
|
### Bugfix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitconcept/volto-light-theme",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "Volto Light Theme by kitconcept",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -51,27 +51,27 @@
|
|
|
51
51
|
"@dnd-kit/core": "6.0.8",
|
|
52
52
|
"@dnd-kit/sortable": "7.0.2",
|
|
53
53
|
"@dnd-kit/utilities": "3.2.2",
|
|
54
|
+
"@plone/components": "^3.0.2",
|
|
54
55
|
"embla-carousel-autoplay": "^8.0.0",
|
|
55
56
|
"embla-carousel-react": "^8.0.0",
|
|
56
57
|
"react-animate-height": "^3.2.3",
|
|
57
58
|
"react-aria-components": "^1.7.0",
|
|
58
59
|
"react-colorful": "^5.6.1",
|
|
59
|
-
"uuid": "^11.0.0"
|
|
60
|
-
"@plone/components": "^3.0.2"
|
|
60
|
+
"uuid": "^11.0.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@eeacms/volto-accordion-block": "^10.4.6",
|
|
64
64
|
"@kitconcept/volto-banner-block": "^1.1.0",
|
|
65
65
|
"@kitconcept/volto-bm3-compat": "^1.0.0-alpha.1",
|
|
66
|
-
"@kitconcept/volto-button-block": "^4.0.0
|
|
66
|
+
"@kitconcept/volto-button-block": "^4.0.0",
|
|
67
67
|
"@kitconcept/volto-carousel-block": "^2.0.0-alpha.3",
|
|
68
68
|
"@kitconcept/volto-dsgvo-banner": "^2.5.1",
|
|
69
69
|
"@kitconcept/volto-heading-block": "^2.5.0",
|
|
70
|
-
"@kitconcept/volto-highlight-block": "^4.
|
|
70
|
+
"@kitconcept/volto-highlight-block": "^4.5.0",
|
|
71
71
|
"@kitconcept/volto-introduction-block": "^1.1.0",
|
|
72
|
-
"@kitconcept/volto-logos-block": "^3.0.0-alpha.
|
|
72
|
+
"@kitconcept/volto-logos-block": "^3.0.0-alpha.2",
|
|
73
73
|
"@kitconcept/volto-separator-block": "^4.2.1",
|
|
74
|
-
"@kitconcept/volto-slider-block": "^6.4.
|
|
74
|
+
"@kitconcept/volto-slider-block": "^6.4.1",
|
|
75
75
|
"@plonegovbr/volto-social-media": "^2.0.0-alpha.10",
|
|
76
76
|
"classnames": "^2.2.6",
|
|
77
77
|
"lodash": "4.17.21",
|
|
@@ -215,8 +215,14 @@ const ObjectListWidget = (props: ObjectListWidgetProps) => {
|
|
|
215
215
|
intl,
|
|
216
216
|
});
|
|
217
217
|
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
const newValue = [...(value || []), dataWithDefaults];
|
|
219
|
+
|
|
220
|
+
onChange(id, newValue);
|
|
221
|
+
|
|
222
|
+
// Set active the new object ensuring the state is updated after adding the new item
|
|
223
|
+
setTimeout(() => {
|
|
224
|
+
setActiveObject(newValue.length - 1);
|
|
225
|
+
}, 0);
|
|
220
226
|
}}
|
|
221
227
|
>
|
|
222
228
|
<Icon name={addSVG} size="18px" />
|