Skip to content

Commit

Permalink
feat: TET-894 unify components folders (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
karolinaszarek committed May 19, 2024
1 parent 00801f9 commit 8dfe0a9
Show file tree
Hide file tree
Showing 40 changed files with 47 additions and 67 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AlertBannerProps } from '../AlertBanner.props';
import { defaultConfig } from '../AlertBanner.styles';
import { AlertBannerIntent } from '../types';
import { AlertBannerProps } from './AlertBanner.props';
import { defaultConfig } from './AlertBanner.styles';
import { AlertBannerIntent } from './types';

import { BareButtonProps } from '@/components/Button/Button.props';
import { GhostIconButtonProps } from '@/components/IconButton/IconButton.props';
Expand Down
1 change: 0 additions & 1 deletion src/components/AlertBanner/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { AvatarProps } from '../Avatar.props';
import { defaultConfig } from '../Avatar.styles';
import type { AvatarProps } from './Avatar.props';
import { defaultConfig } from './Avatar.styles';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Avatar/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BadgeConfig, defaultConfig } from '../Badge.styles';
import { BadgeAppearance } from '../BadgeAppearance.type';
import { BadgeEmphasis } from '../BadgeEmphasis.type';
import { BadgeIntent } from '../BadgeIntent.type';
import { BadgeConfig, defaultConfig } from './Badge.styles';
import { BadgeAppearance } from './BadgeAppearance.type';
import { BadgeEmphasis } from './BadgeEmphasis.type';
import { BadgeIntent } from './BadgeIntent.type';

import { mergeConfigWithCustom } from '@/services/mergeConfigWithCustom/mergeConfigWithCustom';
import { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Badge/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SystemProps } from '@xstyled/styled-components';

import { CheckboxConfig, defaultConfig } from '../Checkbox.styles';
import { CheckboxConfig, defaultConfig } from './Checkbox.styles';

import { mergeConfigWithCustom } from '@/services';
import { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Checkbox/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CheckboxGroupConfig, defaultConfig } from '../CheckboxGroup.style';
import { CheckboxGroupConfig, defaultConfig } from './CheckboxGroup.style';

import { HelperTextConfig } from '@/components/HelperText/HelperText.styles';
import { LabelConfig } from '@/components/Label/Label.styles';
Expand Down
1 change: 0 additions & 1 deletion src/components/CheckboxGroup/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { CounterProps } from '../Counter.props';
import { defaultConfig } from '../Counter.styles';
import type { CounterAppearance } from '../types';
import type { CounterProps } from './Counter.props';
import { defaultConfig } from './Counter.styles';
import type { CounterAppearance } from './types';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Counter/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DividerProps } from '../Divider.props';
import { defaultConfig } from '../Divider.styles';
import type { DividerOrientation } from '../types';
import type { DividerProps } from './Divider.props';
import { defaultConfig } from './Divider.styles';
import type { DividerOrientation } from './types';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Divider/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HelperTextProps } from '../HelperText.props';
import { defaultConfig } from '../HelperText.styles';
import { HelperTextIntent } from '../HelperTextIntent.type';
import { HelperTextProps } from './HelperText.props';
import { defaultConfig } from './HelperText.styles';
import { HelperTextIntent } from './HelperTextIntent.type';

import { mergeConfigWithCustom } from '@/services';
import { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/HelperText/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { InlineBannerProps } from '../InlineBanner.props';
import { defaultConfig } from '../InlineBanner.styles';
import type { InlineBannerIntent } from '../types';
import type { InlineBannerProps } from './InlineBanner.props';
import { defaultConfig } from './InlineBanner.styles';
import type { InlineBannerIntent } from './types';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types';
Expand Down
1 change: 0 additions & 1 deletion src/components/InlineBanner/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { InlineMessageProps } from '../InlineMessage.props';
import { defaultConfig } from '../InlineMessage.styles';
import { InlineMessageIntent } from '../InlineMessageIntent.type';
import { InlineMessageProps } from './InlineMessage.props';
import { defaultConfig } from './InlineMessage.styles';
import { InlineMessageIntent } from './InlineMessageIntent.type';

import { mergeConfigWithCustom } from '@/services';
import { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/InlineMessage/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { LabelProps } from '../Label.props';
import { defaultConfig } from '../Label.styles';
import type { LabelProps } from './Label.props';
import { defaultConfig } from './Label.styles';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Label/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { LoaderProps } from '../Loader.props';
import { defaultConfig, SVGProps } from '../Loader.styles';
import { LoaderProps } from './Loader.props';
import { defaultConfig, SVGProps } from './Loader.styles';

import { mergeConfigWithCustom } from '@/services';

Expand Down
1 change: 0 additions & 1 deletion src/components/Loader/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PopoverProps } from '../Popover.props';
import { defaultConfig } from '../Popover.styles';
import type { PopoverAlign, PopoverOrigin } from '../types';
import type { PopoverProps } from './Popover.props';
import { defaultConfig } from './Popover.styles';
import type { PopoverAlign, PopoverOrigin } from './types';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Popover/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { RadioButtonProps } from '../RadioButton.props';
import { defaultConfig } from '../RadioButton.styles';
import type { RadioButtonProps } from './RadioButton.props';
import { defaultConfig } from './RadioButton.styles';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/RadioButton/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { RadioButtonGroupProps } from '../RadioButtonGroup.props';
import { defaultConfig } from '../RadioButtonGroup.styles';
import type { RadioButtonGroupProps } from './RadioButtonGroup.props';
import { defaultConfig } from './RadioButtonGroup.styles';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/RadioButtonGroup/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SocialButtonProps } from '../SocialButton.props';
import { defaultConfig, SocialButtonAppearance } from '../SocialButton.styles';
import { SocialButtonProps } from './SocialButton.props';
import { defaultConfig, SocialButtonAppearance } from './SocialButton.styles';

import { mergeConfigWithCustom } from '@/services';

Expand Down
1 change: 0 additions & 1 deletion src/components/SocialButton/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { StatusDotProps } from '../StatusDot.props';
import { defaultConfig } from '../StatusDot.styles';
import { StatusDotAppearance } from '../types';
import { StatusDotProps } from './StatusDot.props';
import { defaultConfig } from './StatusDot.styles';
import { StatusDotAppearance } from './types';

import { mergeConfigWithCustom } from '@/services';
import { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/StatusDot/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { TagProps } from '../Tag.props';
import { defaultConfig } from '../Tag.styles';
import type { TagProps } from './Tag.props';
import { defaultConfig } from './Tag.styles';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Tag/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TextInputConfig, defaultConfig } from '../TextInput.styles';
import { TextInputConfig, defaultConfig } from './TextInput.styles';

import { mergeConfigWithCustom } from '@/services/mergeConfigWithCustom/mergeConfigWithCustom';
import { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/TextInput/stylesBuilder/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ToastProps } from '../Toast.props';
import { defaultConfig } from '../Toast.styles';
import type { ToastProps } from './Toast.props';
import { defaultConfig } from './Toast.styles';

import { mergeConfigWithCustom } from '@/services';
import type { BaseProps } from '@/types/BaseProps';
Expand Down
1 change: 0 additions & 1 deletion src/components/Toast/stylesBuilder/index.ts

This file was deleted.

0 comments on commit 8dfe0a9

Please sign in to comment.