From 27bce89008b395713812cee5bc0fe60b7db25005 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Thu, 10 Oct 2024 11:42:18 +0200 Subject: [PATCH 1/2] Add missing export for new components --- packages/components/src/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/components/src/index.ts b/packages/components/src/index.ts index fd11f012a8..6e403919b2 100644 --- a/packages/components/src/index.ts +++ b/packages/components/src/index.ts @@ -2,6 +2,13 @@ export { BlockToolbar } from './components/BlockToolbar/BlockToolbar'; export { Breadcrumbs } from './components/Breadcrumbs/Breadcrumbs'; export { Button } from './components/Button/Button'; export { Calendar } from './components/Calendar/Calendar'; +export { ColorArea } from './components/ColorArea/ColorArea'; +export { ColorField } from './components/ColorField/ColorField'; +export { ColorPicker } from './components/ColorPicker/ColorPicker'; +export { ColorSlider } from './components/ColorSlider/ColorSlider'; +export { ColorSwatch } from './components/ColorSwatch/ColorSwatch'; +export { ColorSwatchPicker } from './components/ColorSwatchPicker/ColorSwatchPicker'; +export { ColorWheel } from './components/ColorWheel/ColorWheel'; export { Checkbox } from './components/Checkbox/Checkbox'; export { CheckboxField } from './components/CheckboxField/CheckboxField'; export { CheckboxGroup } from './components/CheckboxGroup/CheckboxGroup'; @@ -11,6 +18,8 @@ export { DateField } from './components/DateField/DateField'; export { DatePicker } from './components/DatePicker/DatePicker'; export { DateRangePicker } from './components/DateRangePicker/DateRangePicker'; export { Dialog } from './components/Dialog/Dialog'; +export { Disclosure } from './components/Disclosure/Disclosure'; +export { DisclosureGroup } from './components/DisclosureGroup/DisclosureGroup'; export { Form } from './components/Form/Form'; export { GridList, GridListItem } from './components/GridList/GridList'; export { Icon } from './components/Icon/Icon'; From a9aceef07825166f8ce4a05af277c4e8d56461b7 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Thu, 10 Oct 2024 11:47:40 +0200 Subject: [PATCH 2/2] Changelog --- packages/components/news/6391.bugfix | 1 + packages/components/src/views/RenderBlocks/RenderBlocks.tsx | 1 + 2 files changed, 2 insertions(+) create mode 100644 packages/components/news/6391.bugfix diff --git a/packages/components/news/6391.bugfix b/packages/components/news/6391.bugfix new file mode 100644 index 0000000000..7711e93274 --- /dev/null +++ b/packages/components/news/6391.bugfix @@ -0,0 +1 @@ +Add missing export for new components @sneridagh diff --git a/packages/components/src/views/RenderBlocks/RenderBlocks.tsx b/packages/components/src/views/RenderBlocks/RenderBlocks.tsx index e0489596b8..91d6ba4342 100644 --- a/packages/components/src/views/RenderBlocks/RenderBlocks.tsx +++ b/packages/components/src/views/RenderBlocks/RenderBlocks.tsx @@ -44,6 +44,7 @@ export const RenderBlocks = (props: RenderBlocksProps) => { const Block = blocksConfig[blockType]?.view || DefaultBlockView; return Block ? ( + // @ts-ignore It's ok to pass the blockData as is