nuke-switch
Advanced tools
Comparing version 2.0.8 to 2.0.9
# Changelog | ||
## 2.0.9 / 2018-04-16 | ||
* [[892bf82](http://gitlab.alibaba-inc.com/nuke/switch/commit/892bf82878b3900e586b919d44bc414bb758ab0d)] - `fix` helper import | ||
## 2.0.8 / 2018-04-10 | ||
@@ -5,0 +9,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var _hex = require('nuke-helper/lib/hex'); | ||
var _nukeHelper = require('nuke-helper'); | ||
@@ -16,2 +16,4 @@ var _variable = require('./variable'); | ||
var rgba = _nukeHelper.hex.rgba; | ||
function StyleMix() { | ||
@@ -56,3 +58,3 @@ var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
disabledCheckedWrap: { | ||
borderColor: (0, _hex.rgba)(Variables['dis-c-border-color-android'], 0.5), | ||
borderColor: rgba(Variables['dis-c-border-color-android'], 0.5), | ||
backgroundColor: Variables['dis-c-bg-color-android'] | ||
@@ -117,3 +119,3 @@ }, | ||
disabledCheckedWrapIOS: { | ||
borderColor: (0, _hex.rgba)(Variables['dis-c-border-color-ios'], 0.5), | ||
borderColor: rgba(Variables['dis-c-border-color-ios'], 0.5), | ||
backgroundColor: Variables['dis-c-bg-color-ios'] | ||
@@ -120,0 +122,0 @@ }, |
{ | ||
"name": "nuke-switch", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "开关", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
@@ -1,4 +0,4 @@ | ||
import { rgba } from 'nuke-helper/lib/hex'; | ||
import { hex } from 'nuke-helper'; | ||
import VariableMix from './variable'; | ||
const { rgba } = hex; | ||
function StyleMix(theme = {}) { | ||
@@ -5,0 +5,0 @@ const Variables = VariableMix(theme); |
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
1073
45756
14