ui: update api-report with new flex item props

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2026-04-16 12:59:49 +01:00
parent 60224fb0fd
commit 68cf3f113c
+25
View File
@@ -431,6 +431,9 @@ export const BoxDefinition: {
'py',
'position',
'display',
'grow',
'shrink',
'basis',
'width',
'minWidth',
'maxWidth',
@@ -452,6 +455,7 @@ export type BoxOwnProps = {
// @public (undocumented)
export interface BoxProps
extends SpaceProps,
FlexItemProps,
BoxOwnProps,
BoxUtilityProps,
Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {}
@@ -702,7 +706,9 @@ export const CardDefinition: {
readonly target: {};
readonly rel: {};
readonly download: {};
readonly style: {};
};
readonly utilityProps: readonly ['grow', 'shrink', 'basis'];
};
// @public
@@ -790,6 +796,7 @@ export type CardOwnProps = Pick<
// @public
export type CardProps = CardBaseProps &
FlexItemProps &
Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'> &
(CardButtonVariant | CardLinkVariant | CardStaticVariant);
@@ -1315,12 +1322,25 @@ export const FlexDefinition: {
'align',
'justify',
'direction',
'grow',
'shrink',
'basis',
];
};
// @public (undocumented)
export type FlexDirection = 'row' | 'column';
// @public (undocumented)
export interface FlexItemProps {
// (undocumented)
basis?: Responsive<string>;
// (undocumented)
grow?: Responsive<number | boolean>;
// (undocumented)
shrink?: Responsive<number | boolean>;
}
// @public (undocumented)
export type FlexOwnProps = {
children: ReactNode;
@@ -1332,6 +1352,7 @@ export type FlexOwnProps = {
// @public (undocumented)
export interface FlexProps
extends SpaceProps,
FlexItemProps,
FlexOwnProps,
Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
// (undocumented)
@@ -1422,6 +1443,9 @@ export const GridDefinition: {
'pt',
'px',
'py',
'grow',
'shrink',
'basis',
];
};
@@ -1478,6 +1502,7 @@ export type GridOwnProps = {
// @public (undocumented)
export interface GridProps
extends SpaceProps,
FlexItemProps,
GridOwnProps,
Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
// (undocumented)