Skip to content

Commit

Permalink
Incubator - Fix components folder naming to be lower case (#3476)
Browse files Browse the repository at this point in the history
* Changed incubator calendar naming

* Changed incubator slider naming

* Changed incubator dialog naming
  • Loading branch information
nitzanyiz authored Dec 31, 2024
1 parent 73c5ea8 commit a862dc4
Show file tree
Hide file tree
Showing 61 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/colorPicker/ColorPickerDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/components/dateTimePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/components/picker/Picker.driver.new.ts
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/components/picker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/components/slider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
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.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/incubator/expandableOverlay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions src/incubator/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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';
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/testkit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit a862dc4

Please sign in to comment.