From 97d0fa64cc5205d4aa96d093ef9bb14181182b9d Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Fri, 10 Nov 2023 20:21:29 +0700 Subject: [PATCH] chore(plasma-hope): api report --- packages/plasma-hope/api/plasma-hope.api.md | 59 +++++---------------- 1 file changed, 12 insertions(+), 47 deletions(-) diff --git a/packages/plasma-hope/api/plasma-hope.api.md b/packages/plasma-hope/api/plasma-hope.api.md index 5af8402297..9f691cd51b 100644 --- a/packages/plasma-hope/api/plasma-hope.api.md +++ b/packages/plasma-hope/api/plasma-hope.api.md @@ -37,8 +37,8 @@ import { Button1 } from '@salutejs/plasma-core'; import { Button2 } from '@salutejs/plasma-core'; import type { ButtonContentProps } from '@salutejs/plasma-core'; import { ButtonHTMLAttributes } from 'react'; -import { ButtonProps as ButtonProps_2 } from '@salutejs/plasma-core'; -import { ButtonViewProps } from '@salutejs/plasma-core'; +import type { ButtonProps as ButtonProps_2 } from '@salutejs/plasma-core'; +import type { ButtonViewProps } from '@salutejs/plasma-core'; import { canUseDOM } from '@salutejs/plasma-core'; import { Caption } from '@salutejs/plasma-core'; import { CardBodyProps } from '@salutejs/plasma-core'; @@ -54,7 +54,6 @@ import { ChangeEvent } from 'react'; import { ClipboardEventHandler } from 'react'; import type { ComponentType } from 'react'; import { convertRoundnessMatrix } from '@salutejs/plasma-core'; -import { CoverProps } from '@salutejs/plasma-core/components/Card/CardContent'; import { createTabsController } from '@salutejs/plasma-core'; import type { CSSObject } from 'styled-components'; import { CSSProperties } from 'react'; @@ -105,8 +104,6 @@ import { ModalOverlayProps } from '@salutejs/plasma-core'; import { monthLongName } from '@salutejs/plasma-core'; import { monthShortName } from '@salutejs/plasma-core'; import { MutableRefObject } from 'react'; -import { NoCoverProps } from '@salutejs/plasma-core/components/Card/CardContent'; -import { OtherProps } from '@salutejs/plasma-core/components/Card/CardContent'; import { OutlinedProps } from '@salutejs/plasma-core'; import { P } from '@salutejs/plasma-core'; import { P1 } from '@salutejs/plasma-core'; @@ -299,28 +296,7 @@ export { BodyXXS } export type Breakpoint = keyof typeof gridBreakpoints; // @public (undocumented) -export const Button: ({ design }: Design) => React_2.ForwardRefExoticComponent<(ButtonProps_2 & Partial & Partial> & { - text?: React_2.ReactNode; - contentLeft?: React_2.ReactNode; - contentRight?: undefined; - children?: undefined; - isLoading?: boolean | undefined; - loader?: React_2.ReactNode; -} & React_2.RefAttributes) | (ButtonProps_2 & Partial & Partial> & { - text?: React_2.ReactNode; - contentLeft?: undefined; - contentRight?: React_2.ReactNode; - children?: undefined; - isLoading?: boolean | undefined; - loader?: React_2.ReactNode; -} & React_2.RefAttributes) | (ButtonProps_2 & Partial & Partial> & { - text?: undefined; - contentLeft?: undefined; - contentRight?: undefined; - children?: React_2.ReactNode; - isLoading?: boolean | undefined; - loader?: React_2.ReactNode; -} & React_2.RefAttributes)>; +export const Button: ({ design }: Design) => React_2.ForwardRefExoticComponent>; export { Button1 } @@ -401,8 +377,10 @@ export { canUseDOM } export { Caption } +// Warning: (ae-forgotten-export) The symbol "BackgroundProps" needs to be exported by the entry point index.d.ts +// // @public -export const Card: StyledComponent>, any, CardProps, never>; +export const Card: StyledComponent>, any, CardProps_2 & RoundnessProps & BackgroundProps, never>; // @public (undocumented) export const CardBadge: StyledComponent, any, BadgeProps, never>; @@ -413,7 +391,7 @@ export const CardBody: StyledComponent<"div", any, CardBodyProps, never>; export { CardBodyProps } // @public -export const CardContent: StyledComponent<"div", any, (CoverProps & OtherProps & HTMLAttributes & Pick) | (NoCoverProps & OtherProps & HTMLAttributes & Pick), never>; +export const CardContent: StyledComponent<"div", any, CardContentProps_2 & CardContentProps, never>; // @public (undocumented) export type CardContentProps = Omit; @@ -422,13 +400,11 @@ export { CardMedia } export { CardMediaProps } -// Warning: (ae-forgotten-export) The symbol "BackgroundProps" needs to be exported by the entry point index.d.ts -// // @public (undocumented) export type CardProps = CardProps_2 & RoundnessProps & BackgroundProps; // @public -export const Carousel: React_2.ForwardRefExoticComponent & { +export const Carousel: React_2.ForwardRefExoticComponent & { ariaLive?: "off" | "polite" | undefined; } & React_2.RefAttributes>; @@ -1052,26 +1028,15 @@ export const Row: StyledComponent<"div", any, {}, never>; export { ScrollSnapProps } // Warning: (ae-forgotten-export) The symbol "Design_2" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "SelectViewProps" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export const Select: ({ design }: Design_2) => (props: ({ - multiselect?: false | undefined; - separator?: undefined; -} & { - value: T; - onChange?: ((value: T) => void) | undefined; -} & Pick & DropdownListCssProperties & React_2.RefAttributes) | ({ - multiselect?: true | undefined; - separator?: string | undefined; -} & { - value: T; - onChange?: ((value: T) => void) | undefined; -} & Pick & DropdownListCssProperties & React_2.RefAttributes)) => ReactElement; +export const Select: ({ design }: Design_2) => (props: SelectProps & React_2.RefAttributes) => ReactElement; // @public (undocumented) export const SelectGroup: StyledComponent<"div", any, {}, never>; +// Warning: (ae-forgotten-export) The symbol "SelectViewProps" needs to be exported by the entry point index.d.ts +// // @public (undocumented) export type SelectProps = ({ multiselect?: false; @@ -1346,7 +1311,7 @@ export { views } // Warning: (ae-forgotten-export) The symbol "WithAssistiveDropdownProps" needs to be exported by the entry point index.d.ts // // @public -export const withAssistiveDropdown:

(Component: React_2.ComponentClass | React_2.FunctionComponent

| React_2.ForwardRefExoticComponent

, Dropdown?: ComponentType) => React_2.ForwardRefExoticComponent & React_2.RefAttributes>; +export const withAssistiveDropdown:

(Component: React_2.ComponentType

| React_2.ForwardRefExoticComponent

, Dropdown?: ComponentType) => React_2.ForwardRefExoticComponent & React_2.RefAttributes>; export { withAutoFocus }