From a862dc4d1ee34e2722e75e52049dca24dd2a9369 Mon Sep 17 00:00:00 2001 From: Nitzan Yizhar Date: Tue, 31 Dec 2024 13:38:14 +0200 Subject: [PATCH] Incubator - Fix components folder naming to be lower case (#3476) * Changed incubator calendar naming * Changed incubator slider naming * Changed incubator dialog naming --- src/components/colorPicker/ColorPickerDialog.tsx | 2 +- src/components/dateTimePicker/index.tsx | 2 +- src/components/picker/Picker.driver.new.ts | 2 +- src/components/picker/index.tsx | 2 +- src/components/slider/index.tsx | 2 +- src/incubator/{Calendar => calendar}/Agenda.tsx | 0 .../{Calendar => calendar}/CalendarContext.ts | 0 .../{Calendar => calendar}/CalendarItem.tsx | 0 src/incubator/{Calendar => calendar}/Day.tsx | 0 src/incubator/{Calendar => calendar}/Day_OLD.tsx | 0 src/incubator/{Calendar => calendar}/Header.tsx | 0 src/incubator/{Calendar => calendar}/Month.tsx | 0 .../{Calendar => calendar}/TodayButton.tsx | 0 src/incubator/{Calendar => calendar}/Week.tsx | 0 .../{Calendar => calendar}/WeekDaysNames.tsx | 0 .../__tests__/DateUtils.spec.ts | 0 .../{Calendar => calendar}/assets/arrowBack.png | Bin .../assets/arrowBack@1.5x.png | Bin .../{Calendar => calendar}/assets/arrowBack@2x.png | Bin .../{Calendar => calendar}/assets/arrowBack@3x.png | Bin .../{Calendar => calendar}/assets/arrowBack@4x.png | Bin .../{Calendar => calendar}/assets/arrowNext.png | Bin .../assets/arrowNext@1.5x.png | Bin .../{Calendar => calendar}/assets/arrowNext@2x.png | Bin .../{Calendar => calendar}/assets/arrowNext@3x.png | Bin .../{Calendar => calendar}/assets/arrowNext@4x.png | Bin .../{Calendar => calendar}/assets/down.png | Bin .../{Calendar => calendar}/assets/down@1.5x.png | Bin .../{Calendar => calendar}/assets/down@2x.png | Bin .../{Calendar => calendar}/assets/down@3x.png | Bin .../{Calendar => calendar}/assets/down@4x.png | Bin src/incubator/{Calendar => calendar}/assets/up.png | Bin .../{Calendar => calendar}/assets/up@1.5x.png | Bin .../{Calendar => calendar}/assets/up@2x.png | Bin .../{Calendar => calendar}/assets/up@3x.png | Bin .../{Calendar => calendar}/assets/up@4x.png | Bin .../helpers/CalendarProcessor.ts | 0 .../{Calendar => calendar}/helpers/DataProcessor.ts | 0 .../{Calendar => calendar}/helpers/DateUtils.ts | 0 src/incubator/{Calendar => calendar}/index.tsx | 0 src/incubator/{Calendar => calendar}/types.ts | 0 .../{Dialog => dialog}/Dialog.driver.new.ts | 2 +- src/incubator/{Dialog => dialog}/DialogHeader.tsx | 0 .../{Dialog => dialog}/__tests__/index.new.spec.tsx | 0 src/incubator/{Dialog => dialog}/dialog.api.json | 0 .../{Dialog => dialog}/dialogHeader.api.json | 0 src/incubator/{Dialog => dialog}/index.tsx | 0 src/incubator/{Dialog => dialog}/types.ts | 0 .../{Dialog => dialog}/useDialogContent.tsx | 0 .../expandableOverlay/ExpandableOverlay.driver.ts | 2 +- src/incubator/expandableOverlay/index.tsx | 2 +- src/incubator/index.ts | 6 +++--- src/incubator/{Slider => slider}/Slider.driver.ts | 0 src/incubator/{Slider => slider}/SliderPresenter.ts | 0 src/incubator/{Slider => slider}/Thumb.tsx | 0 src/incubator/{Slider => slider}/Track.tsx | 0 .../__tests__/SliderPresenter.spec.ts | 0 .../{Slider => slider}/__tests__/index.spec.tsx | 0 src/incubator/{Slider => slider}/index.tsx | 0 src/incubator/{Slider => slider}/slider.api.json | 0 src/testkit/index.ts | 2 +- 61 files changed, 12 insertions(+), 12 deletions(-) rename src/incubator/{Calendar => calendar}/Agenda.tsx (100%) rename src/incubator/{Calendar => calendar}/CalendarContext.ts (100%) rename src/incubator/{Calendar => calendar}/CalendarItem.tsx (100%) rename src/incubator/{Calendar => calendar}/Day.tsx (100%) rename src/incubator/{Calendar => calendar}/Day_OLD.tsx (100%) rename src/incubator/{Calendar => calendar}/Header.tsx (100%) rename src/incubator/{Calendar => calendar}/Month.tsx (100%) rename src/incubator/{Calendar => calendar}/TodayButton.tsx (100%) rename src/incubator/{Calendar => calendar}/Week.tsx (100%) rename src/incubator/{Calendar => calendar}/WeekDaysNames.tsx (100%) rename src/incubator/{Calendar => calendar}/__tests__/DateUtils.spec.ts (100%) rename src/incubator/{Calendar => calendar}/assets/arrowBack.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowBack@1.5x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowBack@2x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowBack@3x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowBack@4x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowNext.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowNext@1.5x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowNext@2x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowNext@3x.png (100%) rename src/incubator/{Calendar => calendar}/assets/arrowNext@4x.png (100%) rename src/incubator/{Calendar => calendar}/assets/down.png (100%) rename src/incubator/{Calendar => calendar}/assets/down@1.5x.png (100%) rename src/incubator/{Calendar => calendar}/assets/down@2x.png (100%) rename src/incubator/{Calendar => calendar}/assets/down@3x.png (100%) rename src/incubator/{Calendar => calendar}/assets/down@4x.png (100%) rename src/incubator/{Calendar => calendar}/assets/up.png (100%) rename src/incubator/{Calendar => calendar}/assets/up@1.5x.png (100%) rename src/incubator/{Calendar => calendar}/assets/up@2x.png (100%) rename src/incubator/{Calendar => calendar}/assets/up@3x.png (100%) rename src/incubator/{Calendar => calendar}/assets/up@4x.png (100%) rename src/incubator/{Calendar => calendar}/helpers/CalendarProcessor.ts (100%) rename src/incubator/{Calendar => calendar}/helpers/DataProcessor.ts (100%) rename src/incubator/{Calendar => calendar}/helpers/DateUtils.ts (100%) rename src/incubator/{Calendar => calendar}/index.tsx (100%) rename src/incubator/{Calendar => calendar}/types.ts (100%) rename src/incubator/{Dialog => dialog}/Dialog.driver.new.ts (92%) rename src/incubator/{Dialog => dialog}/DialogHeader.tsx (100%) rename src/incubator/{Dialog => dialog}/__tests__/index.new.spec.tsx (100%) rename src/incubator/{Dialog => dialog}/dialog.api.json (100%) rename src/incubator/{Dialog => dialog}/dialogHeader.api.json (100%) rename src/incubator/{Dialog => dialog}/index.tsx (100%) rename src/incubator/{Dialog => dialog}/types.ts (100%) rename src/incubator/{Dialog => dialog}/useDialogContent.tsx (100%) rename src/incubator/{Slider => slider}/Slider.driver.ts (100%) rename src/incubator/{Slider => slider}/SliderPresenter.ts (100%) rename src/incubator/{Slider => slider}/Thumb.tsx (100%) rename src/incubator/{Slider => slider}/Track.tsx (100%) rename src/incubator/{Slider => slider}/__tests__/SliderPresenter.spec.ts (100%) rename src/incubator/{Slider => slider}/__tests__/index.spec.tsx (100%) rename src/incubator/{Slider => slider}/index.tsx (100%) rename src/incubator/{Slider => slider}/slider.api.json (100%) diff --git a/src/components/colorPicker/ColorPickerDialog.tsx b/src/components/colorPicker/ColorPickerDialog.tsx index ed2dc0f103..5838f6a8ef 100644 --- a/src/components/colorPicker/ColorPickerDialog.tsx +++ b/src/components/colorPicker/ColorPickerDialog.tsx @@ -4,7 +4,7 @@ import {LayoutAnimation, StyleSheet, Keyboard, StyleProp, ViewStyle} from 'react import {Constants, asBaseComponent} from '../../commons/new'; import {Colors} from '../../style'; import {ModalProps} from '../../components/modal'; -import Dialog, {DialogProps} from '../../incubator/Dialog'; +import Dialog, {DialogProps} from '../../incubator/dialog'; import {getColorValue, getValidColorString, getTextColor, BORDER_RADIUS, HSLColor} from './ColorPickerPresenter'; import ColorPickerDialogHeader from './ColorPickerDialogHeader'; import ColorPickerPreview from './ColorPickerPreview'; diff --git a/src/components/dateTimePicker/index.tsx b/src/components/dateTimePicker/index.tsx index 3edf5c7ed3..5a87e42cc0 100644 --- a/src/components/dateTimePicker/index.tsx +++ b/src/components/dateTimePicker/index.tsx @@ -15,7 +15,7 @@ import {Colors} from '../../style'; import Assets from '../../assets'; import {Constants, asBaseComponent, BaseComponentInjectedProps} from '../../commons/new'; import TextField, {TextFieldProps, TextFieldMethods} from '../textField'; -import type {DialogMigrationProps} from '../../incubator/Dialog'; +import type {DialogMigrationProps} from '../../incubator/dialog'; import {DialogProps} from '../dialog'; import View from '../view'; import Button, {ButtonProps} from '../button'; diff --git a/src/components/picker/Picker.driver.new.ts b/src/components/picker/Picker.driver.new.ts index 3576274d8a..c501f08b79 100644 --- a/src/components/picker/Picker.driver.new.ts +++ b/src/components/picker/Picker.driver.new.ts @@ -1,7 +1,7 @@ import {ComponentProps} from '../../testkit/new/Component.driver'; import {TextFieldDriver} from '../textField/TextField.driver.new'; import {ModalDriver} from '../modal/Modal.driver.new'; -import {DialogDriver} from '../../incubator/Dialog/Dialog.driver.new'; +import {DialogDriver} from '../../incubator/dialog/Dialog.driver.new'; import {ButtonDriver} from '../button/Button.driver.new'; import {ExpandableOverlayDriver} from '../../incubator/expandableOverlay/ExpandableOverlay.driver'; diff --git a/src/components/picker/index.tsx b/src/components/picker/index.tsx index 5feeb57783..183af08781 100644 --- a/src/components/picker/index.tsx +++ b/src/components/picker/index.tsx @@ -30,7 +30,7 @@ import { PickerItemsListProps, PickerMethods } from './types'; -import {DialogProps} from '../../incubator/Dialog'; +import {DialogProps} from '../../incubator/dialog'; const DEFAULT_DIALOG_PROPS: DialogProps = { bottom: true, diff --git a/src/components/slider/index.tsx b/src/components/slider/index.tsx index e92de53ff1..db9bc89cba 100644 --- a/src/components/slider/index.tsx +++ b/src/components/slider/index.tsx @@ -18,7 +18,7 @@ import {Constants, asBaseComponent} from '../../commons/new'; import {extractAccessibilityProps} from '../../commons/modifiers'; import {Colors} from '../../style'; import View from '../view'; -import IncubatorSlider from '../../incubator/Slider'; +import IncubatorSlider from '../../incubator/slider'; import {SliderProps} from './types'; import Thumb from './Thumb'; diff --git a/src/incubator/Calendar/Agenda.tsx b/src/incubator/calendar/Agenda.tsx similarity index 100% rename from src/incubator/Calendar/Agenda.tsx rename to src/incubator/calendar/Agenda.tsx diff --git a/src/incubator/Calendar/CalendarContext.ts b/src/incubator/calendar/CalendarContext.ts similarity index 100% rename from src/incubator/Calendar/CalendarContext.ts rename to src/incubator/calendar/CalendarContext.ts diff --git a/src/incubator/Calendar/CalendarItem.tsx b/src/incubator/calendar/CalendarItem.tsx similarity index 100% rename from src/incubator/Calendar/CalendarItem.tsx rename to src/incubator/calendar/CalendarItem.tsx diff --git a/src/incubator/Calendar/Day.tsx b/src/incubator/calendar/Day.tsx similarity index 100% rename from src/incubator/Calendar/Day.tsx rename to src/incubator/calendar/Day.tsx diff --git a/src/incubator/Calendar/Day_OLD.tsx b/src/incubator/calendar/Day_OLD.tsx similarity index 100% rename from src/incubator/Calendar/Day_OLD.tsx rename to src/incubator/calendar/Day_OLD.tsx diff --git a/src/incubator/Calendar/Header.tsx b/src/incubator/calendar/Header.tsx similarity index 100% rename from src/incubator/Calendar/Header.tsx rename to src/incubator/calendar/Header.tsx diff --git a/src/incubator/Calendar/Month.tsx b/src/incubator/calendar/Month.tsx similarity index 100% rename from src/incubator/Calendar/Month.tsx rename to src/incubator/calendar/Month.tsx diff --git a/src/incubator/Calendar/TodayButton.tsx b/src/incubator/calendar/TodayButton.tsx similarity index 100% rename from src/incubator/Calendar/TodayButton.tsx rename to src/incubator/calendar/TodayButton.tsx diff --git a/src/incubator/Calendar/Week.tsx b/src/incubator/calendar/Week.tsx similarity index 100% rename from src/incubator/Calendar/Week.tsx rename to src/incubator/calendar/Week.tsx diff --git a/src/incubator/Calendar/WeekDaysNames.tsx b/src/incubator/calendar/WeekDaysNames.tsx similarity index 100% rename from src/incubator/Calendar/WeekDaysNames.tsx rename to src/incubator/calendar/WeekDaysNames.tsx diff --git a/src/incubator/Calendar/__tests__/DateUtils.spec.ts b/src/incubator/calendar/__tests__/DateUtils.spec.ts similarity index 100% rename from src/incubator/Calendar/__tests__/DateUtils.spec.ts rename to src/incubator/calendar/__tests__/DateUtils.spec.ts diff --git a/src/incubator/Calendar/assets/arrowBack.png b/src/incubator/calendar/assets/arrowBack.png similarity index 100% rename from src/incubator/Calendar/assets/arrowBack.png rename to src/incubator/calendar/assets/arrowBack.png diff --git a/src/incubator/Calendar/assets/arrowBack@1.5x.png b/src/incubator/calendar/assets/arrowBack@1.5x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowBack@1.5x.png rename to src/incubator/calendar/assets/arrowBack@1.5x.png diff --git a/src/incubator/Calendar/assets/arrowBack@2x.png b/src/incubator/calendar/assets/arrowBack@2x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowBack@2x.png rename to src/incubator/calendar/assets/arrowBack@2x.png diff --git a/src/incubator/Calendar/assets/arrowBack@3x.png b/src/incubator/calendar/assets/arrowBack@3x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowBack@3x.png rename to src/incubator/calendar/assets/arrowBack@3x.png diff --git a/src/incubator/Calendar/assets/arrowBack@4x.png b/src/incubator/calendar/assets/arrowBack@4x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowBack@4x.png rename to src/incubator/calendar/assets/arrowBack@4x.png diff --git a/src/incubator/Calendar/assets/arrowNext.png b/src/incubator/calendar/assets/arrowNext.png similarity index 100% rename from src/incubator/Calendar/assets/arrowNext.png rename to src/incubator/calendar/assets/arrowNext.png diff --git a/src/incubator/Calendar/assets/arrowNext@1.5x.png b/src/incubator/calendar/assets/arrowNext@1.5x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowNext@1.5x.png rename to src/incubator/calendar/assets/arrowNext@1.5x.png diff --git a/src/incubator/Calendar/assets/arrowNext@2x.png b/src/incubator/calendar/assets/arrowNext@2x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowNext@2x.png rename to src/incubator/calendar/assets/arrowNext@2x.png diff --git a/src/incubator/Calendar/assets/arrowNext@3x.png b/src/incubator/calendar/assets/arrowNext@3x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowNext@3x.png rename to src/incubator/calendar/assets/arrowNext@3x.png diff --git a/src/incubator/Calendar/assets/arrowNext@4x.png b/src/incubator/calendar/assets/arrowNext@4x.png similarity index 100% rename from src/incubator/Calendar/assets/arrowNext@4x.png rename to src/incubator/calendar/assets/arrowNext@4x.png diff --git a/src/incubator/Calendar/assets/down.png b/src/incubator/calendar/assets/down.png similarity index 100% rename from src/incubator/Calendar/assets/down.png rename to src/incubator/calendar/assets/down.png diff --git a/src/incubator/Calendar/assets/down@1.5x.png b/src/incubator/calendar/assets/down@1.5x.png similarity index 100% rename from src/incubator/Calendar/assets/down@1.5x.png rename to src/incubator/calendar/assets/down@1.5x.png diff --git a/src/incubator/Calendar/assets/down@2x.png b/src/incubator/calendar/assets/down@2x.png similarity index 100% rename from src/incubator/Calendar/assets/down@2x.png rename to src/incubator/calendar/assets/down@2x.png diff --git a/src/incubator/Calendar/assets/down@3x.png b/src/incubator/calendar/assets/down@3x.png similarity index 100% rename from src/incubator/Calendar/assets/down@3x.png rename to src/incubator/calendar/assets/down@3x.png diff --git a/src/incubator/Calendar/assets/down@4x.png b/src/incubator/calendar/assets/down@4x.png similarity index 100% rename from src/incubator/Calendar/assets/down@4x.png rename to src/incubator/calendar/assets/down@4x.png diff --git a/src/incubator/Calendar/assets/up.png b/src/incubator/calendar/assets/up.png similarity index 100% rename from src/incubator/Calendar/assets/up.png rename to src/incubator/calendar/assets/up.png diff --git a/src/incubator/Calendar/assets/up@1.5x.png b/src/incubator/calendar/assets/up@1.5x.png similarity index 100% rename from src/incubator/Calendar/assets/up@1.5x.png rename to src/incubator/calendar/assets/up@1.5x.png diff --git a/src/incubator/Calendar/assets/up@2x.png b/src/incubator/calendar/assets/up@2x.png similarity index 100% rename from src/incubator/Calendar/assets/up@2x.png rename to src/incubator/calendar/assets/up@2x.png diff --git a/src/incubator/Calendar/assets/up@3x.png b/src/incubator/calendar/assets/up@3x.png similarity index 100% rename from src/incubator/Calendar/assets/up@3x.png rename to src/incubator/calendar/assets/up@3x.png diff --git a/src/incubator/Calendar/assets/up@4x.png b/src/incubator/calendar/assets/up@4x.png similarity index 100% rename from src/incubator/Calendar/assets/up@4x.png rename to src/incubator/calendar/assets/up@4x.png diff --git a/src/incubator/Calendar/helpers/CalendarProcessor.ts b/src/incubator/calendar/helpers/CalendarProcessor.ts similarity index 100% rename from src/incubator/Calendar/helpers/CalendarProcessor.ts rename to src/incubator/calendar/helpers/CalendarProcessor.ts diff --git a/src/incubator/Calendar/helpers/DataProcessor.ts b/src/incubator/calendar/helpers/DataProcessor.ts similarity index 100% rename from src/incubator/Calendar/helpers/DataProcessor.ts rename to src/incubator/calendar/helpers/DataProcessor.ts diff --git a/src/incubator/Calendar/helpers/DateUtils.ts b/src/incubator/calendar/helpers/DateUtils.ts similarity index 100% rename from src/incubator/Calendar/helpers/DateUtils.ts rename to src/incubator/calendar/helpers/DateUtils.ts diff --git a/src/incubator/Calendar/index.tsx b/src/incubator/calendar/index.tsx similarity index 100% rename from src/incubator/Calendar/index.tsx rename to src/incubator/calendar/index.tsx diff --git a/src/incubator/Calendar/types.ts b/src/incubator/calendar/types.ts similarity index 100% rename from src/incubator/Calendar/types.ts rename to src/incubator/calendar/types.ts diff --git a/src/incubator/Dialog/Dialog.driver.new.ts b/src/incubator/dialog/Dialog.driver.new.ts similarity index 92% rename from src/incubator/Dialog/Dialog.driver.new.ts rename to src/incubator/dialog/Dialog.driver.new.ts index 7fd1985ffa..ed81fdaf9b 100644 --- a/src/incubator/Dialog/Dialog.driver.new.ts +++ b/src/incubator/dialog/Dialog.driver.new.ts @@ -1,5 +1,5 @@ import {ComponentProps} from '../../testkit/new/Component.driver'; -import {ModalDriver} from '../../testkit/'; +import {ModalDriver} from '../../testkit'; export const DialogDriver = (props: ComponentProps) => { const {renderTree, testID} = props; diff --git a/src/incubator/Dialog/DialogHeader.tsx b/src/incubator/dialog/DialogHeader.tsx similarity index 100% rename from src/incubator/Dialog/DialogHeader.tsx rename to src/incubator/dialog/DialogHeader.tsx diff --git a/src/incubator/Dialog/__tests__/index.new.spec.tsx b/src/incubator/dialog/__tests__/index.new.spec.tsx similarity index 100% rename from src/incubator/Dialog/__tests__/index.new.spec.tsx rename to src/incubator/dialog/__tests__/index.new.spec.tsx diff --git a/src/incubator/Dialog/dialog.api.json b/src/incubator/dialog/dialog.api.json similarity index 100% rename from src/incubator/Dialog/dialog.api.json rename to src/incubator/dialog/dialog.api.json diff --git a/src/incubator/Dialog/dialogHeader.api.json b/src/incubator/dialog/dialogHeader.api.json similarity index 100% rename from src/incubator/Dialog/dialogHeader.api.json rename to src/incubator/dialog/dialogHeader.api.json diff --git a/src/incubator/Dialog/index.tsx b/src/incubator/dialog/index.tsx similarity index 100% rename from src/incubator/Dialog/index.tsx rename to src/incubator/dialog/index.tsx diff --git a/src/incubator/Dialog/types.ts b/src/incubator/dialog/types.ts similarity index 100% rename from src/incubator/Dialog/types.ts rename to src/incubator/dialog/types.ts diff --git a/src/incubator/Dialog/useDialogContent.tsx b/src/incubator/dialog/useDialogContent.tsx similarity index 100% rename from src/incubator/Dialog/useDialogContent.tsx rename to src/incubator/dialog/useDialogContent.tsx diff --git a/src/incubator/expandableOverlay/ExpandableOverlay.driver.ts b/src/incubator/expandableOverlay/ExpandableOverlay.driver.ts index f0ad8139f3..ebcdd42e90 100644 --- a/src/incubator/expandableOverlay/ExpandableOverlay.driver.ts +++ b/src/incubator/expandableOverlay/ExpandableOverlay.driver.ts @@ -1,5 +1,5 @@ import {ModalDriver} from '../../components/modal/Modal.driver.new'; -import {DialogDriver} from '../Dialog/Dialog.driver.new'; +import {DialogDriver} from '../dialog/Dialog.driver.new'; import {type ComponentProps, useComponentDriver} from '../../testkit/new/Component.driver'; import {usePressableDriver} from '../../testkit/new/usePressable.driver'; diff --git a/src/incubator/expandableOverlay/index.tsx b/src/incubator/expandableOverlay/index.tsx index b8a24a0ed5..d3cf6846fd 100644 --- a/src/incubator/expandableOverlay/index.tsx +++ b/src/incubator/expandableOverlay/index.tsx @@ -4,7 +4,7 @@ import TouchableOpacity, {TouchableOpacityProps} from '../../components/touchabl import View from '../../components/view'; import Modal, {ModalProps, ModalTopBarProps} from '../../components/modal'; import DialogOld from '../../components/dialog'; -import DialogNew, {DialogMigrationProps} from '../Dialog'; +import DialogNew, {DialogMigrationProps} from '../dialog'; import {Colors} from 'style'; export interface ExpandableOverlayMethods { diff --git a/src/incubator/index.ts b/src/incubator/index.ts index d97ff71960..b864f24132 100644 --- a/src/incubator/index.ts +++ b/src/incubator/index.ts @@ -1,4 +1,4 @@ -export {default as Calendar} from './Calendar'; +export {default as Calendar} from './calendar'; export {default as ExpandableOverlay, ExpandableOverlayProps, ExpandableOverlayMethods} from './expandableOverlay'; // @ts-ignore export { @@ -13,8 +13,8 @@ export { export {default as Toast, ToastProps, ToastPresets} from './toast'; export {default as TouchableOpacity, TouchableOpacityProps} from './TouchableOpacity'; export {default as PanView, PanViewProps, PanViewDirections, PanViewDismissThreshold} from './panView'; -export {default as Slider, SliderRef} from './Slider'; -export {default as Dialog, DialogProps, DialogHeaderProps, DialogStatics, DialogImperativeMethods} from './Dialog'; +export {default as Slider, SliderRef} from './slider'; +export {default as Dialog, DialogProps, DialogHeaderProps, DialogStatics, DialogImperativeMethods} from './dialog'; // TODO: delete exports after fully removing from private export {default as ChipsInput, ChipsInputProps, ChipsInputChangeReason, ChipsInputChipProps} from '../components/chipsInput'; export {default as WheelPicker, WheelPickerProps, WheelPickerItemProps, WheelPickerAlign, WheelPickerItemValue} from '../components/WheelPicker'; diff --git a/src/incubator/Slider/Slider.driver.ts b/src/incubator/slider/Slider.driver.ts similarity index 100% rename from src/incubator/Slider/Slider.driver.ts rename to src/incubator/slider/Slider.driver.ts diff --git a/src/incubator/Slider/SliderPresenter.ts b/src/incubator/slider/SliderPresenter.ts similarity index 100% rename from src/incubator/Slider/SliderPresenter.ts rename to src/incubator/slider/SliderPresenter.ts diff --git a/src/incubator/Slider/Thumb.tsx b/src/incubator/slider/Thumb.tsx similarity index 100% rename from src/incubator/Slider/Thumb.tsx rename to src/incubator/slider/Thumb.tsx diff --git a/src/incubator/Slider/Track.tsx b/src/incubator/slider/Track.tsx similarity index 100% rename from src/incubator/Slider/Track.tsx rename to src/incubator/slider/Track.tsx diff --git a/src/incubator/Slider/__tests__/SliderPresenter.spec.ts b/src/incubator/slider/__tests__/SliderPresenter.spec.ts similarity index 100% rename from src/incubator/Slider/__tests__/SliderPresenter.spec.ts rename to src/incubator/slider/__tests__/SliderPresenter.spec.ts diff --git a/src/incubator/Slider/__tests__/index.spec.tsx b/src/incubator/slider/__tests__/index.spec.tsx similarity index 100% rename from src/incubator/Slider/__tests__/index.spec.tsx rename to src/incubator/slider/__tests__/index.spec.tsx diff --git a/src/incubator/Slider/index.tsx b/src/incubator/slider/index.tsx similarity index 100% rename from src/incubator/Slider/index.tsx rename to src/incubator/slider/index.tsx diff --git a/src/incubator/Slider/slider.api.json b/src/incubator/slider/slider.api.json similarity index 100% rename from src/incubator/Slider/slider.api.json rename to src/incubator/slider/slider.api.json diff --git a/src/testkit/index.ts b/src/testkit/index.ts index 83e0a87521..2fe646b742 100644 --- a/src/testkit/index.ts +++ b/src/testkit/index.ts @@ -10,7 +10,7 @@ export {TextDriver} from '../components/text/Text.driver.new'; export {TextFieldDriver} from '../components/textField/TextField.driver.new'; export {ViewDriver} from '../components/view/View.driver.new'; export {ModalDriver} from '../components/modal/Modal.driver.new'; -export {DialogDriver} from '../incubator/Dialog/Dialog.driver.new'; +export {DialogDriver} from '../incubator/dialog/Dialog.driver.new'; export {ButtonDriver} from '../components/button/Button.driver.new'; export {ImageDriver} from '../components/image/Image.driver.new'; export {SwitchDriver} from '../components/switch/switch.driver';