Socket
Socket
Sign inDemoInstall

@hig/themes

Package Overview
Dependencies
Maintainers
5
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/themes - npm Package Compare versions

Comparing version 0.1.0-alpha.2e38833e to 0.1.0-alpha.41df690d

2

build/index.es.js

@@ -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);
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc