diff --git a/CHANGELOG.md b/CHANGELOG.md index adc30714a..bd89d73a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- Correctly export `Collapsible` core component + ## [1.0.32] - 2024-06-04 ### Added diff --git a/src/core/components/collapsible/collapsible.api.ts b/src/core/components/collapsible/collapsible.api.ts index b2d24e17d..9619a78c2 100644 --- a/src/core/components/collapsible/collapsible.api.ts +++ b/src/core/components/collapsible/collapsible.api.ts @@ -4,7 +4,8 @@ export type CollapsedSize = 'sm' | 'md' | 'lg'; export interface ICollapsibleProps extends ComponentProps<'div'> { /** - * The initial height of the collapsible container while closed. @default md + * The initial height of the collapsible container while closed. + * @default md */ collapsedSize?: CollapsedSize; /** @@ -12,11 +13,13 @@ export interface ICollapsibleProps extends ComponentProps<'div'> { */ customCollapsedHeight?: number; /** - * Controlled state of the collapsible container. @default false + * Controlled state of the collapsible container. + * @default false */ isOpen?: boolean; /** - * Default state of the collapsible container. @default false + * Default state of the collapsible container. + * @default false */ defaultOpen?: boolean; /** @@ -28,7 +31,8 @@ export interface ICollapsibleProps extends ComponentProps<'div'> { */ buttonLabelOpened?: string; /** - * Show overlay when the collapsible container is open. @default false + * Show overlay when the collapsible container is open. + * @default false */ showOverlay?: boolean; /** diff --git a/src/core/components/index.ts b/src/core/components/index.ts index fa2575269..d3decd984 100644 --- a/src/core/components/index.ts +++ b/src/core/components/index.ts @@ -5,6 +5,7 @@ export * from './breadcrumbs'; export * from './button'; export * from './cards'; export * from './checkbox'; +export * from './collapsible'; export * from './dataList'; export * from './definitionList'; export * from './dialogs';