Skip to content

Commit a862dc4

Browse files
authored
Incubator - Fix components folder naming to be lower case (#3476)
* Changed incubator calendar naming * Changed incubator slider naming * Changed incubator dialog naming
1 parent 73c5ea8 commit a862dc4

Some content is hidden

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

61 files changed

+12
-12
lines changed

src/components/colorPicker/ColorPickerDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {LayoutAnimation, StyleSheet, Keyboard, StyleProp, ViewStyle} from 'react
44
import {Constants, asBaseComponent} from '../../commons/new';
55
import {Colors} from '../../style';
66
import {ModalProps} from '../../components/modal';
7-
import Dialog, {DialogProps} from '../../incubator/Dialog';
7+
import Dialog, {DialogProps} from '../../incubator/dialog';
88
import {getColorValue, getValidColorString, getTextColor, BORDER_RADIUS, HSLColor} from './ColorPickerPresenter';
99
import ColorPickerDialogHeader from './ColorPickerDialogHeader';
1010
import ColorPickerPreview from './ColorPickerPreview';

src/components/dateTimePicker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {Colors} from '../../style';
1515
import Assets from '../../assets';
1616
import {Constants, asBaseComponent, BaseComponentInjectedProps} from '../../commons/new';
1717
import TextField, {TextFieldProps, TextFieldMethods} from '../textField';
18-
import type {DialogMigrationProps} from '../../incubator/Dialog';
18+
import type {DialogMigrationProps} from '../../incubator/dialog';
1919
import {DialogProps} from '../dialog';
2020
import View from '../view';
2121
import Button, {ButtonProps} from '../button';

src/components/picker/Picker.driver.new.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {ComponentProps} from '../../testkit/new/Component.driver';
22
import {TextFieldDriver} from '../textField/TextField.driver.new';
33
import {ModalDriver} from '../modal/Modal.driver.new';
4-
import {DialogDriver} from '../../incubator/Dialog/Dialog.driver.new';
4+
import {DialogDriver} from '../../incubator/dialog/Dialog.driver.new';
55
import {ButtonDriver} from '../button/Button.driver.new';
66
import {ExpandableOverlayDriver} from '../../incubator/expandableOverlay/ExpandableOverlay.driver';
77

src/components/picker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
PickerItemsListProps,
3131
PickerMethods
3232
} from './types';
33-
import {DialogProps} from '../../incubator/Dialog';
33+
import {DialogProps} from '../../incubator/dialog';
3434

3535
const DEFAULT_DIALOG_PROPS: DialogProps = {
3636
bottom: true,

src/components/slider/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {Constants, asBaseComponent} from '../../commons/new';
1818
import {extractAccessibilityProps} from '../../commons/modifiers';
1919
import {Colors} from '../../style';
2020
import View from '../view';
21-
import IncubatorSlider from '../../incubator/Slider';
21+
import IncubatorSlider from '../../incubator/slider';
2222
import {SliderProps} from './types';
2323
import Thumb from './Thumb';
2424

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/incubator/Dialog/Dialog.driver.new.ts renamed to src/incubator/dialog/Dialog.driver.new.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {ComponentProps} from '../../testkit/new/Component.driver';
2-
import {ModalDriver} from '../../testkit/';
2+
import {ModalDriver} from '../../testkit';
33

44
export const DialogDriver = (props: ComponentProps) => {
55
const {renderTree, testID} = props;
File renamed without changes.
File renamed without changes.

src/incubator/expandableOverlay/ExpandableOverlay.driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {ModalDriver} from '../../components/modal/Modal.driver.new';
2-
import {DialogDriver} from '../Dialog/Dialog.driver.new';
2+
import {DialogDriver} from '../dialog/Dialog.driver.new';
33
import {type ComponentProps, useComponentDriver} from '../../testkit/new/Component.driver';
44
import {usePressableDriver} from '../../testkit/new/usePressable.driver';
55

src/incubator/expandableOverlay/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import TouchableOpacity, {TouchableOpacityProps} from '../../components/touchabl
44
import View from '../../components/view';
55
import Modal, {ModalProps, ModalTopBarProps} from '../../components/modal';
66
import DialogOld from '../../components/dialog';
7-
import DialogNew, {DialogMigrationProps} from '../Dialog';
7+
import DialogNew, {DialogMigrationProps} from '../dialog';
88
import {Colors} from 'style';
99

1010
export interface ExpandableOverlayMethods {

src/incubator/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export {default as Calendar} from './Calendar';
1+
export {default as Calendar} from './calendar';
22
export {default as ExpandableOverlay, ExpandableOverlayProps, ExpandableOverlayMethods} from './expandableOverlay';
33
// @ts-ignore
44
export {
@@ -13,8 +13,8 @@ export {
1313
export {default as Toast, ToastProps, ToastPresets} from './toast';
1414
export {default as TouchableOpacity, TouchableOpacityProps} from './TouchableOpacity';
1515
export {default as PanView, PanViewProps, PanViewDirections, PanViewDismissThreshold} from './panView';
16-
export {default as Slider, SliderRef} from './Slider';
17-
export {default as Dialog, DialogProps, DialogHeaderProps, DialogStatics, DialogImperativeMethods} from './Dialog';
16+
export {default as Slider, SliderRef} from './slider';
17+
export {default as Dialog, DialogProps, DialogHeaderProps, DialogStatics, DialogImperativeMethods} from './dialog';
1818
// TODO: delete exports after fully removing from private
1919
export {default as ChipsInput, ChipsInputProps, ChipsInputChangeReason, ChipsInputChipProps} from '../components/chipsInput';
2020
export {default as WheelPicker, WheelPickerProps, WheelPickerItemProps, WheelPickerAlign, WheelPickerItemValue} from '../components/WheelPicker';
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/testkit/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export {TextDriver} from '../components/text/Text.driver.new';
1010
export {TextFieldDriver} from '../components/textField/TextField.driver.new';
1111
export {ViewDriver} from '../components/view/View.driver.new';
1212
export {ModalDriver} from '../components/modal/Modal.driver.new';
13-
export {DialogDriver} from '../incubator/Dialog/Dialog.driver.new';
13+
export {DialogDriver} from '../incubator/dialog/Dialog.driver.new';
1414
export {ButtonDriver} from '../components/button/Button.driver.new';
1515
export {ImageDriver} from '../components/image/Image.driver.new';
1616
export {SwitchDriver} from '../components/switch/switch.driver';

0 commit comments

Comments
 (0)