@instructure/emotion 8.9.2-snapshot.4 → 8.9.2-snapshot.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/withStyle.js +2 -2
- package/lib/withStyle.js +2 -2
- package/package.json +10 -10
- package/src/withStyle.tsx +2 -2
package/es/withStyle.js
CHANGED
|
@@ -132,9 +132,9 @@ const withStyle = decorator((ComposedComponent, generateStyle, generateComponent
|
|
|
132
132
|
styles: styles
|
|
133
133
|
}, props));
|
|
134
134
|
});
|
|
135
|
-
hoistNonReactStatics(WithStyle, ComposedComponent); // we have to pass these on, because sometimes
|
|
135
|
+
hoistNonReactStatics(WithStyle, ComposedComponent); // we have to pass these on, because sometimes users
|
|
136
136
|
// access propTypes of the component in other components
|
|
137
|
-
//
|
|
137
|
+
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
138
138
|
|
|
139
139
|
WithStyle.propTypes = ComposedComponent.propTypes;
|
|
140
140
|
WithStyle.defaultProps = ComposedComponent.defaultProps;
|
package/lib/withStyle.js
CHANGED
|
@@ -151,9 +151,9 @@ const withStyle = (0, _decorator.decorator)((ComposedComponent, generateStyle, g
|
|
|
151
151
|
styles: styles
|
|
152
152
|
}, props));
|
|
153
153
|
});
|
|
154
|
-
(0, _hoistNonReactStatics.default)(WithStyle, ComposedComponent); // we have to pass these on, because sometimes
|
|
154
|
+
(0, _hoistNonReactStatics.default)(WithStyle, ComposedComponent); // we have to pass these on, because sometimes users
|
|
155
155
|
// access propTypes of the component in other components
|
|
156
|
-
//
|
|
156
|
+
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
157
157
|
|
|
158
158
|
WithStyle.propTypes = ComposedComponent.propTypes;
|
|
159
159
|
WithStyle.defaultProps = ComposedComponent.defaultProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/emotion",
|
|
3
|
-
"version": "8.9.2-snapshot.
|
|
3
|
+
"version": "8.9.2-snapshot.7+1a56581cd",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
28
|
"@emotion/react": "^11.4.1",
|
|
29
|
-
"@instructure/console": "8.9.2-snapshot.
|
|
30
|
-
"@instructure/shared-types": "8.9.2-snapshot.
|
|
31
|
-
"@instructure/ui-decorator": "8.9.2-snapshot.
|
|
32
|
-
"@instructure/ui-i18n": "8.9.2-snapshot.
|
|
33
|
-
"@instructure/ui-themes": "8.9.2-snapshot.
|
|
34
|
-
"@instructure/ui-utils": "8.9.2-snapshot.
|
|
29
|
+
"@instructure/console": "8.9.2-snapshot.7+1a56581cd",
|
|
30
|
+
"@instructure/shared-types": "8.9.2-snapshot.7+1a56581cd",
|
|
31
|
+
"@instructure/ui-decorator": "8.9.2-snapshot.7+1a56581cd",
|
|
32
|
+
"@instructure/ui-i18n": "8.9.2-snapshot.7+1a56581cd",
|
|
33
|
+
"@instructure/ui-themes": "8.9.2-snapshot.7+1a56581cd",
|
|
34
|
+
"@instructure/ui-utils": "8.9.2-snapshot.7+1a56581cd",
|
|
35
35
|
"emotion-theming": "^10.0.27",
|
|
36
36
|
"hoist-non-react-statics": "^3.3.2",
|
|
37
37
|
"lodash": "^4",
|
|
38
38
|
"prop-types": "^15"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@instructure/ui-babel-preset": "8.9.2-snapshot.
|
|
42
|
-
"@instructure/ui-test-utils": "8.9.2-snapshot.
|
|
41
|
+
"@instructure/ui-babel-preset": "8.9.2-snapshot.7+1a56581cd",
|
|
42
|
+
"@instructure/ui-test-utils": "8.9.2-snapshot.7+1a56581cd",
|
|
43
43
|
"@types/lodash": "^4.14.171",
|
|
44
44
|
"cpy-cli": "^3.1.1"
|
|
45
45
|
},
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": false,
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "1a56581cde6bd3b4f9fe5cd11ae420bd1222fe15"
|
|
54
54
|
}
|
package/src/withStyle.tsx
CHANGED
|
@@ -153,9 +153,9 @@ const withStyle = decorator(
|
|
|
153
153
|
)
|
|
154
154
|
})
|
|
155
155
|
hoistNonReactStatics(WithStyle, ComposedComponent)
|
|
156
|
-
// we have to pass these on, because sometimes
|
|
156
|
+
// we have to pass these on, because sometimes users
|
|
157
157
|
// access propTypes of the component in other components
|
|
158
|
-
//
|
|
158
|
+
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
159
159
|
WithStyle.propTypes = ComposedComponent.propTypes
|
|
160
160
|
WithStyle.defaultProps = ComposedComponent.defaultProps
|
|
161
161
|
// @ts-expect-error These static fields exist on InstUI components
|