jss-plugin-vendor-prefixer
Advanced tools
Comparing version 10.7.1 to 10.8.0
@@ -10,4 +10,2 @@ 'use strict'; | ||
* Add vendor prefix to a property name when needed. | ||
* | ||
* @api public | ||
*/ | ||
@@ -14,0 +12,0 @@ |
@@ -6,4 +6,2 @@ import { supportedKeyframes, supportedValue, supportedProperty } from 'css-vendor'; | ||
* Add vendor prefix to a property name when needed. | ||
* | ||
* @api public | ||
*/ | ||
@@ -10,0 +8,0 @@ |
@@ -617,4 +617,2 @@ (function (global, factory) { | ||
* Add vendor prefix to a property name when needed. | ||
* | ||
* @api public | ||
*/ | ||
@@ -621,0 +619,0 @@ |
{ | ||
"name": "jss-plugin-vendor-prefixer", | ||
"description": "JSS plugin that handles vendor prefixes in the browser", | ||
"version": "10.7.1", | ||
"version": "10.8.0", | ||
"license": "MIT", | ||
@@ -39,8 +39,8 @@ "homepage": "https://cssinjs.org/jss-plugin-vendor-prefixer", | ||
"css-vendor": "^2.0.8", | ||
"jss": "10.7.1" | ||
"jss": "10.8.0" | ||
}, | ||
"devDependencies": { | ||
"jss-plugin-rule-value-function": "10.7.1" | ||
"jss-plugin-rule-value-function": "10.8.0" | ||
}, | ||
"gitHead": "2b54776c03d97a3bccbbcb28b63508f74103ebbc" | ||
"gitHead": "d2e1aea99b2a8a9c2d8725df1dfcd222d2504a7a" | ||
} |
@@ -11,3 +11,3 @@ # jss-plugin-vendor-prefixer | ||
See our website [jss-plugin-vendor-prefixer](https://cssinjs.org/jss-plugin-vendor-prefixer?v=v10.7.1) for more information. | ||
See our website [jss-plugin-vendor-prefixer](https://cssinjs.org/jss-plugin-vendor-prefixer?v=v10.8.0) for more information. | ||
@@ -14,0 +14,0 @@ ## Install |
@@ -1,14 +0,11 @@ | ||
// @flow | ||
import * as vendor from 'css-vendor' | ||
import {toCssValue, type Plugin, type KeyframesRule} from 'jss' | ||
import {toCssValue} from 'jss' | ||
/** | ||
* Add vendor prefix to a property name when needed. | ||
* | ||
* @api public | ||
*/ | ||
export default function jssVendorPrefixer(): Plugin { | ||
export default function jssVendorPrefixer() { | ||
function onProcessRule(rule) { | ||
if (rule.type === 'keyframes') { | ||
const atRule: KeyframesRule = (rule: any) | ||
const atRule = rule | ||
atRule.at = vendor.supportedKeyframes(atRule.at) | ||
@@ -15,0 +12,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
13
144493
2994
+ Addedjss@10.8.0(transitive)
- Removedjss@10.7.1(transitive)
Updatedjss@10.8.0