Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove or edit TODO [>=7] #7832

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vkui/scripts/postcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function makePostcssPlugins({
);
}

// TODO [>=7]: Проверить браузерную поддержку
// TODO [>=8]: Проверить браузерную поддержку
//
// https://caniuse.com/mdn-css_properties_gap_grid_context
if (!isESNext) {
Expand Down
2 changes: 0 additions & 2 deletions packages/vkui/src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export interface BadgeProps extends RootComponentProps<HTMLSpanElement> {

/**
* @see https://vkcom.github.io/VKUI/#/Badge
*
* TODO [>=7]: переименовать в Dot
*/
export const Badge = ({ mode = 'new', children, ...restProps }: BadgeProps): React.ReactNode => (
<RootComponent
Expand Down
2 changes: 0 additions & 2 deletions packages/vkui/src/components/ContentBadge/ContentBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ export interface ContentBadgeProps
*
* @since 6.1.0
* @see https://vkcom.github.io/VKUI/#/ContentBadge
*
* TODO [>=7]: переименовать в Badge
*/
export const ContentBadge: React.FC<ContentBadgeProps> & {
SlotIcon: typeof ContentBadgeSlotIcon;
Expand Down
2 changes: 1 addition & 1 deletion packages/vkui/src/lib/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const Platform = {
} as const;

/**
* TODO [>=7]: Переименовать 'vkcom' в 'web' и заменить в DEFAULT_TOKENS_CLASS_NAMES тему по умолчанию
* TODO [>=8]: Переименовать 'vkcom' в 'web' и заменить в DEFAULT_TOKENS_CLASS_NAMES тему по умолчанию
*/
export type PlatformType = 'android' | 'ios' | 'vkcom';

Expand Down
Loading