Skip to content

Commit

Permalink
docs: regenerate api reports
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed Apr 10, 2024
1 parent afd6af2 commit 435247e
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 7 deletions.
67 changes: 64 additions & 3 deletions packages/plasma-b2c/api/plasma-b2c.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
import { TextAreaProps } from '@salutejs/plasma-hope';
import { TextareaResize } from '@salutejs/plasma-core';
import { TextFieldProps } from '@salutejs/plasma-hope';
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
import type { TextFieldProps as TextFieldProps_2 } from '@salutejs/plasma-hope';
import { TextFieldView } from '@salutejs/plasma-hope';
import { TextSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
import { TimingFunction } from '@salutejs/plasma-core';
Expand Down Expand Up @@ -1635,9 +1636,69 @@ export { TextAreaProps }
export { TextareaResize }

// @public
export const TextField: React_2.ForwardRefExoticComponent<TextFieldProps & React_2.RefAttributes<HTMLInputElement>>;
export const TextField: React_2.ForwardRefExoticComponent<TextFieldProps_2 & Pick<PropsType< {
view: {
default: string;
positive: string;
warning: string;
negative: string;
};
size: {
l: string;
m: string;
s: string;
xs: string;
};
labelPlacement: {
inner: string[];
outer: string[];
};
disabled: {
true: string;
};
readOnly: {
true: string;
};
}> & (({
size?: string | undefined;
view?: string | undefined;
readOnly?: boolean | undefined;
disabled?: boolean | undefined;
} & {
label?: string | undefined;
labelPlacement?: "inner" | "outer" | undefined;
leftHelper?: string | undefined;
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
contentRight?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
onSearch?: ((value: string, event?: React_2.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
} & {
chips?: undefined;
onChangeChips?: undefined;
enumerationType?: "plain" | undefined;
onSearch?: ((value: string, event?: React_2.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
} & Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size"> & React_2.RefAttributes<HTMLDivElement>) | ({
size?: string | undefined;
view?: string | undefined;
readOnly?: boolean | undefined;
disabled?: boolean | undefined;
} & {
label?: string | undefined;
labelPlacement?: "inner" | "outer" | undefined;
leftHelper?: string | undefined;
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
contentRight?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
onSearch?: ((value: string, event?: React_2.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
} & {
enumerationType: "chip";
onSearch?: undefined;
chips?: TextFieldPrimitiveValue[] | undefined;
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
} & Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size"> & React_2.RefAttributes<HTMLDivElement>)), "enumerationType" | "chips" | "onChangeChips"> & React_2.RefAttributes<HTMLInputElement>>;

export { TextFieldProps }
// Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>;

export { TextFieldView }

Expand Down
67 changes: 64 additions & 3 deletions packages/plasma-web/api/plasma-web.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
import { TextareaHTMLAttributes } from '@salutejs/plasma-core';
import { TextAreaProps } from '@salutejs/plasma-hope';
import { TextareaResize } from '@salutejs/plasma-core';
import { TextFieldProps } from '@salutejs/plasma-hope';
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
import type { TextFieldProps as TextFieldProps_2 } from '@salutejs/plasma-hope';
import { TextFieldView } from '@salutejs/plasma-hope';
import { TextSkeletonProps } from '@salutejs/plasma-new-hope/styled-components';
import { TimingFunction } from '@salutejs/plasma-core';
Expand Down Expand Up @@ -1635,9 +1636,69 @@ export { TextAreaProps }
export { TextareaResize }

// @public
export const TextField: React_2.ForwardRefExoticComponent<TextFieldProps & React_2.RefAttributes<HTMLInputElement>>;
export const TextField: React_2.ForwardRefExoticComponent<TextFieldProps_2 & Pick<PropsType< {
view: {
default: string;
positive: string;
warning: string;
negative: string;
};
size: {
l: string;
m: string;
s: string;
xs: string;
};
labelPlacement: {
inner: string[];
outer: string[];
};
disabled: {
true: string;
};
readOnly: {
true: string;
};
}> & (({
size?: string | undefined;
view?: string | undefined;
readOnly?: boolean | undefined;
disabled?: boolean | undefined;
} & {
label?: string | undefined;
labelPlacement?: "inner" | "outer" | undefined;
leftHelper?: string | undefined;
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
contentRight?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
onSearch?: ((value: string, event?: React_2.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
} & {
chips?: undefined;
onChangeChips?: undefined;
enumerationType?: "plain" | undefined;
onSearch?: ((value: string, event?: React_2.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
} & Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size"> & React_2.RefAttributes<HTMLDivElement>) | ({
size?: string | undefined;
view?: string | undefined;
readOnly?: boolean | undefined;
disabled?: boolean | undefined;
} & {
label?: string | undefined;
labelPlacement?: "inner" | "outer" | undefined;
leftHelper?: string | undefined;
contentLeft?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
contentRight?: React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>> | undefined;
onSearch?: ((value: string, event?: React_2.KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
} & {
enumerationType: "chip";
onSearch?: undefined;
chips?: TextFieldPrimitiveValue[] | undefined;
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
} & Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "size"> & React_2.RefAttributes<HTMLDivElement>)), "enumerationType" | "chips" | "onChangeChips"> & React_2.RefAttributes<HTMLDivElement>>;

export { TextFieldProps }
// Warning: (ae-forgotten-export) The symbol "newHopeTextFieldProps" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type TextFieldProps = TextFieldProps_2 & Pick<newHopeTextFieldProps, 'enumerationType' | 'chips' | 'onChangeChips'>;

export { TextFieldView }

Expand Down
70 changes: 69 additions & 1 deletion packages/sdds-serv/api/sdds-serv.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ import { HTMLAttributes } from 'react';
import { ImageProps } from '@salutejs/plasma-new-hope/styled-components';
import { ImgHTMLAttributes } from 'react';
import { IndicatorProps } from '@salutejs/plasma-new-hope/styled-components';
import type { InputHTMLAttributes } from 'react';
import { InputHTMLAttributes } from 'react';
import { JSXElementConstructor } from 'react';
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
import { LinkCustomProps } from '@salutejs/plasma-new-hope/types/components/Link/Link';
import { mediaQuery } from '@salutejs/plasma-new-hope/styled-components';
import { modalClasses } from '@salutejs/plasma-new-hope/styled-components';
Expand Down Expand Up @@ -124,6 +125,9 @@ import { TabItemRefs } from '@salutejs/plasma-new-hope/styled-components';
import { TabsContext } from '@salutejs/plasma-new-hope/styled-components';
import { TabsControllerProps } from '@salutejs/plasma-new-hope/styled-components';
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
import { TextFieldPrimitiveValue } from '@salutejs/plasma-new-hope/types/components/TextField/TextField.types';
import { TextFieldProps } from '@salutejs/plasma-new-hope/styled-components';
import { textFieldTokens } from '@salutejs/plasma-new-hope/styled-components';
import { textL } from '@salutejs/sdds-themes/tokens';
import { textLBold } from '@salutejs/sdds-themes/tokens';
import { textM } from '@salutejs/sdds-themes/tokens';
Expand Down Expand Up @@ -1125,6 +1129,70 @@ export { TabsControllerProps }

export { TabsProps }

// @public
export const TextField: FunctionComponent<PropsType< {
view: {
default: string;
positive: string;
warning: string;
negative: string;
};
size: {
l: string;
m: string;
s: string;
xs: string;
};
labelPlacement: {
inner: string[];
outer: string[];
};
disabled: {
true: string;
};
readOnly: {
true: string;
};
}> & (({
size?: string | undefined;
view?: string | undefined;
readOnly?: boolean | undefined;
disabled?: boolean | undefined;
} & {
label?: string | undefined;
labelPlacement?: "outer" | "inner" | undefined;
leftHelper?: string | undefined;
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
} & {
chips?: undefined;
onChangeChips?: undefined;
enumerationType?: "plain" | undefined;
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
} & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & RefAttributes<HTMLDivElement>) | ({
size?: string | undefined;
view?: string | undefined;
readOnly?: boolean | undefined;
disabled?: boolean | undefined;
} & {
label?: string | undefined;
labelPlacement?: "outer" | "inner" | undefined;
leftHelper?: string | undefined;
contentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
contentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
onSearch?: ((value: string, event?: KeyboardEvent_2<HTMLInputElement> | undefined) => void) | undefined;
} & {
enumerationType: "chip";
onSearch?: undefined;
chips?: TextFieldPrimitiveValue[] | undefined;
onChangeChips?: ((value: TextFieldPrimitiveValue[]) => void) | undefined;
} & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & RefAttributes<HTMLDivElement>))>;

export { TextFieldProps }

export { textFieldTokens }

// @public (undocumented)
export const TextL: FunctionComponent<PropsType< {
size: {
Expand Down

0 comments on commit 435247e

Please sign in to comment.