diff --git a/docs/source/release-notes/index.md b/docs/source/release-notes/index.md index 040f15972a..791e5af741 100644 --- a/docs/source/release-notes/index.md +++ b/docs/source/release-notes/index.md @@ -17,6 +17,23 @@ myst: +## 18.1.2 (2024-12-05) + +### Bugfix + +- Remove `not ie 11` from browserslist configuration, because it is now included in `not dead`. @stevepiercy [#6501](https://github.com/plone/volto/issues/6501) +- Fix warnings related to `snapshot.managedPaths` on startup. @davisagli [#6511](https://github.com/plone/volto/issues/6511) + +### Internal + +- Add Accessibility acceptance tests for content types. @ana-oprea @ichim-david [#6339](https://github.com/plone/volto/issues/6339) +- Fixed the `README.md` for Volto core when releasing to npm registry: copy it from the root of the monorepo on release. @sneridagh [#6510](https://github.com/plone/volto/issues/6510) + +### Documentation + +- Add new Volto trainings to tutorials. @stevepiercy [#6499](https://github.com/plone/volto/issues/6499) +- `html_use_opensearch` value must not have a trailing slash. Clean up comments. @stevepiercy [#6502](https://github.com/plone/volto/issues/6502) + ## 18.1.1 (2024-11-21) ### Bugfix diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 8b6360ff57..451fc012b6 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -8,6 +8,12 @@ +## 2.2.1 (2024-12-05) + +### Bugfix + +- Fix color picker usability. @sneridagh [#6512](https://github.com/plone/volto/issues/6512) + ## 2.2.0 (2024-11-21) ### Feature diff --git a/packages/components/package.json b/packages/components/package.json index 18004f5337..2e45ce640a 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -8,7 +8,7 @@ } ], "license": "MIT", - "version": "2.2.0", + "version": "2.2.1", "repository": { "type": "git", "url": "http://github.com/plone/components.git" diff --git a/packages/components/src/components/ColorPicker/ColorPicker.stories.tsx b/packages/components/src/components/ColorPicker/ColorPicker.stories.tsx index 1f94cc3a6c..686b2dd859 100644 --- a/packages/components/src/components/ColorPicker/ColorPicker.stories.tsx +++ b/packages/components/src/components/ColorPicker/ColorPicker.stories.tsx @@ -14,11 +14,22 @@ const meta = { tags: ['autodocs'], } satisfies Meta; +const ColorPickerStory = (args: any) => { + const [color, setColor] = React.useState(args.defaultValue); + + return ( + <> + + The color is: {color.toString('hex')} + + ); +}; + export default meta; type Story = StoryObj; export const Default: Story = { - render: (args: any) => , + render: ColorPickerStory, }; Default.args = { diff --git a/packages/components/src/components/ColorPicker/ColorPicker.tsx b/packages/components/src/components/ColorPicker/ColorPicker.tsx index 4bedc19b43..f8bed1f0bd 100644 --- a/packages/components/src/components/ColorPicker/ColorPicker.tsx +++ b/packages/components/src/components/ColorPicker/ColorPicker.tsx @@ -35,7 +35,14 @@ export function ColorPicker({ label, children, ...props }: ColorPickerProps) { yChannel="brightness" /> - + { + if (e.key === 'Enter') { + e.currentTarget.blur(); + } + }} + /> )} diff --git a/packages/volto/.release-it.json b/packages/volto/.release-it.json index 28780df7e4..0395373591 100644 --- a/packages/volto/.release-it.json +++ b/packages/volto/.release-it.json @@ -5,7 +5,9 @@ "hooks": { "before:bump": ["pnpm i18n", "pnpm build:types", "git add types"], "after:bump": [ - "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}", + "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft", + "pipx run towncrier build --yes --version ${version}", + "cp ../../README.md ./", "make release-notes-copy-to-docs" ], "after:release": "rm .changelog.draft" diff --git a/packages/volto/CHANGELOG.md b/packages/volto/CHANGELOG.md index 040f15972a..791e5af741 100644 --- a/packages/volto/CHANGELOG.md +++ b/packages/volto/CHANGELOG.md @@ -17,6 +17,23 @@ myst: +## 18.1.2 (2024-12-05) + +### Bugfix + +- Remove `not ie 11` from browserslist configuration, because it is now included in `not dead`. @stevepiercy [#6501](https://github.com/plone/volto/issues/6501) +- Fix warnings related to `snapshot.managedPaths` on startup. @davisagli [#6511](https://github.com/plone/volto/issues/6511) + +### Internal + +- Add Accessibility acceptance tests for content types. @ana-oprea @ichim-david [#6339](https://github.com/plone/volto/issues/6339) +- Fixed the `README.md` for Volto core when releasing to npm registry: copy it from the root of the monorepo on release. @sneridagh [#6510](https://github.com/plone/volto/issues/6510) + +### Documentation + +- Add new Volto trainings to tutorials. @stevepiercy [#6499](https://github.com/plone/volto/issues/6499) +- `html_use_opensearch` value must not have a trailing slash. Clean up comments. @stevepiercy [#6502](https://github.com/plone/volto/issues/6502) + ## 18.1.1 (2024-11-21) ### Bugfix diff --git a/packages/volto/news/6339.internal b/packages/volto/news/6339.internal deleted file mode 100644 index 972df6ac4d..0000000000 --- a/packages/volto/news/6339.internal +++ /dev/null @@ -1 +0,0 @@ -Add Accessibility acceptance tests for content types. @ana-oprea @ichim-david diff --git a/packages/volto/news/6499.documentation b/packages/volto/news/6499.documentation deleted file mode 100644 index 30b4d41068..0000000000 --- a/packages/volto/news/6499.documentation +++ /dev/null @@ -1 +0,0 @@ -Add new Volto trainings to tutorials. @stevepiercy diff --git a/packages/volto/news/6501.bugfix b/packages/volto/news/6501.bugfix deleted file mode 100644 index 90818d36c8..0000000000 --- a/packages/volto/news/6501.bugfix +++ /dev/null @@ -1 +0,0 @@ -Remove `not ie 11` from browserslist configuration, because it is now included in `not dead`. @stevepiercy diff --git a/packages/volto/news/6502.documentation b/packages/volto/news/6502.documentation deleted file mode 100644 index d46a5b6816..0000000000 --- a/packages/volto/news/6502.documentation +++ /dev/null @@ -1 +0,0 @@ -`html_use_opensearch` value must not have a trailing slash. Clean up comments. @stevepiercy diff --git a/packages/volto/package.json b/packages/volto/package.json index 8e002cf546..dbca426284 100644 --- a/packages/volto/package.json +++ b/packages/volto/package.json @@ -9,7 +9,7 @@ } ], "license": "MIT", - "version": "18.1.1", + "version": "18.1.2", "repository": { "type": "git", "url": "git@github.com:plone/volto.git" diff --git a/packages/volto/razzle.config.js b/packages/volto/razzle.config.js index a37df657ac..5ab88cb132 100644 --- a/packages/volto/razzle.config.js +++ b/packages/volto/razzle.config.js @@ -414,15 +414,6 @@ const defaultModify = ({ ] : []; - if (config.devServer) { - config.devServer.static.watch.ignored = /node_modules\/(?!@plone\/volto)/; - config.snapshot = { - managedPaths: [ - /^(.+?[\\/]node_modules[\\/](?!(@plone[\\/]volto))(@.+?[\\/])?.+?)[\\/]/, - ], - }; - } - return config; };