@hig/theme-context
Advanced tools
Comparing version 2.1.3 to 3.0.0
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 @@ }, |
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
17856