diff --git a/packages/canon/report.api.md b/packages/canon/report.api.md index 64a1482867..b0663b50cf 100644 --- a/packages/canon/report.api.md +++ b/packages/canon/report.api.md @@ -283,12 +283,52 @@ export const Field: { }) => React_2.JSX.Element; }; +// @public (undocumented) +export const Flex: ForwardRefExoticComponent< + FlexProps & RefAttributes +>; + // @public (undocumented) export type FlexDirection = 'row' | 'column'; +// @public (undocumented) +export interface FlexProps extends SpaceProps { + // Warning: (ae-forgotten-export) The symbol "FlexOwnProps" needs to be exported by the entry point index.d.ts + // + // (undocumented) + align?: FlexOwnProps['align']; + // (undocumented) + children: React.ReactNode; + // (undocumented) + className?: string; + // (undocumented) + direction?: FlexOwnProps['direction']; + // (undocumented) + gap?: GapProps['gap']; + // (undocumented) + justify?: FlexOwnProps['justify']; + // (undocumented) + style?: React.CSSProperties; +} + // @public (undocumented) export type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse'; +// @public (undocumented) +export const gapPropDefs: { + gap: { + type: 'enum | string'; + className: string; + customProperties: '--gap'[]; + values: string[]; + responsive: true; + default: string; + }; +}; + +// @public (undocumented) +export type GapProps = GetPropDefTypes; + // @public (undocumented) export type GetPropDefType = Def extends BooleanPropDef ? Def extends ResponsivePropDef @@ -329,17 +369,19 @@ export const Grid: ForwardRefExoticComponent< // @public (undocumented) export interface GridItemProps { // (undocumented) - children: React.ReactNode; + children?: React.ReactNode; // (undocumented) className?: string; // (undocumented) - colEnd?: UtilityProps['colEnd']; + colEnd?: GridItemOwnProps['colEnd']; + // Warning: (ae-forgotten-export) The symbol "GridItemOwnProps" needs to be exported by the entry point index.d.ts + // // (undocumented) - colSpan?: UtilityProps['colSpan']; + colSpan?: GridItemOwnProps['colSpan']; // (undocumented) - colStart?: UtilityProps['colStart']; + colStart?: GridItemOwnProps['colStart']; // (undocumented) - rowSpan?: UtilityProps['rowSpan']; + rowSpan?: GridItemOwnProps['rowSpan']; // (undocumented) style?: React.CSSProperties; } @@ -350,10 +392,12 @@ export interface GridProps extends SpaceProps { children?: React.ReactNode; // (undocumented) className?: string; + // Warning: (ae-forgotten-export) The symbol "GridOwnProps" needs to be exported by the entry point index.d.ts + // // (undocumented) - columns?: UtilityProps['columns']; + columns?: GridOwnProps['columns']; // (undocumented) - gap?: UtilityProps['gap']; + gap?: GapProps['gap']; // (undocumented) style?: React.CSSProperties; } @@ -454,37 +498,6 @@ export type IconProps = { // @public (undocumented) export const icons: IconMap; -// @public (undocumented) -export const Inline: ForwardRefExoticComponent< - InlineProps & RefAttributes ->; - -// @public (undocumented) -export interface InlineProps extends SpaceProps { - // (undocumented) - align?: - | 'left' - | 'center' - | 'right' - | Partial>; - // (undocumented) - alignY?: - | 'top' - | 'center' - | 'bottom' - | Partial>; - // (undocumented) - as?: AsProps; - // (undocumented) - children: React.ReactNode; - // (undocumented) - className?: string; - // (undocumented) - gap?: UtilityProps['gap']; - // (undocumented) - style?: React.CSSProperties; -} - // @public (undocumented) export const Input: React_2.ForwardRefExoticComponent< InputProps & React_2.RefAttributes @@ -718,31 +731,6 @@ export interface SpaceProps { py?: Responsive; } -// @public (undocumented) -export const Stack: ForwardRefExoticComponent< - StackProps & RefAttributes ->; - -// @public (undocumented) -export interface StackProps extends SpaceProps { - // (undocumented) - align?: - | 'left' - | 'center' - | 'right' - | Partial>; - // (undocumented) - as?: AsProps; - // (undocumented) - children: React.ReactNode; - // (undocumented) - className?: string; - // (undocumented) - gap?: UtilityProps['gap']; - // (undocumented) - style?: React.CSSProperties; -} - // @public (undocumented) export type StringPropDef = { type: 'string'; diff --git a/packages/canon/src/components/Flex/index.ts b/packages/canon/src/components/Flex/index.ts index 4e4c883119..17ae03d1d0 100644 --- a/packages/canon/src/components/Flex/index.ts +++ b/packages/canon/src/components/Flex/index.ts @@ -15,3 +15,4 @@ */ export { Flex } from './Flex'; export type { FlexProps } from './types'; +export type { FlexOwnProps } from './Flex.props'; diff --git a/packages/canon/src/components/Grid/index.ts b/packages/canon/src/components/Grid/index.ts index b2534c6b77..c637375342 100644 --- a/packages/canon/src/components/Grid/index.ts +++ b/packages/canon/src/components/Grid/index.ts @@ -15,3 +15,4 @@ */ export { Grid } from './Grid'; export type { GridProps, GridItemProps } from './types'; +export type { GridOwnProps, GridItemOwnProps } from './Grid.props';