Socket
Socket
Sign inDemoInstall

@hig/theme-context

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/theme-context - npm Package Compare versions

Comparing version 2.1.3 to 3.0.0

2

build/index.es.js
import createReactContext from 'create-react-context';
import defaultTheme from '@hig/theme-data/build/json/webLightMediumDensityTheme/theme.json';
import defaultTheme from '@hig/theme-data/build/json/lightGrayMediumDensityTheme/theme.json';
import React, { Component } from 'react';

@@ -4,0 +4,0 @@ import PropTypes from 'prop-types';

@@ -8,3 +8,3 @@ 'use strict';

var createReactContext = _interopDefault(require('create-react-context'));
var defaultTheme = _interopDefault(require('@hig/theme-data/build/json/webLightMediumDensityTheme/theme.json'));
var defaultTheme = _interopDefault(require('@hig/theme-data/build/json/lightGrayMediumDensityTheme/theme.json'));
var React = require('react');

@@ -11,0 +11,0 @@ var React__default = _interopDefault(React);

@@ -0,1 +1,13 @@

# [@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)
### Features
* make light gray the default theme ([21b9da2](https://github.com/Autodesk/hig/commit/21b9da2))
### BREAKING CHANGES
* web light replaced as the default theme, to get that theme back pass that theme from theme-data as via the value prop with ThemeContext.Provider
# [@hig/theme-context-v2.1.3](https://github.com/Autodesk/hig/compare/@hig/theme-context@2.1.2...@hig/theme-context@2.1.3) (2019-03-13)

@@ -2,0 +14,0 @@

{
"name": "@hig/theme-context",
"version": "2.1.3",
"version": "3.0.0",
"description": "ThemeContext components to ease adoption of theme data from React components",

@@ -32,3 +32,3 @@ "author": "Autodesk Inc.",

"peerDependencies": {
"@hig/theme-data": "*",
"@hig/theme-data": "^2.3.5",
"react": "^15.4.1 || ^16.3.2"

@@ -35,0 +35,0 @@ },

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