Skip to content

Commit

Permalink
fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackySoul committed Oct 8, 2024
1 parent 9526611 commit c9b81bd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ComponentPlayground, type ComponentPlaygroundProps } from '@vkui-e2e/playground-helpers';
import { type SpacingSize, spacingSizeClassNames } from '../../lib/spacings/sizes';
import { Separator, type SeparatorProps } from './Separator';
import { spacingSizeClassNames, type SpacingSize } from '../../lib/spacings/sizes';

const sizes = Object.keys(spacingSizeClassNames) as SpacingSize[];

Expand Down
4 changes: 2 additions & 2 deletions packages/vkui/src/components/Separator/Separator.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { Meta, StoryObj } from '@storybook/react';
import { Icon28Notifications, Icon28SlidersOutline } from '@vkontakte/icons';
import { CanvasFullLayout, DisableCartesianParam } from '../../storybook/constants';
import { Div } from '../Div/Div';
import { Group } from '../Group/Group';
import { Link } from '../Link/Link';
import { SimpleCell } from '../SimpleCell/SimpleCell';
import { Separator, type SeparatorProps } from './Separator';
import { Div } from '../Div/Div';
import { Link } from '../Link/Link';

const story: Meta<SeparatorProps> = {
title: 'Blocks/Separator',
Expand Down
2 changes: 1 addition & 1 deletion packages/vkui/src/components/Separator/Separator.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { classNames } from '@vkontakte/vkjs';
import { spacingSizeClassNames, type SpacingSizeProp } from '../../lib/spacings/sizes';
import type { HTMLAttributesWithRootRef } from '../../types';
import { RootComponent } from '../RootComponent/RootComponent';
import { spacingSizeClassNames, type SpacingSizeProp } from '../../lib/spacings/sizes';
import styles from './Separator.module.css';

export const CUSTOM_CSS_TOKEN_FOR_USER_SIZE = '--vkui_internal--spacing_size';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ComponentPlayground, type ComponentPlaygroundProps } from '@vkui-e2e/playground-helpers';
import { type SpacingSize, spacingSizeClassNames } from '../../lib/spacings/sizes';
import { Div } from '../Div/Div';
import { Separator } from '../Separator/Separator';
import { Spacing, type SpacingProps } from './Spacing';
import { spacingSizeClassNames, type SpacingSize } from '../../lib/spacings/sizes';

const sizes = Object.keys(spacingSizeClassNames) as SpacingSize[];

Expand Down
2 changes: 1 addition & 1 deletion packages/vkui/src/components/Spacing/Spacing.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render } from '@testing-library/react';
import { type SpacingSize, spacingSizeClassNames } from '../../lib/spacings/sizes';
import { baselineComponent } from '../../testing/utils';
import { spacingSizeClassNames, type SpacingSize } from '../../lib/spacings/sizes';
import { CUSTOM_CSS_TOKEN_FOR_USER_GAP, Spacing } from './Spacing';

const sizes = Object.keys(spacingSizeClassNames) as SpacingSize[];
Expand Down
2 changes: 1 addition & 1 deletion packages/vkui/src/components/Spacing/Spacing.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { classNames } from '@vkontakte/vkjs';
import type { HTMLAttributesWithRootRef } from '../../types';
import { spacingSizeClassNames, type SpacingSizeProp } from '../../lib/spacings/sizes';
import type { HTMLAttributesWithRootRef } from '../../types';
import { RootComponent } from '../RootComponent/RootComponent';
import styles from './Spacing.module.css';

Expand Down

0 comments on commit c9b81bd

Please sign in to comment.