@hig/themes
Advanced tools
Comparing version 0.1.0-alpha.2e38833e to 0.1.0-alpha.41df690d
@@ -86,3 +86,3 @@ import PropTypes from 'prop-types'; | ||
value: function render() { | ||
return this.props.children(this.context); | ||
return this.props.children(this.context || HIGLightTheme); | ||
} | ||
@@ -89,0 +89,0 @@ }]); |
@@ -92,3 +92,3 @@ 'use strict'; | ||
value: function render() { | ||
return this.props.children(this.context); | ||
return this.props.children(this.context || HIGLightTheme); | ||
} | ||
@@ -95,0 +95,0 @@ }]); |
{ | ||
"name": "@hig/themes", | ||
"version": "0.1.0-alpha.2e38833e", | ||
"version": "0.1.0-alpha.41df690d", | ||
"description": "HIG theme definitions and supporting components", | ||
@@ -11,7 +11,7 @@ "author": "Autodesk Inc.", | ||
"dependencies": { | ||
"@hig/banner": "0.2.0-alpha.2e38833e", | ||
"@hig/styles": "0.1.0-alpha.2e38833e" | ||
"@hig/banner": "0.2.0-alpha.41df690d" | ||
}, | ||
"devDependencies": { | ||
"@hig/scripts": "0.2.0-alpha.2e38833e" | ||
"@hig/scripts": "0.2.0-alpha.41df690d", | ||
"@hig/styles": "0.1.0-alpha.41df690d" | ||
}, | ||
@@ -18,0 +18,0 @@ "peerDependencies": { |
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import themeContextShape from './shape'; | ||
import HIGLightTheme from "../themes/HIGLightTheme"; | ||
@@ -14,4 +15,4 @@ export default class Consumer extends Component { | ||
render() { | ||
return this.props.children(this.context); | ||
return this.props.children(this.context || HIGLightTheme); | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
18243
3
384
0
2
+ Added@hig/banner@0.2.0-alpha.41df690d(transitive)
+ Added@hig/icon@0.1.0-alpha.41df690d(transitive)
+ Added@hig/icon-button@0.1.0-alpha.41df690d(transitive)
+ Added@hig/icons@0.1.0-alpha.41df690d(transitive)
+ Added@hig/typography@0.1.0-alpha.41df690d(transitive)
- Removed@hig/styles@0.1.0-alpha.2e38833e
- Removed@hig/banner@0.2.0-alpha.2e38833e(transitive)
- Removed@hig/icon@0.1.0-alpha.2e38833e(transitive)
- Removed@hig/icon-button@0.1.0-alpha.2e38833e(transitive)
- Removed@hig/icons@0.1.0-alpha.2e38833e(transitive)
- Removed@hig/typography@0.1.0-alpha.2e38833e(transitive)