@hig/theme-context
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,8 @@ | ||
# [@hig/theme-context-v3.0.1](https://github.com/Autodesk/hig/compare/@hig/theme-context@3.0.0...@hig/theme-context@3.0.1) (2020-10-14) | ||
### Bug Fixes | ||
* security update for create-react-context ([6bb8edf](https://github.com/Autodesk/hig/commit/6bb8edf)) | ||
# [@hig/theme-context-v3.0.0](https://github.com/Autodesk/hig/compare/@hig/theme-context@2.1.3...@hig/theme-context@3.0.0) (2019-04-04) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/theme-context", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "ThemeContext components to ease adoption of theme data from React components", | ||
@@ -21,3 +21,3 @@ "author": "Autodesk Inc.", | ||
"dependencies": { | ||
"create-react-context": "^0.2.3", | ||
"create-react-context": "^0.3.0", | ||
"prop-types": "^15.6.1" | ||
@@ -33,3 +33,3 @@ }, | ||
"peerDependencies": { | ||
"@hig/theme-data": "^2.3.5", | ||
"@hig/theme-data": "^2.18.0", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -36,0 +36,0 @@ }, |
@@ -38,3 +38,3 @@ # ThemeContext component | ||
```jsx | ||
import ThemeContext from '@hig/themes'; | ||
import ThemeContext from '@hig/theme-context'; | ||
@@ -44,5 +44,5 @@ function MyThemedComponent() { | ||
<div style={{ | ||
backgroundColor: resolvedRoles["colorScheme.surfaceLevel200Color"], | ||
backgroundColor: resolvedRoles["colorScheme.surface.level200"], | ||
borderRadius: resolvedRoles["basics.borderRadii.small"], | ||
color: resolvedRoles["colorScheme.textColor"], | ||
color: resolvedRoles["colorScheme.text.default"], | ||
padding: resolvedRoles["density.spacings.medium"], | ||
@@ -49,0 +49,0 @@ }}> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18120
+ Addedcreate-react-context@0.3.0(transitive)
+ Addedwarning@4.0.3(transitive)
- Removedasap@2.0.6(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-context@0.2.3(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedua-parser-js@0.7.39(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updatedcreate-react-context@^0.3.0