Skip to content

Commit 3392aec

Browse files
authored
Merge pull request Expensify#71184 from software-mansion-labs/@zfurtak/change-SelectionList-name
[NoQA] Change names of the `SelectionList` components
2 parents d14249d + f229abc commit 3392aec

326 files changed

Lines changed: 3106 additions & 3108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/components/AddPaymentCard/PaymentCardChangeCurrencyForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import FormProvider from '@components/Form/FormProvider';
55
import InputWrapper from '@components/Form/InputWrapper';
66
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
77
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
8-
import SelectionList from '@components/SelectionList';
9-
import RadioListItem from '@components/SelectionList/RadioListItem';
8+
import SelectionList from '@components/SelectionListWithSections';
9+
import RadioListItem from '@components/SelectionListWithSections/RadioListItem';
1010
import TextInput from '@components/TextInput';
1111
import useLocalize from '@hooks/useLocalize';
1212
import usePermissions from '@hooks/usePermissions';

src/components/AddPaymentCard/PaymentCardCurrencyModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type {ValueOf} from 'type-fest';
33
import HeaderWithBackButton from '@components/HeaderWithBackButton';
44
import Modal from '@components/Modal';
55
import ScreenWrapper from '@components/ScreenWrapper';
6-
import SelectionList from '@components/SelectionList';
7-
import RadioListItem from '@components/SelectionList/RadioListItem';
6+
import SelectionList from '@components/SelectionListWithSections';
7+
import RadioListItem from '@components/SelectionListWithSections/RadioListItem';
88
import useLocalize from '@hooks/useLocalize';
99
import useThemeStyles from '@hooks/useThemeStyles';
1010
import Navigation from '@libs/Navigation/Navigation';

src/components/AvatarWithDisplayName.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import type DisplayNamesProps from './DisplayNames/types';
3838
import ParentNavigationSubtitle from './ParentNavigationSubtitle';
3939
import PressableWithoutFeedback from './Pressable/PressableWithoutFeedback';
4040
import ReportActionAvatars from './ReportActionAvatars';
41-
import type {TransactionListItemType} from './SelectionList/types';
41+
import type {TransactionListItemType} from './SelectionListWithSections/types';
4242
import Text from './Text';
4343

4444
type AvatarWithDisplayNameProps = {

src/components/CategoryPicker.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import {getHeaderMessageForNonUserList} from '@libs/OptionsListUtils';
1111
import CONST from '@src/CONST';
1212
import ONYXKEYS from '@src/ONYXKEYS';
1313
import {isEmptyObject} from '@src/types/utils/EmptyObject';
14-
import SelectionList from './SelectionList';
15-
import RadioListItem from './SelectionList/RadioListItem';
16-
import type {ListItem} from './SelectionList/types';
14+
import SelectionList from './SelectionListWithSections';
15+
import RadioListItem from './SelectionListWithSections/RadioListItem';
16+
import type {ListItem} from './SelectionListWithSections/types';
1717

1818
type CategoryPickerProps = {
1919
policyID: string | undefined;

src/components/CategorySelector/CategorySelectorModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import CategoryPicker from '@components/CategoryPicker';
33
import HeaderWithBackButton from '@components/HeaderWithBackButton';
44
import Modal from '@components/Modal';
55
import ScreenWrapper from '@components/ScreenWrapper';
6-
import type {ListItem} from '@components/SelectionList/types';
6+
import type {ListItem} from '@components/SelectionListWithSections/types';
77
import useThemeStyles from '@hooks/useThemeStyles';
88
import CONST from '@src/CONST';
99

src/components/CategorySelector/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import type {StyleProp, ViewStyle} from 'react-native';
33
import {View} from 'react-native';
44
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
5-
import type {ListItem} from '@components/SelectionList/types';
5+
import type {ListItem} from '@components/SelectionListWithSections/types';
66
import useThemeStyles from '@hooks/useThemeStyles';
77
import CategorySelectorModal from './CategorySelectorModal';
88

src/components/CountryPicker/CountrySelectorModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React, {useMemo} from 'react';
22
import HeaderWithBackButton from '@components/HeaderWithBackButton';
33
import Modal from '@components/Modal';
44
import ScreenWrapper from '@components/ScreenWrapper';
5-
import SelectionList from '@components/SelectionList';
6-
import RadioListItem from '@components/SelectionList/RadioListItem';
5+
import SelectionList from '@components/SelectionListWithSections';
6+
import RadioListItem from '@components/SelectionListWithSections/RadioListItem';
77
import useDebouncedState from '@hooks/useDebouncedState';
88
import useLocalize from '@hooks/useLocalize';
99
import useThemeStyles from '@hooks/useThemeStyles';

src/components/CurrencySelectionList/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {Str} from 'expensify-common';
22
import React, {useCallback, useMemo, useState} from 'react';
3-
import SelectionList from '@components/SelectionList';
4-
import RadioListItem from '@components/SelectionList/RadioListItem';
5-
import SelectableListItem from '@components/SelectionList/SelectableListItem';
3+
import SelectionList from '@components/SelectionListWithSections';
4+
import RadioListItem from '@components/SelectionListWithSections/RadioListItem';
5+
import SelectableListItem from '@components/SelectionListWithSections/SelectableListItem';
66
import useLocalize from '@hooks/useLocalize';
77
import useOnyx from '@hooks/useOnyx';
88
import {getCurrencySymbol} from '@libs/CurrencyUtils';

src/components/CurrencySelectionList/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {ListItem, SelectionListProps} from '@components/SelectionList/types';
1+
import type {ListItem, SelectionListProps} from '@components/SelectionListWithSections/types';
22

33
type CurrencyListItem = ListItem & {
44
currencyName: string;

src/components/DatePicker/CalendarPicker/YearPickerModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {Keyboard} from 'react-native';
33
import HeaderWithBackButton from '@components/HeaderWithBackButton';
44
import Modal from '@components/Modal';
55
import ScreenWrapper from '@components/ScreenWrapper';
6-
import SelectionList from '@components/SelectionList';
7-
import RadioListItem from '@components/SelectionList/RadioListItem';
6+
import SelectionList from '@components/SelectionListWithSections';
7+
import RadioListItem from '@components/SelectionListWithSections/RadioListItem';
88
import useLocalize from '@hooks/useLocalize';
99
import useThemeStyles from '@hooks/useThemeStyles';
1010
import CONST from '@src/CONST';

0 commit comments

Comments
 (0)