Move not shared to client (#21135)
Sebastian Markbåge committed
Mar 29, 2021 at 22:35 UTC
8e76371241646038a4c98426d8da59fe263538d6
5 files changed
+5
-5
packages/react-dom/src/client/CSSPropertyOperations.js
renamed
+3
-3
@@ -7,9 +7,9 @@
7
8
import {shorthandToLonghand} from './CSSShorthandProperty';
9
10
-import dangerousStyleValue from './dangerousStyleValue';
11
-import hyphenateStyleName from './hyphenateStyleName';
12
-import warnValidStyle from './warnValidStyle';
10
+import dangerousStyleValue from '../shared/dangerousStyleValue';
11
+import hyphenateStyleName from '../shared/hyphenateStyleName';
12
+import warnValidStyle from '../shared/warnValidStyle';
13
14
/**
15
* Operations for dealing with CSS properties.
packages/react-dom/src/client/CSSShorthandProperty.js
renamed
packages/react-dom/src/client/ReactDOMComponent.js
+1
-1
@@ -53,7 +53,7 @@ import {
53
createDangerousStringForStyles,
54
setValueForStyles,
55
validateShorthandPropertyCollisionInDev,
56
-} from '../shared/CSSPropertyOperations';
56
+} from './CSSPropertyOperations';
57
import {HTML_NAMESPACE, getIntrinsicNamespace} from '../shared/DOMNamespaces';
58
import {
59
getPropertyInfo,
packages/react-dom/src/client/createMicrosoftUnsafeLocalFunction.js
renamed
packages/react-dom/src/client/setInnerHTML.js
+1
-1
@@ -8,7 +8,7 @@
8
*/
9
10
import {SVG_NAMESPACE} from '../shared/DOMNamespaces';
11
-import createMicrosoftUnsafeLocalFunction from '../shared/createMicrosoftUnsafeLocalFunction';
11
+import createMicrosoftUnsafeLocalFunction from './createMicrosoftUnsafeLocalFunction';
12
import {enableTrustedTypesIntegration} from 'shared/ReactFeatureFlags';
13
14
// SVG temp container for IE lacking innerHTML