From 8aa167a6d5ffb94f329dec42c0d9c96700ea27d6 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Fri, 5 Apr 2024 12:41:30 +0200 Subject: [PATCH] Release 18.0.0-alpha.27 --- docs/source/release-notes/index.md | 7 +++++++ packages/volto/CHANGELOG.md | 7 +++++++ packages/volto/news/5772.bugfix | 1 - packages/volto/news/5948.bugfix | 1 - packages/volto/package.json | 2 +- .../components/manage/Widgets/ColorPickerWidget.d.ts | 10 +++++----- 6 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 packages/volto/news/5772.bugfix delete mode 100644 packages/volto/news/5948.bugfix diff --git a/docs/source/release-notes/index.md b/docs/source/release-notes/index.md index 4965309003..4080f24d48 100644 --- a/docs/source/release-notes/index.md +++ b/docs/source/release-notes/index.md @@ -17,6 +17,13 @@ myst: +## 18.0.0-alpha.27 (2024-04-05) + +### Bugfix + +- Enhanced navigation reducer in Volto to keep items extra-data sent from the navigation endpoint @Hrittik20 [#5772](https://github.com/plone/volto/issues/5772) +- Improve `ColorPickerWidget` typings @sneridagh [#5948](https://github.com/plone/volto/issues/5948) + ## 18.0.0-alpha.26 (2024-04-03) ### Breaking diff --git a/packages/volto/CHANGELOG.md b/packages/volto/CHANGELOG.md index 4965309003..4080f24d48 100644 --- a/packages/volto/CHANGELOG.md +++ b/packages/volto/CHANGELOG.md @@ -17,6 +17,13 @@ myst: +## 18.0.0-alpha.27 (2024-04-05) + +### Bugfix + +- Enhanced navigation reducer in Volto to keep items extra-data sent from the navigation endpoint @Hrittik20 [#5772](https://github.com/plone/volto/issues/5772) +- Improve `ColorPickerWidget` typings @sneridagh [#5948](https://github.com/plone/volto/issues/5948) + ## 18.0.0-alpha.26 (2024-04-03) ### Breaking diff --git a/packages/volto/news/5772.bugfix b/packages/volto/news/5772.bugfix deleted file mode 100644 index 95f227953d..0000000000 --- a/packages/volto/news/5772.bugfix +++ /dev/null @@ -1 +0,0 @@ -Enhanced navigation reducer in Volto to keep items extra-data sent from the navigation endpoint @Hrittik20 diff --git a/packages/volto/news/5948.bugfix b/packages/volto/news/5948.bugfix deleted file mode 100644 index 5128d9f999..0000000000 --- a/packages/volto/news/5948.bugfix +++ /dev/null @@ -1 +0,0 @@ -Improve `ColorPickerWidget` typings @sneridagh diff --git a/packages/volto/package.json b/packages/volto/package.json index b3b4f4bd3d..eafd481366 100644 --- a/packages/volto/package.json +++ b/packages/volto/package.json @@ -9,7 +9,7 @@ } ], "license": "MIT", - "version": "18.0.0-alpha.26", + "version": "18.0.0-alpha.27", "repository": { "type": "git", "url": "git@github.com:plone/volto.git" diff --git a/packages/volto/types/components/manage/Widgets/ColorPickerWidget.d.ts b/packages/volto/types/components/manage/Widgets/ColorPickerWidget.d.ts index 7b7486894b..2b788544bc 100644 --- a/packages/volto/types/components/manage/Widgets/ColorPickerWidget.d.ts +++ b/packages/volto/types/components/manage/Widgets/ColorPickerWidget.d.ts @@ -10,11 +10,11 @@ type Color = { export type ColorPickerWidgetProps = { id: string; title: string; - value: string; - default: string; - required: boolean; - missing_value: unknown; - className: string; + value?: string; + default?: string | object; + required?: boolean; + missing_value?: unknown; + className?: string; onChange: (id: string, value: any) => void; colors: Color[]; };