From 8dfe0a9d8fb935b5ff43fcc59ac780087cdabaf8 Mon Sep 17 00:00:00 2001 From: Karolina Szarek <74671633+karolinaszarek@users.noreply.github.com> Date: Fri, 10 May 2024 11:26:37 +0200 Subject: [PATCH] feat: TET-894 unify components folders (#142) --- .../AlertBanner/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/AlertBanner/stylesBuilder/index.ts | 1 - .../Avatar/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/Avatar/stylesBuilder/index.ts | 1 - src/components/Badge/{stylesBuilder => }/stylesBuilder.ts | 8 ++++---- src/components/Badge/stylesBuilder/index.ts | 1 - .../Checkbox/{stylesBuilder => }/stylesBuilder.ts | 2 +- src/components/Checkbox/stylesBuilder/index.ts | 1 - .../CheckboxGroup/{stylesBuilder => }/stylesBuilder.ts | 2 +- src/components/CheckboxGroup/stylesBuilder/index.ts | 1 - .../Counter/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/Counter/stylesBuilder/index.ts | 1 - .../Divider/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/Divider/stylesBuilder/index.ts | 1 - .../HelperText/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/HelperText/stylesBuilder/index.ts | 1 - .../InlineBanner/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/InlineBanner/stylesBuilder/index.ts | 1 - .../InlineMessage/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/InlineMessage/stylesBuilder/index.ts | 1 - src/components/Label/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/Label/stylesBuilder/index.ts | 1 - .../Loader/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/Loader/stylesBuilder/index.ts | 1 - .../Popover/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/Popover/stylesBuilder/index.ts | 1 - .../RadioButton/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/RadioButton/stylesBuilder/index.ts | 1 - .../RadioButtonGroup/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/RadioButtonGroup/stylesBuilder/index.ts | 1 - .../SocialButton/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/SocialButton/stylesBuilder/index.ts | 1 - .../StatusDot/{stylesBuilder => }/stylesBuilder.ts | 6 +++--- src/components/StatusDot/stylesBuilder/index.ts | 1 - src/components/Tag/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/Tag/stylesBuilder/index.ts | 1 - .../TextInput/{stylesBuilder => }/stylesBuilder.ts | 2 +- src/components/TextInput/stylesBuilder/index.ts | 1 - src/components/Toast/{stylesBuilder => }/stylesBuilder.ts | 4 ++-- src/components/Toast/stylesBuilder/index.ts | 1 - 40 files changed, 47 insertions(+), 67 deletions(-) rename src/components/AlertBanner/{stylesBuilder => }/stylesBuilder.ts (88%) delete mode 100644 src/components/AlertBanner/stylesBuilder/index.ts rename src/components/Avatar/{stylesBuilder => }/stylesBuilder.ts (89%) delete mode 100644 src/components/Avatar/stylesBuilder/index.ts rename src/components/Badge/{stylesBuilder => }/stylesBuilder.ts (81%) delete mode 100644 src/components/Badge/stylesBuilder/index.ts rename src/components/Checkbox/{stylesBuilder => }/stylesBuilder.ts (91%) delete mode 100644 src/components/Checkbox/stylesBuilder/index.ts rename src/components/CheckboxGroup/{stylesBuilder => }/stylesBuilder.ts (90%) delete mode 100644 src/components/CheckboxGroup/stylesBuilder/index.ts rename src/components/Counter/{stylesBuilder => }/stylesBuilder.ts (82%) delete mode 100644 src/components/Counter/stylesBuilder/index.ts rename src/components/Divider/{stylesBuilder => }/stylesBuilder.ts (82%) delete mode 100644 src/components/Divider/stylesBuilder/index.ts rename src/components/HelperText/{stylesBuilder => }/stylesBuilder.ts (78%) delete mode 100644 src/components/HelperText/stylesBuilder/index.ts rename src/components/InlineBanner/{stylesBuilder => }/stylesBuilder.ts (89%) delete mode 100644 src/components/InlineBanner/stylesBuilder/index.ts rename src/components/InlineMessage/{stylesBuilder => }/stylesBuilder.ts (83%) delete mode 100644 src/components/InlineMessage/stylesBuilder/index.ts rename src/components/Label/{stylesBuilder => }/stylesBuilder.ts (84%) delete mode 100644 src/components/Label/stylesBuilder/index.ts rename src/components/Loader/{stylesBuilder => }/stylesBuilder.ts (96%) delete mode 100644 src/components/Loader/stylesBuilder/index.ts rename src/components/Popover/{stylesBuilder => }/stylesBuilder.ts (80%) delete mode 100644 src/components/Popover/stylesBuilder/index.ts rename src/components/RadioButton/{stylesBuilder => }/stylesBuilder.ts (82%) delete mode 100644 src/components/RadioButton/stylesBuilder/index.ts rename src/components/RadioButtonGroup/{stylesBuilder => }/stylesBuilder.ts (81%) delete mode 100644 src/components/RadioButtonGroup/stylesBuilder/index.ts rename src/components/SocialButton/{stylesBuilder => }/stylesBuilder.ts (71%) delete mode 100644 src/components/SocialButton/stylesBuilder/index.ts rename src/components/StatusDot/{stylesBuilder => }/stylesBuilder.ts (82%) delete mode 100644 src/components/StatusDot/stylesBuilder/index.ts rename src/components/Tag/{stylesBuilder => }/stylesBuilder.ts (88%) delete mode 100644 src/components/Tag/stylesBuilder/index.ts rename src/components/TextInput/{stylesBuilder => }/stylesBuilder.ts (95%) delete mode 100644 src/components/TextInput/stylesBuilder/index.ts rename src/components/Toast/{stylesBuilder => }/stylesBuilder.ts (94%) delete mode 100644 src/components/Toast/stylesBuilder/index.ts diff --git a/src/components/AlertBanner/stylesBuilder/stylesBuilder.ts b/src/components/AlertBanner/stylesBuilder.ts similarity index 88% rename from src/components/AlertBanner/stylesBuilder/stylesBuilder.ts rename to src/components/AlertBanner/stylesBuilder.ts index 7e59881c..01449a99 100644 --- a/src/components/AlertBanner/stylesBuilder/stylesBuilder.ts +++ b/src/components/AlertBanner/stylesBuilder.ts @@ -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'; diff --git a/src/components/AlertBanner/stylesBuilder/index.ts b/src/components/AlertBanner/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/AlertBanner/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Avatar/stylesBuilder/stylesBuilder.ts b/src/components/Avatar/stylesBuilder.ts similarity index 89% rename from src/components/Avatar/stylesBuilder/stylesBuilder.ts rename to src/components/Avatar/stylesBuilder.ts index 0171b79b..1257b985 100644 --- a/src/components/Avatar/stylesBuilder/stylesBuilder.ts +++ b/src/components/Avatar/stylesBuilder.ts @@ -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'; diff --git a/src/components/Avatar/stylesBuilder/index.ts b/src/components/Avatar/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Avatar/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Badge/stylesBuilder/stylesBuilder.ts b/src/components/Badge/stylesBuilder.ts similarity index 81% rename from src/components/Badge/stylesBuilder/stylesBuilder.ts rename to src/components/Badge/stylesBuilder.ts index 79d0f234..12b479f9 100644 --- a/src/components/Badge/stylesBuilder/stylesBuilder.ts +++ b/src/components/Badge/stylesBuilder.ts @@ -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'; diff --git a/src/components/Badge/stylesBuilder/index.ts b/src/components/Badge/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Badge/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Checkbox/stylesBuilder/stylesBuilder.ts b/src/components/Checkbox/stylesBuilder.ts similarity index 91% rename from src/components/Checkbox/stylesBuilder/stylesBuilder.ts rename to src/components/Checkbox/stylesBuilder.ts index 85b328f0..7687acf5 100644 --- a/src/components/Checkbox/stylesBuilder/stylesBuilder.ts +++ b/src/components/Checkbox/stylesBuilder.ts @@ -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'; diff --git a/src/components/Checkbox/stylesBuilder/index.ts b/src/components/Checkbox/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Checkbox/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/CheckboxGroup/stylesBuilder/stylesBuilder.ts b/src/components/CheckboxGroup/stylesBuilder.ts similarity index 90% rename from src/components/CheckboxGroup/stylesBuilder/stylesBuilder.ts rename to src/components/CheckboxGroup/stylesBuilder.ts index 0fb5717c..350ae3b8 100644 --- a/src/components/CheckboxGroup/stylesBuilder/stylesBuilder.ts +++ b/src/components/CheckboxGroup/stylesBuilder.ts @@ -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'; diff --git a/src/components/CheckboxGroup/stylesBuilder/index.ts b/src/components/CheckboxGroup/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/CheckboxGroup/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Counter/stylesBuilder/stylesBuilder.ts b/src/components/Counter/stylesBuilder.ts similarity index 82% rename from src/components/Counter/stylesBuilder/stylesBuilder.ts rename to src/components/Counter/stylesBuilder.ts index 0620ea86..4f1a8614 100644 --- a/src/components/Counter/stylesBuilder/stylesBuilder.ts +++ b/src/components/Counter/stylesBuilder.ts @@ -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'; diff --git a/src/components/Counter/stylesBuilder/index.ts b/src/components/Counter/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Counter/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Divider/stylesBuilder/stylesBuilder.ts b/src/components/Divider/stylesBuilder.ts similarity index 82% rename from src/components/Divider/stylesBuilder/stylesBuilder.ts rename to src/components/Divider/stylesBuilder.ts index 1d31cfb1..69466190 100644 --- a/src/components/Divider/stylesBuilder/stylesBuilder.ts +++ b/src/components/Divider/stylesBuilder.ts @@ -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'; diff --git a/src/components/Divider/stylesBuilder/index.ts b/src/components/Divider/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Divider/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/HelperText/stylesBuilder/stylesBuilder.ts b/src/components/HelperText/stylesBuilder.ts similarity index 78% rename from src/components/HelperText/stylesBuilder/stylesBuilder.ts rename to src/components/HelperText/stylesBuilder.ts index a1d34c1f..5fb9d827 100644 --- a/src/components/HelperText/stylesBuilder/stylesBuilder.ts +++ b/src/components/HelperText/stylesBuilder.ts @@ -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'; diff --git a/src/components/HelperText/stylesBuilder/index.ts b/src/components/HelperText/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/HelperText/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/InlineBanner/stylesBuilder/stylesBuilder.ts b/src/components/InlineBanner/stylesBuilder.ts similarity index 89% rename from src/components/InlineBanner/stylesBuilder/stylesBuilder.ts rename to src/components/InlineBanner/stylesBuilder.ts index c07a5f04..31344ffc 100644 --- a/src/components/InlineBanner/stylesBuilder/stylesBuilder.ts +++ b/src/components/InlineBanner/stylesBuilder.ts @@ -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'; diff --git a/src/components/InlineBanner/stylesBuilder/index.ts b/src/components/InlineBanner/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/InlineBanner/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/InlineMessage/stylesBuilder/stylesBuilder.ts b/src/components/InlineMessage/stylesBuilder.ts similarity index 83% rename from src/components/InlineMessage/stylesBuilder/stylesBuilder.ts rename to src/components/InlineMessage/stylesBuilder.ts index 05bd64c1..bc46dc22 100644 --- a/src/components/InlineMessage/stylesBuilder/stylesBuilder.ts +++ b/src/components/InlineMessage/stylesBuilder.ts @@ -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'; diff --git a/src/components/InlineMessage/stylesBuilder/index.ts b/src/components/InlineMessage/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/InlineMessage/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Label/stylesBuilder/stylesBuilder.ts b/src/components/Label/stylesBuilder.ts similarity index 84% rename from src/components/Label/stylesBuilder/stylesBuilder.ts rename to src/components/Label/stylesBuilder.ts index 7bfd89b8..13236083 100644 --- a/src/components/Label/stylesBuilder/stylesBuilder.ts +++ b/src/components/Label/stylesBuilder.ts @@ -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'; diff --git a/src/components/Label/stylesBuilder/index.ts b/src/components/Label/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Label/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Loader/stylesBuilder/stylesBuilder.ts b/src/components/Loader/stylesBuilder.ts similarity index 96% rename from src/components/Loader/stylesBuilder/stylesBuilder.ts rename to src/components/Loader/stylesBuilder.ts index a27d5cae..61c7b282 100644 --- a/src/components/Loader/stylesBuilder/stylesBuilder.ts +++ b/src/components/Loader/stylesBuilder.ts @@ -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'; diff --git a/src/components/Loader/stylesBuilder/index.ts b/src/components/Loader/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Loader/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Popover/stylesBuilder/stylesBuilder.ts b/src/components/Popover/stylesBuilder.ts similarity index 80% rename from src/components/Popover/stylesBuilder/stylesBuilder.ts rename to src/components/Popover/stylesBuilder.ts index d1c814fa..bd0fd8b0 100644 --- a/src/components/Popover/stylesBuilder/stylesBuilder.ts +++ b/src/components/Popover/stylesBuilder.ts @@ -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'; diff --git a/src/components/Popover/stylesBuilder/index.ts b/src/components/Popover/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Popover/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/RadioButton/stylesBuilder/stylesBuilder.ts b/src/components/RadioButton/stylesBuilder.ts similarity index 82% rename from src/components/RadioButton/stylesBuilder/stylesBuilder.ts rename to src/components/RadioButton/stylesBuilder.ts index c0f64245..bb07ccec 100644 --- a/src/components/RadioButton/stylesBuilder/stylesBuilder.ts +++ b/src/components/RadioButton/stylesBuilder.ts @@ -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'; diff --git a/src/components/RadioButton/stylesBuilder/index.ts b/src/components/RadioButton/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/RadioButton/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/RadioButtonGroup/stylesBuilder/stylesBuilder.ts b/src/components/RadioButtonGroup/stylesBuilder.ts similarity index 81% rename from src/components/RadioButtonGroup/stylesBuilder/stylesBuilder.ts rename to src/components/RadioButtonGroup/stylesBuilder.ts index e9a61f41..5115ee20 100644 --- a/src/components/RadioButtonGroup/stylesBuilder/stylesBuilder.ts +++ b/src/components/RadioButtonGroup/stylesBuilder.ts @@ -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'; diff --git a/src/components/RadioButtonGroup/stylesBuilder/index.ts b/src/components/RadioButtonGroup/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/RadioButtonGroup/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/SocialButton/stylesBuilder/stylesBuilder.ts b/src/components/SocialButton/stylesBuilder.ts similarity index 71% rename from src/components/SocialButton/stylesBuilder/stylesBuilder.ts rename to src/components/SocialButton/stylesBuilder.ts index 05ec00d1..cc03e93c 100644 --- a/src/components/SocialButton/stylesBuilder/stylesBuilder.ts +++ b/src/components/SocialButton/stylesBuilder.ts @@ -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'; diff --git a/src/components/SocialButton/stylesBuilder/index.ts b/src/components/SocialButton/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/SocialButton/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/StatusDot/stylesBuilder/stylesBuilder.ts b/src/components/StatusDot/stylesBuilder.ts similarity index 82% rename from src/components/StatusDot/stylesBuilder/stylesBuilder.ts rename to src/components/StatusDot/stylesBuilder.ts index f5adb7bb..63712a8d 100644 --- a/src/components/StatusDot/stylesBuilder/stylesBuilder.ts +++ b/src/components/StatusDot/stylesBuilder.ts @@ -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'; diff --git a/src/components/StatusDot/stylesBuilder/index.ts b/src/components/StatusDot/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/StatusDot/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Tag/stylesBuilder/stylesBuilder.ts b/src/components/Tag/stylesBuilder.ts similarity index 88% rename from src/components/Tag/stylesBuilder/stylesBuilder.ts rename to src/components/Tag/stylesBuilder.ts index c5c06d78..00986c2e 100644 --- a/src/components/Tag/stylesBuilder/stylesBuilder.ts +++ b/src/components/Tag/stylesBuilder.ts @@ -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'; diff --git a/src/components/Tag/stylesBuilder/index.ts b/src/components/Tag/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Tag/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/TextInput/stylesBuilder/stylesBuilder.ts b/src/components/TextInput/stylesBuilder.ts similarity index 95% rename from src/components/TextInput/stylesBuilder/stylesBuilder.ts rename to src/components/TextInput/stylesBuilder.ts index c5b8bff9..6eb99c33 100644 --- a/src/components/TextInput/stylesBuilder/stylesBuilder.ts +++ b/src/components/TextInput/stylesBuilder.ts @@ -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'; diff --git a/src/components/TextInput/stylesBuilder/index.ts b/src/components/TextInput/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/TextInput/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder'; diff --git a/src/components/Toast/stylesBuilder/stylesBuilder.ts b/src/components/Toast/stylesBuilder.ts similarity index 94% rename from src/components/Toast/stylesBuilder/stylesBuilder.ts rename to src/components/Toast/stylesBuilder.ts index 148c830a..5e8878ce 100644 --- a/src/components/Toast/stylesBuilder/stylesBuilder.ts +++ b/src/components/Toast/stylesBuilder.ts @@ -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'; diff --git a/src/components/Toast/stylesBuilder/index.ts b/src/components/Toast/stylesBuilder/index.ts deleted file mode 100644 index fe248ee5..00000000 --- a/src/components/Toast/stylesBuilder/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { stylesBuilder } from './stylesBuilder';