From b89c7abc80837ee3447ba011ad10bda4f2055e2b Mon Sep 17 00:00:00 2001 From: hextion <100ishundred@gmail.com> Date: Thu, 31 Oct 2024 10:18:43 +0300 Subject: [PATCH] fix(select): correct import --- .../components/list-mobile/list-bottom-sheet-mobile.tsx | 3 ++- .../base-select/components/list-mobile/list-mobile.tsx | 2 +- .../base-select/components/list-mobile/list-modal-mobile.tsx | 3 ++- .../select/src/components/base-select/types/component-types.ts | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/select/src/components/base-select/components/list-mobile/list-bottom-sheet-mobile.tsx b/packages/select/src/components/base-select/components/list-mobile/list-bottom-sheet-mobile.tsx index 1fb4bb2255..8bf49e62bc 100644 --- a/packages/select/src/components/base-select/components/list-mobile/list-bottom-sheet-mobile.tsx +++ b/packages/select/src/components/base-select/components/list-mobile/list-bottom-sheet-mobile.tsx @@ -1,8 +1,9 @@ import React, { FC, ReactNode, RefObject } from 'react'; -import { OptionShape } from '@alfalab/core-components-select/typings'; import { getDataTestId } from '@alfalab/core-components-shared'; +import { OptionShape } from '../../../../typings'; + import { ListBottomSheetMobileRestProps } from './types/types'; import mobileStyles from '../../mobile.module.css'; diff --git a/packages/select/src/components/base-select/components/list-mobile/list-mobile.tsx b/packages/select/src/components/base-select/components/list-mobile/list-mobile.tsx index 0f1a3e5aa0..050fac7d1f 100644 --- a/packages/select/src/components/base-select/components/list-mobile/list-mobile.tsx +++ b/packages/select/src/components/base-select/components/list-mobile/list-mobile.tsx @@ -1,6 +1,6 @@ import React, { FC, ReactNode, RefObject } from 'react'; -import { OptionShape } from '@alfalab/core-components-select/typings'; +import { OptionShape } from '../../../../typings'; import { ListBottomSheetMobileRestProps, ListModalMobileRestProps } from './types/types'; import { ListBottomSheetMobile } from './list-bottom-sheet-mobile'; diff --git a/packages/select/src/components/base-select/components/list-mobile/list-modal-mobile.tsx b/packages/select/src/components/base-select/components/list-mobile/list-modal-mobile.tsx index 220a65e002..08a51536a1 100644 --- a/packages/select/src/components/base-select/components/list-mobile/list-modal-mobile.tsx +++ b/packages/select/src/components/base-select/components/list-mobile/list-modal-mobile.tsx @@ -2,9 +2,10 @@ import React, { FC, ReactNode, RefObject } from 'react'; import mergeRefs from 'react-merge-refs'; import cn from 'classnames'; -import { OptionShape } from '@alfalab/core-components-select/typings'; import { getDataTestId } from '@alfalab/core-components-shared'; +import { OptionShape } from '../../../../typings'; + import { ListModalMobileRestProps } from './types/types'; import mobileStyles from '../../mobile.module.css'; diff --git a/packages/select/src/components/base-select/types/component-types.ts b/packages/select/src/components/base-select/types/component-types.ts index be6c6147cd..3382753267 100644 --- a/packages/select/src/components/base-select/types/component-types.ts +++ b/packages/select/src/components/base-select/types/component-types.ts @@ -8,12 +8,13 @@ import type { } from '@alfalab/core-components-modal/shared'; import type { ModalMobileProps } from '@alfalab/core-components-modal/typings'; import type { PopoverProps } from '@alfalab/core-components-popover'; + import type { AdditionalMobileProps, BaseSelectProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, -} from '@alfalab/core-components-select/typings'; +} from '../../../typings'; type PopoverType = ForwardRefExoticComponent>; type BottomSheetType = React.ForwardRefExoticComponent<