Skip to content

Commit 4eb425c

Browse files
Merge branch 'project-structure' into 'main'
chore: moved ui elements to components folder See merge request react-native/react-native-material-components!23
2 parents 4308e45 + a4b2894 commit 4eb425c

File tree

170 files changed

+146
-146
lines changed

Some content is hidden

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

170 files changed

+146
-146
lines changed

src/activity-indicators/circular-activity-indicator/CircularActivityIndicator.component.tsx renamed to src/components/activity-indicators/circular-activity-indicator/CircularActivityIndicator.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React, {useCallback, useEffect} from 'react';
33
import {type ColorValue, type ViewProps, View} from 'react-native';
44
import Animated, {Easing, useAnimatedProps, useAnimatedStyle, useSharedValue, withRepeat, withSequence, withTiming} from 'react-native-reanimated';
55

6-
import {useTheme} from '../../theme/useTheme.hook';
6+
import {useTheme} from '../../../theme/useTheme.hook';
77
import {styles} from './circular-activity-indicator.styles';
88

99
export interface CircularActivityIndicatorProps extends ViewProps {

src/activity-indicators/circular-activity-indicator/circular-activity-indicator.styles.ts renamed to src/components/activity-indicators/circular-activity-indicator/circular-activity-indicator.styles.ts

File renamed without changes.

src/activity-indicators/linear-activity-indicator/LinearActivityIndicator.component.tsx renamed to src/components/activity-indicators/linear-activity-indicator/LinearActivityIndicator.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, {useCallback, useEffect} from 'react';
22
import {type ColorValue, type ViewProps, View} from 'react-native';
33
import Animated, {Easing, useAnimatedStyle, useSharedValue, withDelay, withRepeat, withSequence, withTiming} from 'react-native-reanimated';
44

5-
import {useTheme} from '../../theme/useTheme.hook';
5+
import {useTheme} from '../../../theme/useTheme.hook';
66
import {styles} from './linear-activity-indicator.styles';
77

88
const TRACK_HEIGHT = 4;

src/activity-indicators/linear-activity-indicator/linear-activity-indicator.styles.ts renamed to src/components/activity-indicators/linear-activity-indicator/linear-activity-indicator.styles.ts

File renamed without changes.

src/app-bars/bottom-app-bar/BottomAppBar.component.tsx renamed to src/components/app-bars/bottom-app-bar/BottomAppBar.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import React, {useImperativeHandle, useState, forwardRef} from 'react';
33
import {View, type ViewProps, type LayoutChangeEvent} from 'react-native';
44
import Animated, {useAnimatedStyle, withSpring, type SharedValue} from 'react-native-reanimated';
55

6-
import {useTheme} from '../../theme/useTheme.hook';
6+
import {useTheme} from '../../../theme/useTheme.hook';
77
import {type IconProps} from '../../icons/icon-props';
8-
import {ScrollDirection} from '../../types/scroll-direction.type';
8+
import {ScrollDirection} from '../../../types/scroll-direction.type';
99
import {BOTTOM_APP_BAR_PADDING_VARTICAL, styles} from './bottom-app-bar.styles';
1010
import {type IconButtonProps} from '../../buttons/icon-buttons/icon-button.types';
1111
import {FloatingActionButton, FloatingActionButtonSize} from '../../buttons/floating-action-button/FloatingActionButton.component';

src/app-bars/bottom-app-bar/animated-bottom-app-bar-action-button/AnimatedBottomAppBarActionButton.component.tsx renamed to src/components/app-bars/bottom-app-bar/animated-bottom-app-bar-action-button/AnimatedBottomAppBarActionButton.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from 'react';
22
import Animated, {FadeInDown, FadeOut, withDelay, useAnimatedStyle, withSpring, type SharedValue} from 'react-native-reanimated';
33

4-
import {useTheme} from '../../../theme/useTheme.hook';
4+
import {useTheme} from '../../../../theme/useTheme.hook';
55
import {type IconProps} from '../../../icons/icon-props';
6-
import {ScrollDirection} from '../../../types/scroll-direction.type';
6+
import {ScrollDirection} from '../../../../types/scroll-direction.type';
77
import {type IconButtonProps} from '../../../buttons/icon-buttons/icon-button.types';
88
import {StandartIconButton} from '../../../buttons/icon-buttons/standart-icon-button/StandardIconButton.component';
99

src/app-bars/bottom-app-bar/bottom-app-bar.styles.ts renamed to src/components/app-bars/bottom-app-bar/bottom-app-bar.styles.ts

File renamed without changes.

src/app-bars/top-app-bars/base-top-app-bar/BaseTopAppBar.component.tsx renamed to src/components/app-bars/top-app-bars/base-top-app-bar/BaseTopAppBar.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {type ViewProps, type ColorValue} from 'react-native';
33
import {useSafeAreaInsets} from 'react-native-safe-area-context';
44
import Animated, {type SharedValue, useAnimatedStyle, interpolateColor, withTiming} from 'react-native-reanimated';
55

6-
import {useTheme} from '../../../theme/useTheme.hook';
6+
import {useTheme} from '../../../../theme/useTheme.hook';
77
import {BASE_TOP_APP_BAR_PADDING_VERTICAL, styles} from './base-top-app-bar.styles';
88

99
export interface BaseTopAppBarProps extends ViewProps {

src/app-bars/top-app-bars/base-top-app-bar/base-top-app-bar.styles.ts renamed to src/components/app-bars/top-app-bars/base-top-app-bar/base-top-app-bar.styles.ts

File renamed without changes.

src/app-bars/top-app-bars/center-aligned-top-app-bar/CenterAlignedTopAppBar.component.tsx renamed to src/components/app-bars/top-app-bars/center-aligned-top-app-bar/CenterAlignedTopAppBar.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from 'react';
22
import {Text, type StyleProp, type TextStyle} from 'react-native';
33

4-
import {useTheme} from '../../../theme/useTheme.hook';
4+
import {useTheme} from '../../../../theme/useTheme.hook';
55
import {type IconProps} from '../../../icons/icon-props';
66
import {styles} from './center-aligned-top-app-bar.styles';
7-
import {useTypography} from '../../../typography/useTypography.component';
7+
import {useTypography} from '../../../../typography/useTypography.component';
88
import {ArrowBackIcon} from '../../../icons/arrow-back-icon/ArrowBackIcon.component';
99
import {BaseTopAppBar, type BaseTopAppBarProps} from '../base-top-app-bar/BaseTopAppBar.component';
1010
import {StandartIconButton} from '../../../buttons/icon-buttons/standart-icon-button/StandardIconButton.component';

0 commit comments

Comments
 (0)