postcss-plugin-weex
Advanced tools
Comparing version 0.1.0 to 0.1.1
const components = { | ||
text: require('./text') | ||
text: require('./text'), | ||
indicator: require('./indicator'), | ||
input: require('./input') | ||
} | ||
@@ -4,0 +6,0 @@ |
@@ -13,3 +13,3 @@ const postcss = require('postcss') | ||
if (propArr.indexOf(prop) > -1) { | ||
const styleObj = hooks[prop](value) | ||
const styleObj = hooks[prop](value, { root, rule, decl }) | ||
for (const k in styleObj) { | ||
@@ -23,3 +23,3 @@ appendDecls.push(postcss.decl({ | ||
}) | ||
rule.append.apply(rule, appendDecls) | ||
// rule.append.apply(rule, appendDecls) | ||
}) | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "postcss-plugin-weex", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "postcss plugin for weex-vue-render.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# postcss-plugin-weex | ||
postcss plugin for weex-vue-render. | ||
## styles | ||
This plugin can process weex exclusive styles like below: | ||
* `<text>`: 'lines' | ||
* `<indicator>`: 'item-color', 'item-selected-color', 'item-size' | ||
* `<input>`: 'placeholder-color' |
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
4772
8
109
11