Skip to content

Commit

Permalink
docs(plasma-b2c/web): generate api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed Jan 17, 2024
1 parent 44e99c8 commit e8bba2e
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/plasma-b2c/api/plasma-b2c.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ import { ColSizeProps } from '@salutejs/plasma-hope';
import { Container } from '@salutejs/plasma-hope';
import { ContainerProps } from '@salutejs/plasma-hope';
import { convertRoundnessMatrix } from '@salutejs/plasma-core';
import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
import { defaultValidate } from '@salutejs/plasma-hope';
import { DisabledProps } from '@salutejs/plasma-core';
Expand Down Expand Up @@ -577,6 +579,32 @@ export { ContainerProps }

export { convertRoundnessMatrix }

// @public
export const Counter: FunctionComponent<PropsType< {
view: {
primary: string;
accent: string;
positive: string;
warning: string;
negative: string;
dark: string;
light: string;
};
size: {
xs: string;
xxs: string;
};
}> & HTMLAttributes<HTMLDivElement> & {
count: number;
maxCount?: number | undefined;
size?: string | undefined;
view?: string | undefined;
} & RefAttributes<HTMLDivElement>>;

export { CounterProps }

export { counterTokens }

export { defaultValidate }

export { DisabledProps }
Expand Down
28 changes: 28 additions & 0 deletions packages/plasma-web/api/plasma-web.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ import { ColSizeProps } from '@salutejs/plasma-hope';
import { Container } from '@salutejs/plasma-hope';
import { ContainerProps } from '@salutejs/plasma-hope';
import { convertRoundnessMatrix } from '@salutejs/plasma-core';
import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
import { defaultValidate } from '@salutejs/plasma-hope';
import { DisabledProps } from '@salutejs/plasma-core';
Expand Down Expand Up @@ -577,6 +579,32 @@ export { ContainerProps }

export { convertRoundnessMatrix }

// @public
export const Counter: FunctionComponent<PropsType< {
view: {
primary: string;
accent: string;
positive: string;
warning: string;
negative: string;
dark: string;
light: string;
};
size: {
xs: string;
xxs: string;
};
}> & HTMLAttributes<HTMLDivElement> & {
count: number;
maxCount?: number | undefined;
size?: string | undefined;
view?: string | undefined;
} & RefAttributes<HTMLDivElement>>;

export { CounterProps }

export { counterTokens }

export { defaultValidate }

export { DisabledProps }
Expand Down

0 comments on commit e8bba2e

Please sign in to comment.