Add changeset + report

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-04-15 15:32:47 +02:00
parent 5a7cf6e027
commit 35b36ecbdf
2 changed files with 25 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/canon': patch
---
Add new Collapsible component for Canon.
+20
View File
@@ -6,6 +6,7 @@
import { Avatar as Avatar_2 } from '@base-ui-components/react/avatar';
import { Breakpoint as Breakpoint_2 } from '@backstage/canon';
import { ChangeEvent } from 'react';
import { Collapsible as Collapsible_2 } from '@base-ui-components/react/collapsible';
import { Context } from 'react';
import type { CSSProperties } from 'react';
import { FC } from 'react';
@@ -207,6 +208,25 @@ export interface CheckboxProps {
value?: string;
}
// @public
export const Collapsible: {
Root: ForwardRefExoticComponent<
Omit<Collapsible_2.Root.Props & RefAttributes<HTMLDivElement>, 'ref'> &
RefAttributes<HTMLDivElement>
>;
Trigger: ForwardRefExoticComponent<
Omit<
Collapsible_2.Trigger.Props & RefAttributes<HTMLButtonElement>,
'ref'
> &
RefAttributes<HTMLButtonElement>
>;
Panel: ForwardRefExoticComponent<
Omit<Collapsible_2.Panel.Props & RefAttributes<HTMLButtonElement>, 'ref'> &
RefAttributes<HTMLButtonElement>
>;
};
// @public (undocumented)
export type Columns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 'auto';