File tree Expand file tree Collapse file tree 16 files changed +28
-33
lines changed
packages/react-native-reanimated/src Expand file tree Collapse file tree 16 files changed +28
-33
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
3- import type { AnyRecord } from '../../../common ' ;
4- import { hasSuffix } from '../../../common ' ;
3+ import type { AnyRecord } from '../..' ;
4+ import { hasSuffix } from '../..' ;
55import {
66 hasProp ,
77 isConfigPropertyAlias ,
88 isDefined ,
99 isRecord ,
1010 kebabizeCamelCase ,
11- } from '../../utils' ;
11+ } from '../../../css/ utils' ;
1212import type {
1313 AnyBuilderConfig ,
1414 RuleBuilder ,
Original file line number Diff line number Diff line change 11'use strict' ;
22export * from './shadows' ;
3+ export * from './transforms' ;
Original file line number Diff line number Diff line change 11'use strict' ;
22import type { TextStyle , ViewStyle } from 'react-native' ;
33
4- import type { ValueProcessor } from '../../../../common ' ;
5- import { logger } from '../../../../common ' ;
6- import { opacifyColor } from '../../utils ' ;
4+ import { opacifyColor } from '../../../../css/web/utils ' ;
5+ import type { ValueProcessor } from '../../..' ;
6+ import { logger } from '../../.. ' ;
77import { createRuleBuilder } from '../builderFactories' ;
88import { processColor } from '../processors' ;
99
File renamed without changes.
Original file line number Diff line number Diff line change 11'use strict' ;
2- import type { PlainStyle } from '../../common' ;
3- import { processBoxShadowWeb } from '../../common/web/style' ;
4- import type { StyleBuilderConfig } from './style' ;
2+ import { processColor } from '../../processors' ;
3+ import type { PlainStyle } from '../../types' ;
54import {
65 boxShadowBuilder ,
7- processColor ,
86 processFilter ,
97 processFontVariant ,
108 processFontWeight ,
@@ -15,7 +13,9 @@ import {
1513 processTransform ,
1614 processTransformOrigin ,
1715 textShadowBuilder ,
18- } from './style' ;
16+ } from './processors' ;
17+ import { processBoxShadowWeb } from './processors/shadows' ;
18+ import type { StyleBuilderConfig } from './types' ;
1919
2020const colorAttributes = { process : processColor } ;
2121
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22import type { ColorValue } from 'react-native' ;
33
44import { convertToRGBA , rgbaArrayToRGBAColor } from '../../../../Colors' ;
5- import { isNumber } from '../../../utils' ;
5+ import { isNumber } from '../../../../css/ utils' ;
66import type { ValueProcessor } from '../types' ;
77
88export const processColor : ValueProcessor < ColorValue > = ( value ) => {
Original file line number Diff line number Diff line change 11'use strict' ;
22import type { FilterFunction } from 'react-native' ;
33
4- import { maybeAddSuffix } from '../../../../common ' ;
4+ import { maybeAddSuffix } from '../../..' ;
55import type { ValueProcessor } from '../types' ;
66
77const FILTER_SUFFIXES : Record < string , string > = {
Original file line number Diff line number Diff line change 11'use strict' ;
22import type { FontVariant } from 'react-native' ;
33
4- import { FONT_WEIGHT_MAPPINGS } from '../../../constants' ;
4+ import { FONT_WEIGHT_MAPPINGS } from '../../../../css/ constants' ;
55import type { ValueProcessor } from '../types' ;
66
77export const processFontWeight : ValueProcessor < number | string > = ( value ) => {
Original file line number Diff line number Diff line change 1- export * from './shadows' ;
1+ 'use strict' ;
2+ export * from '../builders/shadows' ;
3+ export * from '../builders/transforms' ;
4+ export * from './colors' ;
5+ export * from './filter' ;
6+ export * from './font' ;
7+ export * from './margins' ;
8+ export * from './paddings' ;
You can’t perform that action at this time.
0 commit comments