cf-style-container
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -12,10 +12,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
import React, { Component, PropTypes } from 'react'; | ||
import cssColorFunction from 'css-color-function'; | ||
import { combineRules } from 'fela'; | ||
import { createComponent as createFelaComponent, ThemeProvider, connect } from 'react-fela'; | ||
var color = function color(input) { | ||
return cssColorFunction.convert('color(' + input + ')'); | ||
}; | ||
var createComponent = function createComponent(rule) { | ||
@@ -72,2 +67,2 @@ var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'div'; | ||
export { createComponent, applyTheme, ThemeProvider, color, connect, combineRules, createComponentStyles }; | ||
export { createComponent, applyTheme, ThemeProvider, connect, combineRules, createComponentStyles }; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.createComponentStyles = exports.combineRules = exports.connect = exports.color = exports.ThemeProvider = exports.applyTheme = exports.createComponent = undefined; | ||
exports.createComponentStyles = exports.combineRules = exports.connect = exports.ThemeProvider = exports.applyTheme = exports.createComponent = undefined; | ||
@@ -17,6 +17,2 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _cssColorFunction = require('css-color-function'); | ||
var _cssColorFunction2 = _interopRequireDefault(_cssColorFunction); | ||
var _fela = require('fela'); | ||
@@ -34,6 +30,2 @@ | ||
var color = function color(input) { | ||
return _cssColorFunction2.default.convert('color(' + input + ')'); | ||
}; | ||
var createComponent = function createComponent(rule) { | ||
@@ -93,5 +85,4 @@ var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'div'; | ||
exports.ThemeProvider = _reactFela.ThemeProvider; | ||
exports.color = color; | ||
exports.connect = _reactFela.connect; | ||
exports.combineRules = _fela.combineRules; | ||
exports.createComponentStyles = createComponentStyles; |
{ | ||
"name": "cf-style-container", | ||
"description": "Cloudflare Style Container", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"main": "lib/index.js", | ||
@@ -14,3 +14,2 @@ "module": "es/index.js", | ||
"dependencies": { | ||
"css-color-function": "^1.3.0", | ||
"fela": "^4.3.2", | ||
@@ -17,0 +16,0 @@ "react-fela": "^4.2.5" |
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
3
219573
4841
- Removedcss-color-function@^1.3.0
- Removedbalanced-match@0.1.0(transitive)
- Removedclone@1.0.4(transitive)
- Removedcolor@0.11.4(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcolor-string@0.3.0(transitive)
- Removedcss-color-function@1.3.3(transitive)
- Removeddebug@3.2.7(transitive)
- Removedms@2.1.3(transitive)
- Removedrgb@0.1.0(transitive)